/* Custom animations and styling */
@import url("https://fonts.googleapis.com/css2?family=Fredoka:wght@300;400;500;600;700&display=swap");

:root {
  --primary-orange: #ff6b35;
  --primary-blue: #4a90e2;
  --accent-purple: #9b59b6;
  --accent-green: #2ecc71;
  --warm-yellow: #f1c40f;
  --soft-pink: #ff9ff3;
  --gradient-primary: linear-gradient(135deg, var(--primary-orange), var(--primary-blue));
  --gradient-secondary: linear-gradient(135deg, var(--accent-purple), var(--soft-pink));
  --shadow-cartoon: 0 8px 32px rgba(0, 0, 0, 0.15);
  --shadow-hover: 0 12px 48px rgba(0, 0, 0, 0.25);
}

* {
  scroll-behavior: smooth;
}

body {
  font-family: "Fredoka", cursive;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  min-height: 100vh;
}

/* Parallax Animation */
.parallax-container {
  position: relative;
  overflow: hidden;
}

.parallax-element {
  transform: translateZ(0);
  will-change: transform;
}

@keyframes parallax-float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  33% {
    transform: translateY(-10px) rotate(1deg);
  }
  66% {
    transform: translateY(5px) rotate(-1deg);
  }
}

.parallax-float {
  animation: parallax-float 6s ease-in-out infinite;
}

/* Marquee Animation */
@keyframes marquee {
  0% {
    transform: translateX(100%);
  }
  100% {
    transform: translateX(-100%);
  }
}

.marquee {
  overflow: hidden;
  white-space: nowrap;
}

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

/* Cartoon-style buttons */
.btn-cartoon {
  background: var(--gradient-primary);
  border: 3px solid #fff;
  border-radius: 25px;
  box-shadow: var(--shadow-cartoon);
  transform: translateY(0);
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  position: relative;
  overflow: hidden;
}

.btn-cartoon:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-hover);
}

.btn-cartoon:active {
  transform: translateY(1px);
}

.btn-cartoon::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s;
}

.btn-cartoon:hover::before {
  left: 100%;
}

/* Cartoon cards */
.card-cartoon {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  box-shadow: var(--shadow-cartoon);
  border: 3px solid #fff;
  transform: translateY(0);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.card-cartoon:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: var(--shadow-hover);
}

/* Bonus badge styling */
.bonus-badge {
  background: var(--gradient-secondary);
  border: 4px solid #fff;
  border-radius: 30px;
  box-shadow: var(--shadow-cartoon);
  position: relative;
}

.bonus-badge::after {
  content: "";
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  background: var(--gradient-primary);
  border-radius: 30px;
  z-index: -1;
}

/* Game card hover effects */
.game-card {
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  position: relative;
}

.game-card:hover {
  transform: scale(1.05) rotate(2deg);
}

/* Step indicators */
.step-indicator {
  background: var(--gradient-primary);
  border: 3px solid #fff;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
  box-shadow: var(--shadow-cartoon);
  position: relative;
}

.step-indicator::before {
  content: "";
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  background: var(--gradient-secondary);
  border-radius: 50%;
  z-index: -1;
}

/* Prose styling for readability */
.prose {
  line-height: 1.7;
  color: #2c3e50;
}

.prose h2 {
  color: var(--primary-blue);
  font-weight: 600;
  margin-bottom: 1rem;
}

.prose p {
  margin-bottom: 1.2rem;
  font-size: 1.1rem;
}

.prose ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

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

.prose li::marker {
  color: var(--primary-orange);
}

/* Payment methods table */
.payment-table {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: var(--shadow-cartoon);
}

.payment-table td,
.payment-table th {
  padding: 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.payment-table th {
  background: var(--gradient-primary);
  color: white;
  font-weight: 600;
}

/* Floating elements */
@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

.floating {
  animation: float 3s ease-in-out infinite;
}

/* Responsive utilities */
@media (max-width: 1024px) {
  .btn-cartoon {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }

  .card-cartoon {
    margin-bottom: 1rem;
  }
}

@media (max-width: 768px) {
  .parallax-float {
    animation-duration: 4s;
  }

  .marquee-content {
    animation-duration: 15s;
  }
}

/* FAQ accordion styling */
.faq-item {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 15px;
  margin-bottom: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow-cartoon);
}

.faq-question {
  background: var(--gradient-primary);
  color: white;
  padding: 1.5rem;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.faq-question:hover {
  background: var(--gradient-secondary);
}

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

.faq-answer.active {
  display: block;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    max-height: 0;
  }
  to {
    opacity: 1;
    max-height: 200px;
  }
}

/* Provider cloud styling */
.provider-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}

.provider-tag {
  background: var(--gradient-primary);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 25px;
  font-weight: 500;
  box-shadow: var(--shadow-cartoon);
  transition: all 0.3s ease;
}

.provider-tag:hover {
  transform: scale(1.1);
  background: var(--gradient-secondary);
}
