:root {
  --giveaway-bg: #070706;
  --giveaway-panel: #11110f;
  --giveaway-panel-2: #191916;
  --giveaway-text: #f5f4ed;
  --giveaway-muted: #a8a79f;
  --giveaway-line: rgba(220, 216, 190, .18);
  --giveaway-lavender: #ff9853;
  --giveaway-accent: #d9ff3f;
  --giveaway-danger: #ff6a64;
  --giveaway-radius: 12px;
}

.giveaway-page {
  min-height: 100dvh;
  color: var(--giveaway-text);
  background:
    linear-gradient(rgba(184, 167, 240, .035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(184, 167, 240, .035) 1px, transparent 1px),
    radial-gradient(circle at 76% 8%, rgba(108, 43, 217, .34), transparent 30rem),
    var(--giveaway-bg);
  background-size: 96px 96px, 96px 96px, auto, auto;
}

.paid-event-page {
  background: #070706;
}

.event-ended {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 18px;
  border-bottom: 1px solid #342319;
  color: #d6b59f;
  background: #17100c;
  font-size: 13px;
  text-align: center;
}
.event-ended strong { color: #ff9853; }

.giveaway-topbar { min-height: 72px; padding-block: 0; }
.giveaway-topbar .nav { align-items: center; }
.event-nav {
  padding: 9px 14px;
  border-radius: 999px;
  color: #121604;
  background: var(--giveaway-accent);
  font-weight: 900;
}
.event-nav:hover { color: #121604 !important; transform: translateY(-1px); }
.event-nav:active { transform: translateY(1px); }
.event-nav[hidden] { display: none !important; }
.giveaway-home {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0 16px;
  border: 1px solid var(--giveaway-line);
  border-radius: 999px;
  color: var(--giveaway-text);
  background: rgba(255, 255, 255, .04);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}

.giveaway-shell {
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: 34px clamp(18px, 5vw, 72px) 80px;
}

.giveaway-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
  color: var(--giveaway-muted);
  font-family: ui-monospace, "SFMono-Regular", Consolas, monospace;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.giveaway-status__live { display: flex; align-items: center; gap: 9px; color: var(--giveaway-accent); }
.giveaway-status__live i { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
[data-giveaway-state="expired"] .giveaway-status__live,
[data-giveaway-state="sold_out"] .giveaway-status__live { color: var(--giveaway-danger); }

.giveaway-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(330px, .75fr);
  align-items: stretch;
  gap: 18px;
}
.giveaway-hero__media {
  position: relative;
  min-height: 545px;
  overflow: hidden;
  border: 1px solid var(--giveaway-line);
  border-radius: var(--giveaway-radius);
  background: #0b0613;
}
.giveaway-hero__media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .62; }
.giveaway-hero__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 1, 15, .98), rgba(6, 1, 15, .68) 54%, rgba(6, 1, 15, .12)),
    linear-gradient(0deg, rgba(6, 1, 15, .82), transparent 62%);
}
.giveaway-hero__copy {
  position: relative;
  z-index: 1;
  min-height: 545px;
  max-width: 650px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(32px, 5vw, 68px);
}
.giveaway-kicker {
  margin: 0 0 17px;
  color: var(--giveaway-accent);
  font: 700 11px ui-monospace, "SFMono-Regular", Consolas, monospace;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.giveaway-hero h1 {
  max-width: 610px;
  margin: 0;
  font-size: clamp(48px, 6.2vw, 94px);
  line-height: .9;
  letter-spacing: -.052em;
  font-weight: 1000;
}
.giveaway-hero h1 span { color: var(--giveaway-accent); }
.event-facts { display: flex; flex-wrap: wrap; gap: 8px; }
.event-facts span { padding: 10px 12px; border: 1px solid #4a3a2d; color: #d9d0c7; background: #130f0b; font-size: 12px; }
.event-facts b { color: #fff; }
.event-buy { min-height: 545px; }
.event-buy__label { margin: 0; color: var(--giveaway-muted); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.event-price { margin: 18px 0 2px !important; font-size: 52px !important; letter-spacing: -.045em; }
.event-price-note { margin: 0; color: var(--giveaway-muted); font-size: 12px; }
.event-stock { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 27px 0; padding: 16px 0; border-block: 1px solid var(--giveaway-line); font-size: 13px; }
.event-stock strong { color: var(--giveaway-accent); }
.event-quantity-label { margin-bottom: 8px; color: var(--giveaway-muted); font-size: 12px; }
.event-quantity { min-height: 50px; display: grid; grid-template-columns: 48px 1fr 48px; border: 1px solid var(--giveaway-line); }
.event-quantity button, .event-quantity output { display: grid; place-items: center; border: 0; color: var(--giveaway-text); background: var(--giveaway-panel-2); font-size: 20px; }
.event-quantity output { border-inline: 1px solid var(--giveaway-line); font-weight: 900; }
.event-quantity button:disabled { opacity: .35; cursor: not-allowed; }
.event-anonymous { display: grid; gap: 6px; margin-top: 20px; padding: 14px; border: 1px solid var(--giveaway-line); color: var(--giveaway-muted); font-size: 12px; line-height: 1.45; }
.event-anonymous strong { color: var(--giveaway-text); }
.event-total { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; margin-top: auto; padding: 24px 0 4px; }
.event-total span { color: var(--giveaway-muted); font-size: 12px; }
.event-total strong { font-size: 27px; }
.event-reserve-note { margin: 8px 0 0; color: #77766f; font-size: 10px; line-height: 1.45; text-align: center; }
.giveaway-rule a { color: var(--giveaway-accent); }
.giveaway-lead { max-width: 500px; margin: 25px 0 30px; color: #ddd6eb; font-size: 18px; line-height: 1.5; }
.giveaway-deadline { display: flex; align-items: center; gap: 14px; }
.giveaway-deadline strong { font-size: 24px; }
.giveaway-deadline span { max-width: 190px; color: var(--giveaway-muted); font-size: 13px; line-height: 1.35; }

.claim-panel {
  display: flex;
  flex-direction: column;
  padding: 28px;
  border: 1px solid var(--giveaway-line);
  border-radius: var(--giveaway-radius);
  background: linear-gradient(155deg, rgba(25, 22, 34, .98), rgba(12, 8, 20, .98));
  box-shadow: 0 30px 90px rgba(4, 1, 10, .3);
}
.claim-panel__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.claim-panel h2 { margin: 0; font-size: 27px; line-height: 1.05; }
.claim-stock { color: var(--giveaway-accent); font-weight: 900; text-align: right; white-space: nowrap; }
.claim-stock b { font-size: 18px; }
.claim-stock small { display: block; color: var(--giveaway-muted); font-size: 10px; font-weight: 600; }
.resource-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 28px 0; }
.resource-item {
  min-width: 0;
  padding: 14px 8px;
  border: 1px solid var(--giveaway-line);
  border-radius: var(--giveaway-radius);
  background: rgba(255, 255, 255, .035);
  text-align: center;
}
.resource-item img { width: 38px; height: 38px; object-fit: contain; }
.resource-item strong { display: block; margin-top: 8px; font-size: 14px; }
.resource-item small { color: var(--giveaway-muted); font-size: 10px; }
.claim-steps { display: grid; gap: 15px; margin: 0 0 24px; padding: 0; list-style: none; counter-reset: claim-step; }
.claim-steps li { position: relative; min-height: 30px; padding: 4px 0 0 42px; color: #d8d1e5; font-size: 14px; line-height: 1.35; counter-increment: claim-step; }
.claim-steps li::before {
  content: counter(claim-step);
  position: absolute;
  top: 0;
  left: 0;
  width: 29px;
  height: 29px;
  display: grid;
  place-items: center;
  border: 1px solid var(--giveaway-lavender);
  border-radius: 50%;
  color: var(--giveaway-lavender);
  font-weight: 900;
}
.platform-alert {
  margin: auto 0 0;
  padding: 13px;
  border: 1px solid rgba(255, 106, 100, .24);
  border-radius: var(--giveaway-radius);
  color: #ffd0cd;
  background: rgba(255, 106, 100, .08);
  font-size: 12px;
  line-height: 1.45;
}
.claim-button {
  width: 100%;
  min-height: 50px;
  margin-top: 13px;
  padding: 0 20px;
  border: 0;
  border-radius: 999px;
  color: #111502;
  background: var(--giveaway-accent);
  font-weight: 950;
  font-size: 15px;
  white-space: nowrap;
  transition: transform .2s ease, opacity .2s ease;
}
.claim-button:hover:not(:disabled) { transform: translateY(-1px); }
.claim-button:active:not(:disabled) { transform: translateY(1px) scale(.99); }
.claim-button:disabled { cursor: not-allowed; opacity: .45; }
.claim-message { min-height: 18px; margin: 9px 0 0; color: var(--giveaway-muted); font-size: 12px; text-align: center; }

.account-result { margin-top: 18px; padding: 18px; border: 1px solid rgba(217, 255, 63, .3); border-radius: var(--giveaway-radius); background: rgba(217, 255, 63, .055); }
.account-result__head { display: flex; justify-content: space-between; gap: 12px; }
.account-result__head small { color: var(--giveaway-accent); }
.account-result__head h3 { margin: 3px 0 0; }
.account-result__head > span { color: var(--giveaway-accent); font-weight: 900; }
.account-result dl { display: grid; gap: 10px; margin: 18px 0; }
.account-result dl > div { display: grid; gap: 6px; }
.account-result dt { color: var(--giveaway-muted); font-size: 11px; }
.account-result dd { display: flex; align-items: center; gap: 8px; margin: 0; }
.account-result code { min-width: 0; flex: 1; overflow-wrap: anywhere; color: var(--giveaway-text); }
.account-result button { padding: 7px 10px; border: 1px solid var(--giveaway-line); border-radius: 999px; color: var(--giveaway-text); background: var(--giveaway-panel-2); }
.account-balances { display: flex; flex-wrap: wrap; gap: 8px; }
.account-balances span { padding: 7px 9px; border-radius: var(--giveaway-radius); color: var(--giveaway-muted); background: var(--giveaway-panel-2); font-size: 11px; }
.account-balances b { color: var(--giveaway-text); }
.account-result > p { margin: 14px 0 0; color: var(--giveaway-muted); font-size: 12px; line-height: 1.45; }

.giveaway-details { display: grid; grid-template-columns: 1.05fr .95fr; gap: 18px; margin-top: 18px; }
.update-video, .giveaway-rules { overflow: hidden; border: 1px solid var(--giveaway-line); border-radius: var(--giveaway-radius); background: rgba(17, 16, 26, .92); }
.update-video { min-height: 260px; display: grid; grid-template-columns: 44% 56%; }
.update-video__media { position: relative; min-height: 260px; overflow: hidden; }
.update-video__media img { width: 100%; height: 100%; object-fit: cover; }
.update-video__media span {
  position: absolute;
  left: 50%;
  top: 50%;
  min-height: 44px;
  display: grid;
  place-items: center;
  padding: 0 18px;
  border-radius: 999px;
  color: #111502;
  background: var(--giveaway-accent);
  font-size: 13px;
  font-weight: 900;
  transform: translate(-50%, -50%);
}
.update-video__copy { display: flex; flex-direction: column; justify-content: center; padding: 28px; }
.update-video__copy h2, .giveaway-rules h2 { margin: 0; font-size: 25px; line-height: 1.2; }
.update-video__copy p { margin: 13px 0 0; color: var(--giveaway-muted); line-height: 1.5; }
.update-video__copy a { margin-top: 22px; color: var(--giveaway-accent); font-size: 14px; font-weight: 900; }
.giveaway-rules { padding: 28px; }
.giveaway-rule { display: grid; grid-template-columns: 34px 1fr; gap: 12px; margin-top: 18px; }
.giveaway-rule > b { width: 32px; height: 32px; display: grid; place-items: center; border-radius: var(--giveaway-radius); color: var(--giveaway-lavender); background: rgba(184, 167, 240, .1); font-size: 10px; }
.giveaway-rule strong { display: block; font-size: 14px; }
.giveaway-rule p { margin: 4px 0 0; color: var(--giveaway-muted); font-size: 13px; line-height: 1.4; }
.giveaway-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 28px clamp(18px, 5vw, 72px); border-top: 1px solid var(--giveaway-line); color: var(--giveaway-muted); }
.giveaway-footer p { margin: 0; font-size: 12px; }

button:focus-visible, a:focus-visible { outline: 3px solid var(--giveaway-accent); outline-offset: 3px; }

@media (prefers-reduced-motion: no-preference) {
  .giveaway-hero__media { animation: giveaway-enter .55s cubic-bezier(.16, 1, .3, 1) both; }
  .claim-panel { animation: giveaway-enter .55s .08s cubic-bezier(.16, 1, .3, 1) both; }
  @keyframes giveaway-enter { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
}

@media (max-width: 900px) {
  .giveaway-topbar .nav a:not(.event-nav) { display: none; }
  .giveaway-hero, .giveaway-details { grid-template-columns: 1fr; }
  .giveaway-hero__media, .giveaway-hero__copy { min-height: 500px; }
  .update-video { grid-template-columns: 1fr; }
  .update-video__media { min-height: 230px; }
}

@media (max-width: 560px) {
  .giveaway-topbar { min-height: 64px; }
  .giveaway-topbar .brand { font-size: 23px; }
  .giveaway-home { display: none; }
  .giveaway-status { align-items: flex-start; flex-direction: column; }
  .giveaway-shell { padding-top: 22px; }
  .giveaway-hero__copy { min-height: 480px; padding: 28px; }
  .giveaway-hero h1 { font-size: 52px; }
  .giveaway-lead { font-size: 16px; }
  .claim-panel, .update-video__copy, .giveaway-rules { padding: 22px; }
  .resource-grid { gap: 5px; }
  .resource-item strong { font-size: 12px; }
  .account-result dd { align-items: stretch; flex-direction: column; }
  .account-result button { align-self: flex-start; }
  .giveaway-footer { align-items: flex-start; flex-direction: column; }
  .event-ended { align-items: flex-start; flex-direction: column; gap: 2px; text-align: left; }
  .event-facts { display: grid; }
  .event-buy { min-height: 520px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
