/* Mu Veyra v2 — dark + platinum. Shared styles for every page. */
:root {
  --bg: #06070a;
  --bg-2: #0b0d12;
  --bg-3: #11141b;
  --panel: rgba(255, 255, 255, .028);
  --panel-2: rgba(255, 255, 255, .05);
  --line: rgba(214, 222, 235, .10);
  --line-2: rgba(214, 222, 235, .18);
  --text: #eceff4;
  --muted: #98a1b0;
  --dim: #6b7382;
  --plat: linear-gradient(180deg, #fbfcfe 0%, #dfe4eb 34%, #a7afbb 52%, #cdd3dc 70%, #f4f6f9 100%);
  --plat-btn: linear-gradient(180deg, #f6f8fb 0%, #d5dbe3 48%, #b6bec9 52%, #e3e7ed 100%);
  --plat-edge: #e9edf3;
  --ice: #a9d4ff;
  --sp: #b9dcff;
  --sp-grad: linear-gradient(180deg, #ffffff 0%, #dcefff 38%, #9cccf7 58%, #e6f3ff 100%);
  /* button: ice-white with a wider, dark grey band across the middle (Vadim: no thin blue line) */
  --sp-btn: linear-gradient(180deg, #f7fbff 0%, #e2eefa 26%, #a7b0ba 44%, #8e97a1 56%, #c9d6e3 74%, #eef6ff 100%);
  --ok: #5ee39a;
  --warn: #ffcf6b;
  --bad: #ff7a7a;
  --r: 14px;
  --r-lg: 22px;
  --max: 1200px;
  --head: "Cinzel", Georgia, serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; touch-action: manipulation; }
/* nothing may drag the page sideways on phones (Vadim 12.10, iPhone); clip keeps position: sticky working */
html, body { overflow-x: clip; }
@supports not (overflow: clip) { body { overflow-x: hidden; } }
body {
  margin: 0; background: var(--bg); color: var(--text); font: 15px/1.6 var(--body);
  background-image: radial-gradient(1200px 600px at 70% -10%, rgba(169, 212, 255, .07), transparent 60%),
                    radial-gradient(900px 500px at 0% 0%, rgba(255, 255, 255, .035), transparent 60%);
  background-attachment: fixed;
  min-height: 100vh;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font: inherit; color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.plat-text { background: var(--plat); -webkit-background-clip: text; background-clip: text; color: transparent; }
h1, h2, h3 { font-family: var(--head); font-weight: 700; letter-spacing: .01em; margin: 0; line-height: 1.12; }
h1 { font-size: clamp(34px, 5.4vw, 64px); }
h2 { font-size: clamp(26px, 3.2vw, 38px); }
h3 { font-size: 19px; }
.eyebrow { font-size: 11px; letter-spacing: .28em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 26px; height: 1px; background: var(--line-2); }
.muted { color: var(--muted); }
.small { font-size: 13px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 10px var(--ok); display: inline-block; }
.dot.off { background: var(--dim); box-shadow: none; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer; border: 1px solid var(--line-2);
  background: var(--panel-2); color: var(--text); padding: 13px 22px; border-radius: 12px; font-weight: 600; font-size: 14px;
  letter-spacing: .06em; text-transform: uppercase; transition: transform .15s, box-shadow .2s, background .2s; white-space: nowrap;
}
.btn:hover { background: rgba(255, 255, 255, .09); transform: translateY(-1px); }
.btn.plat {
  background: var(--plat-btn); color: #0a0c10; border-color: rgba(255, 255, 255, .7);
  box-shadow: 0 10px 34px rgba(200, 214, 235, .16), inset 0 1px 0 rgba(255, 255, 255, .9);
}
.btn.plat:hover { box-shadow: 0 14px 44px rgba(200, 214, 235, .28), inset 0 1px 0 #fff; }
.btn.big { padding: 18px 34px; font-size: 16px; border-radius: 14px; }
.btn.sm { padding: 8px 14px; font-size: 12px; border-radius: 10px; }
.btn.ghost { background: transparent; }
.btn[disabled] { opacity: .45; cursor: default; transform: none; }

/* header */
.top { position: sticky; top: 0; z-index: 50; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  background: rgba(6, 7, 10, .72); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 18px; height: 68px; }
.logo img { height: 34px; width: auto; }
.nav { display: flex; gap: 4px; margin-left: 10px; }
.nav a { white-space: nowrap; padding: 8px 12px; border-radius: 9px; color: var(--muted); font-weight: 500; font-size: 14px; }
.nav a:hover, .nav a.on { color: var(--text); background: var(--panel-2); }
.top .right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.online-pill { display: flex; align-items: center; gap: 8px; padding: 7px 12px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; color: var(--muted); }
.online-pill b { color: var(--text); }
.me { display: flex; align-items: center; gap: 10px; padding: 5px 12px 5px 5px; border: 1px solid var(--line); border-radius: 999px; font-size: 13px; }
.me img { width: 30px; height: 30px; border-radius: 50%; object-fit: cover; background: var(--bg-3); }
.me .sub { color: var(--muted); font-size: 11px; line-height: 1.1; }
.burger { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; width: 42px; height: 42px; cursor: pointer; }
.burger span { display: block; width: 18px; height: 2px; background: var(--text); margin: 4px auto; border-radius: 2px; }
.drawer { display: none; }
/* Season Pass rewards waiting: a quiet pill like the online one (Play now stays the only loud button); badge on the menu on phones */
.claim-pill { display: inline-flex; align-items: center; gap: 7px; padding: 7px 13px; border: 1px solid rgba(185, 220, 255, .32); border-radius: 999px; white-space: nowrap;
  font-size: 13px; color: var(--muted); text-decoration: none; transition: border-color .2s, color .2s, background .2s; }
.claim-pill:hover { border-color: rgba(185, 220, 255, .6); color: var(--text); background: rgba(185, 220, 255, .06); }
.claim-pill b { color: var(--sp); font-weight: 700; }
@media (max-width: 1240px) { .claim-pill .ct { display: none; } }
.claim-pill .cdot { width: 7px; height: 7px; border-radius: 50%; background: var(--sp); box-shadow: 0 0 0 0 rgba(185, 220, 255, .6); animation: cdot 2s ease-in-out infinite; }
@keyframes cdot { 0% { box-shadow: 0 0 0 0 rgba(185, 220, 255, .55); } 70% { box-shadow: 0 0 0 7px rgba(185, 220, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(185, 220, 255, 0); } }
.burger { position: relative; }
.burger[data-n]::after { content: attr(data-n); position: absolute; top: -6px; right: -6px; min-width: 18px; height: 18px; padding: 0 5px; border-radius: 999px;
  font: 700 10.5px/18px var(--body, sans-serif); color: #05101c; background: var(--sp); }
.drawer .dclaim { margin-left: 8px; padding: 2px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; color: var(--sp); border: 1px solid rgba(185, 220, 255, .35); }
.online-mini { display: none; align-items: center; gap: 6px; font-size: 12.5px; color: var(--text); font-weight: 600; }
.online-mini .dot { width: 7px; height: 7px; border-radius: 50%; background: #3ddc84; box-shadow: 0 0 8px rgba(61, 220, 132, .8); }
@media (max-width: 960px) {
  .nav, .online-pill, .top .right .acc-link, .claim-pill { display: none; }
  .online-mini { display: inline-flex; }
  .burger { display: block; }
  .drawer.open { display: block; position: fixed; inset: 68px 0 auto 0; background: rgba(8, 9, 13, .98); border-bottom: 1px solid var(--line); z-index: 49; padding: 10px 20px 20px; }
  .drawer a { display: block; padding: 14px 4px; border-bottom: 1px solid var(--line); font-weight: 500; }
}

/* sections, cards */
section { padding: 72px 0; }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.card { background: linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015)); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; }
.grid { display: grid; gap: 16px; }
.g2 { grid-template-columns: repeat(2, 1fr); }
.g3 { grid-template-columns: repeat(3, 1fr); }
.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .g3, .g4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } section { padding: 52px 0; } }
.tag { display: inline-flex; align-items: center; gap: 6px; padding: 3px 10px; border-radius: 999px; font-size: 11px; letter-spacing: .08em; text-transform: uppercase;
  border: 1px solid var(--line-2); color: var(--muted); }
.tag.ok { color: var(--ok); border-color: rgba(94, 227, 154, .35); }
.tag.warn { color: var(--warn); border-color: rgba(255, 207, 107, .35); }
.tag.plat { color: #0a0c10; background: var(--plat-btn); border-color: transparent; font-weight: 700; }
.hr { height: 1px; background: linear-gradient(90deg, transparent, var(--line-2), transparent); margin: 0; border: 0; }

/* footer */
.foot { border-top: 1px solid var(--line); padding: 40px 0 30px; margin-top: 40px; color: var(--muted); font-size: 14px; }
.foot .cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 24px; }
.foot h4 { margin: 0 0 10px; font-size: 11px; letter-spacing: .24em; text-transform: uppercase; color: var(--text); font-family: var(--body); }
.foot a { display: block; padding: 3px 0; }
.foot a:hover { color: var(--text); }
.foot .legal { margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 12px; color: var(--dim); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
@media (max-width: 760px) { .foot .cols { grid-template-columns: 1fr 1fr; } }

/* forms */
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }
input, select { width: 100%; padding: 13px 14px; background: rgba(0, 0, 0, .35); border: 1px solid var(--line-2); border-radius: 11px; color: var(--text); font: inherit; outline: none; }
input:focus, select:focus { border-color: rgba(220, 230, 245, .5); box-shadow: 0 0 0 3px rgba(220, 230, 245, .08); }
.err { color: var(--bad); font-size: 13px; min-height: 18px; }

/* toast + modal */
.toast { position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(20px); opacity: 0; background: #12151c; border: 1px solid var(--line-2);
  padding: 12px 18px; border-radius: 12px; z-index: 100; transition: .25s; pointer-events: none; }
.toast.show { opacity: 1; transform: translateX(-50%); }
.modal-bg { position: fixed; inset: 0; background: rgba(0, 0, 0, .66); z-index: 80; display: none; align-items: center; justify-content: center; padding: 16px; }
.modal-bg.open { display: flex; }
.modal { width: min(520px, 100%); max-height: 92vh; overflow: auto; background: #0d1016; border: 1px solid var(--line-2); border-radius: var(--r-lg); padding: 26px; position: relative; }
.modal .x { position: absolute; right: 14px; top: 12px; background: none; border: 0; color: var(--muted); font-size: 22px; cursor: pointer; }
.skeleton { background: linear-gradient(90deg, rgba(255,255,255,.04), rgba(255,255,255,.08), rgba(255,255,255,.04)); background-size: 200% 100%; animation: sk 1.3s infinite; border-radius: 8px; }
@keyframes sk { to { background-position: -200% 0; } }

/* page header with art (inner pages) */
.phead { position: relative; overflow: hidden; isolation: isolate; border-bottom: 1px solid var(--line); }
.phead > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.phead::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(6, 7, 10, .95) 0%, rgba(6, 7, 10, .78) 40%, rgba(6, 7, 10, .25) 100%), linear-gradient(0deg, var(--bg) 0%, rgba(6, 7, 10, 0) 45%); }
.phead .wrap { padding-top: 64px; padding-bottom: 46px; }
.phead h1 { font-size: clamp(32px, 4.4vw, 52px); margin: 12px 0 10px; }
.phead p { color: #c9d0db; max-width: 560px; margin: 0; font-size: 16px; }
.phead .acts { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 20px; }
@media (max-width: 700px) { .phead .wrap { padding-top: 40px; padding-bottom: 30px; } .phead::before { background: linear-gradient(90deg, rgba(6, 7, 10, .92), rgba(6, 7, 10, .6)), linear-gradient(0deg, var(--bg) 0%, rgba(6, 7, 10, 0) 45%); } }

/* pill tabs (scroll sideways on phones) */
.tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.tabs button, .tabs a { border: 1px solid var(--line); background: var(--panel); color: var(--muted); border-radius: 999px; padding: 9px 16px; cursor: pointer; font-weight: 600; font-size: 13px; white-space: nowrap; }
.tabs button:hover, .tabs a:hover { color: var(--text); }
.tabs .on { background: var(--plat-btn); color: #0a0c10; border-color: transparent; }
@media (max-width: 760px) { .tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -20px; padding: 0 20px; } .tabs::-webkit-scrollbar { display: none; } .tabs > * { flex: none; } }

/* data tables */
.tbl { width: 100%; border-collapse: collapse; font-size: 14px; }
.tbl th { text-align: left; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); font-weight: 600; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.tbl td { padding: 12px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tbl tr:last-child td { border-bottom: 0; }
.tbl tbody tr:hover td { background: rgba(255, 255, 255, .025); }
.tbl .num { text-align: right; font-variant-numeric: tabular-nums; }
.tbl-wrap { overflow-x: auto; }
.who { display: flex; align-items: center; gap: 12px; min-width: 0; }
.who img { width: 40px; height: 40px; border-radius: 11px; object-fit: cover; flex: none; border: 1px solid var(--line); }
.who b { display: block; }
.who small { color: var(--muted); font-size: 12px; }
.rank-n { font-family: var(--head); color: var(--muted); font-size: 16px; width: 36px; }
.rank-n.top { background: var(--plat); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: 20px; }
.glogo { display: inline-block; image-rendering: pixelated; border-radius: 6px; background: rgba(0, 0, 0, .4); border: 1px solid var(--line); vertical-align: middle; flex: none; }

/* Season Pass accent: ice blue (same family as the hero's "No download. No install."), so it stands out on the platinum site */
.sp-text { background: var(--sp-grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
/* menu: no box (it looked always selected) and no label: the small pass medal + ice text with a light sweep every few seconds */
.nav a.sp { display: inline-flex; align-items: center; gap: 7px; }
.nav a.sp .sp-ic { width: 18px; height: 18px; object-fit: contain; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .6)); }
.nav a.sp .sp-t { background: linear-gradient(100deg, #b9dcff 0%, #b9dcff 40%, #ffffff 50%, #b9dcff 60%, #b9dcff 100%); background-size: 250% 100%; background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text; color: transparent; animation: sp-sweep 6s ease-in-out infinite; }
.nav a.sp:hover .sp-t { background: none; color: #ffffff; -webkit-background-clip: border-box; background-clip: border-box; }
.nav a.sp.on { background: var(--panel-2); }
@keyframes sp-sweep { 0%, 70% { background-position: 100% 0; } 100% { background-position: 0 0; } }
@media (prefers-reduced-motion: reduce) { .nav a.sp .sp-t { animation: none; } }
.drawer a.sp { color: var(--sp); }
/* Season Pass button: smooth ice gradient (no hard band), small medal, soft glow; a light sweeps across on hover */
.btn.sp { position: relative; overflow: hidden; background: linear-gradient(180deg, #f4f9ff 0%, #d9eafb 52%, #bfd9f2 100%); color: #08131f; border: 1px solid rgba(255, 255, 255, .9);
  box-shadow: 0 10px 28px rgba(120, 180, 240, .25), inset 0 1px 0 #fff, inset 0 -2px 0 rgba(80, 120, 165, .22); letter-spacing: .05em; }
.btn.sp:hover { box-shadow: 0 14px 38px rgba(120, 180, 240, .38), inset 0 1px 0 #fff, inset 0 -2px 0 rgba(80, 120, 165, .22); }
.btn.sp::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .75), transparent); transform: skewX(-18deg); transition: left .7s ease; pointer-events: none; }
.btn.sp:hover::after { left: 120%; }
.btn.sp .bi { width: 22px; height: 22px; object-fit: contain; margin: -4px 0; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .35)); }
.btn.line { background: transparent; border-color: rgba(214, 222, 235, .32); }
.btn.line:hover { background: rgba(255, 255, 255, .06); border-color: rgba(214, 222, 235, .55); }
.card.sp-card { border-color: rgba(169, 212, 255, .38); background: radial-gradient(120% 90% at 100% 0%, rgba(169, 212, 255, .12), transparent 55%), linear-gradient(180deg, rgba(255, 255, 255, .045), rgba(255, 255, 255, .015)); box-shadow: 0 0 0 1px rgba(169, 212, 255, .06), 0 20px 60px rgba(120, 180, 240, .07); }
.tag.sp { color: #07111d; background: var(--sp-grad); border-color: transparent; font-weight: 700; }
/* shown only to logged-in players (the shop) */
body:not(.in) .auth-only { display: none !important; }
/* language switch (EN | PT) */
.lang-btn { font: 600 12px var(--body); letter-spacing: .08em; color: var(--muted); padding: 6px 10px; border: 1px solid var(--line); border-radius: 999px; }
.lang-btn:hover { color: var(--text); border-color: var(--line-2); }
.drawer .dlang { color: var(--muted); font-size: 14px; }
.foot .flang a { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 760px) { .top .lang-btn { display: none; } }
.top .me b, .top .me .sub { white-space: nowrap; }
/* header between phone and wide desktop: the logo never shrinks; the online counter becomes the small dot + number */
.top .logo { flex: none; }
@media (min-width: 961px) and (max-width: 1180px) { .top .online-pill, .top .lang-btn { display: none; } .top .online-mini { display: inline-flex; } .nav a { padding: 8px 9px; } }
/* desktop header: nothing shrinks (12.10: a squeezed Account Hub pill slid under Play now). When it does not fit, v2.js fitTop() steps down:
   t1 = claim pill shows only the number, t2 = small online counter, t3 = narrower nav, t4 = no PT/ES buttons (they stay in the footer) */
@media (min-width: 961px) {
  .top .nav, .top .right, .top .right > * { flex: none; }
  .top .wrap.t1 .claim-pill .ct { display: none; }
  .top .wrap.t2 .online-pill { display: none; } .top .wrap.t2 .online-mini { display: inline-flex; }
  .top .wrap.t3 .nav a { padding: 8px 8px; }
  .top .wrap.t4 .lang-btn { display: none; }
}
/* selects look the same everywhere (iPhone Safari drew them light grey with light text: unreadable) */
select { -webkit-appearance: none; appearance: none; background-color: #0e1117; color: var(--text); padding-right: 36px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%2398a1b0' stroke-width='1.8' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; }
select option { background: #0e1117; color: #eceff4; }
.lang-sw { display: inline-flex; gap: 6px; }

/* menu (Vadim 13.10, option 1): Help dropdown + Discord */
.nav .dd { position: relative; }
.nav .ddb { appearance: none; border: 0; background: none; color: var(--muted); font: 500 14px var(--body); line-height: inherit; padding: 8px 12px; border-radius: 9px; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.nav .dd:hover .ddb, .nav .dd:focus-within .ddb, .nav .dd.on .ddb, .nav .dd.open .ddb { color: var(--text); background: var(--panel-2); }
.nav .ddm { position: absolute; top: calc(100% + 6px); left: 0; min-width: 200px; padding: 6px; display: none; z-index: 60; border: 1px solid var(--line-2); border-radius: 12px; background: rgba(12, 14, 19, .97); box-shadow: 0 18px 40px rgba(0, 0, 0, .55); }
.nav .ddm::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 8px; }
.nav .dd:hover .ddm, .nav .dd:focus-within .ddm, .nav .dd.open .ddm { display: grid; }
.nav .ddm a { padding: 9px 12px; }
.nav a.dc { display: inline-flex; align-items: center; gap: 8px; color: #d6daf8; }
.nav a.dc .dci, .drawer a.ddc .dci { width: 18px; height: 14px; flex: none; }
.nav a.dc:hover { color: #fff; background: #5865f2; }
.top .wrap.t3 .nav .ddb { padding: 8px 8px; }
.drawer a.dsub { padding-left: 18px; color: var(--muted); font-size: 14px; }
.drawer a.ddc { display: flex; align-items: center; gap: 10px; margin: 12px 0 4px; padding: 13px 14px; border: 0; border-radius: 12px; background: #5865f2; color: #fff; font-weight: 600; }
@media (max-width: 960px) { .drawer.open { background: #08090d; } }   /* solid: the page text showed through the 98% one */

/* the new menu (Home + Help + Discord) is wider: on a logged-in 961-1100px screen shrink it further, step by step */
.top .wrap.t5 .nav a.dc span { display: none; }
.top .wrap.t5 .nav a.dc { padding: 8px 9px; }
.top .wrap.t6 .nav a, .top .wrap.t6 .nav .ddb { padding: 8px 6px; }
.top .wrap.t7 .nav a[data-k="home"] { display: none; }
.top .wrap.t7 .nav a, .top .wrap.t7 .nav .ddb { padding: 8px 5px; }
.top .wrap.t8 .online-mini { display: none; }

/* phone menu (Vadim 14.10): it scrolls on its own and the page behind it stays still */
.drawer.open { max-height: calc(100vh - 68px); max-height: calc(100dvh - 68px); overflow-y: auto; overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
html.dr-lock, html.dr-lock body { overflow: hidden; }
