:root {
  --santa-red: #bf1f2f;
  --santa-red-dark: #7f1422;
  --santa-gold: #ffd166;
  --santa-green: #1f6f43;
  --santa-ink: #17202f;
  --santa-muted: #5f6d7c;
  --santa-border: rgba(23, 32, 47, 0.1);
  --santa-shadow: 0 18px 40px rgba(23, 32, 47, 0.12);
}

.santa-page {
  margin: 0;
  background: #f7f8fb;
  color: var(--santa-ink);
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.santa-page #site-header,
.santa-page #site-footer,
.santa-fallback-header,
.santa-fallback-footer {
  background: #05070b;
  color: #fff;
}

.santa-fallback-header,
.santa-fallback-footer {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 22px;
  box-sizing: border-box;
}

.santa-fallback-header a,
.santa-fallback-footer a {
  color: #fff;
  text-decoration: none;
}

.santa-fallback-logo {
  font-weight: 900;
  letter-spacing: 0;
}

.santa-main {
  background: #f7f8fb;
}

.santa-container {
  width: min(1100px, calc(100% - 32px));
  margin: 0 auto;
}

.santa-hero {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-height, 64px) + 36px) 16px 70px;
  box-sizing: border-box;
  background:
    linear-gradient(118deg, rgba(68, 8, 18, 0.96), rgba(145, 18, 34, 0.9) 46%, rgba(31, 111, 67, 0.86)),
    url("/tools/holiday/santa-countdown/santa-countdown.webp") center/cover;
  color: #fff;
}

.santa-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 20%, rgba(255, 209, 102, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(0, 0, 0, 0.28));
  pointer-events: none;
}

.santa-snow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    radial-gradient(circle, rgba(255, 255, 255, 0.9) 0 1px, transparent 1.5px),
    radial-gradient(circle, rgba(255, 255, 255, 0.7) 0 1px, transparent 1.5px);
  background-size: 42px 42px, 68px 68px;
  background-position: 0 0, 18px 22px;
  opacity: 0.45;
  animation: santaSnow 16s linear infinite;
}

.santa-hero-art {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.santa-moon {
  position: absolute;
  right: min(10vw, 120px);
  top: 110px;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  background: #fff7ce;
  box-shadow: 0 0 38px rgba(255, 241, 173, 0.7);
}

.santa-pine {
  position: absolute;
  bottom: -20px;
  width: 0;
  height: 0;
  border-left: 68px solid transparent;
  border-right: 68px solid transparent;
  border-bottom: 180px solid rgba(10, 62, 38, 0.58);
  filter: drop-shadow(0 14px 16px rgba(0, 0, 0, 0.24));
}

.santa-pine::after {
  content: "";
  position: absolute;
  left: -46px;
  top: 72px;
  width: 92px;
  height: 18px;
  background: rgba(255, 255, 255, 0.72);
  border-radius: 999px;
}

.santa-pine-one {
  left: 5vw;
}

.santa-pine-two {
  left: 16vw;
  transform: scale(0.82);
  opacity: 0.74;
}

.santa-pine-three {
  right: 6vw;
  transform: scale(0.9);
  opacity: 0.68;
}

.santa-hero-content {
  position: relative;
  z-index: 2;
  width: min(960px, 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.santa-kicker,
.santa-section-kicker {
  margin: 0 0 10px;
  color: var(--santa-gold);
  font-weight: 900;
  letter-spacing: 0;
}

.santa-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(42px, 7vw, 82px);
  line-height: 1;
  font-weight: 950;
  text-shadow: 0 12px 36px rgba(0, 0, 0, 0.38);
}

.santa-hero-subtitle {
  max-width: 660px;
  margin: 16px auto 0;
  color: #fff5f5;
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.55;
}

.santa-target-note {
  margin-top: 16px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.santa-clock {
  width: min(760px, 100%);
  display: grid;
  grid-template-columns: repeat(4, minmax(128px, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.santa-time-card {
  min-height: 126px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(9, 13, 20, 0.66);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(10px);
  box-sizing: border-box;
}

.santa-time-card strong {
  min-width: 3ch;
  color: var(--santa-gold);
  font-size: clamp(42px, 6vw, 66px);
  line-height: 1;
  font-weight: 950;
  text-align: center;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1, "lnum" 1;
}

.santa-time-card span {
  margin-top: 9px;
  color: #d8e2ed;
  font-size: 13px;
  font-weight: 800;
}

.santa-hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.santa-btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 12px;
  font-weight: 900;
  text-decoration: none;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.santa-btn:hover {
  transform: translateY(-2px);
}

.santa-btn:focus-visible,
.santa-text-link:focus-visible,
.santa-fallback-header a:focus-visible,
.santa-fallback-footer a:focus-visible,
.santa-faq-item summary:focus-visible {
  outline: 3px solid rgba(255, 209, 102, 0.86);
  outline-offset: 3px;
}

.santa-btn-primary {
  background: linear-gradient(90deg, var(--santa-gold), #ff8a65);
  color: #151009;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
}

.santa-btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  backdrop-filter: blur(8px);
}

.santa-section {
  padding: 54px 0;
}

.santa-section h2 {
  margin: 0 0 14px;
  color: var(--santa-ink);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.15;
}

.santa-section p {
  margin: 0;
  color: var(--santa-muted);
  line-height: 1.78;
  font-size: 17px;
}

.santa-answer-grid,
.santa-split {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: 24px;
  align-items: center;
}

.santa-answer,
.santa-faq-section {
  background: #fff;
}

.santa-stat-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.santa-stat-card,
.santa-card,
.santa-comparison-card,
.santa-faq-item {
  border: 1px solid var(--santa-border);
  background: #fff;
  border-radius: 14px;
  box-shadow: var(--santa-shadow);
}

.santa-stat-card {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px;
}

.santa-stat-card span,
.santa-comparison-card span {
  color: var(--santa-muted);
  font-weight: 900;
  font-size: 14px;
}

.santa-stat-card strong {
  margin-top: 8px;
  color: var(--santa-red);
  font-size: clamp(44px, 6vw, 66px);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum" 1, "lnum" 1;
}

.santa-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 22px;
}

.santa-card {
  padding: 22px;
}

.santa-card h3 {
  margin: 0 0 10px;
  color: var(--santa-red-dark);
  font-size: 20px;
}

.santa-card p {
  font-size: 15.5px;
}

.santa-comparison-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 22px;
}

.santa-comparison-card div {
  padding: 18px;
  border-radius: 12px;
  background: #fff6f3;
}

.santa-comparison-card strong {
  display: block;
  margin-top: 6px;
  color: var(--santa-red);
  font-size: 28px;
}

.santa-text-link {
  display: inline-flex;
  margin-top: 18px;
  color: var(--santa-red);
  font-weight: 900;
  text-decoration: none;
}

.santa-text-link:hover {
  text-decoration: underline;
}

.santa-use-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.santa-use-list span {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--santa-border);
  color: var(--santa-ink);
  font-weight: 800;
  box-shadow: 0 10px 24px rgba(23, 32, 47, 0.07);
}

.santa-faq-section {
  padding-bottom: 76px;
}

.santa-faq-item {
  margin-top: 12px;
  padding: 0;
  overflow: hidden;
}

.santa-faq-item summary {
  cursor: pointer;
  padding: 18px 20px;
  color: var(--santa-ink);
  font-size: 18px;
  font-weight: 900;
}

.santa-faq-item p {
  padding: 0 20px 20px;
}

@keyframes santaSnow {
  from { background-position: 0 0, 18px 22px; }
  to { background-position: 0 220px, 18px 280px; }
}

@media (max-width: 960px) {
  .santa-hero {
    min-height: 660px;
  }

  .santa-clock {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 520px;
  }

  .santa-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .santa-answer-grid,
  .santa-split {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .santa-fallback-header,
  .santa-fallback-footer {
    padding: 0 16px;
  }

  .santa-hero {
    min-height: auto;
    padding: calc(var(--nav-height, 64px) + 26px) 14px 46px;
  }

  .santa-moon {
    width: 56px;
    height: 56px;
    top: 92px;
    right: 22px;
  }

  .santa-pine {
    display: none;
  }

  .santa-target-note {
    border-radius: 14px;
    line-height: 1.5;
  }

  .santa-clock {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 20px;
  }

  .santa-time-card {
    min-height: 104px;
    padding: 12px;
  }

  .santa-time-card strong {
    font-size: 40px;
  }

  .santa-hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .santa-btn {
    width: 100%;
    box-sizing: border-box;
  }

  .santa-section {
    padding: 42px 0;
  }

  .santa-stat-row,
  .santa-card-grid {
    grid-template-columns: 1fr;
  }

  .santa-use-list {
    display: grid;
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .santa-snow {
    animation: none;
  }

  .santa-btn {
    transition: none;
  }
}
