/* Level Up | Dark casino lobby */
:root {
    --bg: #14151f;
    --surface: #20212e;
    --surface2: #292a39;
    --header: #11121c;
    --edge: #393b49;
    --text: #f4f4f6;
    --muted: #acafbf;
    --gold: #f3bd32;
    --gold-dark: #d99d17
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font: 14px/1.55 Arial, Helvetica, sans-serif
}

a {
    text-decoration: none;
    color: inherit
}

button,
input {
    font: inherit
}

button {
    cursor: pointer
}

img {
    display: block;
    max-width: 100%
}

.container {
    width: min(1240px, calc(100% - 40px));
    margin-inline: auto
}

a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px
}

.skip-link {
    position: absolute;
    top: -70px;
    left: 12px;
    background: var(--gold);
    color: #111;
    padding: 10px;
    z-index: 100
}

.skip-link:focus {
    top: 10px
}

/* Header */
.site-header {
    height: 66px;
    background: var(--header);
    border-bottom: 1px solid #292a35;
    position: sticky;
    top: 0;
    z-index: 40
}

.nav {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px
}

.logo {
    font-size: 23px;
    font-weight: 900;
    letter-spacing: -1.2px;
    white-space: nowrap
}

.logo span,
.logo i {
    color: var(--gold)
}

.logo i {
    font-size: 9px;
    vertical-align: top;
    margin-left: 3px;
    font-style: normal
}

.nav nav {
    display: flex;
    gap: 25px;
    align-items: center;
    height: 100%
}

.nav nav a {
    display: flex;
    height: 100%;
    align-items: center;
    font-size: 18px;
    font-weight: 600;
    color: #d0d1dc;
    border-bottom: 2px solid transparent;
    transition: color .15s
}

.nav nav a:hover,
.nav nav a.active {
    color: var(--gold);
    border-bottom-color: var(--gold)
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 17px
}

.login-link {
    color: #e1e2e8;
    font-size: 14px;
    font-weight: 700
}

.nav-btn,
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 18px;
    border-radius: 5px;
    background: var(--gold);
    color: #171821;
    border: 1px solid var(--gold);
    font-size: 14px;
    font-weight: 700;
    transition: background .15s, border-color .15s
}

.nav-btn:hover,
.btn:hover {
    background: #ffd05e;
    border-color: #ffd05e
}

.btn-outline {
    background: transparent;
    border-color: #5c5e69;
    color: #f1f1f5
}

.btn-outline:hover {
    background: #323441;
    border-color: var(--gold);
    color: #fff
}

.btn-small {
    padding: 9px 15px;
    font-size: 16px
}

.menu-toggle {
    display: none;
    border: 0;
    background: none;
    padding: 8px
}

.menu-toggle span {
    display: block;
    width: 23px;
    height: 2px;
    background: white;
    margin: 5px 0
}

/* Hero: dark, quiet, no bright yellow backdrop */
.hero {
    position: relative;
    overflow: hidden;
    background: radial-gradient(ellipse at 72% 75%, #363045 0%, transparent 48%), linear-gradient(125deg, #10131e 5%, #202231 65%, #13141c 100%);
    border-bottom: 1px solid #323440
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(90deg, rgba(15, 16, 26, .22), transparent 70%)
}

.hero-grid {
    min-height: 395px;
    display: grid;
    grid-template-columns: 44% 56%;
    align-items: center
}

.hero-copy {
    position: relative;
    z-index: 2;
    padding: 45px 0
}

.hero-kicker {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 1.1px;
    color: #e2bd67
}

.hero h1 {
    font-size: clamp(38px, 4.3vw, 61px);
    letter-spacing: -1.7px;
    line-height: 1.08;
    margin: 13px 0 16px;
    font-weight: 800;
    max-width: 540px
}

.hero h1 span {
    display: block;
    color: var(--gold)
}

.hero p {
    font-size: 16px;
    color: #c6c8d2;
    max-width: 460px;
    line-height: 1.7
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 22px 0
}

.hero small {
    color: #999daa;
    font-size: 11px
}

.hero-graphic {
    position: relative;
    z-index: 1;
    align-self: end;
    height: 390px;
    background: url('assets/img/hero-characters.webp') center / contain no-repeat;
    filter: saturate(.91)
}

/* Main sections, functional lobby rather than marketing blocks */
.panel {
    margin-top: 18px;
    padding: 22px;
    background: var(--surface);
    border: 1px solid #333543;
    border-radius: 9px
}

.section-top {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 17px
}

.label {
    font-size: 10px;
    letter-spacing: 1.2px;
    font-weight: 700;
    color: var(--gold)
}

.section-top h2,
.guide h2,
.responsible h2 {
    font-size: 25px;
    line-height: 1.2;
    letter-spacing: -.4px;
    margin: 5px 0 6px;
    font-weight: 750
}

.section-top p,
.guide p {
    font-size: 16px;
    margin: 0;
    color: var(--muted)
}

.search-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 38px;
    padding: 0 10px;
    border: 1px solid #4d4f5b;
    background: #191a27;
    border-radius: 5px;
    color: #d4b35f
}

.search-wrap input {
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 14px;
    width: 175px;
    outline: 0
}

.search-wrap input::placeholder {
    color: #9b9dac
}

.tabs {
    display: flex;
    gap: 7px;
    overflow: auto;
    margin-bottom: 16px;
    padding-bottom: 3px;
    scrollbar-width: thin
}

.tab {
    padding: 8px 12px;
    border-radius: 4px;
    border: 1px solid transparent;
    background: transparent;
    white-space: nowrap;
    color: #bbbcca;
    font-size: 16px
}

.tab:hover,
.tab.active {
    background: #373948;
    color: #fff;
    border-color: #494b5a
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px
}

.game-card {
    min-width: 0;
    overflow: hidden;
    border-radius: 5px;
    background: #171823;
    border: 1px solid #343642;
    transition: border-color .15s
}

.game-card:hover {
    border-color: var(--gold)
}

.game-card[hidden] {
    display: none !important
}

.game-card img {
    width: 100%;
    aspect-ratio: 145/187;
    object-fit: cover;
    object-position: top
}

.game-info {
    padding: 9px 5px 10px;
    text-align: center;
    min-height: 54px
}

.game-info strong {
    display: block;
    font-size: 16px;
    line-height: 1.25;
    font-weight: 700
}

.game-info small {
    display: block;
    color: #9699ab;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .3px;
    margin-top: 4px
}

.empty-state,
.section-bottom span {
    font-size: 14px;
    color: var(--muted)
}

.section-bottom {
    margin-top: 17px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px
}

/* Promotions */
.promotion-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    max-width: 860px
}

.promotion-card {
    background: #191a26;
    border: 1px solid #383a48;
    border-radius: 8px;
    overflow: hidden
}

.promotion-card>img {
    width: 100%;
    aspect-ratio: 327/157;
    object-fit: cover;
    object-position: center 20%
}

.promotion-body {
    padding: 15px
}

.promo-pill {
    font-size: 12px;
    color: var(--gold);
    font-weight: 600;
    letter-spacing: .7px
}

.promotion-body h3 {
    font-size: 18px;
    margin: 4px 0 7px
}

.promotion-body p {
    font-size: 16px;
    color: var(--muted);
    line-height: 1.6;
    min-height: 54px;
    margin: 0 0 15px
}

.promotion-actions {
    display: flex;
    gap: 8px
}

.promotion-actions .btn {
    flex: 1
}

/* Brief informational content */
.guide {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: center
}

.guide p {
    line-height: 1.75;
    margin: 10px 0 13px
}

.text-link {
    font-size: 14px;
    font-weight: 700;
    color: var(--gold)
}

.guide-points {
    display: grid;
    gap: 8px
}

.guide-points>div {
    display: flex;
    align-items: center;
    gap: 14px;
    background: #292b38;
    border: 1px solid #3c3e4a;
    border-radius: 5px;
    padding: 12px 14px;
    font-size: 12px
}

.guide-points b {
    color: var(--gold);
    font-size: 12px
}

.responsible {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 18px;
    margin-bottom: 28px;
    padding: 20px 22px;
    background: #20212e;
    border: 1px solid #363844;
    border-radius: 8px
}

.responsible h2 {
    font-size: 19px;
    margin: 0 0 5px
}

.responsible p {
    color: var(--muted);
    font-size: 14px;
    margin: 0
}

.responsible .btn {
    margin-left: auto;
    white-space: nowrap
}

.age-icon {
    border: 1.5px solid #b9bbc9;
    border-radius: 50%;
    padding: 10px;
    font-weight: 800;
    font-size: 16px;
    white-space: nowrap
}

/* Footer */
.footer {
    background: #11121b;
    padding: 35px 0 18px;
    border-top: 1px solid #2d2e39
}

.footer-columns {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.4fr;
    gap: 30px
}

.footer-columns p {
    font-size: 14px;
    color: var(--muted);
    max-width: 345px
}

.footer-columns h3 {
    font-size: 14px;
    margin: 0 0 12px
}

.footer-columns>div>a:not(.logo) {
    display: block;
    margin: 8px 0;
    color: #bbbdc9;
    font-size: 12px
}

.footer-columns a:hover {
    color: var(--gold)
}

.footer-bottom {
    margin-top: 28px;
    padding-top: 13px;
    border-top: 1px solid #2d2f39;
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 11px;
    color: #999cad
}

@media(max-width:1080px) {
    .nav nav {
        gap: 15px
    }

    .game-grid {
        grid-template-columns: repeat(5, minmax(0, 1fr))
    }

    .hero-grid {
        grid-template-columns: 48% 52%
    }
}

@media(max-width:760px) {
    .container {
        width: calc(100% - 28px)
    }

    .site-header {
        height: 62px
    }

    .nav {
        gap: 10px
    }

    .menu-toggle {
        display: block
    }

    .nav nav {
        display: none;
        position: absolute;
        top: 62px;
        left: 0;
        right: 0;
        height: auto;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: var(--header);
        border-bottom: 1px solid #343544;
        padding: 10px 20px
    }

    .nav nav.open {
        display: flex
    }

    .nav nav a {
        height: auto;
        padding: 11px 0
    }

    .login-link {
        display: none
    }

    .hero-grid {
        grid-template-columns: 1fr;
        min-height: 0
    }

    .hero-copy {
        padding: 32px 0 0
    }

    .hero h1 {
        font-size: 40px
    }

    .hero-graphic {
        height: 250px;
        background-size: contain
    }

    .panel {
        padding: 16px;
        margin-top: 14px
    }

    .section-top {
        flex-direction: column;
        align-items: stretch;
        gap: 11px
    }

    .search-wrap input {
        width: 100%
    }

    .game-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr))
    }

    .promotion-grid,
    .guide {
        grid-template-columns: 1fr
    }

    .responsible {
        flex-wrap: wrap
    }

    .responsible .btn {
        margin-left: 0
    }

    .footer-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr))
    }

    .footer-bottom {
        flex-direction: column
    }
}

@media(max-width:430px) {
    .logo {
        font-size: 20px
    }

    .nav-btn {
        padding: 8px 10px;
        font-size: 11px
    }

    .hero h1 {
        font-size: 34px
    }

    .hero p {
        font-size: 13px
    }

    .hero-graphic {
        height: 205px
    }

    .hero .btn {
        padding: 10px 12px
    }

    .game-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px
    }

    .promotion-actions {
        flex-wrap: wrap
    }

    .promotion-actions .btn {
        min-width: 100%
    }

    .footer-columns {
        gap: 18px
    }
}

@media(prefers-reduced-motion:reduce) {
    html {
        scroll-behavior: auto
    }

    * {
        transition: none !important
    }
}