:root {
    --bg: #080808;
    --panel: #121212;
    --fg: #ffffff;
    --muted: #b3b3b3;
    --line: rgba(255, 255, 255, 0.1);
    --yellow: #f3d23b;
    --yellow-hover: #ffe25a;
    --nav-h: 68px;
    --max: 1180px;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

html,
body {
    background: var(--bg);
    color: var(--fg);
    font-family: Inter, system-ui, sans-serif;
    -webkit-font-smoothing: antialiased;
}

::selection {
    background: var(--yellow);
    color: #111;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
    color: inherit;
    background: none;
    border: 0;
    cursor: pointer;
}

:focus-visible {
    outline: 2px solid var(--yellow);
    outline-offset: 3px;
}

h1, h2, h3 {
    font-family: "Bebas Neue", Impact, sans-serif;
    font-weight: 400;
    letter-spacing: 0.02em;
}

.wrap {
    width: min(var(--max), calc(100% - 40px));
    margin-inline: auto;
}

.wrap-wide {
    width: min(1480px, calc(100% - 32px));
}

.nav {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 40;
    height: var(--nav-h);
    background: rgba(8, 8, 8, 0.56);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid transparent;
    transition: background 0.25s ease, border-color 0.25s ease;
}

.nav.is-scrolled {
    background: rgba(8, 8, 8, 0.88);
    border-bottom-color: var(--line);
}

.nav-inner {
    height: 100%;
    width: min(var(--max), calc(100% - 40px));
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo {
    font-family: "Bebas Neue", Impact, sans-serif;
    font-size: 28px;
    letter-spacing: 0.12em;
}

.logo:hover {
    color: var(--yellow);
}

.menu {
    display: flex;
    gap: 26px;
}

.menu a {
    position: relative;
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 6px 0;
}

.menu a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: var(--yellow);
    transform: scaleX(0);
    transition: transform 0.2s ease;
}

.menu a:hover,
.menu a.active {
    color: #fff;
}

.menu a.active::after {
    transform: scaleX(1);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-user {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 600;
}

.nav-user strong {
    color: var(--yellow);
    font-size: 13px;
}

.store-account {
    padding: calc(var(--nav-h) + 18px) 0 14px;
    background: #080808;
}

.store-account-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.store-account p {
    margin: 0;
    color: #fff;
    font-size: 15px;
    font-weight: 600;
}

.store-account strong {
    color: var(--yellow);
}

.store-gate {
    min-height: 72vh;
    display: grid;
    place-items: center;
    padding: calc(var(--nav-h) + 40px) 0 80px;
}

.store-gate-inner {
    max-width: 520px;
    text-align: left;
}

.store-gate-inner h2 {
    font-size: clamp(48px, 8vw, 80px);
    margin: 6px 0 12px;
}

.store-gate-inner p {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 22px;
}

.page[data-page="store"] > .vbucks-shop,
.page[data-page="store"] #store-shop .vbucks-shop {
    padding-top: 28px;
}

.nav-toggle {
    display: none;
    width: 40px;
    height: 40px;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
    display: block;
    width: 16px;
    height: 1.5px;
    margin-inline: auto;
    background: #fff;
    position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
    content: "";
    position: absolute;
    left: 0;
}

.nav-toggle span::before { top: -5px; }
.nav-toggle span::after { top: 5px; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 18px;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    transition: background 0.18s ease, transform 0.18s ease, border-color 0.18s ease;
}

.btn svg {
    width: 16px;
    height: 16px;
}

.btn-yellow {
    background: var(--yellow);
    color: #111;
}

.btn-yellow:hover {
    background: var(--yellow-hover);
    transform: translateY(-1px);
}

.btn-ghost {
    border: 1px solid var(--line);
    color: #fff;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.28);
}

.btn-sm {
    min-height: 36px;
    padding: 0 14px;
}

.page {
    display: none;
}

.page.is-active {
    display: block;
    animation: fade-up 0.45s ease;
}

@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.hero,
.page-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: flex-end;
    padding: 120px 0 80px;
}

.page-hero {
    min-height: 78vh;
}

.page[data-page="store"] > .section {
    padding-top: 40px;
}

.vbucks-shop {
    padding: calc(var(--nav-h) + 28px) 0 56px;
    background:
        radial-gradient(1200px 420px at 50% 0%, rgba(255, 255, 255, 0.16), transparent 58%),
        linear-gradient(180deg, #4ec4f5 0%, #3db0ee 46%, #2f9fe3 100%);
}

.vbucks-shop-kicker {
    margin: 0 0 18px;
    color: rgba(255, 255, 255, 0.92);
    font-family: "Barlow Condensed", "Bebas Neue", sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-align: center;
}

.vbucks-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    align-items: end;
}

.vbucks-tile {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 0;
    background: transparent;
    text-align: center;
}

.vbucks-tile:hover .vbucks-art img {
    transform: scale(1.04);
}

.vbucks-extra {
    display: block;
    margin: 0 auto 10px;
    width: fit-content;
    padding: 3px 10px 2px;
    background: #e30613;
    color: #fff;
    font-family: "Barlow Condensed", "Bebas Neue", sans-serif;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.04em;
    line-height: 1.15;
    text-transform: uppercase;
}

.vbucks-art {
    display: grid;
    place-items: center;
    min-height: 210px;
    padding: 8px 10px 0;
}

.vbucks-art img {
    width: min(100%, 220px);
    height: 180px;
    object-fit: contain;
    transition: transform 0.18s ease;
}

.vbucks-amt {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin: 6px 0 10px;
    color: #fff;
    font-family: "Barlow Condensed", "Bebas Neue", sans-serif;
    line-height: 0.95;
    text-shadow: 0 1px 0 rgba(0, 0, 0, 0.12);
}

.vbucks-amt strong {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.vbucks-amt span {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.vbucks-price {
    display: grid;
    place-items: center;
    min-height: 38px;
    background: #ffe14a;
    color: #111;
    font-family: "Barlow Condensed", "Bebas Neue", sans-serif;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.hero-media,
.hero-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(8, 8, 8, 0.42) 0%, transparent 55%),
        linear-gradient(180deg, rgba(8, 8, 8, 0.18) 0%, rgba(8, 8, 8, 0.28) 42%, #080808 100%);
}

.hero-copy,
.page-hero-copy {
    position: relative;
    max-width: 720px;
}

.welcome {
    margin-bottom: 10px;
    color: #f0f0f0;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}

.hero h1,
.page-hero h1 {
    font-size: clamp(72px, 13vw, 140px);
    line-height: 0.82;
    margin-bottom: 16px;
    text-shadow: 0 8px 40px rgba(0, 0, 0, 0.55);
}

.hero p,
.page-hero p {
    max-width: 480px;
    margin-bottom: 26px;
    color: #ececec;
    font-size: 17px;
    line-height: 1.55;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.55);
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.section {
    padding: 64px 0 88px;
}

.section-tight {
    padding-top: 0;
}

.section-head {
    margin-bottom: 22px;
}

.section-head h2 {
    font-size: clamp(40px, 5vw, 60px);
}

.modes {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.mode {
    position: relative;
    min-height: 0;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 10px;
    background: #000;
}

.mode img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.55s ease;
}

.mode:hover img {
    transform: scale(1.05);
}

.mode::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 46%, rgba(0, 0, 0, 0.86) 100%);
}

.mode-copy {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 16px;
    z-index: 1;
}

.mode strong {
    display: block;
    font-family: "Bebas Neue", Impact, sans-serif;
    font-size: 36px;
    letter-spacing: 0.04em;
}

.mode span {
    display: block;
    margin-top: 4px;
    color: #d6d6d6;
    font-size: 13px;
    line-height: 1.4;
}

.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.steps article {
    padding: 24px 22px 26px;
    border-radius: 10px;
    background: var(--panel);
    border: 1px solid var(--line);
}

.steps em {
    display: block;
    margin-bottom: 20px;
    color: var(--yellow);
    font-family: "Bebas Neue", Impact, sans-serif;
    font-size: 28px;
    font-style: normal;
}

.steps h3 {
    font-size: 34px;
    margin-bottom: 6px;
}

.steps p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
}

.band {
    padding: 12px 0 88px;
}

.band-grid {
    display: grid;
    grid-template-columns: 0.75fr 1.25fr;
    gap: 48px;
    align-items: center;
}

.band h2 {
    font-size: clamp(52px, 7vw, 88px);
    line-height: 0.88;
    margin-bottom: 14px;
}

.band p {
    max-width: 380px;
    margin-bottom: 24px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.55;
}

.band-shot {
    overflow: hidden;
    border-radius: 12px;
    background: #000;
    border: 1px solid var(--line);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.5);
}

.cta {
    padding: 72px 0 96px;
    border-top: 1px solid var(--line);
}

.cta h2 {
    font-size: clamp(56px, 8vw, 100px);
    line-height: 0.86;
    margin-bottom: 14px;
}

.cta p {
    margin-bottom: 22px;
    color: var(--muted);
}

.specs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 22px;
}

.specs-ios,
.specs-mobile {
    grid-template-columns: repeat(2, 1fr);
}

.platform-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 22px;
}

.section-head p {
    margin-top: 8px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.45;
    max-width: 46ch;
}

#dl-windows,
#dl-ios,
#dl-android {
    scroll-margin-top: 88px;
}

.specs > div {
    padding: 16px 16px 18px;
    border-radius: 10px;
    background: var(--panel);
    border: 1px solid var(--line);
}

.specs span {
    display: block;
    margin-bottom: 4px;
    color: var(--muted);
    font-size: 11px;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.specs strong,
.specs a {
    font-size: 15px;
    font-weight: 600;
}

.specs a {
    border-bottom: 1px solid rgba(255, 255, 255, 0.28);
}

.specs a:hover {
    color: var(--yellow);
}

.scan-links {
    display: flex;
    gap: 12px;
}

.scan-hint {
    margin: 8px 0 0;
    font-size: 12px;
    font-weight: 400;
}

.scan-hint a {
    color: var(--muted);
    font-weight: 400;
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.shot {
    overflow: hidden;
    border-radius: 12px;
    background: #000;
    border: 1px solid var(--line);
}

.shot img {
    width: 100%;
}

.thumbs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-top: 12px;
}

.thumb {
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid transparent;
    opacity: 0.5;
    transition: opacity 0.18s ease, border-color 0.18s ease;
}

.thumb.is-active,
.thumb:hover {
    opacity: 1;
    border-color: rgba(255, 255, 255, 0.4);
}

.portal {
    position: relative;
    min-height: 100vh;
    padding: calc(var(--nav-h) + 32px) 0 80px;
}

.portal-bg,
.portal-bg img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.portal-bg img {
    filter: saturate(0.88) brightness(0.5);
}

.portal-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(75% 55% at 50% 10%, rgba(8, 8, 8, 0.2) 0%, rgba(8, 8, 8, 0.55) 48%, #080808 100%),
        linear-gradient(180deg, rgba(8, 8, 8, 0.3) 0%, rgba(8, 8, 8, 0.72) 70%, #080808 100%);
}

.portal-inner {
    position: relative;
}

.portal-head {
    max-width: 640px;
    margin-bottom: 28px;
}

.portal-head h1 {
    font-size: clamp(72px, 11vw, 120px);
    line-height: 0.82;
    margin-bottom: 12px;
    text-shadow: 0 8px 40px rgba(0, 0, 0, 0.55);
}

.portal-head p:last-child {
    color: #ececec;
    font-size: 16px;
    line-height: 1.5;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.55);
}

.islands-stage {
    position: relative;
    min-height: 100vh;
    padding: 0 0 88px;
}

.islands-world {
    position: sticky;
    top: 0;
    height: 100vh;
    margin-bottom: -100vh;
    pointer-events: none;
    z-index: 0;
}

.islands-world img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: saturate(0.95) brightness(0.62);
}

.islands-world::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 55% at 50% 18%, rgba(8, 8, 8, 0.28) 0%, transparent 70%),
        rgba(8, 8, 8, 0.22);
}

.islands-hero {
    position: relative;
    z-index: 1;
    padding: 132px 0 36px;
    text-align: center;
}

.islands-hero h1 {
    font-size: clamp(72px, 13vw, 140px);
    line-height: 0.82;
    margin-bottom: 16px;
    text-shadow: 0 8px 40px rgba(0, 0, 0, 0.55);
}

.islands-hero p:last-child {
    max-width: 480px;
    margin: 0 auto;
    color: #ececec;
    font-size: 17px;
    line-height: 1.55;
    text-shadow: 0 2px 16px rgba(0, 0, 0, 0.55);
}

.islands-stage-inner {
    position: relative;
    z-index: 1;
    padding-top: 28px;
}

.island-portal {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 36px 20px;
    justify-items: start;
}

.island {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    text-align: center;
    perspective: 720px;
}

.rift-svg {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.island-hud {
    position: relative;
    z-index: 2;
    margin-bottom: 8px;
    font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
}

.island-code {
    display: block;
    margin: 0 auto 6px;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.85);
    cursor: pointer;
}

.island-hud .island-creator {
    display: block;
    margin-bottom: 1px;
    color: #7ec8ff;
    font-size: 17px;
    font-weight: 600;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.85);
}

.island-hud strong {
    display: block;
    margin-bottom: 1px;
    color: #fff;
    font-family: "Barlow Condensed", "Arial Narrow", sans-serif;
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.85);
}

.island-desc {
    max-width: 360px;
    margin: 0 auto;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.2;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.85);
}

.rift {
    position: relative;
    width: 100%;
    aspect-ratio: 1.48 / 1;
    filter: url(#riftEdge);
    cursor: pointer;
    transform-style: preserve-3d;
    transition: transform 0.12s ease-out;
}

.rift-bloom,
.rift-bloom-hot {
    position: absolute;
    inset: -3%;
    pointer-events: none;
    border-radius: 50%;
}

.rift-bloom {
    background: radial-gradient(ellipse 60% 54% at 50% 50%, transparent 40%, rgba(150, 225, 255, 0.42) 54%, rgba(80, 185, 255, 0.16) 66%, transparent 76%);
    filter: blur(14px);
    animation: rift-flow 14s ease-in-out infinite;
}

.rift-bloom-hot {
    background: radial-gradient(ellipse 50% 44% at 50% 50%, transparent 42%, rgba(220, 245, 255, 0.32) 56%, transparent 70%);
    filter: blur(6px);
    mix-blend-mode: screen;
    animation: rift-flow 19s ease-in-out infinite reverse;
}

.rift-hole {
    position: absolute;
    inset: 13% 11%;
    overflow: hidden;
    border-radius: 50% 49% 51% 50% / 48% 50% 50% 52%;
    background: #02030a;
    -webkit-mask-image: radial-gradient(ellipse 84% 80% at 50% 50%, #000 38%, transparent 76%);
    mask-image: radial-gradient(ellipse 84% 80% at 50% 50%, #000 38%, transparent 76%);
}

.rift-hole img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.95) saturate(0.92) contrast(1.05);
}

.rift-mist {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 49% 52%, rgba(255, 255, 255, 0.16) 0 2px, transparent 14px),
        radial-gradient(ellipse at 50% 50%, transparent 55%, rgba(0, 0, 0, 0.16) 100%);
    animation: rift-flow 22s ease-in-out infinite;
}

.island-status {
    grid-column: 1 / -1;
    color: var(--muted);
    font-size: 14px;
}

@keyframes rift-flow {
    0% { transform: translate3d(-1.5%, 0.8%, 0) rotate(-1deg); }
    50% { transform: translate3d(1.6%, -1%, 0) rotate(1deg); }
    100% { transform: translate3d(-1.5%, 0.8%, 0) rotate(-1deg); }
}

.store-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}

.store-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: 10px;
    background: var(--panel);
    border: 1px solid var(--line);
    cursor: pointer;
}

.store-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
}

.store-card.is-hot {
    border-color: rgba(243, 210, 59, 0.42);
}

.store-card-stage,
.store-modal-stage {
    position: relative;
    overflow: hidden;
    background: #0a0a0a;
}

.store-reel {
    display: flex;
    width: 200%;
    height: 220px;
    transform: translate3d(0, 0, 0);
    will-change: transform;
}

.store-reel.is-move {
    transform: translate3d(-50%, 0, 0);
    transition: transform 0.72s cubic-bezier(0.2, 1.42, 0.32, 1);
}

.store-reel img {
    flex: 0 0 50%;
    width: 50%;
    height: 100%;
    object-fit: contain;
    background: #0a0a0a;
}

.store-card-stage img {
    width: 100%;
    height: 220px;
    object-fit: contain;
    background: #0a0a0a;
}

.store-reel-modal {
    height: 280px;
}

.store-card-copy {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 22px 22px 24px;
}

.store-card-tag {
    display: inline-block;
    margin-bottom: 8px;
    color: var(--yellow);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.store-card h3 {
    font-size: 40px;
    margin-bottom: 6px;
}

.store-price {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    margin-bottom: 10px;
    line-height: 1.05;
}

.store-price s {
    color: #e23b3b;
    font-size: 15px;
    font-weight: 700;
    text-decoration: line-through;
    text-decoration-thickness: 2px;
}

.store-price strong,
.store-card strong {
    color: var(--yellow);
    font-size: 26px;
}

.store-modal-card .store-price {
    padding: 6px 24px 0;
}

.store-card p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 14px;
}

.store-card ul,
.store-modal-card ul {
    margin: 0 0 20px;
    padding: 0;
    list-style: none;
}

.store-card li,
.store-modal-card li {
    position: relative;
    padding: 4px 0 4px 14px;
    color: #d6d6d6;
    font-size: 13px;
    line-height: 1.45;
}

.store-card li::before,
.store-modal-card li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--yellow);
}

.store-card-copy .btn {
    margin-top: auto;
    align-self: flex-start;
}

.store-modal {
    position: fixed;
    inset: 0;
    z-index: 80;
    display: grid;
    place-items: center;
    padding: 24px;
}

.store-modal[hidden] {
    display: none;
}

.store-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
}

.store-modal-card {
    position: relative;
    z-index: 1;
    width: min(520px, 100%);
    max-height: calc(100vh - 48px);
    overflow: auto;
    padding: 0 0 28px;
    border-radius: 10px;
    background: #121212;
    border: 1px solid var(--line);
}

.store-modal-cap {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 12px;
    padding: 28px 16px 12px;
    background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.78));
    color: #fff;
    font-size: 14px;
    font-weight: 600;
}

.store-modal-cap #store-modal-count {
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.72);
    font-weight: 600;
    letter-spacing: 0.04em;
}

.store-modal-card li.is-current {
    color: #fff;
}

.store-modal-note {
    padding: 0 24px 18px !important;
    color: var(--muted);
    font-size: 13px !important;
    line-height: 1.5;
}

.store-modal-card .store-card-tag {
    display: block;
    padding: 20px 24px 0;
    margin-bottom: 0;
}

.store-modal-card h2 {
    padding: 8px 24px 0;
    font-size: 48px;
}

.store-modal-card ul {
    padding: 0 24px;
}

.store-modal-card p {
    padding: 12px 24px 20px;
    color: var(--muted);
    font-size: 15px;
    line-height: 1.55;
}

.store-modal-card .btn {
    margin-left: 24px;
}

.store-modal-card .btn:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.store-modal-x {
    position: absolute;
    top: 10px;
    right: 12px;
    z-index: 2;
    width: 36px;
    height: 36px;
    color: #fff;
    font-size: 28px;
    line-height: 1;
}

.site-footer {
    padding: 28px 0 36px;
    border-top: 1px solid var(--line);
    color: var(--muted);
    font-size: 12px;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-grid strong {
    font-family: "Bebas Neue", Impact, sans-serif;
    font-size: 22px;
    letter-spacing: 0.12em;
    color: #fff;
}

.footer-grid nav {
    display: flex;
    gap: 18px;
}

.footer-grid nav a:hover {
    color: #fff;
}

@media (max-width: 980px) {
    .nav-user {
        display: none;
    }

    .modes,
    .steps,
    .band-grid,
    .specs {
        grid-template-columns: 1fr;
    }

    .store-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .vbucks-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 22px 16px;
    }

    .island-portal {
        grid-template-columns: repeat(2, 1fr);
    }

    .mode {
        aspect-ratio: 16 / 9;
    }

    .hero,
    .page-hero {
        min-height: 88vh;
        padding: 100px 0 44px;
    }

    .page-hero {
        min-height: 68vh;
    }

}

@media (max-width: 760px) {
    .nav-toggle {
        display: grid;
        place-items: center;
    }

    .menu {
        display: none;
        position: absolute;
        top: var(--nav-h);
        left: 0;
        right: 0;
        padding: 12px 16px 16px;
        background: #101010;
        flex-direction: column;
        border-bottom: 1px solid var(--line);
    }

    .nav.is-open .menu {
        display: flex;
    }

    .thumbs {
        grid-template-columns: 1fr;
    }

    .island-portal {
        grid-template-columns: 1fr;
    }

    .store-grid {
        grid-template-columns: 1fr;
    }

    .vbucks-row {
        grid-template-columns: 1fr 1fr;
    }

    .island {
        gap: 4px;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .page.is-active,
    .mode img,
    .rift-bloom,
    .rift-bloom-hot,
    .rift-mist,
    .btn,
    .nav {
        animation: none;
        transition: none;
    }
}
