:root {
    --bg-main: #121112;
    --bg-sidebar: #1a1a1a;
    --bg-panel: #1c1c1c;
    --gold: #c0a16b;
    --gold-gradient: linear-gradient(90deg, #c0a16b 0%, #e8c582 100%);
    --footer-bg: linear-gradient(177deg, #2e2d2c 0%, #111010 80.13%);
    --text-muted: #6a6a6a;
    --text-white: #ffffff;
    --border: rgba(192, 161, 107, 0.3);
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Sarabun', 'Prompt', sans-serif;
}

body {
    background-color: var(--bg-main);
    color: var(--text-white);
    overflow-x: hidden;
}

/* App Layout */
.app-container {
    display: flex;
    min-height: 100vh;
}

/* Sidebar */
.sidebar {
    width: 250px;
    background-color: var(--bg-sidebar);
    padding: 15px;
    position: fixed;
    height: 100vh;
    z-index: 100;
}

.sidebar-logo {
    padding: 10px 0 20px;
    text-align: center;
}

.brand-logo {
    width: 160px;
}

.sidebar-panels {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.panel {
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}

.nav-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    gap: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.nav-item:last-child {
    border-bottom: none;
}

.nav-item i {
    width: 18px;
    height: 18px;
    color: var(--gold);
}

.nav-item .chevron {
    margin-left: auto;
    width: 14px;
    height: 14px;
}

.nav-item.active {
    background: rgba(192, 161, 107, 0.1);
    color: var(--gold);
}

.panel-header {
    display: flex;
    align-items: center;
    padding: 10px 15px;
    gap: 12px;
    font-size: 14px;
    cursor: pointer;
    justify-content: space-between;
}

.language-panel {
    border: 1px solid #B48F68;
    border-radius: 8px;
    margin-bottom: 12px;
    overflow: hidden;
    background: #141414;
    transition: all 0.3s ease;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.header-left img {
    width: 20px;
    border-radius: 50%;
}

.chevron {
    transition: transform 0.3s ease;
}

.language-panel.expanded .chevron {
    transform: rotate(180deg);
}

.language-container {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease-in-out;
}

.language-panel.expanded .language-container {
    grid-template-rows: 1fr;
}

.language-content {
    min-height: 0;
}

.language-divider {
    border: 0;
    border-top: 1px solid rgba(180, 143, 104, 0.3);
    margin: 0 10px;
}

.language-options {
    padding: 12px 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 15px;
    background: #2e2d2c;
    border: none;
    border-radius: 6px;
    color: #fff;
    font-size: 13px;
    cursor: pointer;
    transition: background 0.2s;
    width: 100%;
}

.lang-btn img {
    width: 18px;
    border-radius: 50%;
}

.lang-btn.active {
    background: #ffce88;
    color: #000;
    font-weight: 600;
}

/* Main Wrapper */
.main-wrapper {
    flex: 1;
    margin-left: 250px;
    background: var(--bg-main);
}

/* Header */
.top-header {
    background: #0f1012;
    padding: 24px 23px 10px 26px;
    height: 81px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #1a1a1a;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-content {
    width: 100%;
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 40px;
}

.search-container {
    position: relative;
    width: 896px;
    flex-shrink: 0;
    height: 42px;
}

.search-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    width: 14px;
}

.search-input {
    width: 100%;
    height: 100%;
    background: #2E2D2C;
    border: 1px solid #3a3a3a;
    border-radius: 21px;
    padding: 0 16px 0 40px;
    color: #fff;
    outline: none;
    font-size: 13px;
}

.top-header-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
    transform: translateY(4px);
}

.btn-register-top {
    width: 93px;
    height: 42px;
    background: #B48F68;
    color: #000;
    border: none;
    padding: 0 5px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 11px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
}

.btn-login-top {
    width: 93px;
    height: 42px;
    background: transparent;
    color: #fff;
    border: 1px solid #B48F68;
    padding: 0 5px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 11px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
}

/* Content Area */
.content-area {
    padding: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

/* Ticker */
.notice-ticker {
    background: #1a1a1c;
    border-radius: 4px;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.ticker-wrapper {
    overflow: hidden;
    flex: 1;
}

.ticker-content {
    white-space: nowrap;
    animation: ticker 25s linear infinite;
    font-size: 13px;
    color: var(--gold);
}

@keyframes ticker {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

/* Banner */
.hero-slider {
    width: 100%;
    max-width: 1100px;
    height: 434px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    margin: 0 auto 20px auto;
}

.slider-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease;
}

.slide {
    min-width: 100%;
    height: 100%;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-dots {
    position: absolute;
    bottom: 10%;
    right: 18px;
    display: flex;
    gap: 4px;
    z-index: 5;
}

.dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: #fff;
}

/* Action Bar */
.unified-action-bar {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
}

.info-section {
    flex: 2;
    background: #1a1a1c;
    border: 1px solid var(--border);
    border-radius: 12px;
    display: flex;
    justify-content: space-around;
    padding: 10px;
}

.info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.info-item .label {
    font-size: 10px;
    color: #888;
}

.info-item .value {
    font-size: 16px;
    font-weight: 700;
}

.info-divider {
    width: 1px;
    background: #333;
    height: 80%;
    align-self: center;
}

.button-section {
    flex: 1;
    display: flex;
    gap: 10px;
}

.btn-cta-gold {
    flex: 1;
    background: var(--gold-gradient);
    border: none;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
}

.btn-cta-outline {
    flex: 1;
    background: transparent;
    border: 1px solid var(--gold);
    color: #fff;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
}

/* Categories */
.category-panel {
    display: flex;
    gap: 12px;
    margin-bottom: 30px;
    justify-content: center;
}

.cat-item {
    flex: 1;
    background: #1c1c1e;
    border: 1px solid #2d2d2d;
    border-radius: 12px;
    padding: 12px 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: var(--transition);
    max-width: 140px;
}

.cat-icon-box {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cat-item img {
    width: 100%;
    height: auto;
    filter: grayscale(1);
    opacity: 0.6;
}

.cat-label {
    font-size: 13px;
    font-weight: 500;
    color: #888;
}

.cat-item.active {
    border-color: var(--gold);
    background: #1c1c1e;
}

.cat-item.active img {
    filter: none;
    opacity: 1;
}

.cat-item.active .cat-label {
    color: var(--gold);
}

/* Provider Grid */
.paginatedList-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding: 10px 0;
}

@media (min-width: 640px) {
    .paginatedList-container {
        grid-template-columns: repeat(4, 1fr);
        gap: 12px;
    }
}

@media (min-width: 768px) {
    .paginatedList-container {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (min-width: 1024px) {
    .paginatedList-container {
        grid-template-columns: repeat(6, 1fr);
    }
}

.game-container {
    width: 100%;
}

.game-style {
    position: relative;
}

.game-listing-container {
    width: 100%;
}

@media (max-width: 1024px) {
    .game-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .game-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
}

.provider-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 12px;
    padding: 10px 0 30px;
}

.provider-card {
    background: #1c1c1e;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    transition: var(--transition);
    aspect-ratio: 124 / 155;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.provider-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Game View */
.game-view {
    padding: 10px 0 30px;
}

.game-view-header {
    margin-bottom: 20px;
}

.btn-back {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #1c1c1e;
    border: 1px solid var(--border);
    color: var(--text-white);
    padding: 8px 15px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    transition: var(--transition);
}

.btn-back:hover {
    background: #252525;
}

/* --- Portrait Game Card (Step 191 Fidelity) --- */
.game-card-perspective-container {
    width: 100%;
    aspect-ratio: 400 / 535;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #1a1a1a;
    transition: transform 0.2s ease-out;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.game-card-perspective-container:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
    z-index: 10;
}

.game-item-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.game-item-image {
    width: 100%;
    height: 80%;
    object-fit: cover;
    display: block;
    background: #111;
}

.info-btn {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 16px;
    height: 16px;
    background: #fff;
    color: #000;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: 900;
    z-index: 5;
    opacity: 0.8;
}

.game-footer-block {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    padding: 4px 6px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 20%;
    min-height: 48px;
}

.game-title {
    color: #222;
    font-weight: 800;
    font-size: 0.68rem;
    line-height: 1.1;
    margin-bottom: 1px;
    font-family: 'Inter', sans-serif;
    word-break: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-transform: uppercase;
}

.provider-mini-logo-container {
    height: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.provider-mini-logo {
    height: 100%;
    object-fit: contain;
    filter: brightness(0.8);
}

/* Grid adjustments (Exact 6 columns) */
.paginatedList-container {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
    padding: 8px;
}

@media (max-width: 1200px) {
    .paginatedList-container {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (max-width: 992px) {
    .paginatedList-container {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 768px) {
    .paginatedList-container {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
    }
}

@media (max-width: 480px) {
    .paginatedList-container {
        grid-template-columns: repeat(3, 1fr);
    }

    .game-footer-block {
        min-height: 42px;
        padding: 3px;
    }

    .game-title {
        font-size: 0.6rem;
    }
}

/* Badges (NEW/PROMO) */
.game-badge {
    position: absolute;
    top: 0;
    left: 0;
    padding: 3px 10px;
    font-size: 10px;
    font-weight: 900;
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.9);
    color: #111;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 900;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    transition: all 0.2s ease;
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.game-item-container:hover .info-btn {
    transform: rotate(15deg) scale(1.1);
    background: #fff;
}

.provider-logo-row {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 20px;
}

.provider-logo-row img {
    height: 14px;
    max-width: 85%;
    object-fit: contain;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.8)) brightness(1.2);
}

.game-view-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    margin-bottom: 20px;
}

.header-actions {
    color: #fff;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.1);
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header-actions:hover {
    background: rgba(255, 255, 255, 0.2);
}

.provider-card:hover {
    transform: translateY(-5px);
}

/* Footer */
.site-footer {
    background: var(--footer-bg);
    padding: 60px 0;
    margin-top: 40px;
}

.footer-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

.footer-description {
    font-size: 12px;
    line-height: 1.8;
    color: #888;
    max-width: 700px;
    margin: 0 auto 40px;
}

.footer-divider {
    border: 0;
    border-top: 1px solid #1f1f1f;
    margin: 40px 0;
}

.license-title {
    color: var(--gold);
    font-size: 14px;
    margin-bottom: 30px;
}

.license-flex {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
}

.curacao-logo {
    height: 60px;
}

.guarantee-text {
    display: block;
    font-size: 11px;
    color: #555;
    margin-bottom: 10px;
}

.partner-logos {
    display: flex;
    gap: 20px;
}

.partner-logos img {
    height: 25px;
    opacity: 0.6;
}

.footer-accordion {
    margin: 40px 0;
    text-align: left;
    border: 1px solid #1f1f1f;
    border-radius: 6px;
    overflow: hidden;
}

.accordion-header {
    background: linear-gradient(93deg, #252525 0.35%, #181818 100%);
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--gold);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

.accordion-content {
    background: rgba(0, 0, 0, 0.2);
    padding: 25px 20px;
    font-size: 11px;
    line-height: 2;
    color: #666;
    display: none;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
    margin: 30px 0;
}

.footer-links a {
    color: #444;
    font-size: 12px;
    text-decoration: none;
}

.copyright {
    color: #333;
    font-size: 11px;
    margin-top: 40px;
}

/* Animations & Spacing Fixes */
.nav-item:hover {
    color: var(--gold);
}

/* =========================================================
   SECONDARY PAGES (Promotion, VIP, Affiliate, Contact, Login)
   ========================================================= */
.secondary-page {
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.page-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
}

.btn-back-secondary {
    background: #333;
    border: none;
    color: #fff;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* PROMOTION PAGE (Hone-fidelity Refactor) */
.mission-mainContainer {
    display: flex;
    justify-content: center;
    padding: 0;
}

.mission-style {
    width: 468px;
    /* EXACT WIDTH FROM DEVTOOLS */
    margin: 0 auto;
}

.mission-backNav-container {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.page-title-badge {
    background: #2b2b2b;
    color: #8c8c8c;
    padding: 8px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
}

.mission-listing-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 33px 0 0 0;
    /* Padding from DevTools */
}

.mission-item-container {
    background: #1c1c1c;
    border: 1px solid #2a2a2a;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.mission-item-header {
    position: relative;
    height: 180px;
    width: 100%;
}

.promo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.promo-title-box {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.85) 0%, transparent 100%);
}

.promo-title-box h3 {
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    margin: 0;
}

.mission-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #717171;
    color: #111;
    padding: 6px 18px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 700;
}

.mission-item-footer {
    padding: 12px 15px;
    display: flex;
    align-items: flex-end;
    gap: 15px;
}

.mission-desc {
    flex: 1;
    color: #d1d1d1;
    font-size: 12px;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.btn-learn-more {
    background: #ffcf87;
    color: #000;
    border: none;
    padding: 10px 18px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 13px;
    white-space: nowrap;
    cursor: pointer;
}

.btn-learn-more:hover {
    background: #e6b26d;
}

.btn-back-secondary {
    background: #2b2b2b;
    border: none;
    color: #fff;
    padding: 8px 18px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
}

/* VIP PAGE (High-fidelity Refactor) */
.vip-main-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 500px;
    margin: 0 auto;
    padding: 0 10px;
}

.vip-header-nav {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
}

.vip-banner-wrapper {
    width: 100%;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.vip-banner-main {
    width: 100%;
    display: block;
}

.vip-banner-text {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    text-align: center;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
}

.vip-categories-flex {
    display: flex;
    justify-content: center;
    gap: 30px;
    width: 100%;
    margin-bottom: 30px;
}

.vip-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: transform 0.2s;
}

.vip-item:hover {
    transform: scale(1.1);
}

.vip-icon-wrapper {
    position: relative;
    width: 65px;
    height: 65px;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.vip-icon-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-overlay svg {
    width: 30px;
    height: 30px;
    color: #fff;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.vip-label {
    color: #fff;
    font-size: 11px;
    font-weight: 500;
}

/* AFFILIATE PAGE (High-fidelity Refactor) */
.affiliate-main-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 500px;
    margin: 0 auto;
    padding: 0 10px;
}

.affiliate-header-nav {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.affiliate-subnav {
    display: flex;
    gap: 10px;
    margin-bottom: 25px;
    width: 100%;
    justify-content: center;
}

.aff-tab {
    background: #2b2b2b;
    border: none;
    color: #8c8c8c;
    padding: 8px 18px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
}

.aff-tab.active {
    background: #ffcf87;
    color: #000;
}

.aff-card-custom {
    background: #1c1c1c;
    border-radius: 15px;
    padding: 25px;
    width: 100%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    margin-bottom: 20px;
}

.aff-title-gold {
    color: #ffcf87;
    font-size: 20px;
    font-weight: 800;
    margin: 0 0 5px 0;
    text-align: center;
}

.aff-title-gold.centered {
    margin-bottom: 25px;
}

.aff-subtitle {
    color: #8c8c8c;
    font-size: 12px;
    text-align: center;
    margin: 0 0 20px 0;
}

.aff-commission-row {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.aff-visual-container {
    flex: 1.2;
}

.aff-pyramid-img {
    width: 100%;
    display: block;
}

.aff-stats-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stat-row {
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 12px;
    text-align: center;
    font-weight: 600;
}

.stat-row.dark {
    background: #2a2a2a;
    color: #fff;
    border: 1px solid #444;
}

.stat-row.gold {
    background: #c0a16b;
    color: #000;
}

.aff-footer-box {
    background: #c0a16b;
    color: #000;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    font-weight: 800;
    font-size: 14px;
    line-height: 1.3;
}

.aff-steps-container {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    padding-left: 10px;
    margin-bottom: 30px;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    position: relative;
    padding-bottom: 25px;
}

.step-item::before {
    content: "";
    position: absolute;
    left: 17px;
    top: 35px;
    bottom: -5px;
    width: 2px;
    background: #ffcf87;
    opacity: 0.3;
}

.step-item:last-child::before {
    display: none;
}

.step-icon {
    width: 35px;
    height: 35px;
    background: #1c1c1c;
    border: 2px solid #ffcf87;
    color: #ffcf87;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
    z-index: 2;
    flex-shrink: 0;
}

.step-text {
    color: #d1d1d1;
    font-size: 13px;
    line-height: 1.5;
    padding-top: 8px;
}

.aff-promo-footer {
    border-top: 1px solid #333;
    padding-top: 20px;
}

.promo-text-gold {
    color: #ffcf87;
    font-size: 14px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 10px;
}

.promo-disclaimer {
    color: #666;
    font-size: 10px;
    line-height: 1.4;
    text-align: center;
    margin: 0;
}

/* CONTACT PAGE (High-fidelity Refactor) */
.contact-main-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 400px;
    margin: 0 auto;
    padding: 0 10px;
}

.contact-header-nav {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.contact-subnav-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
}

.nav-icon-box {
    width: 60px;
    height: 60px;
    background: #2a2a2a;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    cursor: pointer;
    transition: background 0.2s;
}

.nav-icon-box img {
    width: 24px;
    height: 24px;
}

.nav-icon-box span {
    font-size: 10px;
    color: #fff;
    font-weight: 600;
}

.nav-icon-box.active {
    background: #c0a16b;
}

.contact-grid-custom {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

.contact-card-v2 {
    background: #1c1c1c;
    border-radius: 12px;
    padding: 20px 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.contact-card-title {
    color: #fff;
    font-size: 20px;
    font-weight: 800;
    margin: 0 0 15px 0;
}

.contact-bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
}

.contact-bullets li {
    color: #d1d1d1;
    font-size: 12px;
    line-height: 1.4;
    position: relative;
    padding-left: 15px;
    margin-bottom: 8px;
}

.contact-bullets li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: #fff;
}

.btn-line-green {
    width: 100%;
    background: #00b900;
    color: #fff;
    border: none;
    border-radius: 8px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 800;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-line-green:hover {
    background: #00a000;
}

.nav-icon-box [data-lucide] {
    width: 24px;
    height: 24px;
    color: #fff;
}

.btn-line-green [data-lucide] {
    width: 22px;
    height: 22px;
    color: #fff;
}

/* LOGIN PAGE */
.login-container {
    display: flex;
    justify-content: center;
    padding-top: 50px;
}

.login-form {
    width: 100%;
    max-width: 400px;
    background: #1a1a1a;
    padding: 40px;
    border-radius: 20px;
    border: 1px solid #333;
}

.login-logo {
    width: 120px;
    margin-bottom: 30px;
    display: block;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #fff;
    font-size: 14px;
}

.input-with-prefix {
    display: flex;
    background: #000;
    border: 1px solid #333;
    border-radius: 10px;
}

.prefix {
    padding: 12px 15px;
    color: #888;
    background: #111;
    border-right: 1px solid #333;
}

.input-with-prefix input,
.login-form input {
    background: transparent;
    border: none;
    color: #fff;
    padding: 12px 15px;
    width: 100%;
}

.btn-login-submit {
    width: 100%;
    padding: 15px;
    background: #f0b90b;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    margin-top: 10px;
}

.login-footer {
    text-align: center;
    margin-top: 30px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

/* MOBILE RESPONSIVE (1024px and below) */
@media (max-width: 1024px) {
    .sidebar {
        left: -250px;
        transition: left 0.3s ease;
        box-shadow: 5px 0 15px rgba(0, 0, 0, 0.5);
    }

    .sidebar.open {
        left: 0;
    }

    .main-wrapper {
        margin-left: 0;
        padding-bottom: 70px;
        /* Space for bottom nav */
    }

    .top-header {
        padding: 15px 20px;
        height: auto;
    }

    .header-content {
        gap: 15px;
    }

    .mobile-menu-btn {
        display: flex;
        background: none;
        border: none;
        color: #fff;
        cursor: pointer;
        padding: 5px;
    }

    .search-container {
        flex: 1;
        width: auto !important;
        min-width: 0;
    }

    .top-header-actions {
        display: none;
        /* Hide top buttons on mobile, moved to menu/nav */
    }

    .mobile-bottom-nav {
        display: flex;
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        height: 65px;
        background: linear-gradient(180deg, #2e2d2c 0%, #111010 100%);
        border-top: 1px solid rgba(192, 161, 107, 0.2);
        z-index: 1000;
        justify-content: space-around;
        align-items: center;
        padding: 0 10px;
    }

    .mobile-bottom-nav .nav-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 5px;
        color: #888;
        text-decoration: none;
        font-size: 10px;
        border: none;
        padding: 5px 0;
        flex: 1;
    }

    .mobile-bottom-nav .nav-item i {
        width: 22px;
        height: 22px;
        color: #888;
    }

    .mobile-bottom-nav .nav-item.active {
        color: #c0a16b;
        background: none;
    }

    .mobile-bottom-nav .nav-item.active i {
        color: #c0a16b;
    }

    .mobile-overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.7);
        z-index: 99;
        display: none;
    }

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

    .footer-container {
        padding-bottom: 20px;
    }
}

/* Hide mobile-only elements on desktop */
@media (min-width: 1025px) {

    .mobile-menu-btn,
    .mobile-bottom-nav,
    .mobile-overlay {
        display: none;
    }
}