@font-face {
  font-family: 'DM Sans';
  src: url('assets/fonts/DMSans-VariableFont.ttf') format('truetype');
  font-weight: 100 1000;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'DM Sans';
  src: url('assets/fonts/DMSans-Italic-VariableFont.ttf') format('truetype');
  font-weight: 100 1000;
  font-style: italic;
  font-display: swap;
}

:root {
  --pink: #ce2959;        /* brand pink — matches logo */
  --blush: #ffc9d2;       /* signature blush */
  --deep-rose: #6b1735;   /* body text on light */
  --cream: #fdf8f3;       /* header / footer bar */
  --white: #ffffff;
  --line-light: rgba(255, 255, 255, 0.18);
  --line-dark: rgba(206, 41, 89, 0.12);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--pink);
  color: var(--white);
  font-family: 'DM Sans', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: inherit;
  text-decoration: none;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ── Header ── */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  background: var(--cream);
  overflow: visible;
  border-bottom: 1px solid var(--line-dark);
}

.logo-link {
  display: inline-flex;
  align-items: center;
}

.logo-mark {
  height: 44px;
  width: auto;
  display: block;
}

nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

nav a {
  color: var(--pink);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: -0.005em;
  transition: opacity 0.18s ease;
}

nav a:hover {
  opacity: 0.6;
}

nav a.is-active {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 1.5px;
}

/* ── Hero ── */

.hero {
  min-height: calc(100vh - 40px);
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 72px 32px 72px;
  background: var(--pink);
}

.hero-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  max-width: 680px;
  text-align: center;
  width: 100%;
}

.eyebrow {
  margin: 0;
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.headline {
  margin: 0;
  color: var(--white);
  font-size: clamp(36px, 5.2vw, 64px);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.subhead {
  margin: 0;
  color: var(--white);
  font-size: clamp(15px, 1.4vw, 18px);
  font-weight: 500;
  line-height: 1.55;
  max-width: 480px;
}

/* ── Hero countdown ── */

.hero-countdown-wrap {
  width: 100%;
  border-bottom: 1px solid var(--line-light);
  padding-bottom: 56px;
  margin-bottom: 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.hero-drop-label {
  margin: 0 0 18px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-countdown-wrap .countdown {
  margin: 0 0 10px;
}

.hero-countdown-wrap .countdown-num {
  color: var(--white);
  font-size: clamp(52px, 7.5vw, 96px);
}

.hero-countdown-wrap .countdown-label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 11px;
  letter-spacing: 0.14em;
}

.hero-countdown-wrap .countdown-sep {
  color: rgba(255, 255, 255, 0.4);
  font-size: clamp(36px, 5vw, 64px);
}

.hero-countdown-wrap .countdown-note {
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

/* ── Form ── */

form {
  display: flex;
  width: min(440px, 100%);
  gap: 8px;
  margin-top: 14px;
}

input {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 0 22px;
  color: var(--deep-rose);
  background: var(--white);
  font: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

input::placeholder {
  color: rgba(107, 23, 53, 0.4);
}

input:focus {
  border-color: var(--white);
  box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.3);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 28px;
  border: none;
  border-radius: 999px;
  color: var(--pink);
  background: var(--white);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: -0.005em;
  cursor: pointer;
  white-space: nowrap;
  -webkit-appearance: none;
  appearance: none;
  transition: background 0.18s ease, color 0.18s ease, opacity 0.18s ease;
}

.button:hover {
  background: var(--cream);
}

.button:disabled {
  opacity: 0.38;
  cursor: not-allowed;
}

.success-message {
  display: none;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--white);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

form.is-submitted {
  display: none;
}

form.is-submitted ~ .success-message {
  display: flex;
}

/* ── Affiliate form ── */

.affiliate-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  width: min(480px, 100%);
}

.affiliate-form input[name="name"],
.affiliate-form input[name="email"] {
  grid-column: span 2;
}

.affiliate-form .button {
  grid-column: span 2;
  margin-top: 4px;
}

.affiliate-note {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
}

.affiliate-note a {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}

.form-error {
  margin: 10px 0 0;
  color: #ff4d6d;
  font-size: 13px;
  font-weight: 650;
  min-height: 1em;
}

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

.follow-label {
  margin: 20px 0 8px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.social-links {
  display: flex;
  gap: 16px;
  margin-top: 0;
}

.social-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--white);
  font-size: 13px;
  font-weight: 650;
  letter-spacing: -0.005em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  padding-bottom: 2px;
  transition: border-color 0.18s ease, opacity 0.18s ease;
}

.social-link:hover {
  border-color: var(--white);
  opacity: 0.85;
}

.social-icon-link {
  border-bottom: none;
  padding-bottom: 0;
  opacity: 0.85;
  padding: 6px;
  margin: -6px;
  transition: opacity 0.18s ease;
}

.social-icon-link:hover {
  border-color: transparent;
  opacity: 1;
}

.discord-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  color: var(--white);
  font-size: 13px;
  font-weight: 600;
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
  padding-bottom: 2px;
  transition: border-color 0.18s ease;
}

.discord-link::after {
  content: "→";
  font-size: 14px;
}

.discord-link:hover {
  border-color: var(--white);
}

.discord-desc {
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.65);
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
}

/* ── Countdown ── */

.countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0 0 56px;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  min-width: 64px;
}

.countdown-num {
  font-size: clamp(48px, 6.5vw, 72px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--deep-rose);
  font-variant-numeric: tabular-nums;
}

.countdown-label {
  font-size: 10px;
  font-weight: 650;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(107, 23, 53, 0.65);
}

.countdown-note {
  margin: -40px 0 48px;
  font-size: 11px;
  font-weight: 400;
  color: rgba(107, 23, 53, 0.55);
  letter-spacing: 0.02em;
}

.countdown-sep {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 800;
  color: rgba(206, 41, 89, 0.45);
  line-height: 1;
  margin-bottom: 18px;
}

/* ── First Drop colors ── */

.first-drop {
  padding: 100px 32px 120px;
  text-align: center;
  background: var(--cream);
  border-top: 1px solid var(--line-dark);
}

.first-drop-heading {
  margin: 0 0 28px;
  color: var(--pink);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.first-drop-desc {
  margin: 28px 0 44px;
  color: rgba(107, 23, 53, 0.6);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.55;
}

.color-pair {
  display: flex;
  justify-content: center;
  gap: 80px;
}

.color-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.color-swatch {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  box-shadow: 0 20px 44px rgba(107, 23, 53, 0.18);
}

.color-swatch.blush {
  background: var(--blush);
}

.color-swatch.rose {
  background: var(--pink);
}

.color-name {
  color: var(--deep-rose);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.005em;
}

.color-name small {
  display: block;
  margin-top: 3px;
  color: rgba(107, 23, 53, 0.55);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.04em;
  font-feature-settings: "tnum";
}

/* ── Footer ── */

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 40px;
  color: rgba(206, 41, 89, 0.6);
  background: var(--cream);
  border-top: 1px solid var(--line-dark);
  font-size: 13px;
  font-weight: 650;
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.footer-links a {
  transition: color 0.18s ease;
}

.footer-links a:hover {
  color: var(--pink);
}



/* ── Responsive ── */

@media (max-width: 640px) {
  .site-header {
    padding: 0 20px;
    height: 48px;
  }

  .logo-mark {
    height: 42px;
  }

  nav {
    gap: 16px;
  }

  nav a {
    font-size: 12px;
  }

  /* Hero: don't force full-screen height on mobile, let content breathe naturally */
  .hero {
    min-height: calc(100dvh - 48px);
    align-items: flex-start;
    padding: 56px 20px 52px;
  }

  .hero-text {
    gap: 14px;
  }

  .headline {
    font-size: clamp(26px, 7.5vw, 36px);
  }

  .subhead {
    font-size: 14px;
  }

  .hero-drop-label {
    font-size: 10px;
    margin: 0 0 10px;
  }

  .hero-countdown-wrap {
    padding-bottom: 16px;
    margin-bottom: 4px;
  }

  form {
    flex-direction: column;
    margin-top: 8px;
  }

  .affiliate-form {
    grid-template-columns: 1fr;
  }

  .affiliate-form input[name="name"],
  .affiliate-form input[name="email"],
  .affiliate-form .button {
    grid-column: span 1;
  }

  .button {
    width: 100%;
  }

  /* Countdown */
  .countdown {
    gap: 2px;
    margin: 0 0 14px;
    flex-wrap: nowrap;
  }

  .countdown-unit {
    min-width: 44px;
  }

  .countdown-num {
    font-size: clamp(26px, 7vw, 36px);
  }

  .countdown-label {
    font-size: 9px;
    letter-spacing: 0.06em;
  }

  .countdown-sep {
    font-size: clamp(20px, 5.5vw, 28px);
    margin-bottom: 12px;
  }

  .countdown-note {
    margin: -10px 0 20px;
    font-size: 10px;
  }

  /* First drop */
  .first-drop {
    padding: 32px 20px 44px;
  }

  .first-drop-desc {
    margin: 20px 0 32px;
  }

  .color-pair {
    gap: 40px;
  }

  .color-swatch {
    width: 88px;
    height: 88px;
  }

  /* Footer */
  footer {
    flex-direction: column;
    padding: 24px 20px;
    text-align: center;
  }

  .footer-links {
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
  }
}
