/* ============================================================
   ROOTED — Self-Healing & Positive Thinking
   Aesthetic: Organic Nature Luxury
   Palette: Forest greens, warm golds, earthy browns on cream
   ============================================================ */

/* ---- CUSTOM PROPERTIES ---- */
:root {
  --cream:        #FBF7F0;
  --cream-warm:   #F5EDE0;
  --forest:       #2D5A3D;
  --forest-deep:  #1A3A28;
  --forest-light: #3E7A52;
  --gold:         #C9A84C;
  --gold-light:   #E0CFA0;
  --gold-muted:   #B89A40;
  --earth:        #8B6F47;
  --earth-light:  #A68B60;
  --sage:         #7A9E7E;
  --sage-light:   #A8C5A0;
  --moss:         #5C7A52;
  --bark:         #5C4033;
  --rose:         #C4918A;
  --rose-muted:   #B0807A;
  --text:         #3A3228;
  --text-light:   #7A7068;
  --text-muted:   #A09888;
  --white:        #FFFFFF;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'Lato', 'Segoe UI', sans-serif;

  --shadow-sm:    0 2px 8px rgba(58,50,40,0.06);
  --shadow-md:    0 8px 30px rgba(58,50,40,0.08);
  --shadow-lg:    0 20px 60px rgba(58,50,40,0.10);
  --shadow-glow:  0 0 40px rgba(201,168,76,0.15);

  --radius-sm:    12px;
  --radius-md:    20px;
  --radius-lg:    28px;
  --radius-xl:    40px;

  --ease-out:     cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring:  cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 72px;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--gold-light);
  color: var(--forest-deep);
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { cursor: pointer; border: none; background: none; font-family: var(--font-body); }

.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- SECTION BASE ---- */
.section {
  padding: 100px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.section-tag.light { color: var(--gold-light); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 500;
  color: var(--forest-deep);
  margin-bottom: 12px;
  line-height: 1.2;
}

.section-title.light { color: var(--cream); }

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 500px;
  margin: 0 auto;
  font-weight: 300;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: var(--radius-xl);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.8px;
  transition: all 0.35s var(--ease-out);
  text-transform: uppercase;
}

.btn-primary {
  background: linear-gradient(135deg, var(--forest), var(--forest-light));
  color: var(--white);
  box-shadow: 0 4px 20px rgba(45,90,61,0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(45,90,61,0.35);
}

.btn-outline {
  border: 2px solid var(--rose-muted);
  color: var(--rose-muted);
  background: transparent;
}

.btn-outline:hover {
  background: var(--rose);
  color: var(--white);
  border-color: var(--rose);
}

.btn-ghost {
  color: var(--text-light);
  padding: 13px 24px;
}

.btn-ghost:hover { color: var(--forest); }

.btn-large { padding: 16px 44px; font-size: 0.95rem; }

/* ================ NAV ================ */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  background: rgba(251,247,240,0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(201,168,76,0.1);
  transition: all 0.4s var(--ease-out);
}

.site-nav.scrolled {
  padding: 10px 32px;
  box-shadow: var(--shadow-sm);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--forest-deep);
  letter-spacing: 0.5px;
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-light);
  transition: color 0.3s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width 0.3s var(--ease-out);
}

.nav-links a:hover { color: var(--forest); }
.nav-links a:hover::after { width: 100%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
}

.nav-toggle span {
  width: 22px; height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s;
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(251,247,240,0.98);
    backdrop-filter: blur(20px);
    padding: 24px 32px;
    gap: 20px;
    border-bottom: 1px solid rgba(201,168,76,0.1);
  }
}

/* ================ 1. HERO ================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  background: linear-gradient(165deg, var(--cream) 0%, var(--cream-warm) 40%, rgba(168,197,160,0.15) 70%, rgba(201,168,76,0.08) 100%);
}

.hero-bg-shapes {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
}

.hero-blob {
  position: absolute;
  opacity: 0.06;
}

.blob-1 {
  width: 700px; top: -15%; right: -10%;
  fill: var(--forest);
  animation: blobDrift1 25s ease-in-out infinite;
}

.blob-2 {
  width: 500px; bottom: -10%; left: -5%;
  fill: var(--gold);
  animation: blobDrift2 30s ease-in-out infinite;
}

@keyframes blobDrift1 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(-30px, 20px) rotate(5deg); }
  66% { transform: translate(20px, -15px) rotate(-3deg); }
}

@keyframes blobDrift2 {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(25px, -20px) rotate(-4deg); }
}

/* Floating leaves */
.floating-leaf {
  position: absolute;
  color: var(--forest);
  pointer-events: none;
}

.leaf-1 {
  width: 80px; top: 12%; left: 8%;
  animation: leafFloat1 18s ease-in-out infinite;
}

.leaf-2 {
  width: 55px; top: 25%; right: 12%;
  animation: leafFloat2 22s ease-in-out infinite;
}

.leaf-3 {
  width: 45px; bottom: 20%; left: 15%;
  animation: leafFloat3 20s ease-in-out infinite;
}

@keyframes leafFloat1 {
  0%, 100% { transform: translate(0,0) rotate(0deg); }
  25% { transform: translate(10px,-15px) rotate(8deg); }
  50% { transform: translate(-5px,-25px) rotate(-5deg); }
  75% { transform: translate(15px,-10px) rotate(12deg); }
}

@keyframes leafFloat2 {
  0%, 100% { transform: translate(0,0) rotate(0deg); }
  33% { transform: translate(-12px,10px) rotate(-10deg); }
  66% { transform: translate(8px,-8px) rotate(6deg); }
}

@keyframes leafFloat3 {
  0%, 100% { transform: translate(0,0) rotate(0deg); }
  50% { transform: translate(20px,-20px) rotate(15deg); }
}

.sun-rays {
  position: absolute;
  top: 5%; right: 8%;
  width: 250px; height: 250px;
  animation: sunPulse 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes sunPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.8; }
}

.hero-content {
  text-align: center;
  position: relative;
  z-index: 2;
  padding: 0 24px;
}

.hero-eyebrow {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-style: italic;
  color: var(--gold);
  margin-bottom: 20px;
  letter-spacing: 2px;
  animation: fadeUp 1s var(--ease-out) 0.2s both;
}

.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 24px;
}

.title-line {
  display: block;
  font-size: clamp(2.8rem, 8vw, 5.5rem);
  color: var(--forest-deep);
  animation: fadeUp 1s var(--ease-out) 0.4s both;
}

.title-accent {
  background: linear-gradient(135deg, var(--gold), var(--earth), var(--rose));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-style: italic;
  animation: fadeUp 1s var(--ease-out) 0.6s both;
}

.hero-desc {
  font-size: 1.1rem;
  font-weight: 300;
  color: var(--text-light);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.8;
  animation: fadeUp 1s var(--ease-out) 0.8s both;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 16px 40px;
  background: linear-gradient(135deg, var(--forest), var(--forest-light));
  color: var(--white);
  border-radius: var(--radius-xl);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: 0 6px 24px rgba(45,90,61,0.3);
  transition: all 0.4s var(--ease-out);
  animation: fadeUp 1s var(--ease-out) 1s both;
}

.hero-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 36px rgba(45,90,61,0.4);
}

.cta-arrow {
  animation: bobDown 2s ease-in-out infinite;
  font-size: 1.1rem;
}

@keyframes bobDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Section divider wave */
.section-divider {
  margin-top: -2px;
  line-height: 0;
}

.section-divider svg {
  width: 100%;
  height: 50px;
  display: block;
}

/* ================ 2. AFFIRMATIONS ================ */
.affirmations-section {
  background: var(--cream);
}

.affirmation-card {
  max-width: 620px;
  margin: 0 auto;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 52px 44px 44px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(201,168,76,0.1);
}

.affirmation-glow {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--forest), var(--gold), var(--rose), var(--sage));
  background-size: 300% 100%;
  animation: gradientSlide 6s ease infinite;
}

@keyframes gradientSlide {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.affirmation-category {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--sage);
  background: rgba(122,158,126,0.1);
  padding: 5px 16px;
  border-radius: 20px;
  margin-bottom: 28px;
}

.affirmation-text {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3.5vw, 1.85rem);
  font-weight: 400;
  line-height: 1.5;
  color: var(--text);
  min-height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 36px;
  transition: opacity 0.4s var(--ease-out);
}

.affirmation-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* Favorites */
.favorites-section {
  max-width: 620px;
  margin: 40px auto 0;
}

.favorites-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--rose-muted);
  margin-bottom: 16px;
  font-weight: 400;
}

.favorites-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.favorite-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  background: var(--white);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(201,168,76,0.08);
  box-shadow: var(--shadow-sm);
  animation: fadeUp 0.4s var(--ease-out);
}

.favorite-item p {
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--text);
  font-style: italic;
  flex: 1;
  margin-right: 12px;
}

.favorite-remove {
  color: var(--text-muted);
  font-size: 1.1rem;
  transition: color 0.2s;
  padding: 4px;
}

.favorite-remove:hover { color: var(--rose); }

/* ================ 3. MOOD TRACKER ================ */
.mood-section {
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-warm) 100%);
}

.mood-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 880px;
  margin: 0 auto;
}

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

.mood-input-card,
.mood-history-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(201,168,76,0.08);
}

.mood-question {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--forest-deep);
  margin-bottom: 24px;
  font-weight: 400;
}

.mood-emojis {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.mood-emoji {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: 14px 12px;
  border-radius: var(--radius-md);
  border: 2px solid transparent;
  transition: all 0.3s var(--ease-out);
  min-width: 72px;
}

.mood-emoji:hover {
  background: rgba(201,168,76,0.06);
  border-color: var(--gold-light);
  transform: translateY(-3px);
}

.mood-emoji.selected {
  background: rgba(45,90,61,0.06);
  border-color: var(--forest);
  transform: translateY(-3px);
}

.emoji-icon { font-size: 1.8rem; }

.emoji-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.mood-emoji.selected .emoji-label { color: var(--forest); }

.mood-suggestion {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.7;
  padding: 16px 20px;
  background: rgba(168,197,160,0.1);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--sage);
  display: none;
  animation: fadeUp 0.5s var(--ease-out);
}

.mood-suggestion.visible { display: block; }

/* Mood chart */
.mood-history-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--forest-deep);
  margin-bottom: 24px;
  font-weight: 500;
}

.mood-chart {
  height: 180px;
  position: relative;
}

.chart-bars {
  display: flex;
  align-items: flex-end;
  gap: 10px;
  height: 140px;
  padding: 0 4px;
}

.chart-bar-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  height: 100%;
  justify-content: flex-end;
}

.chart-bar {
  width: 100%;
  max-width: 36px;
  border-radius: 8px 8px 4px 4px;
  transition: height 0.8s var(--ease-spring);
  position: relative;
  min-height: 4px;
}

.chart-bar.level-5 { background: linear-gradient(to top, var(--forest), var(--sage-light)); }
.chart-bar.level-4 { background: linear-gradient(to top, var(--sage), var(--sage-light)); }
.chart-bar.level-3 { background: linear-gradient(to top, var(--gold-muted), var(--gold-light)); }
.chart-bar.level-2 { background: linear-gradient(to top, var(--earth), var(--earth-light)); }
.chart-bar.level-1 { background: linear-gradient(to top, var(--rose-muted), var(--rose)); }
.chart-bar.level-0 { background: rgba(160,152,136,0.15); }

.chart-bar-emoji {
  font-size: 0.85rem;
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
}

.chart-day-label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 1px;
}

.mood-streak {
  margin-top: 16px;
  font-size: 0.82rem;
  color: var(--text-light);
  text-align: center;
  font-style: italic;
}

/* ================ 4. MEDITATION ================ */
.meditation-section {
  background: linear-gradient(180deg, var(--cream-warm) 0%, rgba(168,197,160,0.12) 50%, var(--cream) 100%);
  overflow: hidden;
}

.meditation-bg-texture {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: radial-gradient(ellipse at 20% 50%, rgba(201,168,76,0.04) 0%, transparent 60%),
              radial-gradient(ellipse at 80% 30%, rgba(45,90,61,0.04) 0%, transparent 60%);
  pointer-events: none;
}

.meditation-card {
  max-width: 500px;
  margin: 0 auto;
  text-align: center;
}

.timer-presets {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.preset-btn {
  padding: 10px 22px;
  border-radius: var(--radius-xl);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  border: 2px solid rgba(160,152,136,0.2);
  transition: all 0.3s var(--ease-out);
}

.preset-btn:hover {
  border-color: var(--forest);
  color: var(--forest);
}

.preset-btn.active {
  background: var(--forest);
  color: var(--white);
  border-color: var(--forest);
  box-shadow: 0 4px 15px rgba(45,90,61,0.25);
}

/* Timer ring */
.timer-ring-container {
  position: relative;
  width: 260px;
  height: 260px;
  margin: 0 auto 36px;
}

.timer-ring {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.ring-bg {
  stroke: rgba(160,152,136,0.12);
}

.ring-progress {
  stroke: url(#ringGrad);
  stroke: var(--forest);
  stroke-dasharray: 722.6;
  stroke-dashoffset: 0;
  transition: stroke-dashoffset 1s linear;
}

.timer-inner {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.timer-display {
  font-family: var(--font-display);
  font-size: 3.2rem;
  font-weight: 400;
  color: var(--forest-deep);
  display: block;
  line-height: 1;
}

.timer-breath-cue {
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 6px;
  display: block;
  transition: color 0.5s;
}

.timer-breath-cue.inhale { color: var(--forest); }
.timer-breath-cue.exhale { color: var(--gold-muted); }
.timer-breath-cue.hold { color: var(--sage); }

.timer-pulse {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 260px; height: 260px;
  border-radius: 50%;
  border: 2px solid rgba(45,90,61,0.06);
  pointer-events: none;
  opacity: 0;
}

.timer-pulse.breathing {
  animation: timerPulseAnim 8s ease-in-out infinite;
}

@keyframes timerPulseAnim {
  0% { transform: translate(-50%,-50%) scale(1); opacity: 0.4; border-color: rgba(45,90,61,0.15); }
  25% { transform: translate(-50%,-50%) scale(1.2); opacity: 0.1; border-color: rgba(45,90,61,0.05); }
  50% { transform: translate(-50%,-50%) scale(1); opacity: 0.4; border-color: rgba(201,168,76,0.15); }
  75% { transform: translate(-50%,-50%) scale(1.15); opacity: 0.15; }
  100% { transform: translate(-50%,-50%) scale(1); opacity: 0.4; border-color: rgba(45,90,61,0.15); }
}

.timer-controls {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-bottom: 32px;
}

.meditation-stats {
  display: flex;
  gap: 40px;
  justify-content: center;
}

.stat { text-align: center; }

.stat-value {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 500;
  color: var(--forest-deep);
  display: block;
}

.stat-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ================ 5. HEALING TIPS ================ */
.tips-section {
  background: var(--cream);
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
  max-width: 960px;
  margin: 0 auto;
}

.tip-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(201,168,76,0.08);
  box-shadow: var(--shadow-sm);
  transition: all 0.35s var(--ease-out);
  cursor: pointer;
}

.tip-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.tip-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 24px;
}

.tip-header-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.tip-icon {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.tip-icon.green  { background: rgba(122,158,126,0.15); }
.tip-icon.gold   { background: rgba(201,168,76,0.15); }
.tip-icon.earth  { background: rgba(139,111,71,0.12); }
.tip-icon.rose   { background: rgba(196,145,138,0.15); }
.tip-icon.forest { background: rgba(45,90,61,0.1); }
.tip-icon.sage   { background: rgba(92,122,82,0.12); }

.tip-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text);
}

.tip-toggle {
  font-size: 1.2rem;
  color: var(--text-muted);
  transition: transform 0.35s var(--ease-out);
}

.tip-card.open .tip-toggle {
  transform: rotate(45deg);
}

.tip-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s var(--ease-out), padding 0.5s var(--ease-out);
}

.tip-card.open .tip-body {
  max-height: 300px;
}

.tip-body-inner {
  padding: 0 24px 22px;
  color: var(--text-light);
  font-size: 0.92rem;
  line-height: 1.8;
}

/* ================ 6. QUOTES CAROUSEL ================ */
.quotes-section {
  background: linear-gradient(165deg, var(--forest-deep) 0%, var(--forest) 60%, var(--bark) 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.quotes-texture {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background:
    radial-gradient(ellipse at 15% 80%, rgba(201,168,76,0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 85% 20%, rgba(168,197,160,0.06) 0%, transparent 50%);
  pointer-events: none;
}

.quotes-carousel {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.quote-slide {
  position: relative;
  padding: 20px 0;
}

.quote-mark {
  width: 50px;
  margin: 0 auto 16px;
  display: block;
}

.quote-text {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3.5vw, 1.8rem);
  font-weight: 400;
  font-style: italic;
  color: var(--cream);
  line-height: 1.6;
  margin-bottom: 20px;
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s var(--ease-out);
}

.quote-author {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  font-style: normal;
}

.quote-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 36px;
}

.quote-arrow {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.5);
  transition: all 0.3s var(--ease-out);
}

.quote-arrow:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201,168,76,0.08);
}

.quote-dots {
  display: flex;
  gap: 8px;
}

.quote-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  transition: all 0.3s;
  cursor: pointer;
}

.quote-dot.active {
  background: var(--gold);
  width: 24px;
  border-radius: 4px;
}

/* ================ 7. FOOTER ================ */
.site-footer {
  position: relative;
  background: var(--forest-deep);
  padding: 80px 24px 40px;
  overflow: hidden;
}

.footer-nature {
  position: absolute;
  top: -50px; left: 0; right: 0;
  line-height: 0;
}

.footer-nature svg {
  width: 100%;
  height: 60px;
}

.footer-content {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.footer-tree {
  width: 50px;
  margin: 0 auto 20px;
  display: block;
}

.footer-text {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-style: italic;
  color: rgba(251,247,240,0.7);
  line-height: 1.7;
  margin-bottom: 16px;
}

.footer-sign {
  font-size: 0.85rem;
  color: rgba(201,168,76,0.5);
  letter-spacing: 1px;
}

.footer-sign em {
  font-family: var(--font-display);
  font-size: 1rem;
}

.back-to-top {
  margin-top: 36px;
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.4);
  transition: all 0.3s var(--ease-out);
}

.back-to-top:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-3px);
}

/* ================ SCROLL ANIMATIONS ================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ================ TOAST NOTIFICATION ================ */
.toast {
  position: fixed;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--forest);
  color: var(--white);
  padding: 12px 28px;
  border-radius: var(--radius-xl);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  box-shadow: 0 8px 30px rgba(45,90,61,0.3);
  opacity: 0;
  pointer-events: none;
  transition: all 0.4s var(--ease-out);
  z-index: 9999;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ================ 6. BRAIN GAMES ================ */
.braingames-section {
  background: var(--cream);
  position: relative;
  overflow: hidden;
}

.braingames-bg-texture {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background:
    radial-gradient(ellipse at 70% 20%, rgba(201,168,76,0.05) 0%, transparent 55%),
    radial-gradient(ellipse at 20% 80%, rgba(45,90,61,0.04) 0%, transparent 50%);
  pointer-events: none;
}

/* Game Tabs */
.game-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.game-tab {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: var(--radius-xl);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  border: 2px solid rgba(160,152,136,0.18);
  transition: all 0.3s var(--ease-out);
  background: var(--white);
}

.game-tab:hover {
  border-color: var(--forest);
  color: var(--forest);
}

.game-tab.active {
  background: var(--forest);
  color: var(--white);
  border-color: var(--forest);
  box-shadow: 0 4px 16px rgba(45,90,61,0.2);
}

.game-tab-icon { font-size: 1.1rem; }

/* Arena */
.game-arena-wrap {
  max-width: 620px;
  margin: 0 auto;
}

.game-arena {
  display: none;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(201,168,76,0.08);
  animation: fadeUp 0.4s var(--ease-out);
}

.game-arena.active { display: block; }

.game-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 12px;
}

.game-stat-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.game-stat-pill {
  font-size: 0.78rem;
  letter-spacing: 0.5px;
  color: var(--text-light);
  background: rgba(160,152,136,0.08);
  padding: 5px 14px;
  border-radius: 20px;
}

.game-stat-pill strong {
  color: var(--forest-deep);
  font-weight: 700;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.78rem;
  border-radius: 20px;
}

.btn-forest {
  background: var(--forest);
  color: var(--white);
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  box-shadow: 0 2px 10px rgba(45,90,61,0.2);
  transition: all 0.3s var(--ease-out);
}

.btn-forest:hover {
  background: var(--forest-deep);
  transform: translateY(-1px);
}

.game-hint {
  margin-top: 20px;
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
  font-style: italic;
  line-height: 1.6;
}

/* --- Memory Match --- */
.memory-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  max-width: 400px;
  margin: 0 auto;
}

.memory-card {
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  cursor: pointer;
  position: relative;
  perspective: 600px;
}

.memory-card-inner {
  width: 100%; height: 100%;
  position: relative;
  transition: transform 0.5s var(--ease-out);
  transform-style: preserve-3d;
}

.memory-card.flipped .memory-card-inner,
.memory-card.matched .memory-card-inner {
  transform: rotateY(180deg);
}

.memory-card-face {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.memory-card-back {
  background: linear-gradient(135deg, var(--forest), var(--forest-light));
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.1);
}

.memory-card-back::after {
  content: '🌿';
  font-size: 1.4rem;
  opacity: 0.5;
}

.memory-card-front {
  background: var(--cream);
  border: 2px solid rgba(201,168,76,0.15);
  transform: rotateY(180deg);
  font-size: 2rem;
}

.memory-card.matched .memory-card-front {
  background: rgba(168,197,160,0.2);
  border-color: var(--sage);
  animation: matchPop 0.4s var(--ease-spring);
}

@keyframes matchPop {
  0% { transform: rotateY(180deg) scale(1); }
  50% { transform: rotateY(180deg) scale(1.15); }
  100% { transform: rotateY(180deg) scale(1); }
}

/* --- Word Scramble --- */
.scramble-stage { text-align: center; }

.scramble-category {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}

.scramble-letters {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
  min-height: 60px;
  align-items: center;
}

.scramble-tile {
  width: 44px; height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--forest-deep);
  background: var(--cream);
  border: 2px solid rgba(201,168,76,0.2);
  border-radius: 10px;
  animation: tileIn 0.3s var(--ease-spring) both;
  text-transform: uppercase;
}

@keyframes tileIn {
  from { opacity: 0; transform: scale(0.5) rotate(-10deg); }
  to { opacity: 1; transform: scale(1) rotate(0); }
}

.scramble-input-row {
  display: flex;
  gap: 10px;
  justify-content: center;
  max-width: 340px;
  margin: 0 auto;
}

.scramble-input {
  flex: 1;
  padding: 12px 18px;
  border: 2px solid rgba(160,152,136,0.2);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  outline: none;
  transition: border-color 0.3s;
  text-align: center;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.scramble-input:focus {
  border-color: var(--forest);
}

.scramble-feedback,
.stroop-feedback,
.math-feedback {
  margin-top: 16px;
  font-size: 0.9rem;
  font-weight: 700;
  min-height: 28px;
  transition: opacity 0.3s;
}

.feedback-correct { color: var(--forest); }
.feedback-wrong { color: var(--rose); }
.feedback-info { color: var(--gold-muted); }

/* --- Color Mind (Stroop) --- */
.stroop-stage { text-align: center; }

.stroop-instruction {
  font-size: 0.88rem;
  color: var(--text-light);
  margin-bottom: 24px;
  line-height: 1.6;
}

.stroop-instruction em {
  color: var(--forest);
  font-weight: 700;
}

.stroop-word {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 4rem);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 4px;
  margin-bottom: 28px;
  min-height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.2s;
}

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

.stroop-btn {
  padding: 14px 28px;
  border-radius: var(--radius-xl);
  color: var(--white);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all 0.2s var(--ease-out);
  box-shadow: 0 3px 12px rgba(0,0,0,0.15);
  min-width: 90px;
}

.stroop-btn:hover {
  transform: translateY(-2px) scale(1.04);
  box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.stroop-btn:active {
  transform: scale(0.96);
}

.stroop-btn.flash-correct {
  animation: flashGreen 0.3s;
}

.stroop-btn.flash-wrong {
  animation: flashShake 0.4s;
}

@keyframes flashGreen {
  0%, 100% { box-shadow: 0 3px 12px rgba(0,0,0,0.15); }
  50% { box-shadow: 0 0 20px rgba(77,175,107,0.6); }
}

@keyframes flashShake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-6px); }
  75% { transform: translateX(6px); }
}

/* --- Quick Math --- */
.math-stage { text-align: center; }

.math-problem {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 6vw, 3.5rem);
  font-weight: 500;
  color: var(--forest-deep);
  margin-bottom: 28px;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 2px;
}

.math-choices {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  max-width: 320px;
  margin: 0 auto;
}

.math-choice {
  padding: 16px;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text);
  background: var(--cream);
  border: 2px solid rgba(160,152,136,0.15);
  transition: all 0.25s var(--ease-out);
}

.math-choice:hover {
  border-color: var(--forest);
  background: rgba(45,90,61,0.05);
  transform: translateY(-2px);
}

.math-choice.correct-flash {
  background: rgba(77,175,107,0.15);
  border-color: var(--forest);
  animation: matchPop 0.35s var(--ease-spring);
}

.math-choice.wrong-flash {
  background: rgba(196,145,138,0.15);
  border-color: var(--rose);
  animation: flashShake 0.35s;
}

/* --- Pattern Recall --- */
.seq-stage { text-align: center; }

.seq-instruction {
  font-size: 0.92rem;
  color: var(--text-light);
  margin-bottom: 24px;
  min-height: 24px;
  font-weight: 400;
}

.seq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  max-width: 270px;
  margin: 0 auto;
}

.seq-cell {
  aspect-ratio: 1;
  border-radius: var(--radius-sm);
  background: var(--cream-warm);
  border: 2px solid rgba(160,152,136,0.12);
  transition: all 0.2s var(--ease-out);
  cursor: pointer;
}

.seq-cell:hover {
  border-color: rgba(45,90,61,0.3);
}

.seq-cell.lit {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  border-color: var(--gold);
  box-shadow: 0 0 18px rgba(201,168,76,0.4);
  transform: scale(1.05);
}

.seq-cell.player-correct {
  background: linear-gradient(135deg, var(--forest), var(--sage));
  border-color: var(--forest);
  box-shadow: 0 0 15px rgba(45,90,61,0.3);
}

.seq-cell.player-wrong {
  background: linear-gradient(135deg, var(--rose), var(--rose-muted));
  border-color: var(--rose);
  box-shadow: 0 0 15px rgba(196,145,138,0.3);
  animation: flashShake 0.35s;
}

.seq-cell[disabled] {
  pointer-events: none;
}

/* Lifetime Stats */
.game-lifetime-stats {
  display: flex;
  gap: 40px;
  justify-content: center;
  margin-top: 36px;
}

/* ================ 7. BLOG ================ */
.blog-section {
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-warm) 100%);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 22px;
  max-width: 1000px;
  margin: 0 auto;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(201,168,76,0.08);
  box-shadow: var(--shadow-sm);
  transition: all 0.4s var(--ease-out);
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
}

.blog-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.blog-card-badge {
  display: inline-block;
  padding: 6px 16px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
  background: var(--forest);
  margin: 20px 20px 0;
  border-radius: 20px;
  align-self: flex-start;
}

.blog-card-badge.badge-sage { background: var(--sage); }
.blog-card-badge.badge-gold { background: var(--gold-muted); }
.blog-card-badge.badge-rose { background: var(--rose-muted); }
.blog-card-badge.badge-earth { background: var(--earth); }

.blog-card-body {
  padding: 16px 20px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.blog-card-title {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--forest-deep);
  line-height: 1.35;
  margin-bottom: 10px;
}

.blog-card:hover .blog-card-title {
  color: var(--forest);
}

.blog-card-excerpt {
  font-size: 0.88rem;
  color: var(--text-light);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 14px;
}

.blog-card-meta {
  display: flex;
  justify-content: space-between;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-muted);
  border-top: 1px solid rgba(201,168,76,0.08);
  padding-top: 12px;
}

/* ================ FOOTER EXPANDED ================ */
.footer-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin: 32px 0 24px;
  padding: 24px 0;
  border-top: 1px solid rgba(168,197,160,0.12);
  border-bottom: 1px solid rgba(168,197,160,0.12);
}

.footer-links a {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(251,247,240,0.45);
  transition: color 0.3s;
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.footer-copy {
  font-size: 0.78rem;
  color: rgba(251,247,240,0.3);
  letter-spacing: 0.5px;
}

/* ================ COOKIE CONSENT ================ */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 10000;
  background: var(--forest-deep);
  border-top: 1px solid rgba(201,168,76,0.15);
  padding: 18px 24px;
  transform: translateY(0);
  transition: transform 0.5s var(--ease-out);
}

.cookie-banner.hidden {
  transform: translateY(100%);
  pointer-events: none;
}

.cookie-inner {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.cookie-text {
  font-size: 0.85rem;
  color: rgba(251,247,240,0.7);
  line-height: 1.6;
  flex: 1;
  min-width: 250px;
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.cookie-link {
  font-size: 0.78rem;
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ================ SUBPAGE SHARED ================ */
.subpage-header {
  padding: 120px 24px 50px;
  text-align: center;
  background: linear-gradient(165deg, var(--cream) 0%, var(--cream-warm) 60%, rgba(168,197,160,0.1) 100%);
}

.subpage-body {
  max-width: 760px;
  margin: 0 auto;
  padding: 50px 24px 80px;
}

.subpage-body h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--forest-deep);
  margin: 40px 0 14px;
}

.subpage-body h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 500;
  color: var(--forest);
  margin: 28px 0 10px;
}

.subpage-body p {
  font-size: 1rem;
  color: var(--text);
  line-height: 1.85;
  margin-bottom: 16px;
}

.subpage-body ul {
  margin: 10px 0 20px 24px;
  color: var(--text);
  line-height: 2;
}

.subpage-body a {
  color: var(--forest);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Contact form */
.contact-form {
  max-width: 540px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 2px solid rgba(160,152,136,0.2);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  background: var(--white);
  outline: none;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--forest);
}

.form-group textarea {
  min-height: 160px;
  resize: vertical;
}

/* Article page */
.article-hero {
  padding: 130px 24px 60px;
  text-align: center;
  background: linear-gradient(165deg, var(--cream) 0%, var(--cream-warm) 60%, rgba(168,197,160,0.12) 100%);
}

.article-badge {
  display: inline-block;
  padding: 5px 16px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--white);
  background: var(--forest);
  border-radius: 20px;
  margin-bottom: 18px;
}

.article-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 600;
  color: var(--forest-deep);
  line-height: 1.25;
  max-width: 700px;
  margin: 0 auto 16px;
}

.article-meta {
  font-size: 0.82rem;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.article-meta span + span::before {
  content: '·';
  margin: 0 10px;
}

.article-body {
  max-width: 700px;
  margin: 0 auto;
  padding: 50px 24px 80px;
}

.article-body p {
  font-size: 1.05rem;
  color: var(--text);
  line-height: 1.9;
  margin-bottom: 20px;
}

.article-body h2 {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--forest-deep);
  margin: 44px 0 16px;
}

.article-body h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 500;
  color: var(--forest);
  margin: 32px 0 12px;
}

.article-body blockquote {
  border-left: 4px solid var(--gold);
  padding: 16px 24px;
  margin: 28px 0;
  background: rgba(201,168,76,0.05);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.1rem;
  color: var(--text);
  line-height: 1.7;
}

.article-body ul,
.article-body ol {
  margin: 12px 0 24px 24px;
  line-height: 2;
  color: var(--text);
}

.article-cta {
  margin-top: 48px;
  padding: 32px;
  background: linear-gradient(135deg, rgba(45,90,61,0.06), rgba(201,168,76,0.06));
  border-radius: var(--radius-md);
  text-align: center;
  border: 1px solid rgba(201,168,76,0.1);
}

.article-cta p {
  font-family: var(--font-display);
  font-size: 1.15rem;
  color: var(--forest-deep);
  margin-bottom: 16px;
}

.article-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--forest);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.article-back:hover { text-decoration: underline; }

/* ================ RESPONSIVE ================ */
@media (max-width: 600px) {
  .section { padding: 70px 0; }
  .affirmation-card { padding: 36px 24px 32px; }
  .mood-input-card, .mood-history-card { padding: 28px 20px; }
  .timer-ring-container { width: 220px; height: 220px; }
  .tips-grid { grid-template-columns: 1fr; }
  .game-arena { padding: 24px 18px; }
  .memory-grid { gap: 7px; }
  .scramble-tile { width: 36px; height: 44px; font-size: 1.2rem; }
  .game-tab { padding: 9px 14px; font-size: 0.75rem; }
  .game-tab-name { display: none; }
  .game-tab-icon { font-size: 1.3rem; }
  .stroop-btn { padding: 12px 20px; font-size: 0.8rem; min-width: 72px; }
  .blog-grid { grid-template-columns: 1fr; }
  .footer-links { gap: 14px; }
  .cookie-inner { flex-direction: column; text-align: center; }
}
