/* =========================================
   1. CONTROL PANEL - UPDATED GREEN PALETTE
   ========================================= */
:root {
    --primary-color: #0a0e13;       /* Background - darker black */
    --secondary-color: #12171d;     /* Cards/Sidebar */
    --accent-color: #3dd649;        /* Bright Green (was gold) */
    --accent-glow: rgba(61, 214, 73, 0.4); /* Green glow for effects */
    --accent-dark: #2fb33d;         /* Darker green for hovers */
    --text-color: #ffffff;          
    --text-muted: #8b939c;          /* Muted gray text */
    --success-color: #3dd649;       
    --danger-color: #e74c3c;        
    --nav-height: 80px;
    --content-width: 1100px;
}

/* =========================================
   2. GLOBAL RESET & CORE
   ========================================= */
* { box-sizing: border-box; }

html, body {
    margin: 0; padding: 0;
    width: 100%;
    overflow-x: hidden;
    background-color: #0a0e13; 
}

body {
    font-family: 'Nunito', sans-serif; 
    color: #ffffff;
    display: flex; flex-direction: column; min-height: 100vh;
}

/* CRITICAL: Image responsiveness */
img { max-width: 100%; height: auto; display: block; }

/* Internal Content Links */
p a, .container a, .faq-content a {
    color: var(--accent-color);
    font-weight: bold;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: 0.3s;
}
p a:hover { border-bottom: 1px solid var(--accent-color); }

/* Hide the technical checkbox */
#menu-toggle { position: absolute; opacity: 0; width: 0; height: 0; pointer-events: none; }

/* =========================================
   3. TYPOGRAPHY (STRICT HIERARCHY)
   ========================================= */
h1 { 
    font-family: 'Inter', sans-serif; font-size: 4rem;
    font-weight: 800; text-transform: uppercase; color: white; 
    text-shadow: 0 4px 15px rgba(0,0,0,0.8); margin: 40px 0; text-align: center;
}

h2 { 
    font-family: 'Inter', sans-serif; font-size: 2.2rem; 
    border-bottom: 3px solid var(--accent-color); display: inline-block; 
    padding-bottom: 5px; color: white; margin-top: 50px;
}

h3 { font-family: 'Inter', sans-serif; font-size: 1.6rem; color: var(--accent-color); margin-top: 35px; }

/* Base paragraph styling */
p { 
    font-size: 1rem; 
    line-height: 1.7; 
    color: var(--text-color);
    margin-bottom: 15px;
}

/* Container content consistency */
.container p, 
.container li { 
    font-size: 1.05rem; 
    line-height: 1.8; 
}

/* Info box text consistency */
.info-box p,
.info-box { 
    font-size: 1rem;
    line-height: 1.7;
}

/* =========================================
   4. NAVIGATION (LOGO & DESKTOP MENU)
   ========================================= */
.top-nav {
    position: fixed; top: 0; left: 0; width: 100%; height: var(--nav-height);
    padding: 0 40px; display: flex; justify-content: space-between; align-items: center;
    z-index: 9999; background-color: var(--primary-color); border-bottom: 1px solid rgba(255,255,255,0.1);
}

.logo-link { display: flex; align-items: center; flex: 0 0 auto; }
.logo-img { 
    height: 50px;
    width: auto; 
    object-fit: contain; 
}

.menu-container { display: flex; flex: 1; justify-content: center; height: 100%; align-items: center; margin: 0 20px; }

.nav-links { display: flex; list-style: none; margin: 0; padding: 0; height: 100%; }
.nav-links li { display: flex; align-items: center; border-right: 1px solid rgba(255,255,255,0.1); }
.nav-links li:first-child { border-left: 1px solid rgba(255,255,255,0.1); }
.nav-links li a { 
    color: white; font-family: 'Inter', sans-serif; font-size: 0.85rem; font-weight: 600;
    text-transform: uppercase; padding: 0 20px; height: 100%; display: flex; align-items: center;
    text-decoration: none !important;
    transition: color 0.3s, background 0.3s;
}
.nav-links li a:hover { color: var(--accent-color); background: rgba(61, 214, 73, 0.08); }

/* Active nav link state */
.nav-links li a.active { 
    color: var(--accent-color); 
    background: rgba(61, 214, 73, 0.1);
}

.auth-buttons { display: flex; align-items: center; gap: 15px; flex: 0 0 auto; margin-left: auto; }
.nav-btn { 
    font-family: 'Inter', sans-serif; font-size: 0.85rem; padding: 10px 22px; 
    border-radius: 4px; font-weight: 700; text-transform: uppercase; text-decoration: none !important;
    transition: all 0.3s ease;
}
.login-btn { color: white; border: 1px solid rgba(255,255,255,0.3); background: transparent; }
.login-btn:hover { border-color: var(--accent-color); color: var(--accent-color); }

.register-btn { 
    color: #0a0e13; 
    background: var(--accent-color); 
    border: 1px solid var(--accent-color);
    box-shadow: 0 0 15px var(--accent-glow);
}
.register-btn:hover { 
    background: #4ef55a; 
    box-shadow: 0 0 25px var(--accent-glow);
}

.burger-menu { display: none; cursor: pointer; padding: 10px; }
.burger-icon { width: 30px; height: 3px; background: white; position: relative; }
.burger-icon::before, .burger-icon::after { content: ''; position: absolute; width: 30px; height: 3px; background: white; left: 0; transition: 0.3s; }
.burger-icon::before { top: -8px; }
.burger-icon::after { top: 8px; }

/* Header Auth Buttons - Always visible on mobile */
.header-auth-buttons { 
    display: none !important; /* Hidden on desktop */
}

/* =========================================
   5. BANNER (BALANCED BRIGHTNESS)
   ========================================= */
.banner {
    /* BALANCED gradient - middle ground between original dark and bright */
    background-image: linear-gradient(to bottom, rgba(10, 14, 19, 0.45), rgba(10, 14, 19, 0.75) 85%, #0a0e13), url('img/banner-desktop.avif');
    background-size: cover; background-position: center; height: 550px; margin-top: var(--nav-height); 
    display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; padding: 20px;
}

.bonus-pill { 
    font-family: 'Inter', sans-serif; font-size: 0.9rem; text-transform: uppercase; 
    background: var(--accent-color); color: #0a0e13; padding: 8px 20px; 
    border-radius: 30px; margin-bottom: 20px; font-weight: 700;
    box-shadow: 0 0 20px var(--accent-glow);
}

.banner-value { 
    font-family: 'Inter', sans-serif; font-size: 3.5rem; font-weight: 800; 
    text-transform: uppercase; text-shadow: 0px 5px 25px rgba(0,0,0,0.8); margin: 0 0 10px 0; color: white;
}

.banner-btn { 
    display: inline-block; 
    background-color: var(--accent-color) !important; 
    color: #0a0e13 !important;
    font-family: 'Inter', sans-serif; font-size: 1.4rem; font-weight: 800; 
    padding: 20px 60px; border-radius: 8px; text-transform: uppercase; 
    box-shadow: 0 0 30px var(--accent-glow), 0 0 60px rgba(61, 214, 73, 0.2);
    text-decoration: none !important;
    border: 2px solid var(--accent-color);
    transition: all 0.3s ease;
}
.banner-btn:hover { 
    transform: translateY(-3px); 
    background: #4ef55a !important;
    box-shadow: 0 0 40px var(--accent-glow), 0 0 80px rgba(61, 214, 73, 0.3);
}

/* =========================================
   6. SHORTCODES (LISTS, TABLES, FAQ)
   ========================================= */
.container { max-width: var(--content-width); margin: 0 auto 60px auto; padding: 20px; width: 100%; }

.content-list { list-style: none; margin: 30px 0; padding: 0; }
.content-list li { position: relative; padding-left: 40px; margin-bottom: 15px; line-height: 1.6; font-size: 1.1rem; }

.regular-ul li::before { content: '●'; position: absolute; left: 0; color: var(--accent-color); font-size: 0.8rem; top: 2px; }
.pros-list li::before { content: '+'; position: absolute; left: 0; color: var(--success-color); font-size: 2rem; font-weight: bold; top: -10px; }
.cons-list li::before { content: '-'; position: absolute; left: 0; color: var(--danger-color); font-size: 2.5rem; font-weight: bold; top: -18px; }

.content-steps { list-style: none; counter-reset: step-counter; margin: 30px 0; }
.content-steps li { position: relative; padding-left: 55px; margin-bottom: 25px; }
.content-steps li::before {
    counter-increment: step-counter; content: counter(step-counter);
    position: absolute; left: 0; top: -2px; background-color: var(--accent-color); color: var(--primary-color);
    width: 35px; height: 35px; border-radius: 50%; text-align: center; line-height: 35px; font-weight: 800;
    box-shadow: 0 0 10px var(--accent-glow);
}

.info-box { 
    background: rgba(61, 214, 73, 0.08); 
    border-left: 4px solid var(--accent-color); 
    padding: 25px; margin: 30px 0; border-radius: 0 8px 8px 0; 
}

.table-wrapper { overflow-x: auto; margin: 40px 0; border-radius: 10px; border: 1px solid rgba(61, 214, 73, 0.2); }
.data-table { width: 100%; border-collapse: collapse; background-color: var(--secondary-color); }
.data-table th, .data-table td { padding: 20px; text-align: center; border-bottom: 1px solid rgba(255,255,255,0.05); }
.data-table th { background-color: #0a0e13; color: var(--accent-color); text-transform: uppercase; font-size: 0.9rem; }
.data-table tr:nth-child(even) { background-color: rgba(255,255,255,0.02); }
.data-table tr:hover { background-color: rgba(61, 214, 73, 0.05); }

details { background: var(--secondary-color); margin-bottom: 15px; border-radius: 8px; border: 1px solid rgba(61, 214, 73, 0.15); }
summary { padding: 22px; font-family: 'Inter', sans-serif; font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; text-transform: uppercase; transition: background 0.3s; }
summary:hover { background: rgba(61, 214, 73, 0.05); }
summary::after { content: '+'; color: var(--accent-color); font-size: 1.5rem; transition: 0.3s; }
details[open] summary::after { content: '×'; transform: rotate(90deg); }
details[open] summary { background: rgba(61, 214, 73, 0.08); }
.faq-content { padding: 25px; color: var(--text-muted); line-height: 1.8; }

/* =========================================
   7. FOOTER
   ========================================= */
.site-footer { 
    background-color: var(--secondary-color); 
    padding: 50px 20px 30px; 
    text-align: center; 
    margin-top: auto;
}

.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
}

.footer-nav li {
    border-right: 1px solid rgba(255,255,255,0.2);
    padding: 0 20px;
}

.footer-nav li:last-child {
    border-right: none;
}

.footer-nav a {
    color: white;
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.footer-nav a:hover {
    color: var(--accent-color);
}

.footer-section { margin-bottom: 30px; }
.footer-heading { 
    font-family: 'Inter', sans-serif; 
    font-size: 0.9rem; 
    text-transform: uppercase; 
    color: var(--text-muted); 
    margin-bottom: 15px; 
}

.logo-grid { 
    display: flex; 
    justify-content: center; 
    gap: 25px; 
    flex-wrap: wrap;
    align-items: center;
}
.logo-grid img { 
    height: 35px; 
    width: auto;
    opacity: 0.7; 
    transition: opacity 0.3s; 
}
.logo-grid img:hover { opacity: 1; }

.site-footer p { color: var(--text-muted); font-size: 0.85rem; margin: 20px 0 10px; }
.disclaimer-text { font-size: 0.8rem; color: var(--text-muted); max-width: 800px; margin: 0 auto; }

/* =========================================
   8. CARDS / BOXES
   ========================================= */
.card {
    background: var(--secondary-color);
    border-radius: 8px;
    padding: 25px;
    border: 1px solid rgba(255,255,255,0.05);
}

.card-highlight {
    background: var(--secondary-color);
    border-radius: 8px;
    padding: 25px;
    border: 1px solid rgba(61, 214, 73, 0.2);
    box-shadow: 0 0 20px rgba(61, 214, 73, 0.05);
}

/* =========================================
   9. BADGES / TAGS
   ========================================= */
.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.badge-success {
    background: rgba(61, 214, 73, 0.15);
    color: var(--accent-color);
}

.badge-warning {
    background: rgba(255, 193, 7, 0.15);
    color: #ffc107;
}

.badge-danger {
    background: rgba(231, 76, 60, 0.15);
    color: var(--danger-color);
}

/* =========================================
   10. BUTTONS (BEYOND NAV)
   ========================================= */
.btn-primary {
    background: var(--accent-color);
    color: #0a0e13;
    border: none;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 0 15px var(--accent-glow);
}

.btn-primary:hover {
    background: #4ef55a;
    box-shadow: 0 0 25px var(--accent-glow);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-secondary:hover {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

/* =========================================
   11. TABS / FILTERS
   ========================================= */
.tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.tab {
    padding: 8px 16px;
    background: var(--secondary-color);
    color: var(--text-muted);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
}

.tab:hover {
    color: white;
    border-color: rgba(255,255,255,0.2);
}

.tab.active {
    background: var(--accent-color);
    color: #0a0e13;
    border-color: var(--accent-color);
}

/* =========================================
   12. CAROUSEL / SLIDER DOTS
   ========================================= */
.carousel-dots {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin-top: 15px;
}

.carousel-dot {
    width: 30px;
    height: 6px;
    border-radius: 3px;
    background: rgba(255,255,255,0.2);
    cursor: pointer;
    transition: all 0.3s;
}

.carousel-dot:hover {
    background: rgba(255,255,255,0.4);
}

.carousel-dot.active {
    background: var(--accent-color);
    width: 45px;
    box-shadow: 0 0 10px var(--accent-glow);
}

/* =========================================
   13. SCROLLBAR STYLING
   ========================================= */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--primary-color);
}

::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(61, 214, 73, 0.3);
}

/* =========================================
   14. SELECTION HIGHLIGHT
   ========================================= */
::selection {
    background: var(--accent-color);
    color: #0a0e13;
}

/* =========================================
   15. MOBILE (GRID HEADER + BURGER MENU)
   ========================================= */
@media (max-width: 1024px) {

    /* === HEADER: CSS GRID — guarantees logo/burger row 1, buttons row 2 === */
    .top-nav {
        display: grid !important;
        grid-template-columns: 1fr auto;
        grid-template-rows: 70px auto;
        grid-template-areas:
            "logo burger"
            "auth auth";
        padding: 0 20px !important;
        height: auto !important;
        align-items: center;
        /* override desktop flex */
        justify-content: unset;
        gap: 0;
    }

    .logo-link {
        grid-area: logo;
        display: flex;
        align-items: center;
    }

    .burger-menu {
        grid-area: burger;
        display: flex !important;
        align-items: center;
        justify-content: center;
        padding: 10px;
        cursor: pointer;
    }

    /* Auth buttons: full-width row 2, centered */
    .header-auth-buttons {
        grid-area: auth;
        display: flex !important;
        justify-content: center;
        align-items: center;
        gap: 12px;
        padding: 12px 16px 16px;
        border-top: 1px solid rgba(255,255,255,0.1);
    }

    .header-auth-buttons .nav-btn {
        font-family: 'Inter', sans-serif;
        font-size: 0.9rem;
        font-weight: 700;
        text-transform: uppercase;
        text-decoration: none !important;
        padding: 13px 0;
        width: 44%;
        text-align: center;
        border-radius: 25px;
        transition: all 0.3s ease;
    }

    .header-auth-buttons .login-btn {
        background: transparent;
        border: 2px solid var(--accent-color);
        color: white;
    }

    .header-auth-buttons .register-btn {
        background: var(--accent-color);
        border: 2px solid var(--accent-color);
        color: #0a0e13;
        box-shadow: 0 0 12px var(--accent-glow);
    }

    /* Desktop-only elements: hidden on mobile */
    .menu-container { display: none; }
    .auth-buttons { display: none !important; }

    /* === BURGER MENU DROPDOWN === */
    #menu-toggle:checked ~ .menu-container {
        display: flex !important;
        flex-direction: column;
        position: fixed;
        top: 130px;
        left: 0;
        width: 100vw;
        height: calc(100vh - 130px);
        background-color: rgba(10, 14, 19, 0.97) !important;
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        z-index: 10000;
        padding: 0;
        margin: 0;
        overflow-y: auto;
        align-items: center;
        justify-content: flex-start;
    }

    #menu-toggle:checked ~ .menu-container .auth-buttons {
        display: none !important;
    }

    #menu-toggle:checked ~ .menu-container .nav-links {
        flex-direction: column;
        width: 100%;
        height: auto;
        align-items: center;
        padding: 0;
        margin: 0;
    }

    #menu-toggle:checked ~ .menu-container .nav-links li:first-child {
        border-top: 1px solid rgba(255,255,255,0.08);
    }

    #menu-toggle:checked ~ .menu-container .nav-links li {
        border: none !important;
        width: 100%;
        border-bottom: 1px solid rgba(255,255,255,0.08) !important;
        display: flex;
        justify-content: center;
    }

    #menu-toggle:checked ~ .menu-container .nav-links li a {
        display: block;
        text-align: center;
        padding: 18px 20px;
        font-size: 1rem;
        width: 100%;
    }

    /* === FOOTER === */
    .footer-nav {
        flex-direction: column !important;
        align-items: center !important;
        gap: 15px !important;
    }

    .footer-nav li {
        border-right: none !important;
        padding: 0 !important;
    }

    /* === BANNER — offset for 2-row header (~130px) === */
    .banner {
        background-image: linear-gradient(to bottom, rgba(10, 14, 19, 0.45), rgba(10, 14, 19, 0.7) 80%, #0a0e13), url('img/banner-mobile.avif');
        height: 480px;
        margin-top: 130px;
    }

    /* === TYPOGRAPHY === */
    h1 { font-size: 2.2rem; }
    h2 { font-size: 1.6rem; }
    h3 { font-size: 1.3rem; }
    .banner-value { font-size: 2.5rem; }
    .banner-btn { padding: 18px 45px; font-size: 1.2rem; }
}

/* =========================================
   16. UTILITY CLASSES
   ========================================= */
.text-accent { color: var(--accent-color); }
.text-muted { color: var(--text-muted); }
.bg-primary { background-color: var(--primary-color); }
.bg-secondary { background-color: var(--secondary-color); }
.glow { box-shadow: 0 0 20px var(--accent-glow); }
.glow-text { text-shadow: 0 0 10px var(--accent-glow); }

/* =========================================
   17. CONTENT IMAGES
   ========================================= */
.content-img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 30px auto;
    border-radius: 8px;
}
