:root {
    --bg: #020817;
    --bg-soft: #06152e;
    --panel: rgba(5, 20, 48, 0.92);
    --panel-strong: #071a3a;
    --text: #f7fbff;
    --muted: #9eb0ca;
    --gold: #ffc83d;
    --gold-deep: #a96500;
    --blue: #00a8ff;
    --cyan: #00e0ff;
    --purple: #db24ff;
    --green: #4ee257;
    --orange: #ff8b23;
    --red: #ff3d32;
    --line: rgba(255, 255, 255, 0.11);
    --shadow: 0 18px 46px rgba(0, 0, 0, 0.38);
    --radius-lg: 24px;
    --radius-md: 17px;
    --safe-bottom: env(safe-area-inset-bottom, 0px);
}

* {
    box-sizing: border-box;
}

html {
    min-height: 100%;
    background: var(--bg);
    scroll-behavior: smooth;
}

body {
    min-width: 320px;
    min-height: 100%;
    margin: 0;
    color: var(--text);
    background:
        radial-gradient(circle at 50% -5%, rgba(0, 102, 255, 0.34), transparent 34rem),
        linear-gradient(180deg, #031129 0%, #020817 46%, #01040d 100%);
    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;
    -webkit-font-smoothing: antialiased;
}

body.drawer-open {
    overflow: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    color: inherit;
}

.site-shell {
    position: relative;
    width: min(100%, 430px);
    min-height: 100vh;
    margin: 0 auto;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(3, 18, 45, 0.96), rgba(1, 6, 17, 0.98));
    box-shadow: 0 0 70px rgba(0, 0, 0, 0.55);
}

.site-header {
    position: sticky;
    z-index: 60;
    top: 0;
    background:
        linear-gradient(
            180deg,
            rgba(1, 8, 24, 0.98),
            rgba(2, 15, 37, 0.93)
        );
    border-bottom: 1px solid rgba(255, 200, 61, 0.17);
    backdrop-filter: blur(18px);
}

.header-inner {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    min-height: 74px;
    padding: 10px 16px;
    gap: 12px;
}

.menu-trigger,
.icon-button {
    border: 0;
    background: transparent;
    cursor: pointer;
}

.menu-trigger {
    display: grid;
    width: 48px;
    padding: 3px 6px 0;
    place-items: center;
    gap: 5px;
}

.menu-trigger > span {
    display: block;
    width: 31px;
    height: 4px;
    border-radius: 999px;
    background: linear-gradient(90deg, #ffd867, #f7a500);
    box-shadow: 0 0 11px rgba(255, 192, 37, 0.42);
}

.menu-trigger small {
    margin-top: 1px;
    color: #fff;
    font-size: 0.68rem;
    font-weight: 800;
}

.brand {
    display: inline-flex;
    min-width: 0;
    align-items: center;
    gap: 9px;
}

.brand-mark {
    display: grid;
    width: 39px;
    height: 39px;
    flex: 0 0 auto;
    place-items: center;
    border: 1px solid rgba(255, 219, 104, 0.9);
    border-radius: 12px;
    color: #111;
    background:
        linear-gradient(145deg, #fff4a6, #ffbd23 60%, #b46500);
    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, 0.7),
        0 0 18px rgba(255, 186, 22, 0.28);
    font-size: 1.15rem;
    font-weight: 1000;
}

.brand-copy {
    display: grid;
    min-width: 0;
}

.brand-copy strong {
    overflow: hidden;
    color: #fff;
    font-size: clamp(0.94rem, 3.6vw, 1.25rem);
    font-weight: 1000;
    letter-spacing: 0.04em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.brand-copy small {
    overflow: hidden;
    color: var(--gold);
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0.03em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.account-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 9px;
}

.login-link {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 800;
}

.register-button {
    display: inline-flex;
    min-height: 43px;
    align-items: center;
    justify-content: center;
    padding: 0 16px;
    border: 1px solid #ffde68;
    border-radius: 13px;
    color: #211100;
    background:
        linear-gradient(180deg, #fff08b 0%, #ffc431 60%, #d38300 100%);
    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, 0.62),
        0 7px 16px rgba(181, 103, 0, 0.31);
    font-size: 0.93rem;
    font-weight: 1000;
}

.account-summary {
    display: grid;
    min-width: 115px;
    padding: 7px 10px;
    border: 1px solid rgba(255, 201, 61, 0.42);
    border-radius: 12px;
    text-align: right;
    background: rgba(4, 22, 53, 0.92);
}

.account-summary small {
    color: var(--muted);
    font-size: 0.68rem;
}

.account-summary strong {
    color: var(--gold);
    font-size: 0.75rem;
}

.side-drawer {
    position: fixed;
    z-index: 100;
    top: 0;
    bottom: 0;
    left: max(0px, calc(50% - 215px));
    width: min(84vw, 340px);
    padding: 18px;
    transform: translateX(-105%);
    transition: transform 220ms ease;
    border-right: 1px solid rgba(255, 206, 67, 0.3);
    background:
        radial-gradient(circle at 0 0, rgba(0, 117, 255, 0.25), transparent 17rem),
        linear-gradient(180deg, #061735, #020714);
    box-shadow: 26px 0 60px rgba(0, 0, 0, 0.55);
}

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

.drawer-backdrop {
    position: fixed;
    z-index: 90;
    inset: 0;
    background: rgba(0, 3, 12, 0.76);
    backdrop-filter: blur(5px);
}

.drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
}

.brand--drawer .brand-copy strong {
    font-size: 1.05rem;
}

.icon-button {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid var(--line);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.04);
    font-size: 1.65rem;
}

.drawer-menu {
    display: grid;
    margin-top: 18px;
    gap: 7px;
}

.drawer-menu a {
    display: flex;
    min-height: 51px;
    align-items: center;
    padding: 0 14px;
    gap: 12px;
    border: 1px solid transparent;
    border-radius: 14px;
    color: #dbe8fb;
    font-weight: 800;
}

.drawer-menu a span {
    display: grid;
    width: 30px;
    height: 30px;
    place-items: center;
    border-radius: 9px;
    color: var(--gold);
    background: rgba(255, 197, 45, 0.09);
}

.drawer-menu a:hover,
.drawer-menu a.is-active {
    border-color: rgba(255, 204, 65, 0.38);
    color: #fff;
    background:
        linear-gradient(90deg, rgba(255, 196, 37, 0.16), rgba(0, 106, 255, 0.09));
}

.drawer-security {
    position: absolute;
    right: 18px;
    bottom: calc(18px + var(--safe-bottom));
    left: 18px;
    padding: 15px;
    border: 1px solid rgba(0, 202, 255, 0.25);
    border-radius: 15px;
    background: rgba(0, 140, 220, 0.08);
}

.drawer-security strong {
    color: #fff;
    font-size: 0.84rem;
}

.drawer-security p {
    margin: 5px 0 0;
    color: var(--muted);
    font-size: 0.72rem;
    line-height: 1.55;
}

.site-main {
    padding-bottom: 22px;
}

.category-nav {
    position: relative;
    z-index: 10;
    padding: 13px 13px 8px;
    background:
        linear-gradient(180deg, rgba(3, 17, 41, 0.96), rgba(4, 16, 38, 0.72));
}

.category-track {
    display: grid;
    grid-auto-columns: minmax(92px, 1fr);
    grid-auto-flow: column;
    overflow-x: auto;
    padding: 2px 1px 8px;
    gap: 9px;
    scrollbar-width: none;
}

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

.category-item {
    display: grid;
    min-height: 116px;
    padding: 13px 7px 10px;
    place-items: center;
    gap: 7px;
    border: 1px solid rgba(15, 141, 255, 0.78);
    border-radius: 16px;
    background:
        linear-gradient(180deg, rgba(5, 34, 77, 0.96), rgba(3, 15, 39, 0.96));
    box-shadow:
        inset 0 0 18px rgba(0, 94, 255, 0.18),
        0 0 13px rgba(0, 127, 255, 0.2);
}

.category-item.is-active,
.category-item:hover {
    border-color: rgba(255, 200, 61, 0.92);
    box-shadow:
        inset 0 0 19px rgba(255, 181, 0, 0.14),
        0 0 18px rgba(255, 188, 0, 0.24);
}

.category-icon {
    display: grid;
    width: 58px;
    height: 58px;
    place-items: center;
    border-radius: 17px;
    color: #1b1000;
    background:
        linear-gradient(145deg, #fff297, #ffbc23 62%, #a95a00);
    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, 0.7),
        0 9px 18px rgba(0, 0, 0, 0.26);
    font-size: 1.15rem;
    font-weight: 1000;
}

.category-item strong {
    color: #f7fbff;
    font-size: 0.75rem;
    text-transform: uppercase;
}

.hero-section {
    position: relative;
    min-height: 365px;
    overflow: hidden;
    padding: 45px 18px 42px;
    isolation: isolate;
    background:
        linear-gradient(180deg, rgba(3, 18, 45, 0.2), rgba(1, 7, 20, 0.9)),
        radial-gradient(circle at 50% 34%, rgba(0, 104, 255, 0.38), transparent 19rem),
        linear-gradient(135deg, #030713 0%, #05285c 48%, #020612 100%);
}

.hero-section::before,
.hero-section::after {
    position: absolute;
    z-index: -1;
    top: 18%;
    width: 72%;
    height: 3px;
    content: "";
    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(0, 163, 255, 0.95),
            rgba(255, 255, 255, 0.9),
            transparent
        );
    box-shadow:
        0 0 16px #0088ff,
        0 0 34px rgba(0, 116, 255, 0.8);
}

.hero-section::before {
    left: -24%;
    transform: rotate(28deg);
}

.hero-section::after {
    right: -24%;
    transform: rotate(-28deg);
}

.hero-light {
    position: absolute;
    z-index: -1;
    top: 0;
    width: 37%;
    height: 100%;
    opacity: 0.52;
    background:
        repeating-linear-gradient(
            90deg,
            transparent 0 17px,
            rgba(0, 136, 255, 0.25) 18px 19px
        );
}

.hero-light--left {
    left: -8%;
    transform: skewX(-18deg);
}

.hero-light--right {
    right: -8%;
    transform: skewX(18deg);
}

.hero-particles span {
    position: absolute;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 14px var(--gold);
}

.hero-particles span:nth-child(1) {
    top: 22%;
    right: 8%;
}

.hero-particles span:nth-child(2) {
    top: 58%;
    left: 8%;
    width: 4px;
    height: 4px;
}

.hero-particles span:nth-child(3) {
    right: 17%;
    bottom: 14%;
    width: 4px;
    height: 4px;
}

.hero-particles span:nth-child(4) {
    top: 8%;
    left: 22%;
    width: 3px;
    height: 3px;
}

.hero-particles span:nth-child(5) {
    right: 28%;
    bottom: 28%;
    width: 9px;
    height: 9px;
}

.hero-content {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.hero-kicker {
    margin: 0;
    color: #fff;
    font-size: clamp(1.2rem, 5vw, 2rem);
    font-style: italic;
    font-weight: 1000;
    letter-spacing: 0.04em;
    text-shadow:
        0 4px 0 #4d5970,
        0 7px 14px rgba(0, 0, 0, 0.8);
}

.hero-content h1 {
    margin: 8px 0 0;
    color: #fff;
    font-size: clamp(2.35rem, 10vw, 5.4rem);
    font-style: italic;
    font-weight: 1000;
    letter-spacing: -0.055em;
    line-height: 0.92;
    text-shadow:
        0 4px 0 #6f4300,
        0 8px 0 #2b1c00,
        0 15px 24px rgba(0, 0, 0, 0.68);
}

.hero-content h1 span {
    display: block;
    color: #ffc432;
    background:
        linear-gradient(180deg, #fff18c 0%, #ffc12c 48%, #dc7e00 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    max-width: 560px;
    margin: 20px auto 0;
    color: #d9e9ff;
    font-size: clamp(0.85rem, 3vw, 1.06rem);
    line-height: 1.55;
}

.trust-strip {
    display: inline-flex;
    margin-top: 22px;
    align-items: center;
    justify-content: center;
    padding: 9px 18px;
    gap: 9px;
    border: 1px solid rgba(0, 178, 255, 0.82);
    border-radius: 999px;
    background: rgba(2, 21, 52, 0.78);
    box-shadow:
        inset 0 0 13px rgba(0, 148, 255, 0.22),
        0 0 21px rgba(0, 119, 255, 0.28);
}

.trust-strip span {
    color: #fff;
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.trust-strip i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    box-shadow: 0 0 8px var(--gold);
}

.jackpot-card {
    position: relative;
    z-index: 5;
    margin: -19px 14px 0;
    text-align: center;
}

.jackpot-ribbon {
    position: relative;
    z-index: 2;
    display: inline-flex;
    min-width: 180px;
    height: 47px;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    gap: 11px;
    border: 2px solid #ffda61;
    border-radius: 14px 14px 9px 9px;
    color: #671b00;
    background:
        linear-gradient(180deg, #fff392, #ffc32b 58%, #c96d00);
    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, 0.72),
        0 8px 13px rgba(0, 0, 0, 0.35);
    font-size: 1.2rem;
    font-weight: 1000;
}

.jackpot-body {
    position: relative;
    overflow: hidden;
    min-height: 148px;
    margin-top: -6px;
    padding: 38px 14px 25px;
    border: 2px solid #ffbd2b;
    border-radius: 22px;
    background:
        radial-gradient(circle at 50% 0, rgba(255, 62, 0, 0.32), transparent 15rem),
        linear-gradient(180deg, #8b0808 0%, #4f0206 55%, #190006 100%);
    box-shadow:
        inset 0 0 0 4px rgba(114, 0, 0, 0.65),
        inset 0 0 32px rgba(255, 74, 0, 0.25),
        0 12px 35px rgba(0, 0, 0, 0.5);
}

.jackpot-body::before,
.jackpot-body::after {
    position: absolute;
    top: 15px;
    width: 92px;
    height: 92px;
    content: "";
    border: 5px solid #ffbf2d;
    border-radius: 54% 46% 63% 37%;
    opacity: 0.45;
}

.jackpot-body::before {
    left: -38px;
    transform: rotate(26deg);
}

.jackpot-body::after {
    right: -38px;
    transform: rotate(-26deg);
}

.jackpot-body small {
    display: block;
    color: #ffe146;
    font-size: clamp(1rem, 4vw, 1.55rem);
    font-weight: 1000;
    letter-spacing: 0.04em;
}

.jackpot-number {
    display: block;
    margin-top: 8px;
    color: #fff;
    font-size: clamp(1.65rem, 7.5vw, 3.4rem);
    font-weight: 1000;
    letter-spacing: -0.04em;
    line-height: 1;
    text-shadow:
        0 3px 0 rgba(82, 0, 0, 0.7),
        0 0 16px rgba(255, 218, 97, 0.25);
}

.provider-section,
.game-menu-section,
.payment-section {
    padding: 24px 14px 0;
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 13px;
    gap: 14px;
}

.section-heading small {
    color: var(--gold);
    font-size: 0.67rem;
    font-weight: 1000;
    letter-spacing: 0.16em;
}

.section-heading h2 {
    margin: 2px 0 0;
    color: #fff;
    font-size: clamp(1.12rem, 4vw, 1.55rem);
    font-weight: 1000;
}

.section-heading > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #bed3ee;
    font-size: 0.75rem;
    font-weight: 800;
}

.section-heading > a span {
    color: var(--gold);
    font-size: 1.2rem;
}

.section-heading--center {
    justify-content: center;
    text-align: center;
}

.provider-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
}

.provider-chip {
    display: grid;
    min-height: 91px;
    padding: 11px 7px;
    place-items: center;
    gap: 7px;
    border: 1px solid rgba(0, 159, 255, 0.35);
    border-radius: 15px;
    background:
        linear-gradient(180deg, rgba(8, 35, 76, 0.92), rgba(3, 14, 35, 0.95));
    box-shadow:
        inset 0 0 16px rgba(0, 96, 255, 0.1),
        0 8px 19px rgba(0, 0, 0, 0.24);
}

.provider-chip:hover {
    border-color: rgba(255, 202, 54, 0.66);
}

.provider-symbol {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border: 1px solid rgba(255, 213, 87, 0.7);
    border-radius: 13px;
    color: #2c1600;
    background:
        linear-gradient(145deg, #fff5a8, #ffc333 60%, #b26700);
    font-size: 1.15rem;
    font-weight: 1000;
}

.provider-chip strong {
    overflow: hidden;
    max-width: 100%;
    color: #eaf4ff;
    font-size: 0.68rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.game-menu-list {
    display: grid;
    gap: 10px;
}

.game-menu-card {
    --card-color: var(--gold);
    position: relative;
    display: grid;
    min-height: 92px;
    overflow: hidden;
    grid-template-columns: 82px minmax(0, 1fr) auto;
    align-items: center;
    padding: 10px 14px 10px 9px;
    gap: 12px;
    border: 1px solid var(--card-color);
    border-radius: 17px;
    background:
        radial-gradient(circle at 10% 50%, color-mix(in srgb, var(--card-color) 23%, transparent), transparent 9rem),
        linear-gradient(90deg, rgba(16, 14, 13, 0.96), rgba(2, 9, 22, 0.98));
    box-shadow:
        inset 0 0 18px color-mix(in srgb, var(--card-color) 15%, transparent),
        0 0 12px color-mix(in srgb, var(--card-color) 25%, transparent);
}

.game-menu-card--gold {
    --card-color: var(--gold);
}

.game-menu-card--purple {
    --card-color: var(--purple);
}

.game-menu-card--blue {
    --card-color: var(--cyan);
}

.game-menu-card--green {
    --card-color: var(--green);
}

.game-menu-card--orange {
    --card-color: var(--orange);
}

.game-menu-card--red {
    --card-color: var(--red);
}

.menu-card-art {
    display: grid;
    width: 71px;
    height: 71px;
    place-items: center;
    border: 1px solid color-mix(in srgb, var(--card-color) 78%, #fff);
    border-radius: 19px;
    color: #15100a;
    background:
        linear-gradient(
            145deg,
            color-mix(in srgb, var(--card-color) 30%, #fff),
            var(--card-color)
        );
    box-shadow:
        0 8px 18px rgba(0, 0, 0, 0.32),
        inset 0 2px 0 rgba(255, 255, 255, 0.45);
    font-size: 1.18rem;
    font-weight: 1000;
}

.menu-card-copy {
    display: grid;
    min-width: 0;
}

.menu-card-copy strong {
    color: var(--card-color);
    font-size: clamp(1.35rem, 6vw, 2rem);
    font-weight: 1000;
    letter-spacing: -0.035em;
    line-height: 1;
}

.menu-card-copy small {
    overflow: hidden;
    margin-top: 6px;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 650;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.menu-card-arrow {
    color: #fff;
    font-size: 2.7rem;
    font-weight: 300;
    line-height: 1;
}

.payment-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 9px;
}

.payment-chip {
    display: grid;
    min-height: 56px;
    padding: 8px;
    place-items: center;
    border: 1px solid rgba(0, 169, 255, 0.52);
    border-radius: 13px;
    color: #fff;
    background:
        linear-gradient(145deg, rgba(10, 54, 113, 0.96), rgba(3, 18, 45, 0.96));
    box-shadow:
        inset 0 0 16px rgba(0, 106, 255, 0.13),
        0 7px 16px rgba(0, 0, 0, 0.24);
    font-size: 0.74rem;
    font-weight: 1000;
    letter-spacing: 0.025em;
    text-align: center;
}

.payment-chip:nth-child(4n + 2) {
    border-color: rgba(181, 83, 255, 0.62);
    background:
        linear-gradient(145deg, rgba(70, 25, 118, 0.96), rgba(19, 7, 46, 0.96));
}

.payment-chip:nth-child(4n + 3) {
    border-color: rgba(0, 226, 255, 0.57);
    background:
        linear-gradient(145deg, rgba(0, 91, 118, 0.96), rgba(0, 31, 48, 0.96));
}

.payment-chip:nth-child(4n) {
    border-color: rgba(255, 82, 38, 0.7);
    background:
        linear-gradient(145deg, rgba(137, 36, 12, 0.96), rgba(49, 9, 4, 0.96));
}

.security-note {
    display: flex;
    margin-top: 14px;
    align-items: flex-start;
    padding: 14px;
    gap: 11px;
    border: 1px solid rgba(0, 213, 255, 0.25);
    border-radius: 15px;
    background: rgba(0, 139, 200, 0.07);
}

.security-shield {
    display: grid;
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    place-items: center;
    border-radius: 11px;
    color: #032218;
    background: linear-gradient(145deg, #9effd1, #20d987);
    font-weight: 1000;
}

.security-note div {
    display: grid;
    gap: 4px;
}

.security-note strong {
    color: #fff;
    font-size: 0.82rem;
}

.security-note small {
    color: var(--muted);
    font-size: 0.71rem;
    line-height: 1.5;
}

.site-footer {
    margin-top: 28px;
    padding: 24px 16px calc(105px + var(--safe-bottom));
    border-top: 1px solid rgba(255, 200, 61, 0.17);
    background:
        linear-gradient(180deg, rgba(3, 14, 34, 0.88), #01040d);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 11px;
}

.footer-brand div {
    display: grid;
    gap: 2px;
}

.footer-brand strong {
    font-weight: 1000;
}

.footer-brand small {
    color: var(--muted);
    font-size: 0.7rem;
}

.footer-links {
    display: flex;
    margin-top: 18px;
    flex-wrap: wrap;
    gap: 8px 15px;
}

.footer-links a {
    color: #aebed4;
    font-size: 0.69rem;
    font-weight: 700;
}

.footer-copy {
    margin: 18px 0 0;
    color: #697b95;
    font-size: 0.68rem;
}

.mobile-bottom-nav {
    position: fixed;
    z-index: 70;
    right: auto;
    bottom: 0;
    left: 50%;
    width: min(100%, 430px);
    transform: translateX(-50%);
    display: grid;
    min-height: calc(72px + var(--safe-bottom));
    grid-template-columns: repeat(5, 1fr);
    align-items: end;
    padding: 8px 8px calc(7px + var(--safe-bottom));
    border-top: 1px solid rgba(255, 203, 65, 0.23);
    background:
        linear-gradient(180deg, rgba(4, 18, 43, 0.97), rgba(1, 5, 14, 0.99));
    box-shadow: 0 -14px 32px rgba(0, 0, 0, 0.38);
    backdrop-filter: blur(18px);
}

.mobile-bottom-nav > a {
    display: grid;
    min-height: 50px;
    place-items: center;
    gap: 3px;
    color: #8fa2bc;
}

.mobile-bottom-nav > a > span {
    font-size: 1.25rem;
    line-height: 1;
}

.mobile-bottom-nav > a > small {
    font-size: 0.62rem;
    font-weight: 800;
}

.mobile-bottom-nav > a.is-active {
    color: var(--gold);
}

.bottom-nav-main {
    position: relative;
    top: -15px;
}

.bottom-nav-main > span {
    display: grid;
    width: 54px;
    height: 54px;
    place-items: center;
    border: 3px solid #061630;
    border-radius: 50%;
    color: #201000;
    background:
        linear-gradient(145deg, #fff39b, #ffc22c 58%, #bc6800);
    box-shadow:
        0 0 0 1px rgba(255, 221, 103, 0.8),
        0 9px 22px rgba(255, 159, 0, 0.29);
    font-size: 1.8rem !important;
    font-weight: 800;
}

.bottom-nav-main small {
    margin-top: -1px;
    color: var(--gold);
}





@media (max-width: 390px) {
    .brand-copy small {
        display: none;
    }

    .login-link {
        display: none;
    }

    .register-button {
        min-height: 40px;
        padding: 0 12px;
        font-size: 0.82rem;
    }

    .header-inner {
        gap: 8px;
    }

    .hero-content h1 {
        font-size: 2.15rem;
    }

    .jackpot-number {
        font-size: 1.45rem;
    }

    .provider-grid,
    .payment-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/*
|--------------------------------------------------------------------------
| Mobile-first permanen
|--------------------------------------------------------------------------
| Desktop tetap menggunakan proporsi mobile. Website hanya diposisikan
| di tengah layar dan tidak berubah menjadi layout tablet/desktop.
*/

@media (min-width: 431px) {
    body {
        padding-right: 18px;
        padding-left: 18px;
        background:
            radial-gradient(circle at 50% 0, rgba(0, 88, 220, 0.24), transparent 34rem),
            #01040c;
    }

    .site-shell {
        min-height: 100vh;
        border-right: 1px solid rgba(255, 200, 61, 0.12);
        border-left: 1px solid rgba(255, 200, 61, 0.12);
        box-shadow:
            0 0 0 1px rgba(0, 128, 255, 0.06),
            0 0 70px rgba(0, 0, 0, 0.72);
    }
}

@media (max-width: 430px) {
    .site-shell {
        width: 100%;
    }

    .side-drawer {
        left: 0;
    }

    .mobile-bottom-nav {
        width: 100%;
    }
}
/*
|--------------------------------------------------------------------------
| FIX SIDEBAR MOBILE-FIRST
|--------------------------------------------------------------------------
| Sidebar tersembunyi penuh saat ditutup dan muncul rapi saat dibuka,
| baik pada layar mobile maupun desktop.
*/

:root {
    --mobile-shell-width: 430px;
    --mobile-shell-offset: max(
        0px,
        calc((100vw - var(--mobile-shell-width)) / 2)
    );
}

/*
|--------------------------------------------------------------------------
| Sidebar
|--------------------------------------------------------------------------
*/

.side-drawer {
    position: fixed !important;
    z-index: 1000 !important;

    top: 0 !important;
    bottom: auto !important;

    left: var(--mobile-shell-offset) !important;
    right: auto !important;

    width: min(86vw, 340px) !important;
    max-width: calc(var(--mobile-shell-width) - 20px) !important;
    height: 100vh !important;
    height: 100dvh !important;

    padding: 18px !important;

    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;

    /*
     * Offset layout desktop ikut dihitung agar sidebar
     * benar-benar keluar dari layar saat ditutup.
     */
    transform: translate3d(
        calc(-100% - var(--mobile-shell-offset) - 15px),
        0,
        0
    ) !important;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    border-right: 1px solid rgba(255, 206, 67, 0.35);

    background:
        radial-gradient(
            circle at 0 0,
            rgba(0, 117, 255, 0.28),
            transparent 270px
        ),
        linear-gradient(
            180deg,
            #061735 0%,
            #031027 55%,
            #020714 100%
        );

    box-shadow:
        25px 0 60px rgba(0, 0, 0, 0.65);

    transition:
        transform 240ms ease,
        opacity 180ms ease,
        visibility 0s linear 240ms;
}

/*
|--------------------------------------------------------------------------
| Sidebar dibuka
|--------------------------------------------------------------------------
*/

.side-drawer.is-open {
    transform: translate3d(0, 0, 0) !important;

    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transition:
        transform 240ms ease,
        opacity 180ms ease,
        visibility 0s;
}

/*
|--------------------------------------------------------------------------
| Latar gelap sidebar
|--------------------------------------------------------------------------
*/

.drawer-backdrop {
    position: fixed !important;
    z-index: 999 !important;

    top: 0 !important;
    bottom: 0 !important;

    left: 50% !important;
    right: auto !important;

    width: min(100%, var(--mobile-shell-width)) !important;

    transform: translateX(-50%) !important;

    background: rgba(0, 3, 12, 0.78) !important;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.drawer-backdrop[hidden] {
    display: none !important;
}

/*
|--------------------------------------------------------------------------
| Bagian kepala sidebar
|--------------------------------------------------------------------------
*/

.drawer-head {
    position: relative;

    display: flex !important;
    width: 100%;

    align-items: center !important;
    justify-content: space-between !important;

    padding-bottom: 18px !important;

    border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.drawer-head .brand {
    min-width: 0;
    flex: 1;
}

.drawer-head .brand-copy {
    min-width: 0;
}

.drawer-head .icon-button {
    display: grid !important;

    width: 42px !important;
    height: 42px !important;

    flex: 0 0 42px;

    margin-left: 12px;

    place-items: center;

    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 13px;

    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);

    font-size: 25px;
    line-height: 1;

    cursor: pointer;
}

/*
|--------------------------------------------------------------------------
| Menu sidebar
|--------------------------------------------------------------------------
*/

.drawer-menu {
    display: grid !important;
    width: 100%;

    margin-top: 18px !important;
    padding-bottom: 150px;

    gap: 8px !important;
}

.drawer-menu a {
    display: flex !important;
    width: 100% !important;
    min-height: 52px;

    align-items: center !important;

    padding: 0 14px !important;
    gap: 12px;

    border: 1px solid transparent;
    border-radius: 14px;

    color: #dbe8fb;

    background: transparent;

    font-size: 14px;
    font-weight: 800;
}

.drawer-menu a span {
    display: grid !important;

    width: 32px !important;
    height: 32px !important;

    flex: 0 0 32px;

    place-items: center;

    border-radius: 10px;

    color: #ffc83d;
    background: rgba(255, 197, 45, 0.10);
}

.drawer-menu a:hover,
.drawer-menu a.is-active {
    border-color: rgba(255, 204, 65, 0.40);

    color: #ffffff;

    background:
        linear-gradient(
            90deg,
            rgba(255, 196, 37, 0.17),
            rgba(0, 106, 255, 0.10)
        );
}

/*
|--------------------------------------------------------------------------
| Informasi keamanan di bagian bawah
|--------------------------------------------------------------------------
*/

.drawer-security {
    position: absolute !important;

    right: 18px !important;
    bottom: calc(18px + env(safe-area-inset-bottom, 0px)) !important;
    left: 18px !important;

    padding: 15px !important;

    border: 1px solid rgba(0, 202, 255, 0.27);
    border-radius: 15px;

    background: rgba(0, 140, 220, 0.09);
}

/*
|--------------------------------------------------------------------------
| Saat sidebar terbuka
|--------------------------------------------------------------------------
*/

body.drawer-open {
    overflow: hidden !important;
}

/*
|--------------------------------------------------------------------------
| Mobile
|--------------------------------------------------------------------------
*/

@media (max-width: 430px) {
    .side-drawer {
        left: 0 !important;

        width: min(86vw, 340px) !important;
        max-width: calc(100vw - 24px) !important;

        transform: translate3d(
            calc(-100% - 15px),
            0,
            0
        ) !important;
    }

    .side-drawer.is-open {
        transform: translate3d(0, 0, 0) !important;
    }

    .drawer-backdrop {
        left: 0 !important;
        width: 100% !important;
        transform: none !important;
    }
}

/*
|--------------------------------------------------------------------------
| HERO BERGAYA AGEN TERBESAR
|--------------------------------------------------------------------------
*/

.home-showcase {
    position: relative;

    width: 100%;
    min-height: 300px;

    padding:
        12px
        12px
        14px;

    overflow: hidden;

    border-bottom:
        1px solid rgba(255, 191, 39, 0.35);

    background:
        radial-gradient(
            ellipse at 50% 18%,
            rgba(0, 97, 255, 0.28),
            transparent 47%
        ),
        radial-gradient(
            circle at 0 75%,
            rgba(0, 107, 255, 0.27),
            transparent 30%
        ),
        radial-gradient(
            circle at 100% 75%,
            rgba(0, 107, 255, 0.27),
            transparent 30%
        ),
        linear-gradient(
            180deg,
            #03112e 0%,
            #061a43 44%,
            #020b20 100%
        );

    box-shadow:
        inset 0 -20px 35px rgba(0, 0, 0, 0.30),
        0 8px 25px rgba(0, 0, 0, 0.38);
}


/*
|--------------------------------------------------------------------------
| Cahaya kiri dan kanan
|--------------------------------------------------------------------------
*/

.home-showcase-light {
    position: absolute;
    z-index: 1;

    top: 65px;

    width: 210px;
    height: 170px;

    opacity: 0.90;

    pointer-events: none;
}

.home-showcase-light--left {
    left: -100px;

    transform:
        rotate(-14deg);

    background:
        linear-gradient(
            100deg,
            transparent 18%,
            rgba(0, 105, 255, 0.12) 28%,
            rgba(15, 162, 255, 0.92) 50%,
            rgba(180, 239, 255, 0.90) 52%,
            rgba(0, 96, 255, 0.24) 57%,
            transparent 69%
        );

    filter:
        blur(1px)
        drop-shadow(0 0 10px #0075ff);
}

.home-showcase-light--right {
    right: -100px;

    transform:
        rotate(14deg)
        scaleX(-1);

    background:
        linear-gradient(
            100deg,
            transparent 18%,
            rgba(0, 105, 255, 0.12) 28%,
            rgba(15, 162, 255, 0.92) 50%,
            rgba(180, 239, 255, 0.90) 52%,
            rgba(0, 96, 255, 0.24) 57%,
            transparent 69%
        );

    filter:
        blur(1px)
        drop-shadow(0 0 10px #0075ff);
}


/*
|--------------------------------------------------------------------------
| Garis cahaya belakang
|--------------------------------------------------------------------------
*/

.home-showcase-rays {
    position: absolute;
    z-index: 0;

    inset: 0;

    opacity: 0.55;

    pointer-events: none;

    background:
        linear-gradient(
            145deg,
            transparent 0 25%,
            rgba(0, 124, 255, 0.20) 25.5%,
            transparent 26.5% 100%
        ),
        linear-gradient(
            35deg,
            transparent 0 25%,
            rgba(0, 124, 255, 0.20) 25.5%,
            transparent 26.5% 100%
        ),
        linear-gradient(
            160deg,
            transparent 0 36%,
            rgba(0, 174, 255, 0.16) 36.5%,
            transparent 37.5% 100%
        ),
        linear-gradient(
            20deg,
            transparent 0 36%,
            rgba(0, 174, 255, 0.16) 36.5%,
            transparent 37.5% 100%
        );
}


/*
|--------------------------------------------------------------------------
| Partikel
|--------------------------------------------------------------------------
*/

.home-showcase-dots {
    position: absolute;
    z-index: 1;

    inset: 0;

    pointer-events: none;
}

.home-showcase-dots span {
    position: absolute;

    display: block;

    width: 4px;
    height: 4px;

    border-radius: 50%;

    background: #ffca38;

    box-shadow:
        0 0 4px #ffd85d,
        0 0 9px rgba(255, 183, 19, 0.85);

    animation:
        home-showcase-dot 2.4s ease-in-out infinite;
}

.home-showcase-dots span:nth-child(1) {
    top: 54px;
    left: 7%;
}

.home-showcase-dots span:nth-child(2) {
    top: 96px;
    right: 6%;

    animation-delay: 0.4s;
}

.home-showcase-dots span:nth-child(3) {
    top: 151px;
    left: 4%;

    animation-delay: 0.8s;
}

.home-showcase-dots span:nth-child(4) {
    top: 166px;
    right: 4%;

    animation-delay: 1.2s;
}

.home-showcase-dots span:nth-child(5) {
    top: 205px;
    left: 12%;

    animation-delay: 1.6s;
}

.home-showcase-dots span:nth-child(6) {
    top: 213px;
    right: 13%;

    animation-delay: 2s;
}

@keyframes home-showcase-dot {
    0%,
    100% {
        opacity: 0.30;

        transform: scale(0.75);
    }

    50% {
        opacity: 1;

        transform: scale(1.35);
    }
}


/*
|--------------------------------------------------------------------------
| Tulisan hero
|--------------------------------------------------------------------------
*/

.home-showcase-copy {
    position: relative;
    z-index: 5;

    display: grid;

    justify-items: center;

    text-align: center;
}

.home-showcase-welcome {
    margin: 0;

    color: #ffffff;

    font-size: clamp(18px, 5vw, 27px);
    font-weight: 1000;
    font-style: italic;

    letter-spacing: -0.03em;

    line-height: 1;

    transform:
        scaleX(1.03);

    text-shadow:
        0 2px 0 #8d9bac,
        0 4px 0 #37465b,
        0 6px 8px rgba(0, 0, 0, 0.85),
        0 0 10px rgba(53, 143, 255, 0.34);
}

.home-showcase h1 {
    display: grid;

    margin:
        4px
        0
        0;

    line-height: 0.88;
}

.home-showcase h1 > span {
    color: #ffd348;

    background:
        linear-gradient(
            180deg,
            #fff7a0 0%,
            #ffd94c 21%,
            #f3a900 52%,
            #ffcc35 72%,
            #925000 100%
        );

    background-clip: text;
    -webkit-background-clip: text;

    font-size: clamp(27px, 7.7vw, 43px);
    font-weight: 1000;
    font-style: italic;

    letter-spacing: -0.035em;

    -webkit-text-fill-color: transparent;

    filter:
        drop-shadow(0 2px 0 #704000)
        drop-shadow(0 4px 0 #351e00)
        drop-shadow(0 6px 6px rgba(0, 0, 0, 0.72));
}

.home-showcase h1 > small {
    margin-top: 8px;

    color: #ffffff;

    font-size: clamp(22px, 6vw, 34px);
    font-weight: 1000;
    font-style: italic;

    letter-spacing: -0.035em;

    text-shadow:
        0 2px 0 #8492a2,
        0 4px 0 #344153,
        0 6px 7px rgba(0, 0, 0, 0.82);
}


/*
|--------------------------------------------------------------------------
| Strip AMAN CEPAT TERPERCAYA
|--------------------------------------------------------------------------
*/

.home-showcase-trust {
    display: flex;

    width: 100%;

    align-items: center;
    justify-content: center;

    margin-top: 12px;
}

.home-trust-content {
    position: relative;

    display: flex;

    min-width: 215px;
    min-height: 25px;

    align-items: center;
    justify-content: center;

    padding:
        0
        13px;

    gap: 7px;

    border:
        1px solid #4ec8ff;

    border-radius: 8px;

    background:
        linear-gradient(
            180deg,
            rgba(19, 75, 142, 0.97),
            rgba(4, 33, 78, 0.98)
        );

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.32),
        inset 0 -2px 4px rgba(0, 0, 0, 0.36),
        0 0 5px #009dff,
        0 0 13px rgba(0, 128, 255, 0.60),
        0 4px 8px rgba(0, 0, 0, 0.50);
}

.home-trust-content::before {
    position: absolute;

    top: 1px;
    right: 12px;
    left: 12px;

    height: 1px;

    content: "";

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(220, 248, 255, 0.90),
            transparent
        );
}

.home-trust-content strong {
    position: relative;
    z-index: 2;

    color: #ffffff;

    font-size: 8px;
    font-weight: 1000;

    letter-spacing: 0.04em;

    white-space: nowrap;

    text-shadow:
        0 2px 2px rgba(0, 0, 0, 0.90);
}

.home-trust-content b {
    display: block;

    width: 5px;
    height: 5px;

    flex: 0 0 5px;

    border-radius: 50%;

    background:
        radial-gradient(
            circle at 35% 30%,
            #fff9af,
            #ffca2f 45%,
            #9f5900 100%
        );

    box-shadow:
        0 0 5px rgba(255, 190, 29, 0.85);
}

.home-trust-line {
    position: relative;

    display: block;

    width: 40px;
    height: 12px;

    flex: 0 1 40px;
}

.home-trust-line::before {
    position: absolute;

    top: 50%;

    width: 35px;
    height: 2px;

    content: "";

    transform:
        translateY(-50%);

    background:
        linear-gradient(
            90deg,
            transparent,
            #b46a00,
            #ffd550
        );
}

.home-trust-line::after {
    position: absolute;

    top: 50%;

    width: 7px;
    height: 7px;

    content: "";

    transform:
        translateY(-50%)
        rotate(45deg);

    border:
        1px solid #ffd85d;

    background:
        linear-gradient(
            145deg,
            #fff29b,
            #bc7000
        );
}

.home-trust-line--left::before,
.home-trust-line--left::after {
    right: 0;
}

.home-trust-line--right::before,
.home-trust-line--right::after {
    left: 0;
}

.home-trust-line--right::before {
    transform:
        translateY(-50%)
        scaleX(-1);
}


/*
|--------------------------------------------------------------------------
| Kategori permainan dalam hero
|--------------------------------------------------------------------------
*/

.home-category-grid {
    position: relative;
    z-index: 8;

    display: grid;

    margin-top: 13px;

    grid-template-columns:
        repeat(6, minmax(0, 1fr));

    gap: 6px;
}

.home-category-card {
    position: relative;

    display: grid;

    min-width: 0;
    min-height: 70px;

    align-content: center;
    justify-items: center;

    padding:
        6px
        2px
        5px;

    overflow: hidden;

    border:
        1px solid rgba(37, 161, 255, 0.95);

    border-radius: 9px;

    color: #ffffff;

    background:
        radial-gradient(
            circle at 50% 0,
            rgba(0, 142, 255, 0.24),
            transparent 45px
        ),
        linear-gradient(
            180deg,
            #09275b 0%,
            #041b42 56%,
            #020c22 100%
        );

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        inset 0 -2px 4px rgba(0, 0, 0, 0.40),
        0 0 5px rgba(0, 145, 255, 0.80),
        0 4px 0 rgba(0, 5, 18, 0.78),
        0 7px 10px rgba(0, 0, 0, 0.34);

    text-decoration: none;

    transition:
        transform 160ms ease,
        border-color 160ms ease,
        filter 160ms ease;
}

.home-category-card::before {
    position: absolute;

    top: 0;
    right: 8px;
    left: 8px;

    height: 1px;

    content: "";

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(164, 230, 255, 0.85),
            transparent
        );
}

.home-category-icon {
    display: grid;

    width: 36px;
    height: 36px;

    place-items: center;

    color: #ffbc13;

    font-size: 25px;
    font-weight: 1000;
    line-height: 1;

    text-shadow:
        0 1px 0 #fff19a,
        0 2px 0 #8d4d00,
        0 3px 3px rgba(0, 0, 0, 0.75),
        0 0 8px rgba(255, 179, 0, 0.30);
}

.home-category-card strong {
    display: block;

    width: 100%;

    overflow: hidden;

    color: #ffffff;

    font-size: 8px;
    font-weight: 1000;

    letter-spacing: 0.025em;

    text-align: center;
    text-overflow: ellipsis;
    text-transform: uppercase;
    white-space: nowrap;

    text-shadow:
        0 2px 2px rgba(0, 0, 0, 0.90);
}

.home-category-card:hover {
    border-color: #ffd656;

    filter: brightness(1.12);

    transform:
        translateY(-2px);
}

.home-category-card:active {
    transform:
        translateY(2px);

    box-shadow:
        inset 0 2px 5px rgba(0, 0, 0, 0.42),
        0 1px 0 rgba(0, 5, 18, 0.80);
}


/*
|--------------------------------------------------------------------------
| Responsive
|--------------------------------------------------------------------------
*/

@media (max-width: 390px) {
    .home-showcase {
        min-height: 285px;

        padding-right: 8px;
        padding-left: 8px;
    }

    .home-category-grid {
        gap: 5px;
    }

    .home-category-card {
        min-height: 67px;

        border-radius: 8px;
    }

    .home-category-icon {
        width: 32px;
        height: 32px;

        font-size: 22px;
    }

    .home-category-card strong {
        font-size: 7px;
    }

    .home-trust-content {
        min-width: 205px;

        padding-right: 9px;
        padding-left: 9px;

        gap: 5px;
    }

    .home-trust-line {
        width: 28px;

        flex-basis: 28px;
    }

    .home-trust-line::before {
        width: 25px;
    }
}

@media (max-width: 340px) {
    .home-showcase {
        padding-right: 5px;
        padding-left: 5px;
    }

    .home-category-grid {
        gap: 3px;
    }

    .home-category-card {
        min-height: 63px;
    }

    .home-category-icon {
        width: 29px;
        height: 29px;

        font-size: 19px;
    }

    .home-category-card strong {
        font-size: 6px;
    }

    .home-trust-content {
        min-width: 190px;
    }

    .home-trust-content strong {
        font-size: 7px;
    }

    .home-trust-line {
        width: 20px;

        flex-basis: 20px;
    }

    .home-trust-line::before {
        width: 17px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-showcase-dots span,
    .home-category-card {
        animation: none;
        transition: none;
    }
}
