/* ==========================================================================
   KASINO UI/UX SYSTEM - SINGLE SOURCE OF TRUTH (style.css)
   Architecture: Token-Driven CSS / Dark-First iGaming Design System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@500;700&family=Outfit:wght@600;700;800;900&display=swap');

:root {
  /* ------------------------------------------------------------------------
     1. PALETA KOLORÓW (COLOR TOKENS)
     ------------------------------------------------------------------------ */
  
  /* Powierzchnie i tła (Obsidian Slate Hierarchy) */
  --bg-main: #07090E;                  /* Głębokie tło główne aplikacji */
  --bg-surface: #0E121D;               /* Tło sekcji, paneli bocznych i kontenerów */
  --bg-surface-elevated: #151B2B;      /* Podniesione elementy (modale, dropdowny, inputy) */
  --bg-card: #121726;                  /* Domyślne tło kafelka gry */
  --bg-card-hover: #1A2236;            /* Tło kafelka w stanie aktywnym */
  --bg-header: rgba(14, 18, 29, 0.82); /* Glassmorphism Sticky Header */
  --bg-glass: rgba(21, 27, 43, 0.65);  /* Uniwersalna powłoka szklana */

  /* Kolory akcentowe i funkcyjne (Neon & Status) */
  --accent-primary: #00F5A0;           /* Electric Emerald - główne CTA, wpłaty, wygrane */
  --accent-primary-hover: #00FFAA;     /* Rozjaśniony szmaragd na hover */
  --accent-secondary: #8B5CF6;         /* Cyber Violet - VIP, turnieje, nowe gry */
  --accent-cyan: #00D9F5;              /* High-tech detale, wskaźniki RTP */
  --accent-jackpot: #F59E0B;           /* Amber Gold - pule Jackpot i nagrody główne */
  --accent-hot: #FF3B5C;               /* Neon Coral - badge "HOT", gry na fali */

  /* Semantyczne kolory systemowe */
  --color-success: #10B981;
  --color-warning: #F59E0B;
  --color-danger: #EF4444;
  --color-gold: #FFD700;

  /* Gradienty funkcyjne */
  --grad-primary: linear-gradient(135deg, #00F5A0 0%, #00D9F5 100%);
  --grad-vip: linear-gradient(135deg, #8B5CF6 0%, #EC4899 100%);
  --grad-jackpot: linear-gradient(135deg, #F59E0B 0%, #FFD700 50%, #D97706 100%);
  --grad-card-overlay: linear-gradient(180deg, rgba(7, 9, 14, 0.1) 0%, rgba(7, 9, 14, 0.88) 65%, #07090E 100%);
  --grad-hero-bg: radial-gradient(circle at 75% 30%, rgba(139, 92, 246, 0.28) 0%, rgba(0, 245, 160, 0.12) 45%, rgba(14, 18, 29, 0.98) 100%);

  /* Kolory tekstu i ikonografii */
  --text-primary: #F8FAFC;             /* Maksymalna czytelność nagłówków i salda */
  --text-secondary: #94A3B8;           /* Opisy, nazwy dostawców, nawigacja */
  --text-muted: #64748B;               /* Metadane, stopka, nieaktywne filtry */
  --text-on-accent: #05080F;           /* Ciemny tekst na jasnych neonowych przyciskach */

  /* Obramowania i separatory */
  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-light: rgba(255, 255, 255, 0.14);
  --border-accent: rgba(0, 245, 160, 0.45);
  --border-vip: rgba(139, 92, 246, 0.45);

  /* ------------------------------------------------------------------------
     2. TOKENY TYPOGRAFICZNE (TYPOGRAPHY TOKENS)
     ------------------------------------------------------------------------ */
  --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace; /* Do liczników RTP, salda i jackpotów */

  /* Skala rozmiarów (Fluid & Modular Scale) */
  --text-xs: 0.75rem;      /* 12px - Badge, mikro-tagi, RTP */
  --text-sm: 0.875rem;     /* 14px - Nazwy providerów, menu, przyciski pomocnicze */
  --text-base: 1rem;       /* 16px - Tekst główny, inputy */
  --text-lg: 1.125rem;     /* 18px - Tytuły kafelków, sekcji */
  --text-xl: 1.25rem;      /* 20px - Nagłówki kategorii */
  --text-2xl: 1.5rem;      /* 24px - Liczniki i podtytuły */
  --text-3xl: 2rem;        /* 32px - Nagłówki promocyjne */
  --text-4xl: clamp(2rem, 3.5vw, 3.25rem); /* Responsywny tytuł Hero */

  /* Wagi i interlinia */
  --weight-regular: 400;
  --weight-medium: 500;
  --weight-semibold: 600;
  --weight-bold: 700;
  --weight-black: 800;

  --leading-tight: 1.15;
  --leading-snug: 1.35;
  --leading-normal: 1.5;

  /* ------------------------------------------------------------------------
     3. EFEKTY, CIENIE I WYKOŃCZENIA (EFFECTS & ELEVATION)
     ------------------------------------------------------------------------ */
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.35);
  --shadow-card: 0 10px 25px -5px rgba(0, 0, 0, 0.6), 0 8px 10px -6px rgba(0, 0, 0, 0.4);
  --shadow-elevated: 0 20px 40px -12px rgba(0, 0, 0, 0.85);

  /* Poświaty neonowe (Glows) */
  --glow-accent: 0 0 20px rgba(0, 245, 160, 0.35), 0 0 40px rgba(0, 245, 160, 0.15);
  --glow-accent-strong: 0 0 25px rgba(0, 245, 160, 0.6), 0 0 50px rgba(0, 217, 245, 0.3);
  --glow-vip: 0 0 24px rgba(139, 92, 246, 0.45);
  --glow-jackpot: 0 0 24px rgba(245, 158, 11, 0.4);
  --glow-hot: 0 0 16px rgba(255, 59, 92, 0.5);

  /* Zaokrąglenia (Border Radius) */
  --radius-xs: 6px;
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Przejścia i krzywe animacji (Spring & Smooth Motion) */
  --transition-fast: 160ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 320ms cubic-bezier(0.22, 1, 0.36, 1);
  --transition-bounce: 450ms cubic-bezier(0.34, 1.56, 0.64, 1);

  /* ------------------------------------------------------------------------
     4. UKŁAD, SIATKA I ODSTĘPY (LAYOUT & SPACING SCALE)
     ------------------------------------------------------------------------ */
  --space-1: 0.25rem;   /* 4px */
  --space-2: 0.5rem;    /* 8px */
  --space-3: 0.75rem;   /* 12px */
  --space-4: 1rem;      /* 16px */
  --space-5: 1.25rem;   /* 20px */
  --space-6: 1.5rem;    /* 24px */
  --space-8: 2rem;      /* 32px */
  --space-10: 2.5rem;   /* 40px */
  --space-12: 3.5rem;   /* 56px */

  --layout-max-width: 1480px;
  --header-height: 76px;

  /* Hierarchia warstw (Z-Index Scale) */
  --z-base: 1;
  --z-card-overlay: 10;
  --z-sticky: 100;
  --z-dropdown: 200;
  --z-modal: 1000;
}

/* ==========================================================================
   RESET I FUNDAMENTALNE REGUŁY GLOBALNE
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-primary);
  font-size: 16px;
  line-height: var(--leading-normal);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-main);
  background-image: 
    radial-gradient(circle at 15% 0%, rgba(139, 92, 246, 0.08) 0%, transparent 35%),
    radial-gradient(circle at 85% 10%, rgba(0, 245, 160, 0.06) 0%, transparent 35%);
  min-height: 100vh;
  overflow-x: hidden;
}

/* Custom Scrollbar dla nowoczesnego wyglądu dark-mode */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: var(--bg-surface-elevated);
  border-radius: var(--radius-full);
  border: 2px solid var(--bg-main);
}
::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

    /* ==========================================================================
       PLIK style.css – SINGLE SOURCE OF TRUTH (SSOT)
       ========================================================================== */
    :root {
      /* 1. PALETA KOLORÓW */
      --bg-main: #07090E;
      --bg-surface: #0E121D;
      --bg-surface-elevated: #151B2B;
      --bg-card: #121726;
      --bg-card-hover: #1A2236;
      --bg-header: rgba(14, 18, 29, 0.84);
      --bg-glass: rgba(21, 27, 43, 0.72);

      --accent-primary: #00F5A0;
      --accent-primary-hover: #26FFB2;
      --accent-secondary: #8B5CF6;
      --accent-cyan: #00D9F5;
      --accent-jackpot: #F59E0B;
      --accent-hot: #FF3B5C;

      --color-success: #10B981;
      --color-warning: #F59E0B;
      --color-danger: #EF4444;
      --color-gold: #FFD700;

      --grad-primary: linear-gradient(135deg, #00F5A0 0%, #00D9F5 100%);
      --grad-vip: linear-gradient(135deg, #8B5CF6 0%, #EC4899 100%);
      --grad-jackpot: linear-gradient(135deg, #F59E0B 0%, #FFD700 50%, #D97706 100%);
      --grad-card-overlay: linear-gradient(180deg, rgba(7, 9, 14, 0.15) 0%, rgba(7, 9, 14, 0.92) 60%, #07090E 100%);

      --text-primary: #F8FAFC;
      --text-secondary: #94A3B8;
      --text-muted: #64748B;
      --text-on-accent: #05080F;

      --border-subtle: rgba(255, 255, 255, 0.07);
      --border-light: rgba(255, 255, 255, 0.14);
      --border-accent: rgba(0, 245, 160, 0.45);
      --border-vip: rgba(139, 92, 246, 0.45);

      /* 2. TOKENY TYPOGRAFICZNE */
      --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
      --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
      --font-mono: 'JetBrains Mono', monospace;

      --text-xs: 0.75rem;
      --text-sm: 0.875rem;
      --text-base: 1rem;
      --text-lg: 1.125rem;
      --text-xl: 1.25rem;
      --text-2xl: 1.5rem;
      --text-3xl: 2rem;
      --text-4xl: clamp(1.85rem, 3.2vw, 3.1rem);

      --weight-regular: 400;
      --weight-medium: 500;
      --weight-semibold: 600;
      --weight-bold: 700;
      --weight-black: 800;

      --leading-tight: 1.12;
      --leading-snug: 1.35;
      --leading-normal: 1.5;

      /* 3. EFEKTY I WYKOŃCZENIA */
      --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.35);
      --shadow-card: 0 12px 28px -6px rgba(0, 0, 0, 0.65), 0 8px 12px -6px rgba(0, 0, 0, 0.45);
      --shadow-elevated: 0 22px 45px -12px rgba(0, 0, 0, 0.85);

      --glow-accent: 0 0 20px rgba(0, 245, 160, 0.32), 0 0 38px rgba(0, 245, 160, 0.12);
      --glow-accent-strong: 0 0 25px rgba(0, 245, 160, 0.55), 0 0 50px rgba(0, 217, 245, 0.28);
      --glow-vip: 0 0 24px rgba(139, 92, 246, 0.42);
      --glow-jackpot: 0 0 24px rgba(245, 158, 11, 0.38);
      --glow-hot: 0 0 16px rgba(255, 59, 92, 0.55);

      --radius-xs: 6px;
      --radius-sm: 10px;
      --radius-md: 14px;
      --radius-lg: 20px;
      --radius-xl: 26px;
      --radius-full: 9999px;

      --transition-fast: 160ms cubic-bezier(0.4, 0, 0.2, 1);
      --transition-smooth: 320ms cubic-bezier(0.22, 1, 0.36, 1);
      --transition-bounce: 450ms cubic-bezier(0.34, 1.56, 0.64, 1);

      /* 4. UKŁAD I SIATKA */
      --space-1: 0.25rem;
      --space-2: 0.5rem;
      --space-3: 0.75rem;
      --space-4: 1rem;
      --space-5: 1.25rem;
      --space-6: 1.5rem;
      --space-8: 2rem;
      --space-10: 2.5rem;
      --space-12: 3.5rem;

      --layout-max-width: 1460px;
      --header-height: 78px;

      --z-base: 1;
      --z-card-overlay: 10;
      --z-sticky: 100;
      --z-dropdown: 200;
      --z-modal: 1000;
    }

    /* RESET & BASE */
    *, *::before, *::after {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }

    html {
      background-color: var(--bg-main);
      color: var(--text-primary);
      font-family: var(--font-primary);
      font-size: 16px;
      line-height: var(--leading-normal);
      -webkit-font-smoothing: antialiased;
      scroll-behavior: smooth;
    }

    body {
      background-color: var(--bg-main);
      background-image: 
        radial-gradient(circle at 12% 0%, rgba(139, 92, 246, 0.09) 0%, transparent 38%),
        radial-gradient(circle at 88% 8%, rgba(0, 245, 160, 0.07) 0%, transparent 38%);
      min-height: 100vh;
      overflow-x: hidden;
      padding-bottom: var(--space-12);
    }

    button, input, select {
      font-family: inherit;
      color: inherit;
      border: none;
      background: none;
    }

    button {
      cursor: pointer;
    }

    .container {
      width: 100%;
      max-width: var(--layout-max-width);
      margin: 0 auto;
      padding: 0 var(--space-6);
    }

    /* ==========================================================================
       LIVE WINNERS TICKER (SOCIAL PROOF BAR)
       ========================================================================== */
    .live-ticker-bar {
      background: var(--bg-surface);
      border-bottom: 1px solid var(--border-subtle);
      height: 36px;
      display: flex;
      align-items: center;
      overflow: hidden;
      font-size: var(--text-xs);
    }

    .ticker-badge {
      background: rgba(0, 245, 160, 0.12);
      color: var(--accent-primary);
      font-weight: var(--weight-bold);
      padding: 0 var(--space-4);
      height: 100%;
      display: flex;
      align-items: center;
      gap: var(--space-2);
      border-right: 1px solid var(--border-subtle);
      white-space: nowrap;
      z-index: 2;
    }

    .pulse-dot {
      width: 7px;
      height: 7px;
      border-radius: var(--radius-full);
      background: var(--accent-primary);
      box-shadow: 0 0 8px var(--accent-primary);
      animation: pulseGlow 1.8s infinite;
    }

    @keyframes pulseGlow {
      0%, 100% { transform: scale(1); opacity: 1; }
      50% { transform: scale(1.35); opacity: 0.55; }
    }

    .ticker-track {
      display: flex;
      align-items: center;
      gap: var(--space-8);
      padding-left: var(--space-6);
      white-space: nowrap;
      animation: tickerSlide 32s linear infinite;
    }

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

    .ticker-item {
      display: inline-flex;
      align-items: center;
      gap: var(--space-2);
      color: var(--text-secondary);
    }

    .ticker-item strong {
      color: var(--text-primary);
      font-weight: var(--weight-semibold);
    }

    .ticker-win {
      font-family: var(--font-mono);
      color: var(--accent-primary);
      font-weight: var(--weight-bold);
      background: rgba(0, 245, 160, 0.08);
      padding: 2px 6px;
      border-radius: var(--radius-xs);
    }

    /* ==========================================================================
       1. HEADER / TOP BAR
       ========================================================================== */
    .site-header {
      position: sticky;
      top: 0;
      z-index: var(--z-sticky);
      height: var(--header-height);
      background: var(--bg-header);
      backdrop-filter: blur(18px);
      -webkit-backdrop-filter: blur(18px);
      border-bottom: 1px solid var(--border-subtle);
      transition: var(--transition-fast);
    }

    .header-inner {
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: var(--space-6);
    }

    .kasino-brand {
      display: inline-flex;
      align-items: center;
      text-decoration: none;
      flex-shrink: 0;
      transition: transform var(--transition-fast);
    }

    .kasino-brand:hover {
      transform: scale(1.02);
    }

    /* Wyszukiwarka + Filtr Dostawców w Headerze */
    .header-controls {
      display: flex;
      align-items: center;
      gap: var(--space-3);
      flex: 1;
      max-width: 580px;
    }

    .search-box {
      position: relative;
      flex: 1;
    }

    .search-box svg {
      position: absolute;
      left: var(--space-4);
      top: 50%;
      transform: translateY(-50%);
      color: var(--text-muted);
      pointer-events: none;
      transition: color var(--transition-fast);
    }

    .search-input {
      width: 100%;
      height: 44px;
      background: var(--bg-surface-elevated);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-full);
      padding: 0 var(--space-4) 0 2.75rem;
      font-size: var(--text-sm);
      color: var(--text-primary);
      transition: var(--transition-fast);
    }

    .search-input::placeholder {
      color: var(--text-muted);
    }

    .search-input:focus {
      outline: none;
      border-color: var(--border-accent);
      box-shadow: 0 0 0 3px rgba(0, 245, 160, 0.12);
      background: var(--bg-card-hover);
    }

    .search-box:focus-within svg {
      color: var(--accent-primary);
    }

    .provider-select-wrapper {
      position: relative;
      flex-shrink: 0;
    }

    .provider-select {
      height: 44px;
      background: var(--bg-surface-elevated);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-full);
      padding: 0 2.25rem 0 var(--space-4);
      font-size: var(--text-sm);
      font-weight: var(--weight-medium);
      color: var(--text-secondary);
      cursor: pointer;
      appearance: none;
      transition: var(--transition-fast);
    }

    .provider-select:hover, .provider-select:focus {
      outline: none;
      border-color: var(--border-light);
      color: var(--text-primary);
    }

    .provider-select-wrapper::after {
      content: "▾";
      position: absolute;
      right: var(--space-4);
      top: 50%;
      transform: translateY(-50%);
      color: var(--text-muted);
      pointer-events: none;
      font-size: var(--text-xs);
    }

    /* Panel Salda i Profilu Gracza */
    .user-actions {
      display: flex;
      align-items: center;
      gap: var(--space-4);
      flex-shrink: 0;
    }

    .wallet-pill {
      display: flex;
      align-items: center;
      background: var(--bg-surface-elevated);
      border: 1px solid var(--border-subtle);
      border-radius: var(--radius-full);
      padding: var(--space-1) var(--space-1) var(--space-1) var(--space-4);
      gap: var(--space-3);
    }

    .wallet-balance {
      display: flex;
      flex-direction: column;
      line-height: 1.1;
    }

    .wallet-label {
      font-size: 10px;
      text-transform: uppercase;
      letter-spacing: 0.06em;
      color: var(--text-muted);
      font-weight: var(--weight-semibold);
    }

    .wallet-amount {
      font-family: var(--font-mono);
      font-size: var(--text-sm);
      font-weight: var(--weight-bold);
      color: var(--text-primary);
    }

    .wallet-amount span {
      color: var(--accent-primary);
    }

    .btn-deposit {
      height: 36px;
      padding: 0 var(--space-4);
      border-radius: var(--radius-full);
      background: var(--grad-primary);
      color: var(--text-on-accent);
      font-weight: var(--weight-bold);
      font-size: var(--text-xs);
      text-transform: uppercase;
      letter-spacing: 0.04em;
      display: inline-flex;
      align-items: center;
      gap: var(--space-1);
      box-shadow: var(--glow-accent);
      transition: var(--transition-smooth);
    }

    .btn-deposit:hover {
      transform: translateY(-1px);
      box-shadow: var(--glow-accent-strong);
      filter: brightness(1.06);
    }

    /* Profil + Pasek postępu VIP */
    .profile-widget {
      display: flex;
      align-items: center;
      gap: var(--space-3);
      padding: var(--space-1) var(--space-2);
      border-radius: var(--radius-full);
      border: 1px solid transparent;
      transition: var(--transition-fast);
      cursor: pointer;
    }

    .profile-widget:hover {
      background: var(--bg-surface-elevated);
      border-color: var(--border-subtle);
    }

    .avatar-ring {
      width: 40px;
      height: 40px;
      border-radius: var(--radius-full);
      padding: 2px;
      background: var(--grad-vip);
      position: relative;
    }

    .avatar-inner {
      width: 100%;
      height: 100%;
      border-radius: var(--radius-full);
      background: var(--bg-surface);
      display: flex;
      align-items: center;
      justify-content: center;
      font-family: var(--font-display);
      font-weight: var(--weight-black);
      font-size: var(--text-sm);
      color: var(--text-primary);
    }

    .vip-info {
      display: flex;
      flex-direction: column;
      gap: 4px;
      min-width: 92px;
    }

    .vip-header {
      display: flex;
      justify-content: space-between;
      font-size: var(--text-xs);
      font-weight: var(--weight-semibold);
    }

    .vip-rank {
      color: var(--accent-secondary);
    }

    .vip-pct {
      font-family: var(--font-mono);
      color: var(--text-secondary);
    }

    .vip-bar {
      width: 100%;
      height: 5px;
      background: var(--bg-surface-elevated);
      border-radius: var(--radius-full);
      overflow: hidden;
    }

    .vip-bar-fill {
      width: 74%;
      height: 100%;
      background: var(--grad-vip);
      border-radius: var(--radius-full);
    }

    /* ==========================================================================
       2. HERO SLIDER & BENTO JACKPOT SECTION
       ========================================================================== */
    .hero-section {
      margin-top: var(--space-6);
      display: grid;
      grid-template-columns: 1fr 340px;
      gap: var(--space-6);
      align-items: stretch;
    }

    .hero-slider {
      position: relative;
      border-radius: var(--radius-xl);
      background: var(--bg-surface);
      border: 1px solid var(--border-light);
      overflow: hidden;
      min-height: 360px;
      box-shadow: var(--shadow-elevated);
      display: flex;
    }

    .slide {
      position: absolute;
      inset: 0;
      padding: var(--space-10);
      display: flex;
      align-items: center;
      justify-content: space-between;
      opacity: 0;
      pointer-events: none;
      transform: scale(1.02);
      transition: opacity 500ms ease, transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
    }

    .slide.active {
      opacity: 1;
      pointer-events: auto;
      transform: scale(1);
      position: relative;
      width: 100%;
    }

    .slide-bg-1 {
      background: 
        radial-gradient(circle at 80% 45%, rgba(0, 245, 160, 0.25) 0%, rgba(139, 92, 246, 0.22) 38%, rgba(14, 18, 29, 0.96) 78%),
        linear-gradient(125deg, #0D1322 0%, #171332 100%);
    }

    .slide-bg-2 {
      background: 
        radial-gradient(circle at 80% 45%, rgba(245, 158, 11, 0.28) 0%, rgba(255, 59, 92, 0.18) 42%, rgba(14, 18, 29, 0.96) 78%),
        linear-gradient(125deg, #16121E 0%, #241422 100%);
    }

    .slide-bg-3 {
      background: 
        radial-gradient(circle at 80% 45%, rgba(0, 217, 245, 0.28) 0%, rgba(139, 92, 246, 0.28) 42%, rgba(14, 18, 29, 0.96) 78%),
        linear-gradient(125deg, #0B192C 0%, #1E1338 100%);
    }

    .slide-content {
      max-width: 540px;
      z-index: 2;
      display: flex;
      flex-direction: column;
      align-items: flex-start;
      gap: var(--space-4);
    }

    .hero-eyebrow {
      display: inline-flex;
      align-items: center;
      gap: var(--space-2);
      padding: 6px 14px;
      border-radius: var(--radius-full);
      background: rgba(255, 255, 255, 0.07);
      border: 1px solid var(--border-light);
      font-size: var(--text-xs);
      font-weight: var(--weight-bold);
      text-transform: uppercase;
      letter-spacing: 0.08em;
      color: var(--accent-primary);
    }

    .hero-title {
      font-family: var(--font-display);
      font-size: var(--text-4xl);
      font-weight: var(--weight-black);
      line-height: var(--leading-tight);
      letter-spacing: -0.02em;
      color: var(--text-primary);
    }

    .hero-title span {
      background: var(--grad-primary);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }

    .hero-desc {
      color: var(--text-secondary);
      font-size: var(--text-base);
      max-width: 460px;
    }

    .hero-meta-pills {
      display: flex;
      gap: var(--space-3);
      flex-wrap: wrap;
    }

    .meta-pill {
      background: rgba(7, 9, 14, 0.55);
      border: 1px solid var(--border-subtle);
      padding: 6px 12px;
      border-radius: var(--radius-sm);
      font-size: var(--text-xs);
      color: var(--text-secondary);
    }

    .meta-pill strong {
      font-family: var(--font-mono);
      color: var(--text-primary);
      margin-left: 4px;
    }

    .hero-cta-group {
      display: flex;
      align-items: center;
      gap: var(--space-4);
      margin-top: var(--space-2);
    }

    .btn-primary-lg {
      height: 52px;
      padding: 0 var(--space-8);
      border-radius: var(--radius-full);
      background: var(--grad-primary);
      color: var(--text-on-accent);
      font-family: var(--font-display);
      font-size: var(--text-base);
      font-weight: var(--weight-black);
      letter-spacing: 0.03em;
      text-transform: uppercase;
      display: inline-flex;
      align-items: center;
      gap: var(--space-2);
      box-shadow: var(--glow-accent);
      transition: var(--transition-smooth);
    }

    .btn-primary-lg:hover {
      transform: translateY(-3px) scale(1.02);
      box-shadow: var(--glow-accent-strong);
    }

    .btn-secondary-lg {
      height: 52px;
      padding: 0 var(--space-6);
      border-radius: var(--radius-full);
      background: rgba(255, 255, 255, 0.06);
      border: 1px solid var(--border-light);
      color: var(--text-primary);
      font-weight: var(--weight-semibold);
      font-size: var(--text-sm);
      transition: var(--transition-fast);
    }

    .btn-secondary-lg:hover {
      background: rgba(255, 255, 255, 0.12);
    }

    /* Dekoracyjna grafika wektorowa 3D po prawej stronie slidera */
    .slide-artwork {
      position: relative;
      width: 270px;
      height: 270px;
      display: flex;
      align-items: center;
      justify-content: center;
      flex-shrink: 0;
      z-index: 1;
    }

    .artwork-floating {
      width: 100%;
      height: 100%;
      animation: floatArt 5s ease-in-out infinite;
      filter: drop-shadow(0 24px 35px rgba(0, 0, 0, 0.65));
    }

    @keyframes floatArt {
      0%, 100% { transform: translateY(0px) rotate(0deg); }
      50% { transform: translateY(-12px) rotate(2deg); }
    }

    /* Nawigacja Slidera (Kropki + Strzałki) */
    .slider-controls {
      position: absolute;
      bottom: var(--space-6);
      right: var(--space-8);
      display: flex;
      align-items: center;
      gap: var(--space-4);
      z-index: 5;
    }

    .slider-dots {
      display: flex;
      gap: var(--space-2);
    }

    .slider-dot {
      width: 10px;
      height: 10px;
      border-radius: var(--radius-full);
      background: rgba(255, 255, 255, 0.22);
      transition: var(--transition-smooth);
    }

    .slider-dot.active {
      width: 28px;
      background: var(--accent-primary);
      box-shadow: 0 0 12px var(--accent-primary);
    }

    .slider-arrows {
      display: flex;
      gap: var(--space-2);
    }

    .arrow-btn {
      width: 36px;
      height: 36px;
      border-radius: var(--radius-full);
      background: rgba(7, 9, 14, 0.65);
      border: 1px solid var(--border-light);
      color: var(--text-primary);
      display: flex;
      align-items: center;
      justify-content: center;
      transition: var(--transition-fast);
    }

    .arrow-btn:hover {
      background: var(--accent-primary);
      color: var(--text-on-accent);
      border-color: var(--accent-primary);
    }

    /* Boczny Moduł Mega Jackpot (Bento Card) */
    .jackpot-bento {
      border-radius: var(--radius-xl);
      background: 
        radial-gradient(circle at 50% 0%, rgba(245, 158, 11, 0.22) 0%, transparent 70%),
        var(--bg-surface);
      border: 1px solid rgba(245, 158, 11, 0.35);
      padding: var(--space-6);
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      box-shadow: var(--shadow-card);
      position: relative;
      overflow: hidden;
    }

    .jackpot-header {
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .jackpot-badge {
      background: rgba(245, 158, 11, 0.16);
      border: 1px solid rgba(245, 158, 11, 0.4);
      color: var(--color-gold);
      font-size: var(--text-xs);
      font-weight: var(--weight-bold);
      padding: 4px 10px;
      border-radius: var(--radius-full);
      text-transform: uppercase;
      letter-spacing: 0.06em;
    }

    .jackpot-pool-box {
      my: auto;
      text-align: center;
      padding: var(--space-4) 0;
    }

    .jackpot-label {
      font-size: var(--text-xs);
      color: var(--text-secondary);
      text-transform: uppercase;
      letter-spacing: 0.1em;
      margin-bottom: var(--space-2);
    }

    .jackpot-counter {
      font-family: var(--font-mono);
      font-size: clamp(1.5rem, 2vw, 1.85rem);
      font-weight: var(--weight-bold);
      background: var(--grad-jackpot);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      filter: drop-shadow(0 0 18px rgba(245, 158, 11, 0.35));
    }

    .jackpot-tiers {
      display: flex;
      flex-direction: column;
      gap: var(--space-2);
      background: rgba(7, 9, 14, 0.55);
      padding: var(--space-3);
      border-radius: var(--radius-md);
      border: 1px solid var(--border-subtle);
    }

    .tier-row {
      display: flex;
      justify-content: space-between;
      font-size: var(--text-xs);
    }

    .tier-name {
      color: var(--text-secondary);
      font-weight: var(--weight-semibold);
    }

    .tier-val {
      font-family: var(--font-mono);
      color: var(--text-primary);
      font-weight: var(--weight-bold);
    }

    /* ==========================================================================
       PASEK KATEGORII LOBBY (CATEGORY PILLS)
       ========================================================================== */
    .lobby-nav {
      margin-top: var(--space-8);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: var(--space-4);
      flex-wrap: wrap;
    }

    .category-tabs {
      display: flex;
      align-items: center;
      gap: var(--space-2);
      overflow-x: auto;
      padding-bottom: 4px;
    }

    .cat-tab {
      height: 42px;
      padding: 0 var(--space-5);
      border-radius: var(--radius-full);
      background: var(--bg-surface);
      border: 1px solid var(--border-subtle);
      color: var(--text-secondary);
      font-size: var(--text-sm);
      font-weight: var(--weight-semibold);
      display: inline-flex;
      align-items: center;
      gap: var(--space-2);
      white-space: nowrap;
      transition: var(--transition-fast);
    }

    .cat-tab:hover {
      color: var(--text-primary);
      border-color: var(--border-light);
      background: var(--bg-surface-elevated);
    }

    .cat-tab.active {
      background: rgba(0, 245, 160, 0.12);
      border-color: var(--border-accent);
      color: var(--accent-primary);
      box-shadow: var(--glow-accent);
    }

    .cat-count {
      font-family: var(--font-mono);
      font-size: 11px;
      padding: 2px 6px;
      border-radius: var(--radius-full);
      background: rgba(255, 255, 255, 0.06);
    }

    /* ==========================================================================
       3. SIATKA Z GRAMI (NEW RELEASES GRID)
       ========================================================================== */
    .section-header {
      margin-top: var(--space-8);
      margin-bottom: var(--space-5);
      display: flex;
      align-items: flex-end;
      justify-content: space-between;
    }

    .section-title-group {
      display: flex;
      align-items: center;
      gap: var(--space-3);
    }

    .section-indicator {
      width: 6px;
      height: 28px;
      border-radius: var(--radius-full);
      background: var(--grad-primary);
      box-shadow: var(--glow-accent);
    }

    .section-title {
      font-family: var(--font-display);
      font-size: var(--text-2xl);
      font-weight: var(--weight-black);
      letter-spacing: -0.01em;
    }

    .section-subtitle {
      color: var(--text-muted);
      font-size: var(--text-sm);
      margin-left: var(--space-2);
    }

    /* Siatka 3:4 dopasowująca się elastycznie */
    .games-grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(215px, 1fr));
      gap: var(--space-5);
    }

    .slot-card {
      position: relative;
      border-radius: var(--radius-lg);
      background: var(--bg-card);
      border: 1px solid var(--border-subtle);
      overflow: hidden;
      box-shadow: var(--shadow-card);
      transition: transform var(--transition-smooth), border-color var(--transition-smooth), box-shadow var(--transition-smooth);
      display: flex;
      flex-direction: column;
    }

    .slot-card:hover {
      transform: translateY(-7px);
      border-color: var(--border-accent);
      box-shadow: var(--shadow-elevated), var(--glow-accent);
    }

    /* Okładka w proporcji 3:4 */
    .slot-poster {
      position: relative;
      width: 100%;
      aspect-ratio: 3 / 4;
      overflow: hidden;
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .poster-art {
      width: 100%;
      height: 100%;
      display: flex;
       flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: var(--space-5);
      text-align: center;
      transition: transform 550ms cubic-bezier(0.22, 1, 0.36, 1);
      position: relative;
    }

    .slot-card:hover .poster-art {
      transform: scale(1.08);
    }

    .poster-icon {
      width: 78px;
      height: 78px;
      margin-bottom: var(--space-4);
      filter: drop-shadow(0 12px 20px rgba(0, 0, 0, 0.55));
    }

    .poster-typography {
      font-family: var(--font-display);
      font-weight: var(--weight-black);
      font-size: var(--text-xl);
      line-height: 1.05;
      text-transform: uppercase;
      letter-spacing: 0.02em;
      text-shadow: 0 4px 16px rgba(0, 0, 0, 0.8);
    }

    /* Górne Badge'e (NEW / HOT / RTP) */
    .card-badges {
      position: absolute;
      top: var(--space-3);
      left: var(--space-3);
      right: var(--space-3);
      display: flex;
      justify-content: space-between;
      align-items: center;
      z-index: 4;
      pointer-events: none;
    }

    .badge {
      padding: 4px 10px;
      border-radius: var(--radius-full);
      font-size: 11px;
      font-weight: var(--weight-black);
      text-transform: uppercase;
      letter-spacing: 0.06em;
    }

    .badge-new {
      background: var(--grad-primary);
      color: var(--text-on-accent);
      box-shadow: var(--glow-accent);
    }

    .badge-hot {
      background: var(--accent-hot);
      color: #FFFFFF;
      box-shadow: var(--glow-hot);
    }

    .badge-vip {
      background: var(--grad-vip);
      color: #FFFFFF;
      box-shadow: var(--glow-vip);
    }

    .rtp-chip {
      background: rgba(7, 9, 14, 0.78);
      backdrop-filter: blur(8px);
      border: 1px solid var(--border-light);
      padding: 3px 8px;
      border-radius: var(--radius-xs);
      font-family: var(--font-mono);
      font-size: 11px;
      font-weight: var(--weight-bold);
      color: var(--accent-cyan);
    }

    /* Warstwa interaktywna Hover Overlay */
    .slot-hover-overlay {
      position: absolute;
      inset: 0;
      background: var(--grad-card-overlay);
      backdrop-filter: blur(6px);
      -webkit-backdrop-filter: blur(6px);
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      padding: var(--space-5);
      opacity: 0;
      z-index: var(--z-card-overlay);
      transition: opacity var(--transition-smooth);
    }

    .slot-card:hover .slot-hover-overlay {
      opacity: 1;
    }

    .overlay-actions {
      display: flex;
      flex-direction: column;
      gap: var(--space-2);
      transform: translateY(14px);
      transition: transform var(--transition-smooth);
    }

    .slot-card:hover .overlay-actions {
      transform: translateY(0);
    }

    .btn-play-card {
      height: 42px;
      border-radius: var(--radius-full);
      background: var(--grad-primary);
      color: var(--text-on-accent);
      font-family: var(--font-display);
      font-weight: var(--weight-black);
      font-size: var(--text-sm);
      text-transform: uppercase;
      letter-spacing: 0.04em;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: var(--space-2);
      box-shadow: var(--glow-accent);
      transition: var(--transition-fast);
    }

    .btn-play-card:hover {
      filter: brightness(1.08);
      transform: scale(1.03);
    }

    .btn-demo-card {
      height: 36px;
      border-radius: var(--radius-full);
      background: rgba(255, 255, 255, 0.1);
      border: 1px solid var(--border-light);
      color: var(--text-primary);
      font-size: var(--text-xs);
      font-weight: var(--weight-semibold);
      transition: var(--transition-fast);
    }

    .btn-demo-card:hover {
      background: rgba(255, 255, 255, 0.18);
    }

    .overlay-specs {
      margin-top: var(--space-3);
      padding-top: var(--space-3);
      border-top: 1px solid var(--border-subtle);
      display: flex;
      justify-content: space-between;
      font-size: 11px;
      color: var(--text-secondary);
    }

    .overlay-specs strong {
      color: var(--text-primary);
      font-family: var(--font-mono);
    }

    /* Stopka Kafelka (Tytuł + Provider) */
    .slot-footer {
      padding: var(--space-3) var(--space-4);
      background: var(--bg-card);
      border-top: 1px solid var(--border-subtle);
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: var(--space-2);
    }

    .slot-info {
      overflow: hidden;
    }

    .slot-title {
      font-size: var(--text-base);
      font-weight: var(--weight-bold);
      color: var(--text-primary);
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }

    .slot-provider {
      font-size: var(--text-xs);
      color: var(--text-secondary);
      font-weight: var(--weight-medium);
    }

    .volatility-dots {
      display: flex;
      gap: 3px;
      flex-shrink: 0;
    }

    .v-dot {
      width: 5px;
      height: 12px;
      border-radius: 2px;
      background: var(--bg-surface-elevated);
    }

    .v-dot.on {
      background: var(--accent-primary);
    }

    /* Stan pustych wyników wyszukiwania */
    .empty-state {
      display: none;
      text-align: center;
      padding: var(--space-12) var(--space-6);
      background: var(--bg-surface);
      border-radius: var(--radius-lg);
      border: 1px dashed var(--border-light);
      color: var(--text-secondary);
    }

    /* ==========================================================================
       RESPONSYWNOŚĆ (MOBILE & TABLET BREAKPOINTS)
       ========================================================================== */
    @media (max-width: 1120px) {
      .hero-section {
        grid-template-columns: 1fr;
      }
      .jackpot-bento {
        flex-direction: row;
        align-items: center;
        flex-wrap: wrap;
        gap: var(--space-4);
      }
      .vip-info {
        display: none;
      }
    }

    @media (max-width: 820px) {
      .header-inner {
        flex-wrap: wrap;
        padding: var(--space-3) 0;
      }
      .site-header {
        height: auto;
      }
      .header-controls {
        order: 3;
        max-width: 100%;
        width: 100%;
      }
      .slide {
        padding: var(--space-6);
      }
      .slide-artwork {
        display: none;
      }
      .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: var(--space-3);
      }
    }

    /* ==========================================================================
       FLAGSHIP SLOT CARD & SPOTLIGHT BANNER (Gates of Kasino 1000)
       ========================================================================== */
    .slot-card-flagship {
      border: 1.5px solid rgba(0, 245, 160, 0.45) !important;
      box-shadow: 0 0 25px rgba(0, 245, 160, 0.15), inset 0 0 20px rgba(0, 245, 160, 0.05);
      position: relative;
    }

    .slot-card-flagship::after {
      content: '';
      position: absolute;
      inset: -1px;
      border-radius: inherit;
      border: 1px solid #00F5A0;
      opacity: 0.3;
      pointer-events: none;
      animation: flagshipGlow 2.5s infinite alternate;
    }

    .slot-card-sugar-rush {
      border: 1.5px solid rgba(255, 46, 147, 0.45) !important;
      box-shadow: 0 0 25px rgba(255, 46, 147, 0.15), inset 0 0 20px rgba(255, 46, 147, 0.05);
      position: relative;
    }

    .slot-card-sugar-rush:hover {
      border-color: #FF2E93 !important;
      box-shadow: 0 0 35px rgba(255, 46, 147, 0.4), inset 0 0 25px rgba(255, 46, 147, 0.15) !important;
    }

    .slot-card-odwrocony-chuj {
      border: 1.5px solid rgba(255, 0, 85, 0.45) !important;
      box-shadow: 0 0 25px rgba(255, 0, 85, 0.15), inset 0 0 20px rgba(255, 0, 85, 0.05);
      position: relative;
    }

    .slot-card-odwrocony-chuj:hover {
      border-color: #FF0055 !important;
      box-shadow: 0 0 35px rgba(255, 0, 85, 0.45), inset 0 0 25px rgba(255, 0, 85, 0.15) !important;
    }

    @keyframes flagshipGlow {
      0% { opacity: 0.2; box-shadow: 0 0 10px rgba(0, 245, 160, 0.2); }
      100% { opacity: 0.8; box-shadow: 0 0 25px rgba(0, 245, 160, 0.5); }
    }

    .badge-flagship {
      background: linear-gradient(135deg, #00F5A0 0%, #00D9F5 100%) !important;
      color: #07090E !important;
      font-weight: 900 !important;
      letter-spacing: 0.06em;
      box-shadow: 0 0 15px rgba(0, 245, 160, 0.6);
    }

    .btn-card-direct-play {
      width: 100%;
      margin-top: 0.65rem;
      padding: 0.6rem 0.8rem;
      border-radius: var(--radius-sm);
      background: linear-gradient(135deg, #00F5A0 0%, #00D9F5 100%);
      border: none;
      color: #07090E;
      font-family: 'Outfit', sans-serif;
      font-weight: 900;
      font-size: 0.82rem;
      letter-spacing: 0.06em;
      text-transform: uppercase;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 0.45rem;
      transition: all 0.2s ease;
      box-shadow: 0 0 15px rgba(0, 245, 160, 0.35);
    }

    .btn-card-direct-play:hover {
      transform: translateY(-2px);
      box-shadow: 0 0 25px rgba(0, 245, 160, 0.7);
      filter: brightness(1.1);
    }

    /* Flagship Spotlight Banner */
    .flagship-quick-banner {
      margin: 1.5rem 0 2.25rem 0;
      padding: 1.35rem 2rem;
      background: linear-gradient(135deg, rgba(14, 18, 29, 0.95) 0%, rgba(6, 78, 59, 0.4) 50%, rgba(14, 18, 29, 0.95) 100%);
      border: 1px solid rgba(0, 245, 160, 0.4);
      border-radius: var(--radius-lg);
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 1.5rem;
      box-shadow: 0 15px 40px rgba(0, 0, 0, 0.8), 0 0 30px rgba(0, 245, 160, 0.15);
      position: relative;
      overflow: hidden;
    }

    .flagship-quick-banner::before {
      content: '';
      position: absolute;
      top: 0; left: 0; right: 0; height: 2px;
      background: linear-gradient(90deg, transparent, #00F5A0, #00D9F5, transparent);
    }

    .flagship-tag {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      font-family: 'Outfit', sans-serif;
      font-size: 0.72rem;
      font-weight: 800;
      color: #00F5A0;
      letter-spacing: 0.12em;
      text-transform: uppercase;
      margin-bottom: 0.4rem;
    }

    .pulse-dot-emerald {
      width: 8px;
      height: 8px;
      border-radius: 50%;
      background: #00F5A0;
      box-shadow: 0 0 10px #00F5A0;
      animation: pulseAnim 1.5s infinite;
    }

    .flagship-heading {
      font-family: 'Outfit', sans-serif;
      font-size: 1.45rem;
      font-weight: 900;
      color: #FFF;
      letter-spacing: 0.05em;
      margin-bottom: 0.35rem;
    }

    .flagship-sub {
      font-size: 0.85rem;
      color: var(--text-muted);
      line-height: 1.4;
      max-width: 620px;
    }

    .flagship-actions {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      flex-wrap: wrap;
    }

    .btn-flagship-launch {
      padding: 0.85rem 1.75rem;
      border-radius: 9999px;
      background: linear-gradient(135deg, #00F5A0 0%, #00D9F5 100%);
      border: none;
      color: #07090E;
      font-family: 'Outfit', sans-serif;
      font-weight: 900;
      font-size: 0.95rem;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      gap: 0.6rem;
      transition: all 0.25s ease;
      box-shadow: 0 0 25px rgba(0, 245, 160, 0.45);
    }

    .btn-flagship-launch:hover {
      transform: translateY(-2px);
      box-shadow: 0 0 35px rgba(0, 245, 160, 0.75);
      filter: brightness(1.1);
    }

    .btn-flagship-newtab {
      padding: 0.85rem 1.25rem;
      border-radius: 9999px;
      background: rgba(255, 255, 255, 0.06);
      border: 1px solid rgba(255, 255, 255, 0.15);
      color: #F8FAFC;
      font-family: 'Outfit', sans-serif;
      font-weight: 700;
      font-size: 0.88rem;
      text-decoration: none;
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      transition: all 0.2s ease;
    }

    .btn-flagship-newtab:hover {
      background: rgba(255, 255, 255, 0.12);
      border-color: #00F5A0;
      color: #00F5A0;
    }

    /* ==========================================================================
       PRODUCTION IFRAME MODAL CABINET VIEWPORT
       ========================================================================== */
    .game-modal-backdrop {
      position: fixed;
      inset: 0;
      z-index: 10000;
      background: rgba(7, 9, 14, 0.92);
      backdrop-filter: blur(14px);
      display: flex;
      flex-direction: column;
      animation: modalFadeIn 0.3s ease;
    }

    @keyframes modalFadeIn {
      from { opacity: 0; }
      to { opacity: 1; }
    }

    .game-modal-cabinet {
      width: 100%;
      height: 100%;
      display: flex;
      flex-direction: column;
      position: relative;
    }

    .game-modal-header {
      flex-shrink: 0;
      height: 54px;
      background: #0E121D;
      border-bottom: 1px solid rgba(0, 245, 160, 0.25);
      padding: 0 1.5rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.9);
      z-index: 20;
    }

    .modal-header-left {
      display: flex;
      align-items: center;
      gap: 0.75rem;
    }

    .live-status-dot {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background: #00F5A0;
      box-shadow: 0 0 12px #00F5A0;
      animation: pulseAnim 1.5s infinite;
    }

    .modal-game-info {
      display: flex;
      flex-direction: column;
    }

    .modal-game-title {
      font-family: 'Outfit', sans-serif;
      font-size: 1.05rem;
      font-weight: 900;
      letter-spacing: 0.08em;
      background: linear-gradient(135deg, #FFF 0%, #00F5A0 100%);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      line-height: 1.2;
    }

    .modal-game-meta {
      font-size: 0.65rem;
      font-weight: 700;
      color: var(--text-muted);
      letter-spacing: 0.06em;
    }

    .modal-wallet-meter {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      padding: 0.35rem 0.9rem;
      border-radius: 9999px;
      background: rgba(14, 18, 29, 0.85);
      border: 1px solid rgba(0, 245, 160, 0.3);
      box-shadow: 0 0 15px rgba(0, 245, 160, 0.15);
    }

    .modal-wallet-label {
      font-family: 'Outfit', sans-serif;
      font-size: 0.68rem;
      font-weight: 800;
      color: var(--text-muted);
      letter-spacing: 0.08em;
    }

    .modal-wallet-val {
      font-family: 'JetBrains Mono', monospace;
      font-size: 0.92rem;
      font-weight: 700;
      color: #00F5A0;
      transition: color 0.3s;
    }

    .modal-wallet-val.win-flash {
      color: #FFD700;
      text-shadow: 0 0 12px rgba(255, 215, 0, 0.9);
    }

    .modal-header-actions {
      display: flex;
      align-items: center;
      gap: 0.6rem;
    }

    .modal-action-btn {
      width: 36px;
      height: 36px;
      border-radius: var(--radius-sm);
      background: rgba(255, 255, 255, 0.06);
      border: 1px solid rgba(255, 255, 255, 0.12);
      color: #94A3B8;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.2s ease;
    }

    .modal-action-btn:hover {
      background: rgba(0, 245, 160, 0.15);
      border-color: #00F5A0;
      color: #00F5A0;
    }

    .modal-close-btn {
      width: 36px;
      height: 36px;
      border-radius: var(--radius-sm);
      background: rgba(239, 68, 68, 0.15);
      border: 1px solid rgba(239, 68, 68, 0.3);
      color: #F87171;
      font-size: 22px;
      line-height: 1;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: all 0.2s ease;
    }

    .modal-close-btn:hover {
      background: #EF4444;
      border-color: #EF4444;
      color: #FFF;
    }

    .game-modal-body {
      flex: 1;
      width: 100%;
      height: 100%;
      position: relative;
      background: #07090E;
      overflow: hidden;
    }

    .game-runtime-iframe {
      width: 100%;
      height: 100%;
      border: none;
      display: block;
    }
