/* Arcane PvP website - black / purple "storm" theme */
@font-face { font-family: "Inter"; src: url("../fonts/inter-400.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-600.woff") format("woff"); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: "Inter"; src: url("../fonts/inter-700.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Pagella"; src: url("../fonts/pagella-400.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Pagella"; src: url("../fonts/pagella-700.woff") format("woff"); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  --bg: #030608;
  --bg2: #070d10;
  --panel: rgba(10, 21, 26, 0.74);
  --panel-solid: #0b151a;
  --panel2: rgba(15, 32, 41, 0.78);
  --line: rgba(85, 175, 247, 0.24);
  --line-soft: rgba(181, 239, 253, 0.12);
  --text: #e9f6fb;
  --muted: #9cb6bf;
  --dim: #69838c;
  --p1: #55aff7;
  --p2: #3ab2ed;
  --p3: #b5effd;
  --p4: #799cf9;
  --deep: #0f486e;
  --gold: linear-gradient(135deg, #ffe29a 0%, #ffb53d 48%, #ff8a00 100%);
  --gold-ink: #1f1000;
  --gold-text: #fcd34d;
  --ok: #4ade80;
  --warn: #fbbf24;
  --bad: #f87171;
  --radius: 16px;
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.55);
  --glow: 0 0 28px rgba(85, 175, 247, 0.45);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --display: "Pagella", "Palatino Linotype", "Book Antiqua", Georgia, serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font: 400 16px/1.65 var(--font);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
body.modal-open { overflow: hidden; }
[hidden] { display: none !important; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: var(--p3); text-decoration: none; }
a:hover { color: #fff; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--p4); outline-offset: 3px; border-radius: 6px; }
::selection { background: rgba(85, 175, 247, 0.45); color: #fff; }

/* both languages live in the page; only one is shown */
html[data-lang="en"] [lang="el"], html[data-lang="el"] [lang="en"] { display: none !important; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 24px; } }

/* ------------------------------------------------------------ background scene */
.scene { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.scene__sky {
  position: absolute; inset: 0;
  background:
    radial-gradient(1200px 700px at 50% -12%, rgba(58, 178, 237, 0.30), transparent 60%),
    radial-gradient(800px 600px at 8% 30%, rgba(28, 83, 135, 0.22), transparent 65%),
    radial-gradient(900px 700px at 96% 70%, rgba(34, 127, 206, 0.16), transparent 65%),
    linear-gradient(180deg, #040a0e 0%, #030608 55%, #020507 100%);
}
.scene__clouds {
  position: absolute; inset: -20% -20% auto -20%; height: 75vh;
  background:
    radial-gradient(closest-side at 30% 55%, rgba(29, 107, 149, 0.30), transparent),
    radial-gradient(closest-side at 70% 40%, rgba(40, 156, 217, 0.22), transparent),
    radial-gradient(closest-side at 50% 70%, rgba(12, 55, 95, 0.35), transparent);
  filter: blur(30px);
  animation: clouds 38s ease-in-out infinite alternate;
  opacity: 0.85;
}
@keyframes clouds { from { transform: translate3d(-4%, 0, 0) scale(1); } to { transform: translate3d(4%, 2%, 0) scale(1.08); } }
.scene__grid {
  position: absolute; inset: auto 0 0 0; height: 45vh;
  background:
    linear-gradient(to top, rgba(85, 175, 247, 0.10), transparent 70%),
    repeating-linear-gradient(90deg, rgba(85, 175, 247, 0.06) 0 1px, transparent 1px 80px);
  mask-image: linear-gradient(to top, #000 0%, transparent 100%);
  -webkit-mask-image: linear-gradient(to top, #000 0%, transparent 100%);
}
.scene__storm { position: absolute; inset: 0; width: 100%; height: 100%; }
.scene__flash { position: absolute; inset: 0; background: radial-gradient(900px 520px at var(--fx, 50%) 0%, rgba(180, 223, 254, 0.55), rgba(58, 178, 237, 0.10) 55%, transparent 75%); opacity: 0; }
.scene__vignette { position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 40%, transparent 55%, rgba(0, 0, 0, 0.65) 100%); }
.page { position: relative; z-index: 1; }

/* ------------------------------------------------------------ top bar */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: linear-gradient(180deg, rgba(3, 6, 8, 0.92), rgba(3, 6, 8, 0.70));
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--line-soft);
}
.topbar::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(85, 175, 247, 0.85), rgba(121, 156, 249, 0.85), transparent);
  background-size: 200% 100%;
  animation: wire 6s linear infinite;
  opacity: 0.6;
}
@keyframes wire { from { background-position: 200% 0; } to { background-position: -200% 0; } }
.topbar__inner { display: flex; align-items: center; gap: 18px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--text); flex-shrink: 0; }
.brand img { width: 108px; height: auto; filter: drop-shadow(0 0 14px rgba(255, 122, 26, 0.40)); transition: filter .3s; }
.brand:hover img { filter: drop-shadow(0 0 22px rgba(255, 160, 50, 0.70)); }
.brand__tag { display: none; font-size: 11px; font-weight: 700; letter-spacing: .22em; text-transform: uppercase; color: var(--p3); padding: 4px 9px; border: 1px solid var(--line); border-radius: 999px; background: rgba(58, 178, 237, 0.12); }
@media (min-width: 900px) { .brand__tag { display: inline-block; } }
.nav { display: none; align-items: center; gap: 6px; margin-left: auto; }
.nav a {
  position: relative; padding: 9px 14px; border-radius: 10px; color: var(--muted); font-weight: 600; font-size: 15px;
  transition: color .2s, background .2s;
}
.nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--p2), var(--p4)); transform: scaleX(0); transform-origin: left; transition: transform .25s;
  box-shadow: 0 0 10px rgba(121, 156, 249, 0.8);
}
.nav a:hover { color: #fff; }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.nav a.is-active { color: #fff; }
.nav a.nav__coins { color: var(--gold-ink); background: var(--gold); border: 0; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; box-shadow: 0 6px 22px rgba(255, 150, 30, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.55); transition: transform .2s, box-shadow .25s, filter .25s; }
.nav a.nav__coins .coin { box-shadow: 0 0 0 1.5px rgba(70, 32, 0, 0.55), 0 0 8px rgba(255, 255, 255, 0.5); }
.nav a.nav__coins:hover, .nav a.nav__coins.is-active { color: var(--gold-ink); transform: translateY(-1px); filter: brightness(1.06); box-shadow: 0 10px 30px rgba(255, 160, 40, 0.6), 0 0 0 1px rgba(255, 226, 154, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.6); }
.nav a.nav__coins::after { display: none; }
@media (min-width: 900px) { .nav { display: flex; } }
.topbar__right { display: flex; align-items: center; gap: 10px; margin-left: auto; }
@media (min-width: 900px) { .topbar__right { margin-left: 8px; } }
.lang { display: inline-flex; padding: 3px; border: 1px solid var(--line-soft); border-radius: 10px; background: rgba(255, 255, 255, 0.03); }
.lang button { border: 0; background: none; padding: 5px 9px; border-radius: 7px; font-size: 12px; font-weight: 700; letter-spacing: .06em; color: var(--dim); cursor: pointer; }
.lang button[aria-pressed="true"] { color: #fff; background: linear-gradient(135deg, var(--p2), var(--p1)); box-shadow: 0 0 12px rgba(85, 175, 247, 0.5); }
.burger { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 10px; border: 1px solid var(--line-soft); background: rgba(255, 255, 255, 0.03); cursor: pointer; }
@media (min-width: 900px) { .burger { display: none; } }
.mobile-nav { display: none; flex-direction: column; padding: 8px 16px 16px; gap: 4px; border-top: 1px solid var(--line-soft); }
.mobile-nav.is-open { display: flex; }
.mobile-nav a { padding: 12px 14px; border-radius: 10px; color: var(--text); font-weight: 600; background: rgba(255, 255, 255, 0.02); }
.mobile-nav a.is-active, .mobile-nav a:hover { background: rgba(58, 178, 237, 0.18); }
@media (min-width: 900px) { .mobile-nav, .mobile-nav.is-open { display: none; } }

/* ------------------------------------------------------------ buttons */
.btn {
  --b1: var(--p2); --b2: var(--p1); --b3: #2652d3;
  position: relative; isolation: isolate; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 0 24px; border: 0; border-radius: 13px; cursor: pointer;
  font-weight: 700; font-size: 15px; letter-spacing: .03em; color: #fff; text-decoration: none; white-space: nowrap;
  transition: transform .2s ease, box-shadow .25s ease, filter .25s ease, opacity .2s;
}
.btn svg { flex-shrink: 0; }
.btn--primary {
  background: linear-gradient(135deg, var(--b1), var(--b2) 55%, var(--b3));
  box-shadow: 0 10px 30px rgba(58, 178, 237, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}
/* electric border: a rotating spark around the button */
.btn--primary::before {
  content: ""; position: absolute; inset: -2px; z-index: -1; border-radius: 15px; padding: 2px;
  background: conic-gradient(from var(--ang, 0deg), transparent 0 62%, #d0dffe 72%, #fff 75%, #799cf9 78%, transparent 88% 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spin 3.2s linear infinite;
  opacity: .9;
}
@property --ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
@keyframes spin { to { --ang: 360deg; } }
/* light sweep */
.btn--primary::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; overflow: hidden;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.35) 45%, transparent 60%);
  background-size: 250% 100%; background-position: 130% 0;
  transition: background-position .7s ease;
}
.btn--primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(85, 175, 247, 0.65), 0 0 0 1px rgba(121, 156, 249, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.3); }
.btn--primary:hover::after { background-position: -40% 0; }
.btn--primary:active { transform: translateY(0) scale(.98); }
.btn--ghost { background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line); color: var(--text); }
.btn--ghost:hover { border-color: rgba(121, 156, 249, 0.6); box-shadow: var(--glow); transform: translateY(-2px); color: #fff; }
.btn--discord { background: linear-gradient(135deg, #4f46e5, #5865f2); box-shadow: 0 10px 28px rgba(88, 101, 242, 0.35); }
.btn--discord:hover { transform: translateY(-2px); box-shadow: 0 14px 36px rgba(88, 101, 242, 0.55); }
.btn[disabled], .btn[aria-disabled="true"] { opacity: .45; cursor: not-allowed; transform: none !important; box-shadow: none !important; filter: grayscale(.4); }
.btn[disabled]::before, .btn[aria-disabled="true"]::before { animation: none; opacity: 0; }
.btn--block { width: 100%; }
.btn--lg { min-height: 58px; font-size: 16px; padding: 0 30px; }
.bolt-ico { animation: flicker 3.6s infinite; }
@keyframes flicker { 0%, 92%, 100% { opacity: 1; } 93% { opacity: .35; } 94% { opacity: 1; } 96% { opacity: .5; } 97% { opacity: 1; } }

/* ------------------------------------------------------------ type */
.kicker { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .28em; text-transform: uppercase; color: var(--p3); }
.kicker::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--p4); box-shadow: 0 0 12px var(--p4); animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.6); opacity: .55; } }
.h1, .h2 { font-family: var(--display); font-weight: 700; letter-spacing: .01em; line-height: 1.08; margin: 12px 0 14px; }
.h1 { font-size: clamp(40px, 7vw, 76px); }
.h2 { font-size: clamp(30px, 4.4vw, 48px); }
.grad {
  background: linear-gradient(100deg, #fff 0%, #d5eeff 30%, #84c8fc 55%, #799cf9 75%, #fff 100%);
  background-size: 220% 100%;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: grad 8s ease-in-out infinite;
  filter: drop-shadow(0 0 22px rgba(85, 175, 247, 0.45));
}
@keyframes grad { 0%, 100% { background-position: 0% 0; } 50% { background-position: 100% 0; } }
.lead { color: var(--muted); font-size: 17px; max-width: 680px; margin: 0; }
.section__head { text-align: center; margin: 0 auto 44px; }
.section__head .lead { margin: 0 auto; }

/* ------------------------------------------------------------ hero */
.hero { padding: 64px 0 40px; }
@media (min-width: 900px) { .hero { padding: 96px 0 56px; } }
.hero__grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 980px) { .hero__grid { grid-template-columns: 1.15fr .85fr; gap: 56px; } }
.hero__title .l1 { display: block; font-size: .42em; letter-spacing: .14em; text-transform: uppercase; color: var(--p3); font-family: var(--font); font-weight: 700; margin-bottom: 8px; }
.hero__text { color: var(--muted); font-size: 18px; max-width: 600px; margin: 0 0 18px; }
.hero__note { display: flex; gap: 10px; align-items: flex-start; color: var(--muted); font-size: 14px; max-width: 600px; padding: 12px 14px; border: 1px solid var(--line-soft); border-radius: 12px; background: rgba(58, 178, 237, 0.07); margin: 0 0 26px; }
.hero__note svg { color: var(--p3); margin-top: 3px; }
.hero__buttons { display: flex; flex-wrap: wrap; gap: 14px; }
@media (max-width: 480px) { .hero__buttons .btn { width: 100%; } }

/* ------------------------------------------------------------ panels */
.panel {
  position: relative; background: linear-gradient(180deg, var(--panel2), var(--panel));
  border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.panel::before {
  content: ""; position: absolute; inset: -1px; border-radius: inherit; pointer-events: none;
  background: linear-gradient(140deg, rgba(121, 156, 249, 0.55), transparent 28%, transparent 72%, rgba(58, 178, 237, 0.55));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; padding: 1px;
}
.panel__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 22px; border-bottom: 1px solid var(--line-soft); }
.panel__title { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .24em; text-transform: uppercase; color: var(--p3); }
.panel__body { padding: 22px; }

.status { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line-soft); background: rgba(255, 255, 255, 0.04); }
.status::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.status--online { color: var(--ok); }
.status--soon { color: var(--p3); }
.status--maintenance { color: var(--warn); }
.status--offline { color: var(--bad); }

.realm { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.realm__icon { width: 52px; height: 52px; border-radius: 14px; flex-shrink: 0; background: radial-gradient(circle at 35% 30%, #d0dffe, #55aff7 45%, #0c375f 100%); box-shadow: 0 0 24px rgba(85, 175, 247, 0.6), inset 0 0 12px rgba(255, 255, 255, 0.35); position: relative; }
.realm__icon::after { content: ""; position: absolute; inset: 14px 18px; background: linear-gradient(180deg, #fff, #d0dffe); clip-path: polygon(55% 0, 15% 55%, 45% 55%, 35% 100%, 85% 40%, 55% 40%); filter: drop-shadow(0 0 4px #fff); }
.realm__name { margin: 0; font-size: 20px; font-weight: 700; }
.realm__sub { margin: 0; font-size: 13px; color: var(--muted); letter-spacing: .06em; }
.realm__text { color: var(--muted); margin: 0 0 16px; }
.perks { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.perks li { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, 0.025); border: 1px solid var(--line-soft); font-weight: 600; font-size: 15px; }
.ico { display: inline-grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; flex-shrink: 0; color: #d0dffe; background: linear-gradient(145deg, rgba(85, 175, 247, 0.30), rgba(29, 107, 149, 0.30)); border: 1px solid var(--line); }

/* strip */
.strip { margin-top: 48px; border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); background: linear-gradient(90deg, rgba(58, 178, 237, 0.06), rgba(121, 156, 249, 0.04), rgba(58, 178, 237, 0.06)); }
.strip__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; }
@media (min-width: 900px) { .strip__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.strip__item { display: flex; align-items: center; gap: 12px; padding: 18px 10px; font-weight: 600; font-size: 14px; color: var(--text); }

/* ------------------------------------------------------------ sections */
.section { padding: 80px 0; }
.section--line { border-top: 1px solid var(--line-soft); }
.features { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.feature {
  position: relative; padding: 24px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line-soft);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease; overflow: hidden;
}
.feature::after { content: ""; position: absolute; inset: auto -30% -60% -30%; height: 120%; background: radial-gradient(closest-side, rgba(85, 175, 247, 0.22), transparent); opacity: 0; transition: opacity .35s; pointer-events: none; }
.feature:hover { transform: translateY(-6px); border-color: rgba(121, 156, 249, 0.55); box-shadow: 0 18px 44px rgba(29, 107, 149, 0.45); }
.feature:hover::after { opacity: 1; }
.feature h3 { margin: 16px 0 8px; font-size: 18px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }
.feature .ico { width: 46px; height: 46px; border-radius: 13px; }

.start { display: grid; gap: 28px; }
@media (min-width: 980px) { .start { grid-template-columns: 1.1fr .9fr; align-items: start; } }
.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.step { display: flex; gap: 16px; padding: 18px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line-soft); }
.step__n { flex-shrink: 0; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-weight: 700; font-size: 18px; color: #fff; background: linear-gradient(135deg, var(--p2), var(--p4)); box-shadow: 0 0 18px rgba(85, 175, 247, 0.55); }
.step h3 { margin: 0 0 4px; font-size: 17px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }
.download .panel__body { display: grid; gap: 12px; }
.dl { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 14px; background: rgba(255, 255, 255, 0.03); border: 1px solid var(--line-soft); color: var(--text); transition: border-color .2s, box-shadow .2s, transform .2s; }
.dl[href]:hover { border-color: rgba(121, 156, 249, 0.6); box-shadow: var(--glow); transform: translateY(-2px); color: #fff; }
.dl[aria-disabled="true"] { cursor: default; opacity: .8; }
.dl__txt { display: flex; flex-direction: column; flex: 1; min-width: 0; }
.dl__txt small { color: var(--muted); font-size: 13px; }
.badge { font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 999px; color: var(--p3); border: 1px solid var(--line); background: rgba(58, 178, 237, 0.12); white-space: nowrap; }
.badge--go { color: #fff; background: linear-gradient(135deg, var(--p2), var(--p1)); border-color: transparent; }
.req { margin: 4px 0 0; color: var(--dim); font-size: 13px; }

.cta { padding: 90px 0 100px; text-align: center; position: relative; }
.cta .lead { margin: 0 auto 28px; }
.cta .hero__buttons { justify-content: center; }

/* reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ------------------------------------------------------------ page head (inner pages) */
.pagehead { padding: 64px 0 28px; text-align: center; }
.pagehead .lead { margin: 0 auto; }

/* ------------------------------------------------------------ coins */
.coins { display: grid; gap: 24px; padding-bottom: 80px; }
@media (min-width: 1000px) { .coins { grid-template-columns: 1.2fr .8fr; align-items: start; } }
.pkgs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 560px) { .pkgs { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (min-width: 1000px) { .pkgs { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.pkg {
  position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 18px 10px 16px; cursor: pointer;
  border-radius: 14px; border: 1px solid var(--line-soft); background: rgba(255, 255, 255, 0.025); color: var(--text);
  transition: transform .2s, border-color .2s, box-shadow .2s, background .2s;
}
.pkg:hover { transform: translateY(-3px); border-color: rgba(121, 156, 249, 0.5); }
.pkg.active { border-color: #ffb53d; background: linear-gradient(160deg, rgba(255, 170, 50, 0.20), rgba(12, 55, 95, 0.30)); box-shadow: 0 0 0 1px rgba(255, 200, 100, 0.55), 0 0 28px rgba(255, 150, 30, 0.38); }
.pkg__price { font-size: 24px; font-weight: 700; }
.pkg__coins { display: inline-flex; align-items: center; gap: 6px; color: var(--gold-text); font-size: 14px; font-weight: 600; }
.pkg__bonus { margin-top: 6px; font-size: 11px; font-weight: 700; letter-spacing: .04em; padding: 3px 8px; border-radius: 999px; color: var(--gold-ink); background: var(--gold); }
.pkg__bonus--none { color: var(--dim); background: none; border: 1px dashed var(--line-soft); }
.coin { display: inline-block; width: 16px; height: 16px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fffbe8 0, #ffe08a 22%, #f5a524 58%, #8a4b00 100%); box-shadow: 0 0 8px rgba(255, 190, 60, 0.75); flex-shrink: 0; }
.coin--lg { width: 40px; height: 40px; }
.custom { margin-top: 18px; display: grid; gap: 14px; }
.custom label { font-size: 12px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--dim); }
.amount { display: flex; align-items: center; border-radius: 12px; border: 1px solid var(--line); background: rgba(0, 0, 0, 0.35); overflow: hidden; }
.amount span { padding: 0 14px; color: var(--p3); font-weight: 700; }
.amount input { flex: 1; min-width: 0; height: 48px; border: 0; background: none; color: #fff; font: 600 17px var(--font); outline: none; }
input[type="range"] { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 999px; background: linear-gradient(90deg, var(--p2), var(--p4)); outline: none; }
input[type="range"]::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(85, 175, 247, 0.5), 0 0 18px rgba(121, 156, 249, 0.9); cursor: pointer; }
input[type="range"]::-moz-range-thumb { width: 22px; height: 22px; border: 0; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(85, 175, 247, 0.5), 0 0 18px rgba(121, 156, 249, 0.9); cursor: pointer; }
.range-ends { display: flex; justify-content: space-between; color: var(--dim); font-size: 13px; }
.tiers { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.tiers span { font-size: 12px; font-weight: 600; padding: 5px 10px; border-radius: 999px; border: 1px solid var(--line-soft); color: var(--muted); }
.tiers b { color: var(--gold-text); }

.summary { position: sticky; top: 92px; }
.total { text-align: center; padding: 22px 16px; border-radius: 14px; background: radial-gradient(circle at 50% 0%, rgba(85, 175, 247, 0.30), rgba(0, 0, 0, 0.30) 70%); border: 1px solid var(--line); }
.total__coins { display: flex; align-items: center; justify-content: center; gap: 12px; font-size: 44px; font-weight: 700; line-height: 1; }
.total__coins small { font-size: 15px; color: var(--muted); font-weight: 600; }
.total__price { margin-top: 10px; font-size: 22px; font-weight: 700; color: var(--gold-text); }
.rows { margin: 18px 0; display: grid; gap: 8px; font-size: 15px; }
.rows div { display: flex; justify-content: space-between; color: var(--muted); }
.rows div b { color: var(--text); }
.rows .rows__bonus { color: #fde68a; }
.rows .rows__sum { padding-top: 10px; border-top: 1px solid var(--line-soft); color: var(--text); font-weight: 700; }
.consent { display: grid; gap: 12px; margin: 18px 0; }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--muted); cursor: pointer; line-height: 1.5; }
.check input { -webkit-appearance: none; appearance: none; flex-shrink: 0; width: 20px; height: 20px; margin: 1px 0 0; border-radius: 6px; border: 1.5px solid rgba(181, 239, 253, 0.55); background: rgba(0, 0, 0, 0.35); cursor: pointer; display: grid; place-items: center; transition: background .2s, box-shadow .2s, border-color .2s; }
.check input:checked { background: linear-gradient(135deg, var(--p2), var(--p4)); border-color: transparent; box-shadow: 0 0 12px rgba(121, 156, 249, 0.7); }
.check input:checked::after { content: ""; width: 10px; height: 6px; border-left: 2px solid #fff; border-bottom: 2px solid #fff; transform: translateY(-1px) rotate(-45deg); }
.check a { color: #d0dffe; text-decoration: underline; text-underline-offset: 3px; }
.paynote { display: flex; gap: 8px; align-items: center; justify-content: center; margin: 12px 0 0; color: var(--dim); font-size: 13px; }
.howto { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.howto li { display: flex; gap: 14px; align-items: flex-start; }
.howto .step__n { width: 34px; height: 34px; font-size: 15px; border-radius: 10px; }
.howto strong { display: block; }
.howto p { margin: 2px 0 0; color: var(--muted); font-size: 14px; }
.fineprint { color: var(--dim); font-size: 13px; margin: 14px 0 0; }
.grow { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); margin-top: 22px; }
.grow div { display: flex; gap: 12px; align-items: center; padding: 14px; border-radius: 14px; background: rgba(255, 255, 255, 0.025); border: 1px solid var(--line-soft); font-weight: 600; font-size: 14px; }

/* modal */
.overlay { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; background: rgba(1, 4, 6, 0.78); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.overlay[hidden] { display: none; }
.modal { width: 100%; max-width: 480px; max-height: calc(100vh - 32px); overflow: auto; animation: pop .25s ease; }
@keyframes pop { from { transform: translateY(12px) scale(.97); opacity: 0; } to { transform: none; opacity: 1; } }
.modal__actions { display: grid; gap: 10px; margin-top: 18px; }
@media (min-width: 480px) { .modal__actions { grid-template-columns: 1fr 1.4fr; } }

/* ------------------------------------------------------------ support / legal */
.faq { display: grid; gap: 12px; max-width: 860px; margin: 0 auto; }
.faq details { border-radius: 14px; background: var(--panel); border: 1px solid var(--line-soft); transition: border-color .2s; }
.faq details[open] { border-color: var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 18px 20px; font-weight: 700; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--p3); font-size: 22px; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 0; padding: 0 20px 18px; color: var(--muted); }
.cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); max-width: 860px; margin: 0 auto 40px; }
.card { padding: 22px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--line-soft); }
.card h3 { margin: 14px 0 6px; font-size: 17px; }
.card p { margin: 0 0 14px; color: var(--muted); font-size: 15px; }

.legal { max-width: 860px; margin: 0 auto; padding-bottom: 80px; }
.legal .panel__body { padding: 26px; }
@media (min-width: 640px) { .legal .panel__body { padding: 34px 40px; } }
.legal h2 { font-family: var(--font); font-size: 19px; margin: 30px 0 10px; color: #fff; }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { color: var(--muted); }
.legal ul { padding-left: 20px; }
.legal li { margin: 6px 0; }
.legal strong { color: var(--text); }
.legal .updated { font-size: 13px; color: var(--dim); margin: 0 0 22px; }
.operator { padding: 14px 16px; border-radius: 12px; border: 1px solid var(--line); background: rgba(58, 178, 237, 0.08); color: var(--text); font-size: 15px; margin: 0 0 24px; }

/* ------------------------------------------------------------ footer */
.footer { position: relative; border-top: 1px solid var(--line-soft); background: linear-gradient(180deg, rgba(3, 6, 8, 0.6), #020507); padding: 56px 0 28px; }
.footer__grid { display: grid; gap: 30px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (min-width: 900px) { .footer__grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }
.footer__brand { grid-column: 1 / -1; }
@media (min-width: 900px) { .footer__brand { grid-column: auto; } }
.footer__brand img { width: 120px; height: auto; margin-bottom: 12px; filter: drop-shadow(0 0 12px rgba(255, 122, 26, 0.35)); }
.footer__brand p { color: var(--muted); font-size: 14px; max-width: 340px; margin: 0; }
.footer h4 { margin: 4px 0 12px; font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--p3); }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer ul a { color: var(--muted); font-size: 14px; }
.footer ul a:hover { color: #fff; }
.footer__legal { margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line-soft); display: grid; gap: 10px; }
.footer__legal p { margin: 0; color: var(--dim); font-size: 13px; }
.copy { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; color: var(--dim); font-size: 13px; }
.copy nav { display: flex; gap: 16px; flex-wrap: wrap; }
.copy a { color: var(--dim); }
.copy a:hover { color: #fff; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ------------------------------------------------------------ terms of purchase modal */
.modal--terms { max-width: 720px; display: flex; flex-direction: column; overflow: hidden; padding: 0; }
.modal__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; border-bottom: 1px solid var(--line-soft); }
.modal__title { margin: 0; font-family: var(--display); font-size: clamp(22px, 3.2vw, 28px); font-weight: 700; letter-spacing: .02em; }
.modal__x { flex-shrink: 0; width: 40px; height: 40px; border-radius: 10px; border: 1px solid var(--line-soft); background: rgba(255, 255, 255, 0.03); color: var(--muted); font-size: 22px; line-height: 1; cursor: pointer; transition: color .2s, border-color .2s, box-shadow .2s; }
.modal__x:hover { color: #fff; border-color: rgba(121, 156, 249, 0.6); box-shadow: var(--glow); }
.modal__body { flex: 1 1 auto; min-height: 0; overflow-y: auto; padding: 20px 24px 8px; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(85, 175, 247, 0.7) rgba(255, 255, 255, 0.04); }
.modal__body::-webkit-scrollbar { width: 8px; }
.modal__body::-webkit-scrollbar-track { background: rgba(255, 255, 255, 0.04); border-radius: 8px; }
.modal__body::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--p1), var(--p2)); border-radius: 8px; }
.modal__foot { padding: 16px 24px 22px; border-top: 1px solid var(--line-soft); background: linear-gradient(180deg, rgba(10, 21, 26, 0.6), rgba(7, 13, 16, 0.95)); }
.modal__foot .consent { margin: 0 0 14px; }
.modal__foot .modal__actions { margin-top: 0; }
.pterms h3 { margin: 18px 0 6px; font-family: var(--display); font-size: 18px; font-weight: 700; letter-spacing: .03em; color: #d5eeff; }
.pterms h3:first-child { margin-top: 0; }
.pterms p { margin: 0; color: var(--muted); font-size: 15px; }
.pterms .pterms__end { margin: 20px 0 12px; padding-top: 14px; border-top: 1px solid var(--line-soft); font-style: italic; color: var(--text); }
.pterms .pterms__links { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 0 0 10px; font-size: 14px; }
.pterms .pterms__links a { text-decoration: underline; text-underline-offset: 3px; }
.scrollhint { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: 13px; font-weight: 600; color: var(--p3); }
.scrollhint__bar { flex: 1; height: 4px; border-radius: 4px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.scrollhint__bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--p2), var(--p4)); box-shadow: 0 0 10px rgba(121, 156, 249, 0.8); transition: width .15s; }
.scrollhint.is-done { color: var(--ok); }
.scrollhint .done, .scrollhint.is-done .todo { display: none; }
.scrollhint.is-done .done { display: inline; }
.scrollhint.is-done .scrollhint__bar { display: none; }
.check.is-locked { opacity: .45; cursor: not-allowed; }
.check.is-locked input { cursor: not-allowed; }
.paynext { display: grid; gap: 12px; }
.paynext p { margin: 0; color: var(--muted); }
.paynext .big { color: var(--text); font-size: 17px; }
.paynext ol { margin: 0; padding-left: 20px; color: var(--muted); }
.paynext ol li { margin: 4px 0; }

/* ------------------------------------------------------------ legal extras */
.legal .toc { margin: 0 0 26px; padding: 16px 18px; border-radius: 12px; border: 1px solid var(--line-soft); background: rgba(255, 255, 255, 0.02); }
.legal .toc h2 { margin: 0 0 8px; font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: var(--p3); }
.legal .toc ol { margin: 0; padding-left: 20px; columns: 2 260px; column-gap: 28px; }
.legal .toc li { margin: 3px 0; font-size: 14px; break-inside: avoid; }
.legal .toc a { color: var(--muted); }
.legal .toc a:hover { color: #fff; }
.legal .keybox { padding: 16px 18px; border-radius: 12px; border: 1px solid rgba(121, 156, 249, 0.45); background: linear-gradient(160deg, rgba(85, 175, 247, 0.16), rgba(12, 55, 95, 0.12)); color: var(--text); margin: 0 0 24px; }
.legal .keybox p { color: var(--text); margin: 0; }
.legal .formbox { padding: 16px 18px; border-radius: 12px; border: 1px dashed var(--line); background: rgba(0, 0, 0, 0.25); margin: 12px 0; }
.legal .formbox p { margin: 4px 0; }
.legal section { scroll-margin-top: 96px; }
.legal .operator p { margin: 2px 0; color: var(--text); }
mark.ph { background: rgba(251, 191, 36, 0.16); color: #fde68a; border: 1px dashed rgba(251, 191, 36, 0.6); border-radius: 6px; padding: 0 5px; }

.modal--terms { max-height: calc(100vh - 24px); max-height: calc(100dvh - 24px); }
.modal--terms .modal__actions { grid-template-columns: minmax(96px, .65fr) 1.35fr; }
.modal--terms .btn { white-space: normal; text-align: center; line-height: 1.25; padding: 0 16px; }
@media (max-width: 480px) {
  .modal__head { padding: 14px 16px; }
  .modal__body { padding: 16px 16px 6px; }
  .modal__foot { padding: 12px 16px 16px; }
  .modal--terms .check { font-size: 13px; gap: 10px; }
  .modal__foot .consent { gap: 9px; margin-bottom: 12px; }
  .scrollhint { margin-bottom: 9px; }
}

/* ------------------------------------------------------------ gold accent (logo colours): Buy Coins stands out */
.btn--gold {
  color: var(--gold-ink); background: var(--gold); text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
  box-shadow: 0 10px 30px rgba(255, 150, 30, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.btn--gold::before {
  content: ""; position: absolute; inset: -2px; z-index: -1; border-radius: 15px; padding: 2px;
  background: conic-gradient(from var(--ang, 0deg), transparent 0 62%, #fff3c4 72%, #fff 75%, #ffcf6b 78%, transparent 88% 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spin 3.2s linear infinite; opacity: .95;
}
.btn--gold::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; overflow: hidden;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.55) 45%, transparent 60%);
  background-size: 250% 100%; background-position: 130% 0; transition: background-position .7s ease;
}
.btn--gold:hover { color: var(--gold-ink); transform: translateY(-2px); filter: brightness(1.05); box-shadow: 0 14px 42px rgba(255, 160, 40, 0.65), 0 0 0 1px rgba(255, 226, 154, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.65); }
.btn--gold:hover::after { background-position: -40% 0; }
.btn--gold:active { transform: translateY(0) scale(.98); }
.btn--gold .bolt-ico { color: #4a2300; }
.mobile-nav a.mobile-nav__coins { color: var(--gold-ink); background: var(--gold); font-weight: 700; display: flex; align-items: center; gap: 8px; }
.topbar__coins {
  display: inline-flex; align-items: center; gap: 6px; height: 40px; padding: 0 12px; border-radius: 10px;
  font-size: 13px; font-weight: 700; color: var(--gold-ink); background: var(--gold);
  box-shadow: 0 6px 18px rgba(255, 150, 30, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.55);
}
.topbar__coins:hover { color: var(--gold-ink); filter: brightness(1.06); }
.topbar__coins .coin { box-shadow: 0 0 0 1.5px rgba(70, 32, 0, 0.55); }
@media (min-width: 900px) { .topbar__coins { display: none; } }
@media (max-width: 370px) { .topbar__coins span { display: none; } .topbar__coins { padding: 0 11px; } }
.btn--gold .coin { width: 18px; height: 18px; box-shadow: 0 0 0 1.5px rgba(70, 32, 0, 0.55), 0 0 6px rgba(255, 255, 255, 0.6); }

/* ------------------------------------------------------------ coloured buttons: every main action has its own colour */
.btn--play {
  color: #032313; background: linear-gradient(135deg, #b9f8d3 0%, #34d399 42%, #10b981 100%); text-shadow: 0 1px 0 rgba(255, 255, 255, 0.35);
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.42), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.btn--play::before {
  content: ""; position: absolute; inset: -2px; z-index: -1; border-radius: 15px; padding: 2px;
  background: conic-gradient(from var(--ang, 0deg), transparent 0 62%, #d1fae5 72%, #fff 75%, #6ee7b7 78%, transparent 88% 100%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spin 3.2s linear infinite; opacity: .95;
}
.btn--play::after {
  content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; overflow: hidden;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, 0.55) 45%, transparent 60%);
  background-size: 250% 100%; background-position: 130% 0; transition: background-position .7s ease;
}
.btn--play:hover { color: #032313; transform: translateY(-2px); filter: brightness(1.05); box-shadow: 0 14px 42px rgba(16, 185, 129, 0.62), 0 0 0 1px rgba(167, 243, 208, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.65); }
.btn--play:hover::after { background-position: -40% 0; }
.btn--play:active { transform: translateY(0) scale(.98); }
.btn--play .bolt-ico { color: #064e3b; }
.btn--discord { color: #fff; }
.btn--discord:hover { color: #fff; }

/* header pills */
.nav a.nav__pill { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; border: 0; transition: transform .2s, box-shadow .25s, filter .25s; }
.nav a.nav__pill::after { display: none; }
.nav a.nav__pill:hover { transform: translateY(-1px); filter: brightness(1.07); }
.nav a.nav__pill--play { color: #032313; background: linear-gradient(135deg, #b9f8d3, #34d399 45%, #10b981); box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.55); }
.nav a.nav__pill--play:hover { color: #032313; box-shadow: 0 10px 28px rgba(16, 185, 129, 0.6); }
.nav a.nav__pill--discord { color: #fff; padding: 9px 11px; background: linear-gradient(135deg, #4f46e5, #5865f2); box-shadow: 0 6px 20px rgba(88, 101, 242, 0.38); }
.nav a.nav__pill--discord:hover { color: #fff; box-shadow: 0 10px 28px rgba(88, 101, 242, 0.6); }
.brand__tag { display: none !important; }
@media (min-width: 1120px) { .brand__tag { display: inline-block !important; } }
@media (max-width: 1023px) { .nav a.nav__pill--discord { display: none; } }
.mobile-nav a.mobile-nav__play { color: #032313; background: linear-gradient(135deg, #b9f8d3, #34d399 45%, #10b981); font-weight: 700; display: flex; align-items: center; gap: 8px; }
.mobile-nav a.mobile-nav__discord { color: #fff; background: linear-gradient(135deg, #4f46e5, #5865f2); font-weight: 700; display: flex; align-items: center; gap: 8px; }
.card .btn { margin-top: 2px; }

/* ------------------------------------------------------------ PayPal checkout (test / live) */
.testbar { margin: 0 0 18px; padding: 10px 14px; border-radius: 12px; font-size: 14px; color: #fde68a; border: 1px dashed rgba(251, 191, 36, 0.6);
  background: repeating-linear-gradient(135deg, rgba(251, 191, 36, 0.10) 0 12px, rgba(251, 191, 36, 0.04) 12px 24px); }
.testbar b { color: #fbbf24; letter-spacing: .06em; }
.ppbox { min-height: 50px; margin: 4px 0 6px; padding: 14px; border-radius: 14px; background: #fff; }
.ppbox.is-loading { background: rgba(255, 255, 255, 0.06) linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.10), transparent) 0 0 / 200% 100%; animation: load 1.2s linear infinite; }
.ppbox:empty:not(.is-loading) { display: none; }
@keyframes load { to { background-position: -200% 0; } }
.ppmsg { margin: 0; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--line-soft); background: rgba(255, 255, 255, 0.03); color: var(--muted); }
.ppmsg p { margin: 4px 0; }
.ppmsg--ok { border-color: rgba(74, 222, 128, 0.55); background: rgba(74, 222, 128, 0.08); }
.ppmsg--ok .big { color: #bbf7d0; }
.ppmsg--bad { border-color: rgba(248, 113, 113, 0.55); background: rgba(248, 113, 113, 0.08); color: #fecaca; }
#nextFoot .modal__actions { grid-template-columns: 1fr; }
