:root {
  --bg: #05060b;
  --panel: rgba(8, 8, 8, 0.94);
  --panel-2: rgba(10, 10, 10, 0.96);
  --border: rgba(255, 255, 255, 0.2);
  --text: #ffffff;
  --muted: #bcbcbc;
  --accent: #ffffff;
  --accent-strong: #f2f2f2;
  --glow: rgba(255, 255, 255, 0.18);
  --ok: #ffffff;
  --warn: #d9d9d9;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--bg);
  color: var(--text);
  font-family: "Space Grotesk", "Segoe UI", sans-serif;
}

.landing {
  width: 100%;
}

.hero {
  position: relative;
  min-height: 84vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 22px;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.08), transparent 45%),
    linear-gradient(120deg, rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.35)),
    url("https://images.unsplash.com/photo-1516849677043-ef67c9557e16?auto=format&fit=crop&w=2200&q=80")
      center center / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.45)),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.04) 0,
      rgba(255, 255, 255, 0.04) 1px,
      transparent 1px,
      transparent 60px
    );
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(900px, 100%);
  text-align: center;
  padding: clamp(20px, 3.8vw, 44px);
  border-radius: 0;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.9), rgba(0, 0, 0, 0.92));
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(3px);
}

.eyebrow {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 12px;
  color: var(--accent-strong);
}

h1 {
  margin: 10px 0 12px;
  font-family: "Sora", "Space Grotesk", sans-serif;
  font-size: clamp(28px, 5.1vw, 56px);
  line-height: 0.96;
  letter-spacing: -0.03em;
}

.hero-brand {
  margin: 8px 0 8px;
  font-family: "Sora", "Space Grotesk", sans-serif;
  font-size: clamp(52px, 10vw, 132px);
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
  text-transform: uppercase;
}

.hero-text {
  margin: 0 auto 24px;
  max-width: 760px;
  color: var(--muted);
  font-size: clamp(15px, 1.9vw, 21px);
  line-height: 1.55;
}

.countdown-shell {
  margin: 0 auto;
  max-width: 700px;
  padding: clamp(14px, 2.4vw, 20px);
  border-radius: 0;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(0, 0, 0, 0.88);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.countdown-label {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--accent-strong);
  font-size: 12px;
}

.countdown-value {
  margin: 6px 0 0;
  font-family: "Sora", "Space Grotesk", sans-serif;
  font-size: clamp(34px, 7vw, 80px);
  line-height: 0.95;
  font-weight: 800;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 25px var(--glow);
}

.countdown-target {
  margin: 10px 0 0;
  color: #dbe3ff;
  font-size: 15px;
}

.countdown-sub {
  margin: 6px 0 0;
  color: var(--warn);
  font-size: 14px;
}

.hero-links {
  margin: 14px auto 0;
  width: min(700px, 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(0, 0, 0, 0.92);
  padding: 8px 12px;
  width: 170px;
  border-radius: 0;
  font-size: 14px;
  font-weight: 600;
}

.icon-link:hover {
  border-color: rgba(255, 255, 255, 0.6);
}

.icon-link img {
  width: 16px;
  height: 16px;
  display: block;
}

.ca-wrap {
  margin: 20px auto 0;
  width: min(840px, 100%);
}

.ca-label {
  margin: 0 0 8px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-strong);
  font-size: 12px;
}

.ca-pill {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(0, 0, 0, 0.94);
  color: var(--text);
  border-radius: 0;
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  cursor: pointer;
}

.ca-pill:hover {
  border-color: rgba(145, 168, 255, 0.72);
}

.ca-pill code {
  font-size: clamp(15px, 2.1vw, 30px);
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.copy-icon {
  color: var(--accent-strong);
  font-size: 24px;
  line-height: 1;
}

.copy-toast {
  min-height: 18px;
  margin: 10px 0 0;
  color: var(--ok);
  font-size: 13px;
  opacity: 0;
  transition: opacity 120ms ease;
}

.copy-toast.show {
  opacity: 1;
}

.section {
  width: min(1240px, calc(100% - 28px));
  margin: 0 auto;
}

.section--stats {
  margin-top: 20px;
  position: relative;
  z-index: 2;
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  padding: 16px;
  border-radius: 0;
  border: 1px solid var(--border);
  background: var(--panel);
  backdrop-filter: blur(4px);
}

.card-label {
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-strong);
  font-size: 11px;
}

.card-value {
  margin: 8px 0 0;
  font-family: "Sora", "Space Grotesk", sans-serif;
  font-size: clamp(24px, 3.8vw, 42px);
  line-height: 1.06;
  letter-spacing: -0.01em;
}

#cycle-seconds-main {
  font-size: clamp(18px, 2.6vw, 28px);
  letter-spacing: 0;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.card-sub {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.content-grid {
  margin-top: 24px;
  margin-bottom: 38px;
  display: grid;
  gap: 18px;
  grid-template-columns: 1fr 1.18fr;
}

.panel {
  border: 1px solid var(--border);
  border-radius: 0;
  background: var(--panel-2);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.35);
}

.panel--copy {
  padding: clamp(18px, 3vw, 30px);
}

.panel--copy h2,
.panel--feed h2 {
  margin: 0;
  font-family: "Sora", "Space Grotesk", sans-serif;
  font-size: clamp(25px, 3.8vw, 38px);
}

.panel--copy p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.65;
}

.panel--copy strong {
  color: #f4f7ff;
}

.panel--feed {
  padding: clamp(18px, 3vw, 30px);
}

.feed-head {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: end;
}

.source-url {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  max-width: 52%;
  text-align: right;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.feed-grid {
  margin-top: 16px;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.feed-item {
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 0;
  background: rgba(0, 0, 0, 0.9);
}

.feed-item span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.feed-item strong {
  display: block;
  margin-top: 6px;
  font-family: "Sora", "Space Grotesk", sans-serif;
  font-size: clamp(20px, 2.4vw, 30px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 1080px) {
  .section--stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .content-grid {
    grid-template-columns: 1fr;
  }

  .source-url {
    max-width: 100%;
    text-align: left;
    white-space: normal;
  }
}

@media (max-width: 720px) {
  .hero {
    min-height: 76vh;
    padding: 22px 14px;
  }

  .hero-inner {
    border-radius: 0;
    padding: 18px;
  }

  .section {
    width: calc(100% - 18px);
  }

  .section--stats {
    margin-top: 14px;
    grid-template-columns: 1fr;
  }

  .hero-links {
    flex-direction: column;
  }

  .icon-link {
    width: min(240px, 100%);
  }

  .feed-grid {
    grid-template-columns: 1fr;
  }
}
