/* ==========================================================================
   BARACHIEL COMMUNITY — premium build
   Black & white, ash grey, restrained crimson. Anton display, Inter body, JetBrains Mono labels.
   ========================================================================== */
:root {
  --bg: #0a0a0a;
  --bg-2: #111111;
  --ink: #f4f4f2;
  --ink-2: #c9c9c6;
  --muted: #9a9a97;
  --line: #262626;
  --line-2: #3a3a3a;
  --red: #e11d2a;
  --display: 'Anton', 'Impact', sans-serif;
  --body: 'Inter', 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --pad: clamp(20px, 6vw, 96px);
  --nav-h: 76px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--bg); }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
body.is-locked { overflow: hidden; height: 100vh; }
img { display: block; max-width: 100%; }
a { color: inherit; }
em { font-style: normal; color: var(--red); }
button { font: inherit; }
.mono { font-family: var(--mono); font-weight: 500; letter-spacing: .22em; text-transform: uppercase; font-size: 11px; }
::selection { background: var(--red); color: #fff; }

/* ---------- overlays ---------- */
#ash { position: fixed; inset: 0; z-index: 30; pointer-events: none; }
.grain { position: fixed; inset: -50%; z-index: 31; pointer-events: none; opacity: .055;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1.2s steps(6) infinite; }
@keyframes grain { 0%,100%{transform:translate(0,0)} 25%{transform:translate(-3%,2%)} 50%{transform:translate(2%,-3%)} 75%{transform:translate(-2%,-1%)} }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 14px; padding: 17px 28px; font-family: var(--mono); font-weight: 700; font-size: 12px; letter-spacing: .2em; text-decoration: none; border: 1px solid transparent; cursor: pointer; transition: background .25s, color .25s, border-color .25s, transform .25s; white-space: nowrap; }
.btn span { transition: transform .25s; }
.btn:hover span { transform: translateX(4px); }
.btn-solid { background: var(--ink); color: #0a0a0a; }
.btn-solid:hover { background: var(--red); color: #fff; }
.btn-line { background: transparent; color: var(--ink); border-color: var(--line-2); }
.btn-line:hover { border-color: var(--ink); background: rgba(255,255,255,.04); }
.btn-sm { padding: 11px 18px; font-size: 11px; }
.btn-lg { padding: 21px 34px; font-size: 13px; }
.chip { font-family: var(--mono); font-size: 11px; letter-spacing: .2em; padding: 10px 14px; background: rgba(0,0,0,.55); color: #ddd; border: 1px solid rgba(255,255,255,.18); cursor: pointer; backdrop-filter: blur(6px); }
.chip:hover { color: #fff; border-color: #fff; }
.icon-btn { width: 44px; height: 44px; border: 1px solid var(--line-2); background: transparent; color: var(--ink); cursor: pointer; transition: all .2s; }
.icon-btn:hover { background: var(--ink); color: #000; }
.btn:focus-visible, .icon-btn:focus-visible, .chip:focus-visible, a:focus-visible, button:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* ==========================================================================
   THE SUMMONING
   ========================================================================== */
.summoning { position: fixed; inset: 0; z-index: 100; background: #000; overflow: hidden; }
.summoning.gone { display: none; }
.summoning video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 45%; opacity: 0; transition: opacity .5s; }
.summoning.playing video { opacity: 1; }
.gate { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; text-align: center; gap: 22px; padding: 24px;
  background: radial-gradient(ellipse at 50% 40%, #1a1a1a 0%, #050505 65%); }
.summoning.playing .gate { display: none; }
.gate-logo { width: min(340px, 70vw); filter: drop-shadow(0 0 30px rgba(255,255,255,.12)); animation: breathe 4s ease-in-out infinite; }
@keyframes breathe { 50% { transform: scale(1.03); filter: drop-shadow(0 0 40px rgba(225,29,42,.25)); } }
.gate-kicker { color: var(--muted); }
.gate-title { font-family: var(--display); font-weight: 400; font-size: clamp(44px, 7vw, 92px); line-height: .95; margin: 0; letter-spacing: .01em; }
.gate-actions { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 8px; }
.gate-note { color: #666; font-size: 10px; }
.film-tools { position: absolute; right: 20px; bottom: 20px; display: none; gap: 8px; z-index: 3; }
.summoning.playing .film-tools { display: flex; }

/* ==========================================================================
   NAV
   ========================================================================== */
.nav { position: fixed; inset: 0 0 auto; height: var(--nav-h); z-index: 50; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 var(--pad); transition: background .35s, border-color .35s, transform .35s; border-bottom: 1px solid transparent; }
.nav.scrolled { background: rgba(10,10,10,.82); backdrop-filter: blur(14px); border-bottom-color: var(--line); }
.nav-brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.nav-brand img { width: 56px; height: auto; }
.nav-brand span { font-family: var(--display); font-size: 20px; letter-spacing: .06em; line-height: 1; display: grid; }
.nav-brand small { font-family: var(--mono); font-size: 9px; letter-spacing: .32em; color: var(--muted); margin-top: 4px; }
.nav-links { display: flex; gap: clamp(18px, 3vw, 40px); }
.nav-links a { font-family: var(--mono); font-size: 11px; letter-spacing: .22em; text-decoration: none; color: var(--ink-2); position: relative; padding: 6px 0; }
.nav-links a::after { content: ''; position: absolute; left: 0; right: 100%; bottom: 0; height: 1px; background: var(--red); transition: right .3s; }
.nav-links a:hover { color: #fff; } .nav-links a:hover::after { right: 0; }
.nav-right { display: flex; align-items: center; gap: 10px; }
.sound { display: flex; align-items: center; gap: 10px; height: 40px; padding: 0 14px; border: 1px solid var(--line-2); background: transparent; color: var(--ink-2); cursor: pointer; font-family: var(--mono); font-size: 11px; letter-spacing: .2em; }
.sound b { font-weight: 500; }
.eq { display: flex; gap: 2px; align-items: flex-end; height: 12px; }
.eq i { width: 2px; height: 3px; background: currentColor; transition: height .2s; }
.sound.on { color: #fff; border-color: #fff; }
.sound.on .eq i { animation: eq 1s ease-in-out infinite; }
.sound.on .eq i:nth-child(2) { animation-delay: -.3s; } .sound.on .eq i:nth-child(3) { animation-delay: -.6s; } .sound.on .eq i:nth-child(4) { animation-delay: -.15s; }
@keyframes eq { 0%,100% { height: 3px; } 50% { height: 12px; } }

/* ==========================================================================
   HERO
   ========================================================================== */
.hero { position: relative; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--nav-h) + 40px) var(--pad) 120px; overflow: hidden;
  background: radial-gradient(ellipse at 78% 45%, rgba(255,255,255,.09), transparent 55%), radial-gradient(ellipse at 15% 90%, rgba(225,29,42,.14), transparent 50%), var(--bg); }
.hero::before { content: ''; position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(255,255,255,.9) 1px, transparent 1.5px); background-size: 9px 9px; opacity: .07;
  -webkit-mask-image: radial-gradient(ellipse at 70% 40%, #000, transparent 65%); mask-image: radial-gradient(ellipse at 70% 40%, #000, transparent 65%); pointer-events: none; }
.hero-word { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); font-family: var(--display); font-size: 25vw; line-height: 1; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.07); white-space: nowrap; pointer-events: none; user-select: none; }
.hero-art { position: absolute; right: -4vw; top: 50%; height: min(118vh, 1100px); width: auto; transform: translateY(-48%); opacity: .95; pointer-events: none; will-change: transform;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 35%); mask-image: linear-gradient(90deg, transparent 0%, #000 35%); }
.hero-inner { position: relative; z-index: 2; max-width: 760px; display: grid; gap: 26px; }
.kicker { color: var(--muted); }
.hero-logo { width: min(620px, 86vw); margin-left: -2%; filter: drop-shadow(0 20px 60px rgba(0,0,0,.6)); }
.hero-slogan { font-family: var(--display); font-weight: 400; font-size: clamp(30px, 4.2vw, 62px); line-height: 1; margin: 0; letter-spacing: .01em; display: grid; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 6px; }
.scroll-cue { position: absolute; left: var(--pad); bottom: 36px; color: var(--muted); text-decoration: none; display: flex; align-items: center; gap: 14px; z-index: 2; }
.scroll-cue i { width: 60px; height: 1px; background: var(--line-2); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ''; position: absolute; inset: 0; background: var(--ink); transform: translateX(-100%); animation: cue 2.2s ease-in-out infinite; }
@keyframes cue { 50% { transform: translateX(0); } 100% { transform: translateX(100%); } }
.replay { position: absolute; right: var(--pad); bottom: 30px; z-index: 2; background: none; border: 0; color: var(--muted); cursor: pointer; padding: 6px 0; }
.replay:hover { color: #fff; }

/* marquee */
.marquee { border-block: 1px solid var(--line); background: var(--ink); color: #0a0a0a; overflow: hidden; }
.marquee-track { display: flex; gap: 40px; width: max-content; padding: 16px 0; animation: marquee 32s linear infinite; font-family: var(--display); font-size: 22px; letter-spacing: .06em; align-items: center; }
.marquee b { color: var(--red); font-size: 16px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ==========================================================================
   SECTIONS
   ========================================================================== */
.section { position: relative; padding: clamp(100px, 12vw, 170px) var(--pad); border-top: 1px solid var(--line); overflow-x: clip; }
.sec-index { position: absolute; top: 34px; left: var(--pad); color: var(--muted); }
.sec-index::after { content: ''; display: inline-block; width: 40px; height: 1px; background: var(--red); vertical-align: middle; margin-left: 14px; }
.display { font-family: var(--display); font-weight: 400; font-size: clamp(56px, 9vw, 150px); line-height: .9; letter-spacing: .005em; margin: 0; display: grid; }
.display .dim { color: #4a4a48; }
.lead { font-size: clamp(18px, 1.6vw, 22px); line-height: 1.6; color: var(--ink); max-width: 560px; margin: 0; }
.body { font-size: 16px; line-height: 1.75; color: var(--ink-2); max-width: 520px; margin: 0; }
.fine { font-size: 13px; color: var(--muted); margin: 0; }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; margin-bottom: clamp(40px, 6vw, 80px); }
.sec-side { display: grid; gap: 18px; justify-items: start; max-width: 420px; }
.text-link { color: var(--ink-2); text-decoration: none; border-bottom: 1px solid var(--line-2); padding-bottom: 6px; justify-self: start; }
.text-link:hover { color: #fff; border-color: #fff; }

/* order */
.order { background: radial-gradient(ellipse at 85% 30%, rgba(255,255,255,.06), transparent 50%), var(--bg); }
.order-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 6vw, 110px); align-items: center; }
.order-copy { display: grid; gap: 30px; }
.pillars { list-style: none; padding: 0; margin: 10px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line-2); }
.pillars li { padding: 18px 0 0; font-family: var(--mono); font-size: 11px; letter-spacing: .2em; color: var(--ink); display: grid; gap: 8px; }
.pillars b { color: var(--red); font-weight: 700; }
.order-art { margin: 0; display: grid; gap: 14px; }
.order-art .frame { position: relative; aspect-ratio: 4 / 5; overflow: hidden; border: 1px solid var(--line-2); background: #000; }
.order-art .frame img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; transform: scale(1.06); transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.order-art:hover .frame img { transform: scale(1.1); }
.order-art .frame::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(10,10,10,.85)), radial-gradient(circle, rgba(255,255,255,.18) 1px, transparent 1.5px); background-size: auto, 7px 7px; mix-blend-mode: normal; opacity: .9; pointer-events: none; }
.order-art figcaption { color: var(--muted); }

/* ==========================================================================
   THE FALLEN DECK
   ========================================================================== */
.deck { background: radial-gradient(ellipse at 50% 85%, rgba(225,29,42,.13), transparent 55%), radial-gradient(ellipse at 50% 60%, rgba(255,255,255,.05), transparent 60%), var(--bg); }
.deck-controls { display: flex; gap: 8px; align-items: center; }
.card-stage { position: relative; width: 100%; max-width: 1180px; margin: 0 auto; perspective: 1600px; }
.fcard { position: absolute; left: 50%; top: 0; width: var(--cw); height: calc(var(--cw) * 1.4); margin-left: calc(var(--cw) / -2); padding: 0; border: 0; background: none; cursor: pointer; transform-origin: 50% 85%; -webkit-tap-highlight-color: transparent; will-change: transform; }
.fc-inner { position: absolute; inset: 0; display: block; transform-style: preserve-3d; }
.fc-face { position: absolute; inset: 0; border-radius: 12px; overflow: hidden; display: block; box-shadow: 0 22px 50px rgba(0,0,0,.65); }
.fcard .fc-front { visibility: hidden; transform: rotateY(180deg); }
.fcard.show-front .fc-front { visibility: visible; }
.fcard.show-front .fc-back { visibility: hidden; }
.fcard:focus-visible { outline: none; }
.fcard:focus-visible .fc-face { box-shadow: 0 0 0 2px #fff, 0 22px 50px rgba(0,0,0,.65); }
.fc-back { background: #0f0f0f; border: 1px solid #444; }
.fc-back::before { content: ''; position: absolute; inset: 8px; border: 1px solid #333; border-radius: 7px; background: repeating-linear-gradient(45deg, #171717 0 5px, #0f0f0f 5px 10px); }
.fc-back-art { position: absolute; inset: 0; display: grid; place-items: center; }
.fc-back-art img { width: 68%; }
.fc-back-ace { position: absolute; left: 12px; top: 8px; font-family: var(--display); font-size: calc(var(--cw) * .16); color: #ddd; }
.fc-front { background: linear-gradient(160deg, #222, #121212 55%, #1c1c1c); border: 1px solid #4a4a4a; }
.fc-front::before { content: ''; position: absolute; inset: 6px; border: 1px solid #333; border-radius: 7px; pointer-events: none; }
.fc-idx { position: absolute; z-index: 3; font-family: var(--display); line-height: .9; color: #f2f2f2; font-size: calc(var(--cw) * .11); display: flex; flex-direction: column; align-items: center; }
.fc-idx i { font-style: normal; font-size: .8em; color: #aaa; }
.fc-idx.tl { left: 10px; top: 9px; } .fc-idx.br { right: 10px; bottom: 9px; transform: rotate(180deg); }
.fc-art { position: absolute; left: 12%; right: 12%; top: 9%; aspect-ratio: 1; border: 1px solid #3a3a3a; overflow: hidden; background: #000; }
.fc-art img { width: 100%; height: 100%; object-fit: cover; }
.fc-plate { position: absolute; left: 7%; right: 7%; bottom: 8%; text-align: center; display: grid; gap: 3px; }
.fc-plate b { font-family: var(--display); font-weight: 400; font-size: calc(var(--cw) * .1); letter-spacing: .03em; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.fc-plate small { font-family: var(--mono); font-size: calc(var(--cw) * .045); letter-spacing: .2em; color: #bdbdbd; }
/* the ace */
.is-ace .fc-back { border-color: #9a9a9a; background: linear-gradient(145deg, #2d2d2d, #0d0d0d 45%, #222); }
.is-ace .fc-front { border: 1px solid #d0d0d0; background: radial-gradient(ellipse at 50% 35%, #232323, #070707 70%); box-shadow: 0 0 0 1px #000, 0 0 0 3px #6a6a6a, 0 26px 60px rgba(0,0,0,.8); }
.is-ace .fc-front::before { border-color: #a5a5a5; }
.is-ace .fc-front::after { content: ''; position: absolute; inset: 11px; border: 1px solid rgba(225,29,42,.6); border-radius: 5px; pointer-events: none; }
.is-ace .fc-idx { font-size: calc(var(--cw) * .16); }
.is-ace .fc-idx i { color: var(--red); }
.fc-spade { position: absolute; left: 50%; top: 44%; width: 92%; transform: translate(-50%, -50%); opacity: .08; }
.fc-spade svg { width: 100%; fill: #fff; display: block; }
.is-ace .fc-art { border-color: #b0b0b0; z-index: 1; }
.is-ace .fc-plate b { background: linear-gradient(180deg, #fff, #a5a5a5 55%, #ececec); -webkit-background-clip: text; background-clip: text; color: transparent; }
.is-ace .fc-plate small { color: var(--red); font-weight: 700; }
.fc-sheen { position: absolute; inset: 0; z-index: 4; pointer-events: none; background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.3) 48%, rgba(255,255,255,.05) 55%, transparent 65%); background-size: 250% 100%; background-position: 150% 0; }
.is-ace.revealed .fc-sheen, .dd-card.flare .fc-sheen { animation: sheen 1.4s ease-out 1; }
@keyframes sheen { from { background-position: 150% 0; } to { background-position: -60% 0; } }
/* detail view */
body.modal-open { overflow: hidden; }
.deck-detail, .arena-lb { position: fixed; inset: 0; z-index: 120; display: none; }
.deck-detail.open { display: block; }
.dd-backdrop, .alb-backdrop { position: absolute; inset: 0; background: rgba(5,5,5,.9); backdrop-filter: blur(8px); }
.dd-body { position: absolute; inset: 0; display: grid; grid-template-columns: auto minmax(0, 400px); gap: 60px; align-items: center; justify-content: center; padding: 24px; perspective: 1600px; }
.dd-card { --cw: min(340px, 30vw); position: relative; width: var(--cw); height: calc(var(--cw) * 1.4); }
.dd-card .dd-front { position: absolute; inset: 0; transform: none; visibility: visible; }
.dd-kicker { color: var(--muted); margin: 0 0 16px; }
.dd-name { font-family: var(--display); font-weight: 400; font-size: clamp(44px, 5vw, 80px); line-height: .95; margin: 0 0 14px; word-break: break-word; }
.dd-role { font-family: var(--mono); letter-spacing: .24em; font-size: 13px; color: var(--ink-2); margin: 0 0 30px; }
.dd-role b { color: var(--red); }
.dd-nav { display: flex; align-items: center; gap: 14px; }
.dd-count { font-family: var(--mono); font-size: 12px; letter-spacing: .25em; color: var(--muted); }
.dd-close, .alb-close { position: absolute; top: 20px; right: 20px; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line-2); background: #000; color: #fff; cursor: pointer; z-index: 2; }
.dd-close:hover, .alb-close:hover { background: #fff; color: #000; }

/* ==========================================================================
   THE ARENA
   ========================================================================== */
.arena { background: radial-gradient(ellipse at 20% 15%, rgba(255,255,255,.06), transparent 50%), var(--bg); }
.arena-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; perspective: 1400px; perspective-origin: 50% 0; }
.atile { position: relative; padding: 0; border: 0; background: none; cursor: pointer; text-align: left; color: inherit; }
.at-card { position: relative; display: block; background: var(--bg-2); border: 1px solid var(--line-2); transform-style: preserve-3d; will-change: transform; overflow: hidden; }
.at-card img { width: 100%; aspect-ratio: 1; object-fit: cover; display: block; transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.atile:hover .at-card img { transform: scale(1.05); }
.at-cap { display: flex; gap: 12px; align-items: baseline; padding: 14px 16px; border-top: 1px solid var(--line-2); font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .2em; }
.at-cap b { color: var(--red); }
.at-shadow { position: absolute; left: 6%; right: 6%; bottom: -16px; height: 26px; border-radius: 50%; background: radial-gradient(ellipse, rgba(0,0,0,.9), transparent 70%); filter: blur(4px); }
.atile:focus-visible { outline: none; } .atile:focus-visible .at-card { outline: 2px solid #fff; }
.arena-lb.open { display: grid; place-items: center; }
.alb-fig { position: relative; margin: 0; max-width: min(92vw, 880px); display: grid; gap: 14px; z-index: 1; }
.alb-fig img { max-height: 80vh; width: auto; max-width: 100%; margin: 0 auto; border: 1px solid #333; box-shadow: 0 30px 80px #000; }
.alb-fig figcaption { display: flex; gap: 14px; justify-content: center; font-family: var(--mono); font-size: 12px; letter-spacing: .24em; color: #ddd; }
.alb-num { color: var(--red); }
.alb-btn { position: absolute; top: 50%; margin-top: -24px; width: 48px; height: 48px; border: 1px solid var(--line-2); background: #000; color: #fff; cursor: pointer; z-index: 2; }
.alb-btn:hover { background: #fff; color: #000; }
.alb-prev { left: 20px; } .alb-next { right: 20px; }

/* ==========================================================================
   JOIN + PHONE
   ========================================================================== */
.join { background: radial-gradient(ellipse at 76% 45%, rgba(255,255,255,.08), transparent 55%), radial-gradient(ellipse at 10% 95%, rgba(225,29,42,.14), transparent 50%), var(--bg); }
.join-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.join-copy { display: grid; gap: 28px; }
.join-title { font-size: clamp(60px, 8.5vw, 140px); }
.join-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.phone-wrap { display: grid; justify-items: center; gap: 30px; perspective: 1600px; }
.phone-caption { color: var(--muted); margin: 0; }
.phone3d { --pw: min(300px, 72vw, 44vh); width: var(--pw); aspect-ratio: 9 / 19.3; position: relative; transform-style: preserve-3d; transform: rotateY(-14deg) rotateX(6deg) rotateZ(1deg); will-change: transform; }
.ph-body { position: absolute; inset: 0; border-radius: calc(var(--pw) * .17); padding: calc(var(--pw) * .038);
  background: linear-gradient(145deg, #7a7a7a 0%, #2e2e2e 18%, #1b1b1b 45%, #444 70%, #161616 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.2), inset 0 0 0 3px #0c0c0c, 0 50px 90px -20px rgba(0,0,0,.95), -18px 30px 60px rgba(0,0,0,.6); }
.ph-btn { position: absolute; width: 4px; border-radius: 2px; background: linear-gradient(90deg, #1b1b1b, #666 50%, #1b1b1b); }
.ph-action { left: -3px; top: 17%; height: 5%; } .ph-volup { left: -3px; top: 25%; height: 9%; } .ph-voldn { left: -3px; top: 36%; height: 9%; } .ph-power { right: -3px; top: 28%; height: 14%; }
.ph-screen { position: relative; width: 100%; height: 100%; border-radius: calc(var(--pw) * .135); overflow: hidden; background: #000; color: #e4e6eb; font-family: -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif; isolation: isolate; }
.ph-island { position: absolute; top: calc(var(--pw) * .035); left: 50%; width: 32%; height: calc(var(--pw) * .088); transform: translateX(-50%); background: #000; border-radius: 999px; z-index: 6; }
.ph-status { position: absolute; top: 0; left: 0; right: 0; z-index: 5; display: flex; justify-content: space-between; align-items: center; padding: calc(var(--pw) * .05) calc(var(--pw) * .09) 0; font-size: calc(var(--pw) * .045); font-weight: 600; color: #fff; }
.ph-ind { display: flex; gap: 5px; align-items: center; } .ph-ind svg { height: calc(var(--pw) * .034); fill: #fff; }
.ph-batt { width: calc(var(--pw) * .075); height: calc(var(--pw) * .036); border: 1px solid rgba(255,255,255,.6); border-radius: 3px; padding: 1px; display: block; }
.ph-batt i { display: block; height: 100%; width: 78%; background: #fff; border-radius: 1px; }
.ph-app { position: absolute; inset: 0; padding-top: calc(var(--pw) * .15); background: #18191a; display: flex; flex-direction: column; }
.ph-fbbar { display: flex; align-items: center; justify-content: space-between; padding: 6px 14px 8px; font-size: calc(var(--pw) * .047); font-weight: 700; border-bottom: 1px solid #2f3031; }
.ph-back, .ph-search { font-size: 1.3em; color: #b0b3b8; font-weight: 400; }
.ph-feed { flex: 1; overflow: hidden; }
.ph-cover { height: calc(var(--pw) * .36); overflow: hidden; } .ph-cover img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 50%; }
.ph-avatar { width: calc(var(--pw) * .29); height: calc(var(--pw) * .29); margin: calc(var(--pw) * -.15) 0 0 14px; border-radius: 50%; border: 4px solid #18191a; background: #000; overflow: hidden; position: relative; display: grid; place-items: center; }
.ph-avatar img { width: 92%; }
.ph-name { padding: 8px 14px 0; font-size: calc(var(--pw) * .068); font-weight: 800; color: #fff; }
.ph-cat { padding: 2px 14px 0; font-size: calc(var(--pw) * .04); color: #b0b3b8; }
.ph-bio { padding: 6px 14px 0; font-size: calc(var(--pw) * .042); line-height: 1.4; }
.ph-actions { display: flex; gap: 6px; padding: 10px 14px 0; }
.ph-actions a { flex: 1; text-align: center; text-decoration: none; font-size: calc(var(--pw) * .042); font-weight: 700; padding: 8px 0; border-radius: 7px; background: #3a3b3c; color: #e4e6eb; }
.ph-actions a.ph-primary { background: #e4e6eb; color: #050505; }
.ph-tabs { display: flex; gap: 14px; padding: 12px 14px 0; font-size: calc(var(--pw) * .042); font-weight: 700; color: #b0b3b8; border-bottom: 1px solid #2f3031; }
.ph-tabs span { padding-bottom: 8px; } .ph-tabs .on { color: #e4e6eb; border-bottom: 2px solid #e4e6eb; }
.ph-post { margin-top: 8px; background: #242526; padding-bottom: 4px; }
.ph-post header { display: flex; align-items: center; gap: 8px; padding: 10px 12px; }
.ph-post header img { width: calc(var(--pw) * .11); height: calc(var(--pw) * .11); border-radius: 50%; object-fit: contain; background: #000; }
.ph-post header div { flex: 1; display: grid; } .ph-post header b { font-size: calc(var(--pw) * .044); } .ph-post header small { font-size: calc(var(--pw) * .034); color: #b0b3b8; }
.ph-post p { padding: 0 12px 10px; font-size: calc(var(--pw) * .044); line-height: 1.4; margin: 0; }
.ph-postimg { width: 100%; }
.ph-post footer { display: flex; justify-content: space-around; padding: 9px 0 6px; font-size: calc(var(--pw) * .038); color: #b0b3b8; border-top: 1px solid #3a3b3c; }
.ph-home { position: absolute; bottom: calc(var(--pw) * .025); left: 50%; width: 36%; height: 4px; transform: translateX(-50%); background: rgba(255,255,255,.85); border-radius: 4px; z-index: 6; }
.ph-glare { position: absolute; inset: 0; z-index: 7; pointer-events: none; background: linear-gradient(115deg, rgba(255,255,255,.14) 0%, rgba(255,255,255,.04) 22%, transparent 38%, transparent 70%, rgba(255,255,255,.05) 100%); mix-blend-mode: screen; }
.ph-power-on { position: absolute; inset: 0; z-index: 8; background: #000; opacity: 0; pointer-events: none; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 80px var(--pad) 40px; display: grid; justify-items: center; gap: 22px; text-align: center; background: radial-gradient(ellipse at 50% 0%, rgba(255,255,255,.05), transparent 60%), var(--bg); }
.foot-logo { width: min(280px, 60vw); }
.foot-slogan { font-family: var(--display); font-size: clamp(24px, 3vw, 40px); margin: 0; }
.foot-links { display: flex; flex-wrap: wrap; gap: 26px; justify-content: center; }
.foot-links a { text-decoration: none; color: var(--ink-2); } .foot-links a:hover { color: #fff; }
.foot-copy { color: #5f5f5d; font-size: 10px; margin: 18px 0 0; }

/* ---------- reveal (only hidden once JS confirms it is running) ---------- */
.js [data-reveal] { opacity: 0; transform: translateY(36px); }
.js [data-reveal].in { opacity: 1; transform: none; transition: opacity 1s cubic-bezier(.2,.7,.2,1), transform 1s cubic-bezier(.2,.7,.2,1); }
.js .display[data-reveal] { opacity: 1; transform: none; }
.js .display[data-reveal] > span { display: block; clip-path: inset(0 0 100% 0); transform: translateY(40%); }
.js .display[data-reveal].in > span { clip-path: inset(0 0 0 0); transform: none; transition: clip-path 1s cubic-bezier(.2,.7,.2,1), transform 1s cubic-bezier(.2,.7,.2,1); }
.js .display[data-reveal].in > span:nth-child(2) { transition-delay: .08s; }
.js .display[data-reveal].in > span:nth-child(3) { transition-delay: .16s; }
.js .display[data-reveal].in > span:nth-child(4) { transition-delay: .24s; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */
@media (max-width: 1020px) {
  .nav-links { display: none; }
  .order-grid, .join-grid { grid-template-columns: 1fr; }
  .order-art { max-width: 520px; }
  .arena-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .hero-art { opacity: .45; right: -30vw; }
}
@media (max-width: 640px) {
  :root { --nav-h: 64px; }
  .nav-brand span { display: none; }
  .nav-brand img { width: 48px; }
  .sound b { display: none; }
  .hero { align-items: flex-end; padding-bottom: 110px; }
  .hero-art { height: 80vh; top: 30%; right: -40vw; opacity: .4; }
  .pillars { grid-template-columns: repeat(2, 1fr); row-gap: 18px; }
  .dd-body { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 22px; align-content: center; }
  .dd-card { --cw: min(250px, 62vw); }
  .dd-nav { justify-content: center; }
  .at-cap { font-size: 9px; padding: 10px; letter-spacing: .14em; }
  .alb-prev, .alb-next { top: auto; bottom: 20px; margin-top: 0; }
  .alb-prev { left: calc(50% - 58px); } .alb-next { right: calc(50% - 58px); }
  .btn-lg { padding: 18px 22px; font-size: 12px; }
  .replay { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .grain, .marquee-track, .gate-logo, .scroll-cue i::after { animation: none !important; }
}

/* hero balance: keep the halftone face clear of the logo */
.hero-art { height: min(96vh, 900px); right: -10vw; -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.35) 22%, #000 48%); mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.35) 22%, #000 48%); }
.hero-logo { width: min(560px, 50vw); }
@media (max-width: 1020px) { .hero-logo { width: min(520px, 84vw); } }

.arena{overflow:clip}

@media (max-width: 640px) {
  .hero-art { opacity: .3; height: 72vh; top: 26%; right: -46vw; }
  .nav { background: rgba(10,10,10,.82); backdrop-filter: blur(14px); border-bottom-color: var(--line); }
  .hero-logo { width: 88vw; margin-left: -3%; }
}

/* ==========================================================================
   THE ARMORY — coming soon merch
   ========================================================================== */
.armory { background: radial-gradient(ellipse at 25% 50%, rgba(225,29,42,.12), transparent 55%), radial-gradient(ellipse at 80% 20%, rgba(255,255,255,.05), transparent 50%), var(--bg); }
.armory-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.armory-art { position: relative; margin: 0; border: 1px solid var(--line-2); overflow: hidden; background: #000; }
.armory-art img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1.2s cubic-bezier(.2,.7,.2,1); }
.armory-art:hover img { transform: scale(1.04); }
.armory-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 60%, rgba(10,10,10,.6)); pointer-events: none; }
.soon-badge { position: absolute; top: 18px; left: 18px; z-index: 2; background: var(--red); color: #fff; padding: 10px 14px; font-weight: 700; letter-spacing: .26em; box-shadow: 0 10px 30px rgba(225,29,42,.35); animation: soon 2.4s ease-in-out infinite; }
@keyframes soon { 50% { box-shadow: 0 10px 40px rgba(225,29,42,.65); } }
.armory-copy { display: grid; gap: 26px; }
.perks { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line-2); }
.perks li { padding-top: 16px; display: grid; gap: 8px; font-family: var(--mono); font-size: 11px; letter-spacing: .18em; }
.perks b { color: var(--red); }
.armory-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }
.soon-note { color: var(--muted); }
@media (max-width: 1020px) { .armory-grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .perks { grid-template-columns: 1fr; row-gap: 10px; } .perks li { grid-template-columns: 34px 1fr; padding-top: 12px; } }
@media (prefers-reduced-motion: reduce) { .soon-badge { animation: none; } }

/* ==========================================================================
   COLLAB
   ========================================================================== */
.collab { background: radial-gradient(ellipse at 80% 40%, rgba(255,255,255,.06), transparent 55%), radial-gradient(ellipse at 10% 90%, rgba(225,29,42,.12), transparent 50%), var(--bg); }
.collab-grid { display: grid; grid-template-columns: 1fr minmax(0, 480px); gap: clamp(40px, 6vw, 100px); align-items: center; }
.collab-copy { display: grid; gap: 26px; }
.collab-list { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 30px; border-top: 1px solid var(--line-2); padding-top: 18px; }
.collab-list li { font-family: var(--mono); font-size: 12px; letter-spacing: .18em; display: flex; align-items: center; gap: 12px; }
.collab-list li::before { content: ''; width: 8px; height: 8px; background: var(--red); flex: none; }
.collab-art { margin: 0; border: 1px solid var(--line-2); box-shadow: 0 40px 80px rgba(0,0,0,.6); transform: rotate(1.5deg); transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.collab-art:hover { transform: rotate(0) translateY(-6px); }
.collab-art img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
@media (max-width: 1020px) { .collab-grid { grid-template-columns: 1fr; } .collab-art { max-width: 480px; } }
@media (max-width: 640px) { .collab-list { grid-template-columns: 1fr; } .collab-art { transform: none; } }

/* six nav links: keep them on one line, hide earlier on narrower screens */
.nav-links { gap: clamp(14px, 2vw, 32px); }
.nav-links a { white-space: nowrap; }
@media (max-width: 1140px) { .nav-links { display: none; } }

/* ==========================================================================
   THE CALL — recruitment ad
   ========================================================================== */
.call { background: radial-gradient(ellipse at 75% 45%, rgba(225,29,42,.14), transparent 55%), radial-gradient(ellipse at 15% 20%, rgba(255,255,255,.05), transparent 50%), var(--bg); }
.call-grid { display: grid; grid-template-columns: 1fr minmax(0, 400px); gap: clamp(40px, 6vw, 110px); align-items: center; }
.call-copy { display: grid; gap: 26px; }
.reqs { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line-2); }
.reqs li { display: grid; grid-template-columns: 44px 1fr; column-gap: 10px; padding: 14px 0; border-bottom: 1px solid var(--line); align-items: baseline; }
.reqs b { font-family: var(--mono); font-size: 11px; color: var(--red); letter-spacing: .15em; grid-row: span 2; }
.reqs span { font-family: var(--display); font-size: clamp(20px, 2vw, 26px); letter-spacing: .03em; }
.reqs small { font-size: 13px; color: var(--muted); }
.call-video { position: relative; aspect-ratio: 9 / 16; border: 1px solid var(--line-2); background: #000; box-shadow: 0 40px 90px rgba(0,0,0,.7), 0 0 0 6px #0f0f0f, 0 0 0 7px #2a2a2a; border-radius: 22px; overflow: hidden; }
.call-video video { width: 100%; height: 100%; object-fit: cover; display: block; }
.call-play { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 16px; background: linear-gradient(180deg, rgba(0,0,0,.05), rgba(0,0,0,.45)); border: 0; color: #fff; cursor: pointer; }
.call-play span { width: 86px; height: 86px; border-radius: 50%; display: grid; place-items: center; background: var(--red); font-size: 28px; padding-left: 6px; box-shadow: 0 0 0 10px rgba(225,29,42,.25), 0 20px 50px rgba(225,29,42,.45); transition: transform .3s; }
.call-play:hover span { transform: scale(1.08); }
.call-play.hide { display: none; }
@media (max-width: 1020px) { .call-grid { grid-template-columns: 1fr; } .call-video { max-width: 380px; width: 100%; justify-self: center; } }

/* ---------- game card: Call of Duty: Mobile — Garena store links ---------- */
.game-card { border: 1px solid var(--line-2); background: linear-gradient(135deg, rgba(255,255,255,.04), rgba(255,255,255,0) 60%); padding: 22px 24px; display: grid; gap: 10px; position: relative; overflow: hidden; }
.game-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--red); }
.game-card .kicker { margin: 0; }
.game-title { font-family: var(--display); font-size: clamp(24px, 2.4vw, 32px); letter-spacing: .02em; margin: 0; line-height: 1.05; }
.game-title sup { font-size: .45em; vertical-align: super; }
.game-title em { color: var(--ink-2); }
.store-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 6px; }
.store-btn { display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px 10px 14px; background: #000; color: #fff; text-decoration: none; border: 1px solid #555; border-radius: 10px; min-width: 176px; transition: border-color .2s, transform .2s, background .2s; }
.store-btn:hover { border-color: #fff; transform: translateY(-2px); background: #111; }
.store-btn svg { width: 26px; height: 26px; fill: #fff; flex: none; }
.store-btn span { display: grid; font-family: var(--body); font-weight: 700; font-size: 17px; line-height: 1.1; letter-spacing: .01em; }
.store-btn small { font-weight: 500; font-size: 10px; letter-spacing: .04em; color: #bbb; }
