/* Cabal Pro Mobile - cyberpunk theme */
:root {
  --bg: #06060c;
  --bg2: #0b0c18;
  --panel: rgba(13, 15, 30, .72);
  --panel2: rgba(20, 23, 44, .85);
  --line: rgba(0, 240, 255, .18);
  --cyan: #00f0ff;
  --mag: #ff2bd6;
  --yel: #f5e663;
  --red: #ff3b5c;
  --green: #2bff88;
  --text: #e6f1ff;
  --muted: #8a93b5;
  --cap: #3b9bff;
  --pro: #ff4d6d;
  --clip: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  --clip-sm: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  --navh: 72px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; overflow-x: clip; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font: 15px/1.6 Inter, system-ui, sans-serif; overflow-x: hidden;
  background-image: radial-gradient(1200px 600px at 80% -10%, rgba(255, 43, 214, .10), transparent 60%),
                    radial-gradient(900px 500px at -10% 30%, rgba(0, 240, 255, .08), transparent 60%);
  min-height: 100vh;
}
a { color: var(--cyan); text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: 'Chakra Petch', Rajdhani, sans-serif; font-weight: 700; letter-spacing: .03em; margin: 0 0 .4em; line-height: 1.15; }
h2 { font-size: clamp(26px, 4vw, 40px); }
h3 { font-size: 18px; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.small { font-size: 12px; }
.wrap { width: min(1220px, 100% - 32px); margin-inline: auto; }
.hidden { display: none !important; }
::selection { background: var(--mag); color: #fff; }

#fx { position: fixed; inset: 0; z-index: 0; pointer-events: none; opacity: .55; }
.scanlines { position: fixed; inset: 0; z-index: 1; pointer-events: none; opacity: .07;
  background: repeating-linear-gradient(0deg, #fff 0 1px, transparent 1px 3px); mix-blend-mode: overlay; }
main, .foot, .nav, .topbanner { position: relative; z-index: 2; }

/* ---------- buttons ---------- */
.btn { --c: var(--cyan); display: inline-flex; align-items: center; justify-content: center; gap: 8px; cursor: pointer;
  font: 700 15px/1 Rajdhani, sans-serif; letter-spacing: .12em; text-transform: uppercase; padding: 13px 22px;
  border: 0; color: #050509; background: var(--c); clip-path: var(--clip-sm); position: relative; transition: .2s; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
.btn:hover { filter: brightness(1.15); box-shadow: 0 0 24px var(--c); transform: translateY(-1px); }
.btn-cyan { --c: var(--cyan); }
.btn-mag { --c: var(--mag); color: #fff; }
.btn-ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px rgba(0, 240, 255, .45); }
.btn-ghost:hover, .btn-ghost.on { background: rgba(0, 240, 255, .1); color: var(--cyan); box-shadow: inset 0 0 0 1px var(--cyan), 0 0 18px rgba(0, 240, 255, .35); }
.btn.sm { padding: 9px 14px; font-size: 13px; }
.btn.lg { padding: 17px 30px; font-size: 17px; }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .5; pointer-events: none; }
.btn .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }

/* ---------- top banner ---------- */
.topbanner { background: linear-gradient(90deg, var(--mag), #7a2bff, var(--cyan)); color: #fff; text-align: center;
  font: 600 14px Rajdhani, sans-serif; letter-spacing: .08em; padding: 6px 16px; }

/* ---------- nav ---------- */
.nav { position: sticky; top: 0; height: var(--navh); z-index: 50; transition: background .3s, height .3s, box-shadow .3s;
  background: linear-gradient(180deg, rgba(6, 6, 12, .85), rgba(6, 6, 12, .35)); backdrop-filter: blur(14px) saturate(140%); }
.nav.scrolled { --navh: 60px; background: rgba(6, 6, 12, .92); box-shadow: 0 10px 40px rgba(0, 0, 0, .5); }
.nav-line { position: absolute; left: 0; right: 0; bottom: 0; height: 2px; overflow: hidden;
  background: linear-gradient(90deg, transparent, var(--cyan) 20%, var(--mag) 50%, var(--cyan) 80%, transparent); background-size: 200% 100%;
  animation: navline 6s linear infinite; opacity: .8; }
.nav-line::after { content: ''; position: absolute; top: 0; width: 120px; height: 100%; background: #fff; filter: blur(3px); animation: navspark 3.5s ease-in-out infinite; }
@keyframes navline { to { background-position: -200% 0; } }
@keyframes navspark { 0% { left: -10%; } 100% { left: 110%; } }
.nav-in { height: 100%; display: flex; align-items: center; gap: 22px; width: min(1320px, 100% - 32px); margin-inline: auto; }
.logo { position: relative; display: inline-flex; align-items: baseline; gap: 6px; font: 900 22px Orbitron, sans-serif; letter-spacing: .12em; color: #fff; flex-shrink: 0; }
.logo .l1 { color: #fff; }
.logo .l2 { color: var(--cyan); text-shadow: 0 0 12px var(--cyan); }
.logo small { position: relative; font: 800 15px Orbitron, sans-serif; letter-spacing: .32em; margin-left: 8px; align-self: center; padding: 3px 4px 3px 9px;
  background: linear-gradient(90deg, var(--mag), #b44bff, var(--cyan), #b44bff, var(--mag)); background-size: 300% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 6px rgba(255, 43, 214, .75));
  animation: mobileShift 4s linear infinite, mobileFlicker 6s steps(1) infinite; }
.logo small::before { content: ''; position: absolute; left: 0; top: 18%; bottom: 18%; width: 2px; background: var(--mag); box-shadow: 0 0 8px var(--mag); animation: mobileBar 4s linear infinite; }
.logo small::after { content: ''; position: absolute; left: 9px; right: 0; bottom: -2px; height: 2px;
  background: linear-gradient(90deg, transparent, var(--cyan), transparent); background-size: 200% 100%; animation: mobileScan 2.2s ease-in-out infinite; }
@keyframes mobileShift { to { background-position: 300% 0; } }
@keyframes mobileFlicker { 0%, 100% { opacity: 1; } 91% { opacity: .35; } 92% { opacity: 1; } 94% { opacity: .5; } 95% { opacity: 1; } }
@keyframes mobileBar { 0%, 100% { background: var(--mag); box-shadow: 0 0 8px var(--mag); } 50% { background: var(--cyan); box-shadow: 0 0 8px var(--cyan); } }
@keyframes mobileScan { 0% { background-position: 150% 0; opacity: 0; } 30% { opacity: 1; } 100% { background-position: -50% 0; opacity: 0; } }
.foot .logo small { font-size: 13px; }
.nav .logo:hover { animation: glitchShake .35s steps(2) 2; }
.links { display: flex; align-items: center; gap: 4px; flex: 1; }
.links > a { position: relative; white-space: nowrap; color: var(--text); font: 600 15px Rajdhani, sans-serif; letter-spacing: .12em; text-transform: uppercase; padding: 10px 12px; transition: color .2s; }
.links > a::before { content: ''; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; background: var(--cyan);
  transform: scaleX(0); transform-origin: left; transition: transform .25s; box-shadow: 0 0 10px var(--cyan); }
.links > a:hover, .links > a.on { color: var(--cyan); text-shadow: 0 0 10px rgba(0, 240, 255, .6); }
.links > a:hover::before, .links > a.on::before { transform: scaleX(1); }
.links > a.discord { color: #a5b0ff; }
.links-auth { margin-left: auto; display: flex; gap: 8px; align-items: center; }
.live { display: flex; align-items: center; gap: 7px; font: 600 13px Rajdhani, sans-serif; letter-spacing: .08em; color: var(--muted);
  padding: 6px 12px; border: 1px solid var(--line); clip-path: var(--clip-sm); white-space: nowrap; }
.live b { color: var(--text); font-size: 15px; }
.live.down .pulse { background: var(--red); box-shadow: 0 0 10px var(--red); animation: none; }
.pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 10px var(--green); animation: pulse 1.6s infinite; flex-shrink: 0; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(43, 255, 136, .7); } 70% { box-shadow: 0 0 0 9px rgba(43, 255, 136, 0); } 100% { box-shadow: 0 0 0 0 rgba(43, 255, 136, 0); } }
.burger { display: none; background: none; border: 1px solid var(--line); width: 44px; height: 40px; padding: 10px; cursor: pointer; clip-path: var(--clip-sm); }
.burger span { display: block; height: 2px; background: var(--cyan); margin: 4px 0; transition: .3s; }
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- glitch ---------- */
.glitch { position: relative; white-space: nowrap; font: 900 clamp(34px, 5.6vw, 92px)/1 Orbitron, sans-serif; letter-spacing: .06em; margin: 14px 0 8px;
  color: #fff; text-shadow: 0 0 30px rgba(0, 240, 255, .55); }
.glitch::before, .glitch::after, .glitch-sm::before, .glitch-sm::after { content: attr(data-text); position: absolute; inset: 0; pointer-events: none; }
.glitch::before { color: var(--cyan); transform: translate(-3px, 0); clip-path: inset(0 0 60% 0); animation: gl1 3.2s infinite steps(1); mix-blend-mode: screen; }
.glitch::after { color: var(--mag); transform: translate(3px, 0); clip-path: inset(55% 0 0 0); animation: gl2 2.7s infinite steps(1); mix-blend-mode: screen; }
@keyframes gl1 { 0%, 86%, 100% { clip-path: inset(0 0 100% 0); } 87% { clip-path: inset(10% 0 60% 0); transform: translate(-6px, 0); } 90% { clip-path: inset(40% 0 30% 0); transform: translate(5px, 0); } 93% { clip-path: inset(70% 0 5% 0); transform: translate(-3px, 0); } }
@keyframes gl2 { 0%, 80%, 100% { clip-path: inset(100% 0 0 0); } 81% { clip-path: inset(60% 0 10% 0); transform: translate(6px, 0); } 85% { clip-path: inset(20% 0 55% 0); transform: translate(-5px, 0); } 88% { clip-path: inset(80% 0 0 0); transform: translate(3px, 0); } }
@keyframes glitchShake { 0% { transform: translate(0); } 50% { transform: translate(-2px, 1px); text-shadow: 2px 0 var(--mag), -2px 0 var(--cyan); } 100% { transform: translate(1px, -1px); } }
.glitch-sm { position: relative; font: 900 clamp(30px, 4.5vw, 52px)/1.05 Orbitron, sans-serif; color: #fff; }
.glitch-sm::before { color: var(--cyan); animation: gl1 4s infinite steps(1); }
.glitch-sm::after { color: var(--mag); animation: gl2 3.4s infinite steps(1); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: calc(100vh - var(--navh)); min-height: calc(100svh - 72px); display: flex; align-items: center; overflow: hidden; margin-top: calc(-1 * var(--navh)); padding-top: var(--navh); }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -3; filter: saturate(1.15) contrast(1.05); }
.hero-shade { position: absolute; inset: 0; z-index: -2;
  background: linear-gradient(90deg, rgba(6, 6, 12, .95) 0%, rgba(6, 6, 12, .7) 45%, rgba(6, 6, 12, .35) 100%), linear-gradient(0deg, var(--bg) 2%, transparent 40%); }
.hero-grid { position: absolute; left: -50%; right: -50%; bottom: -10%; height: 55%; z-index: -1; opacity: .35;
  background-image: linear-gradient(var(--cyan) 1px, transparent 1px), linear-gradient(90deg, var(--cyan) 1px, transparent 1px); background-size: 60px 60px;
  transform: perspective(500px) rotateX(62deg); transform-origin: bottom; animation: grid 2.4s linear infinite;
  mask-image: linear-gradient(0deg, #000 10%, transparent 90%); -webkit-mask-image: linear-gradient(0deg, #000 10%, transparent 90%); }
@keyframes grid { to { background-position: 0 60px; } }
.hero-in { display: grid; grid-template-columns: 1.35fr .9fr; gap: 48px; align-items: center; padding: 60px 0 90px; }
.chip { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; font: 600 14px Rajdhani, sans-serif; letter-spacing: .06em;
  background: rgba(43, 255, 136, .07); border: 1px solid rgba(43, 255, 136, .35); color: #b8ffd8; clip-path: var(--clip-sm); }
.hero-sub { font: 700 clamp(18px, 2.6vw, 28px) Rajdhani, sans-serif; letter-spacing: .3em; color: var(--cyan); min-height: 1.4em; }
.caret { animation: blink 1s steps(1) infinite; color: var(--mag); }
@keyframes blink { 50% { opacity: 0; } }
.lead { font-size: 17px; color: #c4cbe6; max-width: 560px; margin: 18px 0 28px; }
.cta { display: flex; gap: 14px; flex-wrap: wrap; }
.stats { display: grid; grid-template-columns: repeat(4, auto); gap: 30px; margin-top: 40px; justify-content: start; }
.stats b { display: block; font: 700 32px Orbitron, sans-serif; color: #fff; text-shadow: 0 0 14px rgba(0, 240, 255, .5); }
.stats span { font: 600 12px Rajdhani, sans-serif; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
.scroll-hint { position: absolute; left: 50%; bottom: 22px; width: 26px; height: 42px; border: 2px solid rgba(0, 240, 255, .6); border-radius: 14px; transform: translateX(-50%); }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; background: var(--cyan); border-radius: 2px; transform: translateX(-50%); animation: scrollh 1.6s infinite; }
@keyframes scrollh { 0% { opacity: 1; top: 8px; } 100% { opacity: 0; top: 24px; } }

/* ---------- panels ---------- */
.panel { background: var(--panel); border: 1px solid var(--line); clip-path: var(--clip); padding: 22px; backdrop-filter: blur(10px); position: relative; }
.panel::before { content: ''; position: absolute; top: 0; left: 0; width: 60px; height: 2px; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); }
.panel::after { content: ''; position: absolute; bottom: 0; right: 0; width: 60px; height: 2px; background: var(--mag); box-shadow: 0 0 12px var(--mag); }
.panel-h { display: flex; justify-content: space-between; align-items: center; font: 700 14px Rajdhani, sans-serif; letter-spacing: .2em; color: var(--muted); margin-bottom: 14px; }
.badge { padding: 3px 10px; font: 700 12px Rajdhani, sans-serif; letter-spacing: .15em; background: rgba(138, 147, 181, .15); color: var(--muted); clip-path: var(--clip-sm); }
.badge.up { background: rgba(43, 255, 136, .15); color: var(--green); }
.badge.down { background: rgba(255, 59, 92, .15); color: var(--red); }
.channels { list-style: none; margin: 0 0 18px; padding: 0; }
.channels li { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px dashed rgba(0, 240, 255, .12); font: 600 15px Rajdhani, sans-serif; letter-spacing: .04em; }
.channels li i { font-style: normal; font-size: 12px; letter-spacing: .15em; display: flex; align-items: center; gap: 6px; }
.channels li i::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); }
.channels li i.off { color: var(--red); }
.channels li i.off::before { background: var(--red); box-shadow: 0 0 8px var(--red); }
.nation-h { display: flex; justify-content: space-between; font: 700 13px Rajdhani, sans-serif; letter-spacing: .2em; }
.nation-h .cap { color: var(--cap); } .nation-h .pro { color: var(--pro); }
.nation-bar { display: flex; height: 8px; margin: 8px 0 4px; background: #111; overflow: hidden; }
.nation-bar i { display: block; transition: width 1s; }
.nation-bar i:first-child { background: linear-gradient(90deg, #1f5fff, var(--cap)); box-shadow: 0 0 12px var(--cap); }
.nation-bar i:last-child { background: linear-gradient(90deg, var(--pro), #ff1f4b); box-shadow: 0 0 12px var(--pro); }
.clock { margin-top: 16px; font: 600 13px Rajdhani, sans-serif; letter-spacing: .12em; color: var(--muted); }
.clock b { color: var(--cyan); font-family: Orbitron, sans-serif; letter-spacing: .1em; margin-left: 6px; }

/* ---------- ticker ---------- */
.ticker { position: relative; z-index: 2; overflow: hidden; border-block: 1px solid var(--line); background: rgba(0, 240, 255, .04); padding: 14px 0; }
.ticker-in { display: flex; gap: 48px; width: max-content; animation: tick 40s linear infinite; }
.ticker span { font: 700 16px Orbitron, sans-serif; letter-spacing: .2em; color: rgba(230, 241, 255, .55); white-space: nowrap; }
.ticker span:nth-child(odd) { color: var(--cyan); }
.ticker span::after { content: '◆'; margin-left: 48px; color: var(--mag); font-size: 10px; vertical-align: middle; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.sec { position: relative; padding: 96px 0; }
.sec-h { text-align: center; max-width: 720px; margin: 0 auto 46px; }
.sec-h.left { text-align: left; margin: 0 0 26px; }
.kicker { display: inline-block; font: 700 13px Rajdhani, sans-serif; letter-spacing: .35em; color: var(--mag); margin-bottom: 10px; }
.page-hero { padding: 70px 0 30px; text-align: center; }
.page-hero h1 { font-size: clamp(32px, 5vw, 56px); }
.page-hero p { color: var(--muted); max-width: 640px; margin: 0 auto; }

.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.feat { background: var(--panel); border: 1px solid var(--line); padding: 26px 22px; clip-path: var(--clip); transition: transform .25s, border-color .25s, box-shadow .25s; position: relative; overflow: hidden; }
.feat::after { content: ''; position: absolute; inset: 0; background: linear-gradient(120deg, transparent 30%, rgba(0, 240, 255, .12), transparent 70%); transform: translateX(-100%); transition: transform .7s; }
.feat:hover { border-color: var(--cyan); box-shadow: 0 0 30px rgba(0, 240, 255, .18); }
.feat:hover::after { transform: translateX(100%); }
.feat h3 { margin-top: 14px; }
.feat p { color: var(--muted); font-size: 14px; margin: 0; }
.feat-ic { width: 52px; height: 52px; display: grid; place-items: center; background: rgba(0, 240, 255, .08); border: 1px solid var(--line); clip-path: var(--clip-sm); }
.feat-ic::before { content: ''; width: 26px; height: 26px; background: var(--cyan); -webkit-mask: var(--m) center/contain no-repeat; mask: var(--m) center/contain no-repeat; }
.feat:nth-child(even) .feat-ic::before { background: var(--mag); }
.ic-war { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M14.5 17.5 3 6V3h3l11.5 11.5M13 19l6-6M16 16l4 4M19 21l2-2M9.5 17.5 21 6V3h-3L6.5 14.5M11 19l-6-6M8 16l-4 4M5 21l-2-2'/%3E%3C/svg%3E"); }
.ic-raid { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M12 2c1 3 4 4 4 8a4 4 0 0 1-8 0c0-2 1-3 1-3s0 2 2 2c0-3-1-5 1-7zM5 15c0 4 3 7 7 7s7-3 7-7'/%3E%3C/svg%3E"); }
.ic-pass { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Crect x='3' y='5' width='18' height='14' rx='1'/%3E%3Cpath d='M3 10h18M8 15h3'/%3E%3C/svg%3E"); }
.ic-soul { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M6 3h12l4 6-10 12L2 9z'/%3E%3Cpath d='M2 9h20M9 3l3 18 3-18'/%3E%3C/svg%3E"); }
.ic-arena { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M12 3 4 6v6c0 5 3.5 8 8 9 4.5-1 8-4 8-9V6z'/%3E%3Cpath d='m9 12 2 2 4-4'/%3E%3C/svg%3E"); }
.ic-guild { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Ccircle cx='9' cy='8' r='3'/%3E%3Ccircle cx='17' cy='9' r='2.5'/%3E%3Cpath d='M3 20c0-3.5 2.7-6 6-6s6 2.5 6 6M15 14.5c3 0 6 2 6 5.5'/%3E%3C/svg%3E"); }
.ic-wing { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M12 8C9 3 4 3 2 4c2 2 2 6 5 8-2 0-3 1-4 2 3 1 6 0 9-3M12 8c3-5 8-5 10-4-2 2-2 6-5 8 2 0 3 1 4 2-3 1-6 0-9-3M12 8v12'/%3E%3C/svg%3E"); }
.ic-plat { --m: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2'%3E%3Cpath d='M3 8l4 4 5-7 5 7 4-4-2 11H5z'/%3E%3C/svg%3E"); }

/* ---------- classes ---------- */
.classes { background: linear-gradient(180deg, transparent, rgba(255, 43, 214, .05) 50%, transparent); }
.class-stage { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; min-height: 520px; }
.class-art { position: relative; display: grid; place-items: center; }
.class-art img { position: relative; z-index: 1; max-height: 560px; width: auto; filter: drop-shadow(0 0 40px rgba(0, 240, 255, .25)); transition: opacity .35s, transform .35s; }
.class-art img.swap { opacity: 0; transform: translateX(30px) scale(.97); }
.class-ring { position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(0, 240, 255, .35);
  box-shadow: 0 0 60px rgba(0, 240, 255, .15) inset, 0 0 60px rgba(255, 43, 214, .12); animation: spin 18s linear infinite; }
.class-ring::before, .class-ring::after { content: ''; position: absolute; inset: 8%; border-radius: 50%; border: 1px dashed rgba(255, 43, 214, .4); }
.class-ring::after { inset: -6%; border: 2px solid transparent; border-top-color: var(--cyan); border-right-color: var(--mag); }
@keyframes spin { to { transform: rotate(360deg); } }
.class-info p { color: #c4cbe6; font-size: 16px; max-width: 480px; margin: 18px 0 26px; min-height: 76px; }
.bars { display: grid; gap: 14px; max-width: 420px; }
.bars label { display: grid; grid-template-columns: 90px 1fr; align-items: center; font: 600 14px Rajdhani, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.bars i { height: 8px; background: rgba(255, 255, 255, .06); clip-path: polygon(0 0, 100% 0, calc(100% - 6px) 100%, 0 100%); }
.bars b { display: block; height: 100%; background: linear-gradient(90deg, var(--cyan), var(--mag)); transition: width .6s cubic-bezier(.2, .8, .2, 1); box-shadow: 0 0 12px var(--cyan); }
.class-pick { display: grid; grid-template-columns: repeat(9, 1fr); gap: 10px; margin-top: 34px; }
.class-pick button { background: var(--panel); border: 1px solid var(--line); padding: 0 0 8px; cursor: pointer; clip-path: var(--clip-sm); color: var(--muted);
  font: 700 12px Rajdhani, sans-serif; letter-spacing: .08em; text-transform: uppercase; transition: .2s; overflow: hidden; }
.class-pick img { width: 100%; height: 110px; object-fit: cover; object-position: top; filter: grayscale(.8) brightness(.7); transition: .3s; }
.class-pick button:hover img, .class-pick button.on img { filter: none; transform: scale(1.06); }
.class-pick button.on { border-color: var(--cyan); color: var(--cyan); box-shadow: 0 0 20px rgba(0, 240, 255, .3); }
.class-pick span { display: block; padding: 6px 4px 0; }

/* ---------- news ---------- */
.two-col { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; }
.news-list { display: grid; gap: 16px; }
.news-card { display: grid; grid-template-columns: 200px 1fr; background: var(--panel); border: 1px solid var(--line); clip-path: var(--clip); color: var(--text); transition: .25s; overflow: hidden; }
.news-card:hover { border-color: var(--cyan); transform: translateX(4px); box-shadow: -6px 0 0 var(--cyan); }
.news-img { background: center/cover no-repeat; min-height: 140px; transition: transform .5s; }
.news-card:hover .news-img { transform: scale(1.06); }
.news-body { padding: 16px 20px; }
.news-body h3 { font-size: 17px; margin: 6px 0; }
.news-body p { color: var(--muted); font-size: 14px; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.news-meta { display: flex; gap: 12px; align-items: center; font: 600 12px Rajdhani, sans-serif; letter-spacing: .12em; color: var(--muted); }
.tag { color: #050509; background: var(--yel); padding: 2px 8px; font: 700 11px Rajdhani, sans-serif; letter-spacing: .15em; text-transform: uppercase; clip-path: var(--clip-sm); }
.more { display: inline-block; margin-top: 16px; font: 700 14px Rajdhani, sans-serif; letter-spacing: .15em; text-transform: uppercase; }
.more:hover { text-shadow: 0 0 10px var(--cyan); }
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.news-grid .news-card { grid-template-columns: 1fr; }
.news-grid .news-img { min-height: 190px; }
.article { max-width: 820px; margin: 0 auto; }
.article .cover { aspect-ratio: 16/7; background: center/cover; clip-path: var(--clip); margin-bottom: 26px; border: 1px solid var(--line); }
.article .body { font-size: 16px; color: #cdd4ee; white-space: pre-line; }
.article .body p { margin: 0 0 1em; }

/* ---------- ranking ---------- */
.tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.tabs button { background: transparent; border: 1px solid var(--line); color: var(--muted); padding: 8px 14px; cursor: pointer;
  font: 700 13px Rajdhani, sans-serif; letter-spacing: .15em; text-transform: uppercase; clip-path: var(--clip-sm); transition: .2s; }
.tabs button:hover { color: var(--text); border-color: var(--cyan); }
.tabs button.on { background: var(--cyan); color: #050509; border-color: var(--cyan); box-shadow: 0 0 16px rgba(0, 240, 255, .4); }
.rank-ol { list-style: none; margin: 0; padding: 0; counter-reset: r; }
.rank-ol li { display: grid; grid-template-columns: 34px 38px 1fr auto; gap: 12px; align-items: center; padding: 10px 6px; border-bottom: 1px dashed rgba(0, 240, 255, .12); counter-increment: r; }
.rank-ol li.muted { display: block; }
.rank-ol li::before { content: counter(r, decimal-leading-zero); font: 700 15px Orbitron, sans-serif; color: var(--muted); }
.rank-ol li:nth-child(1)::before { color: var(--yel); text-shadow: 0 0 10px var(--yel); }
.rank-ol li:nth-child(2)::before { color: #d6e2ff; }
.rank-ol li:nth-child(3)::before { color: #ff9f5a; }
.rank-ol img, .rtable img { width: 34px; height: 34px; object-fit: cover; object-position: top; border: 1px solid var(--line); }
.rank-ol .n b { display: block; font-weight: 600; }
.rank-ol .n span { font-size: 12px; color: var(--muted); }
.rank-ol .v { font: 700 15px Orbitron, sans-serif; color: var(--cyan); }
.table-wrap { overflow-x: auto; }
.rtable { width: 100%; border-collapse: collapse; min-width: 640px; }
.rtable th { text-align: left; font: 700 12px Rajdhani, sans-serif; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); padding: 12px 10px; border-bottom: 1px solid var(--line); }
.rtable td { padding: 11px 10px; border-bottom: 1px dashed rgba(0, 240, 255, .1); }
.rtable tr:hover td { background: rgba(0, 240, 255, .04); }
.rtable .pos { font: 700 15px Orbitron, sans-serif; color: var(--muted); width: 56px; }
.rtable tr:nth-child(1) .pos { color: var(--yel); } .rtable tr:nth-child(2) .pos { color: #d6e2ff; } .rtable tr:nth-child(3) .pos { color: #ff9f5a; }
.who { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.nat { font: 700 12px Rajdhani, sans-serif; letter-spacing: .12em; }
.nat-1 { color: var(--cap); } .nat-2 { color: var(--pro); } .nat-0 { color: var(--muted); }
.filters { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; align-items: center; margin-bottom: 8px; }
select, input, textarea { background: rgba(5, 6, 14, .8); border: 1px solid rgba(0, 240, 255, .25); color: var(--text); padding: 12px 14px; font: 15px Inter, sans-serif; outline: none; width: 100%; transition: .2s; border-radius: 0; }
select { width: auto; font-family: Rajdhani, sans-serif; font-weight: 600; letter-spacing: .05em; }
input:focus, select:focus, textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0, 240, 255, .15); }
.empty { text-align: center; padding: 40px 10px; color: var(--muted); }

/* ---------- steps / bands ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.step { background: var(--panel); border: 1px solid var(--line); padding: 30px 26px; clip-path: var(--clip); position: relative; }
.step b { font: 900 48px Orbitron, sans-serif; color: transparent; -webkit-text-stroke: 1px var(--cyan); display: block; margin-bottom: 8px; }
.step p { color: var(--muted); }
.discord-band { position: relative; z-index: 2; margin: 0 0 90px; }
.band-in { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: 46px; clip-path: var(--clip);
  background: linear-gradient(110deg, rgba(88, 101, 242, .35), rgba(255, 43, 214, .2)), var(--panel2); border: 1px solid rgba(255, 43, 214, .35); }
.band-in p { margin: 0; }

/* ---------- forms / auth ---------- */
.auth { display: grid; place-items: center; padding: 60px 0 90px; }
.auth .panel { width: min(460px, 100%); padding: 34px; }
.auth h1 { font-size: 28px; text-align: center; }
.auth .sub { text-align: center; color: var(--muted); margin-bottom: 24px; }
.field { display: block; margin-bottom: 16px; }
.field > span { display: block; font: 700 13px Rajdhani, sans-serif; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.field small { display: block; color: var(--muted); font-size: 12px; margin-top: 5px; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: #c4cbe6; margin-bottom: 18px; cursor: pointer; }
.check input { width: 18px; height: 18px; accent-color: var(--cyan); margin-top: 2px; flex-shrink: 0; }
.msg { padding: 12px 14px; margin-bottom: 16px; font-size: 14px; border-left: 3px solid; display: none; }
.msg.show { display: block; }
.msg.err { background: rgba(255, 59, 92, .1); border-color: var(--red); color: #ffc2cd; }
.msg.ok { background: rgba(43, 255, 136, .08); border-color: var(--green); color: #c4ffdf; }
.alt { text-align: center; margin-top: 18px; color: var(--muted); font-size: 14px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.pw-meter { height: 4px; background: rgba(255, 255, 255, .08); margin-top: 6px; }
.pw-meter b { display: block; height: 100%; width: 0; transition: .3s; }

/* ---------- account ---------- */
.acc { display: grid; grid-template-columns: 260px 1fr; gap: 26px; padding: 40px 0 90px; }
.acc-side { position: sticky; top: 90px; align-self: start; }
.acc-user { text-align: center; padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 14px; }
.avatar { width: 76px; height: 76px; margin: 0 auto 12px; display: grid; place-items: center; font: 900 30px Orbitron, sans-serif; color: #050509;
  background: linear-gradient(135deg, var(--cyan), var(--mag)); clip-path: polygon(50% 0, 100% 25%, 100% 75%, 50% 100%, 0 75%, 0 25%); }
.acc-nav { display: grid; gap: 4px; }
.acc-nav button, .acc-nav a { text-align: left; background: transparent; border: 0; color: var(--muted); padding: 11px 14px; cursor: pointer;
  font: 700 14px Rajdhani, sans-serif; letter-spacing: .15em; text-transform: uppercase; border-left: 2px solid transparent; transition: .2s; }
.acc-nav button:hover, .acc-nav a:hover { color: var(--text); background: rgba(0, 240, 255, .05); }
.acc-nav button.on { color: var(--cyan); border-left-color: var(--cyan); background: rgba(0, 240, 255, .08); }
.acc-nav a.admin { color: var(--mag); }
.kv { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; margin-bottom: 22px; }
.kv > div { background: rgba(5, 6, 14, .6); border: 1px solid var(--line); padding: 14px 16px; clip-path: var(--clip-sm); }
.kv span { display: block; font: 700 12px Rajdhani, sans-serif; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.kv b { font: 600 17px Inter, sans-serif; word-break: break-all; }
.ok-t { color: var(--green); } .warn-t { color: var(--yel); }
.chars { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.char { display: grid; grid-template-columns: 90px 1fr; gap: 14px; background: rgba(5, 6, 14, .6); border: 1px solid var(--line); clip-path: var(--clip); overflow: hidden; transition: .2s; }
.char:hover { border-color: var(--cyan); }
.char img { width: 90px; height: 100%; min-height: 150px; object-fit: cover; object-position: top; }
.char .ci { padding: 12px 12px 12px 0; font-size: 13px; color: var(--muted); }
.char .ci h3 { font-size: 16px; color: #fff; margin: 0 0 4px; }
.char .ci b { color: var(--text); font-weight: 600; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.acc-sec h2 { font-size: 22px; margin-bottom: 18px; }

/* ---------- download ---------- */
.dl-hero { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; }
.dl-card { text-align: center; padding: 36px; }
.dl-card .ver { font: 700 13px Rajdhani, sans-serif; letter-spacing: .25em; color: var(--muted); margin: 10px 0 22px; }
.req { list-style: none; padding: 0; margin: 22px 0 0; text-align: left; display: grid; gap: 8px; font-size: 14px; color: #c4cbe6; }
.req li::before { content: '▸'; color: var(--cyan); margin-right: 8px; }
.guide { display: grid; gap: 16px; counter-reset: g; }
.guide li { list-style: none; display: grid; grid-template-columns: 56px 1fr; gap: 16px; background: var(--panel); border: 1px solid var(--line); padding: 20px; clip-path: var(--clip); counter-increment: g; }
.guide li::before { content: counter(g, decimal-leading-zero); font: 900 28px Orbitron, sans-serif; color: transparent; -webkit-text-stroke: 1px var(--mag); }
.guide h3 { margin-bottom: 4px; }
.guide p { margin: 0; color: var(--muted); }
.note { padding: 16px 18px; border: 1px solid rgba(245, 230, 99, .35); background: rgba(245, 230, 99, .06); color: #f3ecb4; clip-path: var(--clip-sm); font-size: 14px; }

/* ---------- faq / legal ---------- */
.faq { max-width: 860px; margin: 0 auto; display: grid; gap: 12px; }
.faq details { background: var(--panel); border: 1px solid var(--line); clip-path: var(--clip-sm); }
.faq summary { cursor: pointer; padding: 18px 22px; font: 700 17px Rajdhani, sans-serif; letter-spacing: .04em; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::after { content: '+'; color: var(--cyan); font-size: 22px; line-height: 1; transition: .2s; }
.faq details[open] summary::after { transform: rotate(45deg); color: var(--mag); }
.faq details[open] { border-color: var(--cyan); }
.faq .a { padding: 0 22px 18px; color: #c4cbe6; }
.legal { max-width: 860px; margin: 0 auto; padding-bottom: 90px; }
.legal h2 { font-size: 20px; margin-top: 32px; color: var(--cyan); }
.legal p, .legal li { color: #c4cbe6; }
.legal li { margin-bottom: 6px; }

/* ---------- footer ---------- */
.foot { border-top: 1px solid var(--line); background: rgba(4, 4, 9, .85); padding: 56px 0 24px; }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 30px; }
.foot h4 { font-size: 13px; letter-spacing: .25em; color: var(--muted); margin-bottom: 14px; }
.foot-grid > div > a:not(.logo):not(.btn) { display: block; color: #c4cbe6; padding: 4px 0; font-size: 14px; }
.foot-grid > div > a:not(.logo):not(.btn):hover { color: var(--cyan); }
.foot .logo { margin-bottom: 12px; }
.foot-bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(0, 240, 255, .08); font-size: 12px; color: var(--muted); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .8, .2, 1); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
.toast { position: fixed; right: 18px; bottom: 18px; z-index: 100; padding: 14px 18px; background: var(--panel2); border: 1px solid var(--cyan); clip-path: var(--clip-sm); box-shadow: 0 0 30px rgba(0, 240, 255, .25); transform: translateY(120%); transition: .3s; max-width: calc(100% - 36px); }
.toast.show { transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1320px) {
  .nav-in { gap: 14px; }
  .links > a { padding: 10px 8px; font-size: 14px; letter-spacing: .08em; }
  .links > a::before { left: 8px; right: 8px; }
  .live span:last-child { display: none; }
}
@media (max-width: 1100px) {
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .class-pick { grid-template-columns: repeat(5, 1fr); }
  .live span:last-child { display: none; }
}
@media (max-width: 1140px) {
  .burger { display: block; margin-left: auto; }
  .live { margin-left: auto; }
  .burger { margin-left: 8px; }
  /* no backdrop-filter here: it would make the nav the containing block of the fixed menu panel */
  .nav, .nav.scrolled { backdrop-filter: none; background: rgba(6, 6, 12, .97); }
  .links { position: fixed; top: var(--navh); left: 0; right: 0; bottom: 0; height: calc(100dvh - var(--navh)); flex-direction: column; align-items: stretch; gap: 0; padding: 18px 16px 30px;
    background: rgba(6, 6, 12, .98); transform: translateX(100%); visibility: hidden; transition: transform .35s cubic-bezier(.2, .8, .2, 1), visibility 0s .35s; overflow-y: auto; }
  .links.open { transform: none; visibility: visible; transition: transform .35s cubic-bezier(.2, .8, .2, 1); }
  .links > a { padding: 16px 6px; font-size: 18px; border-bottom: 1px solid rgba(0, 240, 255, .1); }
  .links > a::before { display: none; }
  .links-auth { margin: 20px 0 0; flex-direction: column; align-items: stretch; }
  .links-auth .btn { padding: 15px; font-size: 15px; }
  .hero-in, .two-col, .dl-hero, .class-stage, .acc { grid-template-columns: 1fr; }
  .hero-in { padding: 40px 0 80px; gap: 30px; }
  .class-stage { min-height: 0; gap: 10px; }
  .class-art img { max-height: 380px; }
  .news-grid, .steps { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .acc-side { position: static; }
  .band-in { flex-direction: column; align-items: flex-start; padding: 30px; }
}
@media (max-width: 600px) {
  :root { --navh: 62px; }
  .logo { font-size: 18px; }
  .logo small { font-size: 10px; letter-spacing: .22em; margin-left: 5px; padding-left: 6px; }
  .logo small::after { left: 6px; }
  .live { padding: 5px 9px; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .stats b { font-size: 26px; }
  .feat-grid, .grid2 { grid-template-columns: 1fr; }
  .class-pick { grid-template-columns: repeat(3, 1fr); }
  .class-pick img { height: 90px; }
  .news-card { grid-template-columns: 1fr; }
  .news-img { min-height: 160px; }
  .sec { padding: 64px 0; }
  .foot-grid { grid-template-columns: 1fr; }
  .cta .btn { flex: 1; }
  .auth .panel { padding: 24px 18px; }
  .rank-ol li { grid-template-columns: 30px 34px 1fr auto; gap: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .hero-video { display: none; }
}

/* ---------- language switch / disclaimer ---------- */
.langsw { display: flex; margin-left: 10px; border: 1px solid var(--line); clip-path: var(--clip-sm); }
.langsw a { padding: 7px 9px; font: 700 12px Rajdhani, sans-serif; letter-spacing: .12em; color: var(--muted); }
.langsw a.on { background: var(--cyan); color: #050509; }
.langsw a:hover:not(.on) { color: var(--cyan); }
.foot-bottom .disclaimer { margin: 0; max-width: 820px; color: var(--muted); }
@media (max-width: 1140px) {
  .langsw { margin: 18px 0 0; align-self: flex-start; }
  .langsw a { padding: 10px 16px; font-size: 14px; }
}

/* ---------- rankings: entrance, glow, shimmer ---------- */
.page-hero h1 { background: linear-gradient(100deg, var(--text) 0%, var(--text) 40%, var(--cyan) 50%, var(--text) 60%, var(--text) 100%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: heroShine 5s ease-in-out infinite, heroGlow 3.2s ease-in-out infinite; }
@keyframes heroShine { 0% { background-position: 120% 0; } 60%, 100% { background-position: -120% 0; } }
@keyframes heroGlow { 0%, 100% { filter: drop-shadow(0 0 6px rgba(0, 240, 255, .25)); } 50% { filter: drop-shadow(0 0 18px rgba(0, 240, 255, .55)) drop-shadow(0 0 30px rgba(255, 43, 214, .25)); } }
.page-hero .kicker { animation: kickerPulse 2.6s ease-in-out infinite; }
@keyframes kickerPulse { 0%, 100% { text-shadow: 0 0 4px rgba(255, 43, 214, .4); } 50% { text-shadow: 0 0 14px rgba(255, 43, 214, .9), 0 0 24px rgba(255, 43, 214, .4); } }
.rtable tr.rrow { opacity: 0; transform: translateX(-18px); animation: rowIn .55s cubic-bezier(.2, .8, .2, 1) forwards; animation-delay: calc(var(--i, 0) * 45ms); }
@keyframes rowIn { to { opacity: 1; transform: none; } }
.rtable tr.rrow td { transition: background .25s, text-shadow .25s; }
.rtable tr.rrow:hover td { background: rgba(0, 240, 255, .06); }
.rtable tr.rrow:hover .who { text-shadow: 0 0 10px rgba(0, 240, 255, .7); }
.rtable tr.rrow .who img { transition: transform .25s, box-shadow .25s; }
.rtable tr.rrow:hover .who img { transform: scale(1.12); box-shadow: 0 0 12px rgba(0, 240, 255, .6); }
.rtable tr.top { --glow: var(--yel); }
.rtable tr.top2 { --glow: #d6e2ff; } .rtable tr.top3 { --glow: #ff9f5a; }
.rtable tr.top td { background: color-mix(in srgb, var(--glow) 5%, transparent); }
.rtable tr.top td:first-child { box-shadow: inset 3px 0 0 var(--glow), inset 14px 0 18px -14px var(--glow); }
.rtable tr.top .pos { animation: posGlow 2.4s ease-in-out infinite; animation-delay: calc(var(--i, 0) * .3s); }
@keyframes posGlow { 0%, 100% { text-shadow: 0 0 6px var(--glow); } 50% { text-shadow: 0 0 16px var(--glow), 0 0 28px var(--glow); } }
.rtable tr.top .who { position: relative; background: linear-gradient(100deg, var(--text) 0%, var(--text) 42%, var(--glow) 50%, var(--text) 58%, var(--text) 100%); background-size: 260% 100%; -webkit-background-clip: text; background-clip: text; animation: nameShine 3.6s linear infinite; animation-delay: calc(var(--i, 0) * .4s); }
.rtable tr.top .who .nat, .rtable tr.top td.who.nat { -webkit-text-fill-color: currentColor; }
.rtable tr.top .who img { -webkit-text-fill-color: initial; box-shadow: 0 0 10px color-mix(in srgb, var(--glow) 70%, transparent); outline: 1px solid color-mix(in srgb, var(--glow) 60%, transparent); }
.rtable tr.top .who { -webkit-text-fill-color: transparent; }
@keyframes nameShine { 0% { background-position: 130% 0; } 100% { background-position: -130% 0; } }
.rtable tr.top1 .pos::after { content: "\265B"; display: inline-block; margin-left: 6px; font-size: 13px; color: var(--yel); text-shadow: 0 0 8px var(--yel); animation: crownBob 2s ease-in-out infinite; }
@keyframes crownBob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
@media (prefers-reduced-motion: reduce) {
  .page-hero h1, .page-hero .kicker, .rtable tr.top .pos, .rtable tr.top .who, .rtable tr.top1 .pos::after { animation: none; }
  .rtable tr.rrow { animation: none; opacity: 1; transform: none; }
}

/* shop */
.shop { padding-bottom: 40px; }
.shop-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; margin-bottom: 30px; }
.shop-pkg { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; padding: 28px 18px; }
.shop-gems { font: 700 18px Rajdhani, sans-serif; letter-spacing: .08em; }
.shop-gems b { display: block; font: 900 34px Orbitron, sans-serif; color: var(--cyan); text-shadow: 0 0 16px rgba(0, 240, 255, .45); }
.shop-bonus { font-size: 13px; color: var(--yel); min-height: 18px; }
.shop-price { font: 700 26px Orbitron, sans-serif; margin: 6px 0 4px; }
.shop-pkg .btn[disabled] { opacity: .55; cursor: not-allowed; }
.shop-pkg { position: relative; overflow: hidden; }
.shop-promo { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 0 auto 22px; font: 700 18px Rajdhani, sans-serif; letter-spacing: .06em; color: var(--yel); }
.shop-promo-tag { font: 900 20px Orbitron, sans-serif; color: #0a0d14; background: var(--yel); padding: 4px 10px; clip-path: polygon(8px 0, 100% 0, calc(100% - 8px) 100%, 0 100%); animation: shopPulse 1.8s ease-in-out infinite; }
.shop-save { position: absolute; top: 10px; right: 10px; background: #ff3b7a; color: #fff; font: 800 14px Orbitron, sans-serif; padding: 4px 9px; border-radius: 4px; box-shadow: 0 0 14px rgba(255, 59, 122, .6); animation: shopPop .5s cubic-bezier(.2, 1.6, .4, 1) calc(var(--d) + .9s) both; }
.shop-pricebox { display: flex; flex-direction: column; align-items: center; min-height: 86px; }
.shop-old { position: relative; font: 600 16px Orbitron, sans-serif; color: #8a93a8; text-decoration: none; opacity: 0; animation: shopFadeIn .4s ease calc(var(--d) + .2s) forwards; }
.shop-old::after { content: ""; position: absolute; left: -4px; right: -4px; top: 50%; height: 2px; background: #ff3b7a; transform-origin: left; transform: scaleX(0); animation: shopStrike .45s ease calc(var(--d) + .55s) forwards; }
.shop-old-none::after { display: none; }
.shop-pkg.deal .shop-price { color: #fff; animation: shopDrop .55s cubic-bezier(.2, 1.5, .4, 1) calc(var(--d) + .85s) both; text-shadow: 0 0 14px rgba(0, 240, 255, .5); }
.shop-rate { margin-top: 2px; opacity: 0; animation: shopFadeIn .4s ease calc(var(--d) + 1.2s) forwards; }
.shop-buy { position: relative; overflow: hidden; }
.shop-buy::after { content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .75), transparent); transform: skewX(-20deg); animation: shopShine 2.6s ease-in-out infinite; animation-delay: var(--d); }
.shop-pkg .shop-buy[disabled] { opacity: .85; }
.shop-buy span { position: relative; z-index: 1; }
@keyframes shopShine { 0% { left: -60%; } 55%, 100% { left: 130%; } }
@keyframes shopStrike { to { transform: scaleX(1); } }
@keyframes shopFadeIn { to { opacity: 1; } }
@keyframes shopDrop { 0% { transform: translateY(-12px) scale(1.25); opacity: 0; } 100% { transform: none; opacity: 1; } }
@keyframes shopPop { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes shopPulse { 50% { box-shadow: 0 0 18px rgba(245, 197, 66, .7); transform: scale(1.06); } }
@media (prefers-reduced-motion: reduce) { .shop-old, .shop-old::after, .shop-rate, .shop-save, .shop-pkg.deal .shop-price, .shop-buy::after, .shop-promo-tag { animation: none; opacity: 1; transform: none; } .shop-old::after { transform: scaleX(1); } }
.shop-notes { padding-bottom: 60px; }
.foot-bottom a { color: inherit; }

/* hero title: "WARLORD ONLINE" is longer than the old logo; keep the status panel at its width */
.hero-in > * { min-width: 0; }
.hero .glitch { white-space: normal; font-size: clamp(36px, 5.4vw, 92px); line-height: 1.02; letter-spacing: .05em; }

/* ---------- support tickets (account page) ---------- */
.sup-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.sup-head h2 { margin-bottom: 0 !important; }
.sup-discord { margin: 14px 0; padding: 12px 14px; border: 1px solid var(--line); background: var(--panel2); display: flex; gap: 12px; align-items: center; flex-wrap: wrap; font-size: 14px; }
.sup-code { font: 700 15px monospace; color: var(--yel); background: rgba(0,0,0,.35); padding: 3px 8px; }
.sup-form { margin: 16px 0 22px; padding: 16px; border: 1px solid var(--line); background: rgba(0,0,0,.25); }
.sup-form select, .sup-form textarea, #supReply textarea { width: 100%; }
.sup-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.sup-list { display: grid; gap: 8px; margin-top: 12px; }
.sup-row { display: grid; grid-template-columns: 56px 110px 1fr auto auto; gap: 12px; align-items: center; text-align: left; width: 100%; padding: 12px 14px; background: var(--panel2); border: 1px solid var(--line); color: var(--text); cursor: pointer; font: inherit; }
.sup-row:hover { border-color: var(--cyan); }
.sup-id { color: var(--muted); font-weight: 700; }
.sup-cat { color: var(--cyan); font-size: 13px; }
.sup-title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sup-st { font: 700 12px Rajdhani, sans-serif; letter-spacing: .08em; text-transform: uppercase; padding: 3px 8px; border: 1px solid currentColor; white-space: nowrap; }
.st-open { color: var(--yel); } .st-prog { color: var(--cyan); } .st-ans { color: var(--mag); } .st-fix { color: var(--green); } .st-closed { color: var(--muted); }
.sup-view h3 { margin: 14px 0 8px; }
.sup-meta { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.sup-msgs { display: grid; gap: 10px; margin-bottom: 18px; }
.sup-msg { padding: 12px 14px; border: 1px solid var(--line); background: var(--panel2); }
.sup-msg.staff { border-color: rgba(255, 43, 214, .45); background: rgba(255, 43, 214, .07); }
.sup-msg.system { border-style: dashed; color: var(--muted); font-size: 13px; }
.sup-msg-h { display: flex; justify-content: space-between; gap: 10px; margin-bottom: 6px; }
.sup-body { white-space: normal; word-break: break-word; line-height: 1.5; }
.sup-files { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.sup-img img { display: block; max-width: 220px; max-height: 160px; object-fit: cover; border: 1px solid var(--line); }
.sup-vid { max-width: 100%; width: 420px; max-height: 300px; background: #000; }
@media (max-width: 700px) {
  .sup-row { grid-template-columns: 48px 1fr auto; }
  .sup-row .sup-cat, .sup-row .small { display: none; }
  .sup-img img { max-width: 140px; }
}

/* channel panel: live / countdown / offline */
.ch-row { animation: chIn .45s ease both; animation-delay: calc(var(--i) * 60ms); }
.ch-st { display: inline-flex; align-items: center; gap: 6px; font-style: normal; font: 700 12px Rajdhani, sans-serif; letter-spacing: .12em; }
.ch-st.on { color: #3ef08a; }
.ch-st.off { color: #ff4d6d; }
.ch-st.wait { color: #9aa6bf; letter-spacing: .06em; }
.ch-st.wait .war-cd { color: var(--yel); font: 700 13px Orbitron, sans-serif; letter-spacing: .04em; min-width: 64px; text-align: right; }
.ch-st.live { color: #fff; background: linear-gradient(90deg, #ff2d55, #ff7a18); padding: 3px 9px; border-radius: 3px; box-shadow: 0 0 14px rgba(255, 45, 85, .55); animation: liveGlow 1.4s ease-in-out infinite; }
.ch-st.live small { font: 600 11px Rajdhani, sans-serif; letter-spacing: .04em; opacity: .9; }
.on-dot, .live-dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; display: inline-block; }
.on-dot { box-shadow: 0 0 0 0 rgba(62, 240, 138, .6); animation: dotPulse 2s infinite; }
.live-dot { background: #fff; animation: liveBlink 1s steps(2, start) infinite; }
.flag-war { font-style: normal; font-size: 11px; color: var(--yel); border: 1px solid var(--yel); padding: 0 5px; margin-left: 6px; border-radius: 2px; }
@keyframes chIn { from { opacity: 0; transform: translateX(-8px); } to { opacity: 1; transform: none; } }
@keyframes dotPulse { 0% { box-shadow: 0 0 0 0 rgba(62, 240, 138, .6); } 70% { box-shadow: 0 0 0 7px rgba(62, 240, 138, 0); } 100% { box-shadow: 0 0 0 0 rgba(62, 240, 138, 0); } }
@keyframes liveGlow { 50% { box-shadow: 0 0 22px rgba(255, 45, 85, .9); } }
@keyframes liveBlink { to { visibility: hidden; } }
@media (prefers-reduced-motion: reduce) { .ch-row, .ch-st.live, .on-dot, .live-dot { animation: none; } }
.channels li i.ch-st::before { display: none; }
.ch-st.wait::before { display: none; }

/* Mission War results */
.warres { margin: 4px 0 16px; padding-top: 12px; border-top: 1px dashed rgba(0, 240, 255, .12); }
.warres-h { display: flex; justify-content: space-between; align-items: center; font: 700 12px Rajdhani, sans-serif; letter-spacing: .18em; color: var(--muted); }
.warres-dom { font: 800 11px Orbitron, sans-serif; letter-spacing: .08em; color: var(--muted); }
.warres-dom.cap { color: var(--cap); text-shadow: 0 0 10px var(--cap); animation: domPulse 2s ease-in-out infinite; }
.warres-dom.pro { color: var(--pro); text-shadow: 0 0 10px var(--pro); animation: domPulse 2s ease-in-out infinite; }
.warres-dom.even { color: var(--yel); }
.warres-score { display: flex; justify-content: space-between; align-items: baseline; margin: 8px 0 2px; }
.warres-score b { font: 900 26px Orbitron, sans-serif; }
.warres-score .cap, .warres-last .cap, .warres-score + .x .cap { color: var(--cap); }
.warres-score .pro, .warres-last .pro { color: var(--pro); }
.warres-vs { font: 700 11px Rajdhani, sans-serif; letter-spacing: .2em; color: var(--muted); text-transform: uppercase; }
.warres-bar { height: 6px; }
.warres-recent { display: flex; gap: 5px; margin: 8px 0 6px; min-height: 10px; }
.warres-recent i { width: 10px; height: 10px; border-radius: 2px; animation: chIn .4s ease both; }
.warres-recent i.cap { background: var(--cap); box-shadow: 0 0 6px var(--cap); }
.warres-recent i.pro { background: var(--pro); box-shadow: 0 0 6px var(--pro); }
.warres-recent i.called { outline: 2px solid var(--yel); outline-offset: 1px; }
.warres-last { font: 600 12.5px Rajdhani, sans-serif; letter-spacing: .03em; color: #c7cfdf; line-height: 1.5; }
.called-tag { color: #0a0d14; background: var(--yel); padding: 0 5px; border-radius: 2px; font-weight: 800; }
@keyframes domPulse { 50% { opacity: .65; } }
@media (prefers-reduced-motion: reduce) { .warres-dom.cap, .warres-dom.pro, .warres-recent i { animation: none; } }
/* "Next war in" countdown: bigger, gradient + glow animation */
.ch-st.wait { gap: 10px; font: 800 13px Orbitron, sans-serif; letter-spacing: .08em; text-transform: uppercase;
  background: linear-gradient(90deg, #ffb347, #ff5f6d, #ffd86b, #ffb347); background-size: 300% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: waitShift 4s linear infinite; }
.ch-st.wait .war-cd { -webkit-text-fill-color: #ffd86b; color: #ffd86b; font: 900 17px Orbitron, sans-serif; letter-spacing: .06em; min-width: 74px;
  padding: 2px 8px; border: 1px solid rgba(255, 216, 107, .45); border-radius: 4px; background: rgba(255, 179, 71, .08);
  text-shadow: 0 0 10px rgba(255, 179, 71, .8); animation: waitGlow 1s ease-in-out infinite; }
@keyframes waitShift { to { background-position: 300% 0; } }
@keyframes waitGlow { 50% { box-shadow: 0 0 14px rgba(255, 179, 71, .55); text-shadow: 0 0 16px rgba(255, 216, 107, 1); } }
@media (prefers-reduced-motion: reduce) { .ch-st.wait, .ch-st.wait .war-cd { animation: none; } }
