/* ==========================================================================
   ธีมหลัก: เจแบงค์ ดูดวง และ ปฏิทินไทย (Modern Mystic & Gold)
   ออกแบบตามหลัก SEO, Mobile-First, เข้าถึงง่าย และไฮไลต์สีแบบธรรมชาติ
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Prompt:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300&family=Sarabun:ital,wght@0,300;0,400;0,500;0,600;1,300&display=swap');

:root {
  /* โทนสีมงคลและราตรีกาล */
  --bg-main: #0c101d;
  --bg-surface: #131a2e;
  --bg-surface-elevated: #1a233d;
  --bg-card: rgba(23, 32, 56, 0.75);
  --border-color: rgba(212, 175, 55, 0.15);
  --border-glow: rgba(212, 175, 55, 0.35);

  /* ข้อความ */
  --text-primary: #f1f5f9;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;

  /* สีเน้นในประโยค (Natural Inline Accent Colors) */
  --hl-gold: #f6c445;
  --hl-gold-bg: rgba(246, 196, 69, 0.12);
  --hl-purple: #b388ff;
  --hl-purple-bg: rgba(179, 136, 255, 0.12);
  --hl-cyan: #38bdf8;
  --hl-cyan-bg: rgba(56, 189, 248, 0.12);
  --hl-rose: #fb7185;
  --hl-rose-bg: rgba(251, 113, 133, 0.12);
  --hl-jade: #34d399;
  --hl-jade-bg: rgba(52, 211, 153, 0.12);

  /* ฟอนต์ */
  --font-heading: 'Prompt', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Sarabun', -apple-system, BlinkMacSystemFont, sans-serif;

  /* รัศมีและเอฟเฟกต์ */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.25);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.35);
  --shadow-gold: 0 4px 20px rgba(246, 196, 69, 0.15);
  --transition-normal: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base Setup */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.75;
  font-weight: 400;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-image: 
    radial-gradient(circle at 15% 15%, rgba(179, 136, 255, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 85% 25%, rgba(246, 196, 69, 0.05) 0%, transparent 40%),
    radial-gradient(circle at 50% 80%, rgba(56, 189, 248, 0.04) 0%, transparent 50%);
  background-attachment: fixed;
}

/* ==========================================================================
   ระบบสีเน้นในประโยค (Subtle Inline Highlights) - ตามคำสั่งผู้ใช้
   ประโยคธรรมชาติ ไฮไลต์กลมกลืน ไม่เป็นก้อนทึบ และสบายตา
   ========================================================================== */
.hl-gold {
  color: var(--hl-gold);
  background: var(--hl-gold-bg);
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 500;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.hl-purple {
  color: var(--hl-purple);
  background: var(--hl-purple-bg);
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 500;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.hl-cyan {
  color: var(--hl-cyan);
  background: var(--hl-cyan-bg);
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 500;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.hl-jade {
  color: var(--hl-jade);
  background: var(--hl-jade-bg);
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 500;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

.hl-rose {
  color: var(--hl-rose);
  background: var(--hl-rose-bg);
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 500;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: #ffffff;
  line-height: 1.35;
  font-weight: 600;
}

h1 { font-size: 2.2rem; margin-bottom: 0.85rem; letter-spacing: -0.02em; }
h2 { font-size: 1.65rem; margin-bottom: 0.75rem; }
h3 { font-size: 1.25rem; margin-bottom: 0.5rem; }

p {
  margin-bottom: 1.2rem;
  color: var(--text-secondary);
  font-size: 1.05rem;
}

a {
  color: var(--hl-gold);
  text-decoration: none;
  transition: var(--transition-normal);
}

a:hover {
  color: #ffffff;
  text-shadow: 0 0 10px rgba(246, 196, 69, 0.4);
}

/* Layout Container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(12, 16, 29, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  padding: 0.85rem 0;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.logo-icon {
  font-size: 1.8rem;
  line-height: 1;
  filter: drop-shadow(0 0 8px rgba(246, 196, 69, 0.4));
}

.logo-img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(246, 196, 69, 0.45));
  transition: var(--transition-normal);
}

.logo-brand:hover .logo-img {
  transform: rotate(12deg) scale(1.06);
}

.logo-text-wrap {
  display: flex;
  flex-direction: column;
}

.logo-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, #ffffff 40%, var(--hl-gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.logo-tagline {
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-sm);
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--hl-gold);
  border-radius: 2px;
}

.nav-cta {
  background: linear-gradient(135deg, #d4af37, #f6c445);
  color: #0c101d !important;
  font-weight: 600;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-gold);
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(246, 196, 69, 0.35);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: 1px solid var(--border-color);
  color: var(--text-primary);
  font-size: 1.3rem;
  padding: 0.4rem 0.6rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
}

/* Breadcrumb SEO */
.breadcrumb-nav {
  padding: 1rem 0 0.5rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.breadcrumb-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  list-style: none;
  gap: 0.4rem;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.breadcrumb-item::after {
  content: '/';
  color: var(--text-muted);
}

.breadcrumb-item:last-child::after {
  content: '';
}

.breadcrumb-item a {
  color: var(--text-secondary);
}

.breadcrumb-item a:hover {
  color: var(--hl-gold);
}

.breadcrumb-item.active {
  color: var(--hl-gold);
  font-weight: 500;
}

/* Hero Section */
.hero-section {
  padding: 3rem 0 2rem;
  text-align: center;
  position: relative;
}

.badge-top {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(246, 196, 69, 0.1);
  border: 1px solid rgba(246, 196, 69, 0.25);
  color: var(--hl-gold);
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
  font-weight: 500;
  margin-bottom: 1.25rem;
}

.hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  max-width: 850px;
  margin: 0 auto 1.2rem;
}

.hero-desc {
  font-size: 1.15rem;
  max-width: 720px;
  margin: 0 auto 2rem;
  color: var(--text-secondary);
}

/* Today Lunar & Status Bar */
.today-bar {
  background: linear-gradient(135deg, rgba(26, 35, 61, 0.9), rgba(19, 26, 46, 0.95));
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-md);
  margin-bottom: 3rem;
  backdrop-filter: blur(10px);
}

.today-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  align-items: center;
}

.today-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.today-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.today-text h4 {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.2rem;
}

.today-text p {
  font-size: 1.1rem;
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 0;
  font-family: var(--font-heading);
}

.wan-phra-pill {
  display: inline-block;
  font-size: 0.8rem;
  padding: 2px 8px;
  border-radius: var(--radius-full);
  margin-top: 4px;
}

.wan-phra-yes {
  background: rgba(52, 211, 153, 0.2);
  color: var(--hl-jade);
  border: 1px solid rgba(52, 211, 153, 0.4);
}

.wan-phra-no {
  background: rgba(148, 163, 184, 0.15);
  color: var(--text-secondary);
}

/* Quick Feature Cards Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-gold);
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--hl-gold), transparent);
  opacity: 0;
  transition: var(--transition-normal);
}

.feature-card:hover::before {
  opacity: 1;
}

.card-icon {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

.card-title {
  font-size: 1.35rem;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.card-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.card-link {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--hl-gold);
}

.card-link:hover {
  gap: 0.65rem;
}

/* Zodiac Grid (12 ราศี) */
.zodiac-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 1.25rem;
  margin: 2rem 0 3rem;
}

.zodiac-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.25rem 1rem;
  text-align: center;
  transition: var(--transition-normal);
  cursor: pointer;
  text-decoration: none;
  display: block;
}

.zodiac-card:hover, .zodiac-card.selected {
  border-color: var(--hl-purple);
  box-shadow: 0 6px 20px rgba(179, 136, 255, 0.2);
  transform: translateY(-3px);
  background: var(--bg-surface-elevated);
}

.zodiac-card.selected {
  border-color: var(--hl-gold);
}

.zodiac-symbol {
  font-size: 2.4rem;
  margin-bottom: 0.5rem;
  display: inline-block;
  transition: var(--transition-normal);
}

.zodiac-card:hover .zodiac-symbol {
  transform: scale(1.15);
}

.zodiac-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.2rem;
}

.zodiac-date {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.zodiac-element {
  display: inline-block;
  font-size: 0.72rem;
  padding: 1px 7px;
  border-radius: var(--radius-full);
  margin-top: 0.4rem;
}

.elem-fire { background: rgba(251, 113, 133, 0.15); color: #fb7185; }
.elem-water { background: rgba(56, 189, 248, 0.15); color: #38bdf8; }
.elem-earth { background: rgba(246, 196, 69, 0.15); color: #f6c445; }
.elem-air { background: rgba(52, 211, 153, 0.15); color: #34d399; }

/* Interactive Reading Card */
.reading-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
  margin-bottom: 3.5rem;
}

.reading-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 1.25rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.reading-title-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.reading-meta-tags {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.reading-tag {
  background: rgba(255, 255, 255, 0.06);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.reading-content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

.reading-pillar {
  background: rgba(12, 16, 29, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: 1.25rem;
}

.pillar-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  color: #ffffff;
  margin-bottom: 0.6rem;
}

.pillar-body {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Search Bar (สำหรับทำนายฝัน) */
.search-container {
  max-width: 650px;
  margin: 0 auto 2.5rem;
  position: relative;
}

.search-input-wrap {
  display: flex;
  align-items: center;
  background: var(--bg-surface-elevated);
  border: 2px solid var(--border-color);
  border-radius: var(--radius-full);
  padding: 0.4rem 0.6rem 0.4rem 1.4rem;
  transition: var(--transition-normal);
  box-shadow: var(--shadow-sm);
}

.search-input-wrap:focus-within {
  border-color: var(--hl-cyan);
  box-shadow: 0 0 16px rgba(56, 189, 248, 0.25);
}

.search-input {
  width: 100%;
  background: none;
  border: none;
  color: #ffffff;
  font-family: var(--font-body);
  font-size: 1.1rem;
  outline: none;
}

.search-input::placeholder {
  color: var(--text-muted);
}

.search-btn {
  background: linear-gradient(135deg, #0284c7, #38bdf8);
  color: #ffffff;
  border: none;
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-normal);
  flex-shrink: 0;
}

.search-btn:hover {
  opacity: 0.92;
  transform: scale(1.02);
}

/* ก-ฮ Letter Filter */
.letter-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.letter-btn {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-family: var(--font-heading);
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-normal);
  text-decoration: none;
}

.letter-btn:hover, .letter-btn.active {
  background: var(--hl-cyan-bg);
  border-color: var(--hl-cyan);
  color: var(--hl-cyan);
  font-weight: 600;
}

/* Interactive Tarot Reader */
.tarot-stage {
  text-align: center;
  padding: 2rem 0;
}

.tarot-cards-holder {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin: 2.5rem 0;
  perspective: 1000px;
}

.tarot-slot {
  width: 170px;
  height: 270px;
  border-radius: var(--radius-md);
  border: 2px dashed var(--border-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  cursor: pointer;
  transition: var(--transition-normal);
  background: rgba(19, 26, 46, 0.4);
  position: relative;
}

.tarot-slot.flipped {
  border-style: solid;
  border-color: var(--hl-gold);
  background: linear-gradient(145deg, #18223d, #0f1629);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px rgba(246, 196, 69, 0.2);
  transform: rotateY(0deg);
}

.tarot-card-name {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--hl-gold);
  margin-top: 0.5rem;
}

.tarot-roman {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.btn-draw-tarot {
  background: linear-gradient(135deg, #8a4fff, #b388ff);
  color: #ffffff;
  border: none;
  padding: 0.85rem 2.2rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(138, 79, 255, 0.35);
  transition: var(--transition-normal);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
}

.btn-draw-tarot:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(138, 79, 255, 0.5);
}

/* Life Graph Form & Canvas */
.lifegraph-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 2rem;
  margin: 2rem 0 3rem;
}

.form-grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  background: var(--bg-main);
  border: 1px solid var(--border-color);
  color: #ffffff;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  outline: none;
}

.form-control:focus {
  border-color: var(--hl-gold);
}

.chart-wrapper {
  background: rgba(12, 16, 29, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin-top: 2rem;
  position: relative;
  overflow-x: auto;
}

/* FAQ Accordion (SEO Schema Ready) */
.faq-section {
  margin: 4rem 0 3rem;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: var(--transition-normal);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: #ffffff;
  text-align: left;
  padding: 1.2rem 1.5rem;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 500;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
}

.faq-question:hover {
  color: var(--hl-gold);
}

.faq-icon {
  font-size: 1.2rem;
  transition: var(--transition-normal);
}

.faq-item.open .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 1.5rem 1.25rem;
  color: var(--text-secondary);
  font-size: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.faq-item.open .faq-answer {
  display: block;
}

/* YMYL Disclaimer Box */
.ymyl-notice {
  background: rgba(30, 41, 59, 0.5);
  border-left: 4px solid var(--hl-gold);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.5rem;
  margin: 2.5rem 0;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.ymyl-notice strong {
  color: #ffffff;
  font-family: var(--font-heading);
}

/* Footer */
.site-footer {
  margin-top: auto;
  background: #080c16;
  border-top: 1px solid var(--border-color);
  padding: 3.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-col h4 {
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a {
  color: var(--text-secondary);
  font-size: 0.95rem;
}

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Responsive Rules */
@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-main);
    flex-direction: column;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    gap: 1rem;
  }

  .site-nav.mobile-active {
    display: flex;
  }

  .mobile-menu-btn {
    display: block;
  }

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

  .reading-header {
    flex-direction: column;
    align-items: flex-start;
  }
}
