:root {
  color-scheme: dark;
  --bg: #070c1c;
  --bg-2: #0a1126;
  --panel: #0e1832;
  --panel-2: #12203f;
  --border: #1c2b4f;
  --text: #eef3ff;
  --muted: #a3b1cf;
  --faint: #6f7fa3;
  --gold: #ffc72c;
  --gold-hover: #ffd75e;
  --gold-dim: rgba(255, 199, 44, .12);
  --blue: #3b9bff;
  --blue-dim: rgba(59, 155, 255, .14);
  --on-gold: #1a1300;
  --radius: 14px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Poppins, system-ui, sans-serif; background: var(--bg); color: var(--text); line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { line-height: 1.15; margin: 0; }
p { margin: 0; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.icon { width: 18px; height: 18px; flex: none; }
.muted { color: var(--faint); }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; height: 46px; padding: 0 22px; border-radius: 999px; background: var(--gold); color: var(--on-gold); font-weight: 600; font-size: 15px; border: 1px solid var(--gold); transition: background .15s, transform .15s, box-shadow .15s; white-space: nowrap; }
.btn:hover { background: var(--gold-hover); transform: translateY(-1px); box-shadow: 0 8px 24px rgba(255, 199, 44, .28); }
.btn.ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn.ghost:hover { border-color: var(--blue); color: var(--blue); box-shadow: none; }
.btn.sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn.lg { height: 54px; padding: 0 30px; font-size: 16px; }

/* top bar */
.nav { position: sticky; top: 0; z-index: 10; background: rgba(7, 12, 28, .82); backdrop-filter: blur(12px); border-bottom: 1px solid var(--border); }
.nav-inner { display: flex; align-items: center; gap: 24px; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; }
.nav-links { display: flex; gap: 22px; margin-left: auto; font-size: 14px; color: var(--muted); }
.nav-links a:hover, .lang:hover { color: var(--text); }
.nav-actions { display: flex; align-items: center; gap: 14px; }
.lang { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted); }
.lang .icon { width: 16px; height: 16px; }

/* hero */
.hero { position: relative; overflow: hidden; padding: 84px 0 72px; }
.hero::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(var(--border) 1px, transparent 1px), linear-gradient(90deg, var(--border) 1px, transparent 1px); background-size: 40px 40px; opacity: .35; mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%); }
.hero::after { content: ''; position: absolute; width: 640px; height: 640px; right: -160px; top: -220px; background: radial-gradient(circle, rgba(59, 155, 255, .22), transparent 65%); pointer-events: none; }
.hero-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px; border-radius: 999px; background: var(--blue-dim); color: var(--blue); font-size: 13px; font-weight: 600; margin-bottom: 20px; }
.eyebrow .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 10px var(--blue); animation: pulse 1.6s ease-in-out infinite; }
h1 { font-size: clamp(34px, 5.4vw, 56px); font-weight: 800; letter-spacing: -.02em; }
h1 span { color: var(--gold); }
.lead { margin-top: 20px; font-size: 18px; color: var(--muted); max-width: 560px; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

/* the logo, floating in a blue glow */
.hero-logo { position: relative; display: grid; place-items: center; }
.hero-logo::before { content: ''; position: absolute; width: 78%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(59, 155, 255, .35), rgba(255, 199, 44, .08) 55%, transparent 70%); filter: blur(10px); }
.hero-logo img { position: relative; width: 100%; max-width: 440px; height: auto; filter: drop-shadow(0 24px 40px rgba(0, 0, 0, .5)); animation: float 6s ease-in-out infinite; }

/* strip under the hero */
.strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--bg-2); }
.strip-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 28px; padding-top: 18px; padding-bottom: 18px; font-size: 14px; color: var(--muted); font-weight: 500; }
.strip-inner span { display: inline-flex; align-items: center; gap: 8px; }
.strip-inner .icon { color: var(--gold); }

/* sections */
.section { padding: 88px 0; }
.section.alt { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
h2 { font-size: clamp(28px, 3.6vw, 38px); font-weight: 700; letter-spacing: -.01em; text-align: center; }
.section-lead { text-align: center; color: var(--muted); margin: 12px auto 0; max-width: 560px; }
.grid { display: grid; gap: 18px; margin-top: 44px; }
.features { grid-template-columns: repeat(3, 1fr); }
.card { padding: 26px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--border); transition: border-color .15s, transform .15s; }
.card:hover { border-color: rgba(59, 155, 255, .5); transform: translateY(-2px); }
.card-icon { display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 11px; background: var(--blue-dim); color: var(--blue); margin-bottom: 16px; }
.card-icon .icon { width: 22px; height: 22px; }
.card h3 { font-size: 18px; font-weight: 600; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; }

/* steps */
.steps { list-style: none; padding: 0; margin: 44px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: none; }
.steps li { position: relative; padding: 24px; border-radius: var(--radius); background: var(--panel); border: 1px solid var(--border); }
.step-n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--gold); color: var(--on-gold); font-weight: 700; margin-bottom: 14px; }
.steps h3 { font-size: 17px; font-weight: 600; margin-bottom: 6px; }
.steps p { color: var(--muted); font-size: 14.5px; }

/* prices */
.plans { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
.plan { position: relative; display: flex; flex-direction: column; padding: 30px 26px; border-radius: 18px; background: var(--panel); border: 1px solid var(--border); }
.plan.popular { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold), 0 20px 60px rgba(255, 199, 44, .12); }
.badge { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); padding: 3px 12px; border-radius: 999px; background: var(--gold); color: var(--on-gold); font-size: 12px; font-weight: 700; white-space: nowrap; }
.plan h3 { font-size: 20px; font-weight: 700; }
.plan-accounts { color: var(--muted); font-size: 14px; margin-top: 2px; }
.price { display: flex; align-items: baseline; gap: 6px; margin: 18px 0 20px; }
.price strong { font-size: 40px; font-weight: 800; letter-spacing: -.02em; }
.price span { color: var(--faint); }
.plan ul { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; font-size: 14.5px; }
.plan li { display: flex; gap: 10px; align-items: center; }
.plan li .icon { color: var(--blue); width: 17px; height: 17px; }
.plan .btn { margin-top: auto; }

/* faq */
.faq { margin-top: 36px; display: grid; gap: 10px; }
details { border-radius: 12px; background: var(--panel); border: 1px solid var(--border); }
details[open] { border-color: rgba(59, 155, 255, .45); }
summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 20px; cursor: pointer; font-weight: 600; list-style: none; }
summary::-webkit-details-marker { display: none; }
summary .icon { color: var(--faint); transition: transform .2s; }
details[open] summary .icon { transform: rotate(180deg); color: var(--blue); }
details p { padding: 0 20px 18px; color: var(--muted); }

/* call to action */
.cta { position: relative; overflow: hidden; }
.cta::before { content: ''; position: absolute; left: 50%; top: 50%; width: 720px; height: 420px; transform: translate(-50%, -50%); background: radial-gradient(ellipse, rgba(59, 155, 255, .2), transparent 65%); pointer-events: none; }
.cta-inner { position: relative; display: flex; flex-direction: column; align-items: center; gap: 4px; }
.cta .btn { margin-top: 28px; }
.login-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; color: var(--muted); font-size: 14px; }
.login-link:hover { color: var(--gold); }
.login-link .icon { width: 15px; height: 15px; }

.footer { border-top: 1px solid var(--border); padding: 26px 0; font-size: 14px; color: var(--muted); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; }
.footer a:hover { color: var(--gold); }

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }

@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 44px; }
  .hero-logo { order: -1; }
  .hero-logo img { max-width: 300px; }
  .features, .plans { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .nav-links { display: none; }
  .nav-actions { margin-left: auto; }
}
@media (max-width: 620px) {
  .wrap { padding: 0 16px; }
  .hero { padding: 52px 0 48px; }
  .lead { font-size: 16px; }
  .hero-logo img { max-width: 230px; }
  .features, .plans, .steps { grid-template-columns: 1fr; }
  .section { padding: 64px 0; }
  .nav-actions .btn span { display: none; }
  .nav-actions .btn { width: 38px; padding: 0; }
  .strip-inner { justify-content: flex-start; }
  .plans { gap: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

/* "Under construction" page */
.soon { min-height: 100vh; display: grid; place-items: center; background: radial-gradient(ellipse 60% 50% at 50% 35%, rgba(59, 155, 255, .16), transparent 70%), var(--bg); }
.soon-inner { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0; padding: 40px 20px 56px; max-width: 640px; }
.soon .hero-logo img { max-width: 300px; }
.soon .eyebrow { margin: 24px 0 18px; }
.soon .lead { margin-top: 14px; }
.soon .lead.da { margin-top: 6px; font-size: 15px; color: var(--faint); }
.soon .btn { margin-top: 30px; }
@media (max-width: 620px) { .soon .hero-logo img { max-width: 210px; } }

/* ---------- shop pages: log in, order, account (portal.js) ---------- */
.portal-body { min-height: 100vh; display: flex; flex-direction: column; }
.portal { flex: 1; padding: 40px 0 72px; background: radial-gradient(ellipse 60% 40% at 50% 0%, rgba(59, 155, 255, .12), transparent 70%); }
.portal-wait { color: var(--muted); text-align: center; padding: 60px 0; }
.portal-title { font-size: clamp(26px, 3.4vw, 34px); font-weight: 800; }
.portal-sub { font-size: 20px; text-align: left; margin: 30px 0 14px; }
.portal-card { background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; }
.portal-card h2 { font-size: 18px; text-align: left; margin-bottom: 14px; }
.portal-msg { max-width: 520px; margin: 30px auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 12px; }
.portal-msg h2 { text-align: center; margin: 0; }
.portal-msg .icon { width: 28px; height: 28px; color: var(--faint); }
.small { font-size: 13px; }
.faint { color: var(--faint); }
.portal .muted { color: var(--muted); }
.grow { flex: 1; min-width: 0; }
.form-error { color: #ff8080; background: rgba(255, 99, 99, .1); border: 1px solid rgba(255, 99, 99, .3); border-radius: 10px; padding: 10px 12px; font-size: 14px; }
.form-error[hidden] { display: none; }
.nav-avatar { width: 22px; height: 22px; border-radius: 50%; }

/* log in */
.login-card { max-width: 420px; margin: 20px auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 34px 28px; }
.login-card h1 { font-size: 30px; font-weight: 800; }
.login-logo { width: 130px; height: auto; margin-bottom: 4px; filter: drop-shadow(0 12px 24px rgba(0, 0, 0, .45)); }
.discord-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%; height: 50px; border-radius: 999px; background: #5865f2; color: #fff; font-weight: 600; font-size: 16px; transition: background .15s, transform .15s; }
.discord-btn:hover { background: #4752c4; transform: translateY(-1px); }
.discord-btn .icon { width: 22px; height: 22px; }

/* order */
.order-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 18px; align-items: start; margin-top: 22px; }
.order-main { display: flex; flex-direction: column; gap: 18px; }
.svc-pick { display: grid; gap: 10px; }
.svc { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--border); background: var(--panel-2); cursor: pointer; transition: border-color .15s; }
.svc:hover { border-color: rgba(59, 155, 255, .5); }
.svc.on { border-color: var(--gold); background: var(--gold-dim); }
.svc input { accent-color: var(--gold); width: 18px; height: 18px; flex: none; }
.svc-text { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.svc-text span { color: var(--muted); font-size: 13.5px; }
.svc-price { font-weight: 700; font-size: 17px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.svc-price small { color: var(--faint); font-weight: 500; font-size: 13px; margin-left: 4px; }
.days-row { display: flex; align-items: center; gap: 16px; }
.days-row input[type=range] { flex: 1; accent-color: var(--gold); }
.days-input { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); }
.portal .days-input input { width: 84px; text-align: center; font-weight: 700; font-size: 16px; }
.quick { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.chip { height: 34px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--border); background: var(--panel-2); color: var(--text); font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; }
.chip:hover { border-color: var(--blue); color: var(--blue); }
.discount-note { display: flex; align-items: center; gap: 8px; margin-top: 14px; color: var(--muted); font-size: 14px; }
.discount-note .icon { color: var(--gold); width: 16px; height: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field:last-child { margin-bottom: 0; }
.field > span { font-size: 13.5px; color: var(--muted); font-weight: 500; }
.field small { color: var(--faint); font-size: 12.5px; }
.portal input:not([type=radio]):not([type=range]), .portal textarea { width: 100%; height: 44px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--border); background: var(--bg-2); color: var(--text); font: inherit; font-size: 15px; outline: none; transition: border-color .15s; }
.portal textarea { height: auto; padding: 10px 14px; resize: vertical; }
.portal input:focus, .portal textarea:focus { border-color: var(--blue); }
.price-box { position: sticky; top: 86px; display: flex; flex-direction: column; gap: 14px; }
.price-box h2 { margin: 0; }
.price-lines { display: grid; gap: 8px; font-size: 14.5px; }
.price-lines div { display: flex; justify-content: space-between; gap: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }
.price-lines .discount { color: var(--gold); font-weight: 600; }
.price-total { display: flex; justify-content: space-between; align-items: baseline; padding-top: 14px; border-top: 1px solid var(--border); }
.price-total strong { font-size: 32px; font-weight: 800; font-variant-numeric: tabular-nums; }
.price-hint { display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 10px; background: var(--gold-dim); color: var(--gold); font-size: 13.5px; font-weight: 500; }
.price-hint .icon { width: 16px; height: 16px; }
.btn.submit { width: 100%; }
.btn:disabled { opacity: .6; cursor: default; transform: none; box-shadow: none; }
.price-steps { margin: 0; padding-left: 20px; display: grid; gap: 4px; color: var(--muted); font-size: 13.5px; }

/* account */
.account-head { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.account-avatar { width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--border); }
.orders { display: flex; flex-direction: column; gap: 14px; }
.order { display: flex; flex-direction: column; gap: 14px; }
.order-top { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.order-top h2 { margin: 0; }
.order-top .pill { margin-left: auto; }
.pill { display: inline-flex; align-items: center; padding: 3px 12px; border-radius: 999px; font-size: 12.5px; font-weight: 600; background: rgba(255, 255, 255, .06); color: var(--muted); }
.pill.pending { background: var(--gold-dim); color: var(--gold); }
.pill.accepted { background: var(--blue-dim); color: var(--blue); }
.pill.active { background: rgba(31, 209, 122, .14); color: #34d27f; }
.pill.rejected { background: rgba(255, 99, 99, .12); color: #ff8080; }
.order-note { display: flex; gap: 10px; align-items: flex-start; padding: 12px 14px; border-radius: 10px; background: var(--panel-2); font-size: 14px; }
.order-note .icon { color: var(--blue); width: 17px; height: 17px; margin-top: 2px; }
.order-row { display: flex; align-items: center; gap: 12px; justify-content: space-between; flex-wrap: wrap; }
.btn.danger { color: #ff8080; border-color: rgba(255, 99, 99, .35); }
.btn.danger:hover { color: #ff8080; border-color: #ff8080; }
.pay-box { display: flex; align-items: center; justify-content: space-between; gap: 14px; flex-wrap: wrap; padding: 14px 16px; border-radius: 12px; border: 1px solid rgba(59, 155, 255, .4); background: var(--blue-dim); }
.pay-cmd { display: flex; align-items: center; gap: 8px; }
.pay-cmd code { padding: 7px 12px; border-radius: 8px; background: var(--bg-2); font-size: 14px; }
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; }
.stat { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px; border-radius: 12px; border: 1px solid var(--border); background: var(--panel-2); }
.stat > span { color: var(--muted); font-size: 13px; }
.stat strong { font-size: 24px; font-weight: 800; }
.stat strong.earn { color: var(--gold); }
.stat small { color: var(--faint); font-size: 12.5px; }
.progress { height: 6px; border-radius: 999px; background: var(--panel-2); overflow: hidden; }
.progress span { display: block; height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--blue), var(--gold)); }
.bots { display: flex; flex-wrap: wrap; gap: 8px; }
.bot { display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--border); background: var(--panel-2); font-size: 14px; font-weight: 600; }
.bot i { width: 8px; height: 8px; border-radius: 50%; background: var(--faint); }
.bot.on i { background: #34d27f; box-shadow: 0 0 8px #34d27f; }
.bot small { color: var(--faint); font-weight: 500; }

/* front page: discounts over the prices */
.discounts { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 20px; margin-top: 14px; color: var(--muted); font-size: 14px; }
.discounts span { display: inline-flex; align-items: center; gap: 6px; }
.discounts .icon { width: 16px; height: 16px; color: var(--gold); }
.price-wait { font-size: 16px !important; color: var(--faint); font-weight: 500 !important; }

@media (max-width: 900px) {
  .order-grid { grid-template-columns: 1fr; }
  .price-box { position: static; }
}
@media (max-width: 620px) {
  .portal { padding: 26px 0 56px; }
  .portal-card { padding: 18px 16px; }
  .account-head .btn { flex: 1; }
  .account-head .grow { flex: 1 1 calc(100% - 72px); }
  .stats { grid-template-columns: 1fr 1fr; }
  .svc { padding: 12px; gap: 10px; }
  .pay-cmd { width: 100%; }
  .pay-cmd code { flex: 1; overflow-x: auto; white-space: nowrap; }
}

/* log in steps (Discord, then the Minecraft name), the payout line, changing the name */
.login-steps { list-style: none; padding: 0; margin: 0; display: flex; gap: 18px; justify-content: center; font-size: 13px; color: var(--faint); font-weight: 600; }
.login-steps li { display: inline-flex; align-items: center; gap: 7px; }
.login-steps span { display: inline-grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--border); font-size: 12px; }
.login-steps li.on { color: var(--gold); }
.login-steps li.on span { background: var(--gold); border-color: var(--gold); color: var(--on-gold); }
.login-steps li.done { color: var(--muted); }
.login-steps li.done span { background: var(--blue-dim); border-color: var(--blue); color: var(--blue); }
.login-card input[data-mc] { text-align: center; font-size: 17px; font-weight: 600; height: 48px; }
.payout { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 10px; background: var(--panel-2); font-size: 14.5px; margin-bottom: 14px; }
.payout .icon { color: var(--blue); width: 17px; height: 17px; }
.payout span { flex: 1; }
.payout a { color: var(--blue); font-weight: 600; font-size: 13.5px; }
.payout a:hover { color: var(--gold); }
.link-btn { display: inline-flex; align-items: center; gap: 4px; padding: 0; border: 0; background: none; color: var(--blue); font: inherit; font-weight: 600; cursor: pointer; }
.link-btn:hover { color: var(--gold); }
.link-btn .icon { width: 14px; height: 14px; }
.mc-edit { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; max-width: 460px; }
.mc-edit[hidden] { display: none; }
.portal .mc-edit input { flex: 1; min-width: 140px; height: 38px; }
.mc-edit .form-error { width: 100%; }
