/* --- RESET & VARIABLES --- */
        :root {
    --bg-main: #100e19; /* Main background */
    --bg-header: #282245; /* Header & footer */
    --bg-card: #1a1633; /* Cards / sections */
    --bg-element: #17112a; /* Elements */
    --border-color: rgba(245,243,255,0.12);

    --text-primary: #f5f3ff;
    --text-secondary: rgba(245,243,255,0.72);

    --accent: #f3c94b; /* Warm gold accent */
    --accent-hover: #e0b53a;
    --cta: #2b224f; /* Register button */
    --cta-hover: #342a63;

    --gold-gradient: linear-gradient(90deg, #f3c94b, #b8860b);
    --font-main: 'Inter', sans-serif;
    --sidebar-width: 270px;

    --radius-lg: 1rem;
    --radius-md: 0.75rem;
}

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        body {
            font-family: var(--font-main);
            background-color: var(--bg-main);
            color: var(--text-primary);
            line-height: 1.6;
        }

        a { text-decoration: none; color: inherit; transition: color 0.2s; }
        ul { list-style: none; }
        img { max-width: 100%; display: block; }
        button { font-family: inherit; }

        /* --- LAYOUT STRUCTURE --- */
        .site-layout {
            display: flex;
            flex-direction: column;
            min-height: 100vh;
        }

        /* --- MOBILE HEADER & SIDEBAR TOGGLE (No JS) --- */
        .topbar-mobile {
            background-color: var(--bg-header);
            padding: 1rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: 1px solid var(--border-color);
            position: sticky;
            top: 0;
            z-index: 100;
        }

        .brand-block {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 1.25rem;
            font-weight: 900;
            letter-spacing: 0.1em;
            color: #fff;
        }
        .brand-block i { color: var(--accent); }

        /* Checkbox Hack for Mobile Menu */
        #nav-toggle { display: none; }
        .menu-toggle {
            cursor: pointer;
            font-size: 1.5rem;
            color: rgba(245,243,255,0.92);
        }

        /* --- SIDEBAR --- */
        .side-panel {
            background-color: var(--bg-header);
            width: var(--sidebar-width);
            border-right: 1px solid var(--border-color);
            position: fixed;
            top: 0;
            bottom: 0;
            left: 0;
            z-index: 90;
            transform: translateX(-100%); /* Hidden by default on mobile */
            transition: transform 0.3s ease-in-out;
            display: flex;
            flex-direction: column;
            padding-top: 60px; /* Space for mobile header overlay */
        }

        /* When checkbox is checked, slide sidebar in */
        #nav-toggle:checked ~ .site-layout .side-panel {
            transform: translateX(0);
        }

        /* Desktop Sidebar Styles */
        .side-panel__header { display: none; padding: 1.5rem; border-bottom: 1px solid var(--border-color); }
        
        .side-panel__menu {
            flex: 1;
            overflow-y: auto;
            padding: 1.5rem 1rem;
        }

        .side-panel__link {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            padding: 0.75rem 1rem;
            margin-bottom: 0.5rem;
            border-radius: 0.5rem;
            color: var(--text-secondary);
            font-weight: 500;
            transition: background 0.2s, color 0.2s;
        }

        .side-panel__link:hover {
            background-color: var(--bg-element);
            color: #fff;
        }

        .side-panel__link.is-active {
            background-color: var(--bg-element);
            color: var(--accent);
            box-shadow: 0 0 10px rgba(234, 179, 8, 0.1);
        }

        .badge-hot {
            margin-left: auto;
            background-color: #ef4444;
            color: white;
            font-size: 0.7rem;
            padding: 0.1rem 0.5rem;
            border-radius: 99px;
            font-weight: 700;
        }

        .side-panel__footer {
            padding: 1rem;
            border-top: 1px solid var(--border-color);
        }

        .action-btn {
            display: block;
            width: 100%;
            padding: 0.75rem;
            border: none;
            border-radius: 0.5rem;
            font-weight: 700;
            cursor: pointer;
            margin-bottom: 0.5rem;
            transition: transform 0.1s, opacity 0.2s;
        }
        .action-btn:active { transform: scale(0.98); }

        .action-btn--register {
            background-color: var(--cta);
            color: #fff;
            box-shadow: 0 10px 25px rgba(43, 34, 79, 0.35);
        }
        .action-btn--register:hover { background-color: var(--cta-hover); }

        .action-btn--ghost {
            background-color: transparent;
            border: 1px solid var(--border-color);
            color: #fff;
        }
        .action-btn--ghost:hover { background-color: var(--bg-element); }

        /* --- MAIN CONTENT --- */
        .page-main {
            flex: 1;
            width: 100%;
        }

        .page-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 1.5rem;
        }
        .topbar-mobile {
            background-color: var(--bg-header);
            padding: 1rem;
            display: flex;
            align-items: center; /* Changed from space-between to allow custom grouping */
            border-bottom: 1px solid var(--border-color);
            position: sticky;
            top: 0;
            z-index: 100;
        }

        .brand-block {
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-size: 1.25rem;
            font-weight: 900;
            letter-spacing: 0.1em;
            color: #fff;
        }
        .brand-block i { color: var(--accent); }
        
        /* Mobile Header Buttons */
        .mobile-actions {
            display: flex;
            gap: 0.5rem;
            margin-left: auto; /* Pushes buttons to the right */
            margin-right: 1rem; /* Space before hamburger icon */
        }
        
        .mobile-btn {
            width: auto;
            margin-bottom: 0;
            padding: 0.4rem 0.8rem;
            font-size: 0.75rem;
            font-weight: 700;
            white-space: nowrap;
        }

        /* Checkbox Hack for Mobile Menu */
        #nav-toggle { display: none; }
        .menu-toggle {
            cursor: pointer;
            font-size: 1.5rem;
            color: rgba(245,243,255,0.92);
        }

        /* Hero Section */
        .promo-hero {
            padding: 2rem 1.5rem;
            border-bottom: 1px solid var(--border-color);
            background: linear-gradient(180deg, rgba(40,34,69,0.35), rgba(16,14,25,1));
        }

  .promo-banner {
    /* Dark overlay (0.6 opacity) on top of the image */
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../fun bet.webp');
    
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    /* Keep the rest of the layout styles... */
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    height: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
        
        .promo-label {
            background: rgba(234, 179, 8, 0.1);
            color: var(--accent);
            border: 1px solid rgba(234, 179, 8, 0.3);
            padding: 0.25rem 0.75rem;
            border-radius: 2rem;
            font-size: 0.8rem;
            font-weight: 700;
            margin-bottom: 1rem;
            text-transform: uppercase;
        }

        .promo-title {
            font-size: 2.5rem;
            line-height: 1.1;
            margin-bottom: 0.5rem;
            font-weight: 900;
        }
        .text-gradient {
            background: var(--gold-gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

          .promo-button {
            margin-top: 1.5rem;
            width: auto;
            padding: 1rem 2.5rem;
            font-size: 1.1rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            display: inline-block;
        }

        .info-text {
            max-width: 800px;
            margin: 0 auto;
            color: var(--text-secondary);
            font-size: 1rem;
            line-height: 1.8;
        }

        /* Games Grid */
        .section-head {
            display: flex;
            justify-content: space-between;
            align-items: flex-end;
            margin-bottom: 2rem;
        }
        .section-heading { font-size: 1.5rem; color: #fff; display: flex; align-items: center; gap: 0.5rem; }
        .section-heading i { color: var(--accent); }
        .section-more { color: var(--accent); font-weight: 600; font-size: 0.9rem; }

        .game-images {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 1rem;
        }

        .game-tile {
            background-color: var(--bg-element);
            border: 1px solid var(--border-color);
            border-radius: var(--radius-md);
            overflow: hidden;
            transition: transform 0.2s, border-color 0.2s;
            position: relative;
        }
        .game-tile:hover {
            transform: translateY(-5px);
            border-color: var(--accent);
            box-shadow: 0 10px 20px rgba(0,0,0,0.2);
        }

        .game-media {
            aspect-ratio: 3/4;
            background-color: #334155;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
        }
        .game-media i { font-size: 3rem; color: #475569; }

        .game-hover {
            position: absolute;
            top: 0; left: 0; width: 100%; height: 100%;
            background: rgba(2, 6, 23, 0.85);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            opacity: 0;
            transition: opacity 0.2s;
        }
        .game-tile:hover .game-hover { opacity: 1; }

        .game-play {
            background: var(--accent);
            color: #000;
            border: none;
            padding: 0.5rem 1.5rem;
            border-radius: 2rem;
            font-weight: 700;
            cursor: pointer;
            margin-bottom: 0.5rem;
        }

        .game-meta { padding: 0.75rem; }
        .game-title { font-weight: 700; font-size: 0.9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
        .game-provider { font-size: 0.75rem; color: var(--text-secondary); }

        /* Tables & Content */
        .content-block {
            background-color: var(--bg-card);
            border-top: 1px solid var(--border-color);
            padding: 3rem 1.5rem;
        }

        .table-scroll {
            overflow-x: auto;
            border: 1px solid var(--border-color);
            border-radius: 0.5rem;
            margin-top: 2rem;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        }

        table {
            width: 100%;
            border-collapse: collapse;
            text-align: left;
            min-width: 600px;
        }
        
        thead { background-color: var(--bg-element); }
        th { padding: 1rem; color: #fff; font-size: 0.85rem; text-transform: uppercase; font-weight: 700; }
        th.highlight { color: var(--accent); }
        
        td { padding: 1rem; border-bottom: 1px solid var(--border-color); color: var(--text-secondary); font-size: 0.9rem; }
        tr:last-child td { border-bottom: none; }
        tr:hover td { background-color: rgba(30, 41, 59, 0.3); }
        .val-good { color: #4ade80; font-weight: 700; }
        /* --- TYPOGRAPHY FIX FOR CONTENT SECTION --- */
.content-block h2, 
.content-block h3 {
    color: #fff;
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.content-block h2 { font-size: 1.8rem; }
.content-block h3 { font-size: 1.4rem; }

.content-block p {
    margin-bottom: 1rem;
    color: var(--text-secondary);
}

.content-block ul, 
.content-block ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem; /* Indent lists */
    color: var(--text-secondary);
}

.content-block li {
    margin-bottom: 0.5rem;
    list-style-type: disc; /* Bring back bullet points */
}

.content-block strong {
    color: #fff; /* Make bold text pop */
}

        /* Payment Methods */
        .payments-section { padding: 3rem 1.5rem; text-align: center; border-top: 1px solid var(--border-color); }
        .payments-icons {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 1rem;
            margin-top: 2rem;
            opacity: 0.8;
        }
        .payment-item {
            background: var(--bg-element);
            border: 1px solid var(--border-color);
            padding: 0.5rem 1.5rem;
            border-radius: 0.25rem;
            display: flex;
            align-items: center;
            gap: 0.5rem;
            font-weight: 700;
            color: #fff;
        }

        /* Reviews */
        .reviews-block {
            background-color: var(--bg-card);
            padding: 3rem 1.5rem;
            border-top: 1px solid var(--border-color);
        }
        .feedback-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 1.5rem;
            max-width: 1200px;
            margin: 2rem auto 0;
        }
        .feedback-card {
            background: var(--bg-element);
            padding: 1.5rem;
            border-radius: var(--radius-md);
            border: 1px solid var(--border-color);
            position: relative;
        }
        .rating-stars { color: var(--accent); margin-bottom: 1rem; font-size: 0.8rem; }
        .review-quote { font-style: italic; color: var(--text-secondary); margin-bottom: 1rem; font-size: 0.95rem; }
        .review-author { display: flex; align-items: center; gap: 0.75rem; }
        .author-avatar {
            width: 40px; height: 40px;
            border-radius: 50%;
            display: flex; align-items: center; justify-content: center;
            font-weight: 700; color: #000;
        }
        .avatar--gold { background: linear-gradient(135deg, #facc15, #f97316); }
        .avatar--indigo { background: linear-gradient(135deg, #60a5fa, #4f46e5); color: white; }
        .avatar--green { background: linear-gradient(135deg, #4ade80, #10b981); }

        /* FAQ */
        .faq-block { padding: 3rem 1.5rem; max-width: 800px; margin: 0 auto; }
        details {
            background: var(--bg-card);
            border: 1px solid var(--border-color);
            border-radius: 0.5rem;
            margin-bottom: 1rem;
            overflow: hidden;
        }
        summary {
            padding: 1rem;
            font-weight: 600;
            cursor: pointer;
            display: flex;
            justify-content: space-between;
            align-items: center;
            list-style: none;
        }
        summary::after {
            content: '\f078';
            font-family: "Font Awesome 6 Free";
            font-weight: 900;
            color: var(--accent);
            transition: transform 0.2s;
        }
        details[open] summary::after { transform: rotate(180deg); }
        .faq-body {
            padding: 1rem;
            border-top: 1px solid var(--border-color);
            background: rgba(0,0,0,0.2);
            color: var(--text-secondary);
        }

        /* Footer */
        .page-footer {
            background-color: var(--bg-header);
            padding: 4rem 1.5rem;
            border-top: 1px solid var(--border-color);
            font-size: 0.9rem;
        }
        .footer-layout {
            display: grid;
            grid-template-columns: 1fr;
            gap: 2rem;
            max-width: 1200px;
            margin: 0 auto;
        }
        .footer-column h4 { color: #fff; margin-bottom: 1.25rem; }
        .footer-column ul li { margin-bottom: 0.75rem; }
        .footer-column a:hover { color: var(--accent); }
        .footer-copy {
            text-align: center;
            margin-top: 3rem;
            padding-top: 2rem;
            border-top: 1px solid #1e293b;
            font-size: 0.8rem;
            color: #64748b;
        }
         .promo-button {
                width: auto;
                display: inline-block;
            }
            

        /* --- DESKTOP BREAKPOINT --- */
        @media (min-width: 768px) {
            .site-layout { flex-direction: row; }
            .topbar-mobile { display: none; }
            
            .side-panel {
                position: sticky;
                transform: translateX(0);
                height: 100vh;
                padding-top: 0;
            }
            .side-panel__header { display: flex; align-items: center; gap: 0.5rem; }
            
            .game-images { grid-template-columns: repeat(3, 1fr); }
            .feedback-grid { grid-template-columns: repeat(3, 1fr); }
            .footer-layout { grid-template-columns: repeat(4, 1fr); }
            
            .promo-title { font-size: 3.5rem; }
        }

        @media (min-width: 1024px) {
            .game-images { grid-template-columns: repeat(5, 1fr); gap: 1.5rem; }
        }
    /* --- UPDATED MOBILE HEADER STYLES --- */

/* Align the Right side elements (Buttons + Hamburger) */
.topbar-actions {
    display: flex;
    align-items: center;
    gap: 0.75rem; /* Space between buttons and icon */
}

/* Specific styling for Header Buttons to override default .action-btn */
.action-btn--compact {
    display: inline-block;     /* Prevent taking full width */
    width: auto;               /* Fit text content */
    margin-bottom: 0;          /* Remove bottom margin defined in .action-btn */
    padding: 0.45rem 0.9rem;
    font-size: 0.78rem;        /* Smaller text */
    text-transform: uppercase; /* Make it look crisp like the screenshot */
    letter-spacing: 0.5px;
    white-space: nowrap;       /* Prevent text wrapping */
}

/* Adjust the hamburger icon to align perfectly with buttons */
.menu-toggle {
    display: flex;
    align-items: center;
    margin-left: 0.25rem;      /* Little extra space from buttons */
}

/* Optional: Hide these buttons on very small phones (like Galaxy Fold) to prevent breaking */
@media (max-width: 340px) {
    .action-btn--compact {
        padding: 0.3rem 0.5rem;
        font-size: 0.7rem;
    }
}


/* --- FUNBET MOBILE ADAPTATIONS --- */
@media (max-width: 767px) {
    .game-images {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
    }
    .game-media {
        aspect-ratio: 1 / 1; /* Square thumbnails on phones */
    }
    .game-meta {
        padding: 0.55rem 0.6rem;
    }
    .game-title {
        font-size: 0.85rem;
    }
    .game-provider {
        font-size: 0.7rem;
    }
}

/* Make game thumbnails truly responsive */
.game-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Table: scroll on small screens */
.table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
}
.table-scroll table {
    min-width: 680px;
}
.table-scroll::after {
    content: "";
    position: sticky;
    right: 0;
    top: 0;
    display: block;
    height: 100%;
    width: 24px;
    pointer-events: none;
    background: linear-gradient(270deg, rgba(16,14,25,1), rgba(16,14,25,0));
}

/* Header / footer polish */
.topbar-mobile,
.side-panel,
.page-footer {
    background-color: var(--bg-header);
}

/* Update note + trust badges (removed inline styles from HTML) */
.update-note {
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid rgba(245,243,255,0.08);
}
.trust-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin: 2rem 0;
    flex-wrap: wrap;
}
.trust-badges img {
    height: 34px;
    width: auto;
    opacity: 0.85;
    transition: opacity 0.2s ease;
}
.trust-badges a:hover img {
    opacity: 1;
}

.update-note p {
    margin: 0;
    font-size: 0.92rem;
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.update-note .update-icon {
    color: var(--accent);
}
.update-note .update-date {
    font-weight: 800;
    color: var(--text-primary);
}

/* Quote icon in review cards */
.feedback-card {
    position: relative;
}
.feedback-card .quote-icon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: rgba(245,243,255,0.18);
    font-size: 1.5rem;
}
/* --- PULSE ANIMATION KEYFRAMES --- */
@keyframes bonus-pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(243, 201, 75, 0.7); /* Gold glow start */
    }
    50% {
        transform: scale(1.05); /* Grow 5% larger */
        box-shadow: 0 0 20px 10px rgba(243, 201, 75, 0); /* Fade out glow */
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(243, 201, 75, 0);
    }
}

/* --- UPDATE EXISTING PROMO BUTTON --- */
.promo-button {
    /* Keep your existing styles */
    margin-top: 1.5rem;
    width: auto;
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;

    /* Add the animation here */
    animation: bonus-pulse 2s infinite ease-in-out;
}