:root {
  --holiday-bg: #020617;
  --holiday-bg-soft: #020617;
  --holiday-card-bg: #020617;
  --holiday-border: #1f2937;
  --holiday-accent-green: #22c55e;
  --holiday-accent-red: #fb7185;
  --holiday-text: #e5e7eb;
  --holiday-muted: #9ca3af;
  --holiday-radius: 14px;
  --holiday-shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.7);
}

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

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", sans-serif;
  color: var(--holiday-text);
  background: radial-gradient(circle at top, #111827 0, #020617 55%, #020617 100%);
}

/* Skip link */
.skip {
  position: absolute;
  left: -999px;
  top: 0;
  padding: 0.5rem 1rem;
  background: #111827;
  color: #f9fafb;
  z-index: 1000;
}
.skip:focus {
  left: 0.75rem;
  top: 0.75rem;
  outline: 2px solid #facc15;
  border-radius: 999px;
}

/* Header / nav */
.holiday-sticky {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(18px);
  background: linear-gradient(90deg, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.94));
  border-bottom: 1px solid rgba(148, 163, 184, 0.25);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.65rem 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.92rem;
}
.brand-link {
  color: inherit;
  text-decoration: none;
  padding: 0.25rem 0.5rem;
  border-radius: 999px;
  transition: outline 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.brand-link:focus-visible {
  outline: 2px solid rgba(74, 222, 128, 0.7);
  outline-offset: 2px;
  box-shadow: 0 0 0 6px rgba(74, 222, 128, 0.08);
  background: radial-gradient(circle at top left, rgba(34, 197, 94, 0.12), transparent 55%);
}
.brand img {
  border-radius: 999px;
}
.brand-text {
  white-space: nowrap;
}

.anchors {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 0.6rem;
  font-size: 0.85rem;
  scrollbar-width: none;
}
.anchors::-webkit-scrollbar {
  display: none;
}
.anchors a {
  color: var(--holiday-muted);
  text-decoration: none;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  border: 1px solid transparent;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}
.anchors a:hover,
.anchors a:focus-visible {
  color: #f9fafb;
  border-color: rgba(148, 163, 184, 0.7);
  background: radial-gradient(circle at top left, rgba(34, 197, 94, 0.15), transparent 55%);
  outline: none;
}

.countdown {
  margin-left: auto;
  font-size: 0.82rem;
  color: var(--holiday-muted);
  white-space: nowrap;
  display: flex;
  align-items: baseline;
  gap: 0.25rem;
}
.countdown span {
  font-variant-numeric: tabular-nums;
}
.countdown .label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.7rem;
}

/* Layout */
.holiday-wrap {
  max-width: 1100px;
  margin: 0 auto 4rem;
  padding: 4.75rem 1rem 4rem;
  position: relative;
}

/* Hero */
.holiday-hero {
  padding: 1.75rem 1rem 2rem;
  border-radius: 1.5rem;
  background:
    radial-gradient(circle at top left, rgba(248, 250, 252, 0.05), transparent 55%),
    linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.96));
  border: 1px solid rgba(148, 163, 184, 0.4);
  box-shadow: 0 30px 80px rgba(15, 23, 42, 0.85);
  margin-bottom: 2.5rem;
  position: relative;
  overflow: hidden;
}
.holiday-hero::before,
.holiday-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border-radius: 999px;
  filter: blur(18px);
  opacity: 0.9;
  animation: twinkle 12s infinite alternate;
}
.holiday-hero::before {
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(34, 197, 94, 0.36), transparent 55%);
  top: -60px;
  right: -60px;
}
.holiday-hero::after {
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(248, 113, 113, 0.35), transparent 55%);
  bottom: -40px;
  left: -40px;
  animation-delay: 4s;
}

.holiday-hero h1 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.7rem, 3vw, 2.1rem);
  letter-spacing: -0.03em;
}
.holiday-hero .sub {
  margin: 0 0 0.4rem;
  color: var(--holiday-muted);
  max-width: 40rem;
  font-size: 0.98rem;
}
.holiday-hero .note {
  margin: 0;
  color: #e5e7eb;
  font-size: 0.9rem;
}

/* Sections */
.holiday-section {
  margin-top: 2.75rem;
}

.section-head {
  margin-bottom: 1.25rem;
}
.section-head h2 {
  margin: 0 0 0.3rem;
  font-size: 1.2rem;
}
.section-head .muted {
  margin: 0;
  font-size: 0.92rem;
  color: var(--holiday-muted);
}

/* Grid & cards */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.2rem;
}

.card {
  position: relative;
  border-radius: var(--holiday-radius);
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.99));
  border: 1px solid var(--holiday-border);
  padding: 0.9rem 0.95rem 1rem;
  box-shadow: 0 16px 45px rgba(15, 23, 42, 0.75);
  overflow: hidden;
  isolation: isolate;
  display: block;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 0.16s ease-out,
    box-shadow 0.16s ease-out,
    border-color 0.16s ease-out,
    background 0.16s ease-out;
}
.card::before {
  content: "";
  position: absolute;
  inset: -40%;
  background: radial-gradient(circle at top, rgba(248, 250, 252, 0.03), transparent 66%);
  opacity: 0;
  transition: opacity 0.2s ease-out;
  z-index: -1;
}
.card:hover,
.card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 24px 55px rgba(15, 23, 42, 0.9);
  border-color: rgba(34, 197, 94, 0.35);
  background: radial-gradient(circle at top left, rgba(34, 197, 94, 0.18), rgba(15, 23, 42, 0.98));
}
.card:hover::before,
.card:focus-visible::before {
  opacity: 1;
}

.thumb.placeholder {
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(148, 163, 184, 0.55);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 0.55rem;
  background: radial-gradient(circle at top left, rgba(34, 197, 94, 0.16), transparent 60%);
}

.title {
  margin: 0 0 0.25rem;
  font-size: 0.98rem;
}
.desc {
  margin: 0 0 0.7rem;
  font-size: 0.88rem;
  color: var(--holiday-muted);
  line-height: 1.4;
}

.card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.4rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  font-size: 0.82rem;
  color: #f9fafb;
  background: radial-gradient(circle at top left, rgba(34, 197, 94, 0.45), rgba(22, 163, 74, 0.92));
  box-shadow: 0 10px 25px rgba(22, 101, 52, 0.65);
  transition:
    transform 0.16s ease-out,
    box-shadow 0.16s ease-out,
    border-color 0.16s ease-out,
    background 0.16s ease-out;
}

.card-cta::after {
  content: "↗";
  font-size: 0.75rem;
}

.card:hover .card-cta,
.card:focus-visible .card-cta {
  transform: translateY(-1px);
  border-color: rgba(74, 222, 128, 1);
  box-shadow: 0 16px 40px rgba(21, 128, 61, 0.9);
  background: radial-gradient(circle at top left, rgba(74, 222, 128, 0.75), rgba(22, 163, 74, 1));
}

/* Footer */
.holiday-foot {
  margin-top: 3rem;
  padding: 1.5rem 1rem 0;
  border-top: 1px solid rgba(55, 65, 81, 0.7);
  color: var(--holiday-muted);
}

.holiday-foot-inner {
  background: radial-gradient(circle at top left, rgba(34, 197, 94, 0.18), rgba(15, 23, 42, 0.96));
  border: 1px solid rgba(74, 222, 128, 0.28);
  border-radius: 1rem;
  padding: 1.25rem 1.35rem;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem;
  box-shadow: 0 22px 55px rgba(15, 23, 42, 0.75);
}

.holiday-foot-copy .eyebrow {
  margin: 0 0 0.2rem;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(74, 222, 128, 0.9);
}

.holiday-foot-copy .headline {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  color: #f9fafb;
}

.holiday-foot-copy .support {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--holiday-muted);
}

.holiday-foot-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.cta-btn,
.cta-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  font-size: 0.9rem;
  text-decoration: none;
  border: 1px solid rgba(148, 163, 184, 0.55);
  transition: transform 0.16s ease, box-shadow 0.16s ease, border-color 0.16s ease, background 0.16s ease;
}

.cta-btn {
  background: radial-gradient(circle at top left, rgba(236, 72, 153, 0.4), rgba(220, 38, 38, 0.9));
  color: #fff;
  box-shadow: 0 14px 30px rgba(190, 24, 24, 0.55);
  border-color: rgba(239, 68, 68, 0.9);
}

.cta-btn:hover,
.cta-btn:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(190, 24, 24, 0.7);
  border-color: rgba(248, 113, 113, 1);
}

.cta-ghost {
  color: #e5e7eb;
  background: rgba(15, 23, 42, 0.7);
}

.cta-ghost:hover,
.cta-ghost:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(148, 163, 184, 0.9);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.5);
  background: radial-gradient(circle at top left, rgba(148, 163, 184, 0.18), rgba(15, 23, 42, 0.85));
}

.cta-btn:focus-visible,
.cta-ghost:focus-visible {
  outline: 2px solid rgba(74, 222, 128, 0.7);
  outline-offset: 2px;
}

@media (min-width: 700px) {
  .holiday-foot-inner {
    grid-template-columns: 1.35fr 0.75fr;
    align-items: center;
  }
  .holiday-foot-actions {
    justify-content: flex-end;
  }
}

/* Snow animation */
.snowflakes {
  position: fixed;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: -1;
}
.snowflake {
  position: absolute;
  top: -10%;
  font-size: 0.9rem;
  color: rgba(226, 232, 240, 0.65);
  animation-name: snow-fall;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
}
.snowflake:nth-child(1) {
  left: 5%;
  animation-duration: 18s;
  animation-delay: 0s;
}
.snowflake:nth-child(2) {
  left: 20%;
  animation-duration: 22s;
  animation-delay: 4s;
}
.snowflake:nth-child(3) {
  left: 35%;
  animation-duration: 16s;
  animation-delay: 2s;
}
.snowflake:nth-child(4) {
  left: 50%;
  animation-duration: 24s;
  animation-delay: 6s;
}
.snowflake:nth-child(5) {
  left: 65%;
  animation-duration: 19s;
  animation-delay: 1s;
}
.snowflake:nth-child(6) {
  left: 80%;
  animation-duration: 21s;
  animation-delay: 5s;
}
.snowflake:nth-child(7) {
  left: 12%;
  animation-duration: 26s;
  animation-delay: 8s;
}
.snowflake:nth-child(8) {
  left: 28%;
  animation-duration: 20s;
  animation-delay: 10s;
}
.snowflake:nth-child(9) {
  left: 44%;
  animation-duration: 23s;
  animation-delay: 12s;
}
.snowflake:nth-child(10) {
  left: 60%;
  animation-duration: 17s;
  animation-delay: 14s;
}
.snowflake:nth-child(11) {
  left: 76%;
  animation-duration: 25s;
  animation-delay: 16s;
}
.snowflake:nth-child(12) {
  left: 90%;
  animation-duration: 19s;
  animation-delay: 18s;
}

@keyframes snow-fall {
  0% {
    transform: translate3d(0, 0, 0) rotate(0deg);
    opacity: 0;
  }
  10% {
    opacity: 0.9;
  }
  100% {
    transform: translate3d(15px, 115vh, 0) rotate(360deg);
    opacity: 0;
  }
}

@keyframes twinkle {
  0% {
    opacity: 0.4;
    transform: translate3d(0, 0, 0) scale(1);
  }
  100% {
    opacity: 1;
    transform: translate3d(8px, -6px, 0) scale(1.08);
  }
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .nav-inner {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 0.6rem;
  }
  .countdown {
    order: 3;
    width: 100%;
    justify-content: flex-start;
  }
  .holiday-hero {
    padding: 1.4rem 1.2rem 1.6rem;
  }
}

@media (min-width: 1024px) {
  .holiday-hero {
    padding: 2rem 2.25rem 2.25rem;
  }
}
