:root {
  --bg: #050505;
  --ink: #f8f8f8;
  --muted: #a8a09a;
  --orange: #e67a3f;
  --orange-bright: #ff8f4a;
  --orange-deep: #c05828;
  --brown: #401800;
  --brown-deep: #2a1008;
  --line: rgba(230, 122, 63, 0.32);
  --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(230, 122, 63, 0.22), transparent 55%),
    radial-gradient(90% 50% at 50% 110%, rgba(64, 24, 0, 0.35), transparent 60%),
    linear-gradient(180deg, #120c09 0%, #050505 48%, #000 100%);
}

.atmosphere::after {
  content: "";
  position: absolute;
  inset: 16% -20% auto;
  height: 42%;
  background: radial-gradient(ellipse at center, rgba(255, 143, 74, 0.1), 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.18;
  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;
}

.mark {
  width: min(176px, 48vw);
  aspect-ratio: 1 / 1;
  margin: 0 0 22px;
  padding: 4px;
  border-radius: 50%;
  overflow: hidden;
  background:
    conic-gradient(from 210deg, var(--orange-bright), var(--brown) 42%, var(--orange-deep) 70%, var(--orange-bright));
  box-shadow:
    0 0 0 1px rgba(255, 143, 74, 0.35),
    0 0 48px rgba(230, 122, 63, 0.22),
    0 24px 48px 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(--orange);
  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(--ink);
  text-shadow: 0 0 40px rgba(230, 122, 63, 0.2);
  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: #140a05;
  font-weight: 700;
  font-size: 16px;
  background: linear-gradient(180deg, var(--orange-bright), var(--orange) 55%, var(--orange-deep));
  box-shadow:
    0 14px 34px rgba(230, 122, 63, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);
  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(20, 10, 5, 0.65);
  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(--orange-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(--orange);
  opacity: 0.8;
}

.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(--orange-bright); }

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

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

.sheet {
  width: min(92vw, 380px);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px 20px 18px;
  background: #140c08;
  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(--orange-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, var(--orange-bright), var(--orange));
  color: #140a05;
  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(230, 122, 63, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.28); }
  50% { box-shadow: 0 16px 42px rgba(255, 143, 74, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.35); }
}

@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; }
}
