@layer reset, base, layout, components, utilities;

:root {
  --background: #1a1625;
  --foreground: #f8f8f8;
  --card: #221e2d;
  --card-foreground: #f8f8f8;
  --primary: #d4a853;
  --primary-foreground: #1a1625;
  --secondary: #2a2538;
  --secondary-foreground: #f8f8f8;
  --muted: #342f42;
  --muted-foreground: #a0a0a0;
  --border: #3d3750;
  --gold-dark: #b8923f;
  --accent: #e05555;
  --accent-foreground: #f8f8f8;
  --radius: 12px;
  --focus-ring: 0 0 0 3px var(--background), 0 0 0 5px var(--primary);
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
}

[data-theme="light"] {
  --background: #eae6f0;
  --foreground: #1a1625;
  --card: #ffffff;
  --card-foreground: #1a1625;
  --secondary: #ddd8e6;
  --secondary-foreground: #1a1625;
  --muted: #d4cee0;
  --muted-foreground: #4a4556;
  --border: #c8c2d2;
  --focus-ring: 0 0 0 3px var(--background), 0 0 0 5px var(--primary);
}

@layer reset {
  *, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
}

@layer base {
  html {
    scroll-behavior: smooth;
  }

  @media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
      animation-duration: 0.01ms !important;
      animation-iteration-count: 1 !important;
      transition-duration: 0.01ms !important;
    }
  }

  body {
    font-family: var(--font-sans);
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  a {
    text-decoration: none;
    color: inherit;
  }

  img {
    max-width: 100%;
    height: auto;
    display: block;
  }

  img[data-loading="true"] {
    background: var(--muted);
    min-height: 200px;
  }
}

@layer layout {
  .container {
    max-width: 1280px;
    margin-inline: auto;
    padding-inline: clamp(16px, 4vw, 32px);
  }

  main {
    padding-block-end: clamp(60px, 12vw, 0);
  }

  @media (min-width: 768px) {
    main { padding-block-end: 0; }
  }
}

@layer components {
  
  .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    min-width: 44px;
    padding: 16px 32px;
    border-radius: var(--radius);
    font-weight: 700;
    font-size: clamp(14px, 2vw, 16px);
    transition: background-color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
    cursor: pointer;
    border: none;
    text-align: center;
  }

  .btn:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
  }

  .btn-primary {
    background: var(--primary);
    color: var(--primary-foreground);
  }

  .btn-primary:hover {
    background: var(--gold-dark);
    transform: scale(1.02);
  }

  .btn-secondary {
    background: var(--secondary);
    color: var(--secondary-foreground);
    border: 1px solid var(--border);
  }

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

  .btn-secondary:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
  }

  .skip-link {
    position: absolute;
    inset-block-start: -100px;
    inset-inline-start: 16px;
    z-index: 200;
    padding: 12px 20px;
    background: var(--primary);
    color: var(--primary-foreground);
    font-weight: 600;
    border-radius: var(--radius);
    transition: top 0.2s;
  }

  .skip-link:focus {
    inset-block-start: 16px;
    outline: none;
    box-shadow: var(--focus-ring);
  }

  .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: var(--primary);
    z-index: 101;
    width: 0%;
    transition: width 0.15s linear;
  }

  .header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 12px 16px;
    background: color-mix(in srgb, var(--background) 95%, transparent);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
  }

  .header-inner {
    max-width: 1280px;
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
  }

  .logo {
    height: clamp(28px, 4vw, 36px);
    width: auto;
  }

  .menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    cursor: pointer;
    color: var(--foreground);
  }

  .menu-toggle:hover {
    background: var(--secondary);
  }

  .menu-toggle:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
  }

  @media (min-width: 1024px) {
    .menu-toggle { display: none; }
  }

  .menu-toggle-bar {
    display: block;
    width: 22px;
    height: 2.5px;
    background: currentColor;
    border-radius: 2px;
    transition: transform 0.2s, opacity 0.2s;
  }

  .menu-open .menu-toggle-bar:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
  }

  .menu-open .menu-toggle-bar:nth-child(2) {
    opacity: 0;
  }

  .menu-open .menu-toggle-bar:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
  }

  .header-nav {
    display: none;
    gap: 24px;
  }

  @media (min-width: 1024px) {
    .header-nav {
      display: flex;
    }
  }

  .header-nav-open {
    display: flex !important;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    bottom: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    background: var(--background);
    padding: 24px;
  }

  .header-nav a {
    font-size: clamp(14px, 2vw, 16px);
    font-weight: 500;
    color: var(--muted-foreground);
    transition: color 0.2s;
    padding: 12px 16px;
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }

  .header-nav a:hover,
  .header-nav a:focus-visible {
    color: var(--primary);
  }

  .header-nav a:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
    border-radius: var(--radius);
  }

  .header-btn {
    padding: 10px 20px;
    font-size: 14px;
  }

  .back-to-top {
    position: fixed;
    bottom: 90px;
    right: 16px;
    z-index: 60;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--primary-foreground);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    transition: background 0.2s, transform 0.2s;
  }

  @media (min-width: 768px) {
    .back-to-top { bottom: 24px; }
  }

  .back-to-top:hover {
    background: var(--gold-dark);
    transform: scale(1.05);
  }

  .back-to-top:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
  }

  .hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    flex-direction: column;
    padding-top: 60px;
  }

  @media (min-width: 768px) {
    .hero { min-height: 700px; padding-top: 70px; }
  }

  .hero-slider {
    position: absolute;
    inset: 0;
    overflow: hidden;
  }

  .hero-slides {
    display: flex;
    transition: transform 0.5s ease-out;
    height: 100%;
  }

  @media (prefers-reduced-motion: reduce) {
    .hero-slides { transition: none; }
  }

  .hero-slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    background: linear-gradient(135deg, #2a2538 0%, #1a1625 100%);
  }

  .hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .hero-slide::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #1a1625 0%, rgba(26, 22, 37, 0.94) 30%, rgba(26, 22, 37, 0.82) 55%, rgba(26, 22, 37, 0.5) 100%);
  }

  .slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    background: color-mix(in srgb, var(--secondary) 80%, transparent);
    border: none;
    padding: 10px;
    border-radius: 50%;
    cursor: pointer;
    color: var(--foreground);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
  }

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

  .slider-btn:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
  }

  .slider-btn-prev { left: 12px; }
  .slider-btn-next { right: 12px; }

  @media (min-width: 768px) {
    .slider-btn-prev { left: 24px; }
    .slider-btn-next { right: 24px; }
  }

  .slider-dots {
    position: absolute;
    bottom: 140px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
  }

  .slider-dot {
    width: 12px;
    height: 12px;
    min-width: 44px;
    min-height: 44px;
    padding: 16px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.3);
    transition: all 0.2s;
    clip-path: circle(6px at center);
  }

  .slider-dot:hover,
  .slider-dot:focus-visible {
    background: rgba(255, 255, 255, 0.5);
  }

  .slider-dot:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
  }

  .slider-dot.active {
    background: var(--primary);
    transform: scale(1.2);
  }

  .hero-content {
    position: relative;
    z-index: 10;
    margin-top: auto;
    padding: 0 16px 100px;
    text-align: center;
  }

  .hero-content h1 {
    font-size: clamp(1.5rem, 4vw, 3.25rem);
    font-weight: 800;
    margin-bottom: 16px;
    line-height: 1.2;
    text-shadow: 0 2px 12px rgba(0,0,0,0.8), 0 4px 24px rgba(0,0,0,0.6);
  }

  .hero-content h1 span { display: block; }
  .hero-content h1 .highlight { color: var(--primary); text-shadow: 0 2px 12px rgba(0,0,0,0.8), 0 0 20px rgba(212,168,83,0.3); }

  .hero-content p {
    font-size: clamp(0.9375rem, 2vw, 1.125rem);
    color: rgba(248, 248, 248, 0.95);
    margin-bottom: 24px;
    max-width: 700px;
    margin-inline: auto;
    text-shadow: 0 1px 8px rgba(0,0,0,0.8);
  }

  .hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    justify-content: center;
    max-width: 400px;
    margin-inline: auto;
  }

  @media (min-width: 640px) {
    .hero-buttons { flex-direction: row; max-width: none; }
  }

  .hero-buttons .btn-primary {
    box-shadow: 0 8px 24px rgba(212, 168, 83, 0.4);
  }

  .hero-buttons .btn-secondary {
    background: rgba(255, 255, 255, 0.12);
    color: #f8f8f8;
    border: 2px solid rgba(212, 168, 83, 0.8);
  }

  .hero-buttons .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: var(--primary);
  }

  .section {
    padding-block: clamp(48px, 8vw, 80px);
  }

  .section-alt {
    background: color-mix(in srgb, var(--secondary) 45%, transparent);
  }

  #zaidimai {
    background: color-mix(in srgb, var(--secondary) 25%, transparent);
  }

  .section-title {
    font-size: clamp(1.375rem, 2.5vw, 2rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 12px;
  }

  .section-subtitle {
    color: var(--muted-foreground);
    text-align: center;
    margin-bottom: clamp(28px, 4vw, 40px);
    max-width: 700px;
    margin-inline: auto;
    font-size: clamp(0.875rem, 1.5vw, 1rem);
  }

  .section-intro {
    color: var(--muted-foreground);
    text-align: center;
    max-width: 640px;
    margin-inline: auto;
    font-size: clamp(0.9375rem, 1.2vw, 1rem);
    line-height: 1.5;
  }

  .trust-bar-wrapper {
    position: sticky;
    top: 0;
    z-index: 40;
  }

  .trust-bar {
    background: #221e2d;
    border: 1px solid #3d3750;
    border-radius: var(--radius);
    padding: clamp(16px, 3vw, 24px);
    margin-bottom: clamp(24px, 4vw, 48px);
    backdrop-filter: blur(8px);
  }

  .trust-bar .trust-item {
    color: rgba(248, 248, 248, 0.9);
  }

  .trust-bar .trust-item strong {
    color: #f8f8f8;
  }

  .trust-bar .trust-item svg {
    color: var(--primary);
  }

  .trust-items {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  @media (min-width: 768px) {
    .trust-items {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 32px;
    }
  }

  .trust-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: clamp(0.75rem, 1.5vw, 0.875rem);
    color: var(--muted-foreground);
  }

  .trust-item svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
    flex-shrink: 0;
  }

  .trust-item strong { color: var(--foreground); }

  .benefits-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: clamp(16px, 3vw, 24px);
  }

  @media (min-width: 640px) {
    .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  }

  @media (min-width: 1024px) {
    .benefits-grid { grid-template-columns: repeat(4, 1fr); }
  }

  .benefit-card {
    background: var(--card);
    border-radius: var(--radius);
    padding: clamp(20px, 3vw, 24px);
    border: 1px solid var(--border);
    transition: border-color 0.2s, opacity 0.5s ease, transform 0.5s ease, box-shadow 0.2s;
    opacity: 0;
    transform: translateY(20px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  }

  .benefit-card.animate-visible {
    opacity: 1;
    transform: translateY(0);
  }

  .benefit-card:nth-child(1) { transition-delay: 0.05s; }
  .benefit-card:nth-child(2) { transition-delay: 0.1s; }
  .benefit-card:nth-child(3) { transition-delay: 0.15s; }
  .benefit-card:nth-child(4) { transition-delay: 0.2s; }

  .benefit-card:hover {
    border-color: color-mix(in srgb, var(--primary) 50%, transparent);
    box-shadow: 0 8px 24px rgba(0,0,0,0.18), 0 0 0 1px color-mix(in srgb, var(--primary) 30%, transparent);
  }

  .benefit-icon {
    width: 48px;
    height: 48px;
    background: color-mix(in srgb, var(--primary) 15%, transparent);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
  }

  .benefit-icon svg { width: 24px; height: 24px; color: var(--primary); }
  .benefit-card h3 { font-weight: 600; margin-bottom: 8px; font-size: clamp(0.9375rem, 1.5vw, 1rem); }
  .benefit-card p { font-size: clamp(0.8125rem, 1.2vw, 0.875rem); color: var(--muted-foreground); line-height: 1.5; }

  .bonus-details {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 24px;
  }

  @media (min-width: 768px) {
    .bonus-details { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  }

  @media (min-width: 1024px) {
    .bonus-details { grid-template-columns: repeat(3, 1fr); }
  }

  .bonus-card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 16px 20px;
    border: 1px solid var(--border);
  }

  .bonus-card-label {
    font-size: 12px;
    color: var(--muted-foreground);
    margin-bottom: 4px;
  }

  .bonus-card-value {
    font-size: clamp(0.8125rem, 1.2vw, 0.9375rem);
    color: var(--foreground);
  }

  .bonus-highlight { color: var(--primary); }
  .bonus-note { font-size: 0.75rem; color: var(--muted-foreground); }

  .bonus-intro,
  .bonus-tip {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }

  .bonus-intro.animate-visible,
  .bonus-tip.animate-visible {
    opacity: 1;
    transform: translateY(0);
  }

  .bonus-tip {
    display: flex;
    gap: 12px;
    background: color-mix(in srgb, var(--primary) 10%, var(--card));
    border: 1px solid color-mix(in srgb, var(--primary) 30%, transparent);
    border-radius: var(--radius);
    padding: 20px;
    margin-bottom: 24px;
  }

  .bonus-tip-icon { flex-shrink: 0; color: var(--primary); }
  .bonus-tip strong { color: var(--foreground); }

  .section-cta { text-align: center; margin-top: 32px; }

  .games-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 32px;
  }

  @media (min-width: 640px) {
    .games-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  }

  @media (min-width: 1024px) {
    .games-grid { grid-template-columns: repeat(5, 1fr); gap: 20px; }
  }

  .game-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 3/4;
    background: var(--card);
    border: 1px solid var(--border);
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
  }

  .game-card:hover,
  .game-card:focus-within,
  .game-card.is-touched {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 12px 28px rgba(0,0,0,0.25), 0 0 0 1px rgba(212,168,83,0.3);
  }

  .game-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: var(--secondary);
  }

  .game-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 22, 37, 0.95) 0%, transparent 50%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 12px;
    opacity: 0;
    transition: opacity 0.2s;
  }

  .game-card:hover .game-card-overlay,
  .game-card:focus-within .game-card-overlay,
  .game-card.is-touched .game-card-overlay {
    opacity: 1;
  }

  .game-card-title {
    font-size: clamp(0.75rem, 1.2vw, 0.875rem);
    font-weight: 600;
    margin-bottom: 8px;
  }

  .game-card .btn {
    padding: 10px 16px;
    font-size: 12px;
    min-height: 40px;
  }

  .game-card .btn:focus-visible {
    outline: none;
    box-shadow: var(--focus-ring);
  }

  .game-categories {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    margin-bottom: 32px;
  }

  @media (min-width: 640px) {
    .game-categories { grid-template-columns: repeat(2, 1fr); }
  }

  @media (min-width: 1024px) {
    .game-categories { grid-template-columns: repeat(4, 1fr); gap: 24px; }
  }

  .game-category {
    background: var(--card);
    border-radius: var(--radius);
    padding: clamp(20px, 3vw, 24px);
    border: 1px solid var(--border);
    transition: border-color 0.2s;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.2s;
  }

  .game-category.animate-visible {
    opacity: 1;
    transform: translateY(0);
  }

  .game-category:hover {
    border-color: color-mix(in srgb, var(--primary) 50%, transparent);
  }

  .game-category h3 {
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 8px;
    font-size: clamp(0.9375rem, 1.2vw, 1rem);
  }

  .game-category p { font-size: clamp(0.8125rem, 1.2vw, 0.875rem); color: var(--muted-foreground); }

  .section-title-sm {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
    font-weight: 700;
    color: var(--foreground);
    margin-top: 40px;
    margin-bottom: 20px;
    text-align: center;
  }

  .providers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 24px;
  }

  @media (min-width: 640px) {
    .providers-grid { grid-template-columns: repeat(4, 1fr); gap: 16px; }
  }

  @media (min-width: 1024px) {
    .providers-grid { grid-template-columns: repeat(6, 1fr); gap: 20px; }
  }

  .provider-card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 20px 16px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 72px;
    transition: border-color 0.2s, box-shadow 0.2s;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  }

  [data-theme="dark"] .provider-card {
    box-shadow: 0 2px 12px rgba(0,0,0,0.25);
  }

  .provider-card:hover {
    box-shadow: 0 4px 16px rgba(212,168,83,0.15);
  }

  .provider-card:hover {
    border-color: color-mix(in srgb, var(--primary) 60%, transparent);
  }

  .provider-card img {
    display: block;
    max-height: 36px;
    min-height: 24px;
    width: auto;
    max-width: 100%;
    height: auto;
    object-fit: contain;
    opacity: 0.95;
    transition: opacity 0.2s;
  }

  @media (min-width: 768px) {
    .provider-card img { max-height: 40px; min-height: 28px; }
  }

  .provider-card:hover img { opacity: 1; }

  .providers-text {
    text-align: center;
    color: var(--muted-foreground);
    margin-top: 24px;
    font-size: clamp(0.8125rem, 1.2vw, 0.875rem);
  }

  .payment-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 32px;
  }

  @media (min-width: 768px) {
    .payment-features { grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 48px; }
  }

  .payment-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    background: var(--card);
    border-radius: var(--radius);
    padding: 16px;
    border: 1px solid var(--border);
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }

  .payment-feature.animate-visible {
    opacity: 1;
    transform: translateY(0);
  }

  @media (min-width: 768px) {
    .payment-feature { flex-direction: row; text-align: left; padding: 20px; }
  }

  .payment-feature-icon {
    width: 40px;
    height: 40px;
    background: color-mix(in srgb, var(--primary) 15%, transparent);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
  }

  .payment-feature-icon svg { width: 20px; height: 20px; color: var(--primary); }
  .payment-feature h3 { font-weight: 600; margin-bottom: 4px; font-size: clamp(0.8125rem, 1.2vw, 0.875rem); }
  .payment-feature p { font-size: clamp(0.75rem, 1vw, 0.875rem); color: var(--muted-foreground); }

  .payment-methods {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }

  @media (min-width: 1024px) {
    .payment-methods {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
      gap: 16px;
    }
  }

  .payment-method {
    background: var(--card);
    border-radius: var(--radius);
    padding: 12px 16px;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    transition: border-color 0.2s;
  }

  .payment-method:hover {
    border-color: color-mix(in srgb, var(--primary) 50%, transparent);
  }

  .payment-method img {
    max-height: 24px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.8;
  }

  [data-theme="light"] .payment-method img {
    filter: brightness(0);
  }

  @media (min-width: 768px) {
    .payment-method { padding: 16px 24px; min-height: 60px; }
    .payment-method img { max-height: 32px; }
  }

  .payment-method:hover img { opacity: 1; }

  .payment-info {
    text-align: center;
    color: var(--muted-foreground);
    margin-top: 24px;
    font-size: clamp(0.8125rem, 1.2vw, 0.875rem);
    max-width: 800px;
    margin-inline: auto;
  }

  .payment-info strong { color: var(--foreground); }

  .vip-intro {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
    margin-bottom: 24px;
  }

  .vip-intro.animate-visible {
    opacity: 1;
    transform: translateY(0);
  }

  .vip-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  @media (min-width: 640px) {
    .vip-grid { grid-template-columns: repeat(2, 1fr); }
  }

  @media (min-width: 1024px) {
    .vip-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  }

  .vip-tier-card {
    background: var(--card);
    border-radius: var(--radius);
    padding: 20px;
    border: 1px solid var(--border);
    transition: border-color 0.2s;
  }

  .vip-tier-card:hover {
    border-color: color-mix(in srgb, var(--primary) 50%, transparent);
  }

  .vip-tier-name {
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 4px;
  }

  .vip-tier-points {
    font-size: 0.8125rem;
    color: var(--muted-foreground);
    margin-bottom: 8px;
  }

  .vip-tier-limit {
    font-size: 0.875rem;
    margin-bottom: 8px;
  }

  .vip-tier-limit strong { color: var(--foreground); }
  .vip-tier-perks { font-size: 0.8125rem; color: var(--muted-foreground); line-height: 1.5; }

  .faq-list { max-width: 800px; margin-inline: auto; }

  .faq-item {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 12px;
    overflow: hidden;
  }

  .faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    color: var(--foreground);
    font-size: clamp(0.875rem, 1.2vw, 1rem);
    font-weight: 600;
    font-family: inherit;
    min-height: 44px;
  }

  .faq-question:hover {
    background: color-mix(in srgb, var(--secondary) 50%, transparent);
  }

  .faq-question:focus-visible {
    outline: none;
    box-shadow: inset var(--focus-ring);
  }

  .faq-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.2s;
    flex-shrink: 0;
    margin-left: 12px;
    color: var(--primary);
  }

  .faq-item[open] .faq-icon {
    transform: rotate(180deg);
  }

  .faq-answer-content {
    padding: 0 20px 16px;
    color: var(--muted-foreground);
    font-size: clamp(0.8125rem, 1.2vw, 0.875rem);
    line-height: 1.6;
  }

  .responsible-gaming-card {
    background: var(--card);
    border-radius: var(--radius);
    padding: clamp(24px, 4vw, 48px);
    border: 1px solid var(--border);
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }

  .responsible-gaming-card.animate-visible {
    opacity: 1;
    transform: translateY(0);
  }

  .responsible-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
  }

  .responsible-icon {
    width: 48px;
    height: 48px;
    background: color-mix(in srgb, var(--accent) 20%, transparent);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .responsible-icon svg { width: 24px; height: 24px; color: var(--accent); }
  .responsible-header h2 { font-size: clamp(1.25rem, 2vw, 1.75rem); font-weight: 700; }

  .responsible-gaming-card > p {
    color: var(--muted-foreground);
    margin-bottom: 20px;
    max-width: 800px;
    line-height: 1.6;
    font-size: clamp(0.875rem, 1.2vw, 1rem);
  }

  .responsible-tools h3 {
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--foreground);
  }

  .responsible-tools ul {
    list-style: none;
    color: var(--muted-foreground);
    font-size: clamp(0.8125rem, 1.2vw, 0.875rem);
  }

  .responsible-tools li {
    padding: 8px 0;
    padding-inline-start: 24px;
    position: relative;
  }

  .responsible-tools li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background: var(--primary);
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E") center/contain no-repeat;
  }

  .responsible-tools li strong { color: var(--foreground); }
  .responsible-commitment { margin-bottom: 20px; }
  .responsible-commitment p { font-style: italic; color: var(--muted-foreground); }
  .responsible-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: clamp(0.8125rem, 1.2vw, 0.875rem);
    color: var(--muted-foreground);
  }

  .responsible-links span { color: var(--foreground); font-weight: 600; }
  .responsible-links a { color: var(--primary); transition: color 0.2s; }
  .responsible-links a:hover { color: var(--foreground); }
  .responsible-links a:focus-visible { outline: none; box-shadow: var(--focus-ring); border-radius: 4px; }

  .cta-section {
    position: relative;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(135deg, color-mix(in srgb, var(--primary) 12%, var(--background)) 0%, color-mix(in srgb, var(--secondary) 50%, transparent) 100%);
  }

  .cta-bg-animation {
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 0%, color-mix(in srgb, var(--primary) 8%, transparent) 25%, transparent 50%, color-mix(in srgb, var(--primary) 6%, transparent) 75%, transparent 100%);
    background-size: 200% 200%;
    animation: cta-shimmer 12s ease-in-out infinite;
    pointer-events: none;
  }

  @media (prefers-reduced-motion: reduce) {
    .cta-bg-animation { animation: none; }
  }

  @keyframes cta-shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
  }

  .cta-section h2 {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 700;
    margin-bottom: 12px;
    position: relative;
  }

  .cta-section > .container > p {
    color: var(--muted-foreground);
    margin-bottom: 24px;
    max-width: 700px;
    margin-inline: auto;
    font-size: clamp(0.875rem, 1.2vw, 1rem);
    position: relative;
  }

  .btn-cta-pulse {
    position: relative;
    animation: cta-pulse 2s ease-in-out infinite;
  }

  @media (prefers-reduced-motion: reduce) {
    .btn-cta-pulse { animation: none; }
  }

  @keyframes cta-pulse {
    0%, 100% { box-shadow: 0 8px 24px rgba(212, 168, 83, 0.3); }
    50% { box-shadow: 0 8px 32px rgba(212, 168, 83, 0.5); }
  }

  .cta-note {
    font-size: clamp(0.75rem, 1vw, 0.875rem);
    color: var(--muted-foreground);
    margin-top: 20px;
    position: relative;
  }

  .contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
  }

  @media (min-width: 768px) {
    .contact-grid { grid-template-columns: repeat(3, 1fr); gap: 24px; }
  }

  .contact-card {
    background: var(--card);
    border-radius: var(--radius);
    padding: clamp(20px, 3vw, 24px);
    border: 1px solid var(--border);
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
  }

  .contact-card.animate-visible {
    opacity: 1;
    transform: translateY(0);
  }

  .contact-card h3 {
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--primary);
  }

  .contact-card p { font-size: clamp(0.8125rem, 1.2vw, 0.875rem); color: var(--muted-foreground); margin-bottom: 6px; }
  .contact-card strong { color: var(--foreground); }
  .contact-card-icon { margin-bottom: 12px; }
  .contact-card-icon svg { width: 24px; height: 24px; color: var(--primary); }

  .footer {
    padding-block: clamp(32px, 6vw, 48px);
    border-top: 1px solid var(--border);
  }

  .footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 32px;
  }

  @media (min-width: 640px) {
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
  }

  @media (min-width: 1024px) {
    .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 48px; }
  }

  .footer-section h3 {
    font-size: clamp(0.9375rem, 1.2vw, 1rem);
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--foreground);
  }

  .footer-section p {
    font-size: clamp(0.8125rem, 1.2vw, 0.875rem);
    color: var(--muted-foreground);
    line-height: 1.6;
  }

  .footer-section ul { list-style: none; }
  .footer-section li { margin-bottom: 8px; }
  .footer-section a {
    font-size: clamp(0.8125rem, 1.2vw, 0.875rem);
    color: var(--muted-foreground);
    transition: color 0.2s;
  }

  .footer-section a:hover,
  .footer-section a:focus-visible {
    color: var(--primary);
  }

  .footer-section a:focus-visible {
    outline: none;
    text-decoration: underline;
  }

  .footer-logo { height: 32px; width: auto; }
  .footer-about p { margin-top: 12px; }

  .footer-license {
    background: var(--card);
    border-radius: var(--radius);
    padding: 20px;
    border: 1px solid var(--border);
    margin-bottom: 24px;
  }

  .footer-license h3 { font-size: 1rem; margin-bottom: 10px; color: var(--foreground); }
  .footer-license p { font-size: clamp(0.8125rem, 1.2vw, 0.875rem); color: var(--muted-foreground); margin-bottom: 6px; }
  .footer-license strong { color: var(--foreground); }

  .footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--border);
  }

  .footer-bottom p {
    font-size: clamp(0.6875rem, 1vw, 0.75rem);
    color: var(--muted-foreground);
    margin-bottom: 12px;
    max-width: 800px;
    margin-inline: auto;
  }

  .age-warning {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: color-mix(in srgb, var(--accent) 20%, transparent);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: clamp(0.8125rem, 1vw, 0.875rem);
    font-weight: 600;
    color: var(--accent);
  }

  .mobile-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--card);
    padding: 12px 16px;
    border-top: 1px solid var(--border);
    z-index: 50;
    display: flex;
    gap: 10px;
  }

  @media (min-width: 768px) {
    .mobile-cta { display: none; }
  }

  .mobile-cta .btn { flex: 1; padding: 12px 16px; font-size: 13px; }

  .theme-toggle {
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--secondary);
    color: var(--foreground);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .theme-toggle:hover { background: var(--muted); }
  .theme-toggle:focus-visible { outline: none; box-shadow: var(--focus-ring); }

  .theme-toggle .icon-moon { display: none; }
  [data-theme="light"] .theme-toggle .icon-sun { display: none; }
  [data-theme="light"] .theme-toggle .icon-moon { display: block; }

  @media (min-width: 1024px) {
    .theme-toggle { margin-left: 8px; }
  }
}

@layer utilities {
  .text-center { text-align: center; }

  [id] {
    scroll-margin-top: 80px;
  }

  .game-card.animate-visible {
    opacity: 1;
    transform: translateY(0);
  }

  .game-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease, border-color 0.2s;
  }
}
