/* Cinzel by The Cinzel Project Authors, SIL Open Font License 1.1 (fonts/Cinzel-OFL.txt). */
@font-face {
    font-family: "Cinzel";
    src: url("fonts/cinzel-latin-variable.woff2") format("woff2");
    font-weight: 400 900;
    font-style: normal;
    font-display: swap;
}

:root {
    color-scheme: dark;
    /* MU Volta: obsidian background, electric cyan for actions, energy gold for highlights. */
    --volt: #00e5f0;
    --volt-light: #8ff8ff;
    --volt-dark: #0a7f8a;
    --gold: #c5a059;
    --gold-light: #e2c487;
    --gold-dark: #7d6230;
    /* Ember: the sparks in the emblem. A third accent, used sparingly (ornaments, embers, the next event). */
    --ember: #ff8a3d;
    --ember-light: #ffb27a;
    --error: #ff7a6b;
    --success: #5ee6a0;
    --text: #eef1fa;
    --text-warm: #f1e9d8;
    --muted: #a3abc6;
    --bg: #0b0c10;
    --surface: #11131a;
    --surface-raised: #171a23;
    --border: #252a3a;
    --radius: 6px;
    --heading-font: "Cinzel", "Times New Roman", serif;
    font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    line-height: 1.6;
    background: var(--bg);
    color: var(--text);
}

*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; display: flex; flex-direction: column; }
h1, h2, h3 { font-family: var(--heading-font); font-weight: 700; letter-spacing: 0.02em; line-height: 1.25; color: var(--text); }
h2 { color: var(--volt-light); }
h1:focus { outline: none; }
a { color: var(--volt); }
a:hover { color: var(--volt-light); }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.9em; background: #0003; padding: 0.1rem 0.3rem; border-radius: 3px; }
pre { overflow-x: auto; background: #000a; border: 1px solid var(--border); border-radius: var(--radius); padding: 0.6rem 0.8rem; margin: 0.5rem 0; }
pre code { background: none; padding: 0; }
.muted { color: var(--muted); }

.container { width: 100%; max-width: 68rem; margin: 0 auto; padding: 0 1.25rem; }
.container.narrow { max-width: 34rem; }
.section { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.section-title { text-align: center; font-size: 1.8rem; margin: 0 0 1.5rem; }
/* Ornament under section titles: a gold line with an ember diamond in the middle. */
.section-title::after {
    content: "";
    display: block;
    width: 10rem;
    height: 10px;
    margin: 0.6rem auto 0;
    background: linear-gradient(90deg, transparent, var(--gold) 30%, var(--ember) 46% 54%, var(--gold) 70%, transparent);
    clip-path: polygon(0 calc(50% - 0.5px), calc(50% - 5px) calc(50% - 0.5px), 50% 0, calc(50% + 5px) calc(50% - 0.5px), 100% calc(50% - 0.5px), 100% calc(50% + 0.5px), calc(50% + 5px) calc(50% + 0.5px), 50% 100%, calc(50% - 5px) calc(50% + 0.5px), 0 calc(50% + 0.5px));
}
.section-intro { text-align: center; max-width: 40rem; margin: -0.75rem auto 1.5rem; }
.eyebrow { margin: 0; font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ember-light); }
.site-main { flex: 1; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 10; background: rgb(11 12 16 / 0.9); border-bottom: 1px solid var(--border); backdrop-filter: blur(6px); }
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: 4rem; flex-wrap: wrap; }
.brand { display: inline-flex; align-items: center; gap: 0.6rem; font-family: var(--heading-font); font-size: 1.4rem; font-weight: 800; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; color: var(--text); }
.brand:hover { color: var(--volt-light); }
.brand img { filter: drop-shadow(0 0 6px rgb(0 229 240 / 0.45)); }
.main-nav { display: flex; gap: 1.25rem; align-items: center; margin-left: auto; flex-wrap: wrap; }
.main-nav a { color: var(--text); text-decoration: none; font-family: var(--heading-font); font-weight: 600; letter-spacing: 0.04em; padding: 0.25rem 0; border-bottom: 2px solid transparent; }
.main-nav a:hover, .main-nav a.active { color: var(--volt-light); border-bottom-color: var(--volt); }
.main-nav a.nav-cta { padding: 0.35rem 0.9rem; border: 1px solid var(--volt); border-radius: var(--radius); color: var(--volt-light); }
.main-nav a.nav-cta.active, .main-nav a.nav-cta:hover { background: var(--volt); color: var(--bg); box-shadow: 0 0 14px rgb(0 229 240 / 0.45); }
.language-switch { display: flex; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; font-size: 0.85rem; }
.language-switch a { padding: 0.2rem 0.55rem; color: var(--muted); text-decoration: none; }
.language-switch a.active { background: var(--surface-raised); color: var(--volt-light); font-weight: 700; }

/* Hero */
.hero {
    position: relative;
    padding: 5rem 0 4.5rem;
    text-align: center;
    border-bottom: 1px solid var(--border);
    background:
        linear-gradient(180deg, rgb(11 12 16 / 0.25), rgb(11 12 16 / 0.35) 15vw, var(--bg) 33vw),
        image-set(url("muvolta-hero-right-2560.webp") 1x, url("muvolta-hero-right-4000.webp") 2x) center top / 100% auto no-repeat,
        var(--bg);
}
.hero { overflow: hidden; }
.hero-inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 1rem; }
.hero-copy { display: flex; flex-direction: column; align-items: center; gap: 0.75rem; }
/* Wide screens: emblem and copy stacked in the left column over a smoky vignette; the art keeps the right 60% to itself. */
@media (min-width: 56rem) {
    .hero {
        display: flex; align-items: center; min-height: clamp(30rem, 40vw, 50rem); padding: 2rem 0 2.5rem;
        background:
            linear-gradient(90deg, var(--bg) 0%, rgb(11 12 16 / 0.85) 22%, rgb(11 12 16 / 0.4) 38%, transparent 52%),
            linear-gradient(180deg, rgb(11 12 16 / 0.55), transparent 16%, transparent 72%, var(--bg)),
            image-set(url("muvolta-hero-right-2560.webp") 1x, url("muvolta-hero-right-4000.webp") 2x) right -8vw center / cover no-repeat,
            var(--bg);
    }
    .hero-inner { max-width: 88rem; display: grid; grid-template-columns: min(100%, 34rem); justify-content: start; justify-items: center; }
    .hero .hero-emblem { width: clamp(9rem, 13vw, 15rem); }
    .hero .hero-title { font-size: clamp(2.4rem, 4vw, 3.6rem); white-space: nowrap; }
    .hero .lead { margin: 0; }
}

/* Emblem: floats, with a pulsing aura and lightning that flashes now and then. */
.hero-emblem { position: relative; flex: none; width: clamp(11rem, 34vw, 24rem); aspect-ratio: 599 / 640; }
.emblem { position: relative; z-index: 1; display: block; width: 100%; height: auto; filter: drop-shadow(0 10px 30px rgb(0 0 0 / 0.7)) drop-shadow(0 0 22px rgb(0 229 240 / 0.25)); animation: emblem-float 6s ease-in-out infinite; }
.emblem-aura { position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(circle, rgb(0 229 240 / 0.35), rgb(255 138 61 / 0.12) 45%, transparent 70%); filter: blur(18px); animation: aura-pulse 4s ease-in-out infinite; }
.emblem-bolts { position: absolute; inset: -6%; z-index: 2; width: 112%; height: 112%; overflow: visible; pointer-events: none; }
.emblem-bolts polyline { fill: none; stroke: var(--volt-light); stroke-linejoin: round; vector-effect: non-scaling-stroke; stroke-width: 2px; opacity: 0; filter: drop-shadow(0 0 4px var(--volt)) drop-shadow(0 0 10px var(--volt)); animation: bolt-flash 7s linear infinite; }
.emblem-bolts polyline:nth-child(2) { animation-delay: 2.6s; stroke: #fff2c4; filter: drop-shadow(0 0 4px var(--gold-light)) drop-shadow(0 0 10px var(--gold)); }
.emblem-bolts polyline:nth-child(3) { animation-delay: 4.9s; }
@keyframes emblem-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes aura-pulse { 0%, 100% { opacity: 0.7; transform: scale(0.95); } 50% { opacity: 1; transform: scale(1.05); } }
@keyframes bolt-flash { 0%, 90%, 100% { opacity: 0; } 91% { opacity: 1; } 92.5% { opacity: 0.15; } 94% { opacity: 0.9; } 96% { opacity: 0; } }

/* Embers rising through the hero. Positions, sizes and timings vary per span. */
.hero-embers { position: absolute; inset: 0; pointer-events: none; }
.hero-embers span { position: absolute; bottom: -10px; left: var(--x); width: var(--s, 4px); height: var(--s, 4px); border-radius: 50%; background: var(--ember-light); box-shadow: 0 0 6px var(--ember), 0 0 12px var(--ember); opacity: 0; animation: ember-rise var(--d, 9s) linear var(--delay, 0s) infinite; }
.hero-embers span:nth-child(3n) { background: var(--volt-light); box-shadow: 0 0 6px var(--volt), 0 0 12px var(--volt); }
.hero-embers span:nth-child(1) { --x: 6%; --d: 11s; --delay: -2s; }
.hero-embers span:nth-child(2) { --x: 14%; --d: 8s; --delay: -6s; --s: 3px; }
.hero-embers span:nth-child(3) { --x: 21%; --d: 12s; --delay: -9s; }
.hero-embers span:nth-child(4) { --x: 29%; --d: 9s; --delay: -1s; --s: 5px; }
.hero-embers span:nth-child(5) { --x: 37%; --d: 13s; --delay: -7s; --s: 3px; }
.hero-embers span:nth-child(6) { --x: 45%; --d: 10s; --delay: -4s; }
.hero-embers span:nth-child(7) { --x: 52%; --d: 8.5s; --delay: -8s; --s: 3px; }
.hero-embers span:nth-child(8) { --x: 59%; --d: 11.5s; --delay: -3s; --s: 5px; }
.hero-embers span:nth-child(9) { --x: 66%; --d: 9.5s; --delay: -10s; }
.hero-embers span:nth-child(10) { --x: 73%; --d: 12.5s; --delay: -5s; --s: 3px; }
.hero-embers span:nth-child(11) { --x: 80%; --d: 10.5s; --delay: -0.5s; }
.hero-embers span:nth-child(12) { --x: 87%; --d: 8s; --delay: -6.5s; --s: 4px; }
.hero-embers span:nth-child(13) { --x: 93%; --d: 13.5s; --delay: -11s; --s: 3px; }
.hero-embers span:nth-child(14) { --x: 97%; --d: 9s; --delay: -2.5s; }
@keyframes ember-rise {
    0% { transform: translate(0, 0); opacity: 0; }
    10% { opacity: 0.9; }
    50% { transform: translate(18px, -45vh); }
    80% { opacity: 0.5; }
    100% { transform: translate(-12px, -90vh); opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
    .emblem, .emblem-aura, .hero-embers span, .emblem-bolts polyline { animation: none; }
    .hero-embers { display: none; }
    .card, .spec, .class-tile { transition: none; }
}
.hero .lead { color: var(--text-warm); text-shadow: 0 2px 6px #000; }
.hero-title { margin: 0; font-size: clamp(2.8rem, 9vw, 5.5rem); font-weight: 900; letter-spacing: 0.1em; text-transform: uppercase; background: linear-gradient(180deg, #ffffff 10%, #e6e8ee 45%, #a9afbd 55%, #d9dce4 80%, #f4f5f8); background-clip: text; -webkit-background-clip: text; color: transparent; filter: drop-shadow(0 1px 0 rgb(0 0 0 / 0.9)) drop-shadow(0 4px 10px rgb(0 0 0 / 0.85)); }
.hero-tagline { margin: 0; max-width: 42rem; font-family: var(--heading-font); font-size: 1.25rem; color: var(--gold-light); text-shadow: 0 2px 6px #000; }
.lead { font-size: 1.1rem; color: var(--muted); max-width: 40rem; }
.page-hero { padding: 3rem 0 2rem; border-bottom: 1px solid var(--border); background: radial-gradient(ellipse 60% 80% at 50% 0%, rgb(0 229 240 / 0.14), transparent 70%); }
.page-hero h1 { margin: 0 0 0.5rem; font-size: 2.4rem; }
.release-meta { color: var(--gold); font-weight: 600; margin: 0; }

/* Buttons */
.button-row { display: flex; gap: 1rem; flex-wrap: wrap; justify-content: center; margin-top: 0.75rem; }
button, .button { display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem; padding: 0.6rem 1.3rem; font: inherit; font-family: var(--heading-font); font-weight: 700; letter-spacing: 0.04em; border-radius: var(--radius); border: 1px solid var(--gold); background: rgb(255 255 255 / 0.02); color: var(--gold-light); cursor: pointer; text-decoration: none; transition: background 0.15s, color 0.15s, box-shadow 0.15s; }
button:hover, .button:hover { background: rgb(197 160 89 / 0.12); color: #fff3d6; box-shadow: 0 0 14px rgb(197 160 89 / 0.25); }
.button-primary { background: linear-gradient(180deg, var(--volt-light), var(--volt) 50%, var(--volt-dark)); color: #04161a; border-color: var(--volt-dark); }
.button-primary:hover { color: #000; background: linear-gradient(180deg, #e8fdff, var(--volt-light) 50%, var(--volt)); box-shadow: 0 0 20px rgb(0 229 240 / 0.5); }
.hero .button-primary { background: linear-gradient(180deg, var(--gold-light), var(--gold) 50%, var(--gold-dark)); color: #1a1208; border-color: var(--gold-dark); text-shadow: 0 1px 0 rgb(255 255 255 / 0.25); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.35), 0 4px 12px rgb(0 0 0 / 0.5); }
.hero .button-primary:hover { color: #000; background: linear-gradient(180deg, #f3dfb0, var(--gold-light) 50%, var(--gold)); box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.4), 0 0 0 1px var(--volt), 0 0 18px rgb(0 229 240 / 0.45); }
.button-large { padding: 0.85rem 1.8rem; font-size: 1.1rem; }
.button-block { width: 100%; }
.button-meta { font-family: system-ui, sans-serif; font-weight: 500; font-size: 0.85em; opacity: 0.8; }

/* Cards and steps */
/* Cards: a chamfered frame (top-left and bottom-right corners cut) drawn by ::before, so step numbers
   and ribbons can still stick out of the card. Recolour with --frame, --frame-top and --frame-glow. */
.card {
    --cut: 14px;
    --frame: var(--border);
    --frame-top: var(--frame);
    --frame-corner: var(--gold-dark);
    --frame-glow: rgb(0 0 0 / 0);
    position: relative;
    isolation: isolate;
    padding: 1.5rem;
    filter: drop-shadow(0 8px 14px rgb(0 0 0 / 0.4)) drop-shadow(0 0 14px var(--frame-glow));
    transition: filter 0.2s, transform 0.2s;
}
.card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    border: 1px solid var(--frame);
    border-top: 2px solid var(--frame-top);
    background:
        linear-gradient(135deg, transparent calc(50% - 1.5px), var(--frame-corner) calc(50% - 1.5px) calc(50% + 1px), transparent calc(50% + 1px)) left top / var(--cut) var(--cut) no-repeat border-box,
        linear-gradient(135deg, transparent calc(50% - 1px), var(--frame-corner) calc(50% - 1px) calc(50% + 1.5px), transparent calc(50% + 1.5px)) right bottom / var(--cut) var(--cut) no-repeat border-box,
        radial-gradient(ellipse 80% 60% at 0 0, rgb(197 160 89 / 0.06), transparent 70%),
        linear-gradient(180deg, var(--surface-raised), var(--surface));
    box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.04);
    clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
}
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(16rem, 100%), 1fr)); counter-reset: step; }
.step { counter-increment: step; padding-top: 2.25rem; }
.step:hover, .feature-card:hover, .event-card:hover { --frame: var(--gold-dark); --frame-corner: var(--ember); --frame-glow: rgb(255 138 61 / 0.16); transform: translateY(-2px); }
.step::after { content: counter(step); position: absolute; top: -1.1rem; left: 1.5rem; width: 2.4rem; height: 2.4rem; display: grid; place-items: center; clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); font-family: var(--heading-font); font-weight: 800; color: #1a1208; background: linear-gradient(180deg, var(--gold-light), var(--gold-dark)); border: 2px solid var(--bg); box-shadow: 0 0 10px rgb(197 160 89 / 0.4); }
.step h3 { margin: 0 0 0.5rem; }
.step p { margin: 0 0 0.75rem; }

/* Downloads */
.download-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(19rem, 100%), 1fr)); }
.download-card { min-width: 0; }
.launcher-card { --frame: var(--gold-dark); --frame-corner: var(--gold); --frame-glow: rgb(197 160 89 / 0.2); margin-bottom: 2.5rem; }
.launcher-card h2 { margin: 0; font-size: 1.6rem; color: var(--gold-light); }
.launcher-card h3 { margin: 0; font-size: 1.25rem; }
.launcher-card .install-steps { margin-top: 1rem; }
.zip-downloads { margin-top: 0.5rem; }
.zip-downloads > summary { cursor: pointer; color: var(--muted); font-size: 0.95rem; }
.zip-downloads > summary:hover { color: var(--volt-light); }
.zip-downloads[open] > summary { margin-bottom: 0.75rem; }
.zip-downloads > p { margin: 0 0 1.25rem; font-size: 0.9rem; }
.download-card h2 { margin: 0; font-size: 1.6rem; }
.download-card-header { margin-bottom: 1rem; }
.download-card-header p { margin: 0.25rem 0 0; }
.download-card h3 { font-size: 1.1rem; margin: 1.5rem 0 0.5rem; }
.install-steps { padding-left: 1.25rem; margin: 0; }
.install-steps li { margin-bottom: 0.5rem; }
.download-card pre { white-space: pre-wrap; overflow-wrap: anywhere; }
.checksum { margin-top: 1rem; font-size: 0.9rem; color: var(--muted); }
.checksum summary { cursor: pointer; color: var(--text); }
.checksum .hash { display: block; margin-top: 0.5rem; word-break: break-all; }
.link-list { padding-left: 1.25rem; }
.server-address { margin-top: 2rem; color: var(--muted); }
.notice { padding: 1rem 1.25rem; border: 1px solid var(--border); border-left: 4px solid var(--volt); border-radius: var(--radius); background: var(--surface); }
.notice-warning { border-left-color: #d9822b; font-size: .92rem; }

/* Registration form */
.form-card h1 { margin-top: 0; }
.registration-form .field { display: flex; flex-direction: column; gap: 0.3rem; margin-bottom: 1.1rem; }
.registration-form label { font-weight: 600; }
.registration-form input { padding: 0.6rem 0.7rem; font-size: 1rem; border: 1px solid var(--border); border-radius: var(--radius); background: #0a0b0f; color: inherit; }
.registration-form input:focus { outline: none; border-color: var(--volt); box-shadow: 0 0 0 3px rgb(0 229 240 / 0.25); }
.registration-form small, .optional { color: var(--muted); font-weight: 400; }
.invalid { border-color: var(--error) !important; }
.validation-message, .alert { color: var(--error); }
.alert { padding: 0.75rem 1rem; border: 1px solid rgb(255 122 107 / 0.4); border-radius: var(--radius); background: rgb(255 122 107 / 0.08); }
.success { color: var(--success); }

/* Status badge */
.status-badge { display: inline-flex; gap: 0.4rem; align-items: center; margin: 0.25rem 0; padding: 0.3rem 0.9rem; border-radius: 999px; background: rgb(0 0 0 / 0.45); border: 1px solid var(--border); font-size: 0.95rem; }
.status-badge::before { content: ""; width: 0.6rem; height: 0.6rem; border-radius: 50%; background: var(--error); }
.status-badge.online::before { background: var(--success); box-shadow: 0 0 8px var(--success); }

/* Events */
.event-cards { list-style: none; padding: 0; margin: 0; display: grid; gap: 1.25rem; grid-template-columns: repeat(auto-fit, minmax(min(16rem, 100%), 1fr)); }
.event-card { --frame-top: var(--volt); }
.event-card h3 { margin: 0 0 0.25rem; }
.event-when { margin: 0 0 0.5rem; color: var(--muted); }
.event-card .countdown { font-size: 1.6rem; }
.countdown { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-weight: 700; color: var(--volt-light); text-shadow: 0 0 10px rgb(0 229 240 / 0.35); white-space: nowrap; }
.countdown.running { color: var(--success); text-shadow: 0 0 10px rgb(94 230 160 / 0.35); }
.countdown.ended { color: var(--muted); text-shadow: none; }
.section-link { text-align: center; margin: 1.25rem 0 0; }
.table-scroll { overflow-x: auto; margin-bottom: 2rem; }
.event-table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.event-table th, .event-table td { padding: 0.6rem 0.9rem; text-align: left; border-bottom: 1px solid var(--border); }
.event-table thead th { font-family: var(--heading-font); color: var(--gold-light); background: var(--surface-raised); }
.event-table tbody th { font-weight: 600; }
.event-table tbody tr:last-child > * { border-bottom: none; }
@media (max-width: 480px) { .party-bonus .event-table th, .party-bonus .event-table td { padding: 0.5rem 0.55rem; } }
.event-detail { margin-left: 0.4rem; padding: 0.05rem 0.45rem; border: 1px solid var(--gold-dark); border-radius: 999px; color: var(--gold-light); font-size: 0.8rem; font-weight: 600; }
.event-times { display: flex; flex-wrap: wrap; gap: 0.4rem 0.9rem; }
.local-time { font-variant-numeric: tabular-nums; }
.has-js .no-js-only { display: none; }

/* Server specs */
/* Server specs: big-number tiles. dd is display: contents so the order is value, label (dt), detail. */
.specs { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(11.5rem, 100%), 1fr)); margin: 0; }
.spec {
    --cut: 18px;
    position: relative;
    isolation: isolate;
    container-type: inline-size;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    padding: 1.6rem 0.75rem 1.3rem;
    text-align: center;
    transition: transform 0.2s;
}
.spec::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, transparent, var(--volt) 50%, transparent) center bottom / 70% 2px no-repeat,
        radial-gradient(ellipse 70% 60% at 50% 100%, rgb(0 229 240 / 0.14), transparent 70%),
        radial-gradient(ellipse 80% 70% at 50% 0, rgb(197 160 89 / 0.12), transparent 70%),
        linear-gradient(180deg, var(--surface-raised), #0d0f15);
    clip-path: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%, 0 var(--cut));
}
.spec:hover { transform: translateY(-3px); }
.spec dt { order: 2; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-light); }
.spec dd { display: contents; }
.spec-value { order: 1; font-family: var(--heading-font); font-weight: 900; font-size: clamp(1.5rem, 15cqi, 2.6rem); line-height: 1.05; white-space: nowrap; background: linear-gradient(180deg, #ffffff 15%, var(--volt-light) 55%, var(--volt) 85%); background-clip: text; -webkit-background-clip: text; color: transparent; filter: drop-shadow(0 0 10px rgb(0 229 240 / 0.35)); }
.spec-detail { order: 3; font-size: 0.85rem; color: var(--muted); }

/* Features */
.feature-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(19rem, 100%), 1fr)); }
.feature-card { --frame-top: var(--gold); min-width: 0; }
.feature-card h2 { display: flex; align-items: center; gap: 0.6rem; margin: 0 0 1rem; font-size: 1.35rem; color: var(--gold-light); }
.feature-icon { display: grid; place-items: center; width: 2.2rem; height: 2.2rem; flex: none; border-radius: 50%; font-size: 1.05rem; background: rgb(0 229 240 / 0.08); border: 1px solid rgb(0 229 240 / 0.35); }
.feature-list { list-style: none; padding: 0; margin: 0 0 1rem; }
.feature-list li { position: relative; padding-left: 1.3rem; margin-bottom: 0.6rem; }
.feature-list li::before { content: "◆"; position: absolute; left: 0; top: 0.1em; font-size: 0.7rem; color: var(--volt); }
.feature-list strong { color: var(--text-warm); }
.feature-list code { color: var(--volt-light); }
.feature-cta { margin-top: 2.5rem; text-align: center; }
.feature-cta h2 { margin: 0 0 0.5rem; }

/* Info */
.info-layout { display: grid; gap: 2rem; grid-template-columns: 14rem minmax(0, 1fr); align-items: start; }
.info-menu { position: sticky; top: 5rem; display: flex; flex-direction: column; gap: 0.25rem; padding: 0.75rem; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.info-menu a { padding: 0.5rem 0.75rem; border-left: 3px solid transparent; border-radius: var(--radius); color: var(--text); font-family: var(--heading-font); font-weight: 600; text-decoration: none; }
.info-menu a:hover { color: var(--volt-light); background: rgb(0 229 240 / 0.06); }
.info-menu a.active { color: var(--gold-light); border-left-color: var(--gold); background: rgb(197 160 89 / 0.1); }
.info-content { min-width: 0; }
.info-content .feature-grid { grid-template-columns: repeat(auto-fit, minmax(min(17rem, 100%), 1fr)); }
.info-content .party-bonus { margin-top: 1.5rem; }
.invasions { margin-top: 2.5rem; }
.invasions > h2 { margin: 0 0 0.5rem; color: var(--gold-light); }
.invasion-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(15rem, 100%), 1fr)); margin-top: 1.25rem; }
.invasion-card { --frame-top: var(--gold); min-width: 0; padding-top: 0; overflow: hidden; }
.invasion-card h3 { margin: 1rem 0 0.5rem; font-family: var(--heading-font); font-size: 1.2rem; color: var(--gold-light); }
.invasion-card p { margin: 0; }
.invasion-art { position: relative; display: grid; place-items: center; height: 7.5rem; margin: 0 -1.5rem; border-bottom: 1px solid var(--border); background: radial-gradient(circle at 50% 60%, var(--art-glow) 0%, transparent 62%), linear-gradient(180deg, var(--art-top) 0%, var(--surface) 100%); }
.invasion-art::after { content: ""; position: absolute; inset: 0; background: repeating-linear-gradient(115deg, rgb(255 255 255 / 0.025) 0 2px, transparent 2px 9px); pointer-events: none; }
.invasion-art span { font-size: 3.6rem; line-height: 1; filter: drop-shadow(0 0 18px var(--art-glow)) drop-shadow(0 6px 8px rgb(0 0 0 / 0.6)); }
.invasion-art-bone { --art-top: #1d1b24; --art-glow: rgb(214 205 180 / 0.35); }
.invasion-art-fire { --art-top: #2a130d; --art-glow: rgb(255 98 41 / 0.45); }
.invasion-art-frost { --art-top: #0f1d2a; --art-glow: rgb(143 248 255 / 0.35); }
.invasion-art-meadow { --art-top: #13221a; --art-glow: rgb(94 230 160 / 0.32); }
.invasion-art-venom { --art-top: #1b1428; --art-glow: rgb(170 110 255 / 0.38); }
.invasions-hint { margin: 1.5rem 0 0; padding: 0.85rem 1.1rem; border: 1px solid var(--volt-dark); border-left: 3px solid var(--volt); border-radius: var(--radius); background: rgb(0 229 240 / 0.06); color: var(--text); }
.guide { display: grid; gap: 1.5rem; }
.guide .card { --frame-top: var(--gold); }
.guide h2 { margin: 0 0 1rem; font-size: 1.4rem; color: var(--gold-light); }
.guide h3 { margin: 0 0 0.75rem; font-size: 1.1rem; }
.guide .table-scroll { margin-bottom: 1rem; }
.guide-steps { margin: 0 0 1rem; padding-left: 1.4rem; }
.guide-steps li { margin-bottom: 0.6rem; padding-left: 0.3rem; }
.guide-steps li::marker { color: var(--volt); font-weight: 700; }
.guide-columns { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(16rem, 100%), 1fr)); }
kbd { display: inline-block; padding: 0.05rem 0.45rem; border: 1px solid var(--border); border-bottom-width: 2px; border-radius: 4px; background: var(--surface-raised); font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.85em; color: var(--volt-light); }
.guide code { color: var(--volt-light); }
/* Coin page */
.coin-packages { list-style: none; padding: 0; margin: 1rem 0 2rem; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(9.5rem, 100%), 1fr)); gap: 1rem; }
.coin-package { position: relative; display: flex; flex-direction: column; align-items: center; gap: 0.35rem; text-align: center; padding: 1.75rem 1rem 1.25rem; }
.coin-package p { margin: 0; }
.coin-package .button { margin-top: auto; width: 100%; }
.coin-package-item { display: flex; }
.coin-package-item > .coin-package { flex: 1; min-width: 0; }
.coin-package .button[disabled] { opacity: 0.55; cursor: not-allowed; box-shadow: none; }
.coin-package-featured { --frame: var(--gold); --frame-corner: var(--gold-light); --frame-glow: rgb(197 160 89 / 0.3); }
.coin-ribbon { position: absolute; z-index: 1; top: -0.7rem; left: 50%; transform: translateX(-50%); white-space: nowrap; padding: 0.15rem 0.7rem; border-radius: 999px; background: var(--gold); color: #1a1408; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; }
.coin-amount { font-family: var(--heading-font); color: var(--text-warm); }
.coin-total { font-size: 2rem; font-weight: 800; color: var(--gold-light); }
.coin-unit { display: block; font-size: 0.95rem; }
.coin-bonus { color: var(--success); font-weight: 700; }
.coin-bonus-none { color: var(--muted); font-weight: 500; }
.coin-detail { font-size: 0.85rem; }
.coin-package .coin-price { font-family: var(--heading-font); font-size: 1.4rem; color: var(--volt-light); margin: 0.4rem 0 0.9rem; }
.coin-package .coin-price-ars { margin: -0.7rem 0 0.9rem; font-size: 0.9rem; }
.coin-form .field { display: flex; flex-direction: column; gap: 0.3rem; max-width: 22rem; margin: 1rem 0 0.5rem; }
.coin-vip { margin: 0 0 2rem; }
.coin-vip h2 { margin-top: 0; font-size: 1.25rem; }
.coin-vip h3 { font-size: 1rem; margin: 1rem 0 .25rem; }
.coin-info { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 48rem) { .coin-info { grid-template-columns: 1fr; } }
.coin-info h2 { margin-top: 0; font-size: 1.25rem; }
.coin-steps { margin: 0; padding-left: 1.2rem; }
.coin-account { margin: 0.75rem 0 1rem; }
.coin-login { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.75rem; margin: 1rem 0; }

/* Account pages */
.form-footer { margin: 1.25rem 0 0; text-align: center; }
.account-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
@media (max-width: 56rem) { .account-grid { grid-template-columns: 1fr; } }
.account-grid h2 { margin-top: 0; font-size: 1.25rem; }
.account-grid form { margin: 0; }
.account-values { display: grid; grid-template-columns: auto 1fr; gap: 0.4rem 1rem; margin: 0 0 1rem; }
.account-values dt { color: var(--muted); }
.account-values dd { margin: 0; font-weight: 700; text-align: right; font-variant-numeric: tabular-nums; }
.coin-pending { display: block; font-weight: 400; font-size: 0.875rem; color: var(--gold); }
.coin-steps li { margin-bottom: 0.6rem; }

@media (max-width: 48rem) {
    .info-layout { grid-template-columns: 1fr; gap: 1.25rem; }
    .info-menu { position: static; flex-direction: row; flex-wrap: wrap; }
    .info-menu a { border-left: none; border-bottom: 2px solid transparent; }
    .info-menu a.active { border-bottom-color: var(--gold); }
}

/* Footer */
.site-footer { margin-top: 3rem; padding: 1.5rem 0; border-top: 1px solid var(--border); background: #07080b; font-size: 0.9rem; text-align: center; }
.site-footer p { margin: 0.3rem 0; }

@media (max-width: 40rem) {
    .header-inner { gap: 0.75rem; padding-top: 0.5rem; padding-bottom: 0.5rem; }
    .main-nav { margin-left: 0; width: 100%; order: 3; gap: 0.5rem 0.9rem; font-size: 0.95rem; }
    .language-switch { margin-left: auto; }
    .hero {
        padding: 3.5rem 0 3rem;
        background:
            linear-gradient(180deg, rgb(11 12 16 / 0.15), var(--bg) 33vw),
            url("muvolta-hero-right-2560.webp") center top / 100% auto no-repeat,
            var(--bg);
    }
    .brand img { width: 1.6rem; height: 1.6rem; }
}

/* Downloads: two big platform buttons, the 4-step path and the FAQ. */
.get-grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(19rem, 100%), 1fr)); }
.get-card { text-align: center; --frame: var(--gold-dark); --frame-corner: var(--gold); --frame-glow: rgb(197 160 89 / 0.2); }
.get-card h2 { margin: 0; font-size: 1.8rem; color: var(--gold-light); }
.get-card p { margin: 0.25rem 0 1.25rem; }
.get-card .button { background: linear-gradient(180deg, var(--gold-light), var(--gold) 50%, var(--gold-dark)); color: #1a1208; border-color: var(--gold-dark); }
.get-card .button:hover { color: #000; background: linear-gradient(180deg, #f3dfb0, var(--gold-light) 50%, var(--gold)); }
.get-note { text-align: center; margin: 1rem 0 0; font-size: 0.9rem; }
.steps-four { grid-template-columns: repeat(auto-fit, minmax(min(13rem, 100%), 1fr)); margin-top: 1.5rem; }
.faq > details { border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); padding: 0.9rem 1.2rem; margin: 0 0 0.75rem; }
.faq > details > summary { cursor: pointer; font-weight: 600; color: var(--gold-light); }
.faq > details[open] > summary { margin-bottom: 0.75rem; }
.faq > details h3 { font-size: 1.05rem; margin: 1rem 0 0.4rem; }
.faq .hash { display: block; overflow-wrap: anywhere; font-size: 0.8rem; }

/* Legal pages and consent checkboxes */
.legal .card { margin-bottom: 1rem; }
.legal h2 { margin-top: 0; font-size: 1.25rem; }
.legal-list { margin: 0; padding-left: 1.25rem; }
.legal-list li { margin-bottom: 0.6rem; }
.legal-penalty { display: block; color: var(--gold); font-weight: 600; }
.legal-table th[scope="row"] { font-weight: 600; }
.legal-updated { margin-top: 1rem; }
.field-check label, .coin-waiver { display: flex; gap: 0.6rem; align-items: flex-start; font-weight: 400; cursor: pointer; }
.field-check input, .coin-waiver input { flex: none; width: 1.1rem; height: 1.1rem; margin-top: 0.2rem; accent-color: var(--gold); }
.coin-waiver { margin: 0.75rem 0; }
.footer-links a { margin: 0 0.25rem; }

/* Shop: package cards as radio choices, then consent and one button per provider */
.coin-choice { border: 0; margin: 0; padding: 0; min-width: 0; }
.coin-choice legend { font-weight: 600; margin-bottom: 0.25rem; }
.coin-package-selectable { cursor: pointer; }
.coin-package-selectable:hover { --frame: var(--volt-dark); transform: translateY(-2px); }
.coin-package-radio { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.coin-check { position: absolute; top: 0.6rem; right: 0.6rem; width: 1.3rem; height: 1.3rem; border-radius: 50%; border: 2px solid var(--border); }
.coin-package-selectable:has(.coin-package-radio:checked) { --frame: var(--volt); --frame-top: var(--volt); --frame-corner: var(--volt-light); --frame-glow: rgb(0 229 240 / 0.4); }
.coin-package-selectable:has(.coin-package-radio:checked) .coin-check { border-color: var(--volt); background: var(--volt) radial-gradient(circle, var(--bg) 0 28%, transparent 30%); }
.coin-package-selectable:has(.coin-package-radio:focus-visible) { outline: 2px solid var(--volt-light); outline-offset: 3px; }
.coin-checkout { max-width: 34rem; margin: 0 auto 2rem; padding: 1.25rem; border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
@supports selector(:has(*)) {
    .coin-checkout { display: none; }
    .coin-form:has(.coin-package-radio:checked) .coin-checkout { display: block; }
}
.coin-checkout .coin-waiver { margin: 0 0 1rem; }
.coin-providers { display: grid; grid-template-columns: repeat(auto-fit, minmax(12rem, 1fr)); gap: 0.75rem; }
.pay-button { display: flex; align-items: center; justify-content: center; min-height: 3rem; border: 0; font-size: 1.35rem; font-weight: 800; letter-spacing: -0.01em; text-transform: none; box-shadow: none; }
.pay-button:hover { filter: brightness(1.06); transform: translateY(-1px); }
.pay-mark { font-family: Verdana, "Segoe UI", sans-serif; line-height: 1; }
.pay-mercadopago { background: #009ee3; color: #fff; }
.pay-mercadopago:hover { background: #009ee3; color: #fff; }
.pay-mp-mercado { font-weight: 400; }
.pay-mp-pago { font-weight: 800; }
.pay-paypal { background: #ffc439; color: #003087; }
.pay-paypal:hover { background: #ffc439; color: #003087; }
.pay-pp-pay { color: #003087; font-style: italic; }
.pay-pp-pal { color: #009cde; font-style: italic; }
@media (max-width: 30rem) {
    .coin-packages { gap: 0.75rem; }
    .coin-package { padding: 1.5rem 0.6rem 1rem; }
    .coin-total { font-size: 1.6rem; }
    .coin-package .button { padding-inline: 0.4rem; font-size: 0.95rem; }
}

/* Home: next event as a full-width band, the following ones as cards. */
.events-band {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 2rem;
    margin-bottom: 1.25rem;
    padding: 1.5rem 2rem;
    background:
        radial-gradient(ellipse 50% 140% at 100% 50%, rgb(255 138 61 / 0.16), transparent 70%),
        radial-gradient(ellipse 50% 140% at 0 50%, rgb(0 229 240 / 0.1), transparent 70%),
        linear-gradient(180deg, var(--surface-raised), var(--surface));
    border-block: 1px solid var(--gold-dark);
    clip-path: polygon(1.25rem 0, calc(100% - 1.25rem) 0, 100% 50%, calc(100% - 1.25rem) 100%, 1.25rem 100%, 0 50%);
}
.events-band h3 { margin: 0.15rem 0; font-size: clamp(1.5rem, 4vw, 2.1rem); color: var(--text-warm); }
.events-band .event-when { margin: 0; }
.events-band-timer { text-align: right; }
.events-band .countdown { display: block; font-size: clamp(2rem, 6vw, 3.2rem); line-height: 1.1; color: var(--ember-light); text-shadow: 0 0 14px rgb(255 138 61 / 0.55); }
.events-band .countdown.running { color: var(--success); text-shadow: 0 0 14px rgb(94 230 160 / 0.5); }
.event-cards[aria-label] { grid-template-columns: repeat(auto-fit, minmax(min(16rem, 100%), 1fr)); }
@media (max-width: 40rem) {
    .events-band { padding: 1.25rem 1.75rem; }
    .events-band-timer { text-align: left; }
}

/* Classes */
.class-strip { list-style: none; padding: 0; margin: 0; display: grid; gap: 0.9rem; grid-template-columns: repeat(auto-fit, minmax(min(8.5rem, 100%), 1fr)); }
.class-tile {
    --cut: 12px;
    position: relative;
    isolation: isolate;
    padding: 1.25rem 0.75rem 1rem;
    text-align: center;
    transition: transform 0.2s;
}
.class-tile::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(ellipse 70% 50% at 50% 0, rgb(255 138 61 / 0.12), transparent 70%),
        linear-gradient(180deg, var(--surface-raised), var(--surface));
    border-bottom: 2px solid var(--gold-dark);
    clip-path: polygon(var(--cut) 0, calc(100% - var(--cut)) 0, 100% var(--cut), 100% 100%, 0 100%, 0 var(--cut));
    transition: border-color 0.2s;
}
.class-tile:hover { transform: translateY(-3px); }
.class-tile:hover::before { border-bottom-color: var(--ember); }
.class-icon { width: 2.6rem; height: 2.6rem; fill: none; stroke: var(--gold-light); stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 6px rgb(255 138 61 / 0.45)); }
.class-tile:hover .class-icon { stroke: var(--ember-light); }
.class-tile h3 { margin: 0.5rem 0 0.3rem; font-size: 1rem; }
.class-tile p { margin: 0; font-size: 0.85rem; color: var(--muted); line-height: 1.4; }

/* Screenshots */
.gallery { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(18rem, 100%), 1fr)); }
.gallery-item { position: relative; display: block; overflow: hidden; aspect-ratio: 16 / 9; border: 1px solid var(--border); clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.4s; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-caption { position: absolute; inset: auto 0 0; padding: 1.5rem 0.9rem 0.6rem; background: linear-gradient(transparent, rgb(0 0 0 / 0.85)); color: var(--text-warm); font-family: var(--heading-font); font-weight: 600; }

/* Before/after slider: the Volta image is clipped to the right of --pos, which showcase.js moves. */
.compare { --pos: 50%; position: relative; overflow: hidden; aspect-ratio: 16 / 9; border: 1px solid var(--gold-dark); user-select: none; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare-volta { clip-path: inset(0 0 0 var(--pos)); }
.compare-handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--volt-light); box-shadow: 0 0 12px var(--volt); pointer-events: none; }
.compare-handle::after { content: "◂ ▸"; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); padding: 0.3rem 0.6rem; background: var(--bg); border: 1px solid var(--volt); color: var(--volt-light); font-size: 0.8rem; white-space: nowrap; }
.compare-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.compare-range:focus-visible + .compare-handle, .compare:has(.compare-range:focus-visible) .compare-handle { outline: 2px solid var(--volt-light); }
.compare-label { position: absolute; top: 0.75rem; padding: 0.2rem 0.6rem; background: rgb(0 0 0 / 0.7); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; pointer-events: none; }
.compare-label-classic { left: 0.75rem; color: var(--muted); }
.compare-label-volta { right: 0.75rem; color: var(--volt-light); }

/* Discord band */
.discord-band {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.25rem 2rem;
    padding: 2rem;
    background:
        radial-gradient(ellipse 60% 120% at 0 50%, rgb(88 101 242 / 0.28), transparent 70%),
        linear-gradient(180deg, var(--surface-raised), var(--surface));
    border: 1px solid rgb(88 101 242 / 0.5);
    clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px);
}
.discord-icon { flex: none; width: 3.5rem; height: 3.5rem; fill: none; stroke: #c7cdff; stroke-width: 1.5; stroke-linejoin: round; }
.discord-icon circle { fill: #c7cdff; stroke: none; }
.discord-copy { flex: 1; min-width: min(16rem, 100%); }
.discord-copy h2 { margin: 0 0 0.25rem; color: #e3e6ff; }
.discord-copy p { margin: 0; color: var(--muted); }
.button-discord { background: #5865f2; border-color: #5865f2; color: #fff; }
.button-discord:hover { background: #6d78f5; color: #fff; box-shadow: 0 0 20px rgb(88 101 242 / 0.55); }
