/*
Theme Name: The Young Millennial
Theme URI: https://theyoungmillennial.com
Author: The Young Millennial
Author URI: https://theyoungmillennial.com
Description: A cosmic, celestial lifestyle blog theme for astrology & millennial living. Moody deep-space tones, editorial typography, and mystical flair.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, custom-colors, custom-logo, custom-menu, featured-images, footer-widgets, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready, astrology, lifestyle
Text Domain: theyoungmillennial
*/

/* ===========================
   CSS CUSTOM PROPERTIES
   =========================== */
:root {
  /* Colors */
  --color-void:       #080b14;
  --color-deep:       #0d1020;
  --color-midnight:   #111828;
  --color-dusk:       #1a2040;
  --color-nebula:     #2a1f4a;
  --color-stardust:   #3d2a6a;
  --color-aurora:     #7b5ea7;
  --color-lavender:   #c4a8e0;
  --color-moonbeam:   #e8daf5;
  --color-starlight:  #f5f0fc;
  --color-gold:       #d4a843;
  --color-gold-light: #f0c96a;
  --color-rose:       #c47a8a;
  --color-rose-light: #e8a0b0;
  --color-cream:      #faf6f0;
  --color-white:      #ffffff;

  /* Typography */
  --font-display:  'Cormorant Garamond', Georgia, serif;
  --font-heading:  'Playfair Display', Georgia, serif;
  --font-body:     'DM Sans', -apple-system, sans-serif;
  --font-accent:   'Cinzel Decorative', serif;
  --font-mono:     'Courier New', monospace;

  /* Spacing */
  --space-xs:   0.25rem;
  --space-sm:   0.5rem;
  --space-md:   1rem;
  --space-lg:   1.5rem;
  --space-xl:   2rem;
  --space-2xl:  3rem;
  --space-3xl:  4rem;
  --space-4xl:  6rem;
  --space-5xl:  8rem;

  /* Layout */
  --container-max:   1280px;
  --container-text:  720px;
  --container-wide:  1100px;

  /* Effects */
  --radius-sm:  4px;
  --radius-md:  8px;
  --radius-lg:  16px;
  --radius-xl:  24px;
  --radius-pill: 999px;
  --shadow-glow: 0 0 30px rgba(123, 94, 167, 0.3);
  --shadow-gold: 0 0 20px rgba(212, 168, 67, 0.2);
  --shadow-card: 0 8px 40px rgba(0, 0, 0, 0.4);
  --transition:  all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-void);
  color: var(--color-moonbeam);
  line-height: 1.75;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 10%, rgba(42, 31, 74, 0.6) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 90%, rgba(61, 42, 106, 0.4) 0%, transparent 60%),
    radial-gradient(ellipse 40% 30% at 60% 40%, rgba(123, 94, 167, 0.1) 0%, transparent 60%);
  pointer-events: none;
  z-index: -1;
}

a {
  color: var(--color-lavender);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--color-gold-light);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===========================
   STAR FIELD EFFECT
   =========================== */
.star-field {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.star {
  position: absolute;
  background: white;
  border-radius: 50%;
  animation: twinkle var(--duration, 3s) ease-in-out infinite;
  animation-delay: var(--delay, 0s);
  opacity: 0;
}

@keyframes twinkle {
  0%, 100% { opacity: 0; transform: scale(0.8); }
  50%       { opacity: var(--brightness, 0.8); transform: scale(1); }
}

/* ===========================
   TYPOGRAPHY SYSTEM
   =========================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  line-height: 1.2;
  color: var(--color-starlight);
  letter-spacing: -0.01em;
}

h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(1.8rem, 4vw, 3rem); }
h3 { font-size: clamp(1.4rem, 3vw, 2rem); }
h4 { font-size: clamp(1.1rem, 2vw, 1.5rem); }
h5 { font-size: 1.1rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: var(--space-lg);
  font-size: 1.0625rem;
  color: var(--color-lavender);
}

blockquote {
  border-left: 3px solid var(--color-gold);
  margin: var(--space-2xl) 0;
  padding: var(--space-lg) var(--space-xl);
  background: rgba(212, 168, 67, 0.05);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

blockquote p {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-style: italic;
  color: var(--color-gold-light);
  margin: 0;
}

/* ===========================
   LAYOUT UTILITIES
   =========================== */
.container {
  width: min(var(--container-max), 100% - 2rem);
  margin-inline: auto;
  padding-inline: var(--space-xl);
}

.container--text {
  width: min(var(--container-text), 100% - 2rem);
  margin-inline: auto;
  padding-inline: var(--space-xl);
}

.container--wide {
  width: min(var(--container-wide), 100% - 2rem);
  margin-inline: auto;
  padding-inline: var(--space-xl);
}

/* ===========================
   HEADER & NAVIGATION
   =========================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  transition: var(--transition);
}

.site-header.scrolled {
  background: rgba(8, 11, 20, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(123, 94, 167, 0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-lg) var(--space-2xl);
  max-width: var(--container-max);
  margin: 0 auto;
}

.site-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

.site-logo img {
  max-height: 60px;
  width: auto;
}

.site-logo .logo-text {
  font-family: var(--font-accent);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: var(--color-gold);
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-2xl);
  list-style: none;
}

.nav-menu a {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-lavender);
  position: relative;
  padding-bottom: var(--space-xs);
}

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

.nav-menu a:hover {
  color: var(--color-starlight);
}

.nav-menu a:hover::after {
  width: 100%;
}

/* Mobile Nav Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-sm);
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--color-lavender);
  transition: var(--transition);
  border-radius: 2px;
}

/* ===========================
   HERO SECTION
   =========================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: var(--space-5xl) var(--space-xl);
  text-align: center;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
  filter: saturate(0.8) hue-rotate(10deg);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(8, 11, 20, 0.3) 0%,
    rgba(8, 11, 20, 0.2) 40%,
    rgba(8, 11, 20, 0.8) 80%,
    var(--color-void) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
}

.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-xl);
  padding: var(--space-xs) var(--space-lg);
  border: 1px solid rgba(212, 168, 67, 0.3);
  border-radius: var(--radius-pill);
  animation: fadeInDown 1s ease both;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 10vw, 8rem);
  font-weight: 300;
  line-height: 1.0;
  color: var(--color-white);
  margin-bottom: var(--space-xl);
  animation: fadeInUp 1s ease 0.2s both;
  letter-spacing: -0.02em;
}

.hero-title em {
  font-style: italic;
  color: var(--color-lavender);
}

.hero-subtitle {
  font-size: 1.1rem;
  color: var(--color-lavender);
  max-width: 520px;
  margin: 0 auto var(--space-2xl);
  animation: fadeInUp 1s ease 0.4s both;
  line-height: 1.8;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-2xl);
  background: linear-gradient(135deg, var(--color-stardust), var(--color-aurora));
  color: var(--color-starlight) !important;
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-glow);
  transition: var(--transition);
  animation: fadeInUp 1s ease 0.6s both;
}

.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 50px rgba(123, 94, 167, 0.5);
  color: var(--color-white) !important;
}

.hero-scroll {
  position: absolute;
  bottom: var(--space-2xl);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  color: var(--color-aurora);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  animation: fadeIn 2s ease 1s both;
}

.hero-scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--color-aurora), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.8); }
  50%       { opacity: 1; transform: scaleY(1); }
}

/* ===========================
   CATEGORY PILLS / FILTER
   =========================== */
.category-nav {
  padding: var(--space-2xl) 0;
  text-align: center;
}

.category-nav-inner {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

.category-pill {
  display: inline-flex;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-sm) var(--space-lg);
  border: 1px solid rgba(123, 94, 167, 0.35);
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-aurora);
  background: rgba(42, 31, 74, 0.3);
  transition: var(--transition);
  cursor: pointer;
}

.category-pill:hover,
.category-pill.active {
  background: var(--color-stardust);
  border-color: var(--color-aurora);
  color: var(--color-starlight);
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
}

/* ===========================
   SECTION HEADERS
   =========================== */
.section-header {
  text-align: center;
  margin-bottom: var(--space-4xl);
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-md);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: var(--space-lg);
}

.section-eyebrow::before,
.section-eyebrow::after {
  content: '✦';
  font-size: 0.5rem;
  opacity: 0.6;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 300;
  color: var(--color-starlight);
}

.section-divider {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin: var(--space-lg) auto 0;
  max-width: 200px;
  justify-content: center;
}

.section-divider::before,
.section-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--color-aurora), transparent);
}

.section-divider-icon {
  color: var(--color-aurora);
  font-size: 0.8rem;
}

/* ===========================
   POST CARDS
   =========================== */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: var(--space-2xl);
  padding: var(--space-2xl) 0 var(--space-4xl);
}

.post-card {
  background: rgba(17, 24, 40, 0.6);
  border: 1px solid rgba(123, 94, 167, 0.15);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
  backdrop-filter: blur(10px);
}

.post-card:hover {
  transform: translateY(-6px);
  border-color: rgba(123, 94, 167, 0.4);
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

.post-card-image {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.post-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.post-card:hover .post-card-image img {
  transform: scale(1.05);
}

.post-card-image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(8, 11, 20, 0.7) 100%);
}

.post-card-category {
  position: absolute;
  top: var(--space-md);
  left: var(--space-md);
  padding: var(--space-xs) var(--space-md);
  background: rgba(42, 31, 74, 0.85);
  border: 1px solid rgba(123, 94, 167, 0.5);
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-lavender);
  backdrop-filter: blur(8px);
}

.post-card-body {
  padding: var(--space-xl);
}

.post-card-meta {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
  font-size: 0.78rem;
  color: var(--color-aurora);
  letter-spacing: 0.05em;
}

.post-card-meta .separator {
  width: 3px;
  height: 3px;
  background: var(--color-aurora);
  border-radius: 50%;
  opacity: 0.5;
}

.post-card-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-starlight);
  margin-bottom: var(--space-md);
  line-height: 1.3;
  transition: color 0.2s;
}

.post-card:hover .post-card-title {
  color: var(--color-lavender);
}

.post-card-excerpt {
  font-size: 0.92rem;
  color: rgba(196, 168, 224, 0.75);
  line-height: 1.7;
  margin-bottom: var(--space-lg);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-card-link {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold);
  transition: var(--transition);
}

.post-card-link::after {
  content: '→';
  transition: transform 0.2s;
}

.post-card:hover .post-card-link {
  color: var(--color-gold-light);
}

.post-card:hover .post-card-link::after {
  transform: translateX(4px);
}

/* Featured Post Card */
.post-card--featured {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.post-card--featured .post-card-image {
  aspect-ratio: unset;
  min-height: 380px;
}

.post-card--featured .post-card-body {
  padding: var(--space-3xl);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.post-card--featured .post-card-title {
  font-size: 1.8rem;
}

/* ===========================
   FEATURED SECTION
   =========================== */
.featured-section {
  padding: var(--space-4xl) 0;
  position: relative;
}

/* ===========================
   ZODIAC WIDGET / SIDEBAR WIDGET
   =========================== */
.zodiac-widget {
  background: linear-gradient(135deg, rgba(42, 31, 74, 0.6), rgba(26, 32, 64, 0.6));
  border: 1px solid rgba(123, 94, 167, 0.25);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  backdrop-filter: blur(15px);
  text-align: center;
}

.zodiac-widget-title {
  font-family: var(--font-accent);
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--color-gold);
  text-transform: uppercase;
  margin-bottom: var(--space-xl);
}

.zodiac-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-md);
}

.zodiac-sign {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
  padding: var(--space-md) var(--space-sm);
  border-radius: var(--radius-md);
  border: 1px solid transparent;
  transition: var(--transition);
  cursor: pointer;
  text-decoration: none;
}

.zodiac-sign:hover {
  background: rgba(123, 94, 167, 0.2);
  border-color: rgba(123, 94, 167, 0.4);
  transform: translateY(-2px);
}

.zodiac-sign-symbol {
  font-size: 1.6rem;
  line-height: 1;
}

.zodiac-sign-name {
  font-size: 0.65rem;
  letter-spacing: 0.05em;
  color: var(--color-aurora);
  text-transform: uppercase;
}

/* ===========================
   NEWSLETTER / CTA SECTION
   =========================== */
.newsletter-section {
  padding: var(--space-5xl) 0;
  position: relative;
  overflow: hidden;
}

.newsletter-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 70% 60% at center, rgba(42, 31, 74, 0.5) 0%, transparent 70%);
}

.newsletter-inner {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
  padding: var(--space-4xl) var(--space-2xl);
  background: rgba(13, 16, 32, 0.7);
  border: 1px solid rgba(123, 94, 167, 0.25);
  border-radius: var(--radius-xl);
  backdrop-filter: blur(20px);
}

.newsletter-icon {
  font-size: 2.5rem;
  margin-bottom: var(--space-lg);
}

.newsletter-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 300;
  color: var(--color-starlight);
  margin-bottom: var(--space-md);
}

.newsletter-text {
  color: var(--color-lavender);
  margin-bottom: var(--space-2xl);
}

.newsletter-form {
  display: flex;
  gap: var(--space-md);
  max-width: 440px;
  margin: 0 auto;
}

.newsletter-input {
  flex: 1;
  padding: var(--space-md) var(--space-lg);
  background: rgba(26, 32, 64, 0.8);
  border: 1px solid rgba(123, 94, 167, 0.35);
  border-radius: var(--radius-pill);
  color: var(--color-starlight);
  font-family: var(--font-body);
  font-size: 0.9rem;
  outline: none;
  transition: var(--transition);
}

.newsletter-input::placeholder {
  color: rgba(196, 168, 224, 0.4);
}

.newsletter-input:focus {
  border-color: var(--color-aurora);
  box-shadow: 0 0 15px rgba(123, 94, 167, 0.2);
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: var(--space-sm);
  padding: var(--space-md) var(--space-xl);
  background: linear-gradient(135deg, var(--color-stardust), var(--color-aurora));
  color: var(--color-starlight);
  border: none;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
  color: var(--color-white);
}

/* ===========================
   SINGLE POST
   =========================== */
.single-post {
  padding-top: 100px;
}

.single-post-header {
  padding: var(--space-4xl) 0 var(--space-3xl);
  text-align: center;
  position: relative;
}

.single-post-header .post-category {
  display: inline-block;
  padding: var(--space-xs) var(--space-lg);
  background: rgba(42, 31, 74, 0.7);
  border: 1px solid rgba(123, 94, 167, 0.4);
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-lavender);
  margin-bottom: var(--space-xl);
}

.single-post-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 300;
  color: var(--color-starlight);
  max-width: 800px;
  margin: 0 auto var(--space-xl);
  line-height: 1.1;
}

.single-post-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  color: var(--color-aurora);
  font-size: 0.85rem;
}

.single-post-meta .dot {
  width: 4px;
  height: 4px;
  background: var(--color-aurora);
  border-radius: 50%;
  opacity: 0.5;
}

.single-post-featured-image {
  width: 100%;
  max-width: 900px;
  margin: 0 auto var(--space-4xl);
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 16 / 7;
  box-shadow: var(--shadow-card);
}

.single-post-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.single-post-content {
  font-size: 1.0625rem;
  line-height: 1.85;
  color: var(--color-lavender);
}

.single-post-content h2,
.single-post-content h3 {
  margin-top: var(--space-3xl);
  margin-bottom: var(--space-lg);
}

.single-post-content p { margin-bottom: var(--space-xl); }

.single-post-content ul,
.single-post-content ol {
  margin: var(--space-xl) 0 var(--space-xl) var(--space-2xl);
}

.single-post-content li {
  margin-bottom: var(--space-sm);
  color: var(--color-lavender);
}

/* ===========================
   SIDEBAR
   =========================== */
.sidebar-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--space-4xl);
  align-items: start;
}

.sidebar {
  position: sticky;
  top: 100px;
}

.widget {
  background: rgba(17, 24, 40, 0.6);
  border: 1px solid rgba(123, 94, 167, 0.15);
  border-radius: var(--radius-xl);
  padding: var(--space-xl);
  margin-bottom: var(--space-xl);
  backdrop-filter: blur(10px);
}

.widget-title {
  font-family: var(--font-accent);
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  color: var(--color-gold);
  text-transform: uppercase;
  margin-bottom: var(--space-xl);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid rgba(123, 94, 167, 0.2);
}

/* Recent Posts Widget */
.recent-posts-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.recent-post-item {
  display: flex;
  gap: var(--space-md);
}

.recent-post-thumb {
  width: 70px;
  height: 60px;
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0;
}

.recent-post-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recent-post-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-moonbeam);
  line-height: 1.4;
  transition: color 0.2s;
}

.recent-post-title:hover {
  color: var(--color-lavender);
}

.recent-post-date {
  font-size: 0.73rem;
  color: var(--color-aurora);
  margin-top: var(--space-xs);
}

/* ===========================
   FOOTER
   =========================== */
.site-footer {
  background: var(--color-deep);
  border-top: 1px solid rgba(123, 94, 167, 0.15);
  padding: var(--space-5xl) 0 var(--space-2xl);
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--color-aurora), transparent);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-4xl);
}

.footer-brand .site-description {
  color: rgba(196, 168, 224, 0.6);
  font-size: 0.9rem;
  margin-top: var(--space-lg);
  max-width: 300px;
}

.footer-heading {
  font-family: var(--font-accent);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  color: var(--color-gold);
  text-transform: uppercase;
  margin-bottom: var(--space-xl);
}

.footer-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.footer-menu a {
  font-size: 0.88rem;
  color: rgba(196, 168, 224, 0.65);
  transition: color 0.2s;
}

.footer-menu a:hover {
  color: var(--color-lavender);
}

.social-links {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-xl);
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(123, 94, 167, 0.3);
  color: var(--color-aurora);
  font-size: 1rem;
  transition: var(--transition);
}

.social-link:hover {
  background: rgba(123, 94, 167, 0.2);
  border-color: var(--color-aurora);
  color: var(--color-starlight);
  transform: translateY(-2px);
}

.footer-bottom {
  padding-top: var(--space-2xl);
  border-top: 1px solid rgba(123, 94, 167, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copyright {
  font-size: 0.82rem;
  color: rgba(196, 168, 224, 0.4);
}

.footer-tagline {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.9rem;
  color: rgba(196, 168, 224, 0.35);
}

/* ===========================
   ANIMATIONS
   =========================== */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

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

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-16px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   SCROLLBAR STYLING
   =========================== */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--color-void); }
::-webkit-scrollbar-thumb {
  background: var(--color-stardust);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover { background: var(--color-aurora); }

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .sidebar-layout { grid-template-columns: 1fr; }
  .sidebar { position: relative; top: 0; }
}

@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    bottom: 0;
    width: 280px;
    background: rgba(8, 11, 20, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    padding: var(--space-4xl) var(--space-2xl);
    transition: right 0.35s ease;
    border-left: 1px solid rgba(123, 94, 167, 0.2);
  }

  .nav-menu.open { right: 0; }
  .nav-toggle { display: flex; }

  .post-card--featured {
    grid-template-columns: 1fr;
  }

  .post-card--featured .post-card-image {
    aspect-ratio: 16 / 9;
    min-height: unset;
  }

  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: var(--space-md); text-align: center; }

  .newsletter-form { flex-direction: column; }

  .header-inner { padding: var(--space-md) var(--space-lg); }

  .posts-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .zodiac-grid { grid-template-columns: repeat(3, 1fr); }
  .hero-title { font-size: clamp(2.8rem, 14vw, 5rem); }
}

/* ===========================
   UTILITY CLASSES
   =========================== */
.text-gold     { color: var(--color-gold); }
.text-lavender { color: var(--color-lavender); }
.text-aurora   { color: var(--color-aurora); }
.text-center   { text-align: center; }
.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}

/* ===========================
   GUTENBERG EDITOR COMPAT
   =========================== */
.wp-block-image img { border-radius: var(--radius-md); }
.wp-block-quote {
  border-left: 3px solid var(--color-gold);
  margin: var(--space-2xl) 0;
  padding: var(--space-lg) var(--space-xl);
  background: rgba(212, 168, 67, 0.05);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.wp-block-separator { border-color: rgba(123, 94, 167, 0.25); }
