/* IronMine shop: styles from the approved mockup (docs/shop-design/mockup.src.html) + real-page additions at the end. */
/* Fonts are served by the shop itself (152-ФЗ: no visitor IPs to Google). */
@font-face { font-family: "Unbounded"; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/unbounded-cyrillic-700-normal.woff2) format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Unbounded"; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/unbounded-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+20BD,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Unbounded"; font-style: normal; font-weight: 800; font-display: swap; src: url(/fonts/unbounded-cyrillic-800-normal.woff2) format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Unbounded"; font-style: normal; font-weight: 800; font-display: swap; src: url(/fonts/unbounded-latin-800-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+20BD,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/manrope-cyrillic-400-normal.woff2) format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/manrope-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+20BD,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/manrope-cyrillic-600-normal.woff2) format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 600; font-display: swap; src: url(/fonts/manrope-latin-600-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+20BD,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/manrope-cyrillic-700-normal.woff2) format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 700; font-display: swap; src: url(/fonts/manrope-latin-700-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+20BD,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 800; font-display: swap; src: url(/fonts/manrope-cyrillic-800-normal.woff2) format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Manrope"; font-style: normal; font-weight: 800; font-display: swap; src: url(/fonts/manrope-latin-800-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+20BD,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
@font-face { font-family: "Press Start 2P"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/press-start-2p-cyrillic-400-normal.woff2) format("woff2"); unicode-range: U+0301,U+0400-045F,U+0490-0491,U+04B0-04B1,U+2116; }
@font-face { font-family: "Press Start 2P"; font-style: normal; font-weight: 400; font-display: swap; src: url(/fonts/press-start-2p-latin-400-normal.woff2) format("woff2"); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+20BD,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
:root {
  --bg: #0f0f10;
  --surface: #17171a;
  --surface-2: #1e1d1b;
  --line: #2a2926;
  --text: #f3efe7;
  --muted: #a39d93;
  --gold: #e9b85c;
  --gold-press: #d49a35;
  --on-gold: #1b1407;
  --ruby: #e0314b;
  --green: #4fd18b;
  --danger: #ff6b62;
  --radius: 18px;
  --radius-sm: 12px;
  --display: "Unbounded", "Manrope", system-ui, sans-serif;
  --body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --pixel: "Press Start 2P", "Manrope", monospace;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { background: var(--bg); }
body {
  margin: 0;
  color: var(--text);
  font: 16px/1.5 var(--body);
  background:
    radial-gradient(900px 520px at 78% -8%, rgba(233,184,92,.13), transparent 60%),
    radial-gradient(700px 480px at -10% 30%, rgba(79,209,139,.06), transparent 60%),
    linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px) 0 0 / 16px 16px,
    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px) 0 0 / 16px 16px,
    var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: var(--gold); text-decoration: none; }
button { font: inherit; color: inherit; }
.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.pixel { font-family: var(--pixel); font-size: .78em; letter-spacing: 0; }
.mock-note {
  background: repeating-linear-gradient(135deg, #2a2412 0 12px, #241f10 12px 24px);
  color: #e8cf98; font-size: 13px; text-align: center; padding: 6px 16px;
}

/* header */
header.top {
  position: sticky; top: 0; z-index: 20;
  background: rgba(15,15,16,.82); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.top .wrap { display: flex; align-items: center; gap: 22px; height: 72px; }
.logo img { height: 40px; width: auto; }
.servers { display: flex; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 4px; gap: 4px; }
.servers button {
  display: flex; align-items: center; gap: 8px; border: 0; background: transparent; cursor: pointer;
  padding: 6px 12px 6px 8px; border-radius: 10px; font-weight: 700; font-size: 14px; color: var(--muted);
}
.servers button img { width: 26px; height: 26px; }
.servers button.on { background: var(--surface-2); color: var(--text); box-shadow: inset 0 0 0 1px #3a3833; }
.online { display: inline-flex; align-items: center; gap: 5px; font: 600 12px var(--body); color: var(--green); }
.online::before { content: ""; width: 7px; height: 7px; border-radius: 2px; background: var(--green); box-shadow: 0 0 8px var(--green); }
nav.main { display: flex; gap: 20px; margin-left: auto; font-weight: 600; font-size: 15px; }
nav.main a { color: var(--muted); }
nav.main a.on, nav.main a:hover { color: var(--text); }
.cart {
  display: flex; align-items: center; gap: 10px; padding: 6px 14px 6px 8px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px; font-weight: 800;
}
.cart img { width: 34px; height: 34px; }
.cart small { display: block; font: 600 11px var(--body); color: var(--muted); }

/* hero */
.hero { display: grid; grid-template-columns: 1.02fr 1fr; align-items: center; gap: 24px; padding: 56px 0 28px; }
.kicker { font: 400 11px/1.6 var(--pixel); color: var(--gold); text-transform: uppercase; letter-spacing: .12em; }
h1 { font: 800 clamp(38px, 5.4vw, 66px)/1.02 var(--display); margin: 14px 0 18px; letter-spacing: -.01em; }
h1 em { font-style: normal; background: linear-gradient(180deg, #ffd98a, #e9a93a); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: 18px; color: #cfc8bc; max-width: 520px; margin: 0 0 28px; }
.btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 0 24px;
  border-radius: 14px; border: 0; cursor: pointer; font: 800 16px var(--body);
}
.btn-gold {
  background: linear-gradient(180deg, #f2c674, var(--gold-press)); color: var(--on-gold);
  box-shadow: inset 0 -4px 0 rgba(0,0,0,.22), inset 0 2px 0 rgba(255,255,255,.35), 0 10px 30px -10px rgba(233,184,92,.6);
}
.btn-gold:active { transform: translateY(2px); box-shadow: inset 0 -2px 0 rgba(0,0,0,.22); }
.btn-ghost { background: var(--surface); color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.btn img { width: 26px; height: 26px; }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.chip {
  display: flex; align-items: center; gap: 10px; padding: 10px 14px; background: rgba(23,23,26,.8);
  border: 1px solid var(--line); border-radius: 14px; font-size: 14px; color: var(--muted);
}
.chip b { color: var(--text); font-weight: 800; }
.chip img { width: 28px; height: 28px; }
.chip button { border: 0; background: var(--surface-2); border-radius: 8px; padding: 4px 9px; font-size: 12px; font-weight: 700; cursor: pointer; color: var(--gold); }
.island { position: relative; }
.island img { width: 100%; filter: drop-shadow(0 40px 50px rgba(0,0,0,.55)); animation: float 7s ease-in-out infinite; }
.island::after {
  content: ""; position: absolute; inset: auto 12% -4% 12%; height: 50px; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(233,184,92,.25), transparent); filter: blur(6px); z-index: -1;
}
@keyframes float { 0%,100% { transform: translateY(0) } 50% { transform: translateY(-12px) } }
@keyframes bob { 0%,100% { transform: translateY(0) rotate(-1.5deg) } 50% { transform: translateY(-7px) rotate(1.5deg) } }

/* promo banner */
.promo {
  position: relative; overflow: hidden; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 22px;
  margin: 18px 0 8px; padding: 18px 26px 18px 18px; border-radius: var(--radius);
  background: linear-gradient(100deg, #3a0f17 0%, #22121a 45%, #17171a 100%); border: 1px solid #4a1d26;
}
.promo img { width: 92px; height: 92px; animation: bob 5s ease-in-out infinite; }
.promo h3 { margin: 0 0 4px; font: 800 22px var(--display); }
.promo p { margin: 0; color: #d8b8bd; }
.timer { display: flex; gap: 8px; }
.timer div { min-width: 58px; text-align: center; padding: 8px 6px; border-radius: 12px; background: rgba(0,0,0,.35); border: 1px solid #4a1d26; }
.timer b { display: block; font: 400 18px/1.2 var(--pixel); color: #ff8aa0; }
.timer span { font-size: 11px; color: #b99aa0; }

/* sections */
section { padding: 48px 0 8px; }
.sec-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 26px; flex-wrap: wrap; }
h2 { font: 800 clamp(26px, 3.2vw, 36px)/1.1 var(--display); margin: 0; }
.sub { color: var(--muted); margin: 8px 0 0; }

.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.step { display: flex; gap: 16px; align-items: center; padding: 20px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.step img { width: 64px; height: 64px; flex: none; }
.step b { display: block; font: 700 17px var(--display); margin-bottom: 2px; }
.step span { color: var(--muted); font-size: 14px; }
.step .n { font: 400 9px/2 var(--pixel); color: var(--gold); }

.tabs { display: flex; gap: 6px; background: var(--surface); border: 1px solid var(--line); padding: 5px; border-radius: 14px; }
.tabs button { border: 0; background: none; padding: 9px 16px; border-radius: 10px; font-weight: 700; color: var(--muted); cursor: pointer; display: flex; gap: 8px; align-items: center; }
.tabs button img { width: 22px; height: 22px; }
.tabs button.on { background: var(--gold); color: var(--on-gold); }

/* rank cards */
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 86px 18px; padding-top: 60px; }
.card {
  --c: #fff;
  position: relative; display: flex; flex-direction: column; padding: 86px 18px 18px; border-radius: var(--radius);
  background:
    radial-gradient(240px 150px at 50% 0%, color-mix(in srgb, var(--c) 24%, transparent), transparent 70%),
    linear-gradient(180deg, #1b1b1f, #151517);
  border: 1px solid var(--line); transition: transform .25s, border-color .25s, box-shadow .25s;
}
.card::before { content: ""; position: absolute; inset: 0 22% auto; height: 2px; background: linear-gradient(90deg, transparent, var(--c), transparent); }
.card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--c) 45%, var(--line)); box-shadow: 0 24px 50px -24px color-mix(in srgb, var(--c) 55%, transparent); }
.card .emb { position: absolute; left: 50%; top: -58px; width: 132px; height: 132px; margin-left: -66px; animation: bob 5.5s ease-in-out infinite; filter: drop-shadow(0 16px 16px rgba(0,0,0,.5)); transition: transform .3s; }
.card:hover .emb { transform: translateY(-6px) rotate(6deg) scale(1.04); animation-play-state: paused; }
.card h3 { margin: 0; text-align: center; font: 800 22px var(--display); color: var(--c); }
.prefix { text-align: center; margin: 8px 0 14px; font: 400 10px/1.9 var(--pixel); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; background: rgba(0,0,0,.35); border-radius: 8px; padding: 5px 8px; }
.badge { position: absolute; top: 14px; right: 14px; font: 400 9px/1.6 var(--pixel); padding: 3px 8px; border-radius: 6px; text-transform: uppercase; letter-spacing: .06em; }
.badge.hit { background: var(--gold); color: var(--on-gold); }
.badge.sale { background: var(--ruby); color: #fff; }
.feats { list-style: none; margin: 0 0 16px; padding: 0; display: grid; gap: 8px; font-size: 14px; color: #d6d0c5; flex: 1; }
.feats li { display: flex; gap: 9px; align-items: center; }
.feats img { width: 20px; height: 20px; flex: none; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); background: #111113; border: 1px solid var(--line); border-radius: 12px; padding: 3px; margin-bottom: 14px; }
.seg button { border: 0; background: none; border-radius: 9px; padding: 7px 0; font-size: 13px; font-weight: 700; color: var(--muted); cursor: pointer; }
.seg button.on { background: var(--surface-2); color: var(--text); box-shadow: inset 0 0 0 1px #3d3a34; }
.price { display: flex; align-items: baseline; gap: 10px; margin-bottom: 2px; }
.price b { font: 800 28px var(--display); color: var(--gold); }
.price s { color: #7e786f; font-size: 15px; }
.per { font-size: 12px; color: var(--muted); min-height: 18px; margin-bottom: 12px; }
.mine { font-size: 12px; color: var(--green); margin: -4px 0 10px; min-height: 18px; }
.card .btn { width: 100%; min-height: 46px; }
.more { text-align: center; margin-top: 26px; }

/* rubies */
.rubies { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.rub { position: relative; padding: 22px 18px 18px; border-radius: var(--radius); background: linear-gradient(180deg, #1f1416, #161517); border: 1px solid #3a2226; text-align: center; }
.rub img { width: 110px; height: 110px; margin: 0 auto 8px; animation: bob 6s ease-in-out infinite; }
.rub b { display: block; font: 800 24px var(--display); }
.rub .bonus { display: inline-block; margin: 6px 0 12px; font: 400 9px/1.8 var(--pixel); color: #ff8aa0; background: rgba(224,49,75,.14); padding: 2px 8px; border-radius: 6px; }
.rub .btn { width: 100%; min-height: 44px; }

/* compare */
.compare { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { width: 100%; border-collapse: collapse; min-width: 720px; }
th, td { padding: 13px 16px; text-align: center; border-bottom: 1px solid var(--line); font-size: 15px; }
th:first-child, td:first-child { text-align: left; position: sticky; left: 0; background: var(--surface); color: #d6d0c5; }
thead th { font: 800 15px var(--display); background: #1b1b1f; }
thead th img { width: 46px; height: 46px; margin: 0 auto 4px; }
td img { width: 24px; height: 24px; margin: 0 auto; }
tbody tr:last-child td { border-bottom: 0; }

/* checkout */
.checkout { display: grid; grid-template-columns: 1fr 360px; gap: 20px; align-items: start; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.panel + .panel { margin-top: 16px; }
.panel h4 { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; font: 700 18px var(--display); }
.panel h4 .num { display: inline-grid; place-items: center; width: 30px; height: 30px; border-radius: 9px; background: var(--surface-2); color: var(--gold); font: 400 12px var(--pixel); box-shadow: inset 0 0 0 1px #3d3a34; }
label.f { display: block; font-size: 13px; color: var(--muted); margin-bottom: 6px; font-weight: 600; }
.input {
  display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 14px; border-radius: 12px;
  background: #111113; border: 1px solid #34322d; font-size: 16px;
}
.input.ok { border-color: color-mix(in srgb, var(--green) 55%, #34322d); box-shadow: 0 0 0 3px rgba(79,209,139,.10); }
.input .val { flex: 1; font-family: var(--pixel); font-size: 14px; }
.input img { width: 26px; height: 26px; }
.found { display: flex; gap: 12px; align-items: center; margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: rgba(79,209,139,.08); border: 1px solid rgba(79,209,139,.25); font-size: 14px; }
.found img { width: 40px; height: 40px; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 16px; }
.toggle { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 12px; background: #111113; border: 1px solid #34322d; font-weight: 600; font-size: 14px; }
.toggle i { width: 42px; height: 24px; border-radius: 8px; background: #2c2a26; position: relative; flex: none; }
.toggle i::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 5px; background: #8d877e; }
.toggle img { width: 26px; height: 26px; margin-left: auto; }
.calc { display: grid; gap: 2px; }
.calc div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px dashed #302e2a; font-size: 15px; }
.calc div span:last-child { font-weight: 700; white-space: nowrap; }
.calc .minus span:last-child { color: var(--green); }
.calc small { display: block; color: var(--muted); font-size: 12px; }
.calc .total { border-bottom: 0; padding-top: 14px; align-items: baseline; }
.calc .total span:first-child { font: 700 18px var(--display); }
.calc .total span:last-child { font: 800 30px var(--display); color: var(--gold); }
.promo-in { display: flex; gap: 10px; margin-top: 14px; }
.promo-in .input { flex: 1; height: 46px; }
.promo-in .input .val { font-size: 12px; }
.tagok { font-size: 13px; color: var(--green); font-weight: 700; display: flex; align-items: center; gap: 6px; }
.pays { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pay { padding: 14px; border-radius: 14px; background: #111113; border: 1px solid #34322d; cursor: pointer; position: relative; }
.pay.on { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(233,184,92,.14); }
.pay b { display: block; font-size: 15px; }
.pay span { font-size: 12px; color: var(--muted); }
.pay .logos { display: flex; gap: 5px; margin-top: 10px; flex-wrap: wrap; }
.pay .logos em { font: 700 10px var(--body); font-style: normal; padding: 3px 6px; border-radius: 5px; background: #23221f; color: #cfc8bc; }
.pay .dot { position: absolute; top: 12px; right: 12px; width: 18px; height: 18px; border-radius: 6px; border: 2px solid #4a4740; }
.pay.on .dot { border-color: var(--gold); background: radial-gradient(circle, var(--gold) 0 4px, transparent 5px); }
.checks { display: grid; gap: 10px; margin: 16px 0 18px; font-size: 14px; color: #d6d0c5; }
.checks label { display: flex; gap: 10px; align-items: flex-start; }
.checks i { width: 20px; height: 20px; border-radius: 6px; border: 2px solid #4a4740; flex: none; margin-top: 1px; }
.checks i.on { background: var(--gold); border-color: var(--gold); position: relative; }
.checks i.on::after { content: ""; position: absolute; left: 5px; top: 1px; width: 5px; height: 10px; border: solid var(--on-gold); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.pay-btn { width: 100%; min-height: 58px; font-size: 18px; }
.secure { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 12px; font-size: 12px; color: var(--muted); }
.secure img { width: 20px; height: 20px; }
.summary { position: sticky; top: 92px; text-align: center; }
.summary .emb { width: 150px; height: 150px; margin: -6px auto 4px; animation: bob 5.5s ease-in-out infinite; }
.summary h3 { margin: 0; font: 800 24px var(--display); color: #f070f0; }
.summary dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 12px; text-align: left; margin: 18px 0 0; font-size: 14px; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; text-align: right; font-weight: 700; }
.summary .sum { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: baseline; }
.summary .sum b { font: 800 26px var(--display); color: var(--gold); }

/* order status */
.order { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.order .panel { position: relative; overflow: hidden; }
.ordno { font: 400 11px var(--pixel); color: var(--muted); }
.ordno b { color: var(--text); font-size: 17px; margin-left: 8px; }
.timeline { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 0; }
.timeline li { display: grid; grid-template-columns: 40px 1fr auto; gap: 12px; align-items: center; padding: 10px 0; position: relative; }
.timeline li img { width: 34px; height: 34px; }
.timeline li::before { content: ""; position: absolute; left: 19px; top: -10px; height: 20px; width: 2px; background: var(--green); }
.timeline li:first-child::before { display: none; }
.timeline li.wait::before { background: #3d3a34; }
.timeline li b { display: block; font-size: 15px; }
.timeline li span { font-size: 13px; color: var(--muted); }
.timeline li time { font: 400 10px var(--pixel); color: var(--muted); }
.timeline li.wait b { color: var(--gold); }
.track { position: relative; height: 96px; margin: 22px -22px -22px; border-top: 1px solid var(--line); background: linear-gradient(180deg, #121214, #0d0d0e); overflow: hidden; }
.rails { position: absolute; left: 0; right: 0; bottom: 18px; height: 14px; background:
  linear-gradient(#8e8a83, #8e8a83) 0 0 / 100% 3px no-repeat,
  linear-gradient(#6a665f, #6a665f) 0 100% / 100% 3px no-repeat,
  repeating-linear-gradient(90deg, #6b4a2b 0 10px, transparent 10px 26px); }
.cart-run { position: absolute; bottom: 26px; width: 70px; height: 70px; animation: run 6s linear infinite; }
@keyframes run { from { left: -80px } to { left: 100% } }
.waiting { display: flex; gap: 14px; align-items: center; padding: 14px; border-radius: 14px; background: rgba(233,184,92,.08); border: 1px solid rgba(233,184,92,.25); margin-top: 14px; font-size: 14px; }
.waiting img { width: 46px; height: 46px; }

/* states */
.states { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.state { padding: 18px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); text-align: center; font-size: 14px; color: var(--muted); }
.state img { width: 64px; height: 64px; margin: 0 auto 10px; }
.state b { display: block; color: var(--text); font-size: 15px; margin-bottom: 4px; }

/* footer */
footer { margin-top: 64px; border-top: 1px solid var(--line); background: #0b0b0c; padding: 36px 0 90px; font-size: 14px; color: var(--muted); }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 28px; }
.foot h5 { margin: 0 0 12px; color: var(--text); font: 700 15px var(--display); }
.foot p { margin: 0 0 6px; }
.foot a { color: #d6d0c5; display: block; margin-bottom: 6px; }
.foot .logo img { height: 36px; margin-bottom: 14px; }
.paylogos { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 12px; }
.paylogos em { font-style: normal; font: 700 11px var(--body); padding: 5px 9px; border-radius: 6px; background: #1a1a1c; border: 1px solid var(--line); color: #cfc8bc; }
.age { display: inline-grid; place-items: center; width: 40px; height: 40px; border-radius: 10px; border: 2px solid #4a4740; font: 800 13px var(--display); color: #d6d0c5; margin-top: 12px; }
.legal { margin-top: 26px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 12px; }

/* mobile bar */
.mbar { display: none; }

@media (max-width: 1080px) {
  nav.main { display: none; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .rubies { grid-template-columns: repeat(2, 1fr); }
  .states { grid-template-columns: repeat(2, 1fr); }
  .checkout { grid-template-columns: 1fr; }
  .summary { position: static; }
  .cart { margin-left: auto; }
}
@media (max-width: 760px) {
  .top .wrap { height: 64px; gap: 10px; }
  .logo img { height: 30px; }
  .servers button { padding: 5px 8px 5px 5px; font-size: 13px; }
  .servers button .online { display: none; }
  .servers button img { width: 22px; height: 22px; }
  .cart { display: none; }
  .hero { grid-template-columns: 1fr; padding-top: 18px; gap: 4px; }
  .island { order: -1; margin: 0 -8px; }
  .lead { font-size: 16px; }
  .hero .btns { flex-direction: column; }
  .btns .btn { flex: 1; }
  h2 { font-size: 24px; }
  .promo { grid-template-columns: auto 1fr; padding: 14px; gap: 14px; }
  .promo img { width: 64px; height: 64px; }
  .promo h3 { font-size: 17px; }
  .promo p { font-size: 13px; }
  .timer { grid-column: 1 / -1; justify-content: space-between; }
  .timer div { flex: 1; }
  .steps { grid-template-columns: 1fr; }
  .grid { grid-template-columns: 1fr; gap: 72px; }
  .rubies { grid-template-columns: 1fr 1fr; gap: 10px; }
  .rub img { width: 80px; height: 80px; }
  .rub b { font-size: 19px; }
  .row2, .order, .foot { grid-template-columns: 1fr; }
  .pays { grid-template-columns: 1fr; }
  .tabs { overflow-x: auto; width: 100%; }
  .tabs button { white-space: nowrap; }
  .mbar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; gap: 12px; align-items: center;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); background: rgba(11,11,12,.94); backdrop-filter: blur(12px); border-top: 1px solid var(--line);
  }
  .mbar img { width: 40px; height: 40px; }
  .mbar div { flex: 1; font-size: 12px; color: var(--muted); }
  .mbar b { display: block; font: 800 18px var(--display); color: var(--text); }
  .mbar .btn { min-height: 46px; padding: 0 18px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---- Real pages (not in the mockup) ---- */
[hidden] { display: none !important; }
nav.servers { display: flex; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 4px; gap: 4px; }
nav.servers a { display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 8px; border-radius: 10px; font-weight: 700; font-size: 14px; color: var(--muted); }
nav.servers a img { width: 26px; height: 26px; }
nav.servers a.on { background: var(--surface-2); color: var(--text); box-shadow: inset 0 0 0 1px #3a3833; }
.cat + .cat { margin-top: 56px; }
.card a.btn { width: 100%; min-height: 46px; }
.rub-group { display: contents; }
.rub a.btn { width: 100%; min-height: 44px; }
.input input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; color: var(--text); font: inherit; }
.input input.val { font-family: var(--pixel); font-size: 14px; }
.input input.plain { font-family: var(--body); font-size: 16px; }
.input input::placeholder { color: #5f5a52; }
.input:focus-within { border-color: color-mix(in srgb, var(--gold) 60%, #34322d); }
.seg.wide { display: grid; grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); margin-bottom: 16px; }
.seg.wide button { display: grid; gap: 2px; padding: 8px 0; }
.seg.wide small { font-size: 11px; color: var(--gold); font-weight: 700; }
.toggle { cursor: pointer; }
.toggle input, .checks input, .pay input { position: absolute; opacity: 0; pointer-events: none; }
.toggle input:checked + i { background: rgba(233,184,92,.35); }
.toggle input:checked + i::after { left: 21px; background: var(--gold); }
.checks label { cursor: pointer; }
.checks input:checked + i { background: var(--gold); border-color: var(--gold); position: relative; }
.checks input:checked + i::after { content: ""; position: absolute; left: 5px; top: 1px; width: 5px; height: 10px; border: solid var(--on-gold); border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.checks input:focus-visible + i { outline: 2px solid var(--gold); outline-offset: 2px; }
.pay { display: block; }
.found.warn { background: rgba(233,184,92,.08); border-color: rgba(233,184,92,.3); }
.notes { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; font-size: 13px; color: #cfc8bc; }
.notes li::before { content: "› "; color: var(--gold); }
.err { color: var(--danger); font-weight: 600; margin: 10px 0; }
.err-inline { color: var(--danger); font-weight: 600; }
.tagok.bad { color: var(--danger); }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
.narrow { max-width: 760px; margin: 0 auto; padding-top: 40px; }
.doc .panel { line-height: 1.65; }
.doc h2 { font: 800 28px var(--display); margin: 0; }
.doc .panel h2 { font-size: 20px; margin: 22px 0 8px; }
.doc .panel h3 { font: 700 16px var(--display); margin: 18px 0 6px; }
.desc { text-align: left; font-size: 14px; color: #cfc8bc; margin-top: 14px; }
.desc ul { padding-left: 18px; }
.faq { display: grid; gap: 10px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq details div { color: #cfc8bc; margin-top: 8px; }
.order-page { max-width: 760px; margin: 0 auto; padding-top: 40px; }
.order-page .panel { position: relative; overflow: hidden; }
.order-page .timeline { margin-top: 0; }
.buy .sec-head { align-items: center; }
@media (max-width: 760px) {
  nav.servers a { padding: 5px 8px 5px 5px; font-size: 13px; }
  nav.servers a img { width: 22px; height: 22px; }
  nav.main { display: none; }
}
