/* ===================================================
   GOLDEN CROWN CASINO — Premium Design System
   Deep Charcoal + Gold Royal Aesthetic
   =================================================== */

/* ---------- CSS Custom Properties ---------- */
:root {
    --bg-primary: #0D1117;
    --bg-secondary: #161B22;
    --bg-card: #1C2128;
    --bg-card-hover: #22272E;
    --bg-glass: rgba(28, 33, 40, 0.75);
    --gold-primary: #D4AF37;
    --gold-light: #F5D76E;
    --gold-gradient: linear-gradient(135deg, #D4AF37 0%, #F5D76E 100%);
    --gold-glow: 0 0 20px rgba(212, 175, 55, 0.25);
    --gold-glow-strong: 0 0 30px rgba(212, 175, 55, 0.4);
    --text-primary: #E6EDF3;
    --text-secondary: #8B949E;
    --text-muted: #6E7681;
    --border-color: rgba(212, 175, 55, 0.15);
    --border-subtle: rgba(255, 255, 255, 0.06);
    --sidebar-width: 240px;
    --topbar-height: 64px;
    --mobile-nav-height: 68px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

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

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

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

/* ---------- Lucide Icon Font ---------- */
.nav-icon i,
.stat-icon i,
.bonus-icon i,
.payment-icon i {
    font-size: 1.2em;
    line-height: 1;
}

.stat-icon i {
    font-size: 1.6rem;
}

.bonus-icon i {
    font-size: 2rem;
    color: var(--gold-primary);
}

.payment-icon i {
    font-size: 1.6rem;
    color: var(--gold-primary);
}

/* ---------- Utility ---------- */
.gold-text {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gold-link {
    color: var(--gold-primary);
    font-weight: 600;
    transition: color var(--transition);
}

.gold-link:hover {
    color: var(--gold-light);
}

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 22px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition);
    white-space: nowrap;
}

.btn-gold {
    background: var(--gold-gradient);
    color: #0D1117;
    box-shadow: var(--gold-glow);
}

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

.btn-outline {
    border: 1.5px solid var(--text-secondary);
    color: var(--text-primary);
    background: transparent;
}

.btn-outline:hover {
    border-color: var(--gold-primary);
    color: var(--gold-primary);
}

.btn-dark {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
}

.btn-dark:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-color);
}

.btn-lg {
    padding: 14px 36px;
    font-size: 1.05rem;
    border-radius: var(--radius-md);
}

.btn-sm {
    padding: 7px 16px;
    font-size: 0.8rem;
}

/* ===================================================
   SIDEBAR
   =================================================== */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: var(--sidebar-width);
    height: 100vh;
    background: var(--bg-secondary);
    border-right: 1px solid var(--border-subtle);
    display: flex;
    flex-direction: column;
    z-index: 1000;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--bg-card) transparent;
}

.sidebar-logo {
    padding: 20px 24px;
    border-bottom: 1px solid var(--border-subtle);
}

.sidebar-logo img {
    width: 140px;
    height: auto;
}

.sidebar-nav {
    flex: 1;
    padding: 12px 0;
}

.sidebar-nav ul li a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all var(--transition);
    border-left: 3px solid transparent;
}

.sidebar-nav ul li a:hover {
    color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.06);
    border-left-color: var(--gold-primary);
}

.sidebar-nav ul li a .nav-icon {
    font-size: 1.15rem;
    width: 24px;
    text-align: center;
}

.sidebar-bottom {
    padding: 12px 0;
    border-top: 1px solid var(--border-subtle);
}

.sidebar-vip {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    font-size: 0.9rem;
    font-weight: 700;
    background: rgba(212, 175, 55, 0.12);
    color: var(--gold-primary);
    border-left: 3px solid var(--gold-primary);
    margin: 0 0 4px;
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 24px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color var(--transition);
}

.sidebar-link:hover {
    color: var(--gold-primary);
}

.sidebar-lang {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.sidebar-lang img {
    border-radius: 2px;
}

/* ===================================================
   MAIN CONTENT
   =================================================== */
.main-content {
    margin-left: var(--sidebar-width);
    min-height: 100vh;
    padding-bottom: 20px;
}

/* ===================================================
   TOP BAR
   =================================================== */
.topbar {
    position: sticky;
    top: 0;
    z-index: 900;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    padding: 0 24px;
    height: var(--topbar-height);
    background: rgba(13, 17, 23, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-subtle);
}

.topbar-logo-mobile {
    display: none;
}

.hamburger {
    display: none;
}

.topbar-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-search {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--text-secondary);
    transition: all var(--transition);
}

.btn-search:hover {
    color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.08);
}

/* ===================================================
   TROPHY BAR
   =================================================== */
.trophy-bar {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 24px;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border-subtle);
    overflow-x: auto;
    scrollbar-width: none;
}

.trophy-bar::-webkit-scrollbar {
    display: none;
}

.trophy-title {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 1px;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    white-space: nowrap;
}

.trophy-pools {
    display: flex;
    gap: 20px;
    flex: 1;
}

.trophy-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    white-space: nowrap;
}

.trophy-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.trophy-amount {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* ===================================================
   HERO
   =================================================== */
.hero {
    position: relative;
    min-height: 380px;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-bottom: 0;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

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

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(13, 17, 23, 0.88) 0%, rgba(13, 17, 23, 0.5) 50%, rgba(13, 17, 23, 0.3) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 48px 40px;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 2rem;
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 10px;
    color: var(--text-primary);
}

.hero-subtitle {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.hero-bonus {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 4px;
}

.hero-spins {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-weight: 500;
}

/* ===================================================
   LOGIN PROMPT
   =================================================== */
.login-prompt {
    text-align: center;
    padding: 16px;
    font-size: 0.9rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-subtle);
}

/* ===================================================
   TRUST STATS
   =================================================== */
.trust-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding: 24px;
}

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 20px;
    text-align: center;
    transition: all var(--transition);
}

.stat-card:hover {
    border-color: var(--border-color);
    box-shadow: var(--gold-glow);
    transform: translateY(-2px);
}

.stat-icon {
    font-size: 1.6rem;
    margin-bottom: 8px;
}

.stat-value {
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.78rem;
    color: var(--text-secondary);
}

/* ===================================================
   GAME CATEGORIES
   =================================================== */
.game-categories {
    padding: 16px 24px 0;
}

.categories-scroll {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 12px;
    scrollbar-width: none;
}

.categories-scroll::-webkit-scrollbar {
    display: none;
}

.cat-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 18px;
    border-radius: var(--radius-md);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    font-size: 0.78rem;
    font-weight: 600;
    white-space: nowrap;
    transition: all var(--transition);
    min-width: 80px;
}

.cat-btn:hover,
.cat-btn.active {
    background: rgba(212, 175, 55, 0.1);
    border-color: var(--gold-primary);
    color: var(--gold-primary);
    box-shadow: var(--gold-glow);
}

.cat-btn img {
    width: 32px;
    height: 32px;
    border-radius: 6px;
}

/* ===================================================
   SEARCH ROW
   =================================================== */
.game-search-row {
    display: flex;
    gap: 12px;
    padding: 12px 24px 16px;
}

.search-input-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    transition: border-color var(--transition);
}

.search-input-wrap:focus-within {
    border-color: var(--gold-primary);
}

.search-input-wrap input {
    flex: 1;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 0.9rem;
    font-family: var(--font);
    outline: none;
}

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

.btn-providers {
    padding: 10px 24px;
    font-size: 0.9rem;
    font-weight: 700;
}

/* ===================================================
   GAMES GRID
   =================================================== */
.games-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding: 0 24px 32px;
}

.game-card {
    position: relative;
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    transition: all var(--transition);
    aspect-ratio: 1 / 1;
}

.game-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--gold-glow-strong);
    border-color: var(--gold-primary);
}

.game-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.game-card:hover img {
    transform: scale(1.08);
}

.game-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.game-badge.jackpot {
    background: #e74c3c;
    color: #fff;
}

.game-badge.new {
    background: #2ecc71;
    color: #fff;
}

.game-badge.hot {
    background: #f39c12;
    color: #0D1117;
}

.game-badge.exclusive {
    background: var(--gold-gradient);
    color: #0D1117;
}

/* ===================================================
   TOURNAMENTS / BANNERS
   =================================================== */
.tournaments-section {
    padding: 32px 24px;
}

.tournaments-section h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.banners-scroll {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding-bottom: 8px;
    scrollbar-width: none;
}

.banners-scroll::-webkit-scrollbar {
    display: none;
}

.banner-card {
    flex-shrink: 0;
    width: 360px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    transition: all var(--transition);
    position: relative;
}

.banner-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--gold-glow);
    border-color: var(--border-color);
}

.banner-card img {
    width: 100%;
    height: auto;
    display: block;
}

.banner-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 18px 16px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.5) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.banner-tag {
    display: inline-block;
    width: fit-content;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    background: var(--gold-gradient);
    color: #0D1117;
    margin-bottom: 4px;
}

.banner-overlay h3 {
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
}

.banner-overlay p {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
}

/* ===================================================
   BONUSES
   =================================================== */
.bonuses-section {
    padding: 48px 24px;
}

.bonuses-section h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 8px;
}

.section-intro {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 28px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.bonuses-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.bonus-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 28px;
    transition: all var(--transition);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.bonus-card:hover {
    border-color: var(--border-color);
    box-shadow: var(--gold-glow);
    transform: translateY(-2px);
}

.bonus-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.bonus-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.bonus-value {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.bonus-card p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.65;
    margin-bottom: 12px;
}

.bonus-terms {
    font-size: 0.75rem !important;
    color: var(--text-muted) !important;
    border-top: 1px solid var(--border-subtle);
    padding-top: 12px;
    margin-bottom: 0 !important;
}

/* ===================================================
   CONTENT SECTIONS (About, Payments, Security, etc.)
   =================================================== */
.content-section {
    padding: 48px 24px;
    border-top: 1px solid var(--border-subtle);
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}

.content-section h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.content-section h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-top: 28px;
    margin-bottom: 12px;
    color: var(--gold-primary);
}

.content-section p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.75;
    margin-bottom: 16px;
    max-width: 880px;
    margin-left: auto;
    margin-right: auto;
}

/* ---------- Payments Grid ---------- */
.payments-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 24px 0;
}

.payment-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 20px;
    transition: all var(--transition);
}

.payment-item:hover {
    border-color: var(--border-color);
    box-shadow: var(--gold-glow);
}

.payment-icon {
    font-size: 1.8rem;
    flex-shrink: 0;
    margin-top: 2px;
}

.payment-item strong {
    display: block;
    font-size: 0.95rem;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.payment-item p {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0;
}

/* ---------- VIP Section Accent ---------- */
.vip-section {
    background: linear-gradient(180deg, rgba(212, 175, 55, 0.04) 0%, transparent 100%);
    border-left: 3px solid var(--gold-primary);
}

/* ===================================================
   FAQ
   =================================================== */
.faq-section {
    padding: 48px 24px;
    border-top: 1px solid var(--border-subtle);
    max-width: 960px;
    margin-left: auto;
    margin-right: auto;
}

.faq-section h2 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 24px;
}

.faq-grid {
    display: grid;
    gap: 12px;
    max-width: 880px;
    margin-left: auto;
    margin-right: auto;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition);
}

.faq-item:hover {
    border-color: var(--border-color);
}

.faq-item[open] {
    border-color: var(--gold-primary);
    box-shadow: var(--gold-glow);
}

.faq-item summary {
    padding: 16px 20px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: color var(--transition);
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary::after {
    content: '+';
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--gold-primary);
    transition: transform var(--transition);
}

.faq-item[open] summary::after {
    content: '−';
}

.faq-item summary:hover {
    color: var(--gold-primary);
}

.faq-item p {
    padding: 0 20px 16px;
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===================================================
   FOOTER
   =================================================== */
.site-footer {
    padding: 48px 24px 32px;
    border-top: 1px solid var(--border-subtle);
    background: var(--bg-secondary);
}

.footer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 28px;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-logo img {
    width: 130px;
    height: auto;
}

.footer-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-links a {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
    transition: color var(--transition);
}

.footer-links a:hover {
    color: var(--gold-primary);
}

.footer-disclaimer {
    border-top: 1px solid var(--border-subtle);
    padding-top: 24px;
}

.footer-disclaimer p {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 10px;
}

.footer-disclaimer a {
    color: var(--gold-primary);
    transition: color var(--transition);
}

.footer-disclaimer a:hover {
    color: var(--gold-light);
}

/* ===================================================
   MOBILE BOTTOM NAV
   =================================================== */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: var(--mobile-nav-height);
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-subtle);
    z-index: 1100;
    align-items: center;
    justify-content: space-around;
    padding: 0 8px;
    padding-bottom: env(safe-area-inset-bottom, 0);
}

.mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    color: var(--text-muted);
    font-size: 0.65rem;
    font-weight: 600;
    transition: color var(--transition);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
}

.mobile-nav-item:hover,
.mobile-nav-item.active {
    color: var(--gold-primary);
}

.mobile-nav-item.signup-fab {
    background: var(--gold-gradient);
    color: #0D1117;
    border-radius: 50%;
    width: 52px;
    height: 52px;
    margin-top: -20px;
    box-shadow: var(--gold-glow-strong);
    padding: 0;
    justify-content: center;
}

.mobile-nav-item.signup-fab span {
    display: none;
}

/* ===================================================
   SIDEBAR OVERLAY (Mobile)
   =================================================== */
.sidebar-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 999;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.sidebar-overlay.active {
    display: block;
}

/* ===================================================
   HAMBURGER
   =================================================== */
.hamburger {
    width: 36px;
    height: 36px;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: all var(--transition);
}

.hamburger.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ===================================================
   RESPONSIVE — TABLET (768px)
   =================================================== */
@media (max-width: 1024px) {
    .sidebar {
        transform: translateX(-100%);
        transition: transform var(--transition);
    }

    .sidebar.open {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
    }

    .hamburger {
        display: flex !important;
    }

    .topbar-logo-mobile {
        display: block;
    }

    .topbar {
        justify-content: space-between;
    }

    .trust-stats {
        grid-template-columns: repeat(3, 1fr);
    }

    .games-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .payments-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bonuses-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --topbar-height: 56px;
    }

    .mobile-bottom-nav {
        display: flex;
    }

    .main-content {
        padding-bottom: calc(var(--mobile-nav-height) + 16px);
    }

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

    .stat-card {
        padding: 16px;
    }

    .stat-value {
        font-size: 1.05rem;
    }

    .games-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 0 16px 24px;
    }

    .game-categories {
        padding: 12px 16px 0;
    }

    .game-search-row {
        padding: 10px 16px 12px;
    }

    .hero {
        min-height: 300px;
    }

    .hero-content {
        padding: 32px 24px;
    }

    .hero-content h1 {
        font-size: 1.5rem;
    }

    .hero-bonus {
        font-size: 1.25rem;
    }

    .tournaments-section {
        padding: 24px 16px;
    }

    .banner-card {
        width: 280px;
    }

    .bonuses-section {
        padding: 32px 16px;
    }

    .bonuses-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .bonus-card {
        padding: 22px;
    }

    .content-section {
        padding: 32px 16px;
    }

    .payments-grid {
        grid-template-columns: 1fr;
    }

    .faq-section {
        padding: 32px 16px;
    }

    .site-footer {
        padding: 32px 16px 24px;
    }

    .footer-top {
        flex-direction: column;
        align-items: flex-start;
    }

    .trophy-pools {
        gap: 12px;
    }

    .trophy-item {
        font-size: 0.75rem;
    }

    .trophy-amount {
        font-size: 0.78rem;
    }

    .topbar .btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .trust-stats {
        grid-template-columns: 1fr 1fr;
    }

    .hero-content h1 {
        font-size: 1.3rem;
    }

    .hero-bonus {
        font-size: 1.1rem;
    }

    .hero {
        min-height: 260px;
    }

    .trophy-pools {
        display: none;
    }

    .trophy-bar {
        justify-content: space-between;
    }
}

/* ===================================================
   ANIMATIONS
   =================================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.game-card,
.bonus-card,
.stat-card,
.faq-item {
    animation: fadeInUp 0.5s ease both;
}

/* Stagger animations for grids */
.games-grid .game-card:nth-child(1) {
    animation-delay: 0.02s;
}

.games-grid .game-card:nth-child(2) {
    animation-delay: 0.04s;
}

.games-grid .game-card:nth-child(3) {
    animation-delay: 0.06s;
}

.games-grid .game-card:nth-child(4) {
    animation-delay: 0.08s;
}

.games-grid .game-card:nth-child(5) {
    animation-delay: 0.10s;
}

.games-grid .game-card:nth-child(6) {
    animation-delay: 0.12s;
}

.games-grid .game-card:nth-child(7) {
    animation-delay: 0.14s;
}

.games-grid .game-card:nth-child(8) {
    animation-delay: 0.16s;
}

/* Shimmer effect for gold elements */
@keyframes shimmer {
    0% {
        background-position: -200% center;
    }

    100% {
        background-position: 200% center;
    }
}

.btn-gold {
    background-size: 200% auto;
    background-image: linear-gradient(135deg, #D4AF37 0%, #F5D76E 25%, #D4AF37 50%, #F5D76E 75%, #D4AF37 100%);
}

.btn-gold:hover {
    animation: shimmer 2s linear infinite;
}

/* Smooth scrollbar for WebKit */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--bg-card-hover);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-primary);
}