﻿/*
 * shared/common.css — FF Diamonds  v3.3
 *
 * COLOR THEME: Dark Teal + Amber Gold
 *   Brand primary : #FFB300 (rich amber gold — premium contrast on dark teal)
 *   Backgrounds   : deep teal (#020E14 → #061A22 → #0A2430 → #0E2E3E)
 *   Gold is near-complementary to teal on the color wheel → maximum pop.
 *   Perfect for a rewards / giveaway platform (gold = winning).
 *
 * WHY THIS FILE EXISTS:
 *   assets/css/app.css is 1.7 MB compiled Tailwind with hardcoded rgb() values.
 *   CSS variables CANNOT override those classes.  Only a direct-class selector
 *   loaded AFTER app.css with !important wins.  That is what Part A does.
 *
 * SW CACHE: sw.js at gamezone-static-v4 — stale CSS cleared on next load.
 * Edit once here → all ~6,900 pages update.
 * DO NOT edit assets/css/app.css.
 */

@import url('https://fonts.googleapis.com/css2?family=Sora:wght@400;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
    /* ── BRAND GOLD ── */
    --gz-primary:           #FFB300;
    --gz-primary-600:       #E6A000;
    --gz-primary-400:       #FFD040;
    --gz-primary-200:       #FFE8A0;
    --gz-primary-alpha-10:  rgba(255, 179,   0, 0.10);
    --gz-primary-alpha-15:  rgba(255, 179,   0, 0.15);
    --gz-primary-alpha-20:  rgba(255, 179,   0, 0.20);
    --gz-primary-alpha-30:  rgba(255, 179,   0, 0.30);
    --gz-primary-alpha-45:  rgba(255, 179,   0, 0.45);

    /* ── SECONDARY — electric cyan (teal accent) ── */
    --gz-secondary:          #06B6D4;
    --gz-secondary-600:      #0891B2;
    --gz-secondary-400:      #22D3EE;
    --gz-secondary-alpha-15: rgba(  6, 182, 212, 0.15);
    --gz-secondary-alpha-25: rgba(  6, 182, 212, 0.25);
    --gz-secondary-alpha-35: rgba(  6, 182, 212, 0.35);

    /* ── ACCENT ── */
    --gz-accent:            #F59E0B;
    --gz-accent-400:        #FBBF24;
    --gz-accent-alpha-15:   rgba(245, 158,  11, 0.15);
    --gz-accent-alpha-25:   rgba(245, 158,  11, 0.25);

    /* ── TEAL BACKGROUND LAYERS ── */
    --gz-bg:               #020E14;
    --gz-surface:          #061A22;
    --gz-card:             #0A2430;
    --gz-card-hover:       #0E2E3E;
    --gz-overlay:          #12303D;

    /* ── TEXT ── */
    --gz-text:             #E8F8FF;
    --gz-text-secondary:   #93BECE;
    --gz-text-muted:       #527080;
    --gz-text-disabled:    #2A4050;
    --gz-text-inverse:     #020E14;

    /* ── BORDERS ── */
    --gz-border-subtle:      rgba(255, 255, 255, 0.06);
    --gz-border-default:     rgba(255, 255, 255, 0.10);
    --gz-border-medium:      rgba(255, 255, 255, 0.16);
    --gz-border-brand:       rgba(255, 179,   0, 0.30);
    --gz-border-brand-hover: rgba(255, 179,   0, 0.60);
    --gz-border-secondary:   rgba(  6, 182, 212, 0.25);
    --gz-border-accent:      rgba(245, 158,  11, 0.28);

    /* ── SEMANTIC ── */
    --gz-success:       #10B981;
    --gz-success-alpha: rgba( 16, 185, 129, 0.15);
    --gz-warning:       #F59E0B;
    --gz-warning-alpha: rgba(245, 158,  11, 0.15);
    --gz-error:         #EF4444;
    --gz-error-alpha:   rgba(239,  68,  68, 0.15);
    --gz-info:          #38BDF8;
    --gz-info-alpha:    rgba( 56, 189, 248, 0.15);

    /* ── SHADOWS ── */
    --gz-shadow-xs:       0 1px  2px  rgba(0, 0, 0, 0.50);
    --gz-shadow-sm:       0 2px  8px  rgba(0, 0, 0, 0.55);
    --gz-shadow-md:       0 4px 16px  rgba(0, 0, 0, 0.60), 0 2px  6px rgba(0, 0, 0, 0.40);
    --gz-shadow-lg:       0 8px 32px  rgba(0, 0, 0, 0.65), 0 4px 12px rgba(0, 0, 0, 0.40);
    --gz-shadow-xl:       0 16px 48px rgba(0, 0, 0, 0.70), 0 8px 20px rgba(0, 0, 0, 0.40);
    --gz-shadow-brand:    0 4px 20px rgba(255, 179, 0, 0.38), 0 2px 8px rgba(255, 179, 0, 0.22);
    --gz-shadow-brand-lg: 0 6px 28px rgba(255, 179, 0, 0.52), 0 3px 12px rgba(255, 179, 0, 0.28);
    --gz-shadow-secondary: 0 4px 20px rgba(6, 182, 212, 0.30);
    --gz-shadow-accent:    0 4px 16px rgba(245, 158, 11, 0.28);

    /* ── RADIUS ── */
    --gz-radius-xs:   0.375rem;
    --gz-radius-sm:   0.5rem;
    --gz-radius-md:   0.75rem;
    --gz-radius-lg:   1rem;
    --gz-radius-xl:   1.25rem;
    --gz-radius-2xl:  1.5rem;
    --gz-radius-pill: 9999px;

    /* ── TRANSITIONS ── */
    --gz-t-instant: 0.08s ease;
    --gz-t-fast:    0.14s ease;
    --gz-t-base:    0.20s ease;
    --gz-t-medium:  0.30s ease;
    --gz-t-slow:    0.45s ease;
    --gz-t-spring:  0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    --gz-t-smooth:  0.40s cubic-bezier(0.22, 1.00, 0.36, 1.00);

    /* ── FONTS ── */
    --gz-font-display: 'Sora',  'Outfit', sans-serif;
    --gz-font-body:    'Inter', 'Outfit', sans-serif;
    --gz-font-mono:    'JetBrains Mono', 'Courier New', monospace;
}


/* ============================================================
   PART A — TAILWIND UTILITY CLASS OVERRIDES
   ============================================================
   Compiled Tailwind uses hardcoded rgb() — CSS vars can't win.
   Loading these AFTER app.css + !important is the only override path.
   body.bg-dark-950 specificity (0,1,1) beats .bg-dark-950 (0,1,0).
   ============================================================ */

/* ── A1: BODY — teal + gold aurora gradient ──────────────── */
body,
body.bg-dark-950 {
    background:
        radial-gradient(ellipse 140% 55% at 50% -5%,
            rgba(255, 179,   0, 0.13)  0%,
            rgba(  6, 182, 212, 0.06) 48%,
            transparent               72%),
        linear-gradient(180deg,
            #020E14  0%,
            #041218  50%,
            #020C10  100%) !important;
    background-attachment: fixed !important;
    color: #E8F8FF !important;
    font-family: 'Inter', 'Outfit', sans-serif !important;
    line-height: 1.65 !important;
}

/* ── A2: PANEL BACKGROUNDS ────────────────────────────────── */
.bg-dark-950            { background-color: #020E14 !important; }
.bg-dark-900            { background-color: #061A22 !important; }
.bg-dark-900\/80        { background-color: rgba(6, 26, 34, 0.88) !important; }
.bg-dark-900\/70        { background-color: rgba(6, 26, 34, 0.76) !important; }
.bg-dark-900\/60        { background-color: rgba(6, 26, 34, 0.66) !important; }
.bg-dark-900\/50        { background-color: rgba(6, 26, 34, 0.55) !important; }
.bg-dark-900\/30        { background-color: rgba(6, 26, 34, 0.35) !important; }

/* ── A3: CARD BACKGROUNDS ─────────────────────────────────── */
.bg-dark-800            { background-color: #0A2430 !important; }
.bg-dark-800\/80        { background-color: rgba(10, 36, 48, 0.86) !important; }
.bg-dark-800\/60        { background-color: rgba(10, 36, 48, 0.66) !important; }
.bg-dark-800\/50        { background-color: rgba(10, 36, 48, 0.55) !important; }
.bg-dark-800\/30        { background-color: rgba(10, 36, 48, 0.35) !important; }
.bg-dark-700            { background-color: #0E2E3E !important; }
.bg-dark-700\/80        { background-color: rgba(14, 46, 62, 0.86) !important; }
.bg-dark-700\/60        { background-color: rgba(14, 46, 62, 0.66) !important; }
.bg-dark-600            { background-color: #123444 !important; }

/* ── A4: BRAND GOLD BACKGROUNDS ──────────────────────────── */
.bg-brand-500           { background-color: #FFB300 !important; }
.bg-brand-600           { background-color: #E6A000 !important; }
.bg-brand-400           { background-color: #FFD040 !important; }
.bg-brand-500\/5        { background-color: rgba(255, 179, 0, 0.05) !important; }
.bg-brand-500\/10       { background-color: rgba(255, 179, 0, 0.10) !important; }
.bg-brand-500\/15       { background-color: rgba(255, 179, 0, 0.15) !important; }
.bg-brand-500\/20       { background-color: rgba(255, 179, 0, 0.20) !important; }
.bg-brand-500\/30       { background-color: rgba(255, 179, 0, 0.30) !important; }
.bg-brand-500\/40       { background-color: rgba(255, 179, 0, 0.40) !important; }

/* ── A5: TEXT COLORS ──────────────────────────────────────── */
.text-brand-400         { color: #FFD040 !important; }
.text-brand-500         { color: #FFB300 !important; }
.text-brand-600         { color: #E6A000 !important; }
.text-brand-300         { color: #FFE080 !important; }

/* ── A6: GRADIENT FROM ────────────────────────────────────── */
.from-brand-500 {
    --tw-gradient-from: #FFB300 var(--tw-gradient-from-position) !important;
    --tw-gradient-to:   rgba(255,179,0,0) var(--tw-gradient-to-position) !important;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important;
}
.from-brand-600 {
    --tw-gradient-from: #E6A000 var(--tw-gradient-from-position) !important;
    --tw-gradient-to:   rgba(230,160,0,0) var(--tw-gradient-to-position) !important;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important;
}
.from-brand-400 {
    --tw-gradient-from: #FFD040 var(--tw-gradient-from-position) !important;
    --tw-gradient-to:   rgba(255,208,64,0) var(--tw-gradient-to-position) !important;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important;
}
.from-brand-500\/10 {
    --tw-gradient-from: rgba(255,179,0,0.10) var(--tw-gradient-from-position) !important;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important;
}
.from-brand-500\/20 {
    --tw-gradient-from: rgba(255,179,0,0.20) var(--tw-gradient-from-position) !important;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important;
}
.from-brand-500\/30 {
    --tw-gradient-from: rgba(255,179,0,0.30) var(--tw-gradient-from-position) !important;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important;
}
.from-dark-950 {
    --tw-gradient-from: #020E14 var(--tw-gradient-from-position) !important;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important;
}
.from-dark-900 {
    --tw-gradient-from: #061A22 var(--tw-gradient-from-position) !important;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important;
}

/* ── A7: GRADIENT TO ──────────────────────────────────────── */
.to-fire-600  { --tw-gradient-to: #CC8800 var(--tw-gradient-to-position) !important; }
.to-fire-500  { --tw-gradient-to: #D4A000 var(--tw-gradient-to-position) !important; }
.to-fire-400  { --tw-gradient-to: #FFD030 var(--tw-gradient-to-position) !important; }
.to-brand-600 { --tw-gradient-to: #E6A000 var(--tw-gradient-to-position) !important; }
.to-brand-500 { --tw-gradient-to: #FFB300 var(--tw-gradient-to-position) !important; }
.to-dark-950  { --tw-gradient-to: #020E14 var(--tw-gradient-to-position) !important; }
.to-dark-900  { --tw-gradient-to: #061A22 var(--tw-gradient-to-position) !important; }

/* ── A8: BORDER BRAND ─────────────────────────────────────── */
.border-brand-500     { border-color: #FFB300 !important; }
.border-brand-500\/10 { border-color: rgba(255,179,0,0.14) !important; }
.border-brand-500\/20 { border-color: rgba(255,179,0,0.28) !important; }
.border-brand-500\/30 { border-color: rgba(255,179,0,0.40) !important; }
.border-brand-500\/40 { border-color: rgba(255,179,0,0.54) !important; }
.border-brand-500\/50 { border-color: rgba(255,179,0,0.64) !important; }

/* ── A9: HOVER OVERRIDES ──────────────────────────────────── */
.hover\:border-brand-500\/20:hover { border-color: rgba(255,179,0,0.28) !important; }
.hover\:border-brand-500\/30:hover { border-color: rgba(255,179,0,0.40) !important; }
.hover\:border-brand-500\/40:hover { border-color: rgba(255,179,0,0.54) !important; }
.hover\:border-brand-500\/50:hover { border-color: rgba(255,179,0,0.68) !important; }
.hover\:bg-brand-500\/10:hover     { background-color: rgba(255,179,0,0.10) !important; }
.hover\:bg-brand-500\/20:hover     { background-color: rgba(255,179,0,0.20) !important; }
.hover\:bg-brand-500\/30:hover     { background-color: rgba(255,179,0,0.30) !important; }
.hover\:bg-brand-600:hover         { background-color: #E6A000 !important; }
.hover\:bg-brand-500:hover         { background-color: #FFB300 !important; }
.hover\:bg-dark-700:hover          { background-color: #0E2E3E !important; }
.hover\:bg-dark-800:hover          { background-color: #0A2430 !important; }
.hover\:bg-dark-900:hover          { background-color: #061A22 !important; }
.hover\:text-brand-400:hover       { color: #FFD040 !important; }
.hover\:text-brand-500:hover       { color: #FFB300 !important; }
.hover\:text-brand-300:hover       { color: #FFE080 !important; }
.hover\:from-brand-500:hover {
    --tw-gradient-from: #FFB300 var(--tw-gradient-from-position) !important;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important;
}
.hover\:from-brand-600:hover {
    --tw-gradient-from: #E6A000 var(--tw-gradient-from-position) !important;
    --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to) !important;
}
.hover\:to-fire-600:hover { --tw-gradient-to: #CC8800 var(--tw-gradient-to-position) !important; }
.hover\:to-fire-500:hover { --tw-gradient-to: #D4A000 var(--tw-gradient-to-position) !important; }

/* ── A10: FOCUS ───────────────────────────────────────────── */
.focus\:border-brand-500\/50:focus { border-color: rgba(255,179,0,0.68) !important; }
.focus\:border-brand-500:focus     { border-color: #FFB300 !important; }
.focus\:ring-brand-500:focus       { --tw-ring-color: rgba(255,179,0,0.50) !important; }

/* ── A11: SHADOW BRAND ────────────────────────────────────── */
.shadow-brand-500\/20 { --tw-shadow-color: rgba(255,179,0,0.22) !important; --tw-shadow: var(--tw-shadow-colored) !important; }
.shadow-brand-500\/30 { --tw-shadow-color: rgba(255,179,0,0.34) !important; --tw-shadow: var(--tw-shadow-colored) !important; }
.shadow-brand-500\/40 { --tw-shadow-color: rgba(255,179,0,0.46) !important; --tw-shadow: var(--tw-shadow-colored) !important; }
.shadow-brand-500\/50 { --tw-shadow-color: rgba(255,179,0,0.58) !important; --tw-shadow: var(--tw-shadow-colored) !important; }

/* ── A12: RING ────────────────────────────────────────────── */
.ring-brand-500     { --tw-ring-color: rgb(255, 179, 0) !important; }
.ring-brand-500\/50 { --tw-ring-color: rgba(255,179,0,0.50) !important; }

/* ── A13: TYPOGRAPHY ──────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Sora', 'Outfit', sans-serif !important;
    color: #E8F8FF;
    line-height: 1.2;
    letter-spacing: -0.01em;
}
h1 { letter-spacing: -0.025em; }
h2 { letter-spacing: -0.020em; }
h3 { letter-spacing: -0.015em; }
h1, h2, h3 { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

p { color: #93BECE; line-height: 1.7; }


/* ============================================================
   PART B — GLOBAL BASE
   ============================================================ */
* { -webkit-tap-highlight-color: transparent; }
body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }


/* ============================================================
   PART C — GAMING BACKGROUND GRADIENT
   ============================================================ */
.bg-gaming {
    background:
        radial-gradient(ellipse 120% 42% at 50% 0%,
            rgba(255, 179, 0, 0.10) 0%,
            transparent 58%),
        linear-gradient(180deg, #020E14 0%, #061A22 55%, #0A2430 100%);
}


/* ============================================================
   PART D — CARD SYSTEM
   ============================================================ */
.bg-gaming-card {
    background: linear-gradient(
        145deg,
        rgba(255, 179, 0, 0.07)  0%,    /* gold shimmer at top-left */
        #0A2430                  20%,
        rgba(6, 14, 24, 0.98)   100%
    ) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 179, 0, 0.28) !important;
    box-shadow:
        0 2px 10px rgba(0, 0, 0, 0.60),
        inset 0 1px 0 rgba(255, 255, 255, 0.04) !important;
    transition: border-color 0.20s ease, box-shadow 0.20s ease, transform 0.20s ease;
    will-change: transform;
}
.bg-gaming-card:hover {
    border-color: rgba(255, 179, 0, 0.62) !important;
    box-shadow:
        0 4px 24px rgba(0, 0, 0, 0.65),
        0 0  36px rgba(255, 179, 0, 0.16),
        inset 0 1px 0 rgba(255, 255, 255, 0.06) !important;
    transform: translateY(-2px);
}


/* ============================================================
   PART E — GLASS MORPHISM
   ============================================================ */
.glass {
    background: rgba(2, 10, 18, 0.84);
    backdrop-filter: blur(22px) saturate(1.8);
    -webkit-backdrop-filter: blur(22px) saturate(1.8);
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.50);
}


/* ============================================================
   PART F — GLOW EFFECTS
   ============================================================ */
.glow-orange {
    box-shadow:
        0 0 20px rgba(255, 179, 0, 0.50),
        0 0 45px rgba(255, 179, 0, 0.20),
        0 0 90px rgba(255, 179, 0, 0.08);
}
.glow-text {
    text-shadow:
        0 0 16px rgba(255, 179, 0, 0.76),
        0 0 34px rgba(255, 179, 0, 0.36);
}
.text-gradient {
    background: linear-gradient(135deg, #FFB300 0%, #FFD040 35%, #FFC520 65%, #E6A000 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


/* ============================================================
   PART G — SCROLLBAR
   ============================================================ */
::-webkit-scrollbar          { width: 5px; }
::-webkit-scrollbar-track    { background: #020E14; }
::-webkit-scrollbar-thumb    { background: linear-gradient(to bottom, #FFB300, #E6A000); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #FFD040; }


/* ============================================================
   PART H — AD CONTAINERS
   ============================================================ */
.ad-container {
    min-height: 100px; background: rgba(0, 0, 0, 0.22);
    border-radius: 0.75rem; overflow: visible; contain: layout style; content-visibility: auto;
}
.ad-container .adsbygoogle { min-height: 90px; display: block; text-align: center; }

@media (max-width: 767px) {
    .ad-container              { min-height: 260px; }
    .ad-container .adsbygoogle { min-height: 250px; }
}
@media (min-width: 768px) {
    .ad-container              { min-height: 100px; }
    .ad-container .adsbygoogle { min-height:  90px; }
}

.ad-container::before { content: ''; display: block; }
.ad-container[data-loaded="true"] { min-height: auto; }

.ad-demo-mobile {
    display: block; max-width: 320px; min-height: 50px; margin: 10px auto;
    background: rgba(10, 36, 48, 0.95); border: 1.5px dashed rgba(255,179,0,0.28);
    border-radius: 0.75rem; color: #527080; font-size: 12px;
    text-align: center; line-height: 50px; box-sizing: border-box;
}
.ad-demo-desktop {
    display: none; max-width: 728px; min-height: 90px; margin: 10px auto;
    background: rgba(10, 36, 48, 0.95); border: 1.5px dashed rgba(255,179,0,0.28);
    border-radius: 0.75rem; color: #527080; font-size: 14px;
    text-align: center; line-height: 90px; box-sizing: border-box;
}
@media (min-width: 768px) { .ad-demo-mobile  { display: none  !important; } .ad-demo-desktop { display: block !important; } }
@media (max-width: 767px) { .ad-demo-desktop { display: none  !important; } }

.ad-container, .gz-demo-ad-block             { margin: 0 auto; text-align: center; width: 100%; box-sizing: border-box; }
.ad-container ins.adsbygoogle                { display: block; margin: 0 auto; }
.ad-container > div, .gz-demo-ad-block > div { margin: 0 auto; }
#stickyAdWrap ins.adsbygoogle               { margin: 0 auto; }


/* ============================================================
   PART I — ANIMATIONS
   ============================================================ */
.page-content { animation: slideUp 0.4s ease-out; }
@keyframes slideUp {
    from { opacity: 0; transform: translateY(14px); }
    to   { opacity: 1; transform: translateY(0); }
}
.winner-pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }

.step-line { position: relative; }
.step-line::after {
    content: ''; position: absolute; left: 20px; top: 50px; bottom: -20px; width: 2px;
    background: linear-gradient(to bottom, #FFB300, #06B6D4, transparent);
}
.step-line:last-child::after { display: none; }


/* ============================================================
   PART J — FORM CONTROLS & BUTTONS
   ============================================================ */
.input-field {
    display: block; width: 100%;
    background: #0A2430;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 0.75rem; padding: 0.65rem 0.9rem;
    color: #E8F8FF; font-family: 'Inter', 'Outfit', sans-serif;
    font-size: 0.925rem; line-height: 1.5; outline: none; box-sizing: border-box;
    transition: border-color 0.20s ease, box-shadow 0.20s ease, background 0.20s ease;
}
.input-field::placeholder { color: #527080; opacity: 1; }
.input-field:focus {
    border-color: #FFB300; background: #0E2E3E;
    box-shadow: 0 0 0 3px rgba(255,179,0,0.20);
}
textarea.input-field { min-height: 80px; resize: vertical; }
select.input-field {
    -webkit-appearance: none; appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23527080' stroke-width='2.5'><path d='M6 9l6 6 6-6'/></svg>");
    background-repeat: no-repeat; background-position: right 0.75rem center; padding-right: 2.25rem;
}
.input-field option { background: #061A22; color: #E8F8FF; }

.btn-primary {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem;
    background: linear-gradient(145deg, #FFB300 0%, #E6A000 100%);
    color: #0D0900;                           /* dark text — gold needs dark contrast */
    font-family: 'Sora', 'Outfit', sans-serif; font-weight: 700;
    border: 0; border-radius: 0.75rem; padding: 0.65rem 1.3rem; font-size: 0.9rem;
    cursor: pointer; text-decoration: none;
    box-shadow: 0 4px 22px rgba(255,179,0,0.42), 0 2px 8px rgba(255,179,0,0.24);
    position: relative; overflow: hidden;
    transition: background 0.14s ease, box-shadow 0.20s ease, transform 0.14s ease;
}
.btn-primary::before {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.22) 0%, transparent 55%);
    pointer-events: none; border-radius: inherit;
}
.btn-primary:hover {
    background: linear-gradient(145deg, #FFD040 0%, #FFB300 100%);
    box-shadow: 0 6px 30px rgba(255,179,0,0.58), 0 3px 12px rgba(255,179,0,0.32);
    transform: translateY(-1px);
}
.btn-primary:active { transform: translateY(0); box-shadow: 0 4px 22px rgba(255,179,0,0.42), 0 2px 8px rgba(255,179,0,0.24); }
.btn-primary:focus-visible { outline: 2px solid #FFB300; outline-offset: 3px; }


/* ============================================================
   PART K — ITEM CARD IMAGE ANIMATIONS
   ============================================================ */
.bg-gaming-card .aspect-square { position: relative; }
.bg-gaming-card .aspect-square::after {
    content: ''; position: absolute; inset: 0; z-index: 5; pointer-events: none;
    background: linear-gradient(115deg, transparent 30%, rgba(255,255,255,0.24) 46%, rgba(255,255,255,0.07) 54%, transparent 68%);
    transform: translateX(-130%);
    transition: transform 0.40s cubic-bezier(0.22, 1.00, 0.36, 1.00);
}
.bg-gaming-card:hover .aspect-square::after { transform: translateX(130%); }
.bg-gaming-card .aspect-square img { transition: transform 0.40s cubic-bezier(0.20, 0.80, 0.20, 1.00); }
.bg-gaming-card:hover .aspect-square img { transform: scale(1.09) rotate(-1.5deg); }

@keyframes gzCardFloat {
    0%, 100% { transform: translateY(0); }
    50%       { transform: translateY(-4px); }
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
    .ring-red-500\/40:hover, .ring-amber-500\/40:hover {
        animation: gzCardFloat 2.2s ease-in-out infinite;
    }
}


/* ============================================================
   PART L — SCROLL-REVEAL
   ============================================================ */
body.gzr .gz-reveal {
    opacity: 0; transform: translateY(26px);
    transition: opacity 0.55s ease, transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}
body.gzr .gz-reveal.gz-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    body.gzr .gz-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
}


/* ============================================================
   PART M — SAFE AREA / MARQUEE / SHIMMER
   ============================================================ */
.pb-safe { padding-bottom: calc(70px + env(safe-area-inset-bottom)); }

.marquee { animation: marquee 20s linear infinite; }
@keyframes marquee {
    0%   { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

.shimmer-bg {
    background: linear-gradient(90deg, transparent, rgba(255,179,0,0.09), rgba(6,182,212,0.04), transparent);
    background-size: 200% 100%;
    animation: shimmer 1.8s infinite;
}
@keyframes shimmer {
    0%   { background-position: -200% 0; }
    100% { background-position:  200% 0; }
}


/* ============================================================
   PART P — HEADER
   ============================================================ */

/*
 * sticky requires NO overflow:hidden/auto/scroll on any ancestor.
 * Tailwind's `overflow-x-hidden` on html/body kills sticky — block it here.
 */
html, body {
    overflow-x: clip !important;   /* clip ≠ hidden — does NOT break sticky */
}

/*
 * WHY: position:sticky on the inner <header> only sticks within #header-container
 * (its containing block), which is just ~56px tall — so it immediately exits
 * and vanishes. The fix: make #header-container itself sticky (it's a direct
 * child of <body>, so its containing block is the full page height).
 */
 
 /*
#header-container {
    position: sticky !important;
    top: 0 !important;
    z-index: 9990 !important;
    min-height: 56px;
    must not have overflow:hidden or sticky breaks for its children 
  overflow: visible !important;
}*/

/* Inner header is normal flow inside the sticky container */
header,
#header-container > header {
    position: relative !important;
    top: auto !important;
    width: 100% !important;
}

header.sticky.glass {
    background: rgba(2, 10, 18, 0.94) !important;
    backdrop-filter: blur(24px) saturate(1.9) !important;
    -webkit-backdrop-filter: blur(24px) saturate(1.9) !important;
    border-bottom: 1px solid rgba(255, 179, 0, 0.22) !important;
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.05),
        0 4px 30px rgba(0, 0, 0, 0.60) !important;
}

header a[href*="giveaway"],
header a[href*="diamond-giveaway"] {
    background: rgba(255, 179, 0, 0.14) !important;
    border-color: rgba(255, 179, 0, 0.30) !important;
    transition: background 0.20s ease, border-color 0.20s ease, box-shadow 0.20s ease !important;
}
header a[href*="giveaway"]:hover,
header a[href*="diamond-giveaway"]:hover {
    background: rgba(255, 179, 0, 0.26) !important;
    border-color: rgba(255, 179, 0, 0.60) !important;
    box-shadow: 0 0 22px rgba(255, 179, 0, 0.24) !important;
}

#searchOverlay {
    background: rgba(2, 10, 18, 0.97) !important;
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    border-bottom-color: rgba(255, 179, 0, 0.20) !important;
}
#searchOverlay input[type="search"] {
    background: #0A2430 !important; border-color: rgba(255,255,255,0.16) !important;
    color: #E8F8FF !important; border-radius: 1.25rem !important;
    transition: border-color 0.20s ease, box-shadow 0.20s ease, background 0.20s ease !important;
}
#searchOverlay input[type="search"]:focus {
    border-color: #FFB300 !important; background: #0E2E3E !important;
    box-shadow: 0 0 0 3px rgba(255,179,0,0.22) !important;
}


/* ============================================================
   PART Q — FOOTER
   ============================================================ */
#footer-container { min-height: 400px; }

#site-footer {
    background: linear-gradient(
        180deg,
        rgba(2, 14, 20, 0)  0%,
        #061A22             18%,
        #061A22            100%
    ) !important;
    border-top: 1px solid rgba(255, 179, 0, 0.22) !important;
    color: #D4EAF4 !important;                /* white-tinted body text in footer */
    position: relative;
}
#site-footer::before {
    content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,179,0,0.60), rgba(6,182,212,0.30), transparent);
    pointer-events: none;
}

/* Section headings (NAVIGATION, GAME LINKS, etc.) — subtle uppercase label */
#site-footer h4 {
    font-family: 'Sora', 'Outfit', sans-serif; font-size: 0.68rem; font-weight: 700;
    letter-spacing: 0.08em; text-transform: uppercase;
    color: rgba(255, 255, 255, 0.48);
    margin-bottom: 0.85rem;
}
/* All footer links — white */
#site-footer a {
    color: #C8E4F0 !important;
    transition: color 0.20s ease;
}
#site-footer a:hover { color: #FFB300 !important; }

/* Paragraphs / spans inside footer */
#site-footer p,
#site-footer span:not(.gz-badge):not([class*="text-brand"]) {
    color: #C8E4F0;
}

#site-footer .border-t { border-top-color: rgba(255,255,255,0.08) !important; }

#site-footer .glass {
    background: #0A2430 !important;
    border: 1px solid rgba(255,255,255,0.10) !important;
    transition: background 0.20s ease, border-color 0.20s ease, box-shadow 0.20s ease, color 0.20s ease !important;
}
#site-footer .glass:hover {
    background: rgba(255,179,0,0.12) !important;
    border-color: rgba(255,179,0,0.32) !important;
    box-shadow: 0 0 20px rgba(255,179,0,0.18) !important;
}


/* ============================================================
   PART R — MOBILE BOTTOM NAV
   ============================================================ */
#bottomNav {
    background: rgba(2, 10, 18, 0.97) !important;
    backdrop-filter: blur(24px) saturate(1.7) !important;
    -webkit-backdrop-filter: blur(24px) saturate(1.7) !important;
    border-top: 1px solid rgba(255, 179, 0, 0.20) !important;
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.60) !important;
}
#bottomNav a { transition: color 0.20s ease, background 0.20s ease; border-radius: 0.5rem; }
#bottomNav a:hover, #bottomNav a:focus { color: #FFD040 !important; }
#bottomNav .rounded-full {
    box-shadow: 0 0 24px rgba(255,179,0,0.58), 0 4px 14px rgba(255,179,0,0.44) !important;
}


/* ============================================================
   PART S — STICKY AD WRAP
   ============================================================ */
#stickyAdWrap { position: fixed; left: 0; right: 0; bottom: 70px; z-index: 9999; display: block; }
@media (min-width: 768px) { #stickyAdWrap { bottom: 0; } }

#stickyAdWrap > div > div {
    background: rgba(2, 10, 18, 0.98) !important;
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255,255,255,0.06) !important;
}
#closeStickyAd {
    background: #061A22 !important; color: #527080 !important;
    border: 1px solid rgba(255,255,255,0.10) !important; border-bottom: 0 !important;
    border-radius: 0.5rem 0.5rem 0 0 !important;
    transition: color 0.20s ease, background 0.20s ease !important;
}
#closeStickyAd:hover { color: #E8F8FF !important; background: #0A2430 !important; }


/* ============================================================
   PART T — COOKIE CONSENT
   ============================================================ */
#cookieConsent {
    background: #12303D !important;
    border: 1px solid rgba(255, 179, 0, 0.24) !important;
    box-shadow: 0 16px 48px rgba(0,0,0,0.70), 0 8px 20px rgba(0,0,0,0.40) !important;
}
#cookieConsent button.bg-brand-500, #cookieConsent [onclick*="granted"] {
    background: linear-gradient(135deg, #FFB300, #E6A000) !important;
    color: #0D0900 !important;
    box-shadow: 0 4px 14px rgba(255,179,0,0.38) !important;
    transition: box-shadow 0.20s ease, transform 0.14s ease !important;
}
#cookieConsent button.bg-brand-500:hover, #cookieConsent [onclick*="granted"]:hover {
    box-shadow: 0 4px 24px rgba(255,179,0,0.56) !important; transform: translateY(-1px) !important;
}
#cookieConsent button.bg-dark-700, #cookieConsent [onclick*="denied"] {
    background: #0A2430 !important; border: 1px solid rgba(255,255,255,0.10) !important;
    color: #93BECE !important; transition: background 0.20s ease, border-color 0.20s ease !important;
}
#cookieConsent button.bg-dark-700:hover, #cookieConsent [onclick*="denied"]:hover {
    background: #0E2E3E !important; border-color: rgba(255,255,255,0.16) !important;
}


/* ============================================================
   PART U — SHARE BUTTON & PANEL
   ============================================================ */
#gz-share-btn button[onclick*="toggleShare"] {
    background: linear-gradient(135deg, #FFB300, #E6A000) !important;
    color: #0D0900 !important;
    box-shadow: 0 4px 22px rgba(255,179,0,0.42), 0 2px 8px rgba(255,179,0,0.24) !important;
    transition: transform 0.14s ease, box-shadow 0.20s ease !important;
}
#gz-share-btn button[onclick*="toggleShare"]:hover {
    transform: scale(1.06) !important;
    box-shadow: 0 6px 30px rgba(255,179,0,0.58), 0 3px 12px rgba(255,179,0,0.32) !important;
}
#sharePanel {
    background: #12303D !important;
    border: 1px solid rgba(255, 179, 0, 0.24) !important;
    box-shadow: 0 8px 32px rgba(0,0,0,0.65), 0 4px 12px rgba(0,0,0,0.40) !important;
}
#sharePanel a:hover, #sharePanel button:hover {
    background: rgba(255,179,0,0.10) !important; border-radius: 0.5rem;
}


/* ============================================================
   PART V — NOTIFICATION PANEL
   ============================================================ */
#notifPanel > div:last-child {
    background: #12303D !important;
    border: 1px solid rgba(255, 179, 0, 0.24) !important;
    box-shadow: 0 16px 48px rgba(0,0,0,0.70), 0 8px 20px rgba(0,0,0,0.40) !important;
}
#notifPanel .border-b { border-bottom-color: rgba(255,255,255,0.06) !important; }


/* ============================================================
   PART W — MICRO-INTERACTIONS BASELINE
   ============================================================ */
a, button {
    transition-property: color, background-color, border-color, box-shadow, transform, opacity;
    transition-duration: 0.18s;
    transition-timing-function: ease;
}


/* ============================================================
   PART X — DESIGN SYSTEM UTILITY CLASSES
   ============================================================ */
.gz-surface    { background: #061A22; }
.gz-card-bg    { background: #0A2430; }
.gz-overlay-bg { background: #12303D; }

.gz-text           { color: #E8F8FF; }
.gz-text-secondary { color: #93BECE; }
.gz-text-muted     { color: #527080; }

.gz-border         { border: 1px solid rgba(255,255,255,0.10); }
.gz-border-brand   { border: 1px solid rgba(255,179,0,0.30); }
.gz-border-subtle  { border: 1px solid rgba(255,255,255,0.06); }

.gz-shadow-sm    { box-shadow: 0 2px 8px rgba(0,0,0,0.55); }
.gz-shadow-md    { box-shadow: 0 4px 16px rgba(0,0,0,0.60), 0 2px 6px rgba(0,0,0,0.40); }
.gz-shadow-lg    { box-shadow: 0 8px 32px rgba(0,0,0,0.65), 0 4px 12px rgba(0,0,0,0.40); }
.gz-shadow-brand { box-shadow: 0 4px 22px rgba(255,179,0,0.42), 0 2px 8px rgba(255,179,0,0.24); }

.gz-rounded-sm  { border-radius: 0.5rem; }
.gz-rounded-md  { border-radius: 0.75rem; }
.gz-rounded-lg  { border-radius: 1rem; }
.gz-rounded-xl  { border-radius: 1.25rem; }
.gz-rounded-2xl { border-radius: 1.5rem; }

.gz-badge {
    display: inline-flex; align-items: center; gap: 0.3rem; padding: 0.2rem 0.65rem;
    border-radius: 9999px; font-family: 'Sora', 'Outfit', sans-serif;
    font-size: 0.65rem; font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
}
.gz-badge-primary   { background: rgba(255,179,0,0.16);   color: #FFD040;  border: 1px solid rgba(255,179,0,0.32); }
.gz-badge-secondary { background: rgba(6,182,212,0.15);   color: #22D3EE; border: 1px solid rgba(6,182,212,0.28); }
.gz-badge-gold      { background: rgba(245,158,11,0.15);  color: #FBBF24; border: 1px solid rgba(245,158,11,0.25); }
.gz-badge-success   { background: rgba(16,185,129,0.15);  color: #10B981; border: 1px solid rgba(16,185,129,0.25); }

.gz-gradient-text {
    background: linear-gradient(135deg, #FFB300 0%, #FFD040 40%, #FFC520 70%, #E6A000 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.gz-lift { transition: transform 0.20s ease, box-shadow 0.20s ease; }
.gz-lift:hover { transform: translateY(-3px); box-shadow: 0 4px 16px rgba(0,0,0,0.60), 0 2px 6px rgba(0,0,0,0.40); }

.gz-focus-ring:focus-visible { outline: 2px solid #FFB300; outline-offset: 3px; border-radius: 0.5rem; }

.gz-divider { height: 1px; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.10), transparent); border: none; margin: 0; }
.gz-divider-brand { background: linear-gradient(90deg, transparent, rgba(255,179,0,0.35), transparent); }
