/* --- GLOBAL --- */
body {
    background-color: #0d0f12;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: #0d0f12; }
::-webkit-scrollbar-thumb { background: #2d3139; border-radius: 3px; }

/* --- LOGO --- */
.logo-container {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    gap: 1px;
    letter-spacing: -0.5px;
    font-style: italic;
}
@media(min-width: 1024px) {
    .logo-container { font-size: 1.5rem; }
}
.logo-bet { color: white; margin-right: 2px; }
.logo-on-box {
    background-color: #00ff5a;
    color: #000;
    padding: 2px 6px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    margin: 0 2px;
    font-weight: 900;
    font-style: normal;
}
.logo-red { color: white; margin-left: 2px; }
.logo-chip { 
    color: #ff2a2a; 
    margin-right: 8px; 
    font-size: 1.4rem; 
    transform: rotate(15deg);
    display: none; /* Hidden in main header based on new image, visible in footer/mobile */
}
/* Mobile menu logo specific */
.mobile-logo .logo-chip { display: block; }

/* --- SIDEBAR ICONS --- */
.sidebar-icon-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 50px;
    width: 100%;
    color: #9ca3af;
    transition: all 0.2s ease;
    position: relative;
}
.sidebar-icon-container:hover { color: #fff; background-color: #23272e; }
.sidebar-icon-container.active { color: #fff; border-left: 3px solid #ff2a2a; background-color: #1e2126; }

.sidebar-icon {
    font-size: 1.25rem;
    filter: drop-shadow(0 2px 3px rgba(0,0,0,0.3));
}

.sidebar-missions-icon {
    width: 1.5rem;
    height: 1.5rem;
    object-fit: contain;
    filter: drop-shadow(0 2px 3px rgba(0,0,0,0.3));
}
.sidebar-missions-icon-mobile {
    width: 1.75rem;
    height: 1.75rem;
}

/* Support Icon Specifics */
.support-icon-container {
    margin-top: auto; /* Push to bottom */
    color: #00ff5a; /* Green tint */
}
.support-icon-container:hover { color: #00d64b; }

/* --- BUTTONS --- */
.btn-pill {
    border-radius: 9999px;
    padding: 8px 18px;
    font-weight: 700;
    font-size: 0.85rem;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}
.btn-green {
    background-color: #00ff5a;
    color: #000000;
}
.btn-green:hover { background-color: #00d64b; box-shadow: 0 0 15px rgba(0, 255, 90, 0.3); }

.btn-grey {
    background-color: #2f333a; 
    color: white;
}
.btn-grey:hover { background-color: #3e444d; }

/* --- HERO & CONTENT --- */
.hero-banner {
    background: linear-gradient(180deg, rgba(13,15,18,0) 0%, #0d0f12 100%), 
                url('betonred-banner.webp'); 
    background-size: cover;
    background-position: center center;
    position: relative;
    overflow: hidden;
    border-radius: 0 0 20px 20px;
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile: banner as draggable/scrollable image */
.hero-banner-mobile-pan {
    display: none;
}
@media (max-width: 767px) {
    .hero-banner {
        background-image: linear-gradient(180deg, rgba(13,15,18,0) 0%, #0d0f12 100%);
    }
    .hero-banner-mobile-pan {
        display: block;
        position: absolute;
        inset: 0;
        z-index: 0;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    .hero-banner-mobile-pan::-webkit-scrollbar {
        display: none;
    }
    .hero-banner-mobile-img {
        display: block;
        height: 100%;
        width: 180%;
        min-width: 180%;
        object-fit: cover;
        object-position: 140% center;
        pointer-events: none;
        user-select: none;
    }
}

.cta-btn-hero {
    background-color: #00ff5a;
    color: #000;
    font-weight: 800;
    font-size: 1.1rem;
    padding: 14px 40px;
    border-radius: 9999px;
    text-align: center;
    display: inline-block;
}

/* --- SIDEBAR MOBILE --- */
#mobileSidebar { transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); }

.menu-btn-row {
    background-color: #22252b;
    border-radius: 12px;
    padding: 16px 16px;
    display: flex;
    align-items: center;
    gap: 14px;
    font-weight: 700;
    font-size: 0.95rem;
    color: white;
    transition: background 0.2s;
    border: 1px solid rgba(255,255,255,0.03);
}
.menu-btn-row:active { background-color: #2a2e36; }

.menu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.menu-grid-item {
    background-color: #22252b;
    border-radius: 12px;
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 0.85rem;
    color: white;
    border: 1px solid rgba(255,255,255,0.03);
}

/* --- GAME CARDS --- */
.game-card {
    aspect-ratio: 3/4;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    background: #1e2229;
    transition: transform 0.2s;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}
.game-card:hover { transform: translateY(-3px); box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.4); }
.game-card img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center center;
}

/* --- SEO SECTION STYLES (NEW) --- */
.seo-section {
    background-color: #16191f;
    border-radius: 16px;
    padding: 2rem;
    margin: 2rem auto;
    border: 1px solid rgba(255,255,255,0.05);
    max-width: 1400px;
    overflow-x: hidden;
    box-sizing: border-box;
}

/* Automatic styling via selectors */
.seo-section h1 {
    font-family: 'Roboto', sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
@media (min-width: 768px) {
    .seo-section h1 {
        font-size: 2.25rem;
    }
}

.seo-section h2 {
    font-family: 'Roboto', sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}
.seo-section h2::before {
    content: '';
    display: block;
    width: 4px;
    height: 24px;
    background-color: #00ff5a;
    border-radius: 2px;
}

.seo-section p {
    color: #9ca3af;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

/* Unordered List Styles */
.seo-section ul {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}
.seo-section ul li {
    position: relative;
    padding-left: 2rem;
    color: #d1d5db;
    font-weight: 500;
}
.seo-section ul li::before {
    content: '\f00c'; /* FontAwesome Check */
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: #00ff5a;
}

/* Ordered List Styles */
.seo-section ol {
    counter-reset: seo-counter;
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}
.seo-section ol li {
    position: relative;
    padding-left: 3rem;
    margin-bottom: 1rem;
    color: #d1d5db;
}
.seo-section ol li::before {
    counter-increment: seo-counter;
    content: counter(seo-counter);
    position: absolute;
    left: 0;
    top: 0;
    width: 28px;
    height: 28px;
    background-color: #2f333a;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.8rem;
    border: 1px solid rgba(255,255,255,0.1);
}

/* Table Styles & Wrapper */
.seo-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
    background: #121418;
    margin-bottom: 2rem;
}

.seo-section table {
    width: 100%;
    border-collapse: collapse;
    min-width: 480px;
    font-size: 0.9rem;
}

.seo-section th {
    background-color: #1f2228;
    color: #fff;
    font-weight: 700;
    text-align: left;
    padding: 16px 20px;
    border-bottom: 2px solid #2f333a;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
}

.seo-section td {
    padding: 16px 20px;
    color: #9ca3af;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.seo-section tr:last-child td {
    border-bottom: none;
}

.seo-section tr:hover td {
    background-color: rgba(255,255,255,0.02);
    color: white;
}
