:root {
  color-scheme: dark;
  --bg: #08090b;
  --surface: #101216;
  --surface-2: #16191f;
  --line: #292e37;
  --text: #f5f1e8;
  --muted: #969ca6;
  --gold: #d9aa45;
  --gold-bright: #f3cd72;
  --gold-soft: rgba(217, 170, 69, 0.13);
  --radius: 18px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 16px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, sans-serif;
}
a { color: var(--gold-bright); }
code { font: 0.92em ui-monospace, SFMono-Regular, Menlo, monospace; overflow-wrap: anywhere; }
h1, h2, h3 { line-height: 1.15; margin: 0 0 0.6rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.05rem; }
main, .top, footer { width: min(1120px, 100% - 32px); margin-inline: auto; }

.top {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0; border-bottom: 1px solid var(--line);
}
.brand { display: flex; gap: 12px; align-items: center; color: var(--text); text-decoration: none; }
.brand span { display: flex; flex-direction: column; line-height: 1.2; }
.brand small { color: var(--muted); text-transform: uppercase; letter-spacing: 0.12em; font-size: 0.7rem; }
.badge {
  border: 1px solid var(--gold); color: var(--gold-bright); background: var(--gold-soft);
  border-radius: 999px; padding: 4px 12px; font-size: 0.8rem; font-weight: 600;
}

section { margin: 40px 0; }
.hero {
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
  background:
    linear-gradient(90deg, rgba(8, 9, 11, 0.96) 0%, rgba(8, 9, 11, 0.82) 48%, rgba(8, 9, 11, 0.2) 100%),
    url("assets/icg-miner-hero.webp") center right / cover no-repeat;
}
.hero-text { padding: clamp(28px, 6vw, 64px); max-width: 640px; }
.eyebrow { color: var(--gold); text-transform: uppercase; letter-spacing: 0.16em; font-size: 0.75rem; font-weight: 700; margin: 0 0 12px; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
.lead { color: #d7d2c8; font-size: 1.08rem; margin: 0 0 24px; }
.countdown {
  display: inline-flex; flex-direction: column; gap: 2px;
  border: 1px solid rgba(217, 170, 69, 0.45); background: var(--gold-soft);
  border-radius: 14px; padding: 14px 18px;
}
.countdown-label { color: var(--gold); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; font-weight: 700; }
.countdown-value { font-size: 1.6rem; font-weight: 700; font-variant-numeric: tabular-nums; }
.countdown-date { color: var(--muted); font-size: 0.9rem; }

.official {
  border: 1px solid var(--gold); border-radius: var(--radius); padding: 24px;
  background: var(--surface);
}
.official dl { display: grid; gap: 10px; margin: 16px 0; }
.official dl div { display: grid; grid-template-columns: 120px 1fr; gap: 12px; align-items: baseline; }
.official dt { color: var(--muted); }
.official dd { margin: 0; }
.note { color: var(--muted); font-size: 0.92rem; }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.grid article { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.grid p { color: #cfcac0; margin: 0; font-size: 0.95rem; }

.shots { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; align-items: start; }
.shots figure { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.shots figure.wide { grid-column: 1 / -1; }
.shots figure.phone { max-width: 320px; }
.shots img { display: block; width: 100%; height: auto; }
.shots figcaption { padding: 10px 14px; color: var(--muted); font-size: 0.9rem; border-top: 1px solid var(--line); }

footer { border-top: 1px solid var(--line); padding: 24px 0 48px; color: var(--muted); font-size: 0.9rem; }

@media (max-width: 860px) {
  .grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .grid, .shots { grid-template-columns: 1fr; }
  .official dl div { grid-template-columns: 1fr; gap: 0; }
  .shots figure.phone { max-width: none; }
  .hero { background: linear-gradient(180deg, rgba(8, 9, 11, 0.7), rgba(8, 9, 11, 0.95)), url("assets/icg-miner-hero-700.webp") center / cover no-repeat; }
}
