/* ==========================================================================
   COBRA RP - website  |  server style (same as COBRA HUD, menus, inventory)
   dark grey panels, thin border #22262f, blue hairline on top, blue line at the bottom,
   plain blue icons, small spaced labels, round corners, ONE blue.
   ========================================================================== */
:root {
    --bg: #07090c;
    --panel: rgba(14, 17, 21, .92);
    --panel-hi: rgba(19, 23, 29, .95);
    --edge: #22262f;
    --edge-2: #2c313c;
    --blue: #258bff;
    --blue-2: #5aa8ff;
    --blue-rgb: 37, 139, 255;
    --text: #f2f4f8;
    --muted: rgba(242, 244, 248, .6);
    --faint: rgba(242, 244, 248, .36);
    --good: #3fd47a;
    --bad: #ff5a5f;
    --warn: #f5b928;
    --hair: linear-gradient(90deg, transparent, rgba(37, 139, 255, .6) 25%, rgba(37, 139, 255, .6) 75%, transparent);
    --r: 14px;
    --r-lg: 20px;
    --ease: cubic-bezier(.22, 1, .36, 1);
    --w: 1240px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    min-height: 100vh;
    font-family: "Cairo", "Segoe UI", Tahoma, sans-serif;
    background: var(--bg);
    color: var(--text);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}
body.loading { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; }
img { display: block; max-width: 100%; }
::selection { background: rgba(var(--blue-rgb), .45); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: #1a1f28; border-radius: 99px; border: 2px solid var(--bg); }
::-webkit-scrollbar-thumb:hover { background: #26324a; }

.ic { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* small spaced label, like HEALTH / ARMOR on the HUD */
.lbl-en { font-family: "Segoe UI", Arial, sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .32em; color: var(--blue-2); direction: ltr; unicode-bidi: isolate; }

/* ---------------- intro loader ---------------- */
.loader { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; background: var(--bg); transition: opacity .6s ease, visibility .6s; }
.loader.done { opacity: 0; visibility: hidden; }
.loader-in { display: flex; flex-direction: column; align-items: center; gap: 22px; }
.loader img { width: 150px; animation: loaderLogo 1.2s var(--ease) both; filter: drop-shadow(0 10px 40px rgba(var(--blue-rgb), .35)); }
.loader-line { width: 180px; height: 2px; border-radius: 2px; background: rgba(255, 255, 255, .08); overflow: hidden; }
.loader-line i { display: block; height: 100%; width: 40%; background: var(--blue); border-radius: 2px; animation: loaderLine 1s ease-in-out infinite; }
@keyframes loaderLogo { from { opacity: 0; transform: scale(.85); filter: blur(8px); } to { opacity: 1; transform: none; } }
@keyframes loaderLine { from { transform: translateX(260%); } to { transform: translateX(-160%); } }

/* ---------------- background ---------------- */
.bg { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.bg-img { position: absolute; inset: -40px; background: var(--hero) center 35% / cover no-repeat; filter: blur(22px) saturate(1.05); opacity: .12; transform: scale(1.05); transition: opacity .8s ease; }
body[data-page="home"] .bg-img { opacity: 0; }
.bg-grid {
    position: absolute; inset: 0;
    background-image: linear-gradient(rgba(255, 255, 255, .022) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .022) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000 0%, transparent 70%);
}
.bg-glow { position: absolute; border-radius: 50%; filter: blur(120px); opacity: .22; }
.bg-glow.g1 { width: 620px; height: 620px; top: -280px; right: -140px; background: var(--blue); animation: drift 18s ease-in-out infinite alternate; }
.bg-glow.g2 { width: 520px; height: 520px; bottom: -300px; left: -180px; background: #1d4fa8; animation: drift 22s ease-in-out infinite alternate-reverse; }
@keyframes drift { to { transform: translate(-80px, 60px) scale(1.12); } }

/* ---------------- panels (server style) ---------------- */
.card {
    position: relative; border-radius: var(--r);
    background: var(--panel);
    box-shadow: inset 0 0 0 1px var(--edge);
    overflow: hidden;
}
.card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: var(--hair); pointer-events: none; z-index: 1; }
/* blue line at the bottom (like HEALTH) - shows on hover / active */
.card.line::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--blue); transform: scaleX(0); transform-origin: center; transition: transform .45s var(--ease); }
.card.line:hover::after, .card.line.on::after { transform: scaleX(1); }

/* ---------------- header ---------------- */
.nav { position: sticky; top: 0; z-index: 50; background: rgba(7, 9, 12, .78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--edge); }
.nav::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--hair); opacity: .5; }
.nav-in { max-width: var(--w); margin: 0 auto; height: 72px; padding: 0 24px; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 900; font-size: 21px; letter-spacing: .08em; }
.brand img { height: 32px; width: auto; }
.links { display: flex; align-items: center; gap: 2px; margin-inline: auto; }
.links a { position: relative; padding: 9px 14px; border-radius: 10px; font-size: 14.5px; font-weight: 600; color: var(--muted); transition: color .2s ease, background .2s ease; }
.links a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 3px; height: 2px; border-radius: 2px; background: var(--blue); transform: scaleX(0); transition: transform .35s var(--ease); }
.links a:hover { color: var(--text); background: rgba(255, 255, 255, .035); }
.links a.on { color: #fff; }
.links a.on::after { transform: scaleX(1); }
.nav-end { display: flex; align-items: center; gap: 10px; }
.route-bar { position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; z-index: 2; transform: scaleX(0); transform-origin: right; background: linear-gradient(90deg, transparent, var(--blue), var(--blue-2)); opacity: 0; }
.route-bar.go { animation: routebar .7s var(--ease); }
@keyframes routebar { 0% { opacity: 1; transform: scaleX(0); } 70% { opacity: 1; transform: scaleX(1); } 100% { opacity: 0; transform: scaleX(1); } }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; height: 46px; padding: 0 24px; border-radius: 999px; font-weight: 700; font-size: 15px; white-space: nowrap; transition: transform .2s var(--ease), background .2s ease, box-shadow .2s ease, color .2s ease; }
.btn:active { transform: scale(.97); }
.btn-blue { background: var(--blue); color: #fff; box-shadow: 0 8px 26px rgba(var(--blue-rgb), .3), inset 0 1px 0 rgba(255, 255, 255, .22); }
.btn-blue:hover { background: var(--blue-2); transform: translateY(-2px); box-shadow: 0 12px 34px rgba(var(--blue-rgb), .42), inset 0 1px 0 rgba(255, 255, 255, .22); }
.btn-ghost { background: var(--panel); box-shadow: inset 0 0 0 1px var(--edge-2); }
.btn-ghost:hover { background: var(--panel-hi); box-shadow: inset 0 0 0 1px rgba(var(--blue-rgb), .5); transform: translateY(-2px); }
.btn-sm { height: 40px; padding: 0 18px; font-size: 14px; }
.btn[disabled] { opacity: .45; pointer-events: none; }

/* account */
.user { display: flex; align-items: center; gap: 10px; padding: 5px 6px 5px 14px; border-radius: 999px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--edge-2); }
.user img { width: 30px; height: 30px; border-radius: 50%; box-shadow: 0 0 0 2px var(--blue); }
.user span { font-weight: 700; font-size: 14px; max-width: 140px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.user .out { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); transition: .2s; }
.user .out:hover { color: #fff; background: rgba(255, 90, 95, .2); }
.burger { display: none; width: 42px; height: 42px; border-radius: 12px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--edge-2); position: relative; }
.burger span { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: #fff; transition: .3s var(--ease); }
.burger span:first-child { top: 16px; } .burger span:last-child { top: 24px; }
body.menu-open .burger span:first-child { top: 20px; transform: rotate(45deg); }
body.menu-open .burger span:last-child { top: 20px; transform: rotate(-45deg); }

/* ---------------- page + transitions ---------------- */
.view { min-height: calc(100vh - 72px - 120px); }
.page { animation: pageIn .7s var(--ease) both; }
.page.out { animation: pageOut .28s ease forwards; }
@keyframes pageIn { from { opacity: 0; transform: translateY(18px); filter: blur(8px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes pageOut { to { opacity: 0; transform: translateY(-10px); filter: blur(6px); } }
.rv { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.rv.in { opacity: 1; transform: none; }

.wrap { max-width: var(--w); margin: 0 auto; padding: 0 24px; }
.section { padding: 90px 0; }
.h2 { font-size: clamp(30px, 4vw, 44px); font-weight: 900; line-height: 1.25; margin: 10px 0 10px; }
.lead { color: var(--muted); font-size: 17px; line-height: 1.9; max-width: 660px; }
.head-center { text-align: center; display: flex; flex-direction: column; align-items: center; margin-bottom: 44px; }
.head-center .lead { margin: 0 auto; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 30px; }

/* ---------------- HOME / hero ---------------- */
.hero { position: relative; min-height: calc(100vh - 72px); display: flex; align-items: center; overflow: hidden; }
.hero-img { position: absolute; inset: 0; background: var(--hero) center / cover no-repeat; transform: scale(1.08); animation: heroZoom 18s ease-out forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero::after {
    content: ""; position: absolute; inset: 0;
    background:
        linear-gradient(270deg, rgba(7, 9, 12, .97) 0%, rgba(7, 9, 12, .85) 38%, rgba(7, 9, 12, .4) 72%, rgba(7, 9, 12, .6) 100%),
        linear-gradient(0deg, var(--bg) 0%, transparent 35%);
}
.hero-in { position: relative; z-index: 2; width: 100%; display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px; align-items: center; padding: 70px 24px; }
.hero h1 { font-size: clamp(56px, 8vw, 104px); font-weight: 900; line-height: 1; letter-spacing: .03em; margin: 14px 0 6px; }
.hero h1 b { background: linear-gradient(180deg, #fff 20%, #b9dbff 62%, var(--blue) 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .rp { display: block; text-align: right; margin-bottom: 20px; }
.hero .lead { font-size: 19px; margin-bottom: 30px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-logo { width: 100%; max-width: 360px; justify-self: center; filter: drop-shadow(0 30px 60px rgba(0, 0, 0, .6)) drop-shadow(0 0 40px rgba(var(--blue-rgb), .22)); animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-14px); } }

/* countdown (HUD boxes) */
.count { margin-top: 38px; display: flex; flex-direction: column; gap: 12px; }
.count-title { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; color: var(--muted); }
.count-title .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 12px var(--blue); animation: pulse 1.6s infinite; }
.count-title.open .dot { background: var(--good); box-shadow: 0 0 12px var(--good); }
@keyframes pulse { 50% { opacity: .35; } }
.count-row { display: flex; gap: 10px; }
.count-box { position: relative; min-width: 88px; padding: 14px 10px 12px; text-align: center; border-radius: 12px; background: var(--panel); box-shadow: inset 0 0 0 1px var(--edge); overflow: hidden; }
.count-box::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--blue); }
.count-box b { display: block; font-size: 34px; font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; }
.count-box span { display: block; margin-top: 6px; font-size: 12px; color: var(--faint); font-weight: 700; }

/* stats strip */
.stats { position: relative; z-index: 3; margin-top: -64px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.stat { padding: 22px 24px; display: flex; align-items: center; gap: 16px; }
.stat > .ic { font-size: 26px; color: var(--blue); }
.stat b { display: block; font-size: 28px; font-weight: 900; line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat span { font-size: 13.5px; color: var(--muted); font-weight: 600; }
.stat .live { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--good); margin-inline-start: 6px; box-shadow: 0 0 10px var(--good); vertical-align: middle; animation: pulse 1.6s infinite; }

/* features */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.feat { padding: 28px 28px 30px; transition: transform .35s var(--ease), background .35s ease; }
.feat:hover { transform: translateY(-5px); background: var(--panel-hi); }
.feat > .ic { font-size: 28px; color: var(--blue); margin-bottom: 18px; }
.feat h3 { font-size: 19px; font-weight: 800; margin-bottom: 8px; }
.feat p { color: var(--muted); line-height: 1.85; font-size: 15px; }

/* trailer */
.trailer { padding: 10px; border-radius: var(--r-lg); }
.trailer-frame { position: relative; aspect-ratio: 16 / 9; border-radius: 14px; overflow: hidden; background: #0a0d13; }
.trailer-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.trailer-soon { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; text-align: center; background: linear-gradient(0deg, rgba(7, 9, 12, .9), rgba(7, 9, 12, .5)), var(--hero) center / cover; }
.trailer-soon .play { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; font-size: 28px; color: #fff; background: rgba(14, 17, 21, .8); box-shadow: inset 0 0 0 1px rgba(var(--blue-rgb), .7); animation: ring 2.4s ease-out infinite; }
@keyframes ring { 0% { box-shadow: inset 0 0 0 1px rgba(var(--blue-rgb), .7), 0 0 0 0 rgba(var(--blue-rgb), .45); } 100% { box-shadow: inset 0 0 0 1px rgba(var(--blue-rgb), .7), 0 0 0 28px rgba(var(--blue-rgb), 0); } }
.trailer-soon h3 { font-size: 26px; font-weight: 900; }
.trailer-soon p { color: var(--muted); font-weight: 600; }

/* news (home + page) */
.news-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.news { padding: 24px 26px; display: flex; gap: 18px; align-items: flex-start; }
.news-date { flex: none; width: 64px; text-align: center; padding-top: 2px; }
.news-date b { display: block; font-size: 30px; font-weight: 900; line-height: 1; color: var(--blue); font-variant-numeric: tabular-nums; }
.news-date span { display: block; margin-top: 4px; font-size: 12px; font-weight: 700; color: var(--faint); }
.news-body { flex: 1; border-inline-start: 1px solid var(--edge); padding-inline-start: 18px; }
.news-body h3 { font-size: 18px; font-weight: 800; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.news-body p { color: var(--muted); margin-top: 6px; line-height: 1.8; font-size: 15px; }
.chip { font-size: 12px; font-weight: 800; padding: 2px 10px; border-radius: 999px; color: var(--blue-2); background: rgba(var(--blue-rgb), .1); box-shadow: inset 0 0 0 1px rgba(var(--blue-rgb), .3); }

/* CTA */
.cta { padding: 50px; display: flex; align-items: center; justify-content: space-between; gap: 30px; border-radius: var(--r-lg); }
.cta h3 { font-size: 30px; font-weight: 900; margin: 6px 0 8px; }
.cta p { color: var(--muted); font-size: 16px; }

/* ---------------- page header ---------------- */
.phead { position: relative; padding: 84px 0 46px; }
.phead h1 { font-size: clamp(40px, 6vw, 68px); font-weight: 900; line-height: 1.15; margin: 10px 0 12px; }
.phead h1 b { background: linear-gradient(180deg, #fff 25%, var(--blue-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------------- RULES ---------------- */
.penalties { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 16px 20px; margin-bottom: 18px; }
.penalties > span { font-weight: 700; color: var(--muted); font-size: 14px; margin-inline-end: 6px; }
.pen { font-size: 13px; font-weight: 800; padding: 4px 12px; border-radius: 999px; }
.pen-1 { color: var(--warn); background: rgba(245, 185, 40, .1); box-shadow: inset 0 0 0 1px rgba(245, 185, 40, .3); }
.pen-2 { color: #ff9a4d; background: rgba(255, 154, 77, .1); box-shadow: inset 0 0 0 1px rgba(255, 154, 77, .3); }
.pen-3 { color: var(--bad); background: rgba(255, 90, 95, .1); box-shadow: inset 0 0 0 1px rgba(255, 90, 95, .3); }
.pen-4 { color: #fff; background: rgba(255, 90, 95, .55); }
.pen-arrow { color: var(--faint); }
.rules { display: grid; grid-template-columns: 290px 1fr; gap: 22px; align-items: start; padding-bottom: 90px; }
.rules-side { position: sticky; top: 92px; padding: 14px; }
.search { position: relative; display: block; margin-bottom: 12px; }
.search input { width: 100%; height: 46px; border-radius: 12px; border: none; outline: none; padding: 0 44px 0 14px; font: inherit; font-size: 15px; color: var(--text); background: rgba(255, 255, 255, .03); box-shadow: inset 0 0 0 1px var(--edge-2); transition: box-shadow .2s ease, background .2s ease; }
.search input:focus { background: rgba(var(--blue-rgb), .06); box-shadow: inset 0 0 0 1px var(--blue); }
.search .ic { position: absolute; right: 15px; top: 50%; transform: translateY(-50%); color: var(--faint); }
.cats { display: flex; flex-direction: column; gap: 2px; }
.cat { position: relative; display: flex; align-items: center; gap: 12px; padding: 11px 14px; border-radius: 10px; font-weight: 700; font-size: 15px; color: var(--muted); transition: background .2s ease, color .2s ease; }
.cat .ic { font-size: 17px; color: var(--faint); transition: color .2s ease; }
.cat em { margin-inline-start: auto; font-style: normal; font-size: 12px; font-weight: 800; color: var(--faint); font-variant-numeric: tabular-nums; }
.cat:hover { background: rgba(255, 255, 255, .03); color: var(--text); }
.cat.on { color: #fff; background: rgba(var(--blue-rgb), .1); }
.cat.on::before { content: ""; position: absolute; right: 0; top: 10px; bottom: 10px; width: 3px; border-radius: 3px; background: var(--blue); }
.cat.on .ic, .cat.on em { color: var(--blue-2); }
.side-note { margin-top: 12px; padding: 14px; border-radius: 12px; font-size: 13px; line-height: 1.8; color: var(--muted); background: rgba(245, 185, 40, .06); box-shadow: inset 0 0 0 1px rgba(245, 185, 40, .2); }
.side-note b { color: var(--warn); }

.rules-main { min-width: 0; }
.rset { padding: 28px 30px 18px; margin-bottom: 16px; }
.rset-head { display: flex; align-items: center; gap: 16px; padding-bottom: 18px; margin-bottom: 6px; border-bottom: 1px solid var(--edge); }
.rset-head > .ic { font-size: 30px; color: var(--blue); }
.rset-head h2 { font-size: 25px; font-weight: 900; }
.rset-head p { color: var(--muted); font-size: 14px; margin-top: 2px; }
.rset-head .lbl-en { margin-inline-start: auto; }
.rlist { list-style: none; }
.rule { display: flex; gap: 16px; align-items: flex-start; padding: 15px 4px; border-bottom: 1px solid rgba(255, 255, 255, .045); animation: ruleIn .5s var(--ease) both; animation-delay: calc(var(--i) * 30ms); }
.rule:last-child { border-bottom: none; }
@keyframes ruleIn { from { opacity: 0; transform: translateX(-12px); } to { opacity: 1; transform: none; } }
.rule-n { flex: none; min-width: 30px; padding-top: 3px; font-weight: 900; font-size: 15px; color: var(--blue); font-variant-numeric: tabular-nums; }
.rule-t { flex: 1; padding-top: 2px; font-size: 16px; line-height: 1.9; color: rgba(242, 244, 248, .92); }
.rule-t mark { background: rgba(var(--blue-rgb), .35); color: #fff; border-radius: 4px; padding: 0 3px; }
.rule .pen { flex: none; margin-top: 5px; }
.empty-note { padding: 50px 20px; text-align: center; color: var(--muted); }

/* ---------------- JOIN + FAQ ---------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding-bottom: 16px; }
.step { padding: 30px 28px; }
.step-n { font-size: 52px; font-weight: 900; line-height: 1; color: transparent; -webkit-text-stroke: 1.5px rgba(var(--blue-rgb), .8); }
.step h3 { font-size: 20px; font-weight: 800; margin: 12px 0 8px; }
.step p { color: var(--muted); line-height: 1.85; margin-bottom: 20px; }
.connect { padding: 24px; display: flex; align-items: center; gap: 16px; margin-bottom: 60px; }
.connect-box { flex: 1; display: flex; align-items: center; gap: 14px; height: 58px; padding: 0 20px; border-radius: 12px; background: rgba(0, 0, 0, .3); box-shadow: inset 0 0 0 1px var(--edge-2); direction: ltr; }
.connect-box .k { font-family: Consolas, monospace; font-weight: 700; color: var(--blue-2); }
.connect-box .cmd { font-family: Consolas, "Courier New", monospace; font-size: 18px; }
.connect-box .soon { font-size: 16px; color: var(--muted); direction: rtl; }
.server-live { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--muted); }
.server-live b { color: var(--text); font-variant-numeric: tabular-nums; }
.faq { display: flex; flex-direction: column; gap: 10px; padding-bottom: 90px; }
.qa { border-radius: 12px; }
.qa summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: 14px; padding: 18px 22px; font-weight: 800; font-size: 16px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary .ic { color: var(--blue); transition: transform .3s var(--ease); margin-inline-start: auto; }
.qa[open] summary .ic { transform: rotate(45deg); }
.qa p { padding: 0 22px 20px; color: var(--muted); line-height: 1.9; }

/* ---------------- STREAMERS ---------------- */
.str-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding-bottom: 90px; }
.str { padding: 18px; display: flex; flex-direction: column; gap: 16px; transition: transform .35s var(--ease); }
.str:hover { transform: translateY(-5px); }
.str-cover { position: relative; aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; background: linear-gradient(135deg, rgba(var(--pc), .3), rgba(10, 13, 19, .95)); display: grid; place-items: center; }
.str-cover img.av { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px rgba(var(--pc), .9), 0 12px 30px rgba(0, 0, 0, .5); }
.str-cover .ini { width: 84px; height: 84px; border-radius: 50%; display: grid; place-items: center; font-size: 32px; font-weight: 900; background: rgba(var(--pc), .2); box-shadow: 0 0 0 3px rgba(var(--pc), .9); }
.live-b { position: absolute; top: 10px; right: 10px; display: flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; background: #e53935; color: #fff; }
.live-b::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #fff; animation: pulse 1.2s infinite; }
.str-info { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.str-info h3 { font-size: 18px; font-weight: 800; }
.str-info p { color: var(--muted); font-size: 14px; direction: ltr; text-align: right; }
.plat { padding: 3px 12px; border-radius: 999px; font-size: 11px; font-weight: 800; letter-spacing: .12em; color: rgb(var(--pc)); background: rgba(var(--pc), .1); box-shadow: inset 0 0 0 1px rgba(var(--pc), .35); text-transform: uppercase; }
.empty-box { padding: 70px 30px; text-align: center; margin-bottom: 90px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.empty-box > .ic { font-size: 46px; color: var(--faint); margin-bottom: 4px; }
.empty-box h3 { font-size: 23px; font-weight: 900; }
.empty-box p { color: var(--muted); }

/* ---------------- TEAM ---------------- */
.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; padding-bottom: 90px; }
.member { padding: 28px 18px 24px; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; transition: transform .35s var(--ease); }
.member:hover { transform: translateY(-5px); }
.member img, .member .ini { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 2px var(--blue), 0 0 0 6px rgba(var(--blue-rgb), .12); }
.member .ini { display: grid; place-items: center; font-size: 30px; font-weight: 900; background: #11151c; }
.member h3 { font-size: 18px; font-weight: 800; }
.member span { font-size: 13px; font-weight: 700; color: var(--blue-2); }

/* ---------------- APPLY ---------------- */
.app-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; padding-bottom: 90px; }
.app { padding: 28px; display: flex; gap: 18px; align-items: flex-start; }
.app > .ic { font-size: 30px; color: var(--blue); margin-top: 4px; }
.app-body { flex: 1; }
.app h3 { font-size: 20px; font-weight: 800; display: flex; align-items: center; gap: 10px; }
.app p { color: var(--muted); margin: 6px 0 18px; line-height: 1.8; }
.st { font-size: 12px; font-weight: 800; padding: 2px 10px; border-radius: 999px; }
.st.open { color: var(--good); background: rgba(63, 212, 122, .1); box-shadow: inset 0 0 0 1px rgba(63, 212, 122, .3); }
.st.closed { color: var(--bad); background: rgba(255, 90, 95, .1); box-shadow: inset 0 0 0 1px rgba(255, 90, 95, .3); }

/* ---------------- footer ---------------- */
.foot { position: relative; border-top: 1px solid var(--edge); background: rgba(7, 9, 12, .85); }
.foot::before { content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 1px; background: var(--hair); opacity: .6; }
.foot-in { max-width: var(--w); margin: 0 auto; padding: 30px 24px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.foot-brand { display: flex; align-items: center; gap: 10px; font-weight: 900; letter-spacing: .06em; }
.foot-brand img { height: 24px; }
.foot-note { color: var(--faint); font-size: 13px; }
.foot-discord { color: var(--blue-2); font-weight: 700; font-size: 14px; }

/* back to top + toast */
.top-btn { position: fixed; bottom: 24px; left: 24px; z-index: 40; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--panel); box-shadow: inset 0 0 0 1px var(--edge-2), 0 10px 30px rgba(0, 0, 0, .4); opacity: 0; transform: translateY(14px); pointer-events: none; transition: .35s var(--ease); }
.top-btn.show { opacity: 1; transform: none; pointer-events: auto; }
.top-btn:hover { box-shadow: inset 0 0 0 1px var(--blue), 0 10px 30px rgba(0, 0, 0, .4); }
.top-btn .ic { transform: rotate(90deg); }
.toast { position: fixed; bottom: 26px; left: 50%; transform: translate(-50%, 30px); opacity: 0; z-index: 100; padding: 14px 22px; border-radius: 12px; font-weight: 700; background: var(--panel); box-shadow: inset 0 0 0 1px var(--edge-2), inset 0 -2px 0 var(--blue), 0 20px 40px rgba(0, 0, 0, .4); transition: .4s var(--ease); pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------------- responsive ---------------- */
@media (max-width: 1180px) {
    .links a { padding: 9px 10px; font-size: 14px; }
    .links a::after { left: 10px; right: 10px; }
}
@media (max-width: 1060px) {
    .hero-in { grid-template-columns: 1fr; }
    .hero-logo { display: none; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .feat-grid, .str-grid { grid-template-columns: repeat(2, 1fr); }
    .team-grid { grid-template-columns: repeat(3, 1fr); }
    .rules { grid-template-columns: 1fr; }
    .rules-side { position: static; }
    .cats { flex-direction: row; flex-wrap: wrap; }
    .cat.on::before { display: none; }
    .steps, .news-grid { grid-template-columns: 1fr; }
}
@media (max-width: 960px) {
    .burger { display: block; }
    .nav-in { gap: 12px; padding: 0 16px; }
    .brand { margin-inline-end: auto; }
    .links { position: fixed; top: 72px; left: 0; right: 0; flex-direction: column; align-items: stretch; padding: 14px; gap: 4px; background: rgba(7, 9, 12, .97); border-bottom: 1px solid var(--edge); transform: translateY(-12px); opacity: 0; visibility: hidden; transition: transform .4s var(--ease), opacity .25s ease, visibility .25s; margin: 0; }
    body.menu-open .links { transform: none; opacity: 1; visibility: visible; }
    .links a { padding: 14px 18px; font-size: 16px; }
    .links a::after { display: none; }
    .links a.on { background: rgba(var(--blue-rgb), .1); }
}
@media (max-width: 760px) {
    .feat-grid, .str-grid, .app-grid { grid-template-columns: 1fr; }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .cta, .connect, .sec-head { flex-direction: column; align-items: stretch; text-align: center; }
    .foot-in { flex-direction: column; text-align: center; }
    .user span { display: none; }
    .penalties { justify-content: center; }
}
@media (max-width: 520px) {
    .brand span { display: none; }
    .btn-login .t { display: none; }
    .btn-login { width: 42px; padding: 0; }
    .stats-grid { grid-template-columns: 1fr; }
    .count-box { min-width: 0; flex: 1; }
    .rset { padding: 22px 16px 10px; }
    .rset-head .lbl-en { display: none; }
}
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .rv { opacity: 1; transform: none; }
}

/* ---------------- trailer poster ---------------- */
.trailer-poster { position: absolute; inset: 0; display: block; width: 100%; cursor: default; }
.trailer-poster img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease), filter .6s ease; }
.trailer-poster::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(7, 9, 12, .88) 0%, rgba(7, 9, 12, 0) 42%); pointer-events: none; }
.trailer-poster.can { cursor: pointer; }
.trailer-poster.can:hover img { transform: scale(1.03); }
.trailer-poster .play { position: absolute; top: 50%; left: 50%; z-index: 2; width: 86px; height: 86px; margin: -43px 0 0 -43px; border-radius: 50%; display: grid; place-items: center; font-size: 28px; color: #fff; background: rgba(14, 17, 21, .78); box-shadow: inset 0 0 0 1px rgba(var(--blue-rgb), .7); animation: ring 2.4s ease-out infinite; transition: background .25s ease; }
.trailer-poster.can:hover .play { background: var(--blue); }
.trailer-bar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; }
.trailer-bar h3 { font-size: 22px; font-weight: 900; }
.trailer-bar p { color: var(--muted); font-weight: 600; font-size: 14px; }
.mini-count { display: flex; gap: 6px; direction: ltr; }
.mini-count span { min-width: 54px; padding: 8px 6px 7px; text-align: center; border-radius: 10px; background: rgba(14, 17, 21, .85); box-shadow: inset 0 0 0 1px var(--edge), inset 0 -2px 0 var(--blue); }
.mini-count b { display: block; font-size: 20px; font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; }
.mini-count i { display: block; margin-top: 4px; font-style: normal; font-size: 10px; font-weight: 800; color: var(--faint); }

/* milestones under the countdown */
.miles { display: flex; flex-wrap: wrap; gap: 8px; }
.mile { display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--muted); background: var(--panel); box-shadow: inset 0 0 0 1px var(--edge); }
.mile .ic { font-size: 14px; color: var(--faint); }
.mile.now { color: #fff; box-shadow: inset 0 0 0 1px rgba(var(--blue-rgb), .55); }
.mile.now .ic { color: var(--blue); }
.mile.done { opacity: .6; }
.mile.done .ic { color: var(--good); }
@media (max-width: 760px) {
    .trailer-bar { flex-direction: column; align-items: flex-start; padding: 14px; }
    .trailer-bar h3 { font-size: 17px; }
    .trailer-bar p { display: none; }
    .mini-count span { min-width: 44px; }
    .mini-count b { font-size: 16px; }
    .trailer-poster .play { width: 60px; height: 60px; margin: -50px 0 0 -30px; font-size: 20px; }
}

/* ---------------- PROFILE ---------------- */
.user a { display: flex; align-items: center; gap: 10px; }
.profile { padding-top: 40px; padding-bottom: 90px; display: flex; flex-direction: column; gap: 14px; }
.prof { border-radius: var(--r-lg); }
.prof-banner { height: 190px; background: linear-gradient(0deg, rgba(14, 17, 21, .95), rgba(14, 17, 21, .2)), var(--hero) center 40% / cover; background-size: cover; background-position: center; }
.prof-banner[style] { background-color: #0b0e13; }
.prof-main { display: flex; align-items: flex-end; gap: 22px; padding: 0 32px 28px; margin-top: -58px; position: relative; }
.prof-av { width: 124px; height: 124px; border-radius: 50%; object-fit: cover; background: #11151c; box-shadow: 0 0 0 5px rgba(14, 17, 21, 1), 0 0 0 7px var(--blue); flex: none; }
.prof-id { flex: 1; min-width: 0; padding-bottom: 4px; }
.prof-id h1 { font-size: 32px; font-weight: 900; line-height: 1.2; margin-top: 4px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.prof-id p { color: var(--muted); direction: ltr; text-align: right; font-weight: 600; }
.prof-st { padding-bottom: 10px; }
.prof-st .st { font-size: 13px; padding: 5px 14px; }
.prof-roles { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 32px 26px; }
.prof-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.stat b.sm { font-size: 19px; line-height: 1.5; }
.prof-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.act { padding: 24px 26px; display: flex; flex-direction: column; gap: 6px; transition: transform .35s var(--ease), background .35s ease; }
.act:hover { transform: translateY(-4px); background: var(--panel-hi); }
.act > .ic { font-size: 24px; color: var(--blue); margin-bottom: 8px; }
.act b { font-size: 18px; font-weight: 800; }
.act span { color: var(--muted); font-size: 14px; }
.prof-foot { display: flex; align-items: center; justify-content: space-between; gap: 14px; color: var(--faint); font-size: 13px; font-weight: 600; padding-top: 6px; }
@media (max-width: 860px) {
    .prof-main { flex-direction: column; align-items: center; text-align: center; padding: 0 18px 22px; }
    .prof-id p { text-align: center; }
    .prof-id h1 { white-space: normal; }
    .prof-roles { justify-content: center; padding: 0 18px 22px; }
    .prof-grid, .prof-actions { grid-template-columns: 1fr; }
    .prof-foot { flex-direction: column; text-align: center; }
}
