:root {
  --bg: #050505;
  --plate: #0c0c0c;
  --ink: #f2f2f2;
  --muted: #9a9a9a;
  --silver: #c8c8c8;
  --silver-bright: #ececec;
  --silver-mid: #8f8f8f;
  --silver-deep: #4a4a4a;
  --line: rgba(200, 200, 200, 0.28);
  --display: "Bebas Neue", Impact, sans-serif;
  --body: "Outfit", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
html { background: var(--bg); }

body {
  min-height: 100dvh;
  color: var(--ink);
  font-family: var(--body);
  background: var(--bg);
  overflow-x: hidden;
}

.atmosphere {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(120% 70% at 50% -8%, rgba(220, 220, 220, 0.16), transparent 55%),
    radial-gradient(90% 50% at 50% 110%, rgba(90, 90, 90, 0.18), transparent 60%),
    linear-gradient(180deg, #121212 0%, #050505 48%, #000 100%);
}

.atmosphere::after {
  content: "";
  position: absolute;
  inset: 16% -20% auto;
  height: 42%;
  background: radial-gradient(ellipse at center, rgba(236, 236, 236, 0.07), transparent 68%);
  filter: blur(8px);
  animation: glow 7s ease-in-out infinite alternate;
}

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

.shell {
  position: relative;
  z-index: 2;
  width: min(440px, 100%);
  min-height: 100dvh;
  min-height: 100svh;
  margin: 0 auto;
  padding:
    max(20px, env(safe-area-inset-top))
    20px
    max(18px, env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
}

.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 0;
}

.mark {
  width: min(176px, 48vw);
  aspect-ratio: 1 / 1;
  margin: 0 0 22px;
  padding: 3px;
  border-radius: 50%;
  overflow: hidden;
  background:
    conic-gradient(from 200deg, #ffffff, #bdbdbd 34%, #5a5a5a 68%, #ffffff);
  box-shadow:
    0 0 0 1px rgba(232, 232, 232, 0.28),
    0 0 42px rgba(200, 200, 200, 0.16),
    0 22px 44px rgba(0, 0, 0, 0.55);
  animation: rise 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.mark img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
  background: #000;
}

.kicker {
  margin: 0;
  color: var(--silver);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  animation: rise 0.9s 0.08s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

h1 {
  margin: 10px 0 0;
  font-family: var(--display);
  font-size: clamp(46px, 12vw, 64px);
  font-weight: 400;
  letter-spacing: 0.04em;
  line-height: 0.92;
  color: var(--silver-bright);
  background: linear-gradient(180deg, #ffffff 10%, #cfcfcf 48%, #8d8d8d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 28px rgba(220, 220, 220, 0.18));
  animation: rise 0.9s 0.14s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.lead {
  margin: 14px 0 0;
  max-width: 34ch;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
  animation: rise 0.9s 0.2s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.cta {
  margin-top: 26px;
  width: min(100%, 340px);
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 14px;
  text-decoration: none;
  color: #0a0a0a;
  font-weight: 700;
  font-size: 16px;
  background: linear-gradient(180deg, #f3f3f3, #c8c8c8 52%, #8a8a8a);
  box-shadow:
    0 14px 34px rgba(180, 180, 180, 0.18),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
  animation:
    rise 0.9s 0.26s cubic-bezier(0.2, 0.8, 0.2, 1) both,
    pulse 2.8s 1.2s ease-in-out infinite;
}

.cta svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.cta:hover { filter: brightness(1.05); }
.cta:active { transform: translateY(1px) scale(0.99); }

.timer {
  margin-top: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  animation: rise 0.9s 0.32s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.timer__cell {
  min-width: 72px;
  padding: 10px 12px 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(18, 18, 18, 0.72);
  backdrop-filter: blur(8px);
}

.timer__cell strong {
  display: block;
  font-family: var(--display);
  font-size: 34px;
  line-height: 1;
  letter-spacing: 0.06em;
  color: var(--silver-bright);
}

.timer__cell span {
  display: block;
  margin-top: 4px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.timer__colon {
  font-family: var(--display);
  font-size: 28px;
  color: var(--silver);
  opacity: 0.75;
}

.foot {
  margin-top: 28px;
  text-align: center;
}

.legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 14px;
}

.legal button,
.legal a {
  appearance: none;
  border: 0;
  background: none;
  padding: 0;
  color: var(--muted);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
}

.legal button:hover,
.legal a:hover { color: var(--silver-bright); }

.copy,
.ads,
.ads-name {
  margin: 10px 0 0;
  color: #6e6e6e;
  font-size: 11px;
  line-height: 1.4;
}

.ads { margin-top: 8px; }
.ads-name { margin-top: 2px; }
.ads-name a { color: var(--silver); text-decoration: none; font-weight: 600; }

.sheet {
  width: min(92vw, 380px);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 20px 18px;
  background: #121212;
  color: var(--ink);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}

.sheet::backdrop {
  background: rgba(0, 0, 0, 0.72);
}

.sheet h2 {
  margin: 0;
  font-family: var(--display);
  font-size: 28px;
  letter-spacing: 0.04em;
  color: var(--silver-bright);
}

.sheet p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.sheet-close {
  margin-top: 18px;
  width: 100%;
  height: 46px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(180deg, #f3f3f3, #c8c8c8);
  color: #0a0a0a;
  font-family: var(--body);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 14px 34px rgba(180, 180, 180, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.55); }
  50% { box-shadow: 0 16px 42px rgba(230, 230, 230, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.65); }
}

@keyframes glow {
  from { opacity: 0.55; transform: translateY(0); }
  to { opacity: 1; transform: translateY(-10px); }
}

@media (prefers-reduced-motion: reduce) {
  .mark, .kicker, h1, .lead, .cta, .timer,
  .atmosphere::after { animation: none !important; }
}
