@import url('https://fonts.googleapis.com/css2?family=Anton&family=Inter+Tight:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

:root {
    color-scheme: dark;
    --bg: #0a0d10;
    --bg-2: #0e1216;
    --bg-3: #151b21;
    --ink: #e8eef4;
    --muted: #7a8896;
    --muted-2: #9aa6b2;
    --diamond: #6fdfd0;
    --diamond-bright: #a8f0e6;
    --diamond-soft: rgba(111, 223, 208, 0.13);
    --green: #3aff7a;
    --gold: #f0d04a;
    --violet: #c97aff;
    --line: rgba(255, 255, 255, 0.08);
    --line-strong: rgba(111, 223, 208, 0.36);
    --shadow: 0 32px 90px rgba(0, 0, 0, 0.4);
    --font-body: "Inter Tight", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    --font-display: "Anton", "Inter Tight", Impact, sans-serif;
    --font-mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Consolas, monospace;
    --max: 1180px;
    --site-header-height: 4.625rem;
    --desktop-stats-height: 7rem;
    --desktop-stats-bottom-pad: 0.75rem;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 6rem;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: var(--font-body);
    color: var(--ink);
    background:
        radial-gradient(circle at 78% 12%, rgba(111, 223, 208, 0.16), transparent 28rem),
        linear-gradient(180deg, var(--bg) 0%, #090b0e 100%);
}

body:not(.home-page) {
    display: flex;
    flex-direction: column;
}

img,
svg {
    display: block;
    max-width: 100%;
}

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

button {
    font: inherit;
}

.skip-link {
    position: absolute;
    left: -999px;
    top: -999px;
    z-index: 100;
    padding: 0.75rem 1rem;
    color: var(--bg);
    background: var(--diamond);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.skip-link:focus {
    left: 1rem;
    top: 1rem;
}

.orb {
    position: fixed;
    width: 18rem;
    height: 18rem;
    border-radius: 999px;
    filter: blur(4rem);
    opacity: 0.16;
    pointer-events: none;
}

.orb-one {
    top: -5rem;
    left: -5rem;
    background: var(--diamond);
}

.orb-two {
    top: 3rem;
    right: -6rem;
    background: var(--gold);
}

.orb-three {
    bottom: -6rem;
    left: 20%;
    background: var(--violet);
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    min-height: var(--site-header-height);
    padding: 1rem 3rem;
    border-bottom: 1px solid var(--line);
    background: rgba(10, 13, 16, 0.84);
    backdrop-filter: blur(16px);
}

.logo {
    font-family: var(--font-display);
    font-size: 1.4rem;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.site-header .logo {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    min-width: max-content;
}

.logo-mark {
    width: 2rem;
    height: 2rem;
    flex: 0 0 auto;
    object-fit: contain;
}

.site-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
    color: var(--muted);
    font-size: 0.96rem;
    font-weight: 700;
}

.site-nav a {
    transition: color 0.18s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
    color: var(--ink);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.live-pill,
.ip-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--muted-2);
    font-family: var(--font-mono);
    font-size: 0.76rem;
    white-space: nowrap;
}

.ip-chip {
    padding: 0.55rem 0.75rem;
    border: 1px solid var(--line-strong);
    background: rgba(111, 223, 208, 0.06);
    color: var(--diamond);
    cursor: pointer;
}

.ip-chip span {
    color: var(--ink);
}

.status-dot,
.live-pill .status-dot {
    width: 0.45rem;
    height: 0.45rem;
    background: var(--green);
    box-shadow: 0 0 0.85rem var(--green);
}

.play-button,
.primary-button,
.secondary-button,
.ip-box button,
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 2.375rem;
    border: 1px solid rgba(111, 223, 208, 0.44);
    background: var(--diamond-soft);
    color: var(--diamond-bright);
    cursor: pointer;
    font-family: var(--font-body);
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.play-button {
    padding: 0.55rem 1.1rem;
}

.play-button:hover,
.primary-button:hover,
.ip-box button:hover,
.btn:hover {
    transform: translateY(-0.5px);
    background: rgba(111, 223, 208, 0.18);
    border-color: rgba(111, 223, 208, 0.58);
    box-shadow: 0 0 1rem rgba(111, 223, 208, 0.12);
}

.copy-ip.copied,
.ip-box button.copied,
.play-button.copied {
    background: rgba(58, 255, 122, 0.18);
    border-color: rgba(58, 255, 122, 0.58);
    color: var(--ink);
}

.reveal-hero {
    position: relative;
    min-height: 0;
    height: calc(100svh - var(--site-header-height) - var(--desktop-stats-height) - var(--desktop-stats-bottom-pad));
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(28rem, 0.88fr);
    align-items: center;
    gap: 2.5rem;
    padding: 3.2rem 3rem 5.4rem;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    right: 8%;
    top: 12%;
    width: 42rem;
    height: 42rem;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(111, 223, 208, 0.34), transparent 64%);
    filter: blur(3rem);
    opacity: 0.62;
}

.hero-grid {
    position: absolute;
    inset: auto 0 0;
    height: 48%;
    opacity: 0.48;
    background:
        linear-gradient(180deg, transparent, rgba(111, 223, 208, 0.05)),
        repeating-linear-gradient(90deg, rgba(111, 223, 208, 0.1) 0 1px, transparent 1px 4rem),
        repeating-linear-gradient(0deg, rgba(111, 223, 208, 0.08) 0 1px, transparent 1px 4rem);
    mask-image: linear-gradient(180deg, transparent, #000 38%);
}

.hero-copy,
.steve-stage {
    position: relative;
    z-index: 1;
}

.hero-copy {
    max-width: 42rem;
}

.mono-label {
    margin: 0;
    color: var(--diamond);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.24em;
    text-transform: uppercase;
}

.hero-label {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    margin-bottom: 1.5rem;
}

.hero-label span {
    width: 2rem;
    height: 1px;
    background: var(--diamond);
}

.hero-copy h1 {
    margin: 0;
    font-family: var(--font-display);
    font-size: clamp(3.7rem, min(5.7vw, 11svh), 5.35rem);
    font-weight: 400;
    line-height: 0.94;
    text-transform: uppercase;
    letter-spacing: 0;
}

.hero-line {
    display: inline-block;
}

.hero-line-accent {
    color: var(--diamond);
    text-shadow: 0 0 4rem rgba(111, 223, 208, 0.34);
}

.hero-line.line-flash {
    animation: heroLineFlash 0.55s cubic-bezier(0.2, 0.7, 0.3, 1.1) both;
}

.lead {
    max-width: 31rem;
    margin: 1.35rem 0 0;
    color: var(--muted-2);
    font-size: 1rem;
    line-height: 1.42;
}

.hero-meta {
    margin: 0.75rem 0 0;
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.16em;
    line-height: 1;
    text-transform: uppercase;
}

.connect-block {
    margin-top: 1.45rem;
    max-width: 31rem;
}

.connect-block .mono-label {
    margin-bottom: 0.65rem;
}

.ip-box {
    display: flex;
    min-height: 3.4rem;
    border: 1px solid var(--line-strong);
    background: var(--bg-2);
    box-shadow: 0 0 2.5rem rgba(111, 223, 208, 0.18);
}

.ip-box code {
    flex: 1;
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
    color: var(--ink);
    font-family: var(--font-mono);
    font-size: 1.12rem;
    font-weight: 600;
}

.ip-box button {
    min-width: 8.5rem;
    padding: 0 1.4rem;
    border-width: 0 0 0 1px;
    background: transparent;
    color: var(--diamond);
}

.play-now-link {
    width: fit-content;
    margin-top: 1rem;
    padding: 0 1.4rem;
}

.steve-stage {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: min(35rem, calc(100svh - var(--site-header-height) - var(--desktop-stats-height) - var(--desktop-stats-bottom-pad)));
    cursor: pointer;
}

.steve-stage::after {
    content: "";
    position: absolute;
    bottom: 3.25rem;
    left: 50%;
    width: 20rem;
    height: 2.4rem;
    transform: translateX(-50%);
    background: radial-gradient(ellipse, rgba(111, 223, 208, 0.34), transparent 70%);
    filter: blur(0.85rem);
}

.steve-svg {
    width: min(100%, clamp(18rem, 34svh, 25rem));
    height: auto;
    filter: drop-shadow(0 2rem 2.2rem rgba(0, 0, 0, 0.62));
    image-rendering: pixelated;
}

.armor-piece {
    opacity: 0;
    transform: translateY(-0.75rem) scale(1.06);
    transform-origin: center;
    filter: brightness(2.1) saturate(1.3);
}

.armor-piece.is-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: brightness(1) saturate(1);
    animation: armorEquip 0.42s cubic-bezier(0.18, 0.7, 0.25, 1.1) both;
}

.armor-sword.is-visible {
    animation: swordEquip 0.5s cubic-bezier(0.18, 0.7, 0.25, 1.1) both;
}

.armor-readout {
    position: absolute;
    top: 4.4rem;
    left: -1rem;
    display: grid;
    gap: 0.6rem;
    width: 13.5rem;
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.15em;
    text-align: right;
    text-transform: uppercase;
}

.armor-readout span {
    position: relative;
    padding-right: 1.45rem;
    opacity: 0.35;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.armor-readout span::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0.1rem;
    width: 0.7rem;
    height: 0.7rem;
    border: 1px solid currentColor;
}

.armor-readout .is-active {
    color: var(--diamond);
    opacity: 1;
}

.armor-readout .is-active::after {
    background: var(--diamond);
    box-shadow: 0 0 0.8rem rgba(111, 223, 208, 0.45);
}

.stats-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-bottom: var(--desktop-stats-bottom-pad);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    background: var(--bg-2);
}

.stats-strip div {
    min-height: var(--desktop-stats-height);
    padding: 1.45rem 1.5rem;
    border-right: 1px solid var(--line);
}

.stats-strip div:last-child {
    border-right: 0;
}

.stats-strip strong {
    display: block;
    position: relative;
    overflow: hidden;
    color: var(--diamond);
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 4.5vw, 3.5rem);
    font-weight: 400;
    font-variant-numeric: tabular-nums;
    line-height: 1;
    will-change: transform, opacity;
}

.stats-strip .stat-number {
    display: block;
    font: inherit;
    letter-spacing: inherit;
    text-transform: none;
}

.stats-strip .stat-number-previous {
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
}

.stats-strip .is-rolling .stat-number-current {
    animation: statRollIn var(--stat-roll-duration, 0.42s) cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.stats-strip .is-rolling .stat-number-previous {
    animation: statRollOut var(--stat-roll-duration, 0.42s) cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.stats-strip strong[data-metric="lifetime-playtime"] {
    display: flex;
    align-items: flex-start;
    min-height: clamp(2.6rem, 4.5vw, 3.5rem);
    font-size: clamp(2.6rem, 4.5vw, 3.5rem);
    letter-spacing: 0;
    white-space: nowrap;
}

.stats-strip strong[data-metric="chunks-generated"] {
    display: flex;
    align-items: flex-start;
    min-height: clamp(2.6rem, 4.5vw, 3.5rem);
    white-space: nowrap;
}

.stats-strip .chunk-count-parts {
    display: inline-flex;
    align-items: baseline;
    font: inherit;
    letter-spacing: 0;
    line-height: 1;
    text-transform: none;
    white-space: nowrap;
}

.stats-strip .chunk-count-digit {
    display: inline-block;
    position: relative;
    min-width: 0.58ch;
    overflow: hidden;
    font: inherit;
    line-height: 1;
    text-align: center;
    vertical-align: baseline;
}

.stats-strip .chunk-count-separator {
    display: inline-block;
    font: inherit;
    line-height: 1;
    opacity: 0.9;
}

.stats-strip .playtime-parts {
    display: flex;
    align-items: baseline;
    gap: 0.06em;
    font: inherit;
    letter-spacing: 0;
    line-height: 1;
    text-transform: none;
    white-space: nowrap;
}

.stats-strip .playtime-part {
    display: inline-flex;
    align-items: baseline;
    gap: 0.015em;
    font: inherit;
    line-height: 1;
}

.stats-strip .playtime-value {
    display: inline-block;
    position: relative;
    min-width: auto;
    overflow: hidden;
    font: inherit;
    line-height: 1;
    text-align: left;
    vertical-align: baseline;
}

.stats-strip [data-playtime-part="hours"] .playtime-value,
.stats-strip [data-playtime-part="minutes"] .playtime-value {
    min-width: 2ch;
}

.stats-strip .playtime-unit {
    font-family: inherit;
    font-size: clamp(1.55rem, 2.8vw, 2.15rem);
    font-weight: inherit;
    line-height: 1;
    opacity: 0.82;
}

.stats-strip div > span {
    display: block;
    margin-top: 0.55rem;
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.content-section {
    padding: 5rem 3rem;
    border-bottom: 1px solid var(--line);
}

.section-title {
    display: flex;
    align-items: baseline;
    gap: 1.1rem;
    max-width: var(--max);
    margin: 0 auto 2.5rem;
}

.section-title-row {
    justify-content: space-between;
    gap: 2rem;
}

.section-title-row > div {
    display: flex;
    align-items: baseline;
    gap: 1.1rem;
}

.section-title h2,
.commerce-panel h2,
.community-panel h2 {
    margin: 0;
    font-family: var(--font-display);
    font-size: 5rem;
    font-weight: 400;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0;
}

.ethos-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    max-width: var(--max);
    margin: 0 auto;
    border-top: 1px solid var(--line);
}

.ethos-grid article {
    min-height: 13.75rem;
    padding: 1.9rem 1.5rem;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.ethos-grid article:last-child {
    border-right: 0;
}

.ethos-grid strong {
    display: block;
    color: var(--diamond);
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 400;
    line-height: 1;
}

.ethos-grid p {
    margin: 1.1rem 0 0;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.45;
}

.step-counter {
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 0.76rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.join-tabs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
    max-width: var(--max);
    margin: 0 auto 2rem;
}

.join-tabs button {
    min-height: 6.2rem;
    padding: 1.2rem 1.35rem;
    border: 0;
    background: var(--bg-2);
    color: var(--ink);
    cursor: pointer;
    text-align: left;
    font-family: var(--font-mono);
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    transition: background-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.join-tabs button span {
    display: block;
    margin-top: 0.55rem;
    font-family: var(--font-display);
    font-size: 1.35rem;
    letter-spacing: 0;
    line-height: 1;
}

.join-tabs button.is-active {
    background: rgba(111, 223, 208, 0.14);
    color: var(--diamond-bright);
    box-shadow: inset 0 0 0 1px rgba(111, 223, 208, 0.48);
}

.join-panel {
    display: grid;
    grid-template-columns: 1.18fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: var(--max);
    min-height: 23rem;
    margin: 0 auto;
    padding: 2.5rem;
    background: var(--bg-2);
    box-shadow: var(--shadow);
}

.join-screenshot-frame {
    position: relative;
    display: block;
    min-height: 19rem;
    margin: 0;
    overflow: hidden;
    border: 1px solid var(--line-strong);
    background: #171717;
    box-shadow: 0 0 2rem rgba(111, 223, 208, 0.15);
}

.join-screenshot-frame img {
    width: 100%;
    height: 100%;
    min-height: 19rem;
    object-fit: cover;
}

.join-copy h3 {
    margin: 0.75rem 0 1rem;
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 400;
    line-height: 0.95;
    text-transform: uppercase;
}

.join-copy p:not(.mono-label) {
    margin: 0 0 1.7rem;
    color: var(--muted-2);
    font-size: 1.06rem;
    line-height: 1.55;
}

.step-actions {
    display: flex;
    gap: 0.7rem;
}

.primary-button,
.secondary-button {
    padding: 0 1.25rem;
}

.secondary-button {
    background: transparent;
    color: var(--ink);
    border-color: var(--line);
}

.primary-button:disabled,
.secondary-button:disabled {
    opacity: 0.35;
    cursor: not-allowed;
    transform: none;
}

.split-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid var(--line);
}

.commerce-panel,
.community-panel {
    padding: 4rem 3rem;
}

.commerce-panel {
    border-right: 1px solid var(--line);
}

.commerce-panel h2,
.community-panel h2 {
    margin-top: 0.9rem;
    font-size: 6rem;
}

.commerce-panel > p:not(.mono-label),
.community-panel > p:not(.mono-label) {
    max-width: 29rem;
    margin: 0.75rem 0 2rem;
    color: var(--muted-2);
    line-height: 1.55;
}

.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem;
    margin-bottom: 1.4rem;
}

.product-grid article {
    position: relative;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 0.85rem;
    align-items: center;
    min-height: 4.7rem;
    padding: 0.85rem;
    border: 1px solid var(--line);
    background: var(--bg-2);
}

.product-grid article.is-featured {
    border-color: var(--line-strong);
    box-shadow: 0 0 1.5rem rgba(111, 223, 208, 0.16);
}

.product-grid article > span {
    position: absolute;
    top: 0.45rem;
    right: 0.5rem;
    color: var(--diamond);
    font-family: var(--font-mono);
    font-size: 0.5rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.product-grid i {
    width: 2.75rem;
    height: 2.75rem;
    border: 1px solid rgba(111, 223, 208, 0.56);
    background: linear-gradient(135deg, rgba(111, 223, 208, 0.32), rgba(111, 223, 208, 0.04));
}

.product-grid article:nth-child(2) i {
    border-color: rgba(122, 195, 240, 0.7);
    background: linear-gradient(135deg, rgba(122, 195, 240, 0.34), rgba(122, 195, 240, 0.06));
}

.product-grid article:nth-child(3) i {
    border-color: rgba(240, 208, 74, 0.7);
    background: linear-gradient(135deg, rgba(240, 208, 74, 0.34), rgba(240, 208, 74, 0.06));
}

.product-grid article:nth-child(4) i {
    border-color: rgba(201, 122, 255, 0.7);
    background: linear-gradient(135deg, rgba(201, 122, 255, 0.34), rgba(201, 122, 255, 0.06));
}

.product-grid small {
    display: block;
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 0.58rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.product-grid strong {
    display: block;
    overflow: hidden;
    margin-top: 0.1rem;
    font-size: 0.86rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.product-grid b {
    color: var(--diamond);
    font-family: var(--font-mono);
}

.text-link {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    color: var(--diamond);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.simple-link-panel {
    display: block;
    transition: background 0.18s ease, box-shadow 0.18s ease;
}

.simple-link-panel:hover,
.simple-link-panel:focus-visible {
    color: var(--ink);
    background: rgba(111, 223, 208, 0.04);
    box-shadow: inset 0 0 0 1px var(--line-strong);
}

.community-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1.3rem;
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.community-stats i {
    display: inline-block;
    width: 0.45rem;
    height: 0.45rem;
    margin-right: 0.35rem;
    background: var(--green);
    box-shadow: 0 0 0.8rem var(--green);
}

.channel-feed {
    margin-bottom: 1.6rem;
    border: 1px solid var(--line);
    background: var(--bg-2);
}

.channel-feed div {
    display: grid;
    grid-template-columns: 7rem minmax(0, 1fr) 2.4rem;
    gap: 0.8rem;
    align-items: baseline;
    padding: 0.9rem 1rem;
    border-bottom: 1px solid var(--line);
}

.channel-feed div:last-child {
    border-bottom: 0;
}

.channel-feed span {
    color: var(--diamond);
    font-family: var(--font-mono);
    font-size: 0.76rem;
}

.channel-feed p {
    overflow: hidden;
    margin: 0;
    color: var(--muted-2);
    font-size: 0.84rem;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.channel-feed b {
    color: var(--ink);
}

.channel-feed time {
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 0.62rem;
    text-align: right;
}

.rules-accordion,
.rules-text-list {
    max-width: var(--max);
    margin: 0 auto;
}

.rules-text-list {
    list-style: none;
    padding: 0;
    counter-reset: rules;
}

.rules-text-list li {
    counter-increment: rules;
    display: grid;
    grid-template-columns: 3.75rem minmax(0, 1fr);
    gap: 1rem;
    padding: 1.45rem 0;
    border-top: 1px solid var(--line);
    color: var(--muted-2);
    font-size: 1.08rem;
    line-height: 1.55;
}

.rules-text-list li:last-child {
    border-bottom: 1px solid var(--line);
}

.rules-text-list li::before {
    content: counter(rules, decimal-leading-zero);
    color: var(--diamond);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    letter-spacing: 0.14em;
}

.rules-accordion article {
    border-top: 1px solid var(--line);
}

.rules-accordion article:last-child {
    border-bottom: 1px solid var(--line);
}

.rules-accordion button {
    display: grid;
    grid-template-columns: 3.75rem minmax(0, 1fr) 2rem;
    align-items: center;
    gap: 1rem;
    width: 100%;
    padding: 1.45rem 0;
    border: 0;
    background: transparent;
    color: var(--ink);
    cursor: pointer;
    text-align: left;
    font-family: var(--font-display);
    font-size: 1.62rem;
    line-height: 1;
    text-transform: uppercase;
}

.rules-accordion button span {
    color: var(--diamond);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    letter-spacing: 0.14em;
}

.rules-accordion button i {
    color: var(--diamond);
    font-family: var(--font-body);
    font-size: 1.5rem;
    font-style: normal;
    transition: transform 0.18s ease;
}

.rules-accordion article.is-open button i {
    transform: rotate(45deg);
}

.rules-accordion p {
    display: none;
    max-width: 54rem;
    margin: 0;
    padding: 0 0 1.4rem 4.75rem;
    color: var(--muted-2);
    line-height: 1.55;
}

.rules-accordion article.is-open p {
    display: block;
}

.site-footer {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    padding: 4rem 3rem 3rem;
    border-top: 1px solid var(--line);
    background: rgba(8, 10, 13, 0.92);
}

.site-footer a {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--muted);
    font-size: 0.86rem;
}

.site-footer a:hover,
.site-footer a:focus-visible {
    color: var(--ink);
}

.footer-title {
    margin: 0 0 0.8rem;
    color: var(--diamond);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
}

.muted {
    color: var(--muted);
}

.section {
    width: min(var(--max), calc(100% - 3rem));
    margin: 0 auto;
    padding: 4rem 0;
}

.panel {
    border: 1px solid var(--line);
    background: var(--bg-2);
    box-shadow: var(--shadow);
}

.policy-single {
    padding: 2.5rem;
}

.policy-text {
    color: var(--muted-2);
    line-height: 1.7;
}

.policy-text h1,
.policy-text h2 {
    color: var(--ink);
}

.policy-text h1 {
    margin: 0 0 0.5rem;
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 400;
    line-height: 1;
    text-transform: uppercase;
}

.policy-text h2 {
    margin: 1.5rem 0 0.5rem;
    font-size: 1.1rem;
}

.policy-meta {
    margin: 0 0 1rem;
    color: var(--muted);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.highlight {
    margin-top: 1.3rem;
    padding: 1rem;
    border: 1px solid var(--line-strong);
    background: rgba(111, 223, 208, 0.08);
}

.cta-row {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.btn {
    min-height: 2.7rem;
    padding: 0 1.4rem;
}

.btn.primary {
    background: rgba(111, 223, 208, 0.18);
    color: var(--diamond-bright);
}

@keyframes pulseDot {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.35;
    }
}

@keyframes heroLineFlash {
    0%, 100% {
        filter: brightness(1) saturate(1);
        transform: translateY(0);
    }
    18% {
        filter: brightness(2.6) saturate(1.4);
        transform: translateY(-0.125rem);
    }
}

@keyframes armorEquip {
    0% {
        opacity: 0;
        transform: translateY(-0.8rem) scale(1.08);
        filter: brightness(2.6) saturate(1.4);
    }
    58% {
        filter: brightness(1.55) saturate(1.2);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: brightness(1) saturate(1);
    }
}

@keyframes swordEquip {
    0% {
        opacity: 0;
        transform: translate(0.7rem, 0.4rem) rotate(-12deg);
    }
    100% {
        opacity: 1;
        transform: translate(0, 0) rotate(0);
    }
}

@keyframes statRollIn {
    0% {
        opacity: 0.35;
        transform: translateY(78%);
    }
    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes statRollOut {
    0% {
        opacity: 0.72;
        transform: translateY(0);
    }
    100% {
        opacity: 0;
        transform: translateY(-78%);
    }
}

@media (min-width: 1081px) and (max-height: 760px) {
    .hero-label {
        margin-bottom: 1rem;
    }

    .hero-copy h1 {
        font-size: clamp(3.25rem, min(5vw, 9.6svh), 4.65rem);
    }

    .lead {
        max-width: 34rem;
        margin-top: 1rem;
        font-size: 0.94rem;
        line-height: 1.34;
    }

    .hero-meta {
        margin-top: 0.55rem;
        font-size: 0.62rem;
    }

    .connect-block {
        margin-top: 1rem;
    }

    .connect-block .mono-label {
        margin-bottom: 0.45rem;
    }

    .ip-box {
        min-height: 3rem;
    }

    .ip-box code {
        font-size: 1rem;
    }

    .play-now-link {
        margin-top: 0.75rem;
    }

    .steve-svg {
        width: min(100%, clamp(16rem, 32svh, 22rem));
    }
}

@media (max-width: 1080px) {
    :root {
        --desktop-stats-bottom-pad: 0rem;
    }

    .site-header {
        padding: 1rem 1.5rem;
    }

    .site-nav {
        gap: 1.1rem;
    }

    .reveal-hero {
        grid-template-columns: 1fr;
        height: auto;
        min-height: auto;
        padding: 3rem 1.5rem 5rem;
    }

    .hero-copy {
        max-width: 44rem;
    }

    .hero-copy h1 {
        font-size: 4.85rem;
    }

    .steve-stage {
        min-height: 31rem;
    }

    .steve-svg {
        width: min(100%, 21rem);
    }

    .armor-readout {
        left: 0;
        top: 1rem;
    }

    .stats-strip,
    .ethos-grid,
    .join-tabs,
    .split-section,
    .site-footer {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-strip div:nth-child(2n) {
        border-right: 0;
    }

    .ethos-grid article:nth-child(2n) {
        border-right: 0;
    }

    .join-panel {
        grid-template-columns: 1fr;
    }

    .commerce-panel {
        border-bottom: 1px solid var(--line);
        border-right: 0;
    }
}

@media (max-width: 720px) {
    html {
        scroll-padding-top: 8rem;
    }

    .site-header {
        position: sticky;
        top: 0;
        display: grid;
        grid-template-columns: auto minmax(0, 1fr);
        align-items: center;
        column-gap: 1rem;
        row-gap: 0.75rem;
    }

    .logo {
        font-size: 1.08rem;
        white-space: nowrap;
    }

    .site-header .logo {
        gap: 0.45rem;
    }

    .logo-mark {
        width: 1.75rem;
        height: 1.75rem;
    }

    .site-nav {
        width: auto;
        justify-content: flex-end;
        flex-wrap: nowrap;
        gap: 0.62rem;
        font-size: 0.78rem;
    }

    .site-nav a {
        white-space: nowrap;
    }

    .header-actions {
        grid-column: 1 / -1;
        width: 100%;
        justify-content: space-between;
    }

    .hero-copy h1 {
        font-size: 3.25rem;
    }

    .lead {
        font-size: 1rem;
    }

    .ip-box {
        display: grid;
    }

    .ip-box code {
        min-height: 3.4rem;
        font-size: 1rem;
    }

    .ip-box button {
        min-height: 3rem;
        border-width: 1px 0 0;
    }

    .armor-readout {
        position: static;
        width: min(100%, 20rem);
        margin: 1rem auto 0;
        text-align: left;
    }

    .armor-readout span {
        padding-right: 0;
        padding-left: 1.4rem;
    }

    .armor-readout span::after {
        left: 0;
        right: auto;
    }

    .stats-strip,
    .ethos-grid,
    .join-tabs,
    .split-section,
    .site-footer,
    .product-grid {
        grid-template-columns: 1fr;
    }

    .stats-strip div,
    .ethos-grid article {
        border-right: 0;
    }

    .content-section,
    .commerce-panel,
    .community-panel,
    .site-footer {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .section-title,
    .section-title-row,
    .section-title-row > div {
        display: block;
    }

    .section-title h2,
    .commerce-panel h2,
    .community-panel h2 {
        margin-top: 0.65rem;
        font-size: 3.4rem;
    }

    .join-panel {
        padding: 1rem;
    }

    .join-screenshot-frame,
    .join-screenshot-frame img {
        min-height: 15rem;
    }

    .join-copy h3 {
        font-size: 2.4rem;
    }

    .channel-feed div {
        grid-template-columns: 1fr auto;
    }

    .channel-feed p {
        grid-column: 1 / -1;
        white-space: normal;
    }

    .rules-accordion button {
        grid-template-columns: 2.4rem minmax(0, 1fr) 1.5rem;
        font-size: 1.18rem;
    }

    .rules-accordion p {
        padding-left: 3.4rem;
    }

    .policy-text h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 420px) {
    .site-header {
        column-gap: 0.75rem;
        padding: 0.9rem 1rem;
    }

    .logo {
        font-size: 1rem;
    }

    .site-header .logo {
        gap: 0.35rem;
    }

    .logo-mark {
        width: 1.5rem;
        height: 1.5rem;
    }

    .site-nav {
        gap: 0.42rem;
        font-size: 0.72rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
    }
}
