:root {
  --bg: #070707;
  --card: #121212;
  --ink: #f7f3ea;
  --muted: #b5b5b5;
  --gold: #e8c547;
  --gold-bright: #f6de7a;
  --silver: #d5d5d5;
  --line: rgba(232, 197, 71, 0.38);
}

* { box-sizing: border-box; }
html, body { margin: 0; }
body {
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: 28px 16px;
  color: var(--ink);
  font-family: Outfit, "Segoe UI", sans-serif;
  background:
    radial-gradient(520px 420px at 50% 42%, rgba(180, 140, 40, 0.16), transparent 70%),
    radial-gradient(2px 2px at 18% 22%, rgba(246, 222, 122, 0.45), transparent 2px),
    radial-gradient(2px 2px at 78% 16%, rgba(213, 213, 213, 0.35), transparent 2px),
    radial-gradient(1.5px 1.5px at 86% 72%, rgba(246, 222, 122, 0.3), transparent 2px),
    linear-gradient(180deg, #141414 0%, #070707 48%, #050505 100%);
}
body:before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(232, 197, 71, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(232, 197, 71, 0.07) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: radial-gradient(circle at 50% 45%, #000 10%, transparent 72%);
}
body:after {
  content: "";
  position: fixed;
  right: 0;
  bottom: 0;
  width: min(46vw, 280px);
  height: min(28vw, 170px);
  pointer-events: none;
  opacity: 0.55;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 280 160' fill='none'%3E%3Cpath d='M0 140 L40 118 L70 126 L110 78 L150 96 L190 46 L230 62 L280 18' stroke='%23e8c547' stroke-width='2'/%3E%3Cpath d='M190 46 L230 62 L280 18 V160 H0 V140' fill='%23e8c547' fill-opacity='0.08'/%3E%3C/svg%3E") right bottom / contain no-repeat;
}

.card {
  position: relative;
  z-index: 1;
  width: min(100%, 360px);
  margin: 0 auto;
  padding: 28px 22px 22px;
  text-align: center;
  background: linear-gradient(180deg, #161616 0%, #0c0c0c 100%);
  border: 1px solid rgba(232, 197, 71, 0.48);
  border-radius: 6px;
  box-shadow:
    0 0 0 1px rgba(0, 0, 0, 0.8),
    0 24px 60px rgba(0, 0, 0, 0.55),
    0 0 32px rgba(232, 197, 71, 0.1);
}
.kicker {
  margin: 0;
  color: #b5b5b5;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}
.avatar {
  width: 96px;
  height: 96px;
  margin: 18px auto 0;
  padding: 3px;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 40%, #f6de7a, #c9a227 62%, #8a7340 100%);
  box-shadow: 0 0 0 6px rgba(12, 12, 12, 0.7), 0 0 24px rgba(232, 197, 71, 0.28);
}
.avatar img {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  background: #050505;
}
h1 {
  margin: 16px 0 0;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.channel {
  margin: 6px 0 0;
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.rule {
  display: block;
  width: 42px;
  height: 1px;
  margin: 12px auto 0;
  background: rgba(232, 197, 71, 0.8);
}
.deck {
  margin: 14px auto 0;
  max-width: 30ch;
  color: var(--silver);
  font-size: 14.5px;
  font-weight: 400;
  line-height: 1.55;
}
.deck em {
  color: var(--gold-bright);
  font-style: italic;
  font-weight: 500;
}
.cta {
  width: 100%;
  margin-top: 18px;
  min-height: 48px;
  padding: 12px 16px;
  border: 0;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(90deg, #f6de7a 0%, #e8c547 48%, #c9a227 100%);
  color: #1a1408;
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(201, 162, 39, 0.32);
}
.cta svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}
.cta:hover { filter: brightness(1.05); }
.cta:focus-visible, .links button:focus-visible, .links a:focus-visible, .ads-name a:focus-visible {
  outline: 3px solid rgba(246, 222, 122, 0.55);
  outline-offset: 2px;
}
.tap {
  margin: 10px 0 0;
  color: #9a9a9a;
  font-size: 12px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  list-style: none;
  margin: 16px 0 0;
  padding: 14px 0 4px;
  border-top: 1px solid rgba(232, 197, 71, 0.24);
}
.countdown {
  grid-template-columns: 1fr auto 1fr;
  align-items: start;
}
.countdown p { margin: 0; }
.countdown .colon {
  padding-top: 0;
  color: var(--gold);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}
.live-join {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(232, 197, 71, 0.24);
}
.live-label {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  margin: 0 0 8px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.live-label i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #e11d2e;
  box-shadow: 0 0 0 0 rgba(225, 29, 46, 0.55);
  animation: livepulse 1.6s ease-out infinite;
}
@keyframes livepulse {
  70% { box-shadow: 0 0 0 6px rgba(225, 29, 46, 0); }
}
.live-feed {
  height: 28px;
  overflow: hidden;
}
.live-feed p {
  margin: 0;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--silver);
  font-size: 15px;
  line-height: 1;
  animation: fromBelow 0.55s ease;
}
.live-feed strong {
  color: var(--gold-bright);
  font-weight: 700;
}
@keyframes fromBelow {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: none; }
}
.stats strong {
  display: block;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.stats span {
  display: block;
  margin-top: 4px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.foot {
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(232, 197, 71, 0.24);
}
.links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 12px;
}
.links button, .links a {
  border: 0;
  padding: 0;
  background: none;
  color: #c4c4c4;
  font: inherit;
  font-size: 11px;
  text-decoration: none;
  cursor: pointer;
}
.copy, .ads, .ads-name {
  margin: 8px 0 0;
  color: #9a9a9a;
  font-size: 11px;
}
.ads {
  margin-top: 12px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
.ads-name { margin-top: 2px; }
.ads-name a {
  color: var(--gold);
  font-size: 13px;
  font-style: italic;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.sheet {
  width: min(340px, calc(100% - 28px));
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 22px 18px;
  color: var(--ink);
  background: #141414;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.45);
}
.sheet::backdrop { background: rgba(3, 10, 14, 0.72); }
.sheet h2 {
  margin: 0 0 8px;
  font-size: 22px;
  letter-spacing: -0.03em;
}
.sheet p {
  margin: 0 0 16px;
  color: var(--silver);
  font-size: 14px;
  line-height: 1.5;
  text-align: left;
}
.sheet .cta { margin-top: 0; }

@media (prefers-reduced-motion: reduce) {
  .live-label i, .live-feed p { animation: none; }
}
@media (max-width: 420px) {
  body { padding: 16px 12px; }
  .card { padding: 24px 16px 18px; }
  h1 { font-size: 26px; }
}
