:root {
  --nvidia: #76b900;
  --nvidia-hot: #a7ff18;
  --ink: #efffec;
  --muted: #9eaa9b;
  --dim: #65705f;
  --panel: rgba(10, 15, 10, 0.72);
  --panel-strong: rgba(16, 24, 15, 0.86);
  --line: rgba(118, 185, 0, 0.24);
  --black: #020402;
  --font-display: "Russo One", system-ui, sans-serif;
  --font-body: "Chakra Petch", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html {
  min-height: 100%;
  background: var(--black);
}

body {
  min-height: 100vh;
  margin: 0;
  overflow-x: hidden;
  color: var(--ink);
  font-family: var(--font-body);
  background:
    radial-gradient(circle at 78% 16%, rgba(118, 185, 0, 0.2), transparent 30rem),
    radial-gradient(circle at 14% 80%, rgba(72, 116, 16, 0.22), transparent 26rem),
    linear-gradient(135deg, #020402 0%, #071007 46%, #020402 100%);
}

body::before {
  position: fixed;
  inset: 0;
  content: "";
  pointer-events: none;
  background:
    linear-gradient(rgba(118, 185, 0, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(118, 185, 0, 0.035) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, black, transparent 76%);
}

#matrix {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.42;
}

.noise {
  position: fixed;
  inset: 0;
  z-index: 5;
  pointer-events: none;
  opacity: 0.08;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 240 240' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.65'/%3E%3C/svg%3E");
  mix-blend-mode: screen;
}

.shell {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 56px;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px 0;
}

.brand,
.live-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
}

.brand span span { color: var(--nvidia-hot); }

.mark {
  width: 34px;
  height: 24px;
  border: 2px solid var(--nvidia);
  border-radius: 4px 14px 4px 14px;
  box-shadow: 0 0 24px rgba(118, 185, 0, 0.42), inset 8px 0 0 rgba(118, 185, 0, 0.5);
  transform: skewX(-12deg);
}

.live-link {
  min-height: 44px;
  padding: 0 16px;
  border: 1px solid rgba(118, 185, 0, 0.32);
  border-radius: 999px;
  background: rgba(118, 185, 0, 0.08);
  transition: border-color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.live-link:hover,
.live-link:focus-visible {
  border-color: rgba(167, 255, 24, 0.85);
  background: rgba(118, 185, 0, 0.16);
  box-shadow: 0 0 28px rgba(118, 185, 0, 0.22);
  transform: translateY(-1px);
  outline: none;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.78fr);
  align-items: center;
  gap: clamp(32px, 6vw, 76px);
  min-height: 510px;
  padding: 58px 0 34px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--nvidia-hot);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.pulse {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--nvidia-hot);
  box-shadow: 0 0 0 0 rgba(167, 255, 24, 0.72);
  animation: pulse 1.9s infinite;
}

h1 {
  max-width: 840px;
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3rem, 7.2vw, 6.9rem);
  line-height: 0.9;
  letter-spacing: -0.055em;
  text-transform: uppercase;
  text-wrap: balance;
}

h1 span {
  color: var(--nvidia-hot);
  text-shadow: 0 0 34px rgba(118, 185, 0, 0.62);
}

.lede {
  max-width: 680px;
  margin: 24px 0 0;
  color: #c5d2bf;
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 1.65;
}

.target-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  max-width: 680px;
  margin-top: 28px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(118, 185, 0, 0.14), rgba(255, 255, 255, 0.025));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), 0 20px 70px rgba(0,0,0,0.28);
  backdrop-filter: blur(18px);
}

.target-card .label,
.panel-header,
.progress-copy,
.tag {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.target-card strong {
  display: block;
  margin-top: 4px;
  font-size: clamp(1rem, 2vw, 1.26rem);
}

.tag {
  flex: 0 0 auto;
  padding: 9px 11px;
  border: 1px solid rgba(167, 255, 24, 0.26);
  border-radius: 999px;
  color: var(--nvidia-hot);
  background: rgba(118, 185, 0, 0.1);
}

.gpu-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 430px;
  isolation: isolate;
}

.gpu-stage::before {
  position: absolute;
  width: 82%;
  aspect-ratio: 1;
  content: "";
  border-radius: 50%;
  background: radial-gradient(circle, rgba(118,185,0,0.25), transparent 62%);
  filter: blur(22px);
}

.orbit {
  position: absolute;
  border: 1px solid rgba(118, 185, 0, 0.32);
  border-radius: 50%;
  transform: rotateX(68deg) rotateZ(-16deg);
}

.orbit::before {
  position: absolute;
  top: 8%;
  left: 50%;
  width: 10px;
  height: 10px;
  content: "";
  border-radius: 50%;
  background: var(--nvidia-hot);
  box-shadow: 0 0 22px var(--nvidia-hot);
}

.orbit-one {
  width: min(430px, 100%);
  aspect-ratio: 1;
  animation: orbit 10s linear infinite;
}

.orbit-two {
  width: min(510px, 112%);
  aspect-ratio: 1;
  opacity: 0.55;
  animation: orbit 16s linear infinite reverse;
}

.gpu-core {
  position: relative;
  width: min(310px, 74vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border: 1px solid rgba(167, 255, 24, 0.35);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 48%, rgba(167, 255, 24, 0.24), transparent 24%),
    radial-gradient(circle, #101910 0 42%, #050805 72%);
  box-shadow:
    inset 0 0 44px rgba(118,185,0,0.28),
    inset 0 0 8px rgba(255,255,255,0.12),
    0 0 90px rgba(118,185,0,0.3);
  overflow: hidden;
}

.gpu-core::before,
.gpu-core::after {
  position: absolute;
  inset: 11%;
  content: "";
  border: 1px dashed rgba(167,255,24,0.22);
  border-radius: 50%;
}

.gpu-core::after {
  inset: 23%;
  border-style: solid;
  opacity: 0.6;
}

.fan {
  position: relative;
  width: 68%;
  aspect-ratio: 1;
  border-radius: 50%;
  animation: spin 8s linear infinite;
}

.fan span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 46%;
  height: 18%;
  border-radius: 100% 20% 100% 20%;
  background: linear-gradient(90deg, rgba(167,255,24,0.38), rgba(255,255,255,0.03));
  transform-origin: 0 50%;
  filter: drop-shadow(0 0 8px rgba(118,185,0,0.44));
}

.fan span:nth-child(1) { transform: rotate(0deg) translateX(12%); }
.fan span:nth-child(2) { transform: rotate(60deg) translateX(12%); }
.fan span:nth-child(3) { transform: rotate(120deg) translateX(12%); }
.fan span:nth-child(4) { transform: rotate(180deg) translateX(12%); }
.fan span:nth-child(5) { transform: rotate(240deg) translateX(12%); }
.fan span:nth-child(6) { transform: rotate(300deg) translateX(12%); }

.core-light {
  position: absolute;
  width: 17%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--nvidia-hot);
  box-shadow: 0 0 22px var(--nvidia-hot), 0 0 80px rgba(118,185,0,0.9);
}

.countdown-panel {
  position: relative;
  margin-top: 8px;
  padding: clamp(18px, 3vw, 30px);
  border: 1px solid rgba(118, 185, 0, 0.28);
  border-radius: 30px;
  background: linear-gradient(180deg, rgba(13, 21, 11, 0.82), rgba(4, 7, 4, 0.76));
  box-shadow: 0 34px 100px rgba(0,0,0,0.5), inset 0 1px 0 rgba(255,255,255,0.08);
  overflow: hidden;
  backdrop-filter: blur(22px);
}

.countdown-panel::before {
  position: absolute;
  inset: -2px auto auto -10%;
  width: 120%;
  height: 1px;
  content: "";
  background: linear-gradient(90deg, transparent, var(--nvidia-hot), transparent);
  opacity: 0.9;
  animation: scan 4.8s ease-in-out infinite;
}

.panel-header,
.progress-copy {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

#status { color: var(--nvidia-hot); }

.timer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: clamp(10px, 2vw, 18px);
  margin-top: 22px;
}

.timer-grid article {
  position: relative;
  min-height: 156px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 18px;
  border: 1px solid rgba(118, 185, 0, 0.2);
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06), transparent),
    rgba(2,4,2,0.55);
  overflow: hidden;
}

.timer-grid article::after {
  position: absolute;
  right: -20%;
  bottom: -42%;
  width: 70%;
  aspect-ratio: 1;
  content: "";
  border-radius: 50%;
  background: radial-gradient(circle, rgba(118,185,0,0.24), transparent 64%);
}

.timer-grid strong {
  font-family: var(--font-display);
  font-size: clamp(2.9rem, 7vw, 5.8rem);
  line-height: 0.9;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  text-shadow: 0 0 22px rgba(118,185,0,0.28);
}

.timer-grid span {
  margin-top: 12px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.progress-wrap { margin-top: 24px; }

.progress {
  height: 10px;
  margin-top: 9px;
  border: 1px solid rgba(118, 185, 0, 0.2);
  border-radius: 999px;
  background: rgba(255,255,255,0.035);
  overflow: hidden;
}

.progress div {
  width: 0%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #315500, var(--nvidia), var(--nvidia-hot));
  box-shadow: 0 0 18px rgba(118,185,0,0.8);
  transition: width 900ms ease;
}

.intel-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 18px;
}

.intel-grid article {
  min-height: 168px;
  padding: 20px;
  border: 1px solid rgba(118, 185, 0, 0.18);
  border-radius: 24px;
  background: rgba(8, 12, 8, 0.62);
  backdrop-filter: blur(18px);
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.intel-grid article:hover {
  transform: translateY(-3px);
  border-color: rgba(167, 255, 24, 0.4);
  background: rgba(12, 19, 10, 0.72);
}

.icon {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(167, 255, 24, 0.28);
  border-radius: 14px;
  color: var(--nvidia-hot);
  background: rgba(118, 185, 0, 0.09);
  font-weight: 700;
}

.intel-grid h2 {
  margin: 18px 0 8px;
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.intel-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.58;
}

@keyframes pulse {
  70% { box-shadow: 0 0 0 14px rgba(167, 255, 24, 0); }
  100% { box-shadow: 0 0 0 0 rgba(167, 255, 24, 0); }
}

@keyframes spin { to { transform: rotate(360deg); } }

@keyframes orbit {
  to { transform: rotateX(68deg) rotateZ(344deg); }
}

@keyframes scan {
  0%, 100% { transform: translateX(-18%); opacity: 0; }
  12%, 82% { opacity: 1; }
  50% { transform: translateX(18%); }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
    padding-top: 42px;
  }

  .gpu-stage {
    min-height: 330px;
    order: -1;
  }

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

@media (max-width: 620px) {
  .shell { width: min(100% - 24px, 1180px); }
  .topbar { align-items: flex-start; flex-direction: column; }
  .hero { padding-top: 28px; }
  .target-card { align-items: flex-start; flex-direction: column; }
  .timer-grid { grid-template-columns: repeat(2, 1fr); }
  .timer-grid article { min-height: 132px; }
  .gpu-stage { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }

  #matrix { display: none; }
}
