:root {
  --bg: #070707;
  --surface: rgba(19, 18, 17, 0.82);
  --surface-strong: rgba(10, 10, 10, 0.94);
  --line: rgba(255, 255, 255, 0.12);
  --text: #f7f5f1;
  --muted: #b9b4ab;
  --orange: #ff5c24;
  --orange-light: #ff9a3d;
  --yellow: #ffc85a;
  --green: #23d366;
  --lime: #b9ff3b;
  --shadow: 0 30px 80px rgba(0, 0, 0, 0.42);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
input {
  font: inherit;
}

.page-shell {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  isolation: isolate;
  background:
    linear-gradient(90deg, #050505 0%, rgba(5, 5, 5, 0.97) 29%, rgba(5, 5, 5, 0.68) 49%, rgba(5, 5, 5, 0.04) 76%),
    linear-gradient(180deg, transparent 72%, #050505 100%),
    url("assets/hero-dg-black-friday.webp") center / cover no-repeat;
}

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

.ambient {
  position: absolute;
  z-index: -1;
  width: 32rem;
  height: 32rem;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(110px);
  opacity: 0.16;
}

.ambient-one {
  top: -18rem;
  left: -9rem;
  background: var(--orange);
}

.ambient-two {
  right: -12rem;
  bottom: -22rem;
  background: #d0220f;
}

.site-header,
.hero,
footer {
  width: min(100% - 48px, 1440px);
  margin-inline: auto;
}

.site-header {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 112px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.brand {
  display: inline-grid;
  place-items: center;
  width: 188px;
  height: 96px;
}

.brand img {
  width: 180px;
  height: 92px;
  object-fit: contain;
  filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.08));
}

.event-date {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 11px 16px;
  color: #ddd8cf;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(5, 5, 5, 0.54);
  backdrop-filter: blur(14px);
  font-size: 12px;
  letter-spacing: 0.08em;
}

.event-date strong {
  color: white;
}

.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff3f22;
  box-shadow: 0 0 0 6px rgba(255, 63, 34, 0.12), 0 0 18px #ff3f22;
  animation: pulse 1.7s ease-in-out infinite;
}

.hero {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
  min-height: calc(100svh - 172px);
  padding: 54px 0 60px;
}

.hero-content {
  width: min(100%, 720px);
}

.hero-intro {
  display: contents;
}

.black-friday-ticker {
  display: flex;
  align-items: stretch;
  width: min(100%, 680px);
  overflow: hidden;
  margin-bottom: 19px;
  border: 1px solid rgba(185, 255, 59, 0.76);
  border-radius: 6px;
  background: var(--lime);
  box-shadow: 0 10px 36px rgba(116, 255, 45, 0.15), inset 0 1px rgba(255, 255, 255, 0.55);
}

.ticker-title {
  position: relative;
  z-index: 2;
  display: flex;
  flex: none;
  align-items: center;
  padding: 0 13px;
  color: #071006;
  border-right: 2px solid rgba(7, 16, 6, 0.5);
  background: var(--lime);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.07em;
  white-space: nowrap;
}

.ticker-window {
  min-width: 0;
  overflow: hidden;
}

.ticker-track {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: ticker 18s linear infinite;
}

.ticker-track span {
  flex: none;
  padding: 9px 0;
  color: #071006;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.09em;
  line-height: 1;
  white-space: nowrap;
}

h1,
h2,
p {
  margin-top: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 20px;
  font-size: clamp(44px, 5.2vw, 78px);
  line-height: 0.94;
  letter-spacing: -0.057em;
  text-transform: uppercase;
  text-wrap: balance;
}

h1 span {
  display: block;
  color: transparent;
  background: linear-gradient(90deg, #ff4b22 0%, #ff7d29 44%, #ffc15a 100%);
  background-clip: text;
  -webkit-background-clip: text;
  filter: drop-shadow(0 10px 28px rgba(255, 83, 28, 0.18));
}

.hero-copy {
  max-width: 630px;
  margin-bottom: 22px;
  color: #c8c3ba;
  font-size: 17px;
  line-height: 1.62;
}

.hero-copy strong {
  color: white;
}

.benefits {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  padding: 0;
  margin: 0 0 24px;
  list-style: none;
  color: #d8d3ca;
  font-size: 13px;
}

.benefits li {
  display: flex;
  gap: 8px;
  align-items: center;
}

.benefits strong {
  color: white;
}

.check {
  display: inline-grid;
  place-items: center;
  width: 18px;
  height: 18px;
  color: #0a0a0a;
  border-radius: 50%;
  background: var(--lime);
  box-shadow: 0 0 16px rgba(185, 255, 59, 0.2);
  font-size: 11px;
  font-weight: 900;
}

.availability {
  max-width: 680px;
  padding: 17px 19px 15px;
  margin-bottom: 15px;
  border: 1px solid rgba(255, 116, 47, 0.25);
  border-radius: 15px;
  background: linear-gradient(110deg, rgba(255, 94, 36, 0.09), rgba(12, 12, 12, 0.82) 62%);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.05), 0 14px 34px rgba(0, 0, 0, 0.2);
  backdrop-filter: blur(16px);
}

.availability-head {
  display: flex;
  gap: 22px;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 13px;
}

.step-label {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 8px;
  color: #b8b4ac;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.step-label strong {
  padding: 4px 7px;
  color: #081006;
  border-radius: 4px;
  background: var(--orange-light);
  box-shadow: 0 0 16px rgba(255, 111, 43, 0.15);
  font-size: 8px;
  letter-spacing: 0.08em;
}

.availability h2 {
  margin-bottom: 0;
  font-size: 17px;
  letter-spacing: -0.02em;
}

.availability h2 span {
  color: var(--orange-light);
  font-size: 22px;
}

.progress-track {
  position: relative;
  height: 9px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
}

.progress-fill {
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #ff3c1f, #ff7629 65%, #ffba53);
  box-shadow: 0 0 22px rgba(255, 87, 31, 0.54);
}

.progress-fill::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.48), transparent);
  transform: translateX(-100%);
  animation: progress-shine 2.6s ease-in-out infinite 1.2s;
}

.availability > p {
  margin: 9px 0 0;
  color: #969087;
  font-size: 10px;
}

.lead-form {
  max-width: 680px;
  padding: 20px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 17px;
  background: linear-gradient(145deg, rgba(22, 22, 21, 0.92), rgba(8, 8, 8, 0.94));
  box-shadow: var(--shadow), inset 0 1px rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(18px);
}

.form-heading {
  display: flex;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.form-heading h2 {
  margin-bottom: 0;
  font-size: 18px;
  letter-spacing: -0.02em;
}

.form-heading .spots-badge {
  padding: 6px 9px;
  margin: 0;
  color: #ffb078;
  border: 1px solid rgba(255, 93, 36, 0.25);
  border-radius: 5px;
  background: rgba(255, 80, 20, 0.08);
  font-size: 8px;
  white-space: nowrap;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.form-grid label > span {
  display: block;
  margin: 0 0 6px 2px;
  color: #aaa49b;
  font-size: 10px;
  font-weight: 700;
}

.form-grid input {
  width: 100%;
  height: 46px;
  padding: 0 13px;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 9px;
  outline: 0;
  background: rgba(255, 255, 255, 0.055);
  font-size: 13px;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.form-grid input::placeholder {
  color: #77726b;
}

.form-grid input:focus {
  border-color: rgba(255, 112, 44, 0.72);
  background: rgba(255, 255, 255, 0.075);
  box-shadow: 0 0 0 3px rgba(255, 86, 29, 0.1);
}

.form-grid input[aria-invalid="true"] {
  border-color: #ff5d4e;
  background: rgba(255, 65, 51, 0.07);
  box-shadow: 0 0 0 3px rgba(255, 65, 51, 0.09);
}

.field-error {
  display: block;
  min-height: 0;
  margin: 5px 2px 0;
  color: #ff7568;
  font-size: 9px;
  font-weight: 650;
}

.field-error:empty {
  display: none;
}

.field.is-invalid {
  animation: field-shake 320ms ease;
}

.step-action {
  margin: 11px 1px 10px;
}

.form-action button {
  position: relative;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 52px;
  padding: 0 18px;
  overflow: hidden;
  color: #07100a;
  border: 0;
  border-radius: 9px;
  cursor: pointer;
  background: linear-gradient(100deg, #24d468, #55e17f);
  box-shadow: 0 15px 32px rgba(37, 211, 102, 0.2), inset 0 1px rgba(255, 255, 255, 0.45);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.04em;
  transition: transform 180ms ease, box-shadow 180ms ease, filter 180ms ease;
}

.form-action button::before {
  position: absolute;
  top: -40%;
  left: -30%;
  width: 18%;
  height: 180%;
  content: "";
  background: rgba(255, 255, 255, 0.5);
  filter: blur(8px);
  transform: skewX(-22deg);
  animation: button-shine 3.4s ease-in-out infinite 1.3s;
}

.form-action button:hover {
  filter: brightness(1.06);
  box-shadow: 0 18px 38px rgba(37, 211, 102, 0.28), inset 0 1px rgba(255, 255, 255, 0.45);
  transform: translateY(-2px);
}

.form-action button:active {
  transform: translateY(0);
}

.form-action button:disabled {
  cursor: wait;
  filter: grayscale(0.3);
  opacity: 0.72;
}

.form-action svg {
  width: 19px;
  height: 19px;
  fill: currentColor;
}

.button-arrow {
  margin-left: auto;
  font-size: 20px;
}

#form-message {
  min-height: 0;
  margin: 8px 2px 0;
  color: #ff8b7e;
  font-size: 10px;
}

#form-message:empty {
  display: none;
}

.privacy-note {
  max-width: 680px;
  margin: 8px 0 0;
  color: #69655f;
  font-size: 9px;
  text-align: center;
}

.hero-badge {
  position: absolute;
  right: 2%;
  bottom: 10%;
  display: grid;
  place-items: center;
  width: 104px;
  height: 104px;
  padding: 14px;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  background: rgba(8, 8, 8, 0.7);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35), inset 0 0 0 5px rgba(255, 255, 255, 0.025);
  backdrop-filter: blur(13px);
  transform: rotate(7deg);
  animation: badge-float 5s ease-in-out infinite;
}

.hero-badge span,
.hero-badge small {
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.16em;
}

.hero-badge strong {
  margin: -7px 0 -10px;
  color: var(--orange-light);
  font-size: 46px;
  line-height: 1;
}

footer {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  min-height: 60px;
  padding-top: 20px;
  color: #605c56;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 9px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  animation: reveal 750ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.reveal-one { animation-delay: 100ms; }
.reveal-two { animation-delay: 180ms; }
.reveal-three { animation-delay: 260ms; }
.reveal-four { animation-delay: 340ms; }
.reveal-five { animation-delay: 420ms; }
.reveal-six { animation-delay: 500ms; }

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes ticker {
  to { transform: translateX(-50%); }
}

@keyframes pulse {
  50% { opacity: 0.48; transform: scale(0.85); }
}

@keyframes progress-shine {
  0%, 25% { transform: translateX(-100%); }
  70%, 100% { transform: translateX(125%); }
}

@keyframes button-shine {
  0%, 45% { left: -30%; }
  70%, 100% { left: 125%; }
}

@keyframes badge-float {
  0%, 100% { transform: rotate(7deg) translateY(0); }
  50% { transform: rotate(4deg) translateY(-9px); }
}

@keyframes field-shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-4px); }
  75% { transform: translateX(4px); }
}

@media (max-width: 1100px) {
  .page-shell {
    background-position: 60% center;
  }

  .hero-content {
    width: min(100%, 640px);
  }

  .hero-badge {
    display: none;
  }
}

@media (max-width: 760px) {
  .page-shell {
    overflow: clip;
    background:
      linear-gradient(180deg, rgba(5, 5, 5, 0.06) 0%, rgba(5, 5, 5, 0.14) 23%, #060606 44%, #060606 100%),
      url("assets/hero-dg-black-friday.webp") 64% top / auto 47svh no-repeat,
      #060606;
  }

  .site-header,
  .hero,
  footer {
    width: min(100% - 30px, 680px);
  }

  .hero-content {
    display: flex;
    flex-direction: column;
  }

  .site-header {
    min-height: 82px;
  }

  .brand {
    width: 142px;
    height: 76px;
  }

  .brand img {
    width: 138px;
    height: 74px;
  }

  .event-date {
    padding: 9px 11px;
    font-size: 9px;
  }

  .event-date strong {
    display: none;
  }

  .hero {
    display: block;
    min-height: 0;
    padding: 38svh 0 44px;
  }

  .hero-intro {
    position: absolute;
    top: 22px;
    left: 0;
    z-index: 2;
    display: block;
    width: min(62vw, 242px);
  }

  .hero-intro::before {
    position: absolute;
    inset: -16px -18px -18px -15px;
    z-index: -1;
    content: "";
    pointer-events: none;
    background: linear-gradient(90deg, rgba(5, 5, 5, 0.88) 0%, rgba(5, 5, 5, 0.55) 64%, transparent 100%);
    filter: blur(5px);
  }

  .black-friday-ticker {
    width: 100%;
    margin-bottom: 12px;
  }

  .ticker-window {
    display: none;
  }

  .ticker-title {
    justify-content: center;
    width: 100%;
    padding: 10px 12px;
    border-right: 0;
    font-size: 15px;
    letter-spacing: 0.09em;
  }

  h1 {
    width: 92%;
    margin-bottom: 0;
    font-size: clamp(31px, 9vw, 38px);
    line-height: 0.94;
    letter-spacing: -0.052em;
    text-shadow: 0 3px 18px rgba(0, 0, 0, 0.7);
  }

  .hero-copy {
    order: 3;
    margin-bottom: 19px;
    font-size: 16px;
    line-height: 1.58;
  }

  .benefits {
    order: 4;
    display: grid;
    gap: 11px;
    margin-bottom: 24px;
    font-size: 15px;
  }

  .check {
    width: 22px;
    height: 22px;
    font-size: 13px;
  }

  .availability {
    order: 1;
    padding: 18px;
    margin-bottom: 16px;
  }

  .availability-head {
    align-items: center;
  }

  .availability h2 {
    font-size: 17px;
  }

  .availability h2 span {
    font-size: 24px;
  }

  .availability > p {
    margin-top: 11px;
    font-size: 12px;
    line-height: 1.45;
  }

  .availability-status {
    display: none;
  }

  .lead-form {
    order: 2;
    padding: 20px 17px;
    margin-bottom: 28px;
  }

  .form-heading h2 {
    font-size: 19px;
    line-height: 1.25;
  }

  .spots-badge {
    display: none !important;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 13px;
  }

  .form-grid label > span {
    margin-bottom: 7px;
    font-size: 12px;
  }

  .form-grid input {
    height: 52px;
    padding-inline: 14px;
    font-size: 15px;
  }

  .field-error {
    font-size: 11px;
    line-height: 1.35;
  }

  .step-label {
    gap: 9px;
    margin-bottom: 10px;
    font-size: 10px;
    line-height: 1.35;
  }

  .step-label strong {
    flex: none;
    padding: 5px 8px;
    font-size: 9px;
    white-space: nowrap;
  }

  .step-action {
    margin-top: 14px;
  }

  .form-action button {
    min-height: 58px;
    font-size: 13px;
  }

  .privacy-note {
    order: 5;
    font-size: 10px;
    line-height: 1.45;
  }

  footer {
    gap: 12px;
    min-height: 55px;
    font-size: 8px;
  }
}

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