/* Custom animations and overrides */
@keyframes parallaxFloat {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(2deg);
  }
}

@keyframes marqueeScroll {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

@keyframes bubbleRise {
  0% {
    transform: translateY(100vh) scale(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-100px) scale(1);
    opacity: 0;
  }
}

@keyframes goldShimmer {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}

@keyframes coinSpin {
  0% {
    transform: rotateY(0deg);
  }
  100% {
    transform: rotateY(360deg);
  }
}

/* Parallax elements */
.parallax-float {
  animation: parallaxFloat 6s ease-in-out infinite;
}

.parallax-slow {
  animation: parallaxFloat 8s ease-in-out infinite reverse;
}

/* Marquee animation */
.marquee {
  overflow: hidden;
  white-space: nowrap;
}

.marquee-content {
  display: inline-block;
  animation: marqueeScroll 30s linear infinite;
}

/* Champagne bubbles */
.bubble {
  position: absolute;
  background: radial-gradient(circle, rgba(255, 215, 0, 0.8) 0%, rgba(255, 215, 0, 0.2) 100%);
  border-radius: 50%;
  animation: bubbleRise 8s linear infinite;
}

.bubble:nth-child(1) {
  left: 10%;
  animation-delay: 0s;
  width: 8px;
  height: 8px;
}
.bubble:nth-child(2) {
  left: 20%;
  animation-delay: 1s;
  width: 12px;
  height: 12px;
}
.bubble:nth-child(3) {
  left: 30%;
  animation-delay: 2s;
  width: 6px;
  height: 6px;
}
.bubble:nth-child(4) {
  left: 40%;
  animation-delay: 3s;
  width: 10px;
  height: 10px;
}
.bubble:nth-child(5) {
  left: 50%;
  animation-delay: 4s;
  width: 8px;
  height: 8px;
}
.bubble:nth-child(6) {
  left: 60%;
  animation-delay: 5s;
  width: 14px;
  height: 14px;
}
.bubble:nth-child(7) {
  left: 70%;
  animation-delay: 6s;
  width: 7px;
  height: 7px;
}
.bubble:nth-child(8) {
  left: 80%;
  animation-delay: 7s;
  width: 11px;
  height: 11px;
}

/* Gold shimmer effect */
.gold-shimmer {
  background: linear-gradient(90deg, #d4af37 0%, #ffd700 25%, #fff 50%, #ffd700 75%, #d4af37 100%);
  background-size: 200% 100%;
  animation: goldShimmer 3s ease-in-out infinite;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Coin spin animation */
.coin-spin {
  animation: coinSpin 3s linear infinite;
  display: inline-block;
}

/* Custom champagne theme colors */
.bg-champagne {
  background: linear-gradient(135deg, #f7f3e9 0%, #e8dcc0 100%);
}

.bg-rose-gold {
  background: linear-gradient(135deg, #e8b4a0 0%, #d4af37 100%);
}

.bg-pearl-white {
  background: radial-gradient(circle, #ffffff 0%, #f8f6f0 100%);
}

.text-champagne {
  color: #d4af37;
}

.text-rose-gold {
  color: #e8b4a0;
}

.border-champagne {
  border-color: #d4af37;
}

/* Enhanced prose styling for markdown content readability */
.prose {
  max-width: 100%;
  line-height: 1.7;
  color: #2d3748;
  font-size: 1.1rem;
}

.prose h2 {
  color: #d4af37;
  font-weight: 700;
  font-size: 2rem;
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid #f7f3e9;
  padding-bottom: 0.5rem;
}

.prose h3 {
  color: #e8b4a0;
  font-weight: 600;
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.prose p {
  margin-bottom: 1.5rem;
  text-align: justify;
}

.prose ul,
.prose ol {
  margin-bottom: 1.5rem;
  padding-left: 2rem;
}

.prose li {
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.prose ul li::marker {
  color: #d4af37;
}

.prose ol li::marker {
  color: #d4af37;
  font-weight: 600;
}

.prose table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  overflow-x: auto;
  display: block;
  white-space: nowrap;
}

.prose table tbody {
  display: table;
  width: 100%;
}

.prose th,
.prose td {
  padding: 1rem 0.75rem;
  border: 1px solid #e2e8f0;
  text-align: left;
  white-space: normal;
}

.prose th {
  background: linear-gradient(135deg, #f7f3e9 0%, #e8dcc0 100%);
  font-weight: 700;
  color: #d4af37;
}

.prose tr:nth-child(even) {
  background-color: #f8f6f0;
}

.prose blockquote {
  border-left: 4px solid #d4af37;
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  background: linear-gradient(135deg, #f7f3e9 0%, #ffffff 100%);
  padding: 1.5rem;
  border-radius: 0.5rem;
}

.prose img {
  max-width: 100%;
  height: auto;
  border-radius: 0.75rem;
  margin: 2rem 0;
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.2);
}

.prose strong {
  color: #d4af37;
  font-weight: 700;
}

.prose em {
  color: #e8b4a0;
}

/* Responsive prose adjustments */
@media (max-width: 768px) {
  .prose {
    font-size: 1rem;
  }

  .prose h2 {
    font-size: 1.75rem;
    margin-top: 2rem;
  }

  .prose h3 {
    font-size: 1.25rem;
  }

  .prose table {
    font-size: 0.9rem;
  }

  .prose th,
  .prose td {
    padding: 0.75rem 0.5rem;
  }
}

/* Responsive utilities */
@media (max-width: 1024px) {
  .marquee-content {
    animation-duration: 20s;
  }
}

/* Smooth scroll */
html {
  scroll-behavior: smooth;
  overflow: auto;
}

body {
  overflow: auto;
}

/* Custom button styles */
.btn-primary {
  background: linear-gradient(135deg, #d4af37 0%, #ffd700 100%);
  border: 2px solid #d4af37;
  color: #1a202c;
  font-weight: 700;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #ffd700 0%, #d4af37 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.3);
}

.btn-secondary {
  background: transparent;
  border: 2px solid #e8b4a0;
  color: #e8b4a0;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: #e8b4a0;
  color: white;
  transform: translateY(-2px);
}
