:root {
    --bg: #030806;
    --panel: rgba(5, 14, 10, 0.78);
    --panel-solid: #07140e;
    --line: rgba(142, 245, 191, 0.2);
    --text: #f1fff7;
    --muted: #b9d4c5;
    --green: #64e79d;
    --green-strong: #9dffc6;
    --blue: #67d8ff;
    --gold: #ffd67b;
    --discord: #5865f2;
    --shadow: 0 24px 80px rgba(0, 0, 0, 0.52);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text);
    background: var(--bg);
    font-family: Bahnschrift, "Segoe UI", Arial, sans-serif;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -2;
    background:
        linear-gradient(180deg, rgba(3, 8, 6, 0.72), rgba(3, 8, 6, 0.96)),
        url("assets/img/image-15.png") center / cover;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.018) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.018) 1px, transparent 1px);
    background-size: 34px 34px;
    pointer-events: none;
}

a,
button,
input {
    font: inherit;
}

a {
    color: inherit;
}

button {
    border: 0;
    cursor: pointer;
}

.central {
    min-height: 100vh;
    overflow: hidden;
}

.access-hero {
    position: relative;
    min-height: 100vh;
    display: grid;
    grid-template-rows: auto 1fr;
    padding: 18px;
}

.hero-media,
.hero-shade {
    position: absolute;
    inset: 0;
}

.hero-media {
    background:
        linear-gradient(90deg, rgba(3, 8, 6, 0.48), rgba(3, 8, 6, 0.58)),
        url("assets/img/image-15.png") center / cover;
    transform: scale(1.04);
    animation: sceneMove 18s ease-in-out infinite alternate;
}

.hero-shade {
    background:
        linear-gradient(180deg, rgba(3, 8, 6, 0.18), rgba(3, 8, 6, 0.94)),
        linear-gradient(90deg, rgba(3, 8, 6, 0.95) 0%, rgba(3, 8, 6, 0.72) 48%, rgba(3, 8, 6, 0.36) 100%);
}

.topbar,
.hero-content,
.info-band,
.toast {
    position: relative;
    z-index: 1;
}

.topbar {
    width: min(1180px, 100%);
    margin: 0 auto;
    min-height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 12px 14px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(3, 8, 6, 0.72);
    backdrop-filter: blur(14px);
    box-shadow: var(--shadow);
}

.brand {
    display: grid;
    gap: 1px;
    color: var(--green-strong);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.brand span {
    font-size: 0.78rem;
    color: var(--muted);
}

.brand strong {
    font-size: 1.08rem;
}

.quick-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px;
}

.quick-nav a {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 13px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    color: #def7e9;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.045);
    font-weight: 800;
}

.quick-nav a:hover {
    color: #041109;
    background: var(--green-strong);
}

.hero-content {
    width: min(1180px, 100%);
    margin: auto;
    padding: 42px 0 24px;
}

.eyebrow {
    margin: 0 0 14px;
    color: var(--green-strong);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
    font-weight: 900;
}

h1 {
    max-width: 760px;
    margin: 0;
    font-size: 5rem;
    line-height: 0.92;
    letter-spacing: 0;
    text-shadow: 0 18px 54px rgba(0, 0, 0, 0.58);
}

.hero-text {
    max-width: 620px;
    margin: 18px 0 0;
    color: #d9f5e6;
    font-size: 1.12rem;
    line-height: 1.65;
}

.action-grid {
    width: min(960px, 100%);
    margin-top: 26px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.action-card {
    min-height: 176px;
    display: grid;
    align-content: space-between;
    gap: 12px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    color: var(--text);
    text-align: left;
    text-decoration: none;
    background: rgba(5, 14, 10, 0.74);
    box-shadow: 0 18px 54px rgba(0, 0, 0, 0.36);
    backdrop-filter: blur(12px);
    transition: transform 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.action-card:hover {
    transform: translateY(-4px);
    border-color: rgba(157, 255, 198, 0.48);
}

.action-card span {
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #041109;
    background: var(--green-strong);
    font-weight: 900;
}

.action-card strong {
    font-size: 1.35rem;
}

.action-card small {
    color: var(--muted);
    line-height: 1.35;
}

.action-card.primary {
    background: linear-gradient(145deg, rgba(100, 231, 157, 0.28), rgba(5, 14, 10, 0.8));
}

.action-card.play {
    background: linear-gradient(145deg, rgba(103, 216, 255, 0.24), rgba(5, 14, 10, 0.8));
}

.action-card.copy {
    background: linear-gradient(145deg, rgba(255, 214, 123, 0.22), rgba(5, 14, 10, 0.8));
}

.action-card.discord {
    background: linear-gradient(145deg, rgba(88, 101, 242, 0.34), rgba(5, 14, 10, 0.82));
}

.server-strip {
    width: min(960px, 100%);
    margin-top: 14px;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 12px;
}

.server-strip div,
.info-band article {
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(5, 14, 10, 0.78);
    backdrop-filter: blur(12px);
}

.server-strip div {
    min-height: 82px;
    display: grid;
    align-content: center;
    gap: 6px;
    padding: 14px;
}

.server-strip small,
.info-band span {
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.74rem;
    font-weight: 900;
}

.server-strip strong {
    font-size: 1.18rem;
}

.info-band {
    width: min(1180px, calc(100% - 36px));
    margin: -26px auto 42px;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.info-band article {
    min-height: 150px;
    padding: 18px;
    box-shadow: var(--shadow);
}

.info-band strong {
    display: block;
    margin-top: 10px;
    font-size: 1.3rem;
}

.info-band p {
    margin: 10px 0 0;
    color: #d3eadf;
    line-height: 1.5;
}

.toast {
    position: fixed;
    left: 50%;
    bottom: 18px;
    max-width: min(460px, calc(100% - 24px));
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    border-radius: 8px;
    color: #041109;
    background: linear-gradient(135deg, var(--green-strong), var(--blue));
    box-shadow: var(--shadow);
    font-weight: 900;
    opacity: 0;
    pointer-events: none;
    transform: translate(-50%, 12px);
    transition: opacity 0.18s ease, transform 0.18s ease;
}

.toast.show {
    opacity: 1;
    transform: translate(-50%, 0);
}

.page-shell {
    width: min(960px, calc(100% - 24px));
    min-height: 100vh;
    margin: 0 auto;
    padding: 18px 0 42px;
    display: grid;
    align-content: start;
    gap: 18px;
}

.mini-nav {
    min-height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: rgba(3, 8, 6, 0.78);
    backdrop-filter: blur(14px);
    box-shadow: var(--shadow);
}

.mini-nav a {
    min-height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    border-radius: 8px;
    color: #e6fff0;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.045);
    font-weight: 900;
}

.mini-nav a:hover {
    color: #041109;
    background: var(--green-strong);
}

.simple-page {
    min-height: 520px;
    display: grid;
    align-content: center;
    gap: 18px;
    padding: 34px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(5, 14, 10, 0.82);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
}

.simple-page h1 {
    font-size: 4rem;
}

.simple-page p {
    max-width: 690px;
    margin: 0;
    color: #d9f5e6;
    line-height: 1.62;
    font-size: 1.08rem;
}

.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.big-button,
.light-button {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 900;
}

.big-button {
    color: #041109;
    background: linear-gradient(135deg, var(--green-strong), var(--blue));
}

.light-button {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.note-line {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    width: fit-content;
    padding: 0 14px;
    border-radius: 8px;
    color: #dff7ea;
    background: rgba(255, 255, 255, 0.06);
}

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

.step-list article,
.mini-grid article {
    min-height: 138px;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.045);
}

.store-page {
    min-height: 620px;
}

.store-grid article:first-child {
    background: linear-gradient(145deg, rgba(100, 231, 157, 0.18), rgba(255, 255, 255, 0.045));
}

.store-grid article:nth-child(2) {
    background: linear-gradient(145deg, rgba(255, 214, 123, 0.18), rgba(255, 255, 255, 0.045));
}

.store-grid article:nth-child(3) {
    background: linear-gradient(145deg, rgba(103, 216, 255, 0.18), rgba(255, 255, 255, 0.045));
}

.step-list span {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    color: #041109;
    background: var(--green-strong);
    font-weight: 900;
}

.step-list strong,
.mini-grid strong {
    display: block;
    margin-top: 12px;
    font-size: 1.15rem;
}

.step-list p,
.mini-grid p {
    margin-top: 8px;
    font-size: 0.96rem;
}

@keyframes sceneMove {
    from {
        transform: scale(1.04) translate3d(0, 0, 0);
    }
    to {
        transform: scale(1.1) translate3d(-18px, -10px, 0);
    }
}

@media (max-width: 980px) {
    h1 {
        font-size: 3.7rem;
    }

    .action-grid,
    .server-strip,
    .info-band,
    .step-list,
    .mini-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 680px) {
    .access-hero {
        padding: 10px;
    }

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

    .quick-nav {
        width: 100%;
        justify-content: flex-start;
    }

    .quick-nav a {
        flex: 1 1 92px;
    }

    h1 {
        font-size: 2.85rem;
    }

    .hero-text {
        font-size: 1rem;
    }

    .action-grid,
    .server-strip,
    .info-band,
    .step-list,
    .mini-grid {
        grid-template-columns: 1fr;
    }

    .action-card {
        min-height: 136px;
    }

    .info-band {
        width: calc(100% - 20px);
        margin-top: 10px;
    }

    .simple-page {
        min-height: auto;
        padding: 22px;
    }

    .simple-page h1 {
        font-size: 2.55rem;
    }

    .button-row,
    .big-button,
    .light-button {
        width: 100%;
    }
}
