/* ============ Corlinks RP - site styles ============ */
:root {
    --bg: #12060f; --bg2: #1a0916; --card: #220c1d; --line: rgba(255, 170, 215, .14);
    --fg: #fbeef6; --muted: #c9a9bd; --pink: #ff5fa8; --pink2: #ff9ccb; --violet: #9b5cff;
    --glow: 0 0 40px rgba(255, 95, 168, .35);
    --f-ui: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
    --f-script: 'Kaushan Script', cursive; --f-brush: 'Permanent Marker', cursive;
    --wrap: 1180px; --r: 18px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 16px/1.65 var(--f-ui); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: var(--pink2); }
:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; border-radius: 6px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.script { font-family: var(--f-script); font-weight: 400; }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 999px;
    font: 700 15px var(--f-ui); text-decoration: none; cursor: pointer; border: 1.5px solid transparent; transition: transform .15s, box-shadow .2s, background .2s; white-space: nowrap; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: linear-gradient(135deg, #ff4f9f, #b84dff); color: #fff; box-shadow: 0 10px 30px rgba(255, 79, 159, .35); }
.btn-ghost { background: rgba(255, 255, 255, .06); color: var(--fg); border-color: rgba(255, 190, 225, .35); }
.btn-ghost:hover { border-color: var(--pink2); }
.btn-light { background: #fff; color: #5a1350; }
.btn-lg { height: 54px; padding: 0 28px; font-size: 16px; }
.btn-sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn[hidden] { display: none; }

/* ---------- nav ---------- */
[hidden] { display: none !important; }
.nav { position: fixed; inset: 0 0 auto; z-index: 50; display: flex; align-items: center; gap: 24px; height: 70px; padding: 0 max(20px, calc((100vw - 1320px) / 2 + 20px));
    background: linear-gradient(180deg, rgba(18, 6, 15, .9), rgba(18, 6, 15, .55)); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; color: var(--fg); text-decoration: none; font-weight: 800; font-size: 19px; letter-spacing: .02em; }
.brand img { width: 40px; height: auto; filter: drop-shadow(0 0 8px rgba(255, 95, 168, .6)); }
.brand b { color: var(--pink); }
.links { display: flex; gap: 22px; margin-left: auto; }
.links a { color: var(--muted); text-decoration: none; font-weight: 600; font-size: 15px; }
.links a:hover { color: #fff; }
.menu { display: none; background: none; border: 0; width: 42px; height: 42px; padding: 10px; cursor: pointer; }
.menu span { display: block; height: 2px; background: #fff; margin: 5px 0; border-radius: 2px; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; text-align: center; overflow: hidden; padding: 110px 20px 80px; }
.hero-bg { position: absolute; inset: 0; background: url(images/hero.jpg) center 60% / cover no-repeat; transform: scale(1.08); animation: drift 30s ease-in-out infinite alternate; }
.hero-bg::after { content: ""; position: absolute; inset: 0;
    background: radial-gradient(60% 50% at 50% 42%, rgba(255, 79, 159, .18), transparent 70%), linear-gradient(180deg, rgba(18, 6, 15, .55) 0%, rgba(18, 6, 15, .35) 45%, var(--bg) 100%); }
@keyframes drift { to { transform: scale(1.16) translateX(-2%); } }
.hero-inner { position: relative; z-index: 2; max-width: 860px; }
.hero-logo { width: 150px; margin: 0 auto 4px; filter: drop-shadow(0 0 22px rgba(255, 95, 168, .8)); animation: pulse 4s ease-in-out infinite; }
@keyframes pulse { 50% { filter: drop-shadow(0 0 36px rgba(255, 95, 168, 1)); } }
.hero h1 { margin: 0; font-size: clamp(64px, 12vw, 148px); line-height: 1; color: #fff; text-shadow: 0 0 30px rgba(255, 95, 168, .7), 0 6px 0 #6b1c57; transform: rotate(-3deg); }
.hero h1 span { color: var(--pink2); }
.tag { font-family: var(--f-brush); font-size: clamp(20px, 3vw, 28px); color: var(--pink2); margin: 18px 0 22px; letter-spacing: .03em; }
.status { display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px; border-radius: 999px; background: rgba(0, 0, 0, .35); border: 1px solid var(--line); font-weight: 600; font-size: 14px; margin-bottom: 26px; }
.status i { width: 9px; height: 9px; border-radius: 50%; background: #ffb547; box-shadow: 0 0 10px #ffb547; animation: blink 1.4s ease-in-out infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .2; } }
.status.online i { background: #3ee08f; box-shadow: 0 0 10px #3ee08f; }
.status.offline i { background: #ff5b6e; box-shadow: 0 0 10px #ff5b6e; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.connect { display: inline-block; margin-top: 18px; color: var(--muted); font: 500 14px ui-monospace, Menlo, Consolas, monospace; opacity: .85; }
.scroll { position: absolute; bottom: 24px; left: 50%; width: 26px; height: 42px; margin-left: -13px; border: 2px solid rgba(255, 255, 255, .45); border-radius: 14px; z-index: 2; }
.scroll::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; background: #fff; border-radius: 2px; animation: wheel 1.6s infinite; }
@keyframes wheel { to { transform: translateY(12px); opacity: 0; } }

/* diagonal CORLINKS lettering (same look as the in-game UI) */
.diag { position: absolute; inset: -50%; z-index: 1; pointer-events: none; transform: rotate(-18deg); display: flex; flex-direction: column; justify-content: center; gap: 30px; overflow: hidden; }
.diag > div { white-space: nowrap; font: 900 110px/1 var(--f-ui); letter-spacing: .08em; color: transparent; -webkit-text-stroke: 1.2px rgba(255, 150, 200, .10); will-change: transform; }
.diag > div:nth-child(3n+2) { -webkit-text-stroke: 0; color: rgba(255, 95, 168, .05); }
.diag > div:nth-child(odd) { animation: diagL 140s linear infinite; }
.diag > div:nth-child(even) { animation: diagR 170s linear infinite; }
@keyframes diagL { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes diagR { from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* ---------- sections ---------- */
.section { padding: 110px 0; position: relative; }
.section.alt { background: linear-gradient(180deg, var(--bg2), var(--bg)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.eyebrow { margin: 0 0 10px; color: var(--pink); font-weight: 800; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; }
h2 { font-size: clamp(30px, 4.4vw, 50px); line-height: 1.1; margin: 0 0 18px; font-weight: 900; letter-spacing: -.01em; max-width: 820px; }
h2 em { font-style: normal; background: linear-gradient(90deg, var(--pink), var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { color: var(--muted); font-size: 18px; max-width: 720px; margin: 0 0 40px; }
.grid { display: grid; gap: 18px; margin-bottom: 36px; }
.grid.four { grid-template-columns: repeat(4, 1fr); }
.grid.three { grid-template-columns: repeat(3, 1fr); }
.card, .feature, .step, .rule { background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015)); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; transition: border-color .2s, transform .2s; }
.card:hover, .feature:hover, .step:hover { border-color: rgba(255, 120, 190, .45); transform: translateY(-3px); }
.card h3, .feature h3, .step h3 { margin: 6px 0 8px; font-size: 20px; }
.card p, .feature p { margin: 0; color: var(--muted); }
.ico { font-size: 30px; }
.kind { font: 800 12px var(--f-ui); color: var(--pink); letter-spacing: .14em; text-transform: uppercase; }
.feature h3 small { display: block; font-size: 13px; font-weight: 700; color: var(--muted); letter-spacing: .02em; margin-bottom: 2px; }
.feature { position: relative; overflow: hidden; }
.feature::after { content: ""; position: absolute; right: -40px; top: -40px; width: 120px; height: 120px; border-radius: 50%; background: radial-gradient(rgba(255, 95, 168, .25), transparent 70%); }

.notice { background: rgba(255, 181, 71, .08); border: 1px solid rgba(255, 181, 71, .35); color: #ffe2b8; padding: 14px 18px; border-radius: 12px; margin: 0 0 30px; max-width: 760px; }
.notice[hidden] { display: none; }
.step { display: flex; flex-direction: column; gap: 6px; }
.step ol { margin: 4px 0 16px; padding-left: 20px; color: var(--muted); }
.step li { margin: 4px 0; }
.step .btn { margin-top: auto; align-self: flex-start; }
.badge { align-self: flex-start; background: rgba(255, 95, 168, .14); color: var(--pink2); border: 1px solid rgba(255, 95, 168, .35); font-weight: 800; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
kbd { background: #2d1027; border: 1px solid var(--line); border-bottom-width: 3px; border-radius: 6px; padding: 1px 7px; font: 700 13px var(--f-ui); color: #fff; }
.code { margin-top: auto; text-align: left; width: 100%; display: flex; flex-direction: column; gap: 2px; background: #0c0409; border: 1px dashed rgba(255, 150, 200, .4); border-radius: 12px; padding: 12px 14px; cursor: pointer; color: #fff; }
.code .cmd { font: 600 15px ui-monospace, Menlo, Consolas, monospace; }
.code small { color: var(--muted); font-size: 12px; }
.code:hover { border-color: var(--pink); }

.rules .rule { display: flex; flex-direction: column; gap: 4px; padding: 20px 22px; }
.rule b { font-size: 17px; }
.rule span { color: var(--muted); font-size: 15px; }

.split { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: center; }
.shot { border-radius: var(--r); border: 1px solid var(--line); box-shadow: var(--glow), 0 30px 60px rgba(0, 0, 0, .5); transform: rotate(1.5deg); }

.band { position: relative; overflow: hidden; padding: 110px 0; text-align: center; background: radial-gradient(80% 120% at 50% 0%, #5c1a5e, #2a0a26 60%, var(--bg)); border-top: 1px solid var(--line); }
.band-inner { position: relative; z-index: 2; }
.band h2 { max-width: none; font-weight: 400; font-size: clamp(48px, 8vw, 96px); text-shadow: 0 0 30px rgba(255, 95, 168, .6); margin-bottom: 8px; }
.band p { color: var(--muted); font-size: 18px; margin: 0 0 30px; }

.foot { border-top: 1px solid var(--line); padding: 40px 0; }
.foot-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 30px; }
.foot nav { display: flex; gap: 20px; flex-wrap: wrap; }
.foot nav a { color: var(--muted); text-decoration: none; font-weight: 600; }
.foot nav a:hover { color: #fff; }
.small { width: 100%; margin: 0; color: #8d7083; font-size: 13px; }

.toast { position: fixed; left: 50%; bottom: 28px; transform: translate(-50%, 30px); opacity: 0; background: #fff; color: #4a1040; font-weight: 700; padding: 12px 20px; border-radius: 999px; box-shadow: 0 10px 30px rgba(0, 0, 0, .4); transition: .25s; z-index: 60; pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s, transform .7s; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- mobile ---------- */
@media (max-width: 980px) {
    .grid.four { grid-template-columns: repeat(2, 1fr); }
    .grid.three { grid-template-columns: 1fr 1fr; }
    .split { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
    .nav { gap: 12px; }
    .nav > .btn { display: none; }
    .menu { display: block; margin-left: auto; }
    .links { position: fixed; top: 70px; left: 0; right: 0; flex-direction: column; gap: 0; background: rgba(18, 6, 15, .97); border-bottom: 1px solid var(--line); padding: 8px 20px 18px; transform: translateY(-120%); transition: transform .25s; }
    .links.open { transform: none; }
    .links a { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
    .grid.four, .grid.three { grid-template-columns: 1fr; }
    .section { padding: 80px 0; }
    .cta .btn { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .reveal { opacity: 1; transform: none; }
}

/* locked until launch */
.blurred { filter: blur(6px); user-select: none; letter-spacing: .1em; }
.code:disabled { cursor: not-allowed; opacity: .85; }
.code:disabled:hover { border-color: rgba(255, 150, 200, .4); }
.step .soon { margin-top: auto; align-self: flex-start; cursor: pointer; user-select: none; }
.step .soon:active { transform: translateY(0) scale(.97); }
.step .code + .soon { margin-top: 14px; }

/* not pay to win callout */
.p2w { display: flex; align-items: center; gap: 16px; margin: 0 0 30px; padding: 20px 24px; border-radius: var(--r);
    background: linear-gradient(135deg, rgba(255, 79, 159, .18), rgba(155, 92, 255, .14)); border: 1px solid rgba(255, 120, 190, .45); box-shadow: var(--glow); }
.p2w p { margin: 0; font-size: clamp(18px, 2.4vw, 24px); font-weight: 700; color: #fff; }
.p2w b { font-weight: 900; color: var(--pink2); text-transform: uppercase; letter-spacing: .02em; }
.p2w { justify-content: space-between; }
.p2w-logo { width: 74px; flex: none; filter: drop-shadow(0 0 10px rgba(255, 95, 168, .7)); }

/* influencer image: gentle left-right sway */
.shot { animation: sway 3.2s ease-in-out infinite; transform-origin: 50% 60%; }
@keyframes sway { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }

.band h2 .soon-word { display: block; font-family: var(--f-brush); font-size: .55em; color: var(--pink2); letter-spacing: .04em; margin-top: 6px; }

/* hover: a quick shake, then the card stays lifted */
.card:hover, .feature:hover, .step:hover, .rule:hover { animation: wiggle .55s ease-in-out; transform: translateY(-4px); border-color: rgba(255, 120, 190, .5); }
@keyframes wiggle {
    0%   { transform: translateY(0) rotate(0); }
    20%  { transform: translateY(-4px) rotate(-1.6deg); }
    40%  { transform: translateY(-4px) rotate(1.4deg); }
    60%  { transform: translateY(-4px) rotate(-.9deg); }
    80%  { transform: translateY(-4px) rotate(.5deg); }
    100% { transform: translateY(-4px) rotate(0); }
}

.eyebrow-note { margin-left: 10px; padding-left: 12px; border-left: 1px solid var(--line); color: var(--muted); font-weight: 600; letter-spacing: .02em; text-transform: none; font-size: 14px; }
@media (max-width: 760px) { .eyebrow-note { display: block; margin: 6px 0 0; padding: 0; border: 0; } }

.trail { position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 70; }

/* feature cards with a city photo behind them */
.feature.photo { background: #140612; border-color: rgba(255, 255, 255, .12); isolation: isolate; }
.feature.photo::before { content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(180deg, rgba(20, 6, 18, .02) 0%, rgba(20, 6, 18, .25) 38%, rgba(20, 6, 18, .86) 68%, rgba(20, 6, 18, .97) 100%), var(--bg) var(--pos, center) / cover no-repeat;
    transition: transform .6s ease, filter .6s ease; filter: saturate(1); }
.feature.photo:hover::before { transform: scale(1.06); filter: saturate(1.1); }
.feature.photo::after { z-index: -1; }
.feature.photo .kind { text-shadow: 0 1px 6px rgba(0, 0, 0, .8); }
.feature.photo h3 { text-shadow: 0 2px 10px rgba(0, 0, 0, .85); }
.feature.photo p { color: rgba(255, 238, 248, .88); text-shadow: 0 1px 6px rgba(0, 0, 0, .9); }
.feature.photo { min-height: 320px; display: flex; flex-direction: column; justify-content: flex-end; }

/* job groups: legal / illegal / custom */
.subhead { display: grid; grid-template-columns: auto 1fr; align-items: center; column-gap: 14px; margin: 46px 0 18px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.subhead:first-of-type { margin-top: 10px; }
.subhead h3 { margin: 0; font-size: clamp(24px, 3vw, 32px); font-weight: 900; letter-spacing: -.01em; }
.subhead p { grid-column: 1 / -1; margin: 6px 0 0; color: var(--muted); }
.subhead .chip { font: 800 12px var(--f-ui); letter-spacing: .12em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; border: 1px solid; white-space: nowrap; }
.subhead.legal .chip { color: #7ff0b4; background: rgba(62, 224, 143, .10); border-color: rgba(62, 224, 143, .40); }
.subhead.illegal .chip { color: #ff8a8a; background: rgba(255, 70, 85, .12); border-color: rgba(255, 70, 85, .45); }
.subhead.custom .chip { color: var(--pink2); background: rgba(255, 95, 168, .12); border-color: rgba(255, 95, 168, .40); }
.subhead.illegal h3 { color: #fff; text-shadow: 0 0 18px rgba(255, 60, 80, .45); }
.grid.two { grid-template-columns: repeat(2, 1fr); }
.grid.crime .feature.photo { min-height: 360px; }
.grid.crime .kind { color: #ff6b7a; }
.grid.crime .feature:hover { border-color: rgba(255, 80, 100, .55); }
.grid.crime .feature::after { background: radial-gradient(rgba(255, 60, 80, .28), transparent 70%); }
@media (max-width: 760px) { .grid.two { grid-template-columns: 1fr; } .grid.crime .feature.photo { min-height: 300px; } }

/* sneak peek note above the job groups */
#features .lead { margin-bottom: 16px; }
.peek { display: inline-block; margin: 0 0 8px; padding: 10px 16px; border-radius: 14px;
    background: rgba(255, 181, 71, .08); border: 1px dashed rgba(255, 181, 71, .45); color: #ffe2b8; font-size: 15px; }
.peek span { font: 800 12px var(--f-ui); letter-spacing: .12em; text-transform: uppercase; color: #ffb547; margin-right: 10px; }
.peek b { color: #fff; }

/* moving CORLINKS lettering inside the join option cards */
.step { position: relative; overflow: hidden; isolation: isolate; }
.step > .diag { z-index: -1; inset: -70%; gap: 16px; }
.step > .diag > div { font-size: 44px; -webkit-text-stroke: 1px rgba(255, 150, 200, .13); }
.step > .diag > div:nth-child(3n+2) { color: rgba(255, 95, 168, .07); }
.step > .diag > div:nth-child(odd) { animation-duration: 90s; }
.step > .diag > div:nth-child(even) { animation-duration: 110s; }

/* ---------- Staff Hiring ---------- */
.nav-hiring { display: inline-flex; align-items: center; gap: 7px; color: #fff !important; }
.nav-hiring i { width: 8px; height: 8px; border-radius: 50%; background: #3ee08f; box-shadow: 0 0 0 0 rgba(62, 224, 143, .7); animation: ping 1.8s ease-out infinite; }
.nav-hiring.none i { background: #8d7083; animation: none; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(62, 224, 143, .7); } 80%, 100% { box-shadow: 0 0 0 9px rgba(62, 224, 143, 0); } }

.wipe { position: fixed; inset: 0; z-index: 90; pointer-events: none; display: grid; place-items: center; overflow: hidden;
    background: radial-gradient(60% 55% at 50% 50%, #4a1446, #1a0816 70%, #0d040b); clip-path: inset(0 0 100% 0); }
.wipe.in { animation: wipeIn .6s cubic-bezier(.7, 0, .3, 1) forwards; }
.wipe.hold { clip-path: inset(0 0 0 0); }
.wipe.out { clip-path: inset(0 0 0 0); animation: wipeOut .6s cubic-bezier(.7, 0, .3, 1) forwards; }
@keyframes wipeIn { from { clip-path: inset(0 0 100% 0); } to { clip-path: inset(0 0 0 0); } }
@keyframes wipeOut { from { clip-path: inset(0 0 0 0); } to { clip-path: inset(100% 0 0 0); } }
.wipe::after { content: ""; position: absolute; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, transparent, #ff5fa8, #b84dff, transparent); box-shadow: 0 0 24px #ff5fa8; bottom: 0; opacity: 0; }
.wipe.in::after { opacity: 1; }
.wipe.out::after { opacity: 1; top: 0; bottom: auto; }
.wipe > .diag { opacity: .9; }
.wipe-in { position: relative; z-index: 2; text-align: center; padding: 0 20px; opacity: 0; transform: translateY(18px); }
.wipe.in .wipe-in { animation: wipeText .5s .25s ease-out forwards; }
.wipe.hold .wipe-in { opacity: 1; transform: none; }
.wipe.out .wipe-in { opacity: 1; animation: wipeTextOut .35s ease-in forwards; }
@keyframes wipeText { to { opacity: 1; transform: none; } }
@keyframes wipeTextOut { to { opacity: 0; transform: translateY(-14px); } }
.wipe-logo { width: 84px; margin: 0 auto 14px; filter: drop-shadow(0 0 22px rgba(255, 95, 168, .85)); animation: pulse 1.6s ease-in-out infinite; }
.wipe-msg { margin: 0; font: 700 13px var(--f-ui); letter-spacing: .28em; text-transform: uppercase; color: var(--pink2); }
.wipe-dest { margin: 6px 0 22px; font: 400 clamp(46px, 8vw, 92px)/1 var(--f-script); color: #fff; text-shadow: 0 0 30px rgba(255, 95, 168, .7), 0 5px 0 #6b1c57; transform: rotate(-3deg); }
.wipe-bar { width: min(260px, 70vw); height: 4px; margin: 0 auto; border-radius: 4px; background: rgba(255, 255, 255, .12); overflow: hidden; }
.wipe-bar i { display: block; height: 100%; width: 0; border-radius: 4px; background: linear-gradient(90deg, #ff4f9f, #b84dff); box-shadow: 0 0 12px #ff5fa8; }
.wipe.in .wipe-bar i { animation: load 1.2s .2s ease-in-out forwards; }
.wipe.hold .wipe-bar i { animation: load 1.2s -.4s ease-in-out forwards; }
.wipe.out .wipe-bar i { width: 100%; }
@keyframes load { to { width: 100%; } }

body.staff-open { overflow: hidden; }
.staff-view { position: fixed; inset: 0; z-index: 80; overflow-y: auto; overflow-x: hidden; background: radial-gradient(90% 60% at 50% 0%, #3a1038, var(--bg) 70%); }
.staff-view[hidden] { display: none; }
.staff-view > .diag { position: fixed; }
.staff-inner { position: relative; z-index: 2; padding-top: 40px; padding-bottom: 90px; }
.staff-back { margin-bottom: 40px; }
.teams { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin: 10px 0 50px; }
.team { position: relative; padding: 26px; border-radius: var(--r); border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255, 255, 255, .06), rgba(255, 255, 255, .02)); backdrop-filter: blur(4px); overflow: hidden;
    opacity: 0; transform: translateY(30px) scale(.96); transition: border-color .2s; }
.staff-view.show .team { animation: teamIn .6s cubic-bezier(.2, .9, .3, 1.2) forwards; animation-delay: calc(.15s + var(--i) * .09s); }
@keyframes teamIn { to { opacity: 1; transform: none; } }
.team:hover { border-color: rgba(255, 120, 190, .55); }
.team-ico { font-size: 34px; display: block; margin-bottom: 10px; }
.team h3 { margin: 0 0 6px; font-size: 21px; }
.team p { margin: 0; color: var(--muted); }
.team-state { position: absolute; top: 20px; right: 20px; display: inline-flex; align-items: center; gap: 7px; font: 800 11px var(--f-ui); letter-spacing: .14em; text-transform: uppercase; padding: 5px 10px; border-radius: 999px; }
.team-state::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.team.is-open .team-state { color: #7ff0b4; background: rgba(62, 224, 143, .12); border: 1px solid rgba(62, 224, 143, .45); }
.team.is-open .team-state::before { animation: ping 1.8s ease-out infinite; }
.team.is-open::after { content: ""; position: absolute; right: -50px; bottom: -50px; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(rgba(62, 224, 143, .18), transparent 70%); }
.team.is-closed { filter: saturate(.4); }
.team.is-closed .team-state { color: #b9a3b2; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .18); }
.team.is-closed h3, .team.is-closed p { opacity: .6; }
.staff-how { max-width: 640px; padding: 28px; border-radius: var(--r); border: 1px solid rgba(255, 120, 190, .45); background: linear-gradient(135deg, rgba(255, 79, 159, .16), rgba(155, 92, 255, .12)); box-shadow: var(--glow); }
.staff-how h3 { margin: 0 0 6px; font-size: 22px; }
.staff-how ol { margin: 6px 0 22px; padding-left: 20px; color: var(--muted); }
.staff-how li { margin: 6px 0; }
.trail { z-index: 95; }
@media (max-width: 980px) { .teams { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) { .teams { grid-template-columns: 1fr; } .links .nav-hiring { display: flex; } }
@media (prefers-reduced-motion: reduce) { .team { opacity: 1; transform: none; } }

/* ---------- staff teams: premium roster ---------- */
.staff-view::after { content: ""; position: fixed; inset: 0; pointer-events: none; z-index: 1; opacity: .07; mix-blend-mode: overlay;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)'/%3E%3C/svg%3E"); }
.staff-view > .diag > div { -webkit-text-stroke-color: rgba(255, 150, 200, .06); }

.staff-stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 0; margin: 6px 0 44px; border: 1px solid var(--line); border-radius: 16px; background: rgba(255, 255, 255, .025); backdrop-filter: blur(6px); }
.staff-stats div { padding: 16px 30px; border-left: 1px solid var(--line); }
.staff-stats div:first-child { border-left: 0; }
.staff-stats b { display: block; font: 900 34px/1 var(--f-ui); letter-spacing: -.02em; background: linear-gradient(90deg, #fff, var(--pink2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.staff-stats span { display: block; margin-top: 6px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }

.roster { margin: 0 0 56px; border-top: 1px solid var(--line); }
.roster .team { --c: 255, 95, 168; position: relative; display: grid; grid-template-columns: 64px 58px 1fr auto 52px; align-items: center; gap: 22px; padding: 24px 22px 24px 18px;
    border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: none; backdrop-filter: none; color: inherit; text-decoration: none; overflow: hidden; filter: none; isolation: isolate; }
.roster .team::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(var(--c), .20), rgba(var(--c), .05) 55%, transparent 85%); transform: scaleX(0); transform-origin: left; transition: transform .5s cubic-bezier(.2, .8, .2, 1); }
.roster .team::after { content: ""; position: absolute; left: 0; right: auto; top: 18%; bottom: 18%; width: 3px; height: auto; border-radius: 3px; background: rgb(var(--c)); box-shadow: 0 0 14px rgba(var(--c), .8); transform: scaleY(0); transition: transform .35s ease; display: block; }
.roster .team:hover::before, .roster .team:focus-visible::before { transform: scaleX(1); }
.roster .team:hover::after, .roster .team:focus-visible::after { transform: scaleY(1); }
.roster .team:hover { box-shadow: none; }
.t-num { font: 800 30px/1 var(--f-ui); color: transparent; -webkit-text-stroke: 1px rgba(255, 255, 255, .28); letter-spacing: -.02em; transition: -webkit-text-stroke-color .3s, color .3s; }
.team:hover .t-num { -webkit-text-stroke-color: rgb(var(--c)); color: rgba(var(--c), .15); }
.t-ico { width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; color: rgb(var(--c)); background: linear-gradient(160deg, rgba(var(--c), .16), rgba(255, 255, 255, .02)); border: 1px solid rgba(var(--c), .35); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08); transition: transform .4s ease, box-shadow .4s ease; }
.t-ico { font-size: 28px; line-height: 1; }
.team:hover .t-ico { transform: translateY(-2px) rotate(-6deg); box-shadow: 0 10px 26px rgba(var(--c), .35), inset 0 1px 0 rgba(255, 255, 255, .1); }
.t-body { min-width: 0; transition: transform .4s cubic-bezier(.2, .8, .2, 1); }
.team:hover .t-body { transform: translateX(6px); }
.roster .team h3 { margin: 0 0 4px; font-size: 22px; font-weight: 800; letter-spacing: -.01em; display: block; padding: 0; }
.roster .team p { margin: 0; color: var(--muted); font-size: 15px; max-width: 640px; }
.roster .team-state { position: static; }
.t-go { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(255, 255, 255, .18); color: #fff; transition: background .3s, border-color .3s, transform .4s cubic-bezier(.2, .8, .2, 1); }
.t-go svg { width: 20px; height: 20px; }
.team:hover .t-go { background: rgb(var(--c)); border-color: rgb(var(--c)); color: #120610; transform: rotate(45deg); }
.roster .team.is-closed { opacity: .5; }

.roster .th-gangs { --c: 255, 140, 40; } .roster .th-legal { --c: 62, 224, 143; } .roster .th-discord { --c: 70, 140, 255; } .roster .th-affiliate { --c: 245, 196, 81; } .roster .th-events { --c: 255, 95, 168; }
.roster .th-culture { --c: 150, 90, 255; } .roster .th-hack { --c: 205, 90, 255; } .roster .th-calls { --c: 255, 60, 70; } .roster .th-solo { --c: 175, 175, 190; }
.staff-view > .diag { opacity: 1; }

@media (max-width: 760px) {
    .staff-stats { grid-template-columns: repeat(3, 1fr); }
    .staff-stats div { padding: 14px 12px; }
    .staff-stats b { font-size: 26px; }
    .staff-stats span { font-size: 10px; letter-spacing: .08em; }
    .roster .team { grid-template-columns: 46px 1fr 40px; gap: 14px; padding: 20px 8px 20px 12px; }
    .t-num { display: none; }
    .t-ico { width: 46px; height: 46px; border-radius: 13px; grid-row: 1 / span 2; }
    .t-body { grid-column: 2; }
    .roster .team-state { grid-column: 2; grid-row: 2; justify-self: start; }
    .t-go { grid-column: 3; grid-row: 1 / span 2; width: 38px; height: 38px; }
    .roster .team h3 { font-size: 19px; }
}

/* staff page: city skyline behind the top, like the main hero */
.staff-view { background: var(--bg); }
.staff-bg { position: absolute; left: 0; right: 0; top: 0; height: 640px; z-index: 0; overflow: hidden; pointer-events: none; }
.staff-bg::before { content: ""; position: absolute; inset: 0; background: url(images/staff-bg.jpg) center 35% / cover no-repeat; transform: scale(1.08); animation: drift 30s ease-in-out infinite alternate; }
.staff-bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(60% 50% at 50% 30%, rgba(255, 79, 159, .14), transparent 70%), linear-gradient(180deg, rgba(18, 6, 15, .35) 0%, rgba(18, 6, 15, .45) 45%, var(--bg) 100%); }
.staff-view > .diag { z-index: 1; }

/* moving CORLINKS lettering inside each staff team row */
.roster .team > .t-diag { position: absolute; inset: -160% -20%; z-index: -2; gap: 10px; opacity: 1; }
.roster .team > .t-diag > div { font-size: 34px; -webkit-text-stroke: 1px rgba(var(--c), .16); }
.roster .team > .t-diag > div:nth-child(3n+2) { color: rgba(var(--c), .07); -webkit-text-stroke: 0; }
.roster .team > .t-diag > div:nth-child(odd) { animation-duration: 80s; }
.roster .team > .t-diag > div:nth-child(even) { animation-duration: 100s; }

/* staff teams: click the arrow for more information */
.staff-hint { margin: -22px 0 26px; padding: 12px 16px; border-radius: 14px; border: 1px dashed rgba(255, 181, 71, .45); background: rgba(255, 181, 71, .07); color: #ffe2b8; max-width: 860px; }
.staff-hint span { font: 800 12px var(--f-ui); letter-spacing: .12em; text-transform: uppercase; color: #ffb547; margin-right: 10px; }
.staff-hint b { color: #fff; } .staff-hint a { color: #fff; font-weight: 700; }
.roster .team { cursor: pointer; }
button.t-go { background: none; font: inherit; cursor: pointer; padding: 0; }
.roster .team.expanded .t-go { background: rgb(var(--c)); border-color: rgb(var(--c)); color: #120610; transform: rotate(135deg); }
.roster .team.expanded::before { transform: scaleX(1); }
.roster .team.expanded::after { transform: scaleY(1); }
.t-more { grid-column: 1 / -1; display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s cubic-bezier(.2, .8, .2, 1); cursor: default; }
.team.expanded .t-more { grid-template-rows: 1fr; }
.t-more > div { overflow: hidden; min-height: 0; }
.t-more-in { display: grid; grid-template-columns: 1fr 1fr; gap: 18px 40px; padding: 18px 0 6px 144px; opacity: 0; transform: translateY(-8px); transition: opacity .35s .1s, transform .35s .1s; }
.team.expanded .t-more-in { opacity: 1; transform: none; }
.t-col h4 { margin: 0 0 8px; font: 800 12px var(--f-ui); letter-spacing: .14em; text-transform: uppercase; color: rgb(var(--c)); }
.t-col ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 7px; }
.t-col li { display: flex; gap: 10px; color: var(--fg); font-size: 15px; }
.t-col li::before { content: ""; flex: none; width: 7px; height: 7px; margin-top: 8px; border-radius: 2px; background: rgb(var(--c)); transform: rotate(45deg); }
.t-cta { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
@media (max-width: 760px) {
    .staff-hint { margin-top: -26px; }
    .t-more { grid-column: 1 / -1; grid-row: 3; }
    .t-more-in { grid-template-columns: 1fr; padding: 14px 0 4px; }
    .t-cta .btn { width: 100%; }
    .roster .team.expanded .t-go { transform: rotate(135deg); }
}

/* the main menu bar stays on top of the staff page too (the wipe still covers everything) */
body.staff-open .nav { z-index: 85; }
.staff-inner { padding-top: 110px; }
.links a { position: relative; }
.links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -8px; height: 2px; border-radius: 2px; background: linear-gradient(90deg, #ff4f9f, #b84dff); transform: scaleX(0); transform-origin: left; transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
.links a.nav-hiring::after { right: 16px; }
.links a.active { color: #fff; }
.links a.active::after { transform: scaleX(1); }
@media (max-width: 760px) { .links a::after { bottom: 6px; right: auto; width: 40px; } }

/* ---------- Meet The Team ---------- */
.team-wrap { position: relative; z-index: 2; }
.m-lead, .m-card { --c: 255, 95, 168; position: relative; overflow: hidden; border: 1px solid rgba(var(--c), .35); }
.th-pink { --c: 255, 95, 168; }
.m-lead.th-gangs, .m-card.th-gangs { --c: 255, 140, 40; } .m-lead.th-legal, .m-card.th-legal { --c: 62, 224, 143; } .m-lead.th-discord, .m-card.th-discord { --c: 70, 140, 255; }
.m-lead.th-affiliate, .m-card.th-affiliate { --c: 245, 196, 81; } .m-lead.th-events, .m-card.th-events { --c: 255, 95, 168; } .m-lead.th-culture, .m-card.th-culture { --c: 150, 90, 255; }
.m-lead.th-hack, .m-card.th-hack { --c: 205, 90, 255; } .m-lead.th-calls, .m-card.th-calls { --c: 255, 60, 70; } .m-lead.th-solo, .m-card.th-solo { --c: 175, 175, 190; }

.leaders { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.m-lead { display: flex; align-items: center; gap: 24px; padding: 28px; border-radius: 22px;
    background: radial-gradient(90% 120% at 0% 0%, rgba(var(--c), .28), transparent 60%), linear-gradient(160deg, rgba(255, 255, 255, .05), rgba(14, 4, 12, .9)); transition: transform .35s, box-shadow .35s; }
.m-lead:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(var(--c), .25); }
.m-av { position: relative; flex: none; width: 74px; height: 74px; border-radius: 50%; padding: 3px; background: conic-gradient(from 210deg, rgb(var(--c)), #b84dff, rgb(var(--c))); box-shadow: 0 0 22px rgba(var(--c), .45); }
.m-av b, .m-av img { width: 100%; height: 100%; border-radius: 50%; display: grid; place-items: center; background: #1a0916; object-fit: cover; font: 400 34px/1 var(--f-script); color: #fff; }
.m-lead .m-av { width: 112px; height: 112px; } .m-lead .m-av b { font-size: 54px; }
.m-lead:hover .m-av { animation: spinRing 2.4s linear infinite; }
@keyframes spinRing { to { filter: hue-rotate(40deg); } }
.m-info { min-width: 0; }
.m-role { display: block; font: 800 12px var(--f-ui); letter-spacing: .16em; text-transform: uppercase; color: rgb(var(--c)); }
.m-lead h3 { margin: 4px 0 6px; font: 400 clamp(34px, 4vw, 46px)/1.05 var(--f-script); color: #fff; text-shadow: 0 0 20px rgba(var(--c), .45); }
.m-lead p { margin: 0 0 10px; color: var(--muted); font-style: italic; }
.m-dc { display: inline-flex; align-items: center; gap: 6px; font: 600 13px ui-monospace, Menlo, Consolas, monospace; color: #cbb3c4; }
.m-dc::before { content: ""; width: 14px; height: 10px; border-radius: 3px; background: #5865f2; }

.crew { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.m-card { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding: 26px 18px 22px; border-radius: 18px;
    background: linear-gradient(180deg, rgba(var(--c), .14), rgba(14, 4, 12, .9) 70%); transition: transform .35s, box-shadow .35s, border-color .35s; }
.m-card::before { content: ""; position: absolute; left: 50%; top: -60px; width: 160px; height: 160px; margin-left: -80px; border-radius: 50%; background: radial-gradient(rgba(var(--c), .35), transparent 70%); pointer-events: none; }
.m-card:hover { transform: translateY(-5px); border-color: rgba(var(--c), .7); box-shadow: 0 16px 36px rgba(var(--c), .22); }
.m-card .m-av { margin-bottom: 10px; transition: transform .4s cubic-bezier(.2, .8, .2, 1); }
.m-card:hover .m-av { transform: scale(1.08) rotate(-6deg); }
.m-card h3 { margin: 0; font-size: 18px; }
.m-card .m-role { font-size: 11px; }
.m-card .m-dc { margin-top: 6px; font-size: 12px; }
.m-ex { position: absolute; top: 12px; right: 12px; z-index: 2; font: 800 10px var(--f-ui); letter-spacing: .14em; text-transform: uppercase; padding: 3px 8px; border-radius: 999px; color: #ffb547; border: 1px dashed rgba(255, 181, 71, .55); background: rgba(255, 181, 71, .08); }
@media (max-width: 980px) { .crew { grid-template-columns: repeat(2, 1fr); } .leaders { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .m-lead { flex-direction: column; text-align: center; padding: 24px 18px; } .m-dc { justify-content: center; } .crew { gap: 12px; } .m-card { padding: 22px 12px 18px; } }


/* full bar stays on normal laptop widths; it only tightens the spacing as the window narrows */
.links a, .brand { white-space: nowrap; }
@media (max-width: 1340px) and (min-width: 1051px) { .nav { gap: 16px; padding: 0 20px; } .links { gap: 16px; } .nav > .btn { padding-left: 18px; padding-right: 18px; } }
@media (max-width: 1210px) and (min-width: 1051px) { .nav { gap: 12px; } .links { gap: 11px; } .links a { font-size: 14px; } .brand { font-size: 17px; } .brand img { width: 34px; } .nav > .btn { padding-left: 15px; padding-right: 15px; }
    .links .nav-store[data-store-soon] em { display: none; } .links a.nav-store[data-store-soon]::after { right: 0; } }
@media (max-width: 1050px) {
    .nav { gap: 12px; }
    .nav > .btn { display: none; }
    .menu { display: block; margin-left: auto; }
    .links { position: fixed; top: 70px; left: 0; right: 0; flex-direction: column; gap: 0; background: rgba(18, 6, 15, .97); border-bottom: 1px solid var(--line); padding: 8px 20px 18px; transform: translateY(-120%); transition: transform .25s; margin-left: 0; }
    .links.open { transform: none; }
    .links a { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
    .links a::after { bottom: 6px; right: auto; width: 40px; }
    .links .nav-hiring { display: flex; }
}

/* Meet The Team groups: Founders, Co-Founders, Developers */
.m-groups { display: grid; gap: 34px; }
.m-group .leaders, .m-group .crew { margin: 0; }
.m-head { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.m-head h3 { margin: 0; font: 900 22px var(--f-ui); letter-spacing: -.01em; }
.m-head::after { content: ""; flex: 1; height: 1px; background: linear-gradient(90deg, var(--line), transparent); }
.m-ico { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; font-size: 19px; background: rgba(255, 95, 168, .12); border: 1px solid rgba(255, 95, 168, .35); }
.m-count { font: 800 12px var(--f-ui); color: var(--pink2); padding: 3px 9px; border-radius: 999px; background: rgba(255, 95, 168, .12); border: 1px solid rgba(255, 95, 168, .3); }
.crew.three { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 980px) { .crew.three { grid-template-columns: 1fr 1fr; } }
.leaders:has(> :only-child) { grid-template-columns: minmax(0, 560px); justify-content: center; }

.m-note { position: relative; overflow: hidden; text-align: center; padding: 34px 24px; border-radius: 22px; border: 1px dashed rgba(255, 120, 190, .5);
    background: radial-gradient(70% 120% at 50% 0%, rgba(255, 79, 159, .2), transparent 65%), rgba(255, 255, 255, .02); }
.m-note-emoji { display: block; font-size: 40px; letter-spacing: 6px; margin-bottom: 8px; }
.m-note-big { margin: 0; font: 400 clamp(30px, 4.6vw, 52px)/1.1 var(--f-brush); color: #fff; text-shadow: 0 0 24px rgba(255, 95, 168, .55); transform: rotate(-2deg); }
.m-note-text { margin: 12px auto 0; max-width: 52ch; color: var(--muted); font-size: 17px; }

/* Discord username: click to copy */
.m-dc { appearance: none; border: 1px solid rgba(88, 101, 242, .45); background: rgba(88, 101, 242, .14); color: #e3e5ff; cursor: pointer; padding: 5px 11px 5px 8px; border-radius: 999px; gap: 7px; transition: background .2s, border-color .2s, transform .15s; }
.m-dc::before { display: none; }
.m-dc svg { width: 16px; height: 16px; color: #8c96ff; flex: none; }
.m-dc:hover { background: #5865f2; border-color: #5865f2; color: #fff; }
.m-dc:hover svg { color: #fff; }
.m-dc:active { transform: scale(.96); }
.m-dc.copied { background: #3ee08f; border-color: #3ee08f; color: #0b2a1a; }
.m-dc.copied svg { color: #0b2a1a; }
.m-dc.copied span { font-size: 0; }
.m-dc.copied span::after { content: "Copied!"; font-size: 12px; }

/* seven menu links: switch to the menu button a little earlier */



/* Our Store menu link (shows a Soon tag until config.store has the Tebex link) */
.nav-store { display: inline-flex; align-items: center; gap: 6px; }
.nav-store em { display: none; font: 800 9px var(--f-ui); font-style: normal; letter-spacing: .1em; text-transform: uppercase; padding: 2px 6px; border-radius: 999px; color: #ffb547; border: 1px solid rgba(255, 181, 71, .5); background: rgba(255, 181, 71, .1); }
.nav-store[data-store-soon] em { display: inline-block; }
.links a.nav-store::after { right: 0; }
.links a.nav-store[data-store-soon]::after { right: 44px; }

/* ===== Server Updates (Discord changelog timeline) ===== */
#updates { overflow: hidden; }
#updates > .wrap { position: relative; z-index: 2; }
#updates > .diag > div { -webkit-text-stroke-color: rgba(255, 150, 200, .07); }
.up-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.up-head .lead { margin-bottom: 34px; }
.up-live { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 40px; padding: 7px 14px; border-radius: 999px; font: 800 12px var(--f-ui); letter-spacing: .1em; text-transform: uppercase; color: #8ff0bd; border: 1px solid rgba(62, 224, 143, .35); background: rgba(62, 224, 143, .08); }
.up-live i { width: 8px; height: 8px; border-radius: 50%; background: #3ee08f; animation: ping 1.8s ease-out infinite; }
.up-live.off { color: var(--muted); border-color: var(--line); background: rgba(255, 255, 255, .03); }
.up-live.off i { background: #8d7083; animation: none; }
.up-list { list-style: none; margin: 0; padding: 0; position: relative; display: grid; gap: 22px; }
.up-list::before { content: ""; position: absolute; left: 47px; top: 10px; bottom: 10px; width: 2px; background: linear-gradient(180deg, var(--pink), rgba(155, 92, 255, .4) 60%, transparent); }
.up { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 22px; align-items: start; }
.up-date { position: relative; z-index: 1; display: grid; justify-items: center; gap: 2px; padding: 12px 0; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.up-date b { font: 900 30px/1 var(--f-ui); }
.up-date span { font: 700 11px var(--f-ui); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.up.latest .up-date { border-color: rgba(255, 95, 168, .6); box-shadow: 0 0 0 4px rgba(255, 95, 168, .12), 0 10px 30px rgba(255, 79, 159, .2); }
.up-card { position: relative; overflow: hidden; isolation: isolate; padding: 22px 24px; border-radius: 20px; border: 1px solid var(--line); background: linear-gradient(160deg, rgba(255, 95, 168, .06), rgba(255, 255, 255, .02) 40%), var(--card); }
.up.latest .up-card { border-color: rgba(255, 95, 168, .45); background: radial-gradient(90% 120% at 100% 0%, rgba(255, 79, 159, .16), transparent 60%), var(--card); }
.up-card > .diag { z-index: -1; inset: -80%; gap: 14px; }
.up-card > .diag > div { font-size: 40px; -webkit-text-stroke: 1px rgba(255, 150, 200, .07); }
.up-card > .diag > div:nth-child(3n+2) { color: rgba(255, 95, 168, .035); }
.up-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; font: 600 12px var(--f-ui); color: var(--muted); margin-bottom: 8px; }
.up-new { font-weight: 800; letter-spacing: .12em; text-transform: uppercase; font-size: 10px; padding: 3px 9px; border-radius: 999px; color: #fff; background: linear-gradient(90deg, #ff4f9f, #b84dff); }
.up-card h3 { margin: 0 0 8px; font-size: 21px; line-height: 1.25; }
.up-body { color: #e6cddc; font-size: 15px; line-height: 1.6; max-height: 13.5em; overflow: hidden; -webkit-mask-image: linear-gradient(180deg, #000 70%, transparent); mask-image: linear-gradient(180deg, #000 70%, transparent); }
.up-body:not(:has(+ * + .up-toggle:not([hidden]))) { -webkit-mask-image: none; mask-image: none; }
.up-card.open .up-body { max-height: none; -webkit-mask-image: none; mask-image: none; }
.up-body p { margin: 0 0 8px; }
.up-body .up-sub { margin-top: 12px; font-weight: 800; color: var(--fg); }
.up-body ul { margin: 0 0 8px; padding-left: 0; list-style: none; display: grid; gap: 5px; }
.up-body li { position: relative; padding-left: 20px; }
.up-body li::before { content: ""; position: absolute; left: 4px; top: .6em; width: 7px; height: 7px; border-radius: 2px; transform: rotate(45deg); background: var(--pink); }
.up-body code { font: 600 13px ui-monospace, Consolas, monospace; background: rgba(255, 255, 255, .08); padding: 1px 6px; border-radius: 6px; }
.up-body a { color: var(--pink2); }
.up-img { display: block; width: 100%; max-height: 320px; object-fit: cover; margin-top: 12px; border-radius: 14px; border: 1px solid var(--line); }
.up-toggle, .up-link { display: inline-block; margin: 12px 16px 0 0; padding: 0; background: none; border: 0; cursor: pointer; font: 800 13px var(--f-ui); color: var(--pink2); text-decoration: none; }
.up-toggle:hover, .up-link:hover { color: #fff; }
.up-link::after { content: " \2197"; }
.up-empty { display: grid; gap: 6px; padding: 30px 26px; border-radius: 20px; border: 1px dashed rgba(255, 120, 190, .45); background: rgba(255, 255, 255, .02); text-align: center; color: var(--muted); }
.up-empty b { color: var(--fg); font-size: 18px; }
.up-foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }
@media (max-width: 640px) {
    .up-list::before { left: 31px; }
    .up { grid-template-columns: 64px minmax(0, 1fr); gap: 12px; }
    .up-date b { font-size: 22px; }
    .up-date span { font-size: 9px; letter-spacing: .04em; }
    .up-card { padding: 18px 16px; }
    .up-card h3 { font-size: 18px; }
}

/* How to Join: sunset skyline behind the section, faded into the page at the top and bottom */
#join { position: relative; overflow: hidden; isolation: isolate; }
#join::before { content: ""; position: absolute; inset: 0; z-index: -2; background: url(images/join-bg.jpg) center 55% / cover no-repeat; transform: scale(1.04); animation: drift 30s ease-in-out infinite alternate; }
#join::after { content: ""; position: absolute; inset: 0; z-index: -1;
    background: linear-gradient(90deg, rgba(18, 6, 15, .45), rgba(18, 6, 15, .1) 45%, rgba(18, 6, 15, .1) 70%, rgba(18, 6, 15, .3)),
                linear-gradient(180deg, var(--bg) 0%, rgba(18, 6, 15, .2) 16%, rgba(18, 6, 15, .05) 45%, rgba(18, 6, 15, .35) 82%, var(--bg) 100%); }
#join .step { background: rgba(22, 8, 20, .7); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-color: rgba(255, 170, 220, .18); }
#join .notice, #join [class*="lock"] { -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }

#team, #features, #rules, #about { overflow: hidden; }
#features > .wrap, #rules > .wrap, #about > .wrap { position: relative; z-index: 2; }
#team > .diag > div { -webkit-text-stroke-color: rgba(255, 150, 200, .06); }
#team > .diag > div:nth-child(3n+2) { color: rgba(255, 95, 168, .03); }


/* Footer social icons */
.socials { display: flex; gap: 10px; flex-wrap: wrap; }
.soc { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: var(--muted); background: rgba(255, 255, 255, .04); border: 1px solid var(--line); transition: color .2s, background .2s, border-color .2s, transform .2s; }
.soc svg { width: 18px; height: 18px; fill: currentColor; }
.soc:hover { color: #fff; transform: translateY(-2px); }
.soc-discord:hover { background: #5865f2; border-color: #5865f2; }
.soc-tiktok:hover { background: #111; border-color: #ff0050; box-shadow: 2px 2px 0 #00f2ea; }
.soc-youtube:hover { background: #ff0000; border-color: #ff0000; }
.soc-instagram:hover { background: linear-gradient(45deg, #f9ce34, #ee2a7b 50%, #6228d7); border-color: #ee2a7b; }
.soc-x:hover { background: #000; border-color: #444; }
.soc-twitch:hover { background: #9146ff; border-color: #9146ff; }
.soc-kick:hover { background: #53fc18; border-color: #53fc18; color: #000; }

/* FAQ */
#faq { overflow: hidden; }
#faq > .wrap { position: relative; z-index: 2; }
.faq-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; }
.faq-side { position: sticky; top: 110px; }
.faq-side .lead { margin-bottom: 28px; }
.faq-help { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; padding: 20px 22px; border-radius: 18px; border: 1px solid var(--line); background: rgba(22, 8, 20, .7); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.faq-help b { font-size: 16px; }
.faq-help span { color: var(--muted); font-size: 15px; margin-bottom: 10px; }
.faq-list { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.faq-item { border: 1px solid var(--line); border-radius: 16px; background: rgba(22, 8, 20, .72); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); transition: border-color .25s, background .25s; }
.faq-item[open] { border-color: rgba(255, 95, 168, .45); background: rgba(40, 12, 34, .8); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 22px; font-weight: 700; font-size: 17px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { color: #fff; }
.faq-item summary:focus-visible { outline: 2px solid var(--pink); outline-offset: 2px; border-radius: 16px; }
.faq-item summary i { position: relative; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line); transition: transform .3s, background .3s, border-color .3s; }
.faq-item summary i::before, .faq-item summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: currentColor; }
.faq-item summary i::after { transform: rotate(90deg); transition: transform .3s; }
.faq-item[open] summary i { background: var(--pink); border-color: var(--pink); color: #fff; transform: rotate(180deg); }
.faq-item[open] summary i::after { transform: rotate(0deg); }
.faq-a { padding: 0 22px 20px; color: var(--muted); font-size: 16px; line-height: 1.6; animation: faqIn .35s ease; }
.faq-a p { margin: 0; max-width: 62ch; }
@keyframes faqIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
@media (max-width: 900px) { .faq-grid { grid-template-columns: 1fr; gap: 24px; } .faq-side { display: contents; } .faq-help { order: 2; } .faq-list { order: 1; } }
@media (prefers-reduced-motion: reduce) { .faq-a { animation: none; } }

/* Launch countdown (hero) */
.countdown { margin: 0 0 28px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.cd-label { margin: 0; font-weight: 800; font-size: 13px; letter-spacing: .3em; text-transform: uppercase; color: var(--pink2, #ff8ac4); text-shadow: 0 0 18px rgba(255, 95, 168, .5); }
.cd-row { display: flex; gap: 12px; }
.cd-box { width: 92px; padding: 14px 0 10px; border-radius: 16px; text-align: center; background: rgba(14, 4, 12, .55); border: 1px solid rgba(255, 170, 220, .22); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); box-shadow: 0 10px 30px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .06); }
.cd-box b { display: block; font-size: 40px; line-height: 1; font-weight: 900; font-variant-numeric: tabular-nums; letter-spacing: .02em; color: #fff; }
.cd-box b.tick { animation: cdTick .45s ease; }
.cd-box small { display: block; margin-top: 8px; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.cd-box:last-child b { background: linear-gradient(180deg, #fff, #ff9ccc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.cd-when { margin: 0; font-size: 14px; font-weight: 600; color: rgba(255, 255, 255, .7); }
.countdown.done .cd-box { border-color: rgba(62, 224, 143, .5); }
@keyframes cdTick { 0% { transform: translateY(-6px); opacity: .2; } 100% { transform: none; opacity: 1; } }
@media (max-width: 480px) { .cd-row { gap: 8px; } .cd-box { width: 70px; padding: 11px 0 8px; border-radius: 13px; } .cd-box b { font-size: 30px; } .cd-box small { font-size: 9px; letter-spacing: .12em; } }
@media (prefers-reduced-motion: reduce) { .cd-box b.tick { animation: none; } }

/* Live Discord counts */
.dcs { display: inline-flex; align-items: center; gap: 12px; margin-top: 22px; padding: 9px 18px 9px 10px; border-radius: 999px; background: rgba(14, 4, 12, .55); border: 1px solid rgba(255, 170, 220, .22); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; box-shadow: 0 10px 30px rgba(0, 0, 0, .3); transition: border-color .2s, transform .2s; }
.dcs:hover { border-color: rgba(120, 130, 255, .7); transform: translateY(-1px); }
.dcs-ic { width: 32px; height: 32px; border-radius: 50%; background: #5865f2; display: grid; place-items: center; flex: none; }
.dcs-ic svg, .dcc-ic svg { fill: #fff; }
.dcs-ic svg { width: 18px; height: 18px; }
.dcs b { font-weight: 900; font-variant-numeric: tabular-nums; }
.dcs-m { color: rgba(255, 255, 255, .75); font-weight: 500; }
.dcs-sep { width: 1px; height: 18px; background: rgba(255, 255, 255, .18); }
.dcs-on { display: inline-block; width: 9px; height: 9px; margin-right: 6px; border-radius: 50%; background: #3ee08f; box-shadow: 0 0 10px #3ee08f; animation: blink 1.6s ease-in-out infinite; }
.dcc { display: flex; align-items: center; gap: 22px; margin: 0 0 22px; padding: 22px 26px; border-radius: 20px; background: linear-gradient(120deg, rgba(88, 101, 242, .24), rgba(22, 8, 20, .78)); border: 1px solid rgba(120, 130, 255, .35); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.dcc-ic { width: 58px; height: 58px; border-radius: 16px; background: #5865f2; display: grid; place-items: center; flex: none; }
.dcc-ic svg { width: 32px; height: 32px; }
.dcc-txt { min-width: 0; }
.dcc h3 { margin: 0 0 4px; font-size: 19px; }
.dcc p { margin: 0; color: rgba(255, 255, 255, .72); font-size: 15px; }
.dcc-nums { margin-left: auto; display: flex; gap: 26px; text-align: center; }
.dcc-nums b { display: block; font-size: 30px; font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; }
.dcc-nums small { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .6); }
.dcc-g b { color: #3ee08f; }
@media (max-width: 860px) { .dcc { flex-wrap: wrap; gap: 16px; } .dcc-nums { margin-left: 0; } .dcc .btn { margin-left: auto; } }
@media (max-width: 480px) { .dcs { font-size: 13px; gap: 9px; padding: 7px 14px 7px 8px; } .dcs-ic { width: 26px; height: 26px; } .dcc-txt { flex: 1 1 100%; } }

/* Add to calendar (under the countdown) */
.cal { position: relative; margin-top: 2px; }
.cal-btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; cursor: pointer; font: 700 14px var(--f-ui, Inter, sans-serif); color: #fff; background: rgba(14, 4, 12, .5); border: 1px solid rgba(255, 170, 220, .3); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: border-color .2s, background .2s; }
.cal-btn:hover, .cal-btn[aria-expanded="true"] { border-color: var(--pink); background: rgba(40, 10, 32, .7); }
.cal-btn svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.cal-menu { position: absolute; left: 50%; top: calc(100% + 8px); transform: translateX(-50%); z-index: 20; min-width: 200px; padding: 6px; border-radius: 14px; background: #1c0a18; border: 1px solid rgba(255, 170, 220, .25); box-shadow: 0 18px 40px rgba(0, 0, 0, .5); display: flex; flex-direction: column; text-align: left; }
.cal-menu a { padding: 10px 14px; border-radius: 9px; color: #fff; text-decoration: none; font-weight: 600; font-size: 14px; cursor: pointer; }
.cal-menu a:hover { background: rgba(255, 95, 168, .16); }
.countdown.done .cal { display: none; }
.hero-inner { position: relative; z-index: 3; }
.cal { z-index: 30; }

/* Gallery */
#gallery { overflow: hidden; }
#gallery > .wrap { position: relative; z-index: 2; }
.gal { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 16px;
    -webkit-mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.gal-row { overflow: hidden; }
.gal-track { display: flex; gap: 16px; width: max-content; animation: galMove calc(var(--n) * 7s) linear infinite; }
.gal-row.rev .gal-track { animation-direction: reverse; }
.gal-row:hover .gal-track, .gal-row:focus-within .gal-track { animation-play-state: paused; }
@keyframes galMove { from { transform: translateX(0); } to { transform: translateX(calc(-50% - 8px)); } }
.gal-shot { position: relative; flex: none; height: 230px; padding: 0; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; cursor: zoom-in; background: #120610; }
.gal-shot img { height: 100%; width: auto; display: block; transition: transform .5s ease, filter .3s; filter: saturate(.95); }
.gal-shot:hover img, .gal-shot:focus-visible img { transform: scale(1.06); filter: saturate(1.1); }
.gal-shot:focus-visible { outline: 2px solid var(--pink); outline-offset: 2px; }
.gal-shot span { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 14px 10px; text-align: left; font-weight: 700; font-size: 14px; color: #fff; background: linear-gradient(transparent, rgba(0, 0, 0, .75)); opacity: 0; transform: translateY(6px); transition: opacity .25s, transform .25s; }
.gal-shot:hover span, .gal-shot:focus-visible span { opacity: 1; transform: none; }
@media (max-width: 760px) { .gal-shot { height: 170px; border-radius: 12px; } .gal, .gal-track { gap: 10px; } .gal-shot span { opacity: 1; transform: none; font-size: 12px; } }
@media (prefers-reduced-motion: reduce) { .gal-row { overflow-x: auto; } .gal-track { animation: none; } }
.lb { position: fixed; inset: 0; z-index: 120; display: flex; align-items: center; justify-content: center; gap: 14px; padding: 60px max(16px, env(safe-area-inset-right, 0px)) 40px max(16px, env(safe-area-inset-left, 0px)); background: rgba(8, 2, 7, .92); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); animation: lbIn .25s ease; }
.lb[hidden] { display: none; }
@keyframes lbIn { from { opacity: 0; } to { opacity: 1; } }
body.lb-open { overflow: hidden; }
.lb-fig { margin: 0; max-width: min(1200px, 100%); display: flex; flex-direction: column; align-items: center; gap: 12px; min-width: 0; }
.lb-fig img { max-width: 100%; max-height: calc(100vh - 160px); border-radius: 14px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); }
.lb-fig figcaption { color: rgba(255, 255, 255, .8); font-weight: 600; font-size: 15px; }
.lb-x, .lb-nav { flex: none; display: grid; place-items: center; color: #fff; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .2); border-radius: 50%; cursor: pointer; transition: background .2s, border-color .2s; }
.lb-x:hover, .lb-nav:hover { background: var(--pink); border-color: var(--pink); }
.lb-x { position: absolute; top: 16px; right: max(16px, env(safe-area-inset-right, 0px)); width: 44px; height: 44px; font-size: 26px; line-height: 1; }
.lb-nav { width: 50px; height: 50px; font-size: 32px; line-height: 1; padding-bottom: 4px; }
@media (max-width: 760px) { .lb-nav { position: absolute; bottom: 18px; width: 46px; height: 46px; } .lb-prev { left: calc(50% - 56px); } .lb-next { right: calc(50% - 56px); } .lb-fig img { max-height: calc(100vh - 200px); } }

/* Note under "Staff Hiring" in the menu */
.nav-hiring { position: relative; }
.hire-tip { position: absolute; top: calc(100% + 18px); left: 50%; z-index: 60; backface-visibility: hidden; -webkit-font-smoothing: antialiased; width: max-content; max-width: 230px; padding: 10px 14px; border-radius: 12px; font-size: 13px; font-weight: 600; line-height: 1.35; color: #fff; text-align: center; white-space: normal;
    background: linear-gradient(135deg, #2a0d22, #3a1030); border: 1px solid rgba(62, 224, 143, .55); box-shadow: 0 14px 34px rgba(0, 0, 0, .5), 0 0 22px rgba(62, 224, 143, .18);
    opacity: 0; pointer-events: none; transform: translate3d(-50%, 6px, 0); transition: opacity .6s ease, transform .6s ease; }
.hire-tip::before { content: ""; position: absolute; top: -7px; left: 50%; width: 12px; height: 12px; margin-left: -6px; transform: rotate(45deg); background: #2b0d23; border-left: 1px solid rgba(62, 224, 143, .55); border-top: 1px solid rgba(62, 224, 143, .55); }
.hire-tip b { display: block; color: #3ee08f; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 2px; }
.hire-tip u { text-decoration-color: #3ee08f; text-underline-offset: 2px; }
.hire-tip.show { opacity: 1; pointer-events: auto; transform: translate3d(-50%, 0, 0); }
/* gentle float: its own GPU layer + translate3d so it glides instead of stepping pixel by pixel */
.hire-tip { will-change: transform, opacity; }
.hire-tip.show { animation: tipFloat 3.2s cubic-bezier(.45, 0, .55, 1) .4s infinite alternate; }
@keyframes tipFloat { from { transform: translate3d(-50%, 0, 0); } to { transform: translate3d(-50%, 5px, 0); } }
.hire-sub { display: none; }
@media (max-width: 1050px) {
    .hire-tip { display: none; }
    .links .nav-hiring { flex-wrap: wrap; }
    .hire-sub { display: block; flex-basis: 100%; margin-top: 2px; font-size: 12px; font-weight: 500; color: #3ee08f; }
}
@media (prefers-reduced-motion: reduce) { .hire-tip.show { animation: none; } }
