/* =====================
   Font Korolev (placeholders)
   Replace the empty files in /fonts with your licensed Korolev font files.
   ===================== */
@font-face {
  font-family: 'Korolev';
  src: url('../fonts/korolev-regular.woff2') format('woff2'),
       url('../fonts/korolev-regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Korolev';
  src: url('../fonts/korolev-bold.woff2') format('woff2'),
       url('../fonts/korolev-bold.woff') format('woff');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #15181b;
  --surface: #1a1e22;
  --text: #eaeef2;
  --muted: #b6c0ca;
  --accent: #E96006;
  --cta: #E96006;
  --cta-hover: #ff7b2e;
  --badge: #0bd364;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Korolev', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.35;
}

img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
}

/* Wrapper grigio che copre tutta la larghezza */
.topbar-wrapper {
  width: 100%;
  background: #23262a; /* stesso colore grigio della testata */
  border-bottom: 1px solid rgba(255,255,255,.06);
}

/* Mantiene il contenuto centrato e con padding */
.topbar {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  max-width: 1200px;
  margin: 0 auto;
}
.topbar .logo img {
  height: 46px;
  width: auto;
}
.topbar .moved {
  color: var(--muted);
  font-size: 16px;
}
.topbar .moved strong { color: var(--text); margin-left: 6px; }

/* Layout: mobile-first order => copy, hero, actions */
.layout {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
    "copy"
    "hero"
    "actions";
  gap: 24px;
  align-items: start;
  padding: 40px 30px 64px;
}
.copy { grid-area: copy; }
.hero-figure { grid-area: hero; }
.actions { grid-area: actions; }

/* Badge */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  margin-bottom: 22px;
  font-size: 14px;
  width: auto;
}
.badge .dot {
  width: 10px;
  height: 10px;
  background: var(--badge);
  border-radius: 50%;
}
.badge .label { color: var(--text); }

/* Copy */
.copy h1 {
  font-size: 34px;
  line-height: 1.1;
  margin: 0 0 18px;
  letter-spacing: 0.2px;
}
.copy .accent { color: var(--accent); }
.copy .lead {
  color: #ffffff;
  font-size: 16px;
  margin: 0 0 10px;
}
.copy p {
  color:#ffffff;
  margin: 0 0 10px;
}
.copy strong { color: var(--text); }

/* Countdown + CTA */
.actions { display: flex; flex-direction: column; gap: 14px; }
.countdown-wrap {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.count-label { color: var(--muted); }
.count-number {
  font-size: 44px;
  font-weight: 700;
  letter-spacing: 1px;
}
.count-suffix { color: var(--muted); }

/* CTA */
.cta {
  display: inline-block;
  padding: 16px 22px;
  background: var(--cta);
  color: #111;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 700;
  text-align: center;
  transition: transform .08s ease, background .2s ease;
  box-shadow: 0 8px 24px rgba(232,109,34,0.35);
}
.cta:hover { background: var(--cta-hover); transform: translateY(-2px); }
.cta:active { transform: translateY(0); }

/* Illustration */
.hero-figure {
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-figure img {
  width: 92%;
  max-width: 720px;
  height: auto;
}

/* Desktop */
@media (min-width: 1024px) {
  .layout {
    grid-template-columns: 1.1fr 1fr;
    grid-template-areas:
      "copy hero"
      "actions hero";
    align-items: center;
    gap: 36px;
    padding: 60px 30px 120px;
  }
  .copy h1 {
    font-size: 56px;
    margin-bottom: 20px;
  }
  .copy .lead, .copy p { font-size: 15.5px; max-width: 620px; }
  .hero-figure { justify-content: flex-end; }
  .hero-figure img { width: 100%; max-width: 640px; }
}

/* Extra wide desktop for more breathing room */
@media (min-width: 1440px) {
  .layout { max-width: 1280px; }
  .copy h1 { font-size: 64px; }
}
