/* =========================================
   SHUFFLE KASINO — DESIGN SYSTEM
   ========================================= */

:root {
    /* Core Palette */
    --bg-body:       #0f1923;
    --bg-sidebar:    #1a2535;
    --bg-header:     #1a2535;
    --bg-card:       #1e2d3f;
    --bg-card-hover: #253549;
    --bg-pill:       #1e2d3f;
    --bg-pill-active:#2d3f55;
    --bg-input:      #141f2b;

    /* Brand Purple */
    --purple:        #7c3aed;
    --purple-hover:  #6d28d9;
    --purple-soft:   rgba(124, 58, 237, 0.15);

    /* Accent */
    --green:         #22c55e;
    --orange:        #f97316;
    --yellow:        #eab308;
    --red:           #ef4444;
    --teal:          #06b6d4;

    /* Text */
    --text-primary:  #e2e8f0;
    --text-muted:    #7a9bb5;
    --text-dim:      #4a6580;

    /* Border */
    --border:        rgba(255, 255, 255, 0.06);
    --border-active: rgba(124, 58, 237, 0.4);

    /* Sidebar */
    --sidebar-width: 200px;

    /* Transitions */
    --transition:    0.2s ease;

    /* Shadows */
    --shadow-card:   0 4px 24px rgba(0,0,0,0.3);
    --shadow-btn:    0 4px 14px rgba(124, 58, 237, 0.4);
}

/* =========================================
   RESET & BASE
   ========================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
    background: var(--bg-body);
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    overflow-x: hidden;
    padding-bottom: 0;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { background: none; border: none; cursor: pointer; font-family: inherit; }
img { display: block; max-width: 100%; }

/* =========================================
   ACCESSIBILITY — Screen-reader only helper
   Visually hidden but fully readable by
   search engines and assistive technology.
   ========================================= */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px !important;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* =========================================
   LAYOUT WRAPPER (Sidebar + Main)
   ========================================= */
.layout-wrapper {
    display: flex;
    min-height: 100vh;
    overflow: hidden;
}

/* =========================================
   SIDEBAR
   ========================================= */
.sidebar {
    width: var(--sidebar-width);
    min-height: 100vh;
    background: var(--bg-sidebar);
    border-right: 1px solid var(--border);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 200;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    padding-bottom: 2rem;
}

/* Scrollbar */
.sidebar::-webkit-scrollbar { width: 4px; }
.sidebar::-webkit-scrollbar-track { background: transparent; }
.sidebar::-webkit-scrollbar-thumb { background: var(--bg-card); border-radius: 2px; }

.sidebar-logo {
    padding: 1.1rem 1rem 0.75rem;
    border-bottom: 1px solid var(--border);
}

.logo-link { display: block; }
.logo-img { height: 28px; width: auto; }

/* Sidebar Search */
.sidebar-search {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin: 0.75rem 0.75rem 0.5rem;
    padding: 0.55rem 0.85rem;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text-muted);
    font-size: 0.85rem;
    cursor: pointer;
    transition: border-color var(--transition);
}

.sidebar-search:hover { border-color: var(--border-active); }
.sidebar-search i { font-size: 0.8rem; }

/* SHFL Token */
.sidebar-token {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    margin: 0.25rem 0.75rem 0.5rem;
    padding: 0.5rem 0.75rem;
}

.token-icon {
    width: 30px; height: 30px;
    background: linear-gradient(135deg, #f59e0b, #b45309);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.8rem;
    flex-shrink: 0;
}

.token-info { display: flex; flex-direction: column; gap: 1px; }
.token-name { font-size: 0.72rem; color: var(--text-primary); font-weight: 600; white-space: nowrap; }
.token-price { font-size: 0.7rem; color: var(--text-muted); }
.token-up { color: var(--green); font-weight: 600; }

/* Sidebar Action Buttons */
.sidebar-actions {
    display: flex;
    gap: 0.4rem;
    padding: 0 0.75rem 0.5rem;
}

.sidebar-btn {
    flex: 1;
    padding: 0.45rem 0.6rem;
    border-radius: 8px;
    font-size: 0.78rem;
    font-weight: 600;
    text-align: center;
    transition: all var(--transition);
}

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

.sidebar-btn--outline:hover {
    border-color: var(--purple);
    background: var(--purple-soft);
    color: #fff;
}

/* Sidebar Nav */
.sidebar-nav {
    display: flex;
    flex-direction: column;
    padding: 0.5rem 0;
    border-top: 1px solid var(--border);
    margin-top: 0.25rem;
}

.sidebar-nav-item {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.6rem 1rem;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    border-left: 3px solid transparent;
    transition: all var(--transition);
    position: relative;
    white-space: nowrap;
}

.sidebar-nav-item i:first-child {
    font-size: 0.9rem;
    width: 18px;
    text-align: center;
    flex-shrink: 0;
}

.sidebar-nav-item span { flex: 1; overflow: hidden; text-overflow: ellipsis; }

.sidebar-nav-item:hover {
    background: var(--purple-soft);
    color: var(--text-primary);
    border-left-color: var(--purple);
}

.sidebar-nav-item.active {
    background: var(--purple-soft);
    color: var(--text-primary);
    border-left-color: var(--purple);
    font-weight: 600;
}

/* Badge */
.badge {
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.1rem 0.4rem;
    border-radius: 20px;
    line-height: 1.4;
    flex-shrink: 0;
}

.badge--purple { background: var(--purple); color: #fff; }
.badge--gray   { background: var(--bg-card); color: var(--text-muted); border: 1px solid var(--border); }

/* Arrow in nav item */
.sidebar-nav-item .arrow { font-size: 0.7rem; margin-left: auto; }

/* =========================================
   MAIN CONTENT
   ========================================= */
.main-content {
    /* Takes up exactly viewport width minus sidebar */
    width: calc(100vw - var(--sidebar-width));
    max-width: calc(100vw - var(--sidebar-width));
    min-width: 0;
    margin-left: var(--sidebar-width);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}

/* =========================================
   TOP HEADER
   ========================================= */
.top-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--bg-header);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0 1.25rem;
    height: 60px;
    backdrop-filter: blur(12px);
}

.mobile-logo-link { display: none; }
.mobile-logo-img  { height: 26px; width: auto; }

/* Casino / Sport Tabs */
.header-tabs { display: flex; gap: 0.35rem; align-items: center; }

.header-tab {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.45rem 1rem;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: all var(--transition);
}

.header-tab:hover { background: var(--bg-card); color: var(--text-primary); }

.header-tab.active {
    background: var(--purple);
    color: #fff;
    box-shadow: var(--shadow-btn);
}

.header-spacer { flex: 1; }

/* Auth Buttons */
.header-auth { display: flex; gap: 0.5rem; }

.auth-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.1rem;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 600;
    transition: all var(--transition);
    white-space: nowrap;
}

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

.auth-btn--login:hover {
    background: var(--bg-card-hover);
    border-color: rgba(255,255,255,0.15);
}

.auth-btn--register {
    background: var(--purple);
    color: #fff;
    box-shadow: var(--shadow-btn);
}

.auth-btn--register:hover {
    background: var(--purple-hover);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.5);
}

/* =========================================
   PAGE BODY
   ========================================= */
.page-body {
    padding: 1.25rem 1.25rem 3rem;
    width: 100%;
}

/* =========================================
   BANNERS
   ========================================= */
.banners-section { margin-bottom: 1.25rem; }

.banners-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
}

.banner-card {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    transition: transform var(--transition), box-shadow var(--transition);
    background: var(--bg-card);
    flex-shrink: 0;
}

.banner-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}

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

/* =========================================
   CATEGORY PILLS
   ========================================= */
.category-section { margin-bottom: 1.5rem; }

.category-pills {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    overflow-x: auto;
    padding-bottom: 0.25rem;
    scrollbar-width: none;
}

.category-pills::-webkit-scrollbar { display: none; }

.pill {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.5rem 1rem;
    border-radius: 10px;
    background: var(--bg-pill);
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    white-space: nowrap;
    transition: all var(--transition);
    border: 1px solid var(--border);
    flex-shrink: 0;
}

.pill:hover {
    background: var(--bg-pill-active);
    color: var(--text-primary);
    border-color: rgba(255,255,255,0.1);
}

.pill.active {
    background: var(--bg-pill-active);
    color: var(--text-primary);
    border-color: var(--border-active);
}

.pill i { font-size: 0.82rem; }

.pill--search {
    margin-left: auto;
    background: var(--bg-input);
    flex-shrink: 0;
}

/* =========================================
   GAME SECTIONS
   ========================================= */
.games-section { margin-bottom: 2.5rem; }

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.85rem;
    gap: 0.75rem;
}

.section-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-title i { color: var(--purple); font-size: 1rem; }

.section-controls {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    flex-shrink: 0;
}

.view-all-btn {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-muted);
    padding: 0.35rem 0.75rem;
    border-radius: 8px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    transition: all var(--transition);
    white-space: nowrap;
}

.view-all-btn:hover {
    background: var(--bg-card-hover);
    color: var(--text-primary);
    border-color: rgba(255,255,255,0.12);
}

.slider-btn {
    width: 34px; height: 34px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--text-muted);
    font-size: 0.8rem;
    transition: all var(--transition);
    flex-shrink: 0;
}

.slider-btn:hover {
    background: var(--bg-card-hover);
    color: var(--text-primary);
    border-color: rgba(255,255,255,0.15);
}

/* Slider */
.games-slider-wrapper {
    overflow: hidden;
    position: relative;
}

.games-slider {
    display: flex;
    gap: 0.65rem;
    transition: transform 0.4s ease;
    will-change: transform;
}

/* Mobile: native scroll-snap sliders */
@media (max-width: 1024px) {
    .games-slider-wrapper {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        scroll-snap-type: x mandatory;
    }
    .games-slider-wrapper::-webkit-scrollbar { display: none; }
    .games-slider {
        transform: none !important;
        transition: none;
    }
    .game-card {
        scroll-snap-align: start;
    }
}

/* =========================================
   GAME CARDS (Shuffle Originals)
   ========================================= */
.game-card {
    flex-shrink: 0;
    width: 150px;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition);
    text-decoration: none;
}

.game-card:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--shadow-card);
}

/* Color themes */
.game-card--green   { background: linear-gradient(160deg, #166534, #22c55e); }
.game-card--red     { background: linear-gradient(160deg, #7f1d1d, #ef4444); }
.game-card--pink    { background: linear-gradient(160deg, #9d174d, #ec4899); }
.game-card--orange  { background: linear-gradient(160deg, #92400e, #f59e0b); }
.game-card--teal    { background: linear-gradient(160deg, #164e63, #06b6d4); }
.game-card--darkgreen { background: linear-gradient(160deg, #14532d, #16a34a); }
.game-card--blue    { background: linear-gradient(160deg, #1e3a5f, #3b82f6); }
.game-card--purple  { background: linear-gradient(160deg, #4c1d95, #8b5cf6); }

/* Card badge */
.game-card-badge {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.6rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: rgba(255,255,255,0.85);
    background: rgba(0,0,0,0.25);
    padding: 2px 8px;
    border-radius: 4px;
    white-space: nowrap;
}

/* Card Art */
.game-card-art {
    flex: 1;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 0.5rem 0;
    position: relative;
}

/* Art for each game */
.dice-art { font-size: 3.5rem; filter: drop-shadow(0 4px 12px rgba(0,0,0,0.4)); }
.mines-art { font-size: 3.5rem; filter: drop-shadow(0 4px 12px rgba(0,0,0,0.4)); }
.plinko-art { text-align: center; }
.plinko-ball { display: block; font-size: 2.5rem; color: #fff; }
.plinko-num  { display: block; font-size: 1.4rem; font-weight: 800; color: rgba(255,255,255,0.9); }
.limbo-art   { text-align: center; }
.limbo-mult  { display: block; font-size: 1.3rem; font-weight: 900; color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,0.5); }
.limbo-sub   { display: block; font-size: 0.9rem; font-weight: 700; color: rgba(255,255,255,0.7); }
.limbo-badge { display: inline-block; background: rgba(0,0,0,0.3); padding: 2px 8px; border-radius: 6px; font-size: 0.8rem; font-weight: 700; color: #fff; margin-top: 4px; }
.keno-art    { display: flex; gap: 0.5rem; }
.keno-num    { width: 44px; height: 44px; border-radius: 50%; background: rgba(0,0,0,0.3); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; font-weight: 800; color: #fff; }
.card-art    { display: flex; gap: 0.4rem; }
.playing-card { background: #fff; color: #1e2d3f; padding: 0.3rem 0.5rem; border-radius: 6px; font-size: 1rem; font-weight: 800; box-shadow: 0 4px 12px rgba(0,0,0,0.4); }
.roulette-art { font-size: 3.5rem; }

/* Card title */
.game-card-title {
    width: 100%;
    padding: 0.5rem 0.75rem 0.75rem;
    font-size: 0.9rem;
    font-weight: 800;
    color: #fff;
    text-align: center;
    letter-spacing: 0.05em;
    text-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

/* =========================================
   GAME CARDS (Image Type - Slots/Live)
   ========================================= */
.game-card--img {
    width: 150px;
    height: 200px;
    background: var(--bg-card);
    padding: 0;
    justify-content: flex-start;
}

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

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

.game-card-provider {
    position: absolute;
    top: 8px;
    left: 8px;
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    background: rgba(0,0,0,0.6);
    color: rgba(255,255,255,0.9);
    padding: 2px 7px;
    border-radius: 4px;
    backdrop-filter: blur(4px);
    z-index: 2;
}

.game-card-hover {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition);
    z-index: 3;
    border-radius: 12px;
}

.game-card--img:hover .game-card-hover { opacity: 1; }

.game-card-hover span {
    background: var(--purple);
    color: #fff;
    padding: 0.5rem 1.25rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    box-shadow: var(--shadow-btn);
    transition: transform var(--transition);
}

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

/* =========================================
   INFO / BONUS CARDS
   ========================================= */
.info-section { margin-bottom: 2.5rem; }

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.info-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.5rem 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    transition: border-color var(--transition), box-shadow var(--transition);
}

.info-card:hover {
    border-color: var(--border-active);
    box-shadow: 0 0 0 1px rgba(124,58,237,0.15), var(--shadow-card);
}

.info-card-icon {
    width: 44px; height: 44px;
    background: var(--purple-soft);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    color: var(--purple);
}

.info-card h3 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.info-card-amount {
    font-size: 2rem;
    font-weight: 900;
    color: var(--purple);
    line-height: 1;
}

.info-card p {
    font-size: 0.86rem;
    color: var(--text-muted);
    line-height: 1.55;
}

.info-card-list {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.info-card-list li {
    font-size: 0.82rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-card-list li i { color: var(--green); font-size: 0.75rem; flex-shrink: 0; }

.cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.65rem 1.25rem;
    border-radius: 10px;
    font-size: 0.88rem;
    font-weight: 700;
    background: var(--purple);
    color: #fff;
    transition: all var(--transition);
    box-shadow: var(--shadow-btn);
    margin-top: 0.25rem;
    text-align: center;
    border: 2px solid transparent;
}

.cta-btn:hover {
    background: var(--purple-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(124,58,237,0.5);
}

.cta-btn--outline {
    background: transparent;
    border-color: var(--purple);
    color: var(--purple);
    box-shadow: none;
}

.cta-btn--outline:hover {
    background: var(--purple-soft);
    transform: translateY(-2px);
    box-shadow: var(--shadow-btn);
    color: #fff;
}

/* =========================================
   SEO CONTENT SECTION
   ========================================= */
.seo-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 1.75rem 1.5rem;
    margin-bottom: 2.5rem;
}

.seo-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
}

.seo-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.seo-block h3 {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.65rem;
    display: flex;
    align-items: center;
    gap: 0.45rem;
}

.seo-block h3 i { color: var(--purple); font-size: 0.85rem; }

.seo-block ul { display: flex; flex-direction: column; gap: 0.25rem; }

.seo-block li {
    font-size: 0.82rem;
    color: var(--text-muted);
    padding: 0.15rem 0;
}

/* =========================================
   FAQ SECTION
   ========================================= */
.faq-section {
    margin-bottom: 2.5rem;
}

.faq-section .section-title {
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.faq-list { display: flex; flex-direction: column; gap: 0.5rem; }

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

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

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: left;
    transition: background var(--transition);
}

.faq-question:hover { background: var(--bg-card-hover); }

.faq-icon {
    font-size: 0.8rem;
    color: var(--text-muted);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-icon { transform: rotate(180deg); color: var(--purple); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    font-size: 0.86rem;
    color: var(--text-muted);
    line-height: 1.65;
    padding: 0 1.25rem;
}

.faq-item.active .faq-answer { max-height: 300px; padding: 0 1.25rem 1rem; }

/* =========================================
   RESPONSIBLE GAMING
   ========================================= */
.responsible-section {
    margin-bottom: 2.5rem;
}

.responsible-inner {
    background: linear-gradient(135deg, rgba(124,58,237,0.12), rgba(124,58,237,0.04));
    border: 1px solid rgba(124,58,237,0.25);
    border-radius: 14px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    flex-wrap: wrap;
}

.responsible-icon {
    font-size: 2rem;
    color: var(--purple);
    flex-shrink: 0;
}

.responsible-text { flex: 1; min-width: 200px; }
.responsible-text h3 { font-size: 1rem; font-weight: 700; margin-bottom: 0.35rem; }
.responsible-text p  { font-size: 0.84rem; color: var(--text-muted); line-height: 1.5; }

.responsible-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    flex-shrink: 0;
}

.responsible-features span {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    background: var(--bg-card);
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    border: 1px solid var(--border);
}

.responsible-features span i { color: var(--purple); }

/* =========================================
   SHUFFLE CASINO KEYWORD SECTION
   ========================================= */
.shuffle-casino-section {
    margin-bottom: 2.5rem;
}

.sc-section-inner {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2rem 1.75rem;
}

/* Header */
.sc-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.75rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border);
}

.sc-header-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--purple), #a855f7);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 4px 16px rgba(124, 58, 237, 0.4);
}

.sc-main-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--text-primary);
    line-height: 1.3;
    margin-bottom: 0.3rem;
}

.sc-subtitle {
    font-size: 0.84rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Content Grid */
.sc-content-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    margin-bottom: 1.75rem;
}

.sc-article {
    background: var(--bg-body);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.25rem;
    transition: border-color var(--transition);
}

.sc-article:hover {
    border-color: var(--border-active);
}

.sc-article h3 {
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sc-article h3 i {
    color: var(--purple);
    font-size: 0.9rem;
}

.sc-article p {
    font-size: 0.84rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 0.75rem;
}

.sc-article p:last-child { margin-bottom: 0; }

/* Feature list */
.sc-list {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    list-style: none;
}

.sc-list li {
    font-size: 0.83rem;
    color: var(--text-muted);
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    line-height: 1.5;
}

.sc-list li i {
    color: var(--purple);
    font-size: 0.72rem;
    margin-top: 0.25rem;
    flex-shrink: 0;
}

.sc-list li strong {
    color: var(--text-primary);
}

/* Trust row */
.sc-trust-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1.25rem;
    background: linear-gradient(135deg, rgba(124,58,237,0.08), rgba(124,58,237,0.02));
    border: 1px solid rgba(124,58,237,0.18);
    border-radius: 12px;
}

.sc-trust-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.4rem;
}

.sc-trust-item i {
    font-size: 1.3rem;
    color: var(--purple);
    margin-bottom: 0.2rem;
}

.sc-trust-item strong {
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--text-primary);
}

.sc-trust-item span {
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.45;
}

/* CTA row */
.sc-cta-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
    border-top: 1px solid var(--border);
    padding-top: 2rem;
    margin-top: 0.5rem;
}

.footer-top {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.footer-col h4 {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.footer-col ul { display: flex; flex-direction: column; gap: 0.45rem; }

.footer-col a {
    font-size: 0.84rem;
    color: var(--text-muted);
    transition: color var(--transition);
}

.footer-col a:hover { color: var(--text-primary); }

.footer-bottom {
    border-top: 1px solid var(--border);
    padding: 1.25rem 0 0.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--text-dim);
}

.footer-social {
    display: flex;
    gap: 0.75rem;
}

.footer-social a {
    width: 32px; height: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 0.8rem;
    color: var(--text-muted);
    transition: all var(--transition);
}

.footer-social a:hover {
    background: var(--purple-soft);
    border-color: var(--purple);
    color: var(--purple);
}

/* =========================================
   MOBILE BOTTOM NAV
   ========================================= */
.mobile-bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 500;
    background: var(--bg-sidebar);
    border-top: 1px solid var(--border);
    height: 60px;
    align-items: stretch;
}

.bottom-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    color: var(--text-dim);
    font-size: 0.65rem;
    font-weight: 600;
    padding: 0.3rem 0;
    transition: color var(--transition);
}

.bottom-nav-item i { font-size: 1.1rem; }

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

.bottom-nav-item.active i { color: var(--purple); }

/* =========================================
   MOBILE DRAWER
   ========================================= */
.mobile-drawer {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100%;
    background: var(--bg-sidebar);
    z-index: 600;
    flex-direction: column;
    padding: 0;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.mobile-drawer.open { transform: translateX(0); }

.mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.15rem 1.25rem;
    border-bottom: 1px solid var(--border);
}

.drawer-logo { height: 26px; }

.drawer-close {
    width: 34px; height: 34px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: all var(--transition);
}

.drawer-close:hover { background: var(--bg-card-hover); color: var(--text-primary); }

.drawer-token {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    font-size: 0.82rem;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border);
}

.drawer-token i { color: var(--yellow); }

.drawer-nav {
    display: flex;
    flex-direction: column;
    padding: 0.5rem 0;
    flex: 1;
}

.drawer-nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: all var(--transition);
    border-left: 3px solid transparent;
}

.drawer-nav-item i { width: 18px; text-align: center; color: var(--purple); font-size: 0.9rem; }

.drawer-nav-item:hover {
    background: var(--purple-soft);
    color: var(--text-primary);
    border-left-color: var(--purple);
}

.drawer-auth {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    padding: 1rem 1.25rem 1.5rem;
    border-top: 1px solid var(--border);
}

.drawer-auth .auth-btn { justify-content: center; padding: 0.65rem; }

/* Overlay */
.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.6);
    z-index: 550;
    backdrop-filter: blur(2px);
}

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

/* =========================================
   RESPONSIVE — TABLET (max 1024px)
   ========================================= */
@media (max-width: 1024px) {
    :root { --sidebar-width: 0px; }

    .sidebar { display: none; }

    .main-content { margin-left: 0; width: 100vw; max-width: 100vw; }

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

    .desktop-only { display: none !important; }

    /* Banner becomes horizontal swipe carousel */
    .banners-grid {
        display: flex;
        flex-direction: row;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        gap: 0.75rem;
        padding-bottom: 4px;
    }
    .banners-grid::-webkit-scrollbar { display: none; }
    .banner-card {
        flex: 0 0 85vw;
        max-width: 360px;
        scroll-snap-align: start;
    }
    .banner-card--hide-mobile { display: block; } /* Show all 3 in carousel */
    .banner-card img { height: 180px; }

    .info-grid { grid-template-columns: repeat(2, 1fr); }
    .info-grid .info-card:last-child { grid-column: 1 / -1; max-width: 50%; margin: 0 auto; width: 100%; }

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

    .sc-content-grid { grid-template-columns: 1fr; }
    .sc-trust-row { grid-template-columns: repeat(2, 1fr); }

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

    .mobile-drawer { display: flex; }

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

    .page-body { padding-bottom: 80px; }
}

/* =========================================
   RESPONSIVE — MOBILE (max 640px)
   ========================================= */
@media (max-width: 640px) {
    .page-body { padding: 0.85rem 0.85rem 80px; }

    .banner-card { flex: 0 0 90vw; max-width: 340px; }
    .banner-card img { height: 160px; }

    .category-pills { gap: 0.3rem; }
    .pill { padding: 0.4rem 0.75rem; font-size: 0.8rem; }
    .pill--search { display: none; }

    .game-card { width: 130px; height: 175px; }
    .game-card--img { width: 130px; height: 175px; }

    /* Hide prev/next buttons on mobile — use touch scroll instead */
    .slider-btn { display: none; }
    .view-all-btn { margin-left: auto; }

    .info-grid { grid-template-columns: 1fr; }
    .info-grid .info-card:last-child { grid-column: auto; max-width: 100%; }

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

    .sc-section-inner { padding: 1.25rem 1rem; }
    .sc-header { flex-direction: column; align-items: flex-start; text-align: left; }
    .sc-trust-row { grid-template-columns: repeat(2, 1fr); }
    .sc-cta-row { flex-direction: column; }
    .sc-cta-row .cta-btn { width: 100%; text-align: center; }

    .footer-top { grid-template-columns: repeat(2, 1fr); gap: 1rem; }

    .footer-bottom { flex-direction: column; align-items: flex-start; gap: 0.75rem; }

    .responsible-inner { flex-direction: column; align-items: flex-start; }

    .top-header { padding: 0 0.85rem; gap: 0.5rem; }

    .auth-btn { padding: 0.45rem 0.75rem; font-size: 0.82rem; }

    .section-header { flex-wrap: nowrap; align-items: center; }
    .section-title { font-size: 0.95rem; }

    .seo-section { padding: 1.25rem 1rem; }
}

@media (max-width: 400px) {
    .banner-card { flex: 0 0 92vw; }
    .banner-card img { height: 150px; }
    .seo-grid { grid-template-columns: 1fr; }
    .sc-trust-row { grid-template-columns: 1fr; }
    .footer-top { grid-template-columns: 1fr 1fr; }
}