:root {
    --bg0: #06090f;
    /* ดำอมกรม */
    --bg1: #071424;
    /* กรมท่า */
    --panel: #0a1322cc;
    /* glass */
    --panel2: #0b1628;
    --line: #1a2b46;
    --text: #ffffff;
    --muted: #cccccc;
    --accent: #00b324;
    /* ปุ่ม */
    --accent2: #00e35e;
    /* neon */
    --warn: #ffcc00;
    --danger: #ff3b3b;

    --radius: 18px;
    --shadow: 0 18px 70px rgba(0, 0, 0, .45);
    --shadow2: 0 12px 40px rgba(0, 179, 36, .10);
    --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

* {
    box-sizing: border-box
}

/* Fix mobile overflow */
img {
    max-width: 100%;
    height: auto;
}

html {
    height: 100%;
}

body {
    min-height: 100%;
    position: relative;
}

body {
    margin: 0;
    font-family: "Kanit", system-ui, -apple-system, Segoe UI, Roboto, Arial;
    color: var(--text);
    background:
        radial-gradient(1200px 700px at 15% -10%, rgba(0, 179, 36, .16), transparent 60%),
        radial-gradient(900px 600px at 95% 0%, rgba(0, 227, 94, .10), transparent 55%),
        radial-gradient(900px 700px at 70% 100%, rgba(30, 100, 255, .08), transparent 60%),
        linear-gradient(180deg, var(--bg0), var(--bg1));
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: none;
}

/* subtle grid + scanline */
.fx-grid {
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: .22;
    mix-blend-mode: screen;
    background:
        linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px) 0 0/ 38px 38px,
        linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px) 0 0/ 38px 38px;
    mask: radial-gradient(700px 480px at 40% 20%, #000 40%, transparent 75%);
    filter: blur(.2px);
}

.fx-scan {
    position: fixed;
    inset: -20%;
    pointer-events: none;
    opacity: .12;
    background: repeating-linear-gradient(180deg, rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0) 9px, rgba(0, 0, 0, .35) 10px);
    animation: scan 7s linear infinite;
}

@keyframes scan {
    0% {
        transform: translateY(-4%)
    }

    100% {
        transform: translateY(4%)
    }
}

a {
    color: inherit;
    text-decoration: none
}

.container {
    width: min(1200px, 92vw);
    margin: 0 auto
}

/* topbar */
.topbar {
    position: fixed !important;
    top: 0 !important;
    left: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    background: linear-gradient(180deg, rgba(8, 12, 18, .92), rgba(8, 12, 18, .65));
    border-bottom: 1px solid rgba(26, 43, 70, .65);
    transform: none !important;
    will-change: auto;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    gap: 14px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: auto;
    flex-shrink: 0;
}

.brand-logo {
    height: 45px;
    width: auto;
    object-fit: contain;
}

.logo {
    width: 40px;
    height: 40px;
    border-radius: 12px;
    background:
        radial-gradient(14px 14px at 30% 30%, rgba(0, 227, 94, .9), transparent 60%),
        radial-gradient(16px 16px at 70% 70%, rgba(0, 179, 36, .9), transparent 60%),
        linear-gradient(135deg, rgba(0, 179, 36, .25), rgba(30, 100, 255, .12));
    border: 1px solid rgba(0, 179, 36, .35);
    box-shadow: 0 0 0 6px rgba(0, 179, 36, .06);
    position: relative;
    overflow: hidden;
}

.logo:after {
    content: "";
    position: absolute;
    inset: -40%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .18), transparent);
    transform: rotate(25deg);
    animation: shine 3.8s ease-in-out infinite;
}

@keyframes shine {

    0%,
    40% {
        transform: translateX(-30%) rotate(25deg)
    }

    70%,
    100% {
        transform: translateX(30%) rotate(25deg)
    }
}

.brand h1 {
    margin: 0;
    font-size: 15px;
    line-height: 1.15;
    font-weight: 700;
    letter-spacing: .2px;
}

.brand small {
    display: block;
    margin-top: 2px;
    color: var(--muted);
    font-family: var(--mono);
    font-size: 11px;
    letter-spacing: .35px;
}

.menu {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px;
    border: 1px solid rgba(26, 43, 70, .7);
    background: rgba(10, 19, 34, .55);
    border-radius: 999px;
}

.tab {
    padding: 10px 14px;
    border-radius: 999px;
    color: var(--muted);
    font-weight: 600;
    letter-spacing: .2px;
    position: relative;
    transition: .18s ease;
    user-select: none;
}

.tab:hover {
    color: var(--text);
    background: rgba(255, 255, 255, .05)
}

.tab.active {
    color: #ffffff;
    background: linear-gradient(180deg, var(--accent2), var(--accent));
    box-shadow: var(--shadow2);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: flex-end;
    min-width: 220px
}

.chip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 9px 12px;
    border-radius: 999px;
    border: 1px solid rgba(26, 43, 70, .7);
    background: rgba(10, 19, 34, .55);
    color: var(--muted);
    font-family: var(--mono);
    font-size: 11px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 99px;
    background: var(--accent);
    box-shadow: 0 0 16px rgba(0, 227, 94, .55)
}

.btn {
    appearance: none;
    border: 0;
    cursor: pointer;
    padding: 11px 14px;
    border-radius: 12px;
    font-weight: 800;
    letter-spacing: .2px;
    color: #ffffff;
    background: linear-gradient(180deg, var(--accent2), var(--accent));
    box-shadow: var(--shadow2);
    transition: .16s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-1px)
}

.btn:active {
    transform: translateY(0px) scale(.99)
}

.btn.ghost {
    color: var(--text);
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(26, 43, 70, .75);
    box-shadow: none;
    font-weight: 700;
}

/* Login/Register Button Styles */
.btn-login {
    background: transparent !important;
    border: 2px solid var(--accent) !important;
    color: var(--accent) !important;
    box-shadow: none !important;
    padding: 10px 18px;
    font-weight: 700;
}

.btn-login:hover {
    background: rgba(0, 179, 36, 0.15);
    color: var(--accent2);
    border-color: var(--accent2);
}

.btn-register {
    background: linear-gradient(180deg, var(--accent2), var(--accent));
    padding: 10px 18px;
    font-weight: 700;
}

/* Bottom Navigation Bar */
.bottom-nav {
    display: none;
    position: fixed !important;
    bottom: 0 !important;
    left: 0;
    right: 0;
    z-index: 9999;
    background: linear-gradient(180deg,
            rgba(10, 20, 35, 0.95) 0%,
            rgba(6, 12, 22, 0.98) 100%);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-top: 1px solid rgba(0, 179, 36, 0.2);
    padding: 6px 8px;
    padding-bottom: calc(8px + env(safe-area-inset-bottom, 0px));
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 -4px 30px rgba(0, 0, 0, 0.5),
        0 -2px 10px rgba(0, 179, 36, 0.1);
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    will-change: transform;
}

.bottom-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 8px 12px;
    color: rgba(180, 190, 200, 0.8);
    text-decoration: none;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: all 0.25s ease;
    position: relative;
    min-width: 55px;
    border-radius: 10px;
}

.bottom-nav-item svg {
    width: 22px;
    height: 22px;
    stroke-width: 1.8;
    transition: all 0.25s ease;
}

.bottom-nav-item span {
    white-space: nowrap;
}

.bottom-nav-item:hover {
    color: var(--text);
    background: rgba(255, 255, 255, 0.05);
}

.bottom-nav-item.active {
    color: var(--accent2);
    background: linear-gradient(180deg,
            rgba(0, 179, 36, 0.15) 0%,
            rgba(0, 179, 36, 0.05) 100%);
}

.bottom-nav-item.active svg {
    stroke: var(--accent2);
    filter: drop-shadow(0 0 6px rgba(0, 227, 94, 0.6));
}

.bottom-nav-item.active span {
    text-shadow: 0 0 10px rgba(0, 227, 94, 0.5);
}

.bottom-nav-item.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), var(--accent2));
    border-radius: 0 0 3px 3px;
    box-shadow: 0 2px 8px rgba(0, 227, 94, 0.4);
}

@media (max-width: 900px) {
    .bottom-nav {
        display: flex;
    }

    main {
        padding-bottom: 100px;
    }

    footer {
        margin-bottom: 80px;
    }
}

/* layout sections */
main {
    padding: 120px 0 80px;
}

.page {
    display: none
}

.page.active {
    display: block
}

/* hero */
.hero {
    position: relative;
    border-radius: calc(var(--radius) + 8px);
    padding: 26px;
    background:
        radial-gradient(900px 450px at 15% 20%, rgba(0, 227, 94, .14), transparent 60%),
        radial-gradient(700px 420px at 90% 0%, rgba(30, 100, 255, .10), transparent 55%),
        linear-gradient(180deg, rgba(10, 19, 34, .72), rgba(10, 19, 34, .40));
    border: 1px solid rgba(26, 43, 70, .7);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.hero:before {
    content: "";
    position: absolute;
    inset: -2px;
    background: conic-gradient(from 210deg, rgba(0, 227, 94, .12), rgba(30, 100, 255, .10), rgba(0, 179, 36, .12));
    filter: blur(18px);
    opacity: .6;
    z-index: 0;
}

.hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 18px;
    grid-template-columns: 1.2fr .8fr;
    align-items: stretch;
}

@media (max-width: 900px) {
    .hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-inner>div {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .hero-badges,
    .hero-actions {
        justify-content: center;
    }

    .hero p {
        margin-left: auto;
        margin-right: auto;
    }
}

.hero h2 {
    margin: 0 0 8px;
    font-size: 40px;
    line-height: 1.06;
    letter-spacing: .2px;
}

.hero p {
    margin: 0;
    color: var(--muted);
    font-size: 16px;
    line-height: 1.6;
    max-width: 52ch;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 14px
}

.badge {
    padding: 9px 12px;
    border-radius: 999px;
    border: 1px solid rgba(26, 43, 70, .75);
    background: rgba(255, 255, 255, .04);
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
}

.badge i {
    width: 10px;
    height: 10px;
    border-radius: 99px;
    background: rgba(0, 227, 94, .85);
    box-shadow: 0 0 18px rgba(0, 227, 94, .55);
    display: inline-block;
}

.hero-actions {
    display: flex;
    gap: 10px;
    margin-top: 16px;
    flex-wrap: wrap
}

.terminal {
    border-radius: var(--radius);
    border: 1px solid rgba(26, 43, 70, .7);
    background: linear-gradient(180deg, rgba(11, 22, 40, .65), rgba(11, 22, 40, .35));
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
    position: relative;
}

.terminal-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    border-bottom: 1px solid rgba(26, 43, 70, .7);
    background: rgba(7, 20, 36, .55);
    font-family: var(--mono);
    color: var(--muted);
    font-size: 12px;
    letter-spacing: .3px;
}

.lights {
    display: flex;
    gap: 6px
}

.lights span {
    width: 10px;
    height: 10px;
    border-radius: 99px;
    display: inline-block
}

.lights .r {
    background: rgba(255, 59, 59, .85)
}

.lights .y {
    background: rgba(255, 204, 0, .85)
}

.lights .g {
    background: rgba(0, 227, 94, .85)
}

.terminal-body {
    padding: 14px;
    font-family: var(--mono);
    font-size: 12.5px;
    color: #cfe1ff;
    line-height: 1.6;
}

.cmd {
    color: rgba(0, 227, 94, .9)
}

.muted {
    color: rgba(157, 179, 214, .85)
}

.kpi {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 14px;
}

@media (max-width: 520px) {
    .kpi {
        grid-template-columns: 1fr
    }
}

.kpi .card {
    border: 1px solid rgba(26, 43, 70, .7);
    background: rgba(255, 255, 255, .04);
    border-radius: 14px;
    padding: 12px;
}

.kpi .num {
    font-size: 20px;
    font-weight: 900
}

.kpi .lbl {
    color: var(--muted);
    font-size: 12px;
    margin-top: 3px
}

/* sections */
.section {
    margin-top: 18px
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

@media (max-width: 980px) {
    .grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media (max-width: 560px) {
    .grid {
        grid-template-columns: 1fr
    }
}

.card {
    border: 1px solid rgba(26, 43, 70, .7);
    background: linear-gradient(180deg, rgba(10, 19, 34, .62), rgba(10, 19, 34, .35));
    border-radius: var(--radius);
    padding: 16px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .22);
    position: relative;
    overflow: hidden;
    transition: .16s ease;
}

.card:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 227, 94, .35)
}

.card:after {
    content: "";
    position: absolute;
    inset: -80px -80px auto auto;
    width: 160px;
    height: 160px;
    background: radial-gradient(circle at 30% 30%, rgba(0, 227, 94, .20), transparent 55%);
    filter: blur(2px);
    opacity: .9;
    pointer-events: none;
}

.card h3 {
    margin: 0 0 8px;
    font-size: 18px
}

.card p {
    margin: 0;
    color: var(--muted);
    line-height: 1.6
}

.tagrow {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px
}

.tag {
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(26, 43, 70, .75);
    background: rgba(255, 255, 255, .04);
    color: rgba(207, 225, 255, .92);
    font-size: 12px;
    font-family: var(--mono);
}

/* Game Categories */
.games-header {
    margin-bottom: 16px;
}

.games-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
}

.games-title svg {
    color: var(--accent);
}

.game-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-items: center;
    padding: 16px;
    border-radius: var(--radius);
    border: 1px solid rgba(26, 43, 70, .7);
    background: rgba(10, 19, 34, .45);
}

.game-cat {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 999px;
    border: 1px solid rgba(26, 43, 70, .75);
    background: rgba(255, 255, 255, .04);
    color: var(--muted);
    font-weight: 600;
    transition: .18s ease;
    white-space: nowrap;
}

.game-cat:hover {
    color: var(--text);
    background: rgba(255, 255, 255, .08);
    border-color: rgba(0, 227, 94, .35);
}

.game-cat.active {
    color: #071424;
    background: linear-gradient(180deg, var(--accent2), var(--accent));
    border-color: transparent;
    box-shadow: var(--shadow2);
}

.game-cat svg {
    flex-shrink: 0;
}

.game-cat.hot {
    border-color: rgba(255, 59, 59, .5);
    box-shadow: 0 0 15px rgba(255, 59, 59, .15);
}

.new-badge {
    padding: 2px 6px;
    border-radius: 4px;
    background: var(--danger);
    color: #fff;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .5px;
}

@media (max-width: 768px) {
    .game-categories {
        gap: 8px;
    }

    .game-cat {
        padding: 8px 12px;
        font-size: 13px;
    }
}

/* Games */
.filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    padding: 12px;
    border-radius: var(--radius);
    border: 1px solid rgba(26, 43, 70, .7);
    background: rgba(10, 19, 34, .45);
}

.input {
    flex: 1;
    min-width: 220px;
    padding: 12px 12px;
    border-radius: 12px;
    border: 1px solid rgba(26, 43, 70, .8);
    background: rgba(7, 20, 36, .55);
    color: var(--text);
    outline: none;
    font-family: var(--mono);
}

.select {
    padding: 12px 12px;
    border-radius: 12px;
    border: 1px solid rgba(26, 43, 70, .8);
    background: rgba(7, 20, 36, .55);
    color: var(--text);
    outline: none;
    font-family: var(--mono);
    min-width: 180px;
}

.game-tile {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.ico {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    border: 1px solid rgba(26, 43, 70, .7);
    background:
        radial-gradient(18px 18px at 30% 30%, rgba(0, 227, 94, .65), transparent 55%),
        linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02));
    box-shadow: 0 0 0 6px rgba(0, 179, 36, .05);
    flex: 0 0 auto;
}

.game-meta {
    flex: 1
}

.game-meta b {
    display: block;
    font-size: 16px
}

.game-meta small {
    display: block;
    margin-top: 3px;
    color: var(--muted);
    font-family: var(--mono)
}

.tile-actions {
    display: flex;
    gap: 8px;
    margin-top: 12px;
    flex-wrap: wrap
}

/* promos */
.promo {
    border-radius: var(--radius);
    padding: 16px;
    border: 1px solid rgba(0, 227, 94, .30);
    background:
        radial-gradient(550px 220px at 20% 20%, rgba(0, 227, 94, .15), transparent 60%),
        linear-gradient(180deg, rgba(10, 19, 34, .62), rgba(10, 19, 34, .35));
    position: relative;
    overflow: hidden;
}

.promo h3 {
    margin: 0 0 6px
}

.promo .code {
    font-family: var(--mono);
    display: inline-flex;
    gap: 10px;
    align-items: center;
    margin-top: 10px;
    padding: 10px 12px;
    border-radius: 12px;
    border: 1px dashed rgba(0, 227, 94, .45);
    background: rgba(7, 20, 36, .55);
    color: #cfe1ff;
    width: fit-content;
}

/* contact */
.form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

@media (max-width: 860px) {
    .form {
        grid-template-columns: 1fr
    }
}

.textarea {
    grid-column: 1 / -1;
    min-height: 120px;
    resize: vertical
}

.helper {
    color: var(--muted);
    font-size: 12px;
    font-family: var(--mono);
    margin-top: 10px;
}

/* footer */
footer {
    margin-top: 22px;
    border-top: 1px solid rgba(26, 43, 70, .7);
    padding: 18px 0;
    color: var(--muted);
    font-size: 12px;
}

.foot {
    display: flex;
    justify-content: space-between;
    gap: 10px;
    flex-wrap: wrap;
    font-family: var(--mono);
}

.pill {
    padding: 6px 10px;
    border-radius: 999px;
    border: 1px solid rgba(26, 43, 70, .7);
    background: rgba(255, 255, 255, .03);
    color: rgba(207, 225, 255, .9);
}

/* mobile menu tweak */
/* Mobile Menu Overlay Styles */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    position: relative;
    z-index: 1001;
    /* Above Overlay */
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background: #fff;
    margin-bottom: 6px;
    border-radius: 2px;
    transition: 0.3s;
}

.menu-toggle span:last-child {
    margin-bottom: 0;
}

/* Active State for Hamburger */
.nav.active .menu-toggle span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.nav.active .menu-toggle span:nth-child(2) {
    opacity: 0;
}

.nav.active .menu-toggle span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -7px);
}

@media (max-width: 900px) {

    /* Hide hamburger menu - using bottom nav instead */
    .menu-toggle {
        display: none;
    }

    /* Navbar Layout update for Mobile */
    .nav {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 10px 0;
        gap: 12px;
        position: static;
    }

    /* Logo properly aligned left */
    .brand {
        display: flex;
        width: auto;
        justify-content: flex-start;
        z-index: 10;
        margin: 0;
        flex-shrink: 0;
    }

    .brand-logo {
        height: 50px !important;
        width: auto;
        transform: none !important;
        filter: drop-shadow(0 2px 8px rgba(0, 179, 36, 0.3));
        transition: all 0.3s ease;
    }

    /* Hide desktop menu - using bottom nav instead */
    .menu {
        display: none !important;
    }

    /* Show login/register buttons in header */
    .nav-actions {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: static !important;
        gap: 8px;
        min-width: auto;
        margin-left: auto;
    }

    .nav-actions .btn {
        padding: 10px 16px;
        font-size: 13px;
        border-radius: 10px;
        white-space: nowrap;
    }

    .nav-actions .btn-login {
        padding: 9px 14px;
        border-width: 2px;
        background: transparent;
    }

    .nav-actions .btn-register {
        padding: 10px 16px;
    }
}

/* Small Mobile (iPhone SE, small phones) */
@media (max-width: 400px) {
    .brand-logo {
        height: 40px !important;
    }

    .nav-actions {
        gap: 6px;
    }

    .nav-actions .btn {
        padding: 8px 12px;
        font-size: 12px;
        border-radius: 8px;
    }

    .nav-actions .btn-login {
        padding: 7px 10px;
    }

    .nav-actions .btn-register {
        padding: 8px 12px;
    }

    .bottom-nav-item {
        padding: 6px 8px;
        font-size: 10px;
        min-width: 50px;
    }

    .bottom-nav-item svg {
        width: 20px;
        height: 20px;
    }
}

/* Extra small devices (very small phones) */
@media (max-width: 340px) {
    .container {
        width: 96vw;
    }

    .brand-logo {
        height: 35px !important;
    }

    .nav-actions .btn {
        padding: 6px 10px;
        font-size: 11px;
    }

    .bottom-nav-item {
        padding: 4px 6px;
        font-size: 9px;
        min-width: 45px;
    }

    .bottom-nav-item svg {
        width: 18px;
        height: 18px;
    }
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 24px;
}

.section-title {
    margin: 0 0 8px;
    font-size: 28px;
    font-weight: 700;
    letter-spacing: .2px;
}

.section-desc {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
}

@media (max-width: 1100px) {
    .feature-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .feature-grid {
        grid-template-columns: 1fr;
    }
}

/* Feature Card */
.feature-card {
    border: 1px solid rgba(26, 43, 70, .7);
    background: linear-gradient(180deg, rgba(10, 19, 34, .72), rgba(10, 19, 34, .45));
    border-radius: var(--radius);
    padding: 18px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, .25);
    position: relative;
    overflow: hidden;
    transition: .2s ease;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 227, 94, .45);
    box-shadow: 0 16px 50px rgba(0, 0, 0, .35), 0 0 30px rgba(0, 227, 94, .08);
}

.feature-card.highlight {
    border-color: rgba(0, 227, 94, .35);
    background:
        radial-gradient(400px 200px at 20% 20%, rgba(0, 227, 94, .12), transparent 60%),
        linear-gradient(180deg, rgba(10, 19, 34, .72), rgba(10, 19, 34, .45));
}

.feature-card.vip {
    border-color: rgba(255, 204, 0, .35);
    background:
        radial-gradient(400px 200px at 80% 80%, rgba(255, 204, 0, .08), transparent 60%),
        linear-gradient(180deg, rgba(10, 19, 34, .72), rgba(10, 19, 34, .45));
}

/* Feature Icon */
.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(26, 43, 70, .7);
    position: relative;
    flex-shrink: 0;
}

.feature-icon.register {
    background: linear-gradient(135deg, rgba(0, 179, 36, .25), rgba(0, 179, 36, .08));
    color: var(--accent2);
}

.feature-icon.login {
    background: linear-gradient(135deg, rgba(30, 100, 255, .25), rgba(30, 100, 255, .08));
    color: #5cb8ff;
}

.feature-icon.deposit {
    background: linear-gradient(135deg, rgba(0, 227, 94, .3), rgba(0, 179, 36, .12));
    color: var(--accent2);
    box-shadow: 0 0 20px rgba(0, 227, 94, .15);
}

.feature-icon.withdraw {
    background: linear-gradient(135deg, rgba(0, 227, 94, .3), rgba(0, 179, 36, .12));
    color: var(--accent2);
    box-shadow: 0 0 20px rgba(0, 227, 94, .15);
}

.feature-icon.wallet {
    background: linear-gradient(135deg, rgba(100, 100, 255, .25), rgba(100, 100, 255, .08));
    color: #a5b4fc;
}

.feature-icon.games {
    background: linear-gradient(135deg, rgba(255, 100, 100, .25), rgba(255, 100, 100, .08));
    color: #fca5a5;
}

.feature-icon.promo {
    background: linear-gradient(135deg, rgba(255, 204, 0, .3), rgba(255, 204, 0, .08));
    color: var(--warn);
}

.feature-icon.referral {
    background: linear-gradient(135deg, rgba(0, 200, 200, .25), rgba(0, 200, 200, .08));
    color: #5eead4;
}

.feature-icon.vip-icon {
    background: linear-gradient(135deg, rgba(255, 204, 0, .35), rgba(255, 150, 0, .12));
    color: var(--warn);
    box-shadow: 0 0 20px rgba(255, 204, 0, .12);
}

.feature-icon.support {
    background: linear-gradient(135deg, rgba(0, 179, 36, .25), rgba(0, 179, 36, .08));
    color: var(--accent2);
}

/* Feature Content */
.feature-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.feature-content h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .2px;
}

.feature-content p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
    flex: 1;
}

.feature-btn {
    margin-top: auto;
    width: 100%;
    justify-content: center;
    padding: 10px 12px;
    font-size: 13px;
}

/* Feature Tags */
.feature-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 4px;
}

.mini-tag {
    padding: 4px 8px;
    border-radius: 6px;
    border: 1px solid rgba(26, 43, 70, .7);
    background: rgba(255, 255, 255, .04);
    color: rgba(207, 225, 255, .85);
    font-size: 10px;
    font-family: var(--mono);
}

.mini-tag.gold {
    border-color: rgba(255, 204, 0, .35);
    background: rgba(255, 204, 0, .08);
    color: rgba(255, 220, 100, .9);
}

/* History Icon */
.feature-icon.history {
    background: linear-gradient(135deg, rgba(150, 150, 200, .25), rgba(150, 150, 200, .08));
    color: #c4b5fd;
}

/* Jackpot Feature */
.feature-card.jackpot {
    border-color: rgba(255, 100, 100, .35);
    background:
        radial-gradient(400px 200px at 50% 80%, rgba(255, 100, 100, .10), transparent 60%),
        linear-gradient(180deg, rgba(10, 19, 34, .72), rgba(10, 19, 34, .45));
}

.feature-icon.jackpot-icon {
    background: linear-gradient(135deg, rgba(255, 100, 100, .35), rgba(255, 50, 50, .12));
    color: #fca5a5;
    box-shadow: 0 0 20px rgba(255, 100, 100, .15);
}

.jackpot-display {
    padding: 10px 12px;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(255, 50, 50, .15), rgba(255, 100, 100, .08));
    border: 1px solid rgba(255, 100, 100, .25);
    text-align: center;
    margin-top: 4px;
}

.jackpot-amount {
    font-family: var(--mono);
    font-size: 18px;
    font-weight: 900;
    color: #ff6b6b;
    text-shadow: 0 0 20px rgba(255, 100, 100, .4);
    animation: pulse-jackpot 2s ease-in-out infinite;
}

@keyframes pulse-jackpot {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: .75;
    }
}

/* Birthday Feature */
.feature-card.birthday {
    border-color: rgba(255, 150, 200, .35);
    background:
        radial-gradient(400px 200px at 20% 20%, rgba(255, 150, 200, .10), transparent 60%),
        linear-gradient(180deg, rgba(10, 19, 34, .72), rgba(10, 19, 34, .45));
}

.feature-icon.birthday-icon {
    background: linear-gradient(135deg, rgba(255, 150, 200, .35), rgba(255, 100, 150, .12));
    color: #f9a8d4;
    box-shadow: 0 0 20px rgba(255, 150, 200, .15);
}

.mini-tag.birthday-tag {
    border-color: rgba(255, 150, 200, .35);
    background: rgba(255, 150, 200, .08);
    color: rgba(255, 200, 225, .9);
}

/* Game Categories Section */
.games-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
}

.games-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 18px;
    font-weight: 700;
    color: var(--text);
}

.games-title svg {
    color: #ff9500;
}

.game-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    padding: 16px;
    border-radius: var(--radius);
    border: 1px solid rgba(26, 43, 70, .7);
    background: linear-gradient(180deg, rgba(10, 19, 34, .62), rgba(10, 19, 34, .35));
}

.game-cat {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 10px;
    border: 1px solid rgba(26, 43, 70, .8);
    background: rgba(7, 20, 36, .55);
    color: var(--muted);
    font-weight: 600;
    font-size: 14px;
    transition: .18s ease;
    cursor: pointer;
    position: relative;
}

.game-cat:hover {
    color: var(--text);
    border-color: rgba(0, 227, 94, .35);
    background: rgba(0, 227, 94, .08);
}

.game-cat.active {
    color: #071424;
    background: linear-gradient(180deg, var(--accent2), var(--accent));
    border-color: transparent;
    box-shadow: var(--shadow2);
}

.game-cat.active svg {
    color: #071424;
}

.game-cat.hot {
    border-color: rgba(255, 100, 100, .35);
}

.new-badge {
    position: absolute;
    top: -6px;
    right: -4px;
    padding: 2px 6px;
    border-radius: 6px;
    background: linear-gradient(135deg, #ff4d4d, #ff0000);
    color: #fff;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .3px;
    box-shadow: 0 2px 8px rgba(255, 0, 0, .35);
}

@media (max-width: 768px) {
    .game-categories {
        gap: 8px;
    }

    .game-cat {
        padding: 8px 12px;
        font-size: 13px;
    }

    .game-cat svg {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 500px) {
    .game-cat span:not(.new-badge) {
        display: none;
    }

    .game-cat {
        padding: 10px;
    }
}

/* About Section - JBO คืออะไร? */
.about-card {
    border: 1px solid rgba(26, 43, 70, .7);
    background:
        radial-gradient(800px 400px at 10% 20%, rgba(0, 227, 94, .08), transparent 60%),
        radial-gradient(600px 300px at 90% 80%, rgba(30, 100, 255, .06), transparent 55%),
        linear-gradient(180deg, rgba(10, 19, 34, .72), rgba(10, 19, 34, .45));
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
}

.about-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.about-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 227, 94, .25), rgba(0, 179, 36, .10));
    border: 1px solid rgba(0, 227, 94, .25);
    color: var(--accent2);
}

.about-title {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.about-text {
    margin: 0;
    color: var(--text);
    font-size: 15px;
    line-height: 1.7;
}

.about-text.muted-text {
    color: var(--muted);
    font-size: 14px;
}

.about-text strong {
    color: var(--accent2);
}

.about-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 8px 0;
}

.about-feature {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 14px;
    border-radius: 12px;
    border: 1px solid rgba(26, 43, 70, .7);
    background: rgba(7, 20, 36, .55);
    font-size: 14px;
    color: var(--text);
    transition: .18s ease;
}

.about-feature:hover {
    border-color: rgba(0, 227, 94, .35);
    background: rgba(0, 227, 94, .05);
}

.about-feature-icon {
    font-size: 18px;
}

.about-actions {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

@media (max-width: 900px) {
    .about-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .about-features {
        grid-template-columns: 1fr;
    }

    .about-card {
        padding: 18px;
    }

    .about-actions {
        flex-direction: column;
    }

    .about-actions .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Why Us Section - Enhanced */
.why-us-header {
    text-align: center;
    margin-bottom: 24px;
}

.why-us-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(255, 204, 0, .15), rgba(255, 150, 0, .08));
    border: 1px solid rgba(255, 204, 0, .35);
    color: var(--warn);
    font-weight: 700;
    font-size: 14px;
    margin-bottom: 12px;
}

.why-us-badge-icon {
    font-size: 18px;
}

.why-us-title {
    margin: 0 0 8px;
    font-size: 32px;
    font-weight: 800;
}

.why-us-subtitle {
    margin: 0;
    color: var(--muted);
    font-size: 15px;
}

/* Stats Cards */
.why-us-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    margin-bottom: 24px;
}

.stat-card {
    padding: 20px;
    border-radius: 16px;
    border: 1px solid rgba(0, 227, 94, .25);
    background:
        radial-gradient(200px 100px at 50% 0%, rgba(0, 227, 94, .12), transparent 60%),
        linear-gradient(180deg, rgba(10, 19, 34, .72), rgba(10, 19, 34, .45));
    text-align: center;
}

.stat-number {
    font-size: 32px;
    font-weight: 900;
    color: var(--accent2);
    line-height: 1;
    margin-bottom: 6px;
}

.stat-label {
    color: var(--muted);
    font-size: 13px;
    font-weight: 500;
}

@media (max-width: 900px) {
    .why-us-stats {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .why-us-stats {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .stat-card {
        padding: 14px;
    }

    .stat-number {
        font-size: 24px;
    }
}

/* Why Us Grid */
.why-us-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 20px;
}

.why-card {
    display: flex;
    gap: 14px;
    padding: 18px;
    border-radius: var(--radius);
    border: 1px solid rgba(26, 43, 70, .7);
    background: linear-gradient(180deg, rgba(10, 19, 34, .72), rgba(10, 19, 34, .45));
    transition: .2s ease;
}

.why-card:hover {
    border-color: rgba(0, 227, 94, .35);
    transform: translateY(-2px);
}

.why-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.why-icon.auto {
    background: linear-gradient(135deg, rgba(255, 200, 0, .25), rgba(255, 150, 0, .10));
    color: #fbbf24;
}

.why-icon.secure {
    background: linear-gradient(135deg, rgba(0, 227, 94, .25), rgba(0, 179, 36, .10));
    color: var(--accent2);
}

.why-icon.promo {
    background: linear-gradient(135deg, rgba(255, 100, 150, .25), rgba(255, 50, 100, .10));
    color: #f472b6;
}

.why-icon.games {
    background: linear-gradient(135deg, rgba(100, 150, 255, .25), rgba(50, 100, 255, .10));
    color: #60a5fa;
}

.why-icon.support {
    background: linear-gradient(135deg, rgba(0, 200, 200, .25), rgba(0, 150, 150, .10));
    color: #2dd4bf;
}

.why-icon.mobile {
    background: linear-gradient(135deg, rgba(150, 100, 255, .25), rgba(100, 50, 255, .10));
    color: #a78bfa;
}

.why-content h3 {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 700;
}

.why-content p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
}

.why-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.why-tag {
    padding: 4px 10px;
    border-radius: 6px;
    border: 1px solid rgba(26, 43, 70, .7);
    background: rgba(255, 255, 255, .04);
    color: rgba(207, 225, 255, .85);
    font-size: 11px;
    font-family: var(--mono);
}

@media (max-width: 1000px) {
    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .why-us-grid {
        grid-template-columns: 1fr;
    }

    .why-card {
        padding: 14px;
    }
}

/* Trust Badges */
.trust-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    padding: 16px;
    border-radius: 14px;
    border: 1px solid rgba(26, 43, 70, .7);
    background: rgba(10, 19, 34, .45);
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    border-radius: 10px;
    border: 1px solid rgba(0, 227, 94, .25);
    background: rgba(0, 227, 94, .05);
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
}

/* Hot Games Section */
.hot-games-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.hot-game-card {
    position: relative;
    padding: 20px;
    border-radius: var(--radius);
    border: 1px solid rgba(0, 176, 155, .25);
    background:
        radial-gradient(300px 150px at 50% 0%, rgba(0, 176, 155, .08), transparent 60%),
        linear-gradient(180deg, rgba(10, 19, 34, .72), rgba(10, 19, 34, .45));
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: .2s ease;
}

.hot-game-card:hover {
    border-color: rgba(0, 176, 155, .45);
    transform: translateY(-4px);
}

.hot-game-rank {
    position: absolute;
    top: -8px;
    left: -8px;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: linear-gradient(135deg, #00b09b, #96c93d);
    color: #fff;
    font-size: 16px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 176, 155, .35);
}

.hot-game-cover {
    width: 100%;
    height: 180px;
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 16px;
    position: relative;
    background: linear-gradient(180deg, #0a1322, #071424);
}

.hot-game-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    transition: transform .3s ease;
}

.hot-game-card:hover .hot-game-cover img {
    transform: scale(1.15);
}

.hot-game-info {
    flex: 1;
    text-align: center;
}

.hot-game-info h3 {
    margin: 0 0 6px;
    font-size: 18px;
    font-weight: 700;
}

.hot-game-info p {
    margin: 0;
    color: var(--muted);
    font-size: 13px;
    line-height: 1.5;
}

.hot-game-stats {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 10px;
}

.hot-stat {
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(0, 176, 155, .10);
    border: 1px solid rgba(0, 176, 155, .25);
    font-size: 11px;
    color: #96c93d;
}

.hot-game-btn {
    width: 100%;
    justify-content: center;
}

.view-all-games {
    text-align: center;
    margin-top: 20px;
}

.view-all-games .btn {
    padding: 14px 32px;
    font-size: 15px;
}

@media (max-width: 1000px) {
    .hot-games-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .hot-games-grid {
        grid-template-columns: 1fr;
    }
}

/* Game Cover Slider */
.slider-container {
    position: relative;
    display: flex;
    align-items: center;
    gap: 12px;
}

.slider-track {
    flex: 1;
    overflow: hidden;
    border-radius: var(--radius);
}

.slider-wrapper {
    display: flex;
    gap: 16px;
    transition: transform 0.4s ease;
    padding: 10px 4px;
}

.slide-card {
    flex: 0 0 180px;
    border-radius: 14px;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(10, 19, 34, .72), rgba(10, 19, 34, .45));
    border: 1px solid rgba(26, 43, 70, .7);
    cursor: pointer;
    transition: .25s ease;
}

.slide-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: rgba(0, 227, 94, .5);
    box-shadow: 0 16px 40px rgba(0, 0, 0, .4), 0 0 30px rgba(0, 227, 94, .1);
}

.slide-image-wrapper {
    position: relative;
    aspect-ratio: 2/3;
    overflow: hidden;
    background: linear-gradient(180deg, #0a1322, #071424);
}

.slide-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.35);
    transition: transform .3s ease;
}

.slide-card:hover .slide-image-wrapper img {
    transform: scale(1.4);
}

.slide-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.slide-badge.hot {
    background: linear-gradient(135deg, #ff3b3b, #ff6b6b);
    color: #fff;
    box-shadow: 0 4px 15px rgba(255, 59, 59, .35);
}

.slide-badge.new {
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    color: #071424;
    box-shadow: 0 4px 15px rgba(0, 227, 94, .35);
}

.slide-badge.vip {
    background: linear-gradient(135deg, #ffd700, #ffb700);
    color: #1a1a00;
    box-shadow: 0 4px 15px rgba(255, 215, 0, .35);
}

.slide-badge.top {
    background: linear-gradient(135deg, #3b82f6, #60a5fa);
    color: #fff;
    box-shadow: 0 4px 15px rgba(59, 130, 246, .35);
}

.slide-info {
    padding: 14px;
}

.slide-info h3 {
    margin: 0 0 6px;
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
}

.slide-info p {
    margin: 0;
    font-size: 12px;
    color: var(--muted);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Slider Navigation Buttons */
.slider-btn {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid rgba(26, 43, 70, .7);
    background: rgba(10, 19, 34, .85);
    color: var(--muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: .2s ease;
    z-index: 2;
}

.slider-btn:hover {
    background: rgba(0, 227, 94, .15);
    border-color: rgba(0, 227, 94, .5);
    color: var(--accent);
}

.slider-btn:active {
    transform: scale(.95);
}

.slider-btn:disabled {
    opacity: .4;
    cursor: not-allowed;
}



@media (max-width: 768px) {
    .slider-container {
        gap: 0;
    }

    .slider-btn {
        display: none;
    }

    .slider-track {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -ms-overflow-style: none;
        padding: 0;
    }

    .slider-track::-webkit-scrollbar {
        display: none;
    }

    .slider-wrapper {
        gap: 0;
        padding: 0;
    }

    .slide-card {
        flex: 0 0 100%;
        scroll-snap-align: center;
        border-radius: 0;
        border-left: 0;
        border-right: 0;
    }

    .slide-info {
        padding: 12px 16px;
    }
}

/* Promotions Section */
.promo-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.promo-tab {
    padding: 10px 18px;
    border-radius: 999px;
    border: 1px solid rgba(26, 43, 70, .7);
    background: rgba(10, 19, 34, .45);
    color: var(--muted);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: .2s ease;
}

.promo-tab:hover {
    background: rgba(26, 43, 70, .5);
    color: var(--text);
}

.promo-tab.active {
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    color: #071424;
    border-color: transparent;
    font-weight: 700;
}

.promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 24px;
}

.promo-card {
    position: relative;
    padding: 24px;
    border-radius: var(--radius);
    background: linear-gradient(180deg, rgba(10, 19, 34, .72), rgba(10, 19, 34, .45));
    border: 1px solid rgba(26, 43, 70, .7);
    transition: .25s ease;
}

.promo-card:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 227, 94, .4);
    box-shadow: 0 12px 30px rgba(0, 0, 0, .3), 0 0 20px rgba(0, 227, 94, .08);
}

.promo-card.hidden {
    display: none;
}

.promo-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.promo-badge.hot {
    background: linear-gradient(135deg, #ff3b3b, #ff6b6b);
    color: #fff;
}

.promo-badge.new {
    background: linear-gradient(135deg, var(--accent), var(--accent2));
    color: #071424;
}

.promo-badge.vip {
    background: linear-gradient(135deg, #ffd700, #ffb700);
    color: #1a1a00;
}

.promo-icon {
    font-size: 40px;
    margin-bottom: 12px;
}

.promo-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 8px;
    color: var(--text);
}

.promo-bonus {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 6px;
    background: rgba(0, 227, 94, .12);
    border: 1px solid rgba(0, 227, 94, .25);
    color: var(--accent);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 12px;
}

.promo-desc {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 16px;
}

.promo-meta {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.promo-tag {
    padding: 4px 10px;
    border-radius: 4px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(26, 43, 70, .7);
    font-size: 11px;
    color: var(--muted);
}

.promo-btn {
    width: 100%;
    justify-content: center;
}

.promo-view-all {
    text-align: center;
}

.promo-view-all .btn {
    padding: 14px 32px;
}

@media (max-width: 768px) {
    .promo-tabs {
        gap: 6px;
    }

    .promo-tab {
        padding: 8px 14px;
        font-size: 12px;
    }

    .promo-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .promo-card {
        padding: 20px;
    }
}

/* Registration Guide Section */
/* Registration Guide Section */
.section-label {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(255, 107, 53, .12);
    border: 1px solid rgba(255, 107, 53, .25);
    color: var(--accent);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 12px;
}

.register-guide {
    display: grid;
    grid-template-columns: 460px 1fr;
    gap: 40px;
    align-items: center;
}

.phone-slider-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    padding: 0 60px;
}

.phone-mockup {
    position: relative;
    width: 280px;
    height: 560px;
    background: #0a0a0a;
    border-radius: 40px;
    border: 4px solid #222;
    box-shadow: 0 25px 50px rgba(0, 0, 0, .5), inset 0 0 0 2px #333;
    overflow: hidden;
}

.phone-notch {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 24px;
    background: #0a0a0a;
    border-radius: 20px;
    z-index: 10;
}

.phone-screen {
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    bottom: 8px;
    background: linear-gradient(180deg, #0d1a2d, #071424);
    border-radius: 32px;
    overflow: hidden;
}

.phone-slides {
    width: 100%;
    height: 100%;
    position: relative;
}

.phone-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateX(100%);
    transition: .4s ease;
}

.phone-slide.active {
    opacity: 1;
    transform: translateX(0);
}

.phone-content {
    text-align: center;
    padding: 60px 24px 24px;
    width: 100%;
}

.phone-logo {
    font-size: 28px;
    font-weight: 900;
    color: var(--accent);
    margin-bottom: 20px;
}

.phone-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--accent);
    margin: 0 0 24px;
}

.phone-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-field {
    padding: 14px 16px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .1);
    color: var(--muted);
    font-size: 13px;
    text-align: left;
}

.form-btn {
    padding: 14px;
    border-radius: 10px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    margin-top: 8px;
}

.form-btn.success {
    background: linear-gradient(135deg, var(--accent), var(--accent2));
}

.form-btn.play {
    background: linear-gradient(135deg, #ff6b35, #f7931e);
}

.game-icons {
    display: flex;
    justify-content: center;
    gap: 16px;
    font-size: 40px;
    margin: 24px 0;
}

.withdraw-success {
    padding: 20px;
}

.withdraw-success .check-icon {
    font-size: 60px;
    display: block;
    margin-bottom: 12px;
}

.withdraw-success p {
    color: var(--accent);
    font-weight: 600;
    margin: 0 0 8px;
}

.withdraw-success .amount {
    font-size: 32px;
    font-weight: 900;
    color: var(--accent);
}

.phone-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(10, 10, 10, 0.9);
    border: 1px solid #96c93d;
    color: #96c93d;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all .3s ease;
    z-index: 100;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    opacity: 1;
    pointer-events: auto;
}

.phone-nav:hover {
    background: linear-gradient(135deg, #00b09b, #96c93d);
    border-color: transparent;
    color: #fff;
    transform: translateY(-50%) scale(1.15);
    box-shadow: 0 8px 25px rgba(0, 176, 155, 0.4);
}

.phone-prev {
    left: 10px;
}

.phone-next {
    right: 10px;
}

.phone-dots {
    display: flex;
    gap: 8px;
    margin-top: 24px;
}

.phone-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .2);
    cursor: pointer;
    transition: .2s ease;
}

.phone-dot.active {
    background: var(--accent);
    width: 28px;
    border-radius: 5px;
}

.register-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.register-step {
    display: flex;
    gap: 20px;
    padding: 20px 24px;
    border-radius: var(--radius);
    background: rgba(10, 19, 34, .45);
    border: 1px solid rgba(26, 43, 70, .7);
    transition: .25s ease;
    cursor: pointer;
}

.register-step:hover,
.register-step.active {
    background: rgba(0, 176, 155, .08);
    border-color: rgba(0, 176, 155, .4);
}

.step-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00b09b, #96c93d);
    color: #fff;
    font-size: 18px;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 176, 155, .3);
}

.step-content h4 {
    margin: 0 0 6px;
    font-size: 17px;
    font-weight: 700;
    color: #fff;
}

.step-content p {
    margin: 0;
    font-size: 14px;
    color: var(--muted);
    line-height: 1.5;
}

@media (max-width: 900px) {
    .register-guide {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .phone-slider-container {
        order: -1;
    }

    .phone-mockup {
        width: 240px;
        height: 480px;
    }

    .phone-prev {
        left: 0;
    }

    .phone-next {
        right: 0;
    }
}

/* FAQ Section */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.faq-item {
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 12px;
    overflow: hidden;
    transition: all .3s ease;
}

.faq-item.active {
    background: rgba(0, 176, 155, .05);
    border-color: rgba(0, 176, 155, .3);
    box-shadow: 0 4px 20px rgba(0, 176, 155, .1);
}

.faq-question {
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    font-weight: 500;
    font-size: 16px;
    transition: all .3s ease;
}

.faq-question:hover {
    color: #96c93d;
}

.faq-item.active .faq-question {
    color: #00b09b;
}

.faq-icon {
    transition: transform 0.3s ease;
    opacity: 0.7;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    opacity: 1;
    color: #00b09b;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
}

.faq-answer p {
    padding: 0 24px 24px;
    margin: 0;
    color: #aaa;
    font-size: 15px;
    line-height: 1.6;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    transition: max-height 0.5s ease-in-out;
}

/* App Section */
.app-section {
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 0% 50%, rgba(0, 179, 36, 0.08), transparent 40%),
        radial-gradient(circle at 100% 50%, rgba(0, 36, 179, 0.05), transparent 40%);
}

.app-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.app-visual {
    position: relative;
    text-align: center;
}

.app-visual img {
    max-width: 100%;
    filter: drop-shadow(0 0 30px rgba(0, 227, 94, 0.2));
    animation: float 6s ease-in-out infinite;
}

.app-content {
    padding: 20px;
}

.app-title {
    font-size: 42px;
    font-weight: 700;
    margin: 0 0 20px;
    background: linear-gradient(180deg, #fff, #b4c6e2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.app-desc {
    font-size: 16px;
    color: var(--muted);
    line-height: 1.7;
    margin-bottom: 40px;
    max-width: 500px;
}

.app-download-block {
    display: flex;
    gap: 30px;
    align-items: flex-start;
}

.qr-box {
    background: #fff;
    padding: 12px;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    width: 160px;
}

.qr-box img {
    width: 100%;
    display: block;
}

.qr-label {
    margin-top: 10px;
    text-align: center;
    color: #333;
    font-weight: 600;
    font-size: 14px;
}

.app-features {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.app-feat {
    width: 100px;
    height: 115px;
    /* Hexagon rough ratio */
    background: rgba(255, 255, 255, 0.03);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: .3s;
}

.app-feat:hover {
    background: rgba(0, 179, 36, 0.1);
    border-color: var(--accent);
}

.app-feat-icon {
    font-size: 24px;
    margin-bottom: 8px;
    color: var(--accent);
}

.app-feat span {
    font-size: 12px;
    color: var(--text);
}

@media (max-width: 900px) {
    .app-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .app-download-block {
        justify-content: center;
    }

    .app-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .app-features {
        justify-content: center;
    }
}

/* Games Page Redesign */
.games-page-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 20px;
}

.game-cat-card {
    position: relative;
    padding: 16px;
    border-radius: var(--radius);
    border: 1px solid rgba(26, 43, 70, .8);
    background: linear-gradient(180deg, rgba(8, 12, 18, .6), rgba(8, 12, 18, .4));
    overflow: hidden;
    transition: all .3s ease;
    text-decoration: none;
    display: block;
}

.game-cat-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 179, 36, .15);
}

.game-cat-cover {
    height: 380px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 16px;
    position: relative;
}

.game-cat-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.game-cat-card:hover .game-cat-cover img {
    transform: scale(1.1);
}

.game-cat-info h3 {
    margin: 0 0 8px;
    font-size: 20px;
    color: #fff;
    text-align: center;
}

.game-cat-btn {
    width: 100%;
    justify-content: center;
    margin-top: 10px;
}

@media (max-width: 900px) {
    .games-page-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .games-page-grid {
        grid-template-columns: 1fr;
    }
}

/* Hero Banner (Static Image) */
.hero-banner {
    border-radius: var(--radius);
    overflow: hidden;
    border: 2px solid rgba(0, 227, 94, .35);
    box-shadow:
        0 0 20px rgba(0, 227, 94, .15),
        0 20px 60px rgba(0, 0, 0, .45),
        inset 0 0 30px rgba(0, 0, 0, .2);
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(0, 227, 94, .08), transparent 60%),
        linear-gradient(180deg, rgba(11, 22, 40, .75), rgba(11, 22, 40, .45));
    padding: 12px;
    position: relative;
}

.hero-banner::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(135deg, rgba(0, 227, 94, .4), transparent 50%, rgba(0, 179, 36, .3));
    border-radius: calc(var(--radius) + 2px);
    z-index: -1;
    filter: blur(8px);
    opacity: 0.6;
}

.hero-banner img {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: calc(var(--radius) - 4px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, .3);
}

/* Hero Slider */
.hero-slider-container {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    height: 100%;
    min-height: 280px;
    border: 1px solid rgba(26, 43, 70, .7);
    background: linear-gradient(180deg, rgba(11, 22, 40, .65), rgba(11, 22, 40, .35));
    box-shadow: 0 20px 60px rgba(0, 0, 0, .35);
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
    z-index: 1;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: 0.3s;
    backdrop-filter: blur(4px);
}

.hero-dot.active {
    background: var(--accent);
    transform: scale(1.2);
    box-shadow: 0 0 12px var(--accent);
    border-color: transparent;
}

.hero-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.3);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    backdrop-filter: blur(4px);
    z-index: 20;
    opacity: 1;
}

/* .hero-slider-container:hover .hero-btn {
    opacity: 1;
} */

.hero-btn:hover {
    background: var(--accent);
    border-color: transparent;
    box-shadow: 0 0 15px var(--accent);
}

.hero-btn.prev {
    left: 15px;
}

.hero-btn.next {
    right: 15px;
}

/* Horizontal Slider Section (Hot Games) */
.slider-wrapper {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    padding: 20px 20px;
    /* Added horizontal padding */
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    /* Snap scrolling */
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    /* Hide scrollbar Firefox */
}

.slider-wrapper::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar Chrome/Safari */
}

.slide-card {
    flex: 0 0 auto;
    width: 260px;
    height: auto;
    background: linear-gradient(180deg, rgba(10, 19, 34, .8), rgba(10, 19, 34, .4));
    border: 1px solid rgba(26, 43, 70, .7);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease, border-color 0.3s ease;
    scroll-snap-align: start;
    /* Snap cards to start */
}

.slide-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
}

.slide-image-wrapper {
    width: 100%;
    height: 240px;
    position: relative;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.15);
}

.slide-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(0.85);
    /* Start zoomed out to show more */
    transition: transform 0.5s ease;
}

.slide-card:hover .slide-image-wrapper img {
    transform: scale(1);
    /* On hover, zoom to normal */
}

.slide-info {
    padding: 16px;
}

.slide-info h3 {
    margin: 0 0 6px;
    font-size: 18px;
    color: #fff;
}

.slide-info p {
    margin: 0;
    font-size: 13px;
    color: var(--muted);
    line-height: 1.5;
}

.slide-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: bold;
    color: #fff;
    text-transform: uppercase;
    z-index: 2;
}

.slide-badge.hot {
    background: #ff3b3b;
}

.slide-badge.new {
    background: #00e35e;
    color: #000;
}

.slide-badge.vip {
    background: #ffcc00;
    color: #000;
}

.slide-badge.top {
    background: #3064ff;
}

/* Slider Container & Navigation */
.slider-container {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.slider-track {
    flex: 1;
    overflow: hidden;
}

.slider-btn {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(10, 19, 34, .8);
    border: 1px solid rgba(26, 43, 70, .7);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: 0.3s;
    z-index: 10;
}

.slider-btn:hover:not(:disabled) {
    background: var(--accent);
    box-shadow: 0 0 15px var(--accent);
    border-color: transparent;
}

.slider-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* ========== SITE FOOTER ========== */
.site-footer {
    background: linear-gradient(180deg, rgba(6, 12, 22, 0.95), rgba(4, 8, 16, 1));
    border-top: 1px solid rgba(26, 43, 70, .5);
    padding: 60px 60px 30px;
    margin: 0;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    box-sizing: border-box;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand .footer-logo {
    display: inline-block;
    text-decoration: none;
    margin-bottom: 8px;
}

.footer-brand .footer-logo img {
    height: 120px;
    width: auto;
    object-fit: contain;
    image-rendering: -webkit-optimize-contrast;
}

.footer-desc {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
    margin-top: -15px;
    margin-bottom: 20px;
}

.footer-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-badge {
    background: rgba(0, 227, 94, 0.1);
    border: 1px solid rgba(0, 227, 94, 0.25);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    color: var(--accent);
}

.footer-links h4 {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    position: relative;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--accent);
    border-radius: 2px;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--muted);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(26, 43, 70, .4);
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copyright {
    color: var(--muted);
    font-size: 13px;
}

.footer-legal {
    display: flex;
    gap: 12px;
    align-items: center;
}

.footer-legal a {
    color: var(--muted);
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s;
}

.footer-legal a:hover {
    color: var(--accent);
}

.footer-legal span {
    color: rgba(255, 255, 255, 0.2);
    font-size: 10px;
}

/* Footer Responsive */
@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-brand {
        grid-column: span 2;
    }
}

@media (max-width: 600px) {
    .site-footer {
        padding: 30px 10px;
    }

    .footer-grid {
        grid-template-columns: 1fr 1.1fr 1.4fr;
        gap: 8px;
        text-align: left;
    }

    .footer-brand {
        grid-column: 1 / -1;
        margin-bottom: 20px;
        text-align: center;
    }

    .footer-badges {
        justify-content: center;
    }

    /* Main Menu - Align Left */
    .footer-grid>div:nth-child(2) {
        text-align: left;
        padding-left: 25px;
    }

    .footer-grid>div:nth-child(2) h4::after {
        left: 0;
        transform: none;
    }

    /* Categories - Align Left (Smoother look) */
    .footer-grid>div:nth-child(3) {
        text-align: left;
        padding-left: 10px;
    }

    .footer-grid>div:nth-child(3) h4::after {
        left: 0;
        transform: none;
    }

    /* Contact - Align Left (Match others) */
    .footer-grid>div:nth-child(4) {
        text-align: left;
        padding-left: 0;
    }

    .footer-grid>div:nth-child(4) h4::after {
        left: 0;
        right: auto;
        transform: none;
    }

    .footer-links h4 {
        font-size: 13px;
        margin-bottom: 12px;
    }

    .footer-links h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-links a {
        font-size: 11px;
        white-space: nowrap;
        display: block;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }

    .footer-legal {
        justify-content: center;
    }
}