/* Root theme */
:root {
  --bg-deep: #0d0a1f;
  --bg-gradient:
    radial-gradient(circle at 18% 18%, rgba(224,75,156,0.14), rgba(36,15,72,0.9)),
    radial-gradient(circle at 82% 20%, rgba(109,31,175,0.2), rgba(20,10,52,0.95)),
    linear-gradient(140deg, #2b0d52 0%, #1a1234 52%, #0f0d24 100%);
  --card: #ffffff;
  --border: #e5e7eb;
  --shadow: 0 14px 40px rgba(7, 11, 26, 0.25);
  --text: #0f172a;
  --muted: #475569;
  --pill: #eef2ff;
  --accent: #ff7a3c;
  --accent-2: #1c96f3;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg-gradient);
  color: var(--text);
  font-family: "Manrope", "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent-2);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.page {
  min-height: 100vh;
}

.page:not(.home):not(.modern):not(.slack):not(.discord) {
  background: linear-gradient(180deg, #efe6ff 0%, #f7f0ff 45%, #ffffff 100%);
  color: #0f172a;
}

.page:not(.home):not(.modern):not(.slack):not(.discord) .site-header {
  padding-top: 24px;
}

.page:not(.home):not(.modern):not(.slack):not(.discord) .brand-tagline {
  color: rgba(71, 85, 105, 0.95);
}

.page:not(.home):not(.modern):not(.slack):not(.discord):not(.holiday-library) .brand-name {
  color: #2c005f;
}

.page.modern:not(.home):not(.slack):not(.discord) .brand-name {
  color: #2c005f;
}

.page.home .brand-name {
  color: #2c005f;
}

.page:not(.home):not(.modern):not(.slack):not(.discord) .nav-links a {
  color: #1f2937;
}

.page:not(.home):not(.modern):not(.slack):not(.discord) .nav-links a:hover {
  color: #111827;
}

.page:not(.home):not(.modern):not(.slack):not(.discord) .holiday-card {
  background: #ffffff;
  border: 1px solid #ddd6fe;
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.08);
}

.page.modern:not(.home):not(.slack):not(.discord) {
  background: linear-gradient(180deg, #efe6ff 0%, #f7f0ff 45%, #ffffff 100%);
  color: #0f172a;
}

.page.modern:not(.home):not(.slack):not(.discord) .site-header {
  padding-top: 24px;
}

.page.modern:not(.home):not(.slack):not(.discord) .brand-tagline {
  color: rgba(71, 85, 105, 0.95);
}

.page.modern:not(.home):not(.slack):not(.discord) .nav-links a {
  color: #1f2937;
}

.page.modern:not(.home):not(.slack):not(.discord) .nav-links a:hover {
  color: #111827;
}

.page.modern .content-page {
  max-width: 920px;
  margin: 24px auto 64px;
  padding: 28px;
  background: #ffffff;
  border: 1px solid #ddd6fe;
  border-radius: 18px;
  box-shadow: 0 18px 34px rgba(15, 23, 42, 0.08);
}

.page.modern .content-page h1 {
  letter-spacing: -0.02em;
}

.page.modern .content-page h2 {
  margin-top: 28px;
}

.page-wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 28px 18px 48px;
}

.site-header {
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
}

.bot-banner {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 18px;
  margin: 0 auto 12px;
  border-radius: 999px;
  background: linear-gradient(120deg, #5865F2, #36C5F0, #E01E5A);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.4);
  color: #ffffff;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.01em;
  text-align: center;
  flex: 1 1 100%;
  order: -1;
  backdrop-filter: blur(6px);
}

.bot-banner-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0;
  border-radius: 999px;
  background: transparent;
  color: #0f172a;
  text-decoration: none;
  border: none;
  box-shadow: none;
  line-height: 1;
}

.bot-banner-link svg {
  width: 16px;
  height: 16px;
}

.bot-banner-icon {
  width: 16px;
  height: 16px;
  display: inline-block;
  max-width: 16px;
  max-height: 16px;
  object-fit: contain;
}

.bot-banner-link img {
  width: auto;
  height: 34px;
  max-height: 34px;
  object-fit: contain;
}

.bot-banner-badge {
  height: 34px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.brand-name {
  font-weight: 800;
  letter-spacing: 0.01em;
}

.brand-tagline {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.78);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links a {
  color: #dce7ff;
  font-weight: 600;
  text-decoration: none;
}

.nav-links a:hover {
  text-decoration: underline;
}

.holiday-card {
  background: linear-gradient(180deg, #ffffff 0%, #f8f5ff 100%);
  border: 1px solid var(--border);
  border-radius: 22px;
  box-shadow: var(--shadow);
  padding: 32px 28px 36px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 240px;
  gap: 28px;
  align-items: start;
}

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

.hero-aside {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.badge-frame {
  padding: 12px;
  border-radius: 18px;
  background: #f9f6ff;
  border: 1px solid #ece9ff;
  box-shadow: 0 16px 34px rgba(44, 0, 95, 0.12);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 6px;
}

.holiday-title {
  font-size: 2.3rem;
  margin: 0 0 8px;
  color: var(--text);
  line-height: 1.08;
}

.holiday-emoji {
  font-size: 1.6rem;
  margin-left: 8px;
}

.hero-badge {
  width: 220px;
  max-width: 90%;
  display: block;
  margin: 0;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

.badge-caption {
  margin: 0;
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
}

.meta-line {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
  align-items: center;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  background: var(--pill);
  font-weight: 700;
  color: #1e1b4b;
}

.pill-secondary {
  background: #f1f5f9;
  color: var(--muted);
  font-weight: 600;
}

.lead {
  font-size: 1.05rem;
  color: var(--muted);
  margin: 6px 0 12px;
  max-width: 68ch;
}

.store-buttons-top {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin: 8px 0 18px;
}

.hero-content .store-buttons-top {
  justify-content: flex-start;
}

.store-badge {
  width: 160px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.18);
  background: #fff;
  padding: 8px 10px;
}

.page:not(.home):not(.modern):not(.slack):not(.discord) .store-badge {
  width: 180px;
  height: 52px;
  padding: 0;
  border-radius: 10px;
  object-fit: cover;
  background: transparent;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.18);
  display: block;
}

.page:not(.home):not(.modern):not(.slack):not(.discord) .store-badge[alt*="Google Play"],
.page:not(.home):not(.modern):not(.slack):not(.discord) .store-badge[src*="play.google.com/intl/en_us/badges/static/images/badges"] {
  transform: scale(1.06);
  clip-path: inset(6px 10px 6px 10px round 10px);
}

.section {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  scroll-margin-top: 120px;
}

.section:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.section h2 {
  margin: 0 0 10px;
  font-size: 1.5rem;
  letter-spacing: 0.01em;
}

.section p {
  margin: 0 0 12px;
  color: var(--text);
  line-height: 1.6;
}

.list {
  margin: 0;
  padding-left: 18px;
  color: var(--text);
  line-height: 1.6;
}

.list li {
  margin-bottom: 10px;
}

.fact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.fact-list li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  background: #f8fafc;
  font-weight: 600;
}

.fact-list li span:first-child {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.fact-list li span:last-child {
  color: #1f2937;
  font-weight: 700;
}

.faq {
  margin: 0;
}

.faq-item {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 10px;
  background: #f8fafc;
}

.faq-item dt {
  font-weight: 700;
  margin-bottom: 6px;
}

.faq-item dd {
  margin: 0;
  color: var(--muted);
}

.app-cta {
  text-align: center;
}

.more-holidays ul {
  padding-left: 18px;
  margin: 0;
}

.site-footer {
  max-width: 1120px;
  margin: 14px auto 48px;
  padding: 0 18px;
  color: #cbd5e1;
  text-align: center;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 8px;
}

.footer-links a {
  color: #dce7ff;
  font-weight: 600;
}

/* Generic typography for standalone pages */
main.content-page {
  max-width: 840px;
  margin: 0 auto;
  padding: 28px 18px 48px;
  background: var(--card);
  border-radius: 18px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.content-page h1 {
  margin-top: 0;
  font-size: 2rem;
}

.content-page h2 {
  margin-top: 22px;
  font-size: 1.35rem;
}

.content-page p {
  line-height: 1.7;
  color: var(--text);
}

.content-page ul {
  padding-left: 20px;
  line-height: 1.6;
}

.month-section {
  margin-top: 18px;
  padding-top: 6px;
  border-top: 1px solid var(--border);
}

.month-list {
  list-style: none;
  padding-left: 0;
  margin: 8px 0 0;
}

.month-list li {
  margin-bottom: 8px;
}

.month-list .day {
  display: inline-block;
  min-width: 32px;
  font-weight: 700;
  color: var(--muted);
}

.page.holiday-library {
  background: radial-gradient(circle at 10% 10%, #1b0b3f 0%, #0f1028 45%, #0a0f22 100%);
}

.page.holiday-library .brand-name {
  color: #2c005f;
}

.page.holiday-library main.content-page {
  max-width: 1200px;
  padding: 32px 20px 60px;
  background: transparent;
  border: none;
  box-shadow: none;
}

.page.holiday-library .library-hero {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(255,255,255,0.96), rgba(245,247,255,0.94));
  border: 1px solid rgba(226,232,255,0.9);
  box-shadow: 0 20px 50px rgba(10, 18, 44, 0.18);
}

.page.holiday-library .library-hero .eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: #2c005f;
  font-size: 0.75rem;
  margin: 0 0 8px;
}

.page.holiday-library .library-hero h1 {
  margin: 0 0 8px;
  font-size: clamp(2rem, 3vw, 2.8rem);
  color: #0f172a;
}

.page.holiday-library .library-hero p {
  margin: 0;
  color: #334155;
  max-width: 540px;
}

.page.holiday-library .hero-meta {
  display: grid;
  gap: 12px;
}

.page.holiday-library .meta-card {
  padding: 12px 14px;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  background: #ffffff;
  box-shadow: 0 12px 24px rgba(15, 23, 42, 0.08);
}

.page.holiday-library .meta-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #64748b;
}

.page.holiday-library .meta-value {
  display: block;
  margin-top: 4px;
  font-weight: 700;
  color: #1e293b;
}

.page.holiday-library .month-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 24px;
}

.page.holiday-library .month-jump a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.22);
  color: #1f2937;
  background: rgba(255,255,255,0.88);
  border-color: rgba(226,232,255,0.9);
  text-decoration: none;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.page.holiday-library .month-jump a:hover {
  background: #ffffff;
  border-color: rgba(148,163,184,0.6);
}

.page.holiday-library .library-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin: 0 0 24px;
}

.page.holiday-library .search-input {
  flex: 1 1 280px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(148,163,184,0.7);
  background: rgba(255,255,255,0.9);
  color: #0f172a;
  font-weight: 600;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.12);
}

.page.holiday-library .search-input::placeholder {
  color: rgba(71,85,105,0.8);
}

.page.holiday-library .btn-random {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.3);
  background: linear-gradient(120deg, rgba(44,0,95,0.9), rgba(28,150,243,0.9));
  color: #fff;
  font-weight: 700;
  cursor: pointer;
}

.page.holiday-library .btn-random:hover {
  filter: brightness(1.06);
}

.page.holiday-library .search-count {
  color: #cbd5f5;
  font-weight: 600;
}

.page.holiday-library .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.page.holiday-library .month-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.page.holiday-library .month-section {
  margin: 0;
  padding: 18px 16px 12px;
  border-radius: 18px;
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(226,232,255,0.9);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
}

.page.holiday-library .month-section h2 {
  margin: 0 0 12px;
  font-size: 1.3rem;
  color: #2c005f;
  position: relative;
}

.page.holiday-library .month-section h2::after {
  content: "";
  display: block;
  height: 3px;
  width: 48px;
  margin-top: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #2c005f, #1c96f3);
}

.page.holiday-library .month-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 10px;
}

.page.holiday-library .day-group {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: start;
  padding: 10px 12px;
  border-radius: 12px;
  background: #f7f8ff;
  border: 1px solid #e6ecfb;
}

.page.holiday-library .day-number {
  font-weight: 800;
  color: #2c005f;
  background: rgba(44,0,95,0.12);
  border-radius: 10px;
  padding: 4px 6px;
  text-align: center;
}

.page.holiday-library .day-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
}

.page.holiday-library .day-links a {
  color: #1f2937;
  text-decoration: none;
  font-weight: 600;
}

.page.holiday-library .day-links a:hover {
  color: #1c96f3;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page.holiday-library .muted {
  color: #94a3b8;
}

@media (max-width: 720px) {
  .page.holiday-library .library-hero {
    padding: 18px;
  }
  .page.holiday-library .day-group {
    grid-template-columns: 1fr;
  }
  .page.holiday-library .day-number {
    width: fit-content;
  }
}

.muted {
  color: var(--muted);
  margin-top: 6px;
}

@media (max-width: 720px) {
  .site-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-links {
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 10px;
    font-size: 0.95rem;
  }

  .holiday-card {
    padding: 22px 18px 26px;
  }

  .holiday-title {
    font-size: 2rem;
  }

  .fact-list {
    grid-template-columns: 1fr;
  }

  .bot-banner {
    border-radius: 20px;
    padding: 10px 12px;
    font-size: 0.95rem;
    gap: 8px;
  }

  .bot-banner-link img {
    height: 28px;
  }

  .brand {
    width: 100%;
  }

  .brand-tagline {
    font-size: 0.95rem;
  }
}

@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-aside {
    order: -1;
  }

  .hero-content .store-buttons-top {
    justify-content: center;
  }
}

/* Holiday pages: remove large white card, keep content intact */
.page:not(.home):not(.modern):not(.slack):not(.discord) {
  background: linear-gradient(180deg, #f1e9ff 0%, #f7f2ff 45%, #ffffff 100%) !important;
  color: #0f172a !important;
}

.page:not(.home):not(.modern):not(.slack):not(.discord) .holiday-card {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}

.page:not(.home):not(.modern):not(.slack):not(.discord) .hero {
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.page:not(.home):not(.modern):not(.slack):not(.discord) .hero-aside,
.page:not(.home):not(.modern):not(.slack):not(.discord) .badge-caption {
  display: none;
}

.page:not(.home):not(.modern):not(.slack):not(.discord) .section,
.page:not(.home):not(.modern):not(.slack):not(.discord) .note-bar {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  margin-top: 22px;
  box-shadow: none;
}

.page:not(.home):not(.modern):not(.slack):not(.discord) .section {
  border-top: none;
}

.page:not(.home):not(.modern):not(.slack):not(.discord) .related-card {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(99, 102, 241, 0.12);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

.page:not(.home):not(.modern):not(.slack):not(.discord) .badge-frame {
  background: rgba(248, 244, 255, 0.9);
  border-color: rgba(99, 102, 241, 0.18);
}

.page:not(.home):not(.modern):not(.slack):not(.discord) .hero-badge {
  box-shadow: 0 16px 32px rgba(44, 0, 95, 0.16);
}

.page:not(.home):not(.modern):not(.slack):not(.discord) .page-wrap {
  padding-top: 16px;
  display: flex;
  flex-direction: column;
}

.page:not(.home):not(.modern):not(.slack):not(.discord) .breadcrumb,
.page:not(.home):not(.modern):not(.slack):not(.discord) .quick-links {
  color: #4b5563;
}

.page:not(.home):not(.modern):not(.slack):not(.discord) .holiday-card {
  order: 1;
}

.page:not(.home):not(.modern):not(.slack):not(.discord) .quick-links {
  order: 2;
  margin-bottom: 8px;
}

.page:not(.home):not(.modern):not(.slack):not(.discord) .breadcrumb {
  order: 3;
  margin-top: 24px;
}

.page:not(.home):not(.modern):not(.slack):not(.discord) .breadcrumb a,
.page:not(.home):not(.modern):not(.slack):not(.discord) .quick-links a {
  color: #3b1d6a;
  font-weight: 600;
}

.page:not(.home):not(.modern):not(.slack):not(.discord) .quick-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(99, 102, 241, 0.16);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

@media (max-width: 720px) {
  .page:not(.home):not(.modern):not(.slack):not(.discord) .page-wrap {
    padding-top: 8px;
  }

  .page:not(.home):not(.modern):not(.slack):not(.discord) .quick-links {
    gap: 8px;
  }

  .page:not(.home):not(.modern):not(.slack):not(.discord) .quick-links a {
    font-size: 0.9rem;
  }
}
