/* ============ Tokens & base ============ */
:root {
  --bg: #0e0f12;
  --bg-alt: #14161b;
  --panel: #1a1d23;
  --line: #2a2e37;
  --text: #e8e6e1;
  --muted: #9a9890;
  --brass: #c9a24b;
  --brass-bright: #e8c876;
  --steel: #b9c0c9;
  --steel-bright: #e2e7ee;
  --radius: 14px;
  --card-w: 240px;
  --card-ratio: 88.9 / 63.5;
  --font-head: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: var(--font-head); line-height: 1.15; }
a { color: var(--brass-bright); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; }

.fine { font-size: 0.8rem; color: var(--muted); }

/* ============ Buttons ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--font-head); font-weight: 600; font-size: 0.95rem;
  padding: 0.75rem 1.5rem; border-radius: 10px; border: 1px solid transparent;
  cursor: pointer; transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  text-decoration: none !important;
}
.btn:hover { transform: translateY(-1px); }
.btn-brass {
  background: linear-gradient(160deg, var(--brass-bright), var(--brass) 55%, #9a7830);
  color: #171204; box-shadow: 0 4px 18px rgba(201, 162, 75, 0.25);
}
.btn-brass:hover { box-shadow: 0 6px 24px rgba(201, 162, 75, 0.4); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--brass); color: var(--brass-bright); }
.btn-small { padding: 0.5rem 1rem; font-size: 0.85rem; }
.btn-block { width: 100%; }

/* ============ Header ============ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; gap: 2rem;
  padding: 0.85rem clamp(1rem, 4vw, 3rem);
  background: rgba(14, 15, 18, 0.85); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: flex; align-items: center; gap: 0.6rem;
  font-family: var(--font-head); font-weight: 800; font-size: 1.05rem;
  color: var(--text); text-decoration: none !important; white-space: nowrap;
}
.brand em { color: var(--brass); font-style: normal; }
.brand-mark { width: 30px; height: 30px; color: var(--brass); flex: none; }
.site-nav { display: flex; gap: 1.4rem; margin-left: auto; }
.site-nav a { color: var(--muted); font-size: 0.9rem; font-weight: 500; }
.site-nav a:hover { color: var(--text); text-decoration: none; }
.cart-btn { position: relative; }
.cart-count {
  background: #171204; color: var(--brass-bright);
  font-size: 0.72rem; font-weight: 700; line-height: 1;
  padding: 0.25rem 0.45rem; border-radius: 99px;
}

/* ============ Hero ============ */
.hero {
  display: grid; grid-template-columns: 1.1fr 0.9fr; align-items: center;
  gap: 3rem; padding: clamp(3rem, 8vw, 6rem) clamp(1rem, 5vw, 4rem);
  max-width: 1200px; margin: 0 auto;
}
.eyebrow {
  font-size: 0.78rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--brass); font-weight: 600; margin-bottom: 1rem;
}
.hero h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); font-weight: 800; margin-bottom: 1.2rem; }
.grad-text {
  background: linear-gradient(100deg, var(--steel-bright), var(--steel) 35%, var(--brass-bright) 70%, var(--brass));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.lede { color: var(--muted); max-width: 34rem; margin-bottom: 1.8rem; }
.lede strong { color: var(--text); }
.hero-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; margin-bottom: 1.8rem; }
.hero-points { list-style: none; display: flex; gap: 1.4rem; flex-wrap: wrap; }
.hero-points li { font-size: 0.82rem; color: var(--muted); display: flex; align-items: center; gap: 0.4rem; }
.hero-points li::before { content: "◆"; color: var(--brass); font-size: 0.6rem; }

.hero-cards { position: relative; display: flex; justify-content: center; min-height: 420px; }
.hero-cards .metal-card { position: absolute; top: 12px; }
.tilt-l { transform: rotate(-8deg) translateX(-88px); z-index: 1; }
.tilt-r { transform: rotate(7deg) translateX(88px) translateY(26px); z-index: 2; }

/* ============ Metal card mockups ============ */
.metal-card {
  width: var(--card-w);
  aspect-ratio: 63.5 / 88.9;
  border-radius: 12px;
  padding: 7px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.55), inset 0 1px 1px rgba(255, 255, 255, 0.35);
  flex: none;
}
.metal-card.mini { width: 132px; border-radius: 8px; padding: 4px; }
.metal-card.big { width: 280px; }
.finish-steel {
  background:
    repeating-linear-gradient(92deg, rgba(255,255,255,0.07) 0 1px, transparent 1px 3px),
    linear-gradient(145deg, #dfe4ea 0%, #aab2bc 30%, #8d95a0 50%, #c4cbd4 72%, #97a0ab 100%);
}
.finish-brass {
  background:
    repeating-linear-gradient(92deg, rgba(255,255,255,0.06) 0 1px, transparent 1px 3px),
    linear-gradient(145deg, #f0d489 0%, #c9a24b 32%, #a3803a 52%, #e6c878 74%, #b08c3e 100%);
}
.mc-inner {
  position: relative; width: 100%; height: 100%;
  border-radius: 7px; border: 1px solid rgba(0, 0, 0, 0.35);
  background: rgba(10, 11, 14, 0.82);
  display: flex; flex-direction: column; align-items: center; justify-content: flex-end;
  padding: 9% 7%; gap: 2%;
  overflow: hidden;
}
.mini .mc-inner { padding: 8% 6%; }
.mc-might {
  position: absolute; top: 5%; left: 6%;
  font-family: var(--font-head); font-weight: 800; font-size: 1.5rem; line-height: 1;
  width: 2.1rem; height: 2.1rem; display: flex; align-items: center; justify-content: center;
  border-radius: 50%; border: 2px solid currentColor;
}
.mini .mc-might { font-size: 0.95rem; width: 1.45rem; height: 1.45rem; border-width: 1.5px; }
.finish-steel .mc-might, .finish-steel .mc-name { color: var(--steel-bright); }
.finish-brass .mc-might, .finish-brass .mc-name { color: var(--brass-bright); }
.mc-art {
  position: absolute; inset: 0; opacity: 0.6;
}
.mc-name {
  position: relative; font-family: var(--font-head); font-weight: 700;
  font-size: 1.05rem; letter-spacing: 0.04em; text-transform: uppercase;
}
.mini .mc-name { font-size: 0.7rem; }
.mc-tag {
  position: relative; font-size: 0.62rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--muted);
}

/* Abstract art backgrounds — original geometric motifs, no game art */
.art-recruit { background: radial-gradient(circle at 50% 32%, rgba(185,192,201,0.5) 0 14%, transparent 15%), conic-gradient(from 200deg at 50% 65%, transparent 0 40%, rgba(185,192,201,0.25) 40% 60%, transparent 60%); }
.art-sand { background: radial-gradient(circle at 50% 30%, rgba(230,200,120,0.55) 0 13%, transparent 14%), repeating-linear-gradient(-35deg, transparent 0 12px, rgba(201,162,75,0.16) 12px 14px); }
.art-mech { background: conic-gradient(from 45deg at 50% 42%, rgba(185,192,201,0.35) 0 25%, transparent 25% 50%, rgba(185,192,201,0.2) 50% 75%, transparent 75%), radial-gradient(circle at 50% 42%, transparent 0 18%, rgba(185,192,201,0.3) 19% 21%, transparent 22%); }
.art-sprite { background: radial-gradient(circle at 35% 30%, rgba(140,220,190,0.4) 0 8%, transparent 9%), radial-gradient(circle at 62% 45%, rgba(140,220,190,0.3) 0 12%, transparent 13%), radial-gradient(circle at 48% 22%, rgba(230,200,120,0.3) 0 5%, transparent 6%); }
.art-poro { background: radial-gradient(circle at 50% 40%, rgba(226,231,238,0.5) 0 16%, transparent 17%), radial-gradient(circle at 38% 30%, rgba(226,231,238,0.6) 0 4%, transparent 5%), radial-gradient(circle at 62% 30%, rgba(226,231,238,0.6) 0 4%, transparent 5%); }
.art-buff { background: conic-gradient(from 0deg at 50% 42%, rgba(230,200,120,0.4) 0 12%, transparent 12% 25%, rgba(230,200,120,0.4) 25% 37%, transparent 37% 50%, rgba(230,200,120,0.4) 50% 62%, transparent 62% 75%, rgba(230,200,120,0.4) 75% 87%, transparent 87%); }
.art-custom {
  display: flex; align-items: center; justify-content: center;
  border: 2px dashed rgba(232, 200, 118, 0.4); border-radius: 6px; inset: 8% 10% 24% 10%;
  font-family: var(--font-head); font-weight: 700; font-size: 1rem; letter-spacing: 0.2em;
  color: rgba(232, 200, 118, 0.65); text-align: center; opacity: 1;
}

/* ============ Sections ============ */
.section { padding: clamp(3.5rem, 8vw, 6rem) clamp(1rem, 5vw, 4rem); max-width: 1200px; margin: 0 auto; }
.section-alt { max-width: none; background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-alt > * { max-width: 1200px; margin-left: auto; margin-right: auto; }
.section-head { max-width: 640px; margin-bottom: 3rem; }
.section-head h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 700; margin-bottom: 0.8rem; }
.section-head p { color: var(--muted); }

/* ============ Product grid ============ */
.product-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(255px, 1fr)); gap: 1.5rem;
}
.product {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem; display: flex; flex-direction: column; gap: 1rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.product:hover { border-color: #3a4150; transform: translateY(-3px); }
.product .metal-card { width: 100%; max-width: 210px; margin: 0 auto; }
.product h3 { font-size: 1.1rem; }
.product .stat-line { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--brass); font-weight: 600; }
.product p.desc { font-size: 0.88rem; color: var(--muted); flex: 1; }

.opt-row { display: flex; flex-direction: column; gap: 0.7rem; }
.finish-toggle { display: flex; border: 1px solid var(--line); border-radius: 9px; overflow: hidden; }
.finish-toggle button {
  flex: 1; padding: 0.55rem 0.4rem; background: transparent; border: none; cursor: pointer;
  font-family: var(--font-body); font-size: 0.82rem; font-weight: 600; color: var(--muted);
  transition: background 0.15s ease, color 0.15s ease;
}
.finish-toggle button.active-steel { background: linear-gradient(160deg, #e2e7ee, #aab2bc); color: #1c2026; }
.finish-toggle button.active-brass { background: linear-gradient(160deg, #e8c876, #c9a24b); color: #171204; }
.buy-row { display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; }
.price { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; }

/* ============ Bundle ============ */
.bundle {
  margin-top: 3rem; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 2rem; align-items: center;
  background: linear-gradient(120deg, var(--panel), #20242d);
  border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(1.5rem, 4vw, 3rem);
}
.chip {
  display: inline-block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase;
  color: #171204; background: var(--brass); border-radius: 99px; padding: 0.3rem 0.8rem; margin-bottom: 0.9rem;
}
.bundle h3 { font-size: 1.6rem; margin-bottom: 0.7rem; }
.bundle p { color: var(--muted); margin-bottom: 1.4rem; max-width: 30rem; }
.bundle .opt-row { max-width: 320px; }
.bundle-cards { display: flex; justify-content: center; gap: 0.6rem; }
.bundle-cards .metal-card:nth-child(1) { transform: rotate(-7deg) translateY(8px); }
.bundle-cards .metal-card:nth-child(3) { transform: rotate(7deg) translateY(8px); }

/* ============ Custom section ============ */
.custom-wrap { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 3.5rem; align-items: center; }
.custom-card { display: flex; justify-content: center; }
.custom-copy h2 { font-size: clamp(1.7rem, 3.5vw, 2.4rem); margin-bottom: 1rem; }
.custom-copy > p { color: var(--muted); margin-bottom: 1.4rem; }
.spec-list { list-style: none; margin-bottom: 1.6rem; display: grid; gap: 0.55rem; }
.spec-list li { font-size: 0.9rem; color: var(--muted); padding-left: 1.2rem; position: relative; }
.spec-list li::before { content: "◆"; color: var(--brass); font-size: 0.6rem; position: absolute; left: 0; top: 0.35rem; }
.spec-list strong { color: var(--text); }
.custom-copy .opt-row { max-width: 340px; margin-bottom: 0.8rem; }

/* ============ Materials ============ */
.materials-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.material-panel {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 2rem;
}
.swatch { height: 90px; border-radius: 10px; margin-bottom: 1.4rem; box-shadow: inset 0 1px 2px rgba(255,255,255,0.4), inset 0 -8px 20px rgba(0,0,0,0.25); }
.swatch-steel {
  background: repeating-linear-gradient(92deg, rgba(255,255,255,0.09) 0 1px, transparent 1px 3px),
    linear-gradient(145deg, #e2e7ee, #9aa3ae 45%, #c4cbd4 75%, #8d95a0);
}
.swatch-brass {
  background: repeating-linear-gradient(92deg, rgba(255,255,255,0.07) 0 1px, transparent 1px 3px),
    linear-gradient(145deg, #f0d489, #b08c3e 45%, #e6c878 75%, #9a7830);
}
.material-panel h3 { margin-bottom: 0.6rem; }
.material-panel > p { color: var(--muted); font-size: 0.92rem; margin-bottom: 1.1rem; }
.material-panel ul { list-style: none; display: grid; gap: 0.45rem; }
.material-panel li { font-size: 0.85rem; color: var(--muted); padding-left: 1.1rem; position: relative; }
.material-panel li::before { content: "—"; position: absolute; left: 0; color: var(--brass); }

/* ============ Steps ============ */
.steps { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; counter-reset: step; }
.steps li { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.2rem; height: 2.2rem; border-radius: 50%;
  font-family: var(--font-head); font-weight: 700;
  background: linear-gradient(160deg, var(--brass-bright), var(--brass)); color: #171204;
  margin-bottom: 1rem;
}
.steps h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.steps p { font-size: 0.88rem; color: var(--muted); }

/* ============ FAQ ============ */
.faq-list { max-width: 760px; display: grid; gap: 0.8rem; }
.faq-list details { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 1.1rem 1.4rem; }
.faq-list summary { cursor: pointer; font-family: var(--font-head); font-weight: 600; font-size: 0.98rem; list-style: none; position: relative; padding-right: 2rem; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); color: var(--brass); font-size: 1.3rem; font-weight: 400; transition: transform 0.2s ease; }
.faq-list details[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-list details p { margin-top: 0.8rem; font-size: 0.9rem; color: var(--muted); }

/* ============ Order drawer ============ */
.drawer-backdrop { position: fixed; inset: 0; background: rgba(0,0,0,0.55); z-index: 90; }
.drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: min(400px, 100vw); z-index: 100;
  background: var(--bg-alt); border-left: 1px solid var(--line);
  display: flex; flex-direction: column; padding: 1.4rem;
  box-shadow: -20px 0 60px rgba(0,0,0,0.5);
}
.drawer-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.drawer-head h3 { font-size: 1.2rem; }
.drawer-close { background: none; border: none; color: var(--muted); font-size: 1.8rem; cursor: pointer; line-height: 1; }
.drawer-close:hover { color: var(--text); }
.drawer-items { list-style: none; flex: 1; overflow-y: auto; display: grid; gap: 0.7rem; align-content: start; }
.drawer-items li {
  display: flex; align-items: center; gap: 0.8rem;
  background: var(--panel); border: 1px solid var(--line); border-radius: 10px; padding: 0.8rem 1rem;
}
.di-swatch { width: 14px; height: 20px; border-radius: 3px; flex: none; }
.di-swatch.steel { background: linear-gradient(160deg, #e2e7ee, #9aa3ae); }
.di-swatch.brass { background: linear-gradient(160deg, #e8c876, #b08c3e); }
.di-name { flex: 1; font-size: 0.88rem; font-weight: 600; }
.di-name small { display: block; color: var(--muted); font-weight: 400; font-size: 0.75rem; }
.di-qty { display: flex; align-items: center; gap: 0.45rem; }
.di-qty button { width: 1.5rem; height: 1.5rem; border-radius: 6px; border: 1px solid var(--line); background: transparent; color: var(--text); cursor: pointer; font-size: 0.9rem; line-height: 1; }
.di-qty button:hover { border-color: var(--brass); color: var(--brass-bright); }
.di-price { font-size: 0.88rem; font-weight: 600; min-width: 3.2rem; text-align: right; }
.drawer-empty { color: var(--muted); font-size: 0.9rem; text-align: center; margin-top: 2rem; }
.drawer-foot { border-top: 1px solid var(--line); padding-top: 1.1rem; margin-top: 1rem; display: grid; gap: 0.8rem; }
.drawer-total { display: flex; justify-content: space-between; align-items: baseline; font-size: 0.95rem; color: var(--muted); }
.drawer-total strong { font-family: var(--font-head); font-size: 1.35rem; color: var(--text); }

/* ============ Footer ============ */
.site-footer { border-top: 1px solid var(--line); padding: 3rem clamp(1rem, 5vw, 4rem) 2rem; max-width: 1200px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2rem; margin-bottom: 2.5rem; }
.footer-brand { font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; margin-bottom: 0.5rem; }
.footer-brand em { color: var(--brass); font-style: normal; }
.footer-grid p { font-size: 0.85rem; color: var(--muted); }
.footer-label { font-size: 0.72rem !important; letter-spacing: 0.14em; text-transform: uppercase; color: var(--brass) !important; font-weight: 600; margin-bottom: 0.5rem; }
.disclaimer { font-size: 0.74rem; color: #6b6a64; line-height: 1.7; border-top: 1px solid var(--line); padding-top: 1.5rem; }

/* ============ Responsive ============ */
@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; text-align: left; }
  .hero-cards { min-height: 380px; }
  .custom-wrap { grid-template-columns: 1fr; }
  .custom-card { order: -1; }
  .bundle { grid-template-columns: 1fr; }
  .bundle-cards { display: none; }
  .materials-grid { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .site-nav { display: none; }
  .hero-cards { transform: scale(0.82); min-height: 330px; }
}
