:root {
  --bg: #04070d;
  --bg2: #070c15;
  --card: #0a111c;
  --card2: #0e1727;
  --line: rgba(148, 197, 230, .13);
  --text: #e8f1f8;
  --mut: #8aa0b4;
  --cy: #22d3ee;
  --cy2: #0891b2;
  --gold: #f5b301;
  --vio: #8b7cf6;
  --green: #34d399;
  --red: #f87171;
  --r: 12px;
  --head: 'Arial Black', 'Archivo Black', 'Segoe UI Black', Impact, 'Segoe UI', Tahoma, sans-serif;
  --body: 'Segoe UI', Tahoma, 'Noto Sans Arabic', 'Helvetica Neue', Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
img { max-width: 100%; display: block; }
h1, h2, h3, p { margin: 0; }
.ic { width: 1em; height: 1em; flex: none; }
.ic.sm { width: .85em; height: .85em; opacity: .8; }

.container { width: min(1200px, 92%); margin-inline: auto; }
.container.narrow { width: min(620px, 92%); }

/* ---------- header ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  transition: background .3s, backdrop-filter .3s, border-color .3s;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(4, 7, 13, .78);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-color: var(--line);
}
.header-in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 58px; height: 58px; border-radius: 50%;
  background: #06101c;
  border: 2px solid var(--cy);
  box-shadow: 0 0 22px rgba(34, 211, 238, .45), inset 0 0 14px rgba(34, 211, 238, .25);
  display: grid; place-items: center; overflow: hidden; flex: none;
}
.brand-mark svg { width: 70%; height: 70%; }
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-text b { font-family: var(--head); font-size: 17px; letter-spacing: .06em; }
.brand-text small { font-size: 8px; letter-spacing: .5em; color: var(--cy); margin-top: 3px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 999px;
  font-size: 12.5px; font-weight: 700; color: #c4d3df;
  background: none; border: 1px solid transparent;
  transition: color .2s, background .2s, border-color .2s;
  white-space: nowrap;
}
.nav-link:hover { color: #fff; }
.nav-link.active { color: var(--cy); border-color: rgba(34, 211, 238, .45); background: rgba(34, 211, 238, .08); }
.nav-link.store { color: #fff; }
.nav-link.admin-btn { color: var(--gold); }
.nav-link.admin-btn:hover { background: rgba(245, 179, 1, .1); }
.icon-btn {
  width: 36px; height: 36px; border-radius: 50%; border: 0; background: none;
  display: grid; place-items: center; color: #c4d3df; font-size: 16px;
}
.icon-btn:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.burger { display: none; }

/* ---------- hero ---------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 130px 0 70px; overflow: hidden; isolation: isolate;
}
.hero-bg { position: absolute; inset: 0; z-index: -1; background:
  radial-gradient(70% 60% at 22% 18%, rgba(14, 116, 144, .38), transparent 70%),
  radial-gradient(60% 50% at 85% 75%, rgba(8, 145, 178, .22), transparent 70%),
  linear-gradient(180deg, #050a12, #03060b);
  background-size: cover; background-position: center;
}
.hero-bg.has-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(3, 6, 11, .55), rgba(3, 6, 11, .9)); }
.hero-bg:not(.has-img)::before,
.hero-bg:not(.has-img)::after {
  content: ''; position: absolute; opacity: .9;
}
.hero-bg:not(.has-img)::before {
  width: 46%; height: 150%; left: 4%; top: -20%;
  background: linear-gradient(160deg, rgba(255, 255, 255, .16), rgba(255, 255, 255, .02) 70%);
  clip-path: polygon(30% 0, 100% 0, 78% 100%, 8% 100%, 46% 52%);
  transform: skewX(-8deg);
}
.hero-bg:not(.has-img)::after {
  width: 54%; height: 150%; right: 0; top: -25%;
  background: linear-gradient(200deg, rgba(34, 168, 214, .5), rgba(8, 100, 140, .06) 75%);
  clip-path: polygon(0 12%, 100% 0, 82% 34%, 62% 100%, 36% 100%, 52% 40%);
}
.welcome, .eyebrow, .badge-pill, .cd-label {
  font-size: 10.5px; font-weight: 800; letter-spacing: .32em; color: var(--cy);
  text-transform: uppercase;
}
.welcome {
  display: inline-block; padding: 3px 16px; border-radius: 999px;
  background: rgba(34, 211, 238, .1); border: 1px solid rgba(34, 211, 238, .25);
}
.hero-title {
  font-family: var(--head); font-weight: 900;
  font-size: clamp(54px, 12vw, 156px); line-height: .9; letter-spacing: -.02em;
  margin: 18px 0 14px; text-transform: uppercase;
  text-shadow: 0 6px 50px rgba(0, 0, 0, .6);
}
.hero-title span { display: block; }
.hero-sub { color: #c4d3df; font-size: clamp(14px, 1.6vw, 17px); max-width: 640px; margin-inline: auto; }

.countdown { margin-top: clamp(36px, 8vh, 90px); }
.cd-label { display: inline-flex; align-items: center; gap: 8px; font-size: 10px; }
.cd-time {
  display: block; margin-top: 6px;
  font-family: 'Consolas', 'SF Mono', 'Courier New', monospace; font-weight: 800;
  font-size: clamp(34px, 6vw, 58px); letter-spacing: .12em; text-shadow: 0 0 28px rgba(34, 211, 238, .35);
}
.cd-time.ended { font-family: var(--body); font-size: clamp(24px, 4vw, 38px); letter-spacing: 0; color: var(--cy); }

.stats { margin-top: clamp(34px, 7vh, 70px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; max-width: 860px; margin-inline: auto; }
.stat .ic { font-size: 17px; color: var(--cy); }
.stat:nth-child(1) .ic { color: #7289ff; }
.stat:nth-child(3) .ic { color: #fbbf24; }
.stat:nth-child(4) .ic { color: var(--green); }
.stat-v { display: block; font-family: var(--head); font-size: clamp(34px, 5vw, 58px); line-height: 1.05; }
.stat-l { color: #6f89a3; font-size: clamp(12px, 1.5vw, 17px); }

/* ---------- sections ---------- */
.section { padding: 90px 0; position: relative; }
.section-head { text-align: center; margin-bottom: 40px; }
.section-head h2 { font-family: var(--head); font-weight: 900; font-size: clamp(28px, 4.6vw, 44px); line-height: 1.2; margin-top: 10px; }
.section-head p { color: #aebfce; font-size: 14px; max-width: 680px; margin: 10px auto 0; }
.section-head p a { color: var(--cy); text-decoration: underline; text-underline-offset: 3px; }
.badge-pill {
  display: inline-block; padding: 2px 12px; border-radius: 4px; font-size: 9.5px;
  background: rgba(34, 211, 238, .12); border: 1px solid rgba(34, 211, 238, .2);
}

/* ---------- gallery ---------- */
.g-grid-f { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.g-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 18px; }
.g-card { position: relative; overflow: hidden; border-radius: 10px; background: var(--card); border: 1px solid var(--line); cursor: zoom-in; }
.g-card.feat { aspect-ratio: 16 / 7.6; }
.g-card.sm { aspect-ratio: 4 / 5; }
.g-img { position: absolute; inset: 0; background-size: cover; background-position: center; transition: transform .6s; }
.g-card:hover .g-img { transform: scale(1.06); }
.g-card.feat::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .85), transparent 55%); }
.g-cap { position: absolute; z-index: 2; inset-inline: 16px; bottom: 12px; }
.g-cap h3 { font-size: 20px; font-weight: 800; }
.g-cap p { font-size: 11px; color: #d0dce6; }
.badge {
  position: absolute; z-index: 2; top: 10px; inset-inline-start: 10px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 2px 9px; border-radius: 999px;
  background: var(--cy); color: #021018; font-size: 8px; font-weight: 900; letter-spacing: .2em;
}
.badge::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: #021018; }
html[lang=ar] .badge { letter-spacing: 0; font-size: 10px; }
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(0, 0, 0, .9);
  display: grid; place-items: center; padding: 24px; cursor: zoom-out;
}
.lightbox img { max-height: 92vh; max-width: 94vw; border-radius: 10px; }

/* ---------- team ---------- */
.t-group { margin-bottom: 46px; }
.t-head { display: flex; align-items: center; gap: 18px; margin-bottom: 26px; }
.t-head::before, .t-head::after { content: ''; flex: 1; height: 1px; background: var(--line); }
.t-head h3 { font-family: var(--head); font-size: 24px; display: flex; align-items: center; gap: 10px; text-transform: uppercase; }
.t-head .ic { font-size: 18px; color: var(--cy); }
.t-group[data-icon=crown] .t-head .ic { color: var(--gold); }
.t-group[data-icon=star] .t-head .ic { color: var(--vio); }
.t-group.has-banner {
  position: relative; isolation: isolate; overflow: hidden; padding: 26px 20px 30px;
  border: 1px solid var(--line); border-radius: var(--r);
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
.t-group.has-banner::before { content: ''; position: absolute; inset: 0; z-index: -1; background: rgba(4, 7, 13, var(--shade, .6)); }
.t-group.has-banner .t-head { margin-bottom: 20px; }
.t-group.has-banner .t-head h3, .t-group.has-banner .member strong, .t-group.has-banner .member small { text-shadow: 0 2px 10px rgba(0, 0, 0, .75); }
.t-group.has-banner .member small { color: #c6d5e2; }
.t-members { display: flex; flex-wrap: wrap; justify-content: center; gap: 22px 30px; }
.member { text-align: center; width: 130px; }
.avatar {
  --s: 92px; width: var(--s); height: var(--s); border-radius: 50%; margin: 0 auto 10px;
  border: 1px solid rgba(255, 255, 255, .15); overflow: hidden;
  background: linear-gradient(135deg, #123049, #07121d);
  display: grid; place-items: center; font-family: var(--head); font-size: calc(var(--s) * .3); color: #9bd8ec;
  box-shadow: 0 0 0 3px rgba(34, 211, 238, .06);
}
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.member strong { display: block; font-family: var(--head); font-size: 17px; letter-spacing: .02em; }
.member small { display: block; font-size: 9.5px; color: var(--mut); line-height: 1.4; margin-top: 2px; }
.t-group.lg .avatar { --s: 108px; }
.t-group.lg .member { width: 170px; }
.t-group.lg .member strong { font-size: 22px; }
.t-group.sm .avatar { --s: 68px; }
.t-group.sm .member { width: 110px; }
.t-group.sm .member strong { font-size: 14px; }

/* ---------- streams ---------- */
.s-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }
.s-card {
  display: flex; flex-direction: column; gap: 14px; padding: 18px;
  background: var(--card); border: 1px solid var(--line); border-radius: var(--r);
  transition: border-color .2s, transform .2s;
}
.s-card:hover { border-color: rgba(34, 211, 238, .4); transform: translateY(-2px); }
.s-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.plat { font-size: 11px; font-weight: 800; letter-spacing: .08em; padding: 3px 10px; border-radius: 6px; background: rgba(255, 255, 255, .06); }
.plat.twitch { color: #b794ff; } .plat.youtube { color: #ff6b6b; } .plat.kick { color: #53fc18; } .plat.tiktok { color: #25f4ee; }
.live { display: inline-flex; align-items: center; gap: 6px; font-size: 10px; font-weight: 800; color: #ff5d5d; letter-spacing: .1em; }
.live::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #ff3b3b; box-shadow: 0 0 10px #ff3b3b; animation: pulse 1.4s infinite; }
@keyframes pulse { 50% { opacity: .35; } }
.s-name { font-size: 19px; font-weight: 800; }
.s-watch { display: inline-flex; align-items: center; gap: 8px; color: var(--cy); font-weight: 700; font-size: 13px; margin-top: auto; }

/* ---------- leaderboard ---------- */
.lb { width: min(720px, 100%); margin-inline: auto; display: flex; flex-direction: column; gap: 8px; }
.lb-row {
  display: grid; grid-template-columns: 46px 1fr auto; align-items: center; gap: 14px;
  padding: 12px 16px; background: var(--card); border: 1px solid var(--line); border-radius: 10px;
}
.lb-rank { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; font-family: var(--head); font-size: 14px; background: rgba(255, 255, 255, .06); }
.lb-row:nth-child(1) .lb-rank { background: rgba(245, 179, 1, .18); color: var(--gold); }
.lb-row:nth-child(2) .lb-rank { background: rgba(203, 213, 225, .16); color: #cbd5e1; }
.lb-row:nth-child(3) .lb-rank { background: rgba(217, 119, 6, .2); color: #f59e0b; }
.lb-name { font-weight: 800; }
.lb-note { display: block; font-size: 11px; color: var(--mut); }
.lb-score { font-family: var(--head); font-size: 18px; color: var(--cy); text-align: end; }
.lb-score small { display: block; font-family: var(--body); font-weight: 400; font-size: 10px; color: var(--mut); }
.empty { text-align: center; color: var(--mut); padding: 30px 0; }

/* ---------- apply ---------- */
.card { background: rgba(10, 17, 28, .85); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; margin-bottom: 18px; }
.card-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: rgba(34, 211, 238, .06); border-bottom: 1px solid var(--line); }
.card-ico { width: 44px; height: 44px; border-radius: 10px; display: grid; place-items: center; font-size: 20px; background: rgba(34, 211, 238, .12); color: var(--cy); border: 1px solid rgba(34, 211, 238, .25); flex: none; }
.card-head .eyebrow { display: block; font-size: 9px; }
.card-head h3 { font-size: 20px; font-weight: 900; }
.card.gold .card-head { background: rgba(245, 179, 1, .06); }
.card.gold .card-ico { background: rgba(245, 179, 1, .12); color: var(--gold); border-color: rgba(245, 179, 1, .3); }
.card.gold .eyebrow { color: var(--gold); }
.card ul { list-style: none; margin: 0; padding: 8px; display: flex; flex-direction: column; gap: 6px; }
.card li { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 9px; background: rgba(255, 255, 255, .03); border: 1px solid rgba(255, 255, 255, .05); font-size: 13.5px; color: #cfdbe6; }
.card li .ic { font-size: 18px; color: var(--cy); }
.card.gold li .ic { color: var(--gold); }
.btn-wrap { text-align: center; margin-top: 26px; }
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 12px 34px; border-radius: 10px;
  font-weight: 800; font-size: 14px; background: var(--cy); color: #021018; border: 0;
  box-shadow: 0 8px 30px rgba(34, 211, 238, .25); transition: transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 38px rgba(34, 211, 238, .38); }

/* ---------- apply: section cards + form modal ---------- */
.ap-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 18px; align-items: stretch; }
.ap-card { display: flex; flex-direction: column; gap: 12px; padding: 22px; background: rgba(10, 17, 28, .85); border: 1px solid var(--line); border-radius: var(--r); }
.ap-card h3 { font-size: 20px; font-weight: 900; }
.ap-desc { color: #aebfce; font-size: 13.5px; }
.ap-reqs { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.ap-reqs li { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; color: #cfdbe6; }
.ap-reqs li .ic { font-size: 16px; margin-top: 3px; color: var(--cy); }
.ap-card .ap-btn { margin-top: auto; width: 100%; justify-content: center; }
.ap-card[data-type="admin"] .card-ico { background: rgba(245, 179, 1, .12); color: var(--gold); border-color: rgba(245, 179, 1, .3); }
.ap-card[data-type="creators"] .card-ico { background: rgba(139, 124, 246, .14); color: var(--vio); border-color: rgba(139, 124, 246, .35); }
.ap-card.off { opacity: .6; }
.btn:disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }

.ap-overlay { position: fixed; inset: 0; z-index: 250; background: rgba(2, 5, 10, .82); backdrop-filter: blur(6px); display: grid; place-items: center; padding: 16px; }
.ap-modal { width: min(640px, 100%); max-height: 92vh; display: flex; flex-direction: column; background: #0a111c; border: 1px solid rgba(34, 211, 238, .25); border-radius: 16px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6); overflow: hidden; }
.ap-head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; background: rgba(34, 211, 238, .06); border-bottom: 1px solid var(--line); }
.ap-head h3 { flex: 1; font-size: 19px; font-weight: 900; }
.ap-x { width: 32px; height: 32px; border-radius: 8px; border: 0; background: rgba(255, 255, 255, .06); font-size: 15px; line-height: 1; }
.ap-x:hover { background: rgba(255, 255, 255, .14); }
.ap-body { padding: 18px; overflow-y: auto; }
.ap-f { margin-bottom: 14px; }
.ap-l { display: block; font-size: 13px; font-weight: 800; color: #b9cad8; margin-bottom: 6px; }
.ap-l i { color: var(--red); font-style: normal; }
.ap-in { width: 100%; padding: 10px 12px; border-radius: 9px; border: 1px solid rgba(148, 197, 230, .2); background: #050b14; color: var(--text); font: inherit; font-size: 14px; outline: none; }
.ap-in:focus { border-color: var(--cy); box-shadow: 0 0 0 3px rgba(34, 211, 238, .15); }
textarea.ap-in { resize: vertical; min-height: 90px; }
.ap-chk { display: flex; align-items: flex-start; gap: 10px; font-size: 13.5px; font-weight: 700; padding: 6px 0 12px; cursor: pointer; }
.ap-chk input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--cy); flex: none; }
.ap-f.bad .ap-in { border-color: var(--red); }
.ap-chk.bad { color: var(--red); }
.ap-msg { min-height: 20px; font-size: 13px; color: var(--mut); margin: 4px 0 10px; }
.ap-msg.err { color: var(--red); }
.ap-actions { display: flex; gap: 10px; justify-content: flex-end; align-items: center; }
.ap-cancel { padding: 11px 18px; border-radius: 10px; border: 1px solid var(--line); background: rgba(255, 255, 255, .05); font-weight: 800; font-size: 14px; }
.ap-cancel:hover { background: rgba(255, 255, 255, .1); }
.ap-send { padding: 11px 28px; }
.ap-done { text-align: center; padding: 24px 6px; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.ap-done-ic { font-size: 54px; color: var(--green); display: grid; }
.ap-done h4 { font-size: 22px; font-weight: 900; margin: 0; }
.ap-done p { color: #b6c6d4; font-size: 14px; max-width: 420px; }

/* ---------- faq ---------- */
.faq-cat { margin-bottom: 34px; }
.faq-cat > h3 { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 800; margin-bottom: 12px; }
.faq-cat > h3 .ic { color: var(--cy); }
.faq-item { background: var(--card); border: 1px solid var(--line); border-radius: 10px; margin-bottom: 8px; overflow: hidden; }
.faq-q { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 16px; background: none; border: 0; text-align: start; font-weight: 800; font-size: 14px; }
.faq-q .ic { color: var(--cy); transition: transform .25s; }
.faq-item.open .faq-q .ic { transform: rotate(180deg); }
.faq-a { padding: 0 16px 16px; color: #b6c6d4; font-size: 13.5px; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 34px 0; text-align: center; color: var(--mut); font-size: 13px; background: var(--bg2); }
.site-footer b { color: var(--text); font-family: var(--head); letter-spacing: .06em; }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s, transform .7s; }
.reveal.in { opacity: 1; transform: none; }
body.admin-open .reveal { opacity: 1; transform: none; transition: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } }

/* ---------- admin side-by-side ---------- */
body.admin-open #app { margin-left: 440px; }
body.admin-open .hero-title { font-size: clamp(48px, 8vw, 120px); }
body.admin-open .site-header { left: 440px; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .burger { display: grid; }
  .nav {
    position: absolute; top: 100%; inset-inline: 0; flex-direction: column; align-items: stretch;
    padding: 12px 4%; background: rgba(4, 7, 13, .97); border-bottom: 1px solid var(--line);
    display: none;
  }
  .site-header.open .nav { display: flex; }
  .site-header.open { background: rgba(4, 7, 13, .97); }
  .nav-link { justify-content: flex-start; padding: 12px 14px; border-radius: 10px; font-size: 14px; }
  .g-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 760px) {
  .g-grid-f { grid-template-columns: 1fr; }
  .g-card.feat { aspect-ratio: 16 / 9; }
  .g-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .section { padding: 64px 0; }
  .brand-mark { width: 48px; height: 48px; }
  .lb-row { grid-template-columns: 38px 1fr auto; padding: 10px 12px; }
}
@media (max-width: 900px) {
  body.admin-open #app { margin-left: 0; }
  body.admin-open .site-header { left: 0; }
}

/* ---------- hero buttons + join code ---------- */
.hero-cta { margin-top: clamp(36px, 8vh, 90px); display: flex; flex-direction: column; align-items: center; gap: 18px; }
.cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.cta-btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 15px 34px; border-radius: 12px;
  font-weight: 900; font-size: 15px; transition: transform .2s, box-shadow .2s, filter .2s;
}
.cta-btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
.cta-btn .ic { font-size: 18px; }
.cta-server { background: #4f7fd1; color: #06121f; box-shadow: 0 8px 30px rgba(79, 127, 209, .35); }
.cta-discord { background: #5865f2; color: #fff; box-shadow: 0 8px 30px rgba(88, 101, 242, .45); }
.join-code {
  display: inline-flex; align-items: center; gap: 8px; color: var(--mut); font-size: 13px;
  padding: 6px 12px; border-radius: 8px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02);
}
.join-code .ic { color: #4f7fd1; }
.jc-v { font-family: 'Consolas', 'SF Mono', 'Courier New', monospace; color: #7ea6ee; font-weight: 800; font-size: 14px; user-select: all; }
@media (max-width: 560px) { .cta-btn { width: 100%; justify-content: center; } .cta-row { width: 100%; } }

/* ---------- visitor login ---------- */
.login-wrap { min-height: 100vh; display: grid; place-items: center; padding: 24px; background: radial-gradient(ellipse at 50% 0%, rgba(34, 211, 238, .12), transparent 60%), var(--bg, #04070d); }
.login-card {
  width: min(420px, 100%); text-align: center; padding: 34px 28px; border-radius: 18px;
  background: #0a111c; border: 1px solid rgba(34, 211, 238, .22); box-shadow: 0 30px 80px rgba(0, 0, 0, .55);
}
.login-logo { width: 84px; height: 84px; object-fit: contain; margin: 0 auto 14px; display: block; }
.login-card h1 { font-size: 24px; font-weight: 900; margin: 0 0 8px; }
.login-sub { color: var(--mut); font-size: 14px; line-height: 1.8; margin: 0 0 22px; }
.login-err { color: var(--red); font-size: 13px; margin: 0 0 14px; }
.login-btn {
  display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%;
  padding: 14px 18px; border-radius: 12px; font-weight: 900; font-size: 15px; margin-bottom: 12px;
  transition: transform .2s, filter .2s;
}
.login-btn:hover { transform: translateY(-2px); filter: brightness(1.08); }
.login-btn .ic { font-size: 20px; }
.login-btn.discord { background: #5865f2; color: #fff; box-shadow: 0 8px 30px rgba(88, 101, 242, .4); }
.login-btn.google { background: #fff; color: #1f2937; }
.g-mark { width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-weight: 900; font-size: 13px; color: #4285f4; border: 2px solid #4285f4; }
.login-lang { margin-top: 10px; background: none; border: 0; color: var(--mut); font-size: 12px; text-decoration: underline; }
.user-chip { display: inline-flex; align-items: center; gap: 8px; padding: 3px 4px 3px 10px; border-radius: 999px; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); font-size: 12px; }
.user-chip img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }
.user-chip b { max-width: 110px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
