:root {
  --color-primary: #1e3a5f;
  --color-secondary: #3b82f6;
  --color-accent: #f59e0b;
  --color-dark: #0f172a;
  --color-light: #f8fafc;
  --color-muted: #94a3b8;
  --color-surface: #1e293b;
  --color-border: #334155;
}

html {
  scroll-behavior: smooth;
}

@keyframes tilt {
  0%,
  100% {
    transform: rotate(-2deg);
  }
  50% {
    transform: rotate(2deg);
  }
}

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

@keyframes pulse-glow {
  0%,
  100% {
    box-shadow: 0 0 1.25rem rgba(59, 130, 246, 0.3);
  }
  50% {
    box-shadow: 0 0 2rem rgba(59, 130, 246, 0.6);
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-0.625rem);
  }
}

.animate-tilt {
  animation: tilt 3s ease-in-out infinite;
}

.animate-marquee {
  animation: marquee 20s linear infinite;
}

.animate-pulse-glow {
  animation: pulse-glow 2s ease-in-out infinite;
}

.animate-float {
  animation: float 4s ease-in-out infinite;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-secondary) 0%, #2563eb 100%);
  color: var(--color-light);
  padding: 0.875rem 2rem;
  border-radius: 0.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-0.125rem);
  box-shadow: 0 0.625rem 1.875rem rgba(59, 130, 246, 0.4);
}

.btn-secondary {
  background: transparent;
  color: var(--color-light);
  padding: 0.875rem 2rem;
  border-radius: 0.5rem;
  font-weight: 600;
  border: 0.125rem solid var(--color-secondary);
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
  cursor: pointer;
}

.btn-secondary:hover {
  background: var(--color-secondary);
  color: var(--color-light);
}

.alpine-pattern {
  background-image: linear-gradient(
      135deg,
      transparent 45%,
      rgba(59, 130, 246, 0.03) 45%,
      rgba(59, 130, 246, 0.03) 55%,
      transparent 55%
    ),
    linear-gradient(
      225deg,
      transparent 45%,
      rgba(59, 130, 246, 0.03) 45%,
      rgba(59, 130, 246, 0.03) 55%,
      transparent 55%
    );
  background-size: 3.75rem 3.75rem;
}

.geometric-accent {
  position: relative;
}

.geometric-accent::before {
  content: "";
  position: absolute;
  top: -1.25rem;
  left: -1.25rem;
  width: 3.75rem;
  height: 3.75rem;
  border: 0.125rem solid var(--color-secondary);
  opacity: 0.3;
  transform: rotate(45deg);
}

.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.prose {
  color: var(--color-light);
  max-width: 65ch;
  margin: 0 auto;
  line-height: 1.75;
}

.prose h2 {
  color: var(--color-light);
  font-size: clamp(1.5rem, 4vw, 1.875rem);
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 0.125rem solid var(--color-secondary);
}

.prose h3 {
  color: var(--color-light);
  font-size: clamp(1.25rem, 3vw, 1.5rem);
  font-weight: 600;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.prose p {
  margin-bottom: 1.25rem;
  color: rgba(248, 250, 252, 0.9);
}

.prose a {
  color: var(--color-secondary);
  text-decoration: underline;
  text-underline-offset: 0.125rem;
  transition: color 0.2s ease;
}

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

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

.prose ul {
  list-style-type: disc;
}

.prose ol {
  list-style-type: decimal;
}

.prose li {
  margin-bottom: 0.5rem;
  color: rgba(248, 250, 252, 0.9);
}

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

.prose blockquote {
  border-left: 0.25rem solid var(--color-secondary);
  padding-left: 1.25rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: rgba(248, 250, 252, 0.8);
  background: rgba(30, 41, 59, 0.5);
  padding: 1rem 1.25rem;
  border-radius: 0 0.5rem 0.5rem 0;
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
  font-size: 0.9375rem;
}

.prose thead {
  background: var(--color-surface);
}

.prose th {
  color: var(--color-light);
  font-weight: 600;
  text-align: left;
  padding: 0.875rem 1rem;
  border-bottom: 0.125rem solid var(--color-secondary);
  white-space: nowrap;
}

.prose td {
  padding: 0.75rem 1rem;
  border-bottom: 0.0625rem solid var(--color-border);
  color: rgba(248, 250, 252, 0.9);
}

.prose tbody tr:hover {
  background: rgba(59, 130, 246, 0.05);
}

.prose img {
  max-width: 100%;
  height: auto;
  border-radius: 0.75rem;
  margin: 1.5rem 0;
}

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

.prose em {
  color: rgba(248, 250, 252, 0.85);
}

.prose hr {
  border: none;
  border-top: 0.0625rem solid var(--color-border);
  margin: 2rem 0;
}

.card-hover {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-0.25rem);
  box-shadow: 0 1.25rem 2.5rem rgba(0, 0, 0, 0.3);
}

.gradient-text {
  background: linear-gradient(135deg, var(--color-light) 0%, var(--color-secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-link {
  position: relative;
  color: var(--color-light);
  text-decoration: none;
  font-weight: 500;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 0.125rem;
  background: var(--color-secondary);
  transition: width 0.3s ease;
}

.nav-link:hover::after {
  width: 100%;
}

@media (max-width: 63.9375rem) {
  .mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--color-dark);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 40;
    padding-top: 5rem;
  }

  .mobile-menu.active {
    transform: translateX(0);
  }

  .mobile-menu a {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--color-light);
    text-decoration: none;
    font-size: 1.125rem;
    border-bottom: 0.0625rem solid var(--color-border);
  }

  .mobile-menu a:hover {
    background: var(--color-surface);
    color: var(--color-secondary);
  }
}

.step-badge {
  width: 3rem;
  height: 3rem;
  background: linear-gradient(135deg, var(--color-secondary), #2563eb);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--color-light);
  flex-shrink: 0;
}

.game-card {
  background: var(--color-surface);
  border-radius: 0.75rem;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-width: 15rem;
}

.game-card:hover {
  transform: scale(1.03);
  box-shadow: 0 0.625rem 1.875rem rgba(59, 130, 246, 0.2);
}

.game-card img {
  width: 100%;
  height: 10rem;
  object-fit: cover;
}

.bonus-badge {
  background: linear-gradient(135deg, var(--color-dark) 0%, var(--color-surface) 100%);
  border: 0.125rem solid var(--color-secondary);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.bonus-badge::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.1) 0%, transparent 60%);
  animation: float 6s ease-in-out infinite;
}

.promo-card {
  background: var(--color-surface);
  border-radius: 0.75rem;
  padding: 1.5rem;
  border: 0.0625rem solid var(--color-border);
  transition: border-color 0.3s ease;
}

.promo-card:hover {
  border-color: var(--color-secondary);
}

.faq-item {
  background: var(--color-surface);
  border-radius: 0.5rem;
  margin-bottom: 0.75rem;
  overflow: hidden;
  border: 0.0625rem solid var(--color-border);
}

.faq-question {
  padding: 1rem 1.25rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--color-light);
  font-weight: 600;
}

.faq-question:hover {
  background: rgba(59, 130, 246, 0.05);
}

.faq-answer {
  padding: 0 1.25rem 1rem;
  color: rgba(248, 250, 252, 0.85);
  display: none;
}

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

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-icon {
  transition: transform 0.3s ease;
}

.payment-table {
  width: 100%;
  border-collapse: collapse;
}

.payment-table th,
.payment-table td {
  padding: 0.875rem 1rem;
  text-align: left;
  border-bottom: 0.0625rem solid var(--color-border);
  white-space: nowrap;
}

.payment-table th {
  background: var(--color-surface);
  color: var(--color-light);
  font-weight: 600;
}

.payment-table td {
  color: rgba(248, 250, 252, 0.9);
}

.payment-table tbody tr:hover {
  background: rgba(59, 130, 246, 0.05);
}

.provider-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}

.provider-tag {
  background: var(--color-surface);
  color: var(--color-light);
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.875rem;
  border: 0.0625rem solid var(--color-border);
  transition: all 0.2s ease;
}

.provider-tag:hover {
  border-color: var(--color-secondary);
  background: rgba(59, 130, 246, 0.1);
}
