/* thischristmas.ca — built on the A Very Scary Halloween design system.
   Exact same layout, Christmas theme. Plain static CSS, no framework. */
:root {
  --bg: #0a0e1c;
  --bg-2: #0e1428;
  --bg-3: #141b34;
  --red: #d62839;
  --red-deep: #a31621;
  --gold: #e9b949;
  --gold-soft: #f3d27a;
  --pine: #2d8a5f;
  --pine-soft: #7fc8a9;
  --text: #f5efe2;
  --muted: #a9b2c7;
  --card: rgba(20, 27, 52, 0.88);
  --radius: 18px;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; overflow-x: clip; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.7;
  overflow-x: clip;
}

#snowfall {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 1.25rem;
  background: rgba(10, 14, 28, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(233, 185, 73, 0.25);
}

.wordmark {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  color: var(--text);
}

.wordmark svg { width: 34px; height: 34px; filter: drop-shadow(0 0 6px rgba(233, 185, 73, 0.7)); }

.wordmark span {
  font-family: var(--font-display);
  font-size: 1.5rem;
  letter-spacing: 1px;
  color: var(--gold);
  font-weight: 700;
}

.nav-links { display: flex; gap: 1.1rem; }

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
}

.nav-links a:hover { color: var(--gold); }

@media (max-width: 640px) {
  .nav-links a:not(:first-child):not(:nth-child(3)) { display: none; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  z-index: 2;
  padding: 4rem 1.25rem 3rem;
  background:
    radial-gradient(ellipse 80% 55% at 50% 0%, rgba(214, 40, 57, 0.20), transparent),
    radial-gradient(ellipse 60% 45% at 50% 100%, rgba(233, 185, 73, 0.12), transparent);
}

.hero-inner {
  max-width: 1080px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-copy { min-width: 0; }

@media (max-width: 800px) {
  .hero-inner { grid-template-columns: 1fr; gap: 2rem; text-align: center; }
}

.hero-art { position: relative; justify-self: center; }

.hero-art img {
  width: min(420px, 80vw);
  border-radius: var(--radius);
  box-shadow: 0 0 60px rgba(233, 185, 73, 0.35), 0 20px 60px rgba(0, 0, 0, 0.6);
  animation: flicker 4s ease-in-out infinite;
}

@keyframes flicker {
  0%, 100% { filter: brightness(1); }
  48% { filter: brightness(1.06); }
  52% { filter: brightness(0.97); }
  70% { filter: brightness(1.03); }
}

.art-glow {
  position: absolute;
  inset: -30px;
  z-index: -1;
  background: radial-gradient(circle, rgba(233, 185, 73, 0.25), transparent 65%);
  filter: blur(10px);
}

.kicker {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.8rem;
  color: var(--pine-soft);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 4.8rem);
  line-height: 1.02;
  color: var(--red);
  text-shadow: 0 0 30px rgba(214, 40, 57, 0.55), 0 4px 0 #4d0d14;
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero h1 .holly {
  color: var(--gold);
}

.tagline { color: var(--muted); font-size: 1.05rem; margin-bottom: 0.75rem; max-width: 34rem; }
.release-line { font-size: 0.95rem; margin-bottom: 1.25rem; }
.release-line strong { color: var(--gold); }

.countdown.terminal {
  display: inline-block;
  font-family: ui-monospace, 'Courier New', Courier, monospace;
  background: rgba(5, 6, 12, 0.88);
  border: 1px solid rgba(233, 185, 73, 0.4);
  border-radius: 10px;
  padding: 0.85rem 1.15rem;
  margin-bottom: 1.5rem;
  max-width: 100%;
  box-shadow: 0 0 26px rgba(233, 185, 73, 0.14), inset 0 0 22px rgba(0, 0, 0, 0.65);
  position: relative;
  overflow: hidden;
  text-align: left;
}
.countdown.terminal::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.028) 0 1px, transparent 1px 3px);
}
.term-line {
  color: var(--gold-soft);
  font-size: 1.02rem;
  letter-spacing: 0.05em;
  white-space: nowrap;
  text-shadow: 0 0 8px rgba(233, 185, 73, 0.55);
}
.term-prompt { color: var(--red); font-weight: 700; }
.term-cursor {
  display: inline-block;
  width: 0.58em;
  height: 1.05em;
  margin-left: 3px;
  vertical-align: -0.15em;
  background: var(--gold);
  box-shadow: 0 0 8px rgba(233, 185, 73, 0.8);
  animation: term-blink 1.06s steps(1) infinite;
}
@keyframes term-blink { 50% { opacity: 0; } }
.term-sub {
  color: var(--muted);
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  margin-top: 0.45rem;
  white-space: nowrap;
}
@media (max-width: 520px) {
  .term-line { font-size: 0.7rem; }
  .term-sub { font-size: 0.55rem; letter-spacing: 0.1em; }
}

.hero-buttons { display: flex; gap: 0.9rem; flex-wrap: wrap; }
@media (max-width: 800px) { .hero-buttons { justify-content: center; } }

.btn {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.95rem;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--red), var(--red-deep));
  color: #fff;
  box-shadow: 0 6px 24px rgba(214, 40, 57, 0.4);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(214, 40, 57, 0.55); }

.btn-ghost {
  border: 2px solid var(--gold);
  color: var(--gold);
}

.btn-ghost:hover { background: rgba(233, 185, 73, 0.12); transform: translateY(-2px); }

/* ---------- Sections ---------- */
.section {
  position: relative;
  z-index: 2;
  max-width: 1080px;
  margin: 0 auto;
  padding: 3.5rem 1.25rem;
}

.section-alt {
  background: linear-gradient(180deg, transparent, rgba(45, 138, 95, 0.06), transparent);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 2.8rem);
  color: var(--red);
  letter-spacing: 1px;
  margin-bottom: 0.6rem;
  text-shadow: 0 0 24px rgba(214, 40, 57, 0.35);
  font-weight: 700;
}

.section-sub { color: var(--muted); margin-bottom: 1.8rem; max-width: 44rem; }

/* ---------- Song cards (platform-grid pattern) ---------- */
.platform-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.platform {
  display: block;
  background: var(--card);
  border: 1px solid rgba(233, 185, 73, 0.25);
  border-radius: var(--radius);
  padding: 1.4rem 1.2rem;
  text-decoration: none;
  color: var(--text);
  transition: transform 0.15s ease, border-color 0.15s ease;
}

a.platform:hover {
  transform: translateY(-4px);
  border-color: var(--gold);
  box-shadow: 0 12px 32px rgba(233, 185, 73, 0.2);
}

.platform-name { display: block; font-weight: 700; font-size: 1.15rem; margin-bottom: 0.25rem; color: var(--gold); font-family: var(--font-display); }
.song-cover {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}
.platform-note { display: block; font-size: 0.85rem; color: var(--muted); }
.platform-links { display: flex; gap: 0.6rem; flex-wrap: wrap; margin-top: 0.8rem; }
.platform-links a {
  font-size: 0.8rem; font-weight: 700; text-decoration: none;
  padding: 6px 14px; border-radius: 999px;
  background: rgba(233, 185, 73, 0.14); color: var(--gold-soft);
  border: 1px solid rgba(233, 185, 73, 0.4);
}
.platform-links a:hover { background: rgba(233, 185, 73, 0.28); }
.proof {
  display: inline-block; font-size: 0.8rem; font-weight: 700; color: var(--pine-soft);
  background: rgba(45, 138, 95, 0.14); border: 1px solid rgba(45, 138, 95, 0.4);
  border-radius: 8px; padding: 5px 12px; margin-top: 0.6rem;
}

/* ---------- Santa tracker (two-col + facts pattern) ---------- */
.two-col {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 2.5rem;
}

@media (max-width: 800px) { .two-col { grid-template-columns: 1fr; } }

.two-col p { margin-bottom: 1rem; color: #d8dce8; }

.hook {
  border-left: 4px solid var(--red);
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  font-style: italic;
  font-size: 1.1rem;
  color: var(--gold-soft);
  background: rgba(233, 185, 73, 0.06);
  border-radius: 0 12px 12px 0;
}

.facts {
  background: var(--card);
  border: 1px solid rgba(45, 138, 95, 0.3);
  border-radius: var(--radius);
  padding: 1.5rem;
  align-self: start;
}

.facts div { padding: 0.55rem 0; border-bottom: 1px solid rgba(169, 178, 199, 0.12); }
.facts div:last-child { border-bottom: none; }
.facts dt { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 2px; color: var(--pine-soft); font-weight: 700; }
.facts dd { font-weight: 600; color: var(--text); }

/* ---------- About / cards ---------- */
.about-card {
  background: var(--card);
  border: 1px solid rgba(233, 185, 73, 0.3);
  border-radius: var(--radius);
  padding: 2rem;
  max-width: 46rem;
}

.about-card p { margin-bottom: 1rem; color: #d8dce8; }
.about-card p:last-child { margin-bottom: 0; }
.about-card strong { color: var(--gold); }
.about-card a { color: var(--pine-soft); }

.proof-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.proof-card {
  background: var(--card);
  border: 1px solid rgba(45, 138, 95, 0.35);
  border-radius: var(--radius);
  padding: 1.6rem;
}

.proof-card h3 {
  font-size: 1.15rem;
  color: var(--gold);
  margin-bottom: 0.2rem;
}

.proof-loc {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--pine-soft);
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.proof-card p { color: #d8dce8; font-size: 0.95rem; margin-bottom: 0.8rem; }

.inline-link {
  color: var(--red);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid rgba(214, 40, 57, 0.4);
}

.inline-link:hover { border-bottom-color: var(--red); }

.cta-strip {
  background: linear-gradient(135deg, rgba(214, 40, 57, 0.12), rgba(233, 185, 73, 0.12));
  border: 1px solid rgba(233, 185, 73, 0.35);
  border-radius: var(--radius);
  padding: 1.5rem 1.8rem;
  max-width: 46rem;
  color: #d8dce8;
}

/* ---------- Advent calendar ---------- */
.doors {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(118px, 1fr));
  gap: 12px;
  margin-top: 22px;
}
.door {
  aspect-ratio: 1/1.15;
  border-radius: 12px;
  border: 1px solid rgba(233, 185, 73, 0.35);
  background: var(--card);
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.6rem;
  cursor: pointer;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.15s, background 0.2s;
}
.door:not(:disabled):hover { background: rgba(233, 185, 73, 0.25); transform: translateY(-3px); }
.door:disabled { opacity: 0.38; cursor: not-allowed; }
.door.today { outline: 3px solid var(--gold); opacity: 1; animation: pulse 2s infinite; }
.door.opened { background: rgba(233, 185, 73, 0.28); }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(233, 185, 73, 0.5); }
  50% { box-shadow: 0 0 0 12px rgba(233, 185, 73, 0); }
}
.modal-back {
  position: fixed; inset: 0; background: rgba(8, 12, 24, 0.8);
  display: none; align-items: center; justify-content: center; z-index: 100; padding: 20px;
}
.modal-back.show { display: flex; }
.modal {
  background: var(--bg-3); border: 1px solid rgba(233, 185, 73, 0.4);
  border-radius: 20px; max-width: 520px; width: 100%; padding: 34px; position: relative;
  box-shadow: 0 0 60px rgba(233, 185, 73, 0.2);
}
.modal h3 { color: var(--text); font-size: 1.6rem; }
.modal .day-tag {
  display: inline-block; background: var(--red); color: #fff;
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  border-radius: 999px; padding: 6px 16px; margin-bottom: 14px;
}
.modal p { color: var(--muted); }
.modal-close {
  position: absolute; top: 14px; right: 18px; background: none; border: none;
  font-size: 1.6rem; cursor: pointer; color: var(--muted);
}

/* ---------- Nice List signup ---------- */
.nicelist-banner {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  margin-bottom: 1.5rem;
}
.nicelist-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
}
.nicelist-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 10, 22, 0.78), rgba(8, 10, 22, 0.55) 45%, rgba(8, 10, 22, 0.85));
}
.nicelist-content {
  position: relative;
  z-index: 1;
  padding: 3.5rem 2rem;
  max-width: 36rem;
  margin: 0 auto;
  text-align: center;
}
.nicelist-content .section-title { margin-bottom: 0.75rem; }
.nicelist-content .section-sub { margin-bottom: 1.75rem; }
@media (min-width: 900px) {
  /* Desktop: Santa anchors left at full height (face fully visible),
     fading into the dark background; form docks right */
  .nicelist-bg {
    width: auto;
    height: 100%;
    left: 0;
    right: auto;
    object-position: center 20%;
    -webkit-mask-image: linear-gradient(90deg, #000 55%, transparent 98%);
    mask-image: linear-gradient(90deg, #000 55%, transparent 98%);
  }
  .nicelist-shade {
    background: linear-gradient(90deg, rgba(8, 10, 22, 0.1) 30%, rgba(8, 10, 22, 0.72) 62%, rgba(8, 10, 22, 0.92));
  }
  .nicelist-content {
    margin: 0 2rem 0 auto;
    text-align: left;
    max-width: 32rem;
    padding: 3.5rem 0;
  }
  .nicelist-content .section-title,
  .nicelist-content .section-sub { text-align: left; }
}
.signup-form.signup-over {
  text-align: left;
  background: rgba(14, 20, 40, 0.28);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.14);
}
.spotify-embed {
  border-radius: 12px;
  max-width: 400px;
  display: block;
  margin: 0 auto;
}
.signup-form {
  background: var(--card);
  border: 1px solid rgba(169, 178, 199, 0.16);
  border-radius: var(--radius);
  padding: 1.8rem;
}
.form-field { margin-bottom: 1.1rem; }
.form-field label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 0.4rem;
  color: var(--text);
}
.form-field input {
  width: 100%;
  font: inherit;
  color: var(--text);
  background: var(--bg);
  border: 1px solid rgba(169, 178, 199, 0.28);
  border-radius: 10px;
  padding: 0.8rem 1rem;
}
.form-field input:focus {
  outline: 2px solid var(--red);
  border-color: var(--red);
}
.form-field input::placeholder { color: var(--muted); opacity: 0.7; }
.btn-full { width: 100%; margin-top: 0.3rem; }
.form-note {
  margin-top: 0.9rem;
  font-size: 0.85rem;
  color: var(--muted);
  font-style: italic;
}
.form-success {
  background: rgba(14, 20, 40, 0.45);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  padding: 1.8rem;
}
.form-success h3 { color: var(--gold); margin-bottom: 0.5rem; }
.form-success p { color: var(--muted); }
@media (max-width: 760px) {
  .nicelist-content { padding: 2.5rem 1.25rem; }
}

/* ---------- Scroll-triggered Santa sled (like the Halloween ghost) ---------- */
.sled-pop {
  position: fixed;
  left: 26px;
  bottom: -260px;
  z-index: 60;
  text-align: center;
  pointer-events: none;
  transition: bottom 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.sled-pop.popped { bottom: 26px; }
.sled-pop .sled {
  width: 200px;
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 10px 22px rgba(233, 185, 73, 0.5));
  animation: sled-float 3s ease-in-out infinite;
}
@keyframes sled-float {
  0%, 100% { transform: translateY(0) rotate(-1.5deg); }
  50% { transform: translateY(-10px) rotate(1.5deg); }
}
.sled-bubble {
  display: inline-block;
  background: #ffffff;
  color: #0a0e1c;
  font-weight: 800;
  font-size: 1rem;
  padding: 6px 16px;
  border-radius: 14px;
  margin-bottom: 8px;
  position: relative;
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.25s ease 0.35s, transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) 0.35s;
}
.sled-pop.popped .sled-bubble { opacity: 1; transform: scale(1); }
.sled-bubble::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -7px;
  transform: translateX(-50%);
  border: 8px solid transparent;
  border-top-color: #ffffff;
  border-bottom: 0;
}
@media (max-width: 560px) {
  .sled-pop { left: 14px; }
  .sled-pop.popped { bottom: 16px; }
  .sled-pop .sled { width: 150px; }
}
@media (prefers-reduced-motion: reduce) {
  .sled-pop { display: none; }
}

/* ---------- Embedded video ---------- */
.video-embed {
  max-width: 720px;
  margin: 2rem auto 0;
  position: relative;
  aspect-ratio: 16 / 9;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(233, 185, 73, 0.35);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.55), 0 0 30px rgba(233, 185, 73, 0.12);
}
.video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* ---------- Footer ---------- */
.footer {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 3rem 1.25rem 2.5rem;
  border-top: 1px solid rgba(233, 185, 73, 0.25);
  background: rgba(10, 14, 28, 0.9);
}

.disclosure {
  font-size: 1.05rem;
  color: var(--gold);
  margin-bottom: 1.2rem;
}

.footer-links a {
  color: var(--pine-soft);
  text-decoration: none;
  font-weight: 600;
  margin: 0 0.5rem;
}

.footer-links a:hover { color: var(--red); }
.footer-links span { color: var(--muted); }

.copyright { color: var(--muted); font-size: 0.85rem; margin-top: 1rem; }

@media (prefers-reduced-motion: reduce) {
  .hero-art img { animation: none; }
  html { scroll-behavior: auto; }
}
