:root {
  --bg: #08070d;
  --bg-soft: #10131a;
  --panel: #171920;
  --panel-soft: #1d2029;
  --text: #f7f5ff;
  --muted: #b9b2c8;
  --line: rgba(255, 255, 255, 0.13);
  --green: #8cf26d;
  --lime: #d7ff85;
  --violet: #a254ff;
  --gold: #f5c762;
  --danger: #ffb1b1;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); overflow-x: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; }
button, input { font: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin-top: 0; }
h2 { margin-bottom: 18px; font-size: clamp(2rem, 4.8vw, 4rem); line-height: 1.03; }
p { line-height: 1.65; }

.section-inner { width: min(1180px, calc(100% - 36px)); margin: 0 auto; }
.section-kicker, .eyebrow {
  margin-bottom: 12px;
  color: var(--green);
  font-size: .8rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.section-heading { max-width: 820px; margin-bottom: 38px; }
.section-heading p { color: var(--muted); }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
  padding: 14px clamp(18px, 4vw, 56px);
  background: rgba(8, 7, 13, .58);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: background 180ms ease, border-color 180ms ease;
}
.site-header.is-scrolled { background: rgba(8, 7, 13, .9); border-color: var(--line); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 900; }
.brand img { width: 38px; height: 38px; object-fit: contain; }
.nav-links { display: flex; gap: clamp(12px, 2.4vw, 28px); color: var(--muted); font-size: .94rem; font-weight: 700; }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--text); }

.copy-chip, .primary-button, .secondary-button {
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  font-weight: 850;
}
.copy-chip { display: flex; align-items: center; gap: 9px; padding: 0 14px; color: var(--text); background: rgba(255, 255, 255, .08); border: 1px solid var(--line); }
.copy-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 16px rgba(140, 242, 109, .7); }
.primary-button, .secondary-button { display: inline-flex; align-items: center; justify-content: center; min-width: 152px; padding: 0 20px; text-decoration: none; }
.primary-button { color: #10170c; background: linear-gradient(135deg, var(--green), var(--lime)); box-shadow: 0 16px 38px rgba(140, 242, 109, .16); }
.secondary-button { color: var(--text); background: rgba(255, 255, 255, .08); border: 1px solid var(--line); }
.primary-button:disabled { cursor: wait; opacity: .62; }

.hero { position: relative; min-height: 88svh; display: grid; align-items: center; overflow: hidden; isolation: isolate; }
.hero-media, .hero-shade { position: absolute; inset: 0; z-index: -2; }
.hero-media { background: url("assets/arena-sunshaft.png") center / cover; transform: scale(1.03); }
.hero-shade {
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 7, 13, .96), rgba(8, 7, 13, .75) 40%, rgba(8, 7, 13, .32)),
    linear-gradient(180deg, rgba(8, 7, 13, .55), transparent 45%, rgba(8, 7, 13, .88));
}
.hero-content { width: min(760px, calc(100% - 36px)); margin-left: clamp(18px, 7vw, 104px); padding: 112px 0 70px; }
.hero-logo { width: clamp(84px, 10vw, 128px); margin-bottom: 18px; filter: drop-shadow(0 18px 38px rgba(119, 55, 255, .42)); }
h1 { margin-bottom: 18px; font-size: clamp(4rem, 12vw, 10rem); line-height: .84; }
.hero-copy { max-width: 650px; margin-bottom: 28px; color: #e5e1ee; font-size: clamp(1.04rem, 2vw, 1.32rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 30px; }
.hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 560px; margin: 0; }
.hero-stats div { padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .2); }
.hero-stats dt { color: var(--muted); font-size: .76rem; font-weight: 900; text-transform: uppercase; }
.hero-stats dd { margin: 5px 0 0; font-size: 1.2rem; font-weight: 900; }

.configuration-banner { padding: 17px 0; color: #171207; background: var(--gold); }
.configuration-banner strong { display: block; margin-bottom: 2px; }
.configuration-banner p { margin: 0; font-size: .93rem; }
.intro-band, .store-band, .crates-band, .checkout-band { padding: clamp(58px, 8vw, 104px) 0; }
.intro-band { background: radial-gradient(circle at 15% 15%, rgba(140, 242, 109, .13), transparent 28%), #11151a; }
.intro-grid { display: grid; grid-template-columns: .95fr 1.2fr; gap: clamp(28px, 7vw, 90px); }
.intro-copy { color: var(--muted); }

.showcase { padding: 26px 0; background: #07080b; }
.showcase-track { display: grid; grid-template-columns: repeat(3, minmax(260px, 1fr)); gap: 14px; width: min(1480px, calc(100% - 28px)); margin: 0 auto; }
.showcase figure { min-height: clamp(250px, 28vw, 430px); margin: 0; overflow: hidden; border-radius: 8px; }
.showcase img { width: 100%; height: 100%; object-fit: cover; transition: transform 400ms ease; }
.showcase figure:hover img { transform: scale(1.035); }

.store-band { background: radial-gradient(circle at 82% 12%, rgba(162, 84, 255, .13), transparent 28%), #0e1015; }
.store-band-keys { background: radial-gradient(circle at 16% 10%, rgba(245, 199, 98, .13), transparent 26%), #111319; }
.product-grid { display: grid; gap: 14px; }
.product-grid-ranks { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.product-grid-keys { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.product-card { display: flex; min-width: 0; min-height: 370px; flex-direction: column; padding: 22px; border: 1px solid var(--line); border-radius: 9px; background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, .035)); }
.product-card-key { min-height: 280px; }
.product-card h3 { margin: 14px 0 10px; font-size: clamp(1.45rem, 2.5vw, 2.35rem); line-height: 1; }
.product-card p, .product-card li { color: var(--muted); line-height: 1.55; }
.product-card ul { display: grid; gap: 8px; margin: 6px 0 18px; padding-left: 20px; }
.product-type { width: fit-content; padding: 5px 8px; color: #11170e; background: var(--green); border-radius: 7px; font-size: .72rem; font-weight: 900; text-transform: uppercase; }
.product-price { margin-top: auto; padding-top: 10px; color: var(--lime); font-size: 1.55rem; font-weight: 900; }
.unavailable-note { margin: 15px 0 0; color: var(--gold) !important; font-size: .9rem; }
.quantity-control { display: grid; grid-template-columns: 42px minmax(0, 1fr) 42px; gap: 8px; margin-top: 16px; }
.quantity-control button, .quantity-control input { min-width: 0; min-height: 42px; color: var(--text); background: rgba(255, 255, 255, .08); border: 1px solid var(--line); border-radius: 8px; text-align: center; font-weight: 900; }

.crates-band { background: #0b0c11; }
.crate-list { display: grid; gap: 12px; }
.crate-details { border: 1px solid var(--line); border-radius: 8px; background: rgba(255, 255, 255, .045); }
.crate-details summary { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding: 18px 20px; cursor: pointer; font-weight: 900; }
.crate-details small { color: var(--muted); font-weight: 650; }
.table-scroll { overflow-x: auto; border-top: 1px solid var(--line); }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 12px 20px; text-align: left; border-bottom: 1px solid rgba(255, 255, 255, .08); }
th { color: var(--green); font-size: .78rem; text-transform: uppercase; }
td:last-child, th:last-child { width: 130px; color: var(--lime); font-weight: 800; }

.checkout-band { background: radial-gradient(circle at 83% 12%, rgba(140, 242, 109, .12), transparent 28%), #11151a; }
.checkout-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(360px, 1.1fr); gap: clamp(28px, 6vw, 78px); }
.order-lines { display: grid; gap: 10px; color: var(--muted); }
.order-line, .order-total { display: flex; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.order-line strong, .order-total strong { color: var(--lime); }
.order-total { margin: 12px 0 18px; font-size: 1.25rem; font-weight: 900; }
.text-link, .checkout-form a, .cookie-banner a, .document a { color: var(--green); }
.checkout-form { display: grid; gap: 16px; padding: 24px; border: 1px solid var(--line); border-radius: 9px; background: rgba(255, 255, 255, .055); }
.checkout-form h2 { margin-bottom: 0; font-size: 1.7rem; }
.checkout-form > label { display: grid; gap: 7px; color: var(--muted); font-size: .92rem; font-weight: 800; }
.checkout-form input { min-height: 46px; padding: 0 12px; color: var(--text); background: rgba(255, 255, 255, .08); border: 1px solid var(--line); border-radius: 8px; }
.consents { display: grid; gap: 12px; padding-top: 8px; }
.checkbox-label { display: grid; grid-template-columns: 18px 1fr; gap: 9px; color: var(--muted); font-size: .86rem; line-height: 1.5; }
.checkbox-label input { min-height: 18px; }
.checkout-note, .payment-provider p { margin: 0; color: var(--muted); font-size: .86rem; }
.checkout-button { width: 100%; }
.payment-provider { display: grid; gap: 8px; padding-top: 10px; border-top: 1px solid var(--line); }
.hotpay-mark { display: flex; align-items: baseline; gap: 8px; color: var(--muted); font-size: .78rem; text-transform: uppercase; }
.hotpay-mark img { width: 112px; height: auto; object-fit: contain; }
.form-message { margin: 0; color: var(--gold); font-size: .9rem; }

.site-footer { display: grid; grid-template-columns: minmax(0, 1.4fr) 1fr 1fr; gap: 28px; padding: 30px clamp(18px, 4vw, 56px); color: var(--muted); background: #07070a; border-top: 1px solid var(--line); font-size: .88rem; }
.site-footer p { margin: 5px 0; }
.site-footer nav, .seller-footer { display: grid; align-content: start; gap: 7px; }
.site-footer nav a { color: var(--muted); text-decoration: none; }
.site-footer nav a:hover { color: var(--text); }
.minecraft-disclaimer { max-width: 560px; color: #928c9d; font-size: .72rem; }
.seller-footer span { overflow-wrap: anywhere; }

.cookie-banner { position: fixed; right: 16px; bottom: 16px; z-index: 20; width: min(470px, calc(100% - 32px)); padding: 16px; border: 1px solid var(--line); border-radius: 8px; background: #1b1e26; box-shadow: 0 18px 48px rgba(0, 0, 0, .42); }
.cookie-banner p { margin-bottom: 12px; color: var(--muted); font-size: .84rem; }
.cookie-banner button { min-height: 36px; padding: 0 14px; color: #10170c; background: var(--green); border: 0; border-radius: 7px; font-weight: 900; }
.toast { position: fixed; right: 18px; bottom: 18px; z-index: 30; padding: 13px 16px; color: #10170c; background: var(--green); border-radius: 8px; opacity: 0; pointer-events: none; transform: translateY(20px); transition: 180ms ease; font-weight: 900; }
.toast.is-visible { opacity: 1; transform: translateY(0); }

.document-shell { min-height: 100vh; background: radial-gradient(circle at 85% 8%, rgba(162, 84, 255, .12), transparent 22%), var(--bg); }
.document-header { display: flex; justify-content: space-between; gap: 20px; padding: 18px clamp(18px, 4vw, 56px); border-bottom: 1px solid var(--line); background: rgba(8, 7, 13, .86); }
.document-header a { text-decoration: none; font-weight: 900; }
.document { width: min(880px, calc(100% - 36px)); margin: 0 auto; padding: 62px 0 90px; }
.document h1 { margin-bottom: 12px; font-size: clamp(2.5rem, 7vw, 5rem); line-height: .95; }
.document h2 { margin-top: 34px; font-size: 1.5rem; }
.document h3 { margin-top: 24px; }
.document p, .document li { color: var(--muted); line-height: 1.72; }
.document li { margin-bottom: 7px; }
.document-meta { color: var(--gold) !important; font-size: .9rem; }
.document-note { padding: 14px; color: #171207 !important; background: var(--gold); border-radius: 8px; }
.history-form { display: grid; gap: 14px; max-width: 580px; padding: 20px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255, 255, 255, .045); }
.history-form label { display: grid; gap: 7px; color: var(--muted); font-weight: 800; }
.history-form input { min-height: 44px; padding: 0 12px; color: var(--text); background: rgba(255, 255, 255, .08); border: 1px solid var(--line); border-radius: 7px; }
.history-result { margin-top: 22px; }
.history-result article { padding: 18px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255, 255, 255, .045); }

@media (max-width: 1050px) {
  .product-grid-ranks { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .checkout-layout { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .nav-links { display: none; }
  .intro-grid, .showcase-track, .product-grid-keys, .product-grid-ranks, .site-footer { grid-template-columns: 1fr; }
  .hero-content { margin: 0 auto; padding-top: 104px; }
  .showcase figure { min-height: 280px; }
}
@media (max-width: 520px) {
  h1 { font-size: clamp(3.2rem, 18vw, 5rem); line-height: .94; }
  .hero-actions { display: grid; grid-template-columns: 1fr; }
  .hero-stats { gap: 9px; }
  .hero-stats dd { font-size: .98rem; }
  .checkout-form { padding: 18px; }
}
