:root {
  --bg: #0c1030;
  --bg-2: #121748;
  --panel: #171d5a;
  --panel-2: #1d2470;
  --ink: #f4f1ff;
  --ink-soft: #b9b8e6;
  --gold: #ffcb3d;
  --pink: #ff4f9a;
  --cyan: #3de0ff;
  --violet: #a66bff;
  --line: rgba(255, 255, 255, .14);
  --error: #ff8a8a;
  --ok: #6bf0a8;
  --radius: 16px;
  --display: "Lilita One", "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(1200px 600px at 90% -10%, rgba(166, 107, 255, .35), transparent 60%),
    radial-gradient(900px 500px at -10% 20%, rgba(61, 224, 255, .18), transparent 60%),
    var(--bg);
  background-attachment: fixed;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .5;
  background-image: radial-gradient(rgba(255, 255, 255, .22) 1px, transparent 1.4px);
  background-size: 34px 34px;
  mask-image: linear-gradient(#000, transparent 85%);
}
h1, h2, h3 { font-family: var(--display); font-weight: 400; line-height: 1.08; letter-spacing: .01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.5rem, 6vw, 4.4rem); text-shadow: 0 4px 0 rgba(0, 0, 0, .25); }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
a { color: inherit; }

.wrap { width: min(1120px, 92%); margin-inline: auto; }
.narrow { width: min(760px, 92%); }

.skip { position: absolute; left: -999px; top: 8px; background: var(--gold); color: #0c1030; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(12, 16, 48, .82); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--display); font-size: 1.45rem; letter-spacing: .01em; }
.brand em { font-style: normal; color: var(--gold); }
.brand-mark { width: 40px; height: 40px; }
.nav { display: flex; align-items: center; gap: 22px; font-weight: 500; }
.nav a { text-decoration: none; color: var(--ink-soft); }
.nav a:not(.btn):hover { color: var(--gold); }
.nav a.btn { color: #1a1440; }

/* Buttons */
.btn {
  display: inline-block; border: 0; cursor: pointer;
  background: linear-gradient(180deg, #ffd95e, var(--gold));
  color: #1a1440; font: 700 1rem "Inter", sans-serif;
  padding: 14px 28px; border-radius: 12px; text-decoration: none;
  box-shadow: 0 5px 0 #b88a00, 0 12px 24px -8px rgba(255, 203, 61, .5);
  transition: transform .08s ease, box-shadow .08s ease, filter .15s;
}
.btn:hover { filter: brightness(1.06); }
.btn:active { transform: translateY(4px); box-shadow: 0 1px 0 #b88a00; }
.btn:disabled { background: #4a4f8f; color: #9aa0d6; box-shadow: 0 5px 0 #30346b; cursor: not-allowed; transform: none; filter: none; }
.btn-small { padding: 8px 16px; font-size: .9rem; box-shadow: 0 3px 0 #b88a00; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 2px var(--line); }
.btn-ghost:hover { background: rgba(255, 255, 255, .08); filter: none; }
.btn-ghost:active { box-shadow: inset 0 0 0 2px var(--line); transform: none; }
.btn-block { display: block; width: 100%; text-align: center; }

/* Hero */
.hero { padding: clamp(40px, 7vw, 90px) 0 clamp(30px, 5vw, 60px); }
.hero-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 700; color: var(--cyan); margin-bottom: 14px; }
.spark { color: var(--gold); margin-right: 4px; }
.hero h1 span { display: block; background: linear-gradient(90deg, var(--gold), var(--pink) 55%, var(--violet)); -webkit-background-clip: text; background-clip: text; color: transparent; text-shadow: none; }
.lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin: 28px 0 24px; }
.pay-chips { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; }
.pay-chips li { background: rgba(255, 255, 255, .08); border: 1px solid var(--line); border-radius: 999px; padding: 4px 14px; font-size: .85rem; font-weight: 500; }

/* ===== Trading card component ===== */
.tcg {
  --c: var(--gold);
  --mx: 50%; --my: 50%; --rx: 0deg; --ry: 0deg;
  position: relative; border-radius: 18px; padding: 9px;
  background: linear-gradient(145deg, var(--c), color-mix(in srgb, var(--c) 55%, #fff) 45%, var(--c));
  box-shadow: 0 18px 40px -14px rgba(0, 0, 0, .65), 0 0 0 1px rgba(255, 255, 255, .25) inset;
  transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform .15s ease-out, box-shadow .2s;
  overflow: hidden;
  will-change: transform;
}
.tcg:hover { box-shadow: 0 26px 50px -14px rgba(0, 0, 0, .75), 0 0 0 1px rgba(255, 255, 255, .35) inset; }
.tcg-frame { position: relative; border-radius: 11px; background: linear-gradient(180deg, #fffdf4, #f2ecd9); color: #1a1440; padding: 12px; height: 100%; display: flex; flex-direction: column; gap: 10px; }
.tcg-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.tcg-name { font-family: var(--display); font-size: 1.25rem; line-height: 1.1; }
.tcg-name small { display: block; font: 700 .6rem "Inter", sans-serif; text-transform: uppercase; letter-spacing: .14em; color: #6b6890; margin-bottom: 2px; }
.tcg-price { font-family: var(--display); font-size: 1.7rem; line-height: 1; color: #c43a10; white-space: nowrap; text-align: right; }
.tcg-price small { font: 700 .65rem "Inter", sans-serif; color: #6b6890; margin-left: 2px; }
.tcg-art {
  position: relative; border-radius: 8px; aspect-ratio: 16 / 10; display: grid; place-items: center; overflow: hidden;
  background: radial-gradient(circle at 30% 25%, color-mix(in srgb, var(--c) 40%, #fff), var(--c) 60%, color-mix(in srgb, var(--c) 65%, #000));
  border: 3px solid rgba(26, 20, 64, .85);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, .55);
}
.tcg-art::before { content: ""; position: absolute; inset: 0; opacity: .25; background: repeating-linear-gradient(45deg, #fff 0 2px, transparent 2px 12px); }
.tcg-art svg.icon { width: 46%; height: 46%; fill: #fff; filter: drop-shadow(0 4px 0 rgba(0, 0, 0, .25)); position: relative; }
.tcg-type { align-self: flex-start; font: 700 .68rem "Inter", sans-serif; text-transform: uppercase; letter-spacing: .1em; background: #1a1440; color: #fff; padding: 3px 10px; border-radius: 999px; }
.tcg-desc { font-size: .84rem; color: #3b3866; margin: 0; background: rgba(26, 20, 64, .06); padding: 8px 10px; border-radius: 8px; flex: 1; }
.tcg-foot { display: flex; justify-content: space-between; font: 600 .66rem "Inter", sans-serif; color: #6b6890; letter-spacing: .06em; }

/* Holo shine layered above the card */
.holo {
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: .55; mix-blend-mode: color-dodge;
  background:
    radial-gradient(circle at var(--mx) var(--my), rgba(255, 255, 255, .9), transparent 38%),
    linear-gradient(115deg, transparent 20%, rgba(255, 79, 154, .55) 35%, rgba(255, 203, 61, .55) 45%, rgba(61, 224, 255, .55) 55%, rgba(166, 107, 255, .55) 65%, transparent 80%);
  background-size: 100% 100%, 220% 220%;
  background-position: 0 0, calc(var(--mx) * 1) calc(var(--my) * 1);
  transition: opacity .2s;
}
.tcg:not(:hover) .holo { opacity: .28; }

/* Hero card */
.hero-card-wrap { display: grid; place-items: center; }
.hero-card { width: min(360px, 100%); transform: perspective(900px) rotateX(var(--rx)) rotateY(var(--ry)) rotate(2deg); }
.hero-art { aspect-ratio: 16 / 9; background: radial-gradient(circle at 30% 25%, #4b3fd1, #1d2470 70%); }
.hero-art svg { width: 92%; height: 92%; position: relative; }
.ticket-list { list-style: none; margin: 0; padding: 0; }
.ticket-list li { display: flex; justify-content: space-between; gap: 12px; padding: 7px 2px; border-bottom: 1px dashed rgba(26, 20, 64, .25); font-size: .88rem; font-weight: 500; }
.ticket-list li:last-child { border-bottom: 0; }
.ticket-list strong { font-family: var(--display); font-weight: 400; color: #c43a10; white-space: nowrap; font-size: 1rem; }
.tcg-flavor { font-size: .72rem; font-style: italic; color: #6b6890; margin: 4px 0 0; text-align: center; }

/* Sections */
.section { padding: clamp(48px, 7vw, 88px) 0; }
.section-alt { background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .02)); border-block: 1px solid var(--line); }
.section-sub { color: var(--ink-soft); max-width: 40em; margin-bottom: 36px; }

/* Rate grid of cards */
.rate-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 22px; }
.rate-grid .tcg { max-width: 260px; width: 100%; margin-inline: auto; }
.loading { color: var(--ink-soft); }

/* Steps */
.steps { list-style: none; padding: 0; margin: 32px 0 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 22px; }
.steps li { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; position: relative; overflow: hidden; }
.steps li::after { content: ""; position: absolute; right: -30px; top: -30px; width: 90px; height: 90px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 203, 61, .25), transparent 70%); }
.step-num { display: inline-block; font-family: var(--display); font-size: .95rem; letter-spacing: .06em; background: var(--gold); color: #1a1440; padding: 3px 12px; border-radius: 999px; margin-bottom: 12px; }
.steps p { margin: 0; color: var(--ink-soft); font-size: .95rem; }

/* Quote form */
.quote-grid { display: grid; grid-template-columns: 1fr 370px; gap: 28px; align-items: start; }
.card { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; margin: 0 0 22px; min-width: 0; box-shadow: 0 12px 30px -16px rgba(0, 0, 0, .6); }
fieldset.card { border: 1px solid var(--line); }
legend { font-family: var(--display); font-size: 1.3rem; padding: 0 8px; display: flex; align-items: center; gap: 10px; }
.legend-num { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--pink); color: #fff; font-size: .95rem; }

.qty-rows { display: grid; gap: 12px; }
.qty-row { --c: var(--gold); display: grid; grid-template-columns: 1fr 140px; gap: 14px; align-items: center; padding: 10px 12px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line); border-left: 5px solid var(--c); }
.qty-row .qty-name { font-weight: 600; }
.qty-row .qty-rate { font-size: .83rem; color: var(--ink-soft); display: block; font-weight: 400; }

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
label { font-weight: 600; font-size: .9rem; }
.optional { font-weight: 400; color: var(--ink-soft); }
input, select, textarea {
  font: inherit; color: var(--ink); width: 100%; padding: 11px 13px;
  background: rgba(8, 11, 40, .7); border: 1.5px solid var(--line); border-radius: 10px;
}
select { color-scheme: dark; }
select option, select optgroup { background-color: #171d5a; color: #f4f1ff; }
input::placeholder, textarea::placeholder { color: #7f83bd; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgba(61, 224, 255, .35); border-color: var(--cyan); }
input[aria-invalid="true"], select[aria-invalid="true"] { border-color: var(--error); }
.qty-row input { text-align: right; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* Deal sheet */
.quote-side { position: sticky; top: 90px; }
.receipt {
  position: relative; border-radius: var(--radius); padding: 24px;
  background: linear-gradient(180deg, var(--panel-2), var(--panel));
  border: 2px solid var(--gold);
  box-shadow: 0 0 0 4px rgba(255, 203, 61, .12), 0 20px 40px -18px rgba(0, 0, 0, .7);
}
.receipt h3 { color: var(--gold); padding-bottom: 12px; border-bottom: 2px dashed var(--line); }
.receipt-lines { list-style: none; padding: 0; margin: 0 0 14px; min-height: 56px; }
.receipt-lines li { display: flex; justify-content: space-between; gap: 10px; font-size: .92rem; padding: 6px 0; }
.receipt-lines li small { display: block; color: var(--ink-soft); }
.receipt-lines .empty { color: var(--ink-soft); font-size: .9rem; display: block; }
.receipt-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 2px dashed var(--line); padding-top: 14px; margin-bottom: 8px; }
.receipt-total strong { font-family: var(--display); font-weight: 400; font-size: 2.3rem; color: var(--gold); text-shadow: 0 0 18px rgba(255, 203, 61, .45); }
.receipt-min { font-size: .85rem; color: var(--ink-soft); min-height: 1.4em; margin-bottom: 14px; }
.receipt-min.warn { color: var(--error); font-weight: 600; }
.form-status { margin: 12px 0 0; font-size: .9rem; min-height: 1.2em; }
.form-status.error { color: var(--error); font-weight: 600; }
.fineprint { font-size: .78rem; color: var(--ink-soft); margin: 14px 0 0; }

.notice { padding: 14px 18px; border-radius: 10px; margin-bottom: 20px; }
.notice-error { background: rgba(255, 138, 138, .12); color: var(--error); border: 1px solid rgba(255, 138, 138, .4); }
.success { text-align: center; max-width: 620px; margin-inline: auto; border-color: var(--ok); }
.success h3 { font-size: 2rem; color: var(--ok); }

/* FAQ */
details { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 16px 20px; margin-bottom: 12px; }
summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--gold); }
details[open] summary::after { content: "–"; }
details p { margin: 12px 0 0; color: var(--ink-soft); }

/* Footer */
.site-footer { padding: 36px 0 48px; border-top: 1px solid var(--line); }
.site-footer p { margin: 0 0 8px; }
.legal { font-size: .8rem; color: var(--ink-soft); max-width: 60em; }

/* Responsive */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .quote-grid { grid-template-columns: 1fr; }
  .quote-side { position: static; }
}
@media (max-width: 600px) {
  .nav a:not(.btn) { display: none; }
  .field-row { grid-template-columns: 1fr; }
  .qty-row { grid-template-columns: 1fr 110px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .tcg, .holo { transition: none; }
}

/* Rate-grid cards: stack name above price so nothing gets clipped */
.rate-grid .tcg-top { flex-direction: column; gap: 4px; }
.rate-grid .tcg-price { text-align: left; font-size: 1.9rem; }
.rate-grid .tcg-price small { font-size: .7rem; }

/* Quantity inputs: no spinner arrows, cleaner numerals */
.qty-row input[type="number"] {
  -moz-appearance: textfield; appearance: textfield;
  font-size: 1.2rem; font-weight: 700; font-variant-numeric: tabular-nums;
  letter-spacing: .02em; text-align: right; padding: 10px 14px;
}
.qty-row input[type="number"]::-webkit-outer-spin-button,
.qty-row input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.qty-row input[type="number"]::placeholder { color: #5d63a8; font-weight: 500; }
.qty-row input[type="number"]:not(:placeholder-shown) { color: var(--gold); border-color: rgba(255, 203, 61, .55); }
