:root {
  --uplift-sun: #ffb703;
  --uplift-coral: #fb6f92;
  --uplift-sky: #4cc9f0;
  --uplift-ink: #17324d;
}

body.theme-uplifting {
  position: relative;
  min-height: 100vh;
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 183, 3, 0.35), transparent 34%),
    radial-gradient(circle at 95% 16%, rgba(251, 111, 146, 0.28), transparent 38%),
    radial-gradient(circle at 60% 100%, rgba(76, 201, 240, 0.2), transparent 45%),
    linear-gradient(160deg, #fff7cf 0%, #ffe5f0 34%, #dff3ff 68%, #f4fff6 100%);
  background-attachment: fixed;
}

body.theme-uplifting::before,
body.theme-uplifting::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

body.theme-uplifting::before {
  background:
    radial-gradient(circle at 18% 34%, rgba(255, 122, 61, 0.25) 0, rgba(255, 122, 61, 0) 46%),
    radial-gradient(circle at 82% 65%, rgba(89, 201, 255, 0.22) 0, rgba(89, 201, 255, 0) 48%),
    radial-gradient(circle at 45% 82%, rgba(154, 230, 180, 0.18) 0, rgba(154, 230, 180, 0) 52%);
  filter: blur(12px) saturate(1.12);
  animation: uplift-blobs 18s ease-in-out infinite alternate;
}

body.theme-uplifting::after {
  background-image:
    linear-gradient(115deg, rgba(255, 255, 255, 0.14) 0%, rgba(255, 255, 255, 0) 36%),
    linear-gradient(0deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.08)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.04) 0 2px, rgba(255, 255, 255, 0) 2px 12px);
  mix-blend-mode: soft-light;
  opacity: 0.7;
}

@keyframes uplift-blobs {
  0% {
    transform: translate3d(-2%, -1%, 0) scale(1);
  }
  50% {
    transform: translate3d(2%, 1%, 0) scale(1.06);
  }
  100% {
    transform: translate3d(-1%, 2%, 0) scale(1.02);
  }
}

.uplifting-header {
  position: relative;
  color: var(--uplift-ink);
  background:
    radial-gradient(circle at 12% 25%, rgba(255, 183, 3, 0.45), transparent 45%),
    radial-gradient(circle at 92% 10%, rgba(251, 111, 146, 0.35), transparent 45%),
    linear-gradient(130deg, #fff9d6 0%, #fff1f5 48%, #e9f8ff 100%);
  border-bottom: 1px solid rgba(23, 50, 77, 0.12);
  overflow: visible;
}

.uplifting-header::after {
  content: '';
  position: absolute;
  inset: auto -15% -55% auto;
  width: 300px;
  height: 300px;
  border-radius: 999px;
  background: rgba(76, 201, 240, 0.25);
  filter: blur(2px);
  pointer-events: none;
}

@media (max-width: 767.98px) {
  .uplifting-header::after {
    display: none;
  }
}

.uplifting-header .container {
  position: relative;
  z-index: 1;
}

.uplifting-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #7a4b00;
  background: rgba(255, 183, 3, 0.2);
  border: 1px solid rgba(255, 183, 3, 0.55);
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
  margin-bottom: 0.75rem;
}

.uplifting-title {
  position: relative;
  display: inline-block;
  margin: 0;
  font-family: "DM Serif Display", Georgia, "Times New Roman", serif;
  font-weight: 800;
  font-style: italic;
  font-size: clamp(1.9rem, 3.2vw, 2.9rem);
  line-height: 1.02;
  letter-spacing: 0.02em;
  transform: rotate(-1deg);
  background: linear-gradient(115deg, #ff7a3d 0%, #ff5e8a 40%, #59c9ff 85%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0.02em 0.02em 0 rgba(255, 255, 255, 0.28), 0 10px 24px rgba(251, 111, 146, 0.26);
}

.uplifting-subtitle {
  margin: 0.45rem 0 0;
  font-size: 1.02rem;
  color: rgba(23, 50, 77, 0.85);
}

.uplifting-title::after {
  content: '';
  position: absolute;
  left: 6%;
  bottom: -0.22em;
  width: 92%;
  height: 0.14em;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(255, 122, 61, 0.8), rgba(89, 201, 255, 0.8));
  opacity: 0.9;
}

body.theme-uplifting #topicTabs {
  border-bottom: 0;
  gap: 0.5rem;
}

body.theme-uplifting #topicTabs .nav-link {
  border: 0;
  color: #274057;
  background: rgba(255, 255, 255, 0.72);
  border-radius: 999px;
  padding: 0.45rem 0.95rem;
  font-weight: 600;
  box-shadow: 0 6px 14px rgba(18, 50, 84, 0.08);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}

body.theme-uplifting #topicTabs .nav-link:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(18, 50, 84, 0.12);
}

body.theme-uplifting #topicTabs .nav-link.active {
  color: #ffffff;
  background: linear-gradient(120deg, #ff8b57, #ff5f8f 55%, #57c8ff);
  box-shadow: 0 12px 20px rgba(251, 111, 146, 0.28);
}

body.theme-uplifting .article-card {
  border: 0;
  border-radius: 1rem;
  box-shadow:
    0 12px 28px rgba(18, 50, 84, 0.12),
    0 2px 6px rgba(18, 50, 84, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

body.theme-uplifting .article-card:hover {
  transform: translateY(-4px);
  box-shadow:
    0 18px 34px rgba(18, 50, 84, 0.16),
    0 4px 10px rgba(18, 50, 84, 0.1);
}

body.theme-uplifting .article-overlay {
  background: linear-gradient(to top, rgba(8, 25, 41, 0.76), rgba(8, 25, 41, 0.16));
}

body.theme-uplifting .status-icon {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.65);
}

body.theme-uplifting .summary-text {
  color: #2b4053 !important;
}

body.theme-uplifting .collapse-toggle {
  color: #35587a;
}

body.theme-uplifting .day-separator {
  border-bottom: 1px solid rgba(53, 88, 122, 0.24);
}

body.theme-uplifting .day-title {
  color: #17324d;
}

body.theme-uplifting .day-count {
  color: #44627e;
}
