/*
Theme Name: Horoskooppi.app
Theme URI: https://horoskooppi.app
Author: Sakke
Description: Modern luxury app theme for horoskooppi.app — daily horoscopes for 12 zodiac signs in Finnish.
Version: 1.0.0
License: Proprietary
Text Domain: horoskooppi-app
*/

*, *::before, *::after { box-sizing: border-box; }

:root {
  --bg: #050817;
  --bg-2: #0A0E20;
  --bg-elevated: #0F1428;
  --bg-card: rgba(15, 20, 40, 0.6);
  --gold: #D4AF37;
  --gold-bright: #F0CE7A;
  --gold-soft: rgba(212, 175, 55, 0.15);
  --text: #F8F4E3;
  --text-muted: #A8A2BC;
  --text-dim: #6E6586;
  --border: rgba(212, 175, 55, 0.18);
  --border-bright: rgba(212, 175, 55, 0.45);
  --shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 32px rgba(212, 175, 55, 0.15);
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
  position: relative;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--gold); color: var(--bg); }

/* ===== STICKY APP HEADER ===== */
.app-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  border-bottom: none;
}

.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.brand { display: flex; align-items: center; gap: 10px; }

.brand-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--text);
}

.nav-tabs {
  display: flex;
  gap: 2px;
  background: var(--bg-elevated);
  padding: 4px;
  border-radius: 100px;
  border: 1px solid var(--border);
}

.nav-tabs a {
  padding: 8px 16px;
  font-size: 13px;
  color: var(--text-muted);
  border-radius: 100px;
  transition: all 0.2s;
  white-space: nowrap;
}

.nav-tabs a:hover { color: var(--text); }
.nav-tabs a.active {
  background: var(--gold);
  color: var(--bg);
  font-weight: 500;
}

@media (max-width: 800px) {
  .nav-tabs { display: none; }
  .header-inner { padding: 12px 20px; }
}

.mobile-action {
  display: none;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  font-size: 18px;
  color: var(--gold);
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--bg-elevated);
  cursor: pointer;
  font-family: inherit;
  padding: 0;
  line-height: 1;
}

@media (max-width: 800px) {
  .mobile-action { display: flex; }
}

/* ===== HERO ===== */
.hero {
  position: relative;
  padding: 64px 24px 48px;
  background-image: 
    radial-gradient(ellipse at 50% 40%, rgba(212,175,55,0.12) 0%, transparent 50%),
    linear-gradient(180deg, transparent 0%, var(--bg) 95%),
    var(--hero-bg, none);
  background-size: cover;
  background-position: center;
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 100px;
  background: linear-gradient(180deg, transparent, var(--bg));
  pointer-events: none;
}

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

.live-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  background: rgba(212, 175, 55, 0.08);
  border: 1px solid var(--border-bright);
  border-radius: 100px;
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 28px;
  backdrop-filter: blur(8px);
}

.live-dot {
  width: 6px; height: 6px;
  background: var(--gold);
  border-radius: 50%;
  animation: pulse 2s infinite;
  box-shadow: 0 0 8px var(--gold);
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.85); }
}

.hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(40px, 8vw, 72px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.5px;
  margin: 0 0 20px;
}

.hero-title em {
  font-style: italic;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 32px;
  line-height: 1.6;
}

/* ===== ASTRO STATS BAR ===== */
.astro-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  max-width: 800px;
  margin: 0 auto;
  background: rgba(15, 20, 40, 0.4);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 8px;
  backdrop-filter: blur(12px);
}

@media (max-width: 700px) {
  .astro-bar { grid-template-columns: repeat(2, 1fr); }
}

.astro-stat { padding: 14px 12px; border-radius: 10px; transition: background 0.2s; }
.astro-stat:hover { background: rgba(212, 175, 55, 0.05); }

.astro-stat-label {
  font-size: 9px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 4px;
}

.astro-stat-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 18px;
  color: var(--text);
  line-height: 1.1;
  font-weight: 500;
}

.astro-stat-detail { font-size: 10px; color: var(--gold); margin-top: 2px; }

/* ===== SECTION ===== */
.section {
  max-width: 1280px;
  margin: 0 auto;
  padding: 56px 24px;
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 28px;
  gap: 16px;
}

.section-head h2 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 400;
  margin: 0 0 4px;
}

.section-head .eyebrow {
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 6px;
}

.section-head-link {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  white-space: nowrap;
  transition: color 0.2s;
}

.section-head-link:hover { color: var(--gold); }
.section-head-link::after { content: ' →'; color: var(--gold); }

/* ===== SIGN PICKER ===== */
.sign-picker-wrap {
  position: relative;
}

.sign-picker {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 8px;
  margin-bottom: 8px;
}

@media (max-width: 1100px) {
  .sign-picker { grid-template-columns: repeat(6, 1fr); }
}

@media (max-width: 600px) {
  .sign-picker-wrap {
    margin: 0 -24px;
    overflow: hidden;
    width: calc(100% + 48px);
  }
  .sign-picker {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 4px 24px 8px;
    gap: 10px;
    scrollbar-width: none;
    grid-template-columns: none;
  }
  .sign-picker::-webkit-scrollbar { display: none; }
}

.sign-pill {
  position: relative;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px 8px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: all 0.25s ease;
}

@media (max-width: 600px) {
  .sign-pill { flex: 0 0 80px; scroll-snap-align: start; }
}

.sign-pill:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: var(--shadow-glow);
}

.sign-pill.featured {
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(212,175,55,0.12) 0%, var(--bg-elevated) 70%);
  box-shadow: var(--shadow-glow);
}

.sign-pill.featured::before {
  content: '★';
  position: absolute;
  top: -6px; right: -6px;
  width: 18px; height: 18px;
  background: var(--gold);
  color: var(--bg);
  border-radius: 50%;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.sign-pill-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  background: var(--bg);
  border: 1px solid var(--border);
}

.sign-pill-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.sign-pill:hover .sign-pill-icon img { transform: scale(1.1) rotate(3deg); }

.placeholder-icon {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  color: var(--gold);
  background: linear-gradient(135deg, var(--bg-elevated), var(--bg-2));
}

.sign-pill-name {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  font-weight: 500;
}

.sign-pill:hover .sign-pill-name { color: var(--text); }
.sign-pill.featured .sign-pill-name { color: var(--gold); }

/* ===== FEATURED BLOCK ===== */
.featured-block {
  background: linear-gradient(135deg, rgba(212,175,55,0.1) 0%, var(--bg-elevated) 80%);
  border: 1px solid var(--border-bright);
  border-radius: 24px;
  padding: 36px;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 36px;
  align-items: center;
  margin-bottom: 56px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-glow);
}

@media (max-width: 700px) {
  .featured-block {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 28px 24px;
    gap: 20px;
  }
}

.featured-block::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.featured-icon-wrap {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--gold);
  box-shadow: 0 0 40px rgba(212, 175, 55, 0.3);
}

@media (max-width: 700px) {
  .featured-icon-wrap { width: 160px; height: 160px; margin: 0 auto; }
}

.featured-icon-wrap img { width: 100%; height: 100%; object-fit: cover; }

.featured-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.featured-tag::before { content: '★'; font-size: 14px; }

.featured-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 44px;
  font-weight: 500;
  margin: 0 0 4px;
  line-height: 1;
}

.featured-dates {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 18px;
}

.featured-text {
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  margin: 0 0 24px;
  max-width: 600px;
}

.featured-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: var(--gold);
  color: var(--bg);
  border-radius: 100px;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 600;
  transition: all 0.25s;
}

.featured-link:hover {
  background: var(--gold-bright);
  transform: translateY(-2px);
}

@media (max-width: 700px) { .featured-link { margin: 0 auto; } }

/* ===== SIGN CARDS GRID ===== */
.sign-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

@media (max-width: 1000px) { .sign-cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .sign-cards-grid { grid-template-columns: 1fr; } }

.sign-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px 22px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
  display: block;
}

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

.sign-card.featured-card {
  border-color: var(--gold);
  background: linear-gradient(180deg, rgba(212,175,55,0.08) 0%, var(--bg-elevated) 100%);
}

.card-badge {
  position: absolute;
  top: 16px; right: 16px;
  background: var(--gold);
  color: var(--bg);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 100px;
}

.sign-card-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--border-bright);
  margin-bottom: 16px;
  background: var(--bg);
}

.sign-card-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.sign-card:hover .sign-card-icon img { transform: scale(1.08); }

.sign-card-meta { margin-bottom: 14px; }

.sign-card-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 500;
  margin: 0 0 4px;
  line-height: 1.1;
}

.sign-card-dates {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-dim);
}

.sign-card-text {
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-muted);
  margin: 0 0 16px;
}

.sign-card-tags {
  display: flex;
  gap: 6px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.tag {
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--text-muted);
  padding: 4px 10px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 100px;
}

.sign-card-cta {
  font-size: 12px;
  color: var(--gold);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
}

.arrow { transition: transform 0.2s; display: inline-block; }
.sign-card:hover .arrow { transform: translateX(4px); }

/* ===== QUICK ACTIONS ===== */
.quick-actions {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 56px 0 0;
}

.quick-actions-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 28px 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

@media (max-width: 800px) {
  .quick-actions-inner { grid-template-columns: repeat(2, 1fr); }
}

.quick-action {
  padding: 20px 16px;
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  transition: all 0.25s;
  min-width: 0;
}

.quick-action:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
  background: var(--bg-elevated);
}

.quick-action-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border: 1px solid var(--border-bright);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  color: var(--gold);
  background: linear-gradient(135deg, rgba(212,175,55,0.05), transparent);
}

.quick-action-text {
  flex: 1;
  min-width: 0;
  overflow: hidden;
}

.quick-action-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.quick-action-sub {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

@media (max-width: 600px) {
  .quick-action {
    padding: 16px 14px;
    gap: 10px;
  }
  .quick-action-icon {
    width: 36px;
    height: 36px;
    font-size: 18px;
  }
  .quick-action-title {
    font-size: 13px;
  }
  .quick-action-sub {
    font-size: 10px;
  }
}

/* ===== EXPLORE TILES ===== */
.explore-tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

@media (max-width: 800px) { .explore-tiles { grid-template-columns: 1fr; } }

.tile {
  padding: 32px 28px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 20px;
  transition: all 0.25s;
  display: block;
}

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

.tile-icon {
  width: 48px;
  height: 48px;
  border: 1px solid var(--gold);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--gold);
  margin-bottom: 18px;
  background: linear-gradient(135deg, rgba(212,175,55,0.08), transparent);
}

.tile-eyebrow {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 10px;
}

.tile h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 26px;
  font-weight: 500;
  margin: 0 0 12px;
}

.tile p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0 0 18px;
}

.tile-chips { display: flex; flex-wrap: wrap; gap: 6px; }

.tile-chip {
  font-size: 11px;
  color: var(--text-muted);
  padding: 5px 12px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 100px;
  transition: all 0.2s;
}

.tile-chip:hover { border-color: var(--gold); color: var(--gold); }

/* ===== MOON WIDGET ===== */
.moon-widget {
  position: fixed;
  bottom: 20px;
  left: 20px;
  max-width: calc(100vw - 40px);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px 10px 12px;
  background: rgba(15, 20, 40, 0.85);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-bright);
  border-radius: 100px;
  font-size: 12px;
  z-index: 50;
  box-shadow: var(--shadow);
}

.moon-icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: 
    radial-gradient(circle at 32% 50%, var(--gold) 0%, var(--gold) 38%, transparent 39%),
    #1a1f3a;
  border: 1px solid var(--gold);
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.4);
}

.moon-text { color: var(--text-muted); white-space: nowrap; }
.moon-text strong { color: var(--gold); font-weight: 500; }

@media (max-width: 600px) { .moon-widget { display: none; } }

/* ===== FOOTER ===== */
.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 60px 24px 40px;
  text-align: center;
  color: var(--text-dim);
  font-size: 13px;
  margin-top: 80px;
}

.footer-brand {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.site-footer p { margin: 6px 0; }

.site-footer a {
  color: var(--text-muted);
  margin: 0 12px;
  transition: color 0.2s;
}

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

.footer-divider {
  width: 60px;
  height: 1px;
  background: var(--border-bright);
  margin: 24px auto;
}

/* ============================================================
   SINGLE MERKKI DAILY — /horoskooppi/{sign}/tanaan/
   ============================================================ */

/* Breadcrumbs */
.breadcrumbs {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  font-size: 12px;
}

.breadcrumbs-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.breadcrumbs a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}

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

.breadcrumb-sep { color: var(--text-dim); }
.breadcrumb-current { color: var(--gold); }

/* Hero */
.merkki-hero {
  padding: 60px 24px 48px;
  background: 
    radial-gradient(ellipse at 50% 0%, rgba(212,175,55,0.08) 0%, transparent 60%),
    var(--bg);
}

.merkki-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 48px;
  align-items: center;
}

@media (max-width: 700px) {
  .merkki-hero-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }
}

.merkki-hero-icon {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--gold);
  box-shadow: 0 0 50px rgba(212, 175, 55, 0.3);
  margin: 0 auto;
  background: var(--bg-elevated);
}

@media (max-width: 700px) {
  .merkki-hero-icon { width: 160px; height: 160px; }
}

.merkki-hero-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.merkki-hero-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 400;
  line-height: 1;
  margin: 16px 0 12px;
  letter-spacing: -0.5px;
}

.merkki-hero-title em {
  font-style: italic;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-bright) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.merkki-hero-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 20px;
}

@media (min-width: 701px) {
  .merkki-hero-meta { justify-content: flex-start; }
}

.meta-sep { color: var(--gold); }
.meta-item { color: var(--text-muted); }

.merkki-hero-summary {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(18px, 2.5vw, 24px);
  font-style: italic;
  font-weight: 400;
  line-height: 1.5;
  color: var(--text);
  margin: 0;
  max-width: 560px;
}

@media (max-width: 700px) {
  .merkki-hero-summary { margin: 0 auto; }
}

/* Date navigation */
.date-nav {
  background: var(--bg-elevated);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 16px 24px;
}

.date-nav-inner {
  max-width: 700px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 12px;
  align-items: center;
}

.date-nav-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 12px;
  text-decoration: none;
  color: var(--text-muted);
  transition: all 0.2s;
}

.date-nav-link:first-child { justify-self: start; }
.date-nav-link:last-child  { justify-self: end; }

.date-nav-link:hover {
  border-color: var(--gold);
  color: var(--text);
}

.date-nav-link.disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

.date-nav-link.disabled:hover {
  border-color: var(--border);
}

.date-arrow { color: var(--gold); font-size: 14px; }
.date-label {
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 10px;
  color: var(--text-dim);
}
.date-value { font-weight: 500; }

.date-nav-current {
  text-align: center;
  padding: 8px 18px;
  background: linear-gradient(135deg, rgba(212,175,55,0.15), transparent);
  border: 1px solid var(--border-bright);
  border-radius: 100px;
}

.date-nav-current .date-label { color: var(--gold); display: block; }
.date-nav-current .date-value { color: var(--text); font-weight: 600; font-size: 13px; }

/* Horoscope content */
.horoscope-content {
  padding: 60px 24px;
}

.horoscope-inner {
  max-width: 760px;
  margin: 0 auto;
}

.horoscope-section {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}

.horoscope-section:last-child {
  border-bottom: none;
}

.horoscope-section-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 24px;
  font-weight: 500;
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.title-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid var(--border-bright);
  border-radius: 10px;
  font-size: 18px;
  color: var(--gold);
  background: linear-gradient(135deg, rgba(212,175,55,0.08), transparent);
  font-family: 'Inter', sans-serif;
  flex-shrink: 0;
}

.horoscope-section p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text);
  margin: 0;
}

/* Astro background section — slightly different style */
.astro-bg-section {
  background: linear-gradient(135deg, rgba(212,175,55,0.05), transparent 60%);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
  margin-bottom: 40px;
}

.astro-bg-section p {
  font-size: 15px;
  color: var(--text-muted);
  font-style: italic;
}

/* Advice section — emphasized */
.advice-section .advice-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-style: italic;
  line-height: 1.5;
  color: var(--gold);
  text-align: center;
  padding: 16px 0;
}

/* Context section — astrological grid */
.context-section .astro-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 16px;
}

@media (max-width: 700px) {
  .context-section .astro-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.astro-item {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 12px;
  text-align: center;
}

.astro-item .astro-label {
  font-size: 10px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 4px;
}

.astro-item .astro-value {
  font-family: 'Cormorant Garamond', serif;
  font-size: 16px;
  font-weight: 500;
  color: var(--text);
}

.astro-item .astro-detail {
  font-size: 10px;
  color: var(--gold);
  margin-top: 2px;
}

/* Author byline */
.horoscope-byline {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 24px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 16px;
  margin-top: 40px;
}

.byline-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), #8B6914);
  color: var(--bg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 20px;
  font-weight: 500;
  flex-shrink: 0;
}

.byline-content { flex: 1; min-width: 0; }

.byline-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 2px;
}

.byline-role {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.byline-meta {
  font-size: 11px;
  color: var(--text-dim);
  margin-top: 4px;
  letter-spacing: 0.5px;
}

/* Other signs grid */
.other-signs-section {
  background: var(--bg-2);
  border-top: 1px solid var(--border);
  padding: 60px 24px;
}

.other-signs-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.other-signs-grid {
  display: grid;
  grid-template-columns: repeat(11, 1fr);
  gap: 8px;
  margin-top: 24px;
}

@media (max-width: 1100px) {
  .other-signs-grid { grid-template-columns: repeat(6, 1fr); }
}

@media (max-width: 600px) {
  .other-signs-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    margin: 24px -24px 0;
    padding: 4px 24px;
    gap: 10px;
    scrollbar-width: none;
  }
  .other-signs-grid::-webkit-scrollbar { display: none; }
}

.other-sign-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px 8px 10px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
}

@media (max-width: 600px) {
  .other-sign-card {
    flex: 0 0 80px;
    scroll-snap-align: start;
  }
}

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

.other-sign-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg);
}

.other-sign-icon img { width: 100%; height: 100%; object-fit: cover; }

.other-sign-name {
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.3px;
}

.other-sign-dates {
  font-size: 9px;
  color: var(--text-dim);
  letter-spacing: 0.3px;
}

.other-sign-card:hover .other-sign-name { color: var(--text); }

/* Related section */
.related-section {
  padding: 60px 24px;
}

.related-inner {
  max-width: 1280px;
  margin: 0 auto;
}

.related-tiles {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 24px;
}

@media (max-width: 800px) {
  .related-tiles { grid-template-columns: 1fr; }
}

.related-tile {
  padding: 28px 26px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 16px;
  text-decoration: none;
  color: inherit;
  display: block;
  transition: all 0.25s;
}

.related-tile:hover {
  border-color: var(--gold);
  transform: translateY(-2px);
}

.related-tile.related-tile-soon {
  opacity: 0.6;
  cursor: default;
}

.related-tile.related-tile-soon:hover {
  border-color: var(--border);
  transform: none;
}

.related-tile-icon {
  width: 44px;
  height: 44px;
  border: 1px solid var(--gold);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--gold);
  margin-bottom: 16px;
  background: linear-gradient(135deg, rgba(212,175,55,0.08), transparent);
}

.related-tile-eyebrow {
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.related-tile h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 500;
  margin: 0 0 10px;
}

.related-tile p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
}
