:root {
    --bg: #07122f;
    --bg-deep: #03091b;
    --surface: #0d1c45;
    --surface-soft: #14275b;
    --surface-bright: #1b3471;
    --primary: #00d9c6;
    --primary-dark: #006d63;
    --accent: #ffd84d;
    --accent-warm: #ff8a00;
    --watermelon: #ff3f63;
    --watermelon-deep: #d91e4b;
    --win: #7cff4f;
    --text: #f8fbff;
    --text-muted: #bfcae4;
    --border: rgba(255, 255, 255, .14);
    --focus: #fff4a8;
    --danger: #ff657f;
    --shadow: 0 22px 60px rgba(0, 0, 0, .34);
    --shadow-soft: 0 14px 36px rgba(0, 0, 0, .22);
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 30px;
    --container: 1180px;
    --section-space: clamp(64px, 9vw, 112px);
    color-scheme: dark;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    overflow-x: hidden;
    background: radial-gradient(circle at 12% 16%, rgba(0, 217, 198, .15), transparent 28rem),
    radial-gradient(circle at 86% 25%, rgba(255, 63, 99, .13), transparent 26rem),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-deep) 100%);
    color: var(--text);
    font-family: "Inter", "Segoe UI", Arial, Helvetica, sans-serif;
    line-height: 1.65;
}

body.modal-open {
    overflow: hidden;
}

body.age-locked #site-content {
    filter: blur(8px);
    pointer-events: none;
    user-select: none;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

a {
    color: inherit;
}

button, input {
    font: inherit;
}

button {
    color: inherit;
}

[hidden] {
    display: none !important;
}

:focus-visible {
    outline: 3px solid var(--focus);
    outline-offset: 4px;
}

.skip-link {
    position: fixed;
    left: 12px;
    top: 12px;
    z-index: 9999;
    padding: 10px 14px;
    border-radius: 10px;
    background: #fff;
    color: #07122f;
    transform: translateY(-160%);
}

.skip-link:focus {
    transform: translateY(0);
}

.container {
    width: min(calc(100% - 32px), var(--container));
    margin-inline: auto;
}

.notice-bar {
    position: relative;
    z-index: 40;
    padding: 10px 0;
    background: #ffd84d;
    color: #151820;
    font-size: .82rem;
    font-weight: 750;
    line-height: 1.45;
}

.notice-inner {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.age-badge {
    display: inline-grid;
    min-width: 42px;
    min-height: 42px;
    place-items: center;
    border: 2px solid currentColor;
    border-radius: 999px;
    font-weight: 900;
    line-height: 1;
}

.notice-bar .age-badge {
    min-width: 34px;
    min-height: 34px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 35;
    border-bottom: 1px solid var(--border);
    background: rgba(3, 9, 27, .88);
    backdrop-filter: blur(18px);
}

.header-inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    text-decoration: none;
}

.brand img {
    width: 58px;
    height: 58px;
    object-fit: contain;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .4));
}

.brand-text {
    font-weight: 900;
    letter-spacing: -.02em;
    white-space: nowrap;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 22px;
}

.main-nav a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 700;
    font-size: .92rem;
}

.main-nav a:hover {
    color: #fff;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.mobile-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--surface);
    cursor: pointer;
}

.mobile-toggle span, .mobile-toggle::before, .mobile-toggle::after {
    content: "";
    display: block;
    width: 20px;
    height: 2px;
    margin: 4px auto;
    border-radius: 2px;
    background: #fff;
}

.btn {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 12px 20px;
    border: 1px solid transparent;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 850;
    line-height: 1.2;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    background: linear-gradient(180deg, #ffb02b, var(--accent-warm));
    color: #12151b;
    box-shadow: 0 12px 28px rgba(255, 138, 0, .28);
}

.btn-secondary {
    border-color: rgba(0, 217, 198, .55);
    background: rgba(0, 217, 198, .10);
    color: #dffffb;
}

.btn-ghost {
    border-color: var(--border);
    background: rgba(255, 255, 255, .04);
}

.btn-danger {
    border-color: rgba(255, 101, 127, .55);
    background: rgba(255, 101, 127, .12);
}

.hero {
    position: relative;
    min-height: min(860px, calc(100svh - 112px));
    display: grid;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -3;
    background: url("../../game/assets/background.webp") center / cover no-repeat;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background: linear-gradient(90deg, rgba(3, 9, 27, .95) 0%, rgba(3, 9, 27, .74) 46%, rgba(3, 9, 27, .15) 100%), linear-gradient(0deg, var(--bg) 0%, transparent 28%);
}

.hero-grid {
    padding-block: 76px 108px;
    display: grid;
    grid-template-columns: minmax(0, 1.04fr) minmax(320px, .96fr);
    align-items: center;
    gap: clamp(30px, 6vw, 76px);
}

.hero-copy {
    max-width: 650px;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    color: #9ffaf2;
    font-size: .78rem;
    font-weight: 850;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.eyebrow::before {
    content: "";
    width: 28px;
    height: 2px;
    background: var(--primary);
}

h1, h2, h3 {
    margin-top: 0;
    line-height: 1.08;
    text-wrap: balance;
}

h1 {
    margin-bottom: 20px;
    font-size: clamp(2.55rem, 7vw, 5.9rem);
    letter-spacing: -.055em;
}

h2 {
    margin-bottom: 18px;
    font-size: clamp(2rem, 4.6vw, 3.8rem);
    letter-spacing: -.04em;
}

h3 {
    margin-bottom: 10px;
    font-size: clamp(1.25rem, 2.2vw, 1.65rem);
}

.hero-copy > p {
    max-width: 60ch;
    color: #e3e9f7;
    font-size: clamp(1rem, 1.6vw, 1.18rem);
}

.hero-actions {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-facts {
    margin: 28px 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    list-style: none;
}

.hero-facts li {
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    background: rgba(5, 15, 44, .55);
    color: #f0f5ff;
    font-size: .82rem;
    font-weight: 750;
}

.hero-art {
    position: relative;
    min-height: 470px;
    display: grid;
    place-items: center;
}

.hero-logo {
    width: min(100%, 650px);
    filter: drop-shadow(0 26px 36px rgba(0, 0, 0, .44));
    animation: gentleFloat 5s ease-in-out infinite;
}

.hero-symbol {
    position: absolute;
    width: clamp(96px, 13vw, 180px);
    filter: drop-shadow(0 18px 24px rgba(0, 0, 0, .45));
}

.hero-symbol.one {
    right: 0;
    bottom: 4%;
    transform: rotate(9deg);
}

.hero-symbol.two {
    left: 0;
    top: 2%;
    transform: rotate(-11deg);
}

@keyframes gentleFloat {
    50% {
        transform: translateY(-8px);
    }
}

.section {
    padding-block: var(--section-space);
}

.section-soft {
    background: linear-gradient(180deg, rgba(255, 255, 255, .035), rgba(255, 255, 255, .012));
    border-block: 1px solid rgba(255, 255, 255, .06);
}

.section-heading {
    max-width: 740px;
    margin-bottom: 36px;
}

.section-heading p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

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

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

.card {
    padding: clamp(22px, 3vw, 32px);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    background: linear-gradient(145deg, rgba(20, 39, 91, .94), rgba(8, 21, 53, .94));
    box-shadow: 0 14px 36px rgba(0, 0, 0, .22);
}

.card p, .card li {
    color: var(--text-muted);
}

.icon-orb {
    width: 52px;
    height: 52px;
    margin-bottom: 18px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(0, 217, 198, .35);
    border-radius: 16px;
    background: rgba(0, 217, 198, .12);
    color: #9ffaf2;
    font-size: 1.4rem;
    font-weight: 900;
}

.game-preview {
    overflow: hidden;
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    min-height: 480px;
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: #08183d;
    box-shadow: 0 22px 60px rgba(0, 0, 0, .34);
}

.preview-copy {
    padding: clamp(28px, 5vw, 58px);
    align-self: center;
}

.preview-copy p {
    color: var(--text-muted);
}

.preview-visual {
    position: relative;
    min-height: 420px;
    background: url("../../game/assets/background.webp") center / cover no-repeat;
    isolation: isolate;
}

.preview-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, #08183d 0%, transparent 28%);
}

.preview-visual img {
    position: absolute;
    inset: 50% auto auto 50%;
    width: min(88%, 620px);
    transform: translate(-50%, -50%);
    filter: drop-shadow(0 20px 28px rgba(0, 0, 0, .48));
}

.steps {
    counter-reset: step;
}

.step {
    position: relative;
    padding-left: 72px;
}

.step::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: var(--accent);
    color: #11151c;
    font-weight: 950;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}
.gallery-grid img{
    width: 100%;
    height: 350px;
    object-fit: contain;
    border-radius: 24px;
}
.media-placeholder {
    aspect-ratio: 16 / 10;
    min-height: 220px;
    display: grid;
    place-items: center;
    padding: 24px;
    border: 2px dashed rgba(159, 250, 242, .42);
    border-radius: var(--radius-md);
    background: linear-gradient(145deg, rgba(0, 217, 198, .10), rgba(255, 63, 99, .08));
    text-align: center;
}

.media-placeholder strong {
    display: block;
    margin-bottom: 6px;
    color: #fff;
}

.media-placeholder span {
    color: var(--text-muted);
    font-size: .9rem;
}

.symbol-strip {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 12px;
}

.symbol-strip figure {
    margin: 0;
    aspect-ratio: 1;
    padding: 10px;
    display: grid;
    place-items: center;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(255, 255, 255, .045);
}

.symbol-strip img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.support-links {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.support-card {
    min-height: 112px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(255, 255, 255, .04);
    text-decoration: none;
}

.support-card strong {
    margin-bottom: 5px;
}

.support-card span {
    color: var(--text-muted);
    font-size: .84rem;
}

.faq-list {
    max-width: 900px;
    display: grid;
    gap: 12px;
}

.faq-item {
    overflow: hidden;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: rgba(255, 255, 255, .035);
}

.faq-question {
    width: 100%;
    min-height: 58px;
    padding: 17px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border: 0;
    background: transparent;
    text-align: left;
    font-weight: 850;
    cursor: pointer;
}

.faq-question::after {
    content: "+";
    font-size: 1.4rem;
}

.faq-question[aria-expanded="true"]::after {
    content: "−";
}

.faq-answer {
    padding: 0 20px 20px;
    color: var(--text-muted);
}

.site-footer {
    padding: 58px 0 28px;
    border-top: 1px solid var(--border);
    background: #020713;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr .8fr .8fr;
    gap: 34px;
}

.footer-brand p {
    max-width: 58ch;
    color: var(--text-muted);
}

.footer-links {
    display: grid;
    align-content: start;
    gap: 8px;
}

.footer-links a, .footer-links button {
    padding: 3px 0;
    border: 0;
    background: none;
    color: var(--text-muted);
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

.footer-links a:hover, .footer-links button:hover {
    color: #fff;
}

.footer-bottom {
    margin-top: 36px;
    padding-top: 22px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    border-top: 1px solid var(--border);
    color: #8f9ab5;
    font-size: .84rem;
}

.modal-layer {
    position: fixed;
    inset: 0;
    z-index: 1000;
    padding: 16px;
    display: grid;
    place-items: center;
    background: rgba(1, 5, 15, .88);
    backdrop-filter: blur(14px);
}

.modal {
    width: min(100%, 560px);
    max-height: calc(100svh - 32px);
    overflow-y: auto;
    padding: clamp(24px, 5vw, 38px);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 26px;
    background: linear-gradient(160deg, #14275b, #071432);
    box-shadow: 0 28px 90px rgba(0, 0, 0, .58);
}

.modal h2 {
    font-size: clamp(1.8rem, 6vw, 2.8rem);
}

.modal p {
    color: var(--text-muted);
}

.modal-actions {
    margin-top: 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.age-mark {
    width: 88px;
    height: 88px;
    margin-bottom: 22px;
    display: grid;
    place-items: center;
    border: 4px solid var(--accent);
    border-radius: 50%;
    color: var(--accent);
    font-size: 2rem;
    font-weight: 950;
}

.cookie-banner {
    position: fixed;
    left: 16px;
    right: 16px;
    bottom: 16px;
    z-index: 850;
    width: min(calc(100% - 32px), 980px);
    margin-inline: auto;
    padding: 20px;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 22px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 20px;
    background: rgba(6, 17, 45, .97);
    box-shadow: 0 22px 60px rgba(0, 0, 0, .34);
}

.cookie-banner p {
    margin: 4px 0 0;
    color: var(--text-muted);
    font-size: .9rem;
}

.cookie-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.cookie-actions .btn {
    min-height: 42px;
    padding: 9px 15px;
    font-size: .82rem;
}

.setting-row {
    margin: 16px 0;
    padding: 16px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(255, 255, 255, .035);
}

.setting-row input {
    width: 20px;
    height: 20px;
    margin-top: 3px;
}

.setting-row small {
    display: block;
    color: var(--text-muted);
}

.denied-panel {
    text-align: center;
}

.game-page-main {
    padding-block: 54px 100px;
}

.game-page-heading {
    max-width: 850px;
    margin: 0 auto 28px;
    text-align: center;
}

.game-stage {
    overflow: hidden;
    border: 1px solid rgba(0, 217, 198, .32);
    border-radius: 24px;
    background: #020713;
    box-shadow: 0 22px 60px rgba(0, 0, 0, .34);
}

.game-toolbar {
    padding: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-bottom: 1px solid var(--border);
    background: #09183b;
}

.game-toolbar p {
    margin: 0;
    color: var(--text-muted);
    font-size: .88rem;
}

.game-toolbar-actions {
    display: flex;
    gap: 8px;
}

.game-viewport {
    position: relative;
    width: 100%;
    min-height: min(74svh, 920px);
    display: grid;
    place-items: center;
    background: radial-gradient(circle, #102960, #020713 72%);
}

.game-viewport iframe {
    width: 100%;
    height: min(76svh, 920px);
    min-height: 620px;
    border: 0;
    background: #03091b;
}

.game-loader {
    max-width: 560px;
    padding: 34px;
    text-align: center;
}

.game-loader img {
    width: min(100%, 460px);
    margin: 0 auto 18px;
}

.game-disclaimer {
    margin-top: 18px;
    padding: 18px;
    border: 1px solid rgba(255, 216, 77, .28);
    border-radius: 16px;
    background: rgba(255, 216, 77, .07);
    color: #f6edc1;
    font-size: .92rem;
}

.legal-main {
    padding-block: 54px 96px;
}

.legal-shell {
    width: min(calc(100% - 32px), 940px);
    margin-inline: auto;
}

.legal-hero {
    margin-bottom: 34px;
    padding: clamp(28px, 5vw, 52px);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    background: linear-gradient(145deg, rgba(20, 39, 91, .96), rgba(8, 21, 53, .96));
}

.legal-hero p {
    color: var(--text-muted);
}

.legal-content {
    display: grid;
    gap: 18px;
}

.legal-content article {
    padding: clamp(22px, 4vw, 34px);
    border: 1px solid var(--border);
    border-radius: 18px;
    background: rgba(255, 255, 255, .035);
}

.legal-content p, .legal-content li {
    color: var(--text-muted);
}

.legal-content a {
    color: #9ffaf2;
}

.callout {
    padding: 18px;
    border-left: 4px solid var(--primary);
    border-radius: 0 14px 14px 0;
    background: rgba(0, 217, 198, .08);
}
.age-highlight{
    color: #fdfdfd;
    font-size: 0.95rem;
}
.footer-logo-container{
    display: flex;
    flex-direction: column;
}
.footer-logo-links {
    display: flex;
    align-items: center;
}
.footer-logo-links img{
    width: 130px !important;
    max-width: 130px;
}
@media (max-width: 980px) {
    .main-nav {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: min(84vw, 360px);
        padding: 118px 28px 28px;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        background: #06112d;
        box-shadow: -20px 0 55px rgba(0, 0, 0, .45);
        transform: translateX(105%);
        transition: transform .25s ease;
    }

    .main-nav.is-open {
        transform: translateX(0);
    }

    .main-nav a {
        padding: 13px 0;
        font-size: 1rem;
    }

    .mobile-toggle {
        position: relative;
        z-index: 2;
        display: block;
    }

    .header-actions .btn {
        display: none;
    }

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

    .hero-copy {
        max-width: 740px;
    }

    .hero-art {
        min-height: 340px;
    }

    .game-preview {
        grid-template-columns: 1fr;
    }

    .preview-visual {
        min-height: 360px;
    }

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

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

    .symbol-strip {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .container {
        width: min(calc(100% - 24px), var(--container));
    }

    .notice-inner {
        gap: 8px;
    }

    .notice-bar {
        font-size: .72rem;
    }

    .notice-bar .age-badge {
        min-width: 30px;
        min-height: 30px;
        font-size: .72rem;
    }

    .header-inner {
        min-height: 68px;
    }

    .brand img {
        width: 48px;
        height: 48px;
    }

    .brand-text {
        font-size: .9rem;
    }

    .hero {
        min-height: auto;
    }

    .hero-grid {
        padding-block: 56px 76px;
    }

    .hero-art {
        min-height: 260px;
    }

    .hero-logo {
        width: min(94%, 520px);
    }

    .hero-symbol {
        width: 96px;
    }

    .hero-symbol.two {
        left: -18px;
    }

    .hero-symbol.one {
        right: -18px;
    }

    .grid-2, .grid-3, .gallery-grid, .support-links {
        grid-template-columns: 1fr;
    }

    .symbol-strip {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .modal-actions {
        grid-template-columns: 1fr;
    }

    .cookie-banner {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .cookie-actions {
        justify-content: stretch;
    }

    .cookie-actions .btn {
        flex: 1 1 140px;
    }

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

    .footer-bottom {
        flex-direction: column;
    }

    .game-toolbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .game-toolbar-actions {
        width: 100%;
    }

    .game-toolbar-actions .btn {
        flex: 1;
    }

    .game-viewport {
        min-height: 620px;
    }

    .game-viewport iframe {
        height: 78svh;
        min-height: 600px;
    }
    .footer-logo-links {
        flex-direction: column;
    }
}

@media (max-width: 380px) {
    .brand-text {
        display: none;
    }

    .btn {
        width: 100%;
    }

    .hero-actions {
        display: grid;
    }

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

    .modal {
        padding: 22px 18px;
    }
}

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

    *, *::before, *::after {
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}
/* Desktop navigation */
.main-nav {
    display: flex;
    align-items: center;
    gap: 24px;
}

.mobile-toggle {
    display: none;
}

/* Mobile navigation */
@media (max-width: 900px) {
    .header-inner {
        position: relative;
    }

    .mobile-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        width: 44px;
        height: 44px;
        flex: 0 0 44px;
    }

    .main-nav {
        position: absolute;
        z-index: 1000;
        top: calc(100% + 10px);
        left: 0;
        right: 0;

        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;

        width: auto;
        max-width: 100%;
        padding: 10px;

        background: #07122f;
        border: 1px solid rgba(255, 255, 255, 0.14);
        border-radius: 16px;
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35);

        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-10px);

        transition:
                opacity 0.2s ease,
                visibility 0.2s ease,
                transform 0.2s ease;
    }

    .main-nav.is-open {
        opacity: 1;
        visibility: visible;
        pointer-events: initial;
        transform: translateY(0);
    }

    .main-nav a {
        display: block;
        width: 100%;
        min-width: 0;
        padding: 12px 14px;

        white-space: normal;
        overflow-wrap: anywhere;
        text-align: left;
    }

    .header-actions {
        min-width: 0;
        margin-left: auto;
    }

    .header-actions .btn {
        display: none;
    }
}