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

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

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* Nile Dynasty Theme Colors */
:root {
  --nile-gold: #d4af37;
  --nile-turquoise: #40e0d0;
  --nile-sandstone: #f4a460;
  --nile-papyrus: #deb887;
  --nile-temple: #8b7355;
  --nile-gradient: linear-gradient(135deg, var(--nile-turquoise) 0%, var(--nile-gold) 100%);
}

/* Base overrides */
body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  background: linear-gradient(180deg, #fff8dc 0%, #f5f5dc 100%);
  color: #2c1810;
}

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

.parallax-element:nth-child(2n) {
  animation-delay: -2s;
}

.parallax-element:nth-child(3n) {
  animation-delay: -4s;
}

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

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

/* Nile Dynasty gradients */
.nile-gradient {
  background: var(--nile-gradient);
}

.nile-gradient-text {
  background: var(--nile-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Golden shimmer effect */
.golden-shimmer {
  background: linear-gradient(90deg, var(--nile-gold) 0%, #ffd700 50%, var(--nile-gold) 100%);
  background-size: 200% 100%;
  animation: shimmer 2s infinite;
}

/* Custom button styles */
.btn-nile-primary {
  background: var(--nile-gradient);
  border: 2px solid var(--nile-gold);
  color: white;
  font-weight: 600;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.btn-nile-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.4);
}

.btn-nile-secondary {
  background: transparent;
  border: 2px solid var(--nile-gold);
  color: var(--nile-gold);
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-nile-secondary:hover {
  background: var(--nile-gold);
  color: white;
  transform: translateY(-2px);
}

/* Bonus badge styling */
.bonus-badge {
  background: var(--nile-gradient);
  border: 3px solid var(--nile-gold);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.3);
  animation: fadeInUp 1s ease-out;
}

/* Game card styling */
.game-card {
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid var(--nile-papyrus);
  border-radius: 15px;
  transition: all 0.3s ease;
  overflow: hidden;
}

.game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(212, 175, 55, 0.2);
  border-color: var(--nile-gold);
}

/* Step guide styling */
.step-badge {
  background: var(--nile-gradient);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.25rem;
  margin: 0 auto 1rem;
}

/* Payment method table */
.payment-table {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--nile-papyrus);
  border-radius: 10px;
}

.payment-table th {
  background: var(--nile-gradient);
  color: white;
  padding: 1rem;
}

.payment-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--nile-papyrus);
}

/* Review blocks */
.review-block {
  background: rgba(255, 255, 255, 0.9);
  border-left: 5px solid var(--nile-gold);
  padding: 2rem;
  margin-bottom: 2rem;
  border-radius: 0 10px 10px 0;
}

/* FAQ styling */
.faq-item {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--nile-papyrus);
  border-radius: 10px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.faq-question {
  background: var(--nile-gradient);
  color: white;
  padding: 1rem;
  cursor: pointer;
  font-weight: 600;
}

.faq-answer {
  padding: 1rem;
  display: none;
}

.faq-answer.active {
  display: block;
}

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

/* Prose styling for content pages */
.prose {
  max-width: none;
  color: #2c1810;
}

.prose h1 {
  color: var(--nile-temple);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.prose h2 {
  color: var(--nile-temple);
  font-size: 2rem;
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.prose h3 {
  color: var(--nile-temple);
  font-size: 1.5rem;
  font-weight: 600;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.prose p {
  margin-bottom: 1rem;
  line-height: 1.7;
}

.prose a {
  color: var(--nile-gold);
  text-decoration: underline;
  font-weight: 500;
}

.prose a:hover {
  color: var(--nile-turquoise);
}

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

.prose li {
  margin-bottom: 0.5rem;
}

.prose strong {
  color: var(--nile-temple);
  font-weight: 600;
}

.prose blockquote {
  border-left: 4px solid var(--nile-gold);
  padding-left: 1rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--nile-temple);
}
