/* ============================================
   NatalSky — Dark Celestial Editorial
   Fonts: Cormorant Garamond (display) + Inter (body)
   ============================================ */

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

:root {
    --bg: #1B1B2F;
    --surface: rgba(37, 37, 64, 0.3);
    --surface-hover: rgba(45, 45, 74, 0.4);
    --surface-2: rgba(45, 45, 74, 0.35);
    --border: rgba(58, 58, 92, 0.35);
    --text: #F0EDE8;
    --text-secondary: #C8C8CC;
    --text-muted: #C8C8CC;
    --primary: #C9A96E;
    --primary-hover: #D4B87E;
    --primary-dim: rgba(201, 169, 110, 0.12);
    --accent: #E8773A;
    --accent-dim: rgba(232, 119, 58, 0.1);
    --gold: #C9A96E;
    --gold-dim: rgba(201, 169, 110, 0.12);
    --blue: #3B82F6;
    --green: #22C55E;
    --red: #EF4444;
    --radius: 16px;
    --radius-sm: 10px;
    --max-width: 1400px;
    --header-h: 64px;
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', -apple-system, sans-serif;
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    font-size: 17px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* No noise on light theme */

a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary-hover); }

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

/* --- Container --- */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 40px;
}

/* ============================================
   ALERT BAR (retrograde etc)
   ============================================ */
.alert-bar {
    background: rgba(201, 169, 110, 0.08);
    border-bottom: 1px solid rgba(201, 169, 110, 0.15);
    padding: 7px 0;
    font-size: 12px;
    color: var(--text-secondary);
    text-align: center;
    letter-spacing: 0.2px;
}

.alert-bar .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.alert-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: var(--primary);
    color: var(--bg);
}

.alert-bar a { font-size: 12px; font-weight: 500; }

/* ============================================
   HEADER / NAV
   ============================================ */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(27, 27, 47, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    height: var(--header-h);
}

/* ============================================
   ZODIAC QUICK NAV BAR
   ============================================ */
.zodiac-bar {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    overflow-x: auto;
    scrollbar-width: none;
}

/* Hide zodiac bar on homepage — sign picker replaces it */
.page-home .zodiac-bar { display: none; }

.zodiac-bar::-webkit-scrollbar { display: none; }

.zodiac-bar .container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    min-width: max-content;
    padding: 0;
}

.zodiac-bar a {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 10px 14px;
    font-size: 13px;
    color: var(--text-secondary);
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s;
    border-bottom: 2px solid transparent;
}

.zodiac-bar a:hover {
    color: var(--gold);
    background: rgba(201,169,110,0.05);
    border-bottom-color: var(--gold);
}

/* ============================================
   TWO-COLUMN LAYOUT
   ============================================ */
.layout-2col {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    padding-top: 32px;
    padding-bottom: 80px;
    align-items: start;
    max-width: 100%;
    padding-left: 20px;
    padding-right: 20px;
}

.main-content { min-width: 0; order: 2; }
.sidebar { order: 1; }

/* ============================================
   SIDEBAR
   ============================================ */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: calc(var(--header-h) + 24px);
    max-height: calc(100vh - var(--header-h) - 40px);
    overflow-y: auto;
    scrollbar-width: none;
    margin-top: 0;
}

.sidebar::-webkit-scrollbar { display: none; }

.sw {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
}

.sw-header {
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 500;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
    color: var(--text);
}

/* Sidebar Navigation — Luxoret style */
.sw-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sw-nav-section {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.sw-nav-title {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gold);
    font-weight: 700;
    padding: 12px 16px 8px;
}

.sw-nav-link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 16px;
    font-size: 13px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.15s;
    border-bottom: 1px solid rgba(255,255,255,0.03);
}

.sw-nav-link:hover {
    background: var(--surface-hover);
    color: var(--text);
}

.sw-nav-link.active {
    color: var(--gold) !important;
    background: rgba(201,169,110,0.12) !important;
    border-left: 3px solid var(--gold) !important;
    font-weight: 600;
}

.sw-nav-link:last-child {
    border-bottom: none;
}

.sw-ico {
    font-size: 15px;
    width: 20px;
    text-align: center;
    color: var(--gold);
    opacity: 0.7;
    flex-shrink: 0;
}

.sw-form { display: flex; flex-direction: column; gap: 8px; }

.sw-form input, .sw-form select {
    width: 100%;
    padding: 9px 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 13px;
    font-family: var(--font-body);
}

.sw-form input:focus, .sw-form select:focus { outline: none; border-color: var(--gold); }
.sw-form input::placeholder { color: var(--text-secondary); opacity: 0.5; }

.sw-link {
    display: block;
    margin-top: 12px;
    font-size: 12px;
    font-weight: 500;
    color: var(--gold);
}

/* Moon widget */
.sw-moon { text-align: center; }
.sw-moon-icon { font-size: 36px; margin-bottom: 8px; }
.sw-moon-phase { font-family: var(--font-display); font-size: 18px; margin-bottom: 4px; }
.sw-moon-sign { font-size: 14px; color: var(--gold); margin-bottom: 8px; }
.sw-moon-detail { font-size: 12px; color: var(--text-secondary); margin-bottom: 4px; }

/* Retrograde widget */
.sw-retro-list { display: flex; flex-direction: column; gap: 6px; }

.sw-retro-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 6px 0;
    font-size: 13px;
}

.sw-retro-planet { font-weight: 500; }

.sw-retro-status {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 2px 0;
    background: none;
    color: #E8774A;
}

.sw-retro-status.direct {
    background: none;
    color: #5CB85C;
}

/* Celebrity widget */
.sw-celeb { text-align: center; }

.sw-celeb-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gold-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--gold);
    margin: 0 auto 10px;
}

.sw-celeb-name { font-family: var(--font-display); font-size: 18px; margin-bottom: 4px; }
.sw-celeb-data { font-size: 12px; color: var(--text-secondary); margin-bottom: 4px; }
.sw-celeb-born { font-size: 11px; color: var(--text-secondary); }

/* Planets widget */
.sw-planets {
    width: 100%;
    border-collapse: collapse;
}

.sw-planets td {
    padding: 5px 0;
    font-size: 13px;
    border-bottom: 1px solid rgba(30,42,58,0.5);
}

.sw-planets td:first-child { font-weight: 500; color: var(--text); }
.sw-planets td:last-child { text-align: right; color: var(--text-secondary); font-size: 12px; }

/* Popular pages */
.sw-popular {
    list-style: none;
    margin: 0;
    padding: 0;
}

.sw-popular li {
    padding: 6px 0;
    border-bottom: 1px solid rgba(30,42,58,0.4);
}

.sw-popular li:last-child { border-bottom: none; }

.sw-popular a {
    font-size: 13px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

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

/* ============================================
   FOOTER TOOLS
   ============================================ */
.footer-tools {
    padding-bottom: 40px;
    margin-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.footer-tools h3 {
    font-family: var(--font-display);
    font-size: 22px;
    margin-bottom: 24px;
    color: var(--text);
}

.footer-tools-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}

.footer-tools-grid a {
    padding: 12px 10px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-sm);
    font-size: 13px;
    color: #A8A5B5;
    text-decoration: none;
    transition: all 0.2s;
    text-align: center;
    background: rgba(255,255,255,0.02);
}

.footer-tools-grid a:hover {
    background: var(--surface-hover);
    color: var(--primary);
    background: rgba(201,169,110,0.05);
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    position: relative;
    max-width: 100%;
    padding: 0 50px;
}


.header-lang {
    justify-self: end;
}

.logo {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 600;
    color: var(--text);
    letter-spacing: 1px;
    text-decoration: none;
}

.site-header .logo {
    position: absolute;
    left: 50px;
}

.logo span { color: var(--primary); }

.nav { display: flex; align-items: center; gap: 4px; justify-content: center; }

.nav a {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
    letter-spacing: 0.3px;
}

.nav a:hover {
    color: var(--text);
    background: var(--surface);
}

.nav a.active {
    color: var(--gold);
    background: none;
}

/* ============================================
   MEGA DROPDOWN NAV
   ============================================ */
.nav-dropdown { position: relative; }

.nav-dropdown-trigger {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: var(--radius-sm);
    transition: all 0.2s;
    letter-spacing: 0.3px;
    display: flex;
    align-items: center;
    gap: 4px;
    text-decoration: none;
}

.nav-dropdown-trigger:hover { color: var(--text); background: var(--surface); }

.dd-arrow { font-size: 9px; color: var(--text-secondary); }

.nav-dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #1e1e38;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 16px;
    min-width: 420px;
    z-index: 150;
    box-shadow: 0 16px 48px rgba(0,0,0,0.5);
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.nav-dropdown-menu.ndm-narrow {
    min-width: 240px;
    display: none;
    grid-template-columns: 1fr;
    padding: 8px 0;
}

.nav-dropdown:hover .nav-dropdown-menu { display: grid; }
.nav-dropdown:hover .ndm-pro { display: flex; }

/* Pro dropdown — Luxoret style with title + description */
.ndm-pro {
    display: none !important;
    flex-direction: row;
    min-width: 520px;
    padding: 20px;
    gap: 0;
    grid-template-columns: none;
    background: #1e1e38;
}

.ndm-pro.ndm-single {
    min-width: 320px;
}

.nav-dropdown:hover .ndm-pro {
    display: flex !important;
}

.ndm-col {
    flex: 1;
    padding: 0 16px;
}

.ndm-col:not(:last-child) {
    border-right: 1px solid var(--border);
}

.ndm-col:first-child { padding-left: 0; }
.ndm-col:last-child { padding-right: 0; }

.ndm-pro .ndm-title {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gold);
    padding: 0 12px 10px;
    margin-bottom: 4px;
    border-bottom: 1px solid var(--border);
    font-weight: 700;
}

.ndm-item {
    display: block;
    padding: 10px 12px;
    border-radius: 8px;
    text-decoration: none;
    color: var(--text);
    transition: background 0.2s;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.ndm-item:last-child {
    border-bottom: none;
}

.ndm-item:hover {
    background: var(--surface-hover);
    color: var(--text);
}

.ndm-item strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 2px;
    color: var(--text);
}

.ndm-item span {
    display: block;
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.4;
}

.ndm-signs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
}

.ndm-sign {
    display: block;
    padding: 6px 12px;
    font-size: 13px;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s;
}

.ndm-sign:hover {
    background: var(--surface-hover);
    color: var(--gold);
}

.nav-dropdown-menu.ndm-narrow a {
    padding: 9px 20px;
    display: block;
}

.ndm-section {}

.ndm-title {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary);
    padding: 4px 0 8px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 6px;
    font-weight: 600;
}

.nav-dropdown-menu a {
    display: block;
    padding: 5px 0;
    font-size: 13px;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.15s;
}

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

/* Language Dropdown */
.lang-dropdown {
    position: relative;
    margin-left: auto;
    flex-shrink: 0;
}

.lang-trigger {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-family: var(--font-body);
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}

.lang-trigger:hover { border-color: var(--gold); }
.lang-globe { font-size: 15px; }
.lang-arrow { font-size: 10px; color: var(--text-secondary); }

.lang-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 8px 0;
    min-width: 360px;
    z-index: 200;
    box-shadow: 0 16px 48px rgba(0,0,0,0.5);
}

.lang-dropdown.open .lang-menu { display: block; }

.lang-menu-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.lang-option {
    display: flex;
    flex-direction: column;
    padding: 10px 16px;
    text-decoration: none;
    color: var(--text);
    font-size: 13px;
    transition: all 0.15s;
    gap: 1px;
}

.lang-option:hover {
    background: var(--surface);
    color: var(--primary);
}

.lang-option.active {
    background: var(--primary-dim);
    color: var(--primary);
}

.lang-option-native { font-weight: 500; font-size: 13px; }
.lang-option-name { font-size: 10px; color: var(--text-secondary); letter-spacing: 0.3px; }

/* Mobile hamburger */
.nav-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
}

/* ============================================
   HERO
   ============================================ */
.hero {
    padding: 48px 0 48px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #323234 0%, #2C2C2E 50%, #343436 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at 80% 20%, rgba(184,148,46,0.08) 0%, transparent 50%),
                radial-gradient(ellipse at 20% 80%, rgba(184,148,46,0.05) 0%, transparent 40%);
    pointer-events: none;
}

#starField, .star-field {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.hero-left { text-align: left; }
.hero-right { display: flex; justify-content: center; align-items: center; }

.hero-badge {
    display: inline-block;
    padding: 6px 20px;
    border: 1px solid var(--border);
    border-radius: 24px;
    font-size: 12px;
    color: var(--primary);
    background: var(--primary-dim);
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 28px;
    font-weight: 600;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: 64px;
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text);
}

.hero h1 em {
    font-style: italic;
    color: var(--gold);
}

.hero p {
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0 0 36px;
    line-height: 1.75;
}

.hero .btn-group { justify-content: flex-start; }

.hero-trust {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    margin-top: 28px;
    font-size: 12px;
    color: var(--text-secondary);
    opacity: 0.6;
}

/* ============================================
   COSMIC WEATHER
   ============================================ */
.cw-main {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 32px;
    margin-bottom: 32px;
}

.cw-energy {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 36px;
}

.cw-energy-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gold);
    margin-bottom: 8px;
}

.cw-energy-title {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 16px;
}

.cw-energy p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.cw-highlights {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cw-highlight-item {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
}

.cw-highlight-item.cw-retro { border-color: rgba(201, 169, 110, 0.3); }

.cwh-icon {
    font-size: 24px;
    color: var(--gold);
    min-width: 32px;
    text-align: center;
}

.cw-highlight-item strong {
    display: block;
    font-size: 14px;
    margin-bottom: 2px;
}

.cw-highlight-item span {
    font-size: 13px;
    color: var(--text-secondary);
}

.cw-aspects {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
}

.cw-aspects h3 {
    font-family: var(--font-display);
    font-size: 20px;
    margin-bottom: 16px;
}

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

.cw-aspect {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border);
}

.cwa-type {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 3px 10px;
    border-radius: 4px;
    min-width: 64px;
    text-align: center;
}

.cw-aspect.good .cwa-type { background: rgba(201,169,110,0.15); color: var(--gold); }
.cw-aspect.challenge .cwa-type { background: rgba(178,161,130,0.15); color: var(--text-secondary); }

.cwa-planets { font-weight: 500; font-size: 14px; min-width: 120px; }
.cwa-desc { font-size: 13px; color: var(--text-secondary); }

/* ============================================
   ZODIAC CARD enhanced
   ============================================ */
.sign-preview {
    display: block;
    font-size: 12px;
    line-height: 1.5;
    color: var(--text-secondary);
    margin-top: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============================================
   BIRTH CHART CTA SECTION
   ============================================ */
.birth-chart-cta {
}

.bc-cta-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 64px;
    align-items: center;
}

.bc-cta-text h2 {
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 400;
    line-height: 1.15;
    margin-bottom: 20px;
}

.bc-cta-text h2 em { font-style: italic; color: var(--gold); }

.bc-cta-text p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.bc-features {
    list-style: none;
    margin: 20px 0 0 0;
    padding: 0;
}

.bc-features li {
    padding: 8px 0;
    font-size: 14px;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 10px;
}

.bc-features li::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gold);
    flex-shrink: 0;
}

.bc-cta-visual {
    display: flex;
    justify-content: center;
}

.chart-preview-circle {
    width: 320px;
    height: 500px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cpc-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid var(--border);
}

.cpc-ring-outer {
    width: 100%;
    height: 100%;
    animation: rotate-slow 60s linear infinite;
}

.cpc-ring-inner {
    width: 70%;
    height: 70%;
    border-color: rgba(201,169,110,0.2);
    animation: rotate-slow 45s linear infinite reverse;
}

.cpc-center {
    position: relative;
    z-index: 1;
}

.cpc-symbols {
    font-size: 20px;
    color: var(--gold);
    opacity: 0.6;
    letter-spacing: 8px;
    display: block;
    max-width: 160px;
    text-align: center;
    line-height: 2;
}

@keyframes rotate-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* ============================================
   COMPATIBILITY FINDER
   ============================================ */
.cf-selectors {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.cf-select {
    padding: 14px 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 15px;
    font-family: var(--font-body);
    min-width: 180px;
}

.cf-select:focus { outline: none; border-color: var(--gold); }

.cf-heart { font-size: 24px; color: var(--gold); }

.cf-popular h3 {
    font-family: var(--font-display);
    font-size: 22px;
    text-align: center;
    margin-bottom: 20px;
}

.cf-popular-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.cf-pair {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 16px;
    text-align: center;
    text-decoration: none;
    color: var(--text);
    transition: all 0.2s;
}

.cf-pair:hover { background: var(--surface-hover); color: var(--text);  }

.cfp-symbols { display: block; font-size: 24px; margin-bottom: 6px; }
.cfp-names { display: block; font-size: 12px; color: var(--text-secondary); }
.cfp-score { display: block; font-size: 16px; font-weight: 600; color: var(--primary); margin-top: 6px; }

/* ============================================
   CELEBRITY SHOWCASE
   ============================================ */
.celeb-showcase {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.celeb-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    text-decoration: none;
    color: var(--text);
    transition: all 0.25s;
    text-align: center;
}

.celeb-card:hover { background: var(--surface-hover); color: var(--text); transform: translateY(-3px);  }

.celeb-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--primary);
    margin: 0 auto 12px;
}

.celeb-name { font-weight: 500; font-size: 15px; margin-bottom: 4px; }
.celeb-sign { font-size: 13px; color: var(--gold); margin-bottom: 4px; }
.celeb-details { font-size: 12px; color: var(--text-secondary); margin-bottom: 6px; }
.celeb-cat {
    display: inline-block;
    font-size: 11px;
    padding: 2px 10px;
    border-radius: 12px;
    background: rgba(201,169,110,0.1);
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ============================================
   FEATURES SHOWCASE
   ============================================ */
.features-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.fs-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    transition: border-color 0.2s;
}

.fs-item:hover { background: var(--surface-hover);  }

.fs-number {
    font-family: var(--font-display);
    font-size: 14px;
    color: var(--primary);
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.fs-item h3 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 14px;
}

.fs-item p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: 18px;
}

.fs-item a {
    font-size: 13px;
    font-weight: 500;
    color: var(--primary);
}

/* ============================================
   LEARN PREVIEW
   ============================================ */
.learn-preview {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 16px;
}

.lp-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    text-decoration: none;
    color: var(--text);
    transition: all 0.25s;
}

.lp-card:hover { background: var(--surface-hover); color: var(--text);  }

.lp-card.lp-featured {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
    padding: 36px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.lp-number {
    font-size: 11px;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.lp-card h3 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 8px;
}

.lp-featured h3 { font-size: 28px; }

.lp-card p {
    font-size: 13px;
    line-height: 1.6;
    color: var(--text-secondary);
}

.lp-featured p { font-size: 15px; margin-bottom: 16px; }

.lp-link {
    font-size: 14px;
    color: var(--primary);
    font-weight: 500;
}

/* ============================================
   TOOLS MEGA GRID
   ============================================ */
.tools-mega-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.tool-tile {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 24px 16px 20px;
    text-align: center;
    text-decoration: none;
    color: var(--text);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.tool-tile:hover {
    background: var(--surface-hover);
    color: var(--text);
    transform: translateY(-2px);
}

.tt-icon {
    font-size: 28px;
    color: var(--primary);
    margin-bottom: 12px;
}

.tt-name {
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 4px;
}

.tt-desc {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* ============================================
   HOME 2-COL LAYOUT
   ============================================ */
.home-2col {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 32px;
    align-items: start;
}

.home-main { min-width: 0; }

.home-2col .celeb-showcase {
    grid-template-columns: repeat(3, 1fr);
}

/* ============================================
   BIRTHDAY LOOKUP
   ============================================ */
.birthday-lookup {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.birthday-lookup select {
    padding: 12px 16px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 14px;
    font-family: var(--font-body);
    min-width: 140px;
}

.birthday-lookup select:focus { outline: none; border-color: var(--gold); }

/* ============================================
   PLANET EXPLORE GRID
   ============================================ */
.planet-explore-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pe-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 16px 20px;
    text-decoration: none;
    color: var(--text);
    transition: border-color 0.2s;
}

.pe-card:hover { background: var(--surface-hover); color: var(--text); }

.pe-card strong {
    font-size: 15px;
    display: block;
    margin-bottom: 2px;
}

.pe-card > span {
    font-size: 13px;
    color: var(--text-secondary);
    display: block;
}

.pe-signs {
    display: flex;
    gap: 6px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.pe-signs a {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    text-decoration: none;
    color: var(--text-secondary);
    transition: all 0.2s;
}

.pe-signs a:hover {
    background: var(--surface-hover);
    color: var(--primary);
    background: var(--primary-dim);
}

/* ============================================
   HOUSES GRID
   ============================================ */
.houses-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.house-tile {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 16px;
    text-decoration: none;
    color: var(--text);
    display: flex;
    align-items: flex-start;
    gap: 14px;
    transition: border-color 0.2s;
}

.house-tile:hover { background: var(--surface-hover); color: var(--text); }

.ht-num {
    font-family: var(--font-display);
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    min-width: 24px;
    text-align: center;
}

.house-tile strong {
    font-size: 14px;
    display: block;
    margin-bottom: 2px;
}

.house-tile span:not(.ht-num) {
    font-size: 12px;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 32px;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 500;
    font-family: var(--font-body);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
    text-decoration: none;
}

.btn-primary {
    background: var(--primary);
    color: #1a1a1a;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.btn-primary:hover {
    background: var(--primary-hover);
    color: #1a1a1a;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.btn-outline {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}
.btn-outline:hover {
    background: var(--surface-hover);
    color: var(--primary);
}

.btn-group { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ============================================
   SECTION
   ============================================ */
.section {
    padding: 60px 0;
}

/* Darker variant */
.section-cosmic {
    background: #161629;
}

/* Lighter accent section */
.section-accent {
    background: #343436;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

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

.section-header h2 {
    font-family: var(--font-display);
    font-size: 38px;
    font-weight: 500;
    margin-bottom: 12px;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 17px;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

.section-divider {
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    margin: 20px auto 0;
    border-radius: 1px;
}

/* ============================================
   CARDS
   ============================================ */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    transition: all 0.3s ease;
    
}

.card:hover {
    border-color: #D4CFC5;
    background: var(--surface);
    transform: translateY(-3px);
    
}

.card-symbol {
    font-size: 36px;
    margin-bottom: 16px;
    display: block;
}

.card h3 {
    font-family: var(--font-display);
    font-size: 26px;
    font-weight: 500;
    margin-bottom: 6px;
}

.card .card-meta {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 14px;
}

.card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* --- Zodiac Grid (3x4) --- */
.zodiac-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}

.zodiac-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 24px 16px;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--text);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

.zodiac-card:hover {
    background: var(--surface-hover);
    transform: translateY(-2px);
    color: var(--text);
    
}

.zodiac-card .sign-symbol {
    font-size: 40px;
    display: block;
    margin-bottom: 14px;
    font-family: 'Segoe UI Symbol', 'Noto Sans Symbols 2', sans-serif;
    color: var(--primary);
    text-rendering: optimizeLegibility;
    font-variant-emoji: text;
}

.zodiac-card .sign-name {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 500;
    display: block;
    margin-bottom: 2px;
}

.zodiac-card .sign-dates {
    font-size: 12px;
    color: var(--text-secondary);
    display: block;
    margin-bottom: 8px;
}

.zodiac-card .sign-element {
    display: block;
    font-size: 10px;
    padding: 0;
    margin-bottom: 10px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-muted);
}

.zodiac-card .sign-preview {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-top: auto;
}

.element-fire, .element-earth, .element-air, .element-water {
    background: none;
    color: var(--text-muted);
    font-weight: 500;
}

/* ============================================
   FEATURES ROW (icon + text)
   ============================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    text-align: center;
    transition: all 0.25s;
}

.feature-card:hover {
    border-color: var(--gold);
}

.feature-icon {
    font-size: 28px;
    color: var(--gold);
    margin-bottom: 16px;
}

.feature-card h3 {
    font-family: var(--font-display);
    font-size: 22px;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   STATS BAR
   ============================================ */
.stats-bar {
    display: flex;
    justify-content: center;
    gap: 64px;
    padding: 40px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.stat-item { text-align: center; }

.stat-number {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 600;
    color: var(--gold);
    display: block;
}

.stat-label {
    font-size: 13px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 4px;
}

/* ============================================
   DAILY HOROSCOPE PREVIEW
   ============================================ */
.horoscope-preview {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.horoscope-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    transition: all 0.25s;
    text-decoration: none;
    color: var(--text);
}

.horoscope-card:hover {
    border-color: var(--gold);
    background: var(--surface-hover);
    color: var(--text);
}

.horoscope-card .hc-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.horoscope-card .hc-symbol { font-size: 28px; }

.horoscope-card .hc-name {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 500;
}

.horoscope-card .hc-excerpt {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.horoscope-card .hc-rating {
    margin-top: 12px;
    color: var(--gold);
    font-size: 14px;
    letter-spacing: 2px;
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    text-align: center;
    padding: 64px 0;
    background: linear-gradient(180deg, #262628 0%, #1a1a2e 100%);
    border-top: 1px solid var(--border);
}

.cta-section h2 {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 400;
    margin-bottom: 16px;
}

.cta-section p {
    color: var(--text-secondary);
    font-size: 17px;
    margin-bottom: 32px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    margin-top: auto;
    border-top: 1px solid var(--border);
    padding: 64px 0 36px;
    background: #0F0F20;
    color: #A0A0A5;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}

.footer-brand .logo { margin-bottom: 12px; display: inline-block; }

.footer-brand p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    max-width: 280px;
}

.footer-col h4 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 16px;
    color: var(--text);
}

.footer-col ul { list-style: none; }

.footer-col ul li { margin-bottom: 8px; }

.footer-col ul a {
    color: var(--text-secondary);
    font-size: 14px;
    transition: color 0.2s;
}

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

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-secondary);
}

/* ============================================
   BIRTH CHART FORM
   ============================================ */
.page-header {
    padding: 64px 50px 48px;
    text-align: center;
    border-bottom: none;
    background: #1a1a2e url('../img/hero-space.jpg') center top / cover no-repeat;
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.page-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to bottom, rgba(16,14,30,0.65) 0%, rgba(16,14,30,0.75) 80%, rgba(26,26,46,0.95) 100%);
    z-index: 0;
    pointer-events: none;
}

.page-header canvas.page-stars {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
}

.page-header .container,
.page-header > * {
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-family: var(--font-display);
    font-size: 52px;
    font-weight: 400;
    margin-bottom: 14px;
}

.page-header p {
    color: var(--text-secondary);
    font-size: 17px;
    max-width: 560px;
    margin: 0 auto;
    line-height: 1.7;
}

.chart-form-wrap {
    max-width: 680px;
    margin: 0 auto;
    padding: 60px 0 80px;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 8px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 15px;
    font-family: var(--font-body);
    transition: all 0.3s ease;
    
}

.form-group input::-webkit-calendar-picker-indicator,
.sw-form input::-webkit-calendar-picker-indicator {
    filter: invert(0.8);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(201,169,110,0.1), 0 1px 4px rgba(0,0,0,0.1);
}

.form-group input::placeholder { color: var(--text-secondary); opacity: 0.6; }

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-note {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 6px;
}

.form-submit {
    margin-top: 32px;
    text-align: center;
}

/* ============================================
   HOROSCOPE PAGE
   ============================================ */
.tabs {
    display: flex;
    gap: 4px;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab {
    padding: 10px 24px;
    border-radius: 100px;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--surface);
    border: 1px solid var(--border);
    text-decoration: none;
    transition: all 0.3s ease;
}

.tab:hover { border-color: var(--gold); color: var(--text); }
.tab.active { background: var(--gold-dim); border-color: var(--gold); color: var(--gold); }

/* Horoscope full-width wrapper */
.horo-stars-section {
    position: relative;
    background: #1a1a2e;
}
.horo-stars-section::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 500px;
    background: url('../img/hero-space.jpg') center top / cover no-repeat;
    z-index: 0;
    pointer-events: none;
}
.horo-stars-section::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 500px;
    background: linear-gradient(to bottom, rgba(16,14,30,0.65) 0%, rgba(16,14,30,0.75) 60%, rgba(26,26,46,1) 100%);
    z-index: 0;
    pointer-events: none;
}
.horo-stars-section .page-header {
    background: transparent;
}
.horo-stars-section .page-header::before {
    display: none;
}

.horo-stars-section .horo-full-wrap,
.horo-stars-section .horo-3col {
    position: relative;
    z-index: 1;
}

.horo-stars-section .sidebar,
.horo-stars-section .horo-right-panel {
    background: none;
}

.horo-stars-section .sw,
.horo-stars-section .sw-nav-section,
.horo-stars-section .hrp-card {
    background: rgba(30, 30, 55, 0.7);
    border-color: rgba(58, 58, 92, 0.5);
    backdrop-filter: blur(8px);
}

/* ===== GLOBAL 3-COLUMN LAYOUT (all content pages) ===== */
.global-stars-wrap {
    position: relative;
    background: #1a1a2e;
    min-height: 60vh;
}
.global-stars-wrap > .page-header {
    background: transparent;
}
.global-stars-wrap > .page-header::before {
    display: none;
}
.global-stars-wrap::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 500px;
    background: url('../img/hero-space.jpg') center top / cover no-repeat;
    z-index: 0;
    pointer-events: none;
}
.global-stars-wrap::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 500px;
    background: linear-gradient(to bottom, rgba(16,14,30,0.65) 0%, rgba(16,14,30,0.75) 60%, rgba(26,26,46,1) 100%);
    z-index: 0;
    pointer-events: none;
}

.global-stars-wrap > .av-stars {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
}

.global-3col {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 240px 1fr 260px;
    gap: 28px;
    padding: 0 20px 40px;
    align-items: start;
}

.global-3col > .sidebar {
    order: 1;
    position: sticky;
    top: calc(var(--header-h) + 24px);
    padding-top: 90px;
}


.global-content {
    order: 2;
    min-width: 0;
}

.global-content > .page-header {
    display: none;
}

.global-content > .section:first-of-type {
    padding-top: 90px;
}

.global-content > .section:first-of-type .content-page h2:first-child,
.global-content > .section:first-of-type .chart-form-wrap h2:first-child {
    margin-top: 0;
}

.global-right-panel {
    order: 3;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: calc(var(--header-h) + 24px);
    padding-top: 90px;
}

.global-stars-wrap .sidebar,
.global-stars-wrap .global-right-panel {
    background: none;
}

.global-stars-wrap .sw-nav-section,
.global-stars-wrap .hrp-card {
    background: rgba(30, 30, 55, 0.7);
    border-color: rgba(58, 58, 92, 0.5);
    backdrop-filter: blur(8px);
}

.global-content .container {
    max-width: 100%;
    padding: 0;
}

.global-content .section {
    padding-left: 0;
    padding-right: 0;
}

.global-content .content-page,
.global-content .chart-form-wrap,
.global-content .horoscope-content,
.global-content .container {
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.global-content > .section:first-of-type .content-page {
    padding-top: 0;
}

.global-content .section > div {
    max-width: 100% !important;
}


@media (max-width: 1100px) {
    .global-3col { grid-template-columns: 1fr; }
    .global-3col > .sidebar,
    .global-right-panel { position: static; }
    .global-content .container { padding: 0 20px; }
}

.horo-full-wrap {
    max-width: 100%;
    padding: 0 20px;
}

/* 3-column horoscope layout */
.horo-3col {
    display: grid;
    grid-template-columns: 240px 1fr 260px;
    gap: 28px;
    align-items: start;
}

.horo-3col .sidebar {
    order: 1;
    margin-top: 0;
    padding-top: 50px;
    position: sticky;
    top: calc(var(--header-h) + 24px);
}

.horo-3col .horoscope-content {
    order: 2;
}

.horo-3col .horo-right-panel {
    order: 3;
    margin-right: 0;
    padding-top: 50px;
}

.horoscope-content {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 0 80px;
    min-width: 0;
}

/* Right panel */
.horo-right-panel {
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: sticky;
    top: calc(var(--header-h) + 24px);
    margin-right: -20px;
}

.hrp-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
}

.hrp-card h4 {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.hrp-sign-symbol {
    font-size: 48px;
    text-align: center;
    display: block;
    margin-bottom: 8px;
    color: var(--gold);
    font-family: 'Segoe UI Symbol', 'Noto Sans Symbols 2', sans-serif;
    font-variant-emoji: text;
}

.hrp-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hrp-info > div {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    padding: 4px 0;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}

.hrp-info > div:last-child { border-bottom: none; }
.hrp-info span { color: var(--text-secondary); }
.hrp-info strong { color: var(--text); font-weight: 600; }

.hrp-toc {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hrp-toc a {
    display: block;
    padding: 8px 12px;
    font-size: 13px;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s;
}

.hrp-toc a:hover {
    background: var(--surface-hover);
    color: var(--gold);
}

.hrp-match {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    font-size: 14px;
    color: var(--text);
    text-decoration: none;
    border-radius: 6px;
    transition: all 0.2s;
}

.hrp-match:hover {
    background: var(--surface-hover);
    color: var(--gold);
}

.hrp-match-sym {
    font-size: 20px;
    color: var(--gold);
    font-family: 'Segoe UI Symbol', 'Noto Sans Symbols 2', sans-serif;
    font-variant-emoji: text;
}

@media (max-width: 1024px) {
    .horo-3col { grid-template-columns: 1fr; }
    .horo-right-panel { position: static; display: grid; grid-template-columns: 1fr 1fr; }
}

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

.horoscope-sign-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 36px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--border);
    text-align: center;
}

.horoscope-sign-header .sign-symbol-lg {
    font-size: 64px;
}

.horoscope-sign-header h2 {
    font-family: var(--font-display);
    font-size: 40px;
    font-weight: 400;
}

.horoscope-sign-header .sign-meta {
    font-size: 15px;
    color: var(--text-secondary);
    margin-top: 6px;
}

.horoscope-body h3 {
    font-family: var(--font-display);
    font-size: 28px;
    margin: 36px 0 14px;
    color: var(--gold);
}

.horoscope-body p {
    font-size: 17px;
    line-height: 1.85;
    color: var(--text);
    margin-bottom: 18px;
}

.horoscope-meta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 32px;
}

.horoscope-meta-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 16px;
    text-align: center;
}

.horoscope-meta-item .meta-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.horoscope-meta-item .meta-value {
    font-family: var(--font-display);
    font-size: 24px;
    color: var(--gold);
}

/* Sign nav at bottom */
.sign-nav {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
    padding: 32px 0;
    border-top: 1px solid var(--border);
    margin-top: 40px;
}

.sign-nav a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    transition: all 0.2s;
    text-decoration: none;
}

.sign-nav a:hover, .sign-nav a.active {
    border-color: var(--gold);
    background: var(--gold-dim);
}

/* ============================================
   COMPATIBILITY PAGE
   ============================================ */
.compat-selector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.compat-selector select {
    padding: 12px 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 16px;
    font-family: var(--font-body);
    min-width: 180px;
}

.compat-selector select:focus { outline: none; border-color: var(--gold); }

.compat-heart {
    font-size: 28px;
    color: var(--gold);
}

.compat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.compat-cell {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 16px 12px;
    text-align: center;
    text-decoration: none;
    color: var(--text);
    transition: all 0.2s;
}

.compat-cell:hover {
    border-color: var(--gold);
    background: var(--surface-hover);
    color: var(--text);
}

.compat-cell .cc-signs {
    font-size: 24px;
    margin-bottom: 6px;
    display: block;
}

.compat-cell .cc-names {
    font-size: 12px;
    color: var(--text-secondary);
}

.compat-cell .cc-score {
    display: inline-block;
    margin-top: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--gold);
}

/* Compatibility detail */
.compat-detail {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 0 80px;
}

.compat-header {
    text-align: center;
    padding: 40px 0;
    border-bottom: 1px solid var(--border);
    margin-bottom: 40px;
}

.compat-signs-display {
    font-size: 72px;
    margin-bottom: 20px;
}

.compat-header h2 {
    font-family: var(--font-display);
    font-size: 42px;
    font-weight: 400;
}

.score-bars {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 32px 0;
}

.score-bar {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 20px;
    text-align: center;
}

.score-bar .sb-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.score-bar .sb-value {
    font-family: var(--font-display);
    font-size: 32px;
    color: var(--gold);
}

.score-bar .sb-suffix {
    font-size: 16px;
    color: var(--text-secondary);
}

/* ============================================
   CONTENT PAGE (generic for planet, house, sign, birthday, learn)
   ============================================ */
.content-page {
    max-width: 900px;
    margin: 0 auto;
    padding: 48px 40px 80px;
}

.content-page h1 {
    font-family: var(--font-display);
    font-size: 46px;
    font-weight: 400;
    margin-bottom: 10px;
}

.content-page .content-meta {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 36px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--border);
}

.content-page h2 {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 400;
    margin: 40px 0 14px;
    color: var(--gold);
}

.content-page h3 {
    font-family: var(--font-display);
    font-size: 24px;
    margin: 32px 0 12px;
}

.content-page p {
    font-size: 17px;
    line-height: 1.85;
    margin-bottom: 18px;
}

.content-page ul, .content-page ol {
    margin: 0 0 16px 24px;
}

.content-page li {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 6px;
    color: var(--text);
}

/* ============================================
   LIST PAGE (celebrities, learn index)
   ============================================ */
.list-page {
    padding: 48px 0 80px;
}

.search-bar {
    max-width: 500px;
    margin: 0 auto 40px;
}

.search-bar input {
    width: 100%;
    padding: 14px 20px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    color: var(--text);
    font-size: 15px;
    font-family: var(--font-body);
}

.search-bar input:focus { outline: none; border-color: var(--gold); }
.search-bar input::placeholder { color: var(--text-secondary); opacity: 0.6; }

.list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 16px;
}

.list-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    color: var(--text);
    transition: all 0.2s;
}

.list-item:hover {
    border-color: var(--gold);
    background: var(--surface-hover);
    color: var(--text);
}

.list-item .li-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gold-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 18px;
    color: var(--gold);
    flex-shrink: 0;
}

.list-item .li-name {
    font-weight: 500;
    font-size: 15px;
}

.list-item .li-meta {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 2px;
}

/* ============================================
   TRANSITS / RETROGRADE / MOON
   ============================================ */
.transit-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 24px;
}

.transit-table th {
    text-align: left;
    padding: 12px 16px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
    font-weight: 500;
}

.transit-table td {
    padding: 16px 20px;
    font-size: 15px;
    border-bottom: 1px solid var(--border);
    color: var(--text);
}

.transit-table tr:hover td {
    background: var(--surface);
}

.transit-table .planet-name {
    font-weight: 500;
}

.transit-table .retrograde-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    background: rgba(201, 169, 110, 0.15);
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Calendar grid */
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
    margin-top: 24px;
}

.calendar-header {
    text-align: center;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    text-transform: uppercase;
    padding: 8px;
}

.calendar-day {
    aspect-ratio: 1;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 8px;
    font-size: 13px;
    color: var(--text-secondary);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.calendar-day.today {
    border-color: var(--gold);
    color: var(--text);
}

.calendar-day .moon-icon {
    font-size: 18px;
}

/* Retrograde timeline */
.retro-timeline {
    margin-top: 32px;
}

.retro-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 24px;
}

.retro-item .ri-planet {
    font-size: 28px;
    min-width: 48px;
    text-align: center;
    color: var(--gold);
    font-family: var(--font-display);
    font-weight: 600;
}

.retro-item .ri-dates {
    font-size: 15px;
    font-weight: 500;
}

.retro-item .ri-sign {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 4px;
}

.retro-item .ri-status {
    margin-left: auto;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ri-status.active { background: rgba(201, 169, 110, 0.2); color: var(--gold); }
.ri-status.upcoming { background: var(--surface-hover); color: var(--text-secondary); }
.ri-status.ended { background: var(--surface-hover); color: var(--text-secondary); opacity: 0.6; }

/* ============================================
   LEARN INDEX
   ============================================ */
.learn-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

.learn-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    text-decoration: none;
    color: var(--text);
    transition: all 0.25s;
}

.learn-card:hover {
    border-color: var(--gold);
    background: var(--surface-hover);
    color: var(--text);
}

.learn-card .lc-number {
    font-size: 12px;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
}

.learn-card h3 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 10px;
}

.learn-card p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================
   PAGINATION
   ============================================ */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
}

.pagination a, .pagination span {
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    border: 1px solid var(--border);
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.2s;
}

.pagination a:hover { border-color: var(--gold); color: var(--text); }
.pagination .current { background: var(--gold-dim); border-color: var(--gold); color: var(--gold); }

/* ============================================
   WIDGET ROW (3-col below hero)
   ============================================ */
.widget-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.widget-box {
    background: var(--surface);
    border-radius: var(--radius);
    padding: 24px;
    border: 1px solid var(--border);
    transition: background 0.2s ease;
    display: flex;
    flex-direction: column;
}











.widget-box form,
.widget-box .wb-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.widget-box .btn-gold,
.widget-box button[type="submit"] {
    margin-top: auto;
}

.widget-box:hover {
    
}

.wb-title {
    font-family: var(--font-display);
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 12px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}

.wb-form { display: flex; flex-direction: column; gap: 8px; }

.wb-form input, .wb-form select {
    width: 100%;
    padding: 9px 12px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 6px;
    color: var(--text);
    font-size: 13px;
    font-family: var(--font-body);
}

.wb-form input:focus, .wb-form select:focus { outline: none; background: var(--surface-hover); }

.wb-sky { display: flex; flex-direction: column; gap: 2px; }

.wb-sky-row {
    display: flex;
    justify-content: space-between;
    padding: 5px 0;
    font-size: 13px;
    border-bottom: 1px solid var(--border);
}

.wb-sky-row span:first-child { font-weight: 500; }
.wb-sky-row span:last-child { color: var(--text-secondary); font-size: 12px; }
.wb-sky-row.retro span:last-child { color: #D4522A; font-weight: 500; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1200px) {
    .layout-2col { grid-template-columns: 280px 1fr; gap: 24px; padding-left: 30px; padding-right: 30px; }
    .home-2col { grid-template-columns: 280px 1fr; gap: 24px; }
    .tools-mega-grid { grid-template-columns: repeat(4, 1fr); }
    .home-2col .celeb-showcase { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
    .layout-2col { grid-template-columns: 1fr; }
    .home-2col { grid-template-columns: 1fr; }
    .sidebar { position: static; max-height: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .tools-mega-grid { grid-template-columns: repeat(3, 1fr); }
    .home-2col .celeb-showcase { grid-template-columns: repeat(3, 1fr); }
    .houses-grid { grid-template-columns: repeat(2, 1fr); }
    .zodiac-grid { grid-template-columns: repeat(4, 1fr); }
    .widget-row { grid-template-columns: 1fr 1fr; }
    .horoscope-preview { grid-template-columns: repeat(3, 1fr); }
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .features-showcase { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-tools-grid { grid-template-columns: repeat(4, 1fr); }
    .cw-main { grid-template-columns: 1fr; }
    .bc-cta-grid { grid-template-columns: 1fr; }
    .bc-cta-visual { display: none; }
    .celeb-showcase { grid-template-columns: repeat(2, 1fr); }
    .cf-popular-grid { grid-template-columns: repeat(3, 1fr); }
    .learn-preview { grid-template-columns: repeat(2, 1fr); }
    .lp-card.lp-featured { grid-column: 1 / -1; grid-row: auto; }
}

@media (max-width: 768px) {
    .nav {
        display: none;
        position: absolute;
        top: var(--header-h);
        left: 0; right: 0;
        background: var(--bg);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: 16px;
    }
    .nav.open { display: flex; }
    .nav a { padding: 12px 16px; width: 100%; }
    .nav-toggle { display: block; }
    .lang-dropdown { border-left: none; margin-left: 0; padding-left: 0; padding-top: 8px; border-top: 1px solid var(--border); margin-top: 8px; }
    .lang-menu { position: static; box-shadow: none; border: 1px solid var(--border); background: var(--bg); max-height: 200px; }
    .lang-trigger { width: 100%; justify-content: center; }

    .hero { padding: 60px 0 50px; }
    .hero h1 { font-size: 36px; }
    .hero-content { grid-template-columns: 1fr; }
    .hero-left { text-align: center; }
    .hero-right { display: none; }
    .hero p { margin: 0 auto 36px; }
    .hero .btn-group { justify-content: center; }
    .hero-trust { justify-content: center; }
    .hero-trust { flex-direction: column; gap: 4px; }
    .hero-trust span:nth-child(2) { display: none; }
    .features-showcase { grid-template-columns: 1fr; }
    .celeb-showcase { grid-template-columns: 1fr; }
    .cf-popular-grid { grid-template-columns: repeat(2, 1fr); }
    .learn-preview { grid-template-columns: 1fr; }
    .cw-aspect { flex-wrap: wrap; }
    .sidebar { grid-template-columns: 1fr; }
    .zodiac-bar { display: none; }
    .alert-bar span:not(.alert-badge) { display: none; }
    .alert-bar a { display: none; }
    .tools-mega-grid { grid-template-columns: repeat(2, 1fr); }
    .home-2col .celeb-showcase { grid-template-columns: repeat(2, 1fr); }
    .houses-grid { grid-template-columns: 1fr; }
    .planet-explore-grid .pe-signs { display: none; }
    .hero p { font-size: 16px; }

    .zodiac-grid { grid-template-columns: repeat(3, 1fr); }
    .widget-row { grid-template-columns: 1fr; }
    .horoscope-preview { grid-template-columns: repeat(2, 1fr); }
    .features-grid { grid-template-columns: 1fr; }
    .stats-bar { flex-wrap: wrap; gap: 32px; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-tools-grid { grid-template-columns: repeat(3, 1fr); }
    .compat-grid { grid-template-columns: repeat(2, 1fr); }
    .score-bars { grid-template-columns: repeat(2, 1fr); }
    .horoscope-meta-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .retro-item { flex-direction: column; text-align: center; gap: 12px; }
    .retro-item .ri-status { margin-left: 0; }
    .calendar-grid { grid-template-columns: repeat(4, 1fr); }

    .container { padding: 0 20px; }
    .section { padding: 48px 0; }
    .section-header h2 { font-size: 30px; }
    .cta-section h2 { font-size: 34px; }
    .page-header h1 { font-size: 38px; }
    .content-page h1 { font-size: 34px; }
    .content-page { padding: 40px 20px 60px; }
    .learn-grid { grid-template-columns: 1fr; }
    .list-grid { grid-template-columns: 1fr; }
    .compat-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .zodiac-grid { grid-template-columns: 1fr 1fr; }
    .horoscope-preview { grid-template-columns: 1fr; }
    .hero h1 { font-size: 32px; }
    .btn-group { flex-direction: column; align-items: center; }
    .stats-bar { gap: 24px; }
}

/* ============================================
   AUTH FORMS & CARDS
   ============================================ */
.auth-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 32px;
}

.auth-form label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 6px;
    margin-top: 14px;
    color: var(--text-secondary);
}

.auth-form label:first-child {
    margin-top: 0;
}

.auth-form input[type="text"],
.auth-form input[type="email"],
.auth-form input[type="password"],
.auth-form input[type="date"],
.auth-form input[type="time"],
.auth-form select {
    width: 100%;
    padding: 10px 14px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.auth-form input:focus,
.auth-form select:focus {
    outline: none;
    border-color: var(--gold);
}

/* Header user menu */
.header-user {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-user-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 13px;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
}

.header-user-btn:hover {
    border-color: var(--gold);
    color: var(--gold);
}

.header-user-btn.primary {
    background: var(--gold);
    border-color: var(--gold);
    color: #1a1a1c;
    font-weight: 600;
}

.header-user-btn.primary:hover {
    background: #d4b876;
}

/* Premium gate prompt */
.premium-gate {
    text-align: center;
    padding: 40px 24px;
    margin: 24px 0;
    border: 1px dashed var(--border);
    border-radius: var(--radius-sm);
    background: rgba(201, 169, 110, 0.03);
}

.premium-gate-icon {
    font-size: 36px;
    color: var(--gold);
    margin-bottom: 12px;
}

.premium-gate h3 {
    font-family: var(--font-display);
    font-size: 20px;
    margin-bottom: 8px;
}

.premium-gate p {
    font-size: 14px;
    color: var(--text-secondary);
    max-width: 400px;
    margin: 0 auto 20px;
    line-height: 1.6;
}

.premium-gate-btns {
    display: flex;
    gap: 12px;
    justify-content: center;
}

/* ============================================
   CONSOLIDATED FORM STYLES
   ============================================ */
.form-input,
.form-select,
.form-textarea {
    width: 100%;
    padding: 10px 14px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-size: 14px;
    font-family: inherit;
    transition: border-color 0.2s;
    box-sizing: border-box;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--gold);
}

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

.form-label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 6px;
    color: var(--text-secondary);
}

.form-group {
    margin-bottom: 16px;
}

.form-note {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 4px;
}

/* Content page layout */
.content-page {
    max-width: 900px;
    margin: 0 auto;
}

/* List grid layout */
.list-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 12px;
}

.list-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 18px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--text);
    transition: all 0.2s;
}

.list-item:hover {
    border-color: var(--gold);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

.li-avatar {
    font-size: 28px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(201,169,110,0.08);
    border-radius: 50%;
    flex-shrink: 0;
}

.li-name {
    font-size: 15px;
    font-weight: 600;
}

.li-meta {
    font-size: 12px;
    color: var(--text-secondary);
    margin-top: 2px;
}

/* Card grid */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 20px;
    transition: all 0.2s;
}

.card:hover {
    border-color: var(--gold);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

/* Score bar (compatibility) */
.score-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
}

.score-bar:last-child {
    border-bottom: none;
}

.sb-label {
    min-width: 90px;
    font-size: 14px;
    font-weight: 500;
}

.sb-track {
    flex: 1;
    height: 8px;
    background: var(--border);
    border-radius: 4px;
    overflow: hidden;
}

.sb-fill {
    height: 100%;
    border-radius: 4px;
    transition: width 0.6s ease;
}

.sb-value {
    min-width: 50px;
    text-align: right;
    font-size: 20px;
    font-weight: 700;
    font-family: var(--font-display);
}

.sb-suffix {
    font-size: 14px;
    font-weight: 400;
    color: var(--text-secondary);
}

/* ============================================
   RESPONSIVE — NEW PAGES
   ============================================ */
@media (max-width: 768px) {
    /* Dashboard cards */
    .dashboard-grid-2 {
        grid-template-columns: 1fr !important;
    }

    /* Contact form */
    .contact-grid {
        grid-template-columns: 1fr !important;
    }

    /* Celebrity big three */
    .big-three-grid {
        grid-template-columns: 1fr !important;
    }

    /* Score bars stack */
    .score-bars {
        grid-template-columns: 1fr !important;
    }

    /* Pricing cards */
    .pricing-grid {
        grid-template-columns: 1fr !important;
    }

    /* Sign info grid */
    .sign-info-grid {
        grid-template-columns: repeat(3, 1fr) !important;
    }
}

@media (max-width: 480px) {
    .sign-info-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

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

/* ============================================
   HOMEPAGE REDESIGN v2 — Full Width, Bold, Professional
   ============================================ */

/* Wide container for homepage */
.av-wide {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.btn-lg {
    padding: 16px 40px;
    font-size: 16px;
}

/* --- HERO — full width, 2 columns like Sanctuary --- */
.av-hero {
    position: relative;
    padding: 80px 0 80px;
    overflow: hidden;
    background: #1a1a2e url('../img/hero-home-2.jpg') center center / cover no-repeat;
}
.av-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(135deg, rgba(15,15,46,0.75) 0%, rgba(26,26,62,0.7) 30%, rgba(22,33,62,0.7) 60%, rgba(26,26,46,0.8) 100%);
    z-index: 0;
    pointer-events: none;
}

.av-stars {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
}

.av-hero-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.av-hero-left { text-align: left; }

.av-hero-badge {
    display: inline-block;
    padding: 6px 20px;
    border: 1px solid rgba(201,169,110,0.3);
    border-radius: 24px;
    font-size: 11px;
    color: var(--gold);
    background: rgba(201,169,110,0.08);
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-bottom: 28px;
    font-weight: 600;
}

.av-hero h1 {
    font-family: var(--font-display);
    font-size: 64px;
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--text);
}

.av-hero h1 em {
    font-style: italic;
    color: var(--gold);
}

.av-hero-sub {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 0 32px;
    line-height: 1.7;
}

.av-hero-btns {
    display: flex;
    gap: 16px;
    margin-bottom: 36px;
}

.av-hero-stats {
    display: flex;
    gap: 32px;
    font-size: 13px;
    color: var(--text-secondary);
}

.av-hero-stats strong {
    color: var(--gold);
    font-family: var(--font-display);
    font-size: 20px;
    display: block;
    margin-bottom: 2px;
}

.av-hero-right {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.av-hero-right::before {
    content: '';
    position: absolute;
    width: 460px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(201,169,110,0.08) 0%, transparent 70%);
    animation: av-glow 4s ease-in-out infinite;
}

.av-hero-right #heroChartWheel {
    animation: av-rotate 120s linear infinite;
}

@keyframes av-rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes av-glow {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.08); opacity: 1; }
}

/* --- SIGN PICKER BAR — full width, 12 across --- */
.av-picker-bar {
    background: transparent;
    border: none;
    padding: 0;
    position: relative;
    z-index: 1;
}

/* Lines only on homepage picker */
#horoscope.av-picker-bar {
    border-top: 1px solid rgba(201,169,110,0.12);
    border-bottom: 1px solid rgba(201,169,110,0.12);
}

.av-picker-inner {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    max-width: 1200px;
    margin: 0 auto;
}

.av-pick {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 20px 8px;
    text-decoration: none;
    color: var(--text-secondary);
    transition: all 0.25s;
    border-bottom: 3px solid transparent;
    text-align: center;
}

.av-pick:hover {
    background: rgba(201,169,110,0.06);
    color: var(--text);
    border-bottom-color: rgba(201,169,110,0.3);
}

.av-pick.active {
    background: transparent;
    color: var(--gold);
    border-bottom-color: transparent;
}

.av-pick-sym {
    font-size: 28px;
    font-family: 'Segoe UI Symbol', 'Noto Sans Symbols 2', sans-serif;
    font-variant-emoji: text;
    text-rendering: optimizeLegibility;
}

.av-pick-name {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.av-pick-dates {
    font-size: 10px;
    color: var(--text-secondary);
    opacity: 0.7;
}

/* --- HOROSCOPE — 2 columns, fills the page --- */
/* Home page — picker full width */
#horoscope .av-picker-inner {
    max-width: 100%;
}

/* ===== HOMEPAGE SKY WRAPPER ===== */
.hp-sky-wrap {
    position: relative;
    background: #1a1a2e;
    overflow: hidden;
}

.hp-sky-wrap > .av-stars {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
}

.hp-sky-wrap > section {
    position: relative;
    z-index: 1;
}

/* ===== HOMEPAGE REDESIGN ===== */
.hp-wide {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.hp-section-title {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 400;
    text-align: center;
    margin-bottom: 40px;
}

/* --- Horoscope Section --- */
.hp-horoscope {
    padding: 60px 0;
    background: transparent;
}

.hp-horo-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: start;
}

.hp-horo-head {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 28px;
}

.hp-horo-sym {
    font-size: 56px;
    font-family: 'Segoe UI Symbol', 'Noto Sans Symbols 2', sans-serif;
    color: var(--gold);
}

.hp-horo-head h2 {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 400;
    margin-bottom: 4px;
}

.hp-horo-head p {
    font-size: 14px;
    color: var(--text-secondary);
}

.hp-horo-text {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text);
    margin-bottom: 24px;
}

.hp-horo-links {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
}

.hp-horo-links a {
    font-size: 14px;
    color: var(--gold);
    text-decoration: none;
}

.hp-horo-links a:hover { text-decoration: underline; }

/* Tabs panel */
.hp-horo-tabs-panel {
    background: rgba(30, 30, 55, 0.5);
    border: 1px solid rgba(201,169,110,0.1);
    border-radius: var(--radius);
    overflow: hidden;
    backdrop-filter: blur(8px);
}

.hp-tabs {
    display: flex;
    border-bottom: 1px solid rgba(201,169,110,0.1);
}

.hp-tab {
    flex: 1;
    padding: 14px 8px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}

.hp-tab:hover { color: var(--text); }
.hp-tab.active { color: var(--gold); border-bottom-color: var(--gold); }

.hp-tab-content {
    display: none;
    padding: 28px;
    font-size: 15px;
    line-height: 1.8;
    color: var(--text);
}

.hp-tab-content.active { display: block; }

/* --- Today's Sky — horizontal strip --- */
.hp-sky {
    padding: 48px 0;
    background: transparent;
    border-top: 1px solid rgba(201,169,110,0.08);
    border-bottom: 1px solid rgba(201,169,110,0.08);
}

.hp-sky-strip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: nowrap;
}

.hp-sky-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    padding: 16px 32px;
    text-decoration: none;
    color: var(--text);
    transition: color 0.2s;
}

.hp-sky-item:hover { color: var(--gold); }

.hp-sky-label {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    color: var(--gold);
}

.hp-sky-value {
    font-size: 16px;
    color: var(--text-secondary);
    text-align: center;
}

.hp-sky-item:hover .hp-sky-value { color: var(--text); }

.hp-sky-sep {
    width: 1px;
    height: 40px;
    background: rgba(201,169,110,0.2);
}

/* --- Tools — flowing list --- */
.hp-tools {
    padding: 70px 0;
    background: transparent;
}

.hp-tools-flow {
    max-width: 900px;
    margin: 0 auto;
}

.hp-flow-item {
    display: flex;
    align-items: center;
    gap: 28px;
    padding: 28px 0;
    border-bottom: 1px solid rgba(201,169,110,0.1);
    text-decoration: none;
    color: var(--text);
    transition: padding-left 0.3s;
}

.hp-flow-item:first-child {
    border-top: 1px solid rgba(201,169,110,0.1);
}

.hp-flow-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s, transform 0.5s, padding-left 0.3s;
}

.hp-flow-item.visible {
    opacity: 1;
    transform: translateY(0);
}

.hp-flow-item:hover {
    padding-left: 16px;
}

.hp-flow-num {
    font-family: var(--font-display);
    font-size: 38px;
    color: var(--gold);
    min-width: 55px;
    font-weight: 400;
}

.hp-flow-item div {
    flex: 1;
}

.hp-flow-item h3 {
    font-family: var(--font-display);
    font-size: 24px;
    font-weight: 400;
    margin-bottom: 6px;
}

.hp-flow-item p {
    font-size: 16px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.hp-flow-arrow {
    font-size: 24px;
    color: var(--gold);
    transition: transform 0.3s;
}

.hp-flow-item:hover .hp-flow-arrow {
    transform: translateX(6px);
}

/* --- Zodiac Wheel --- */
.hp-zodiac-section {
    padding: 80px 0;
    background: transparent;
}

.hp-dual-wheels {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

.hp-wheel-col {
    text-align: center;
}

.hp-wheel-col .hp-section-title {
    font-size: 28px;
    margin-bottom: 24px;
}

.hp-wheel-wrap {
    display: flex;
    justify-content: center;
    padding: 20px 0;
}

.hp-wheel {
    position: relative;
    width: 420px;
    height: 420px;
}

.hp-wheel-ring {
    position: absolute;
    top: 50%; left: 50%;
    width: 460px; height: 460px;
    margin: -230px 0 0 -230px;
    border: 1px solid rgba(201,169,110,0.15);
    border-radius: 50%;
    pointer-events: none;
}

.hp-wheel-ring-inner {
    width: 200px; height: 200px;
    margin: -100px 0 0 -100px;
    border-color: rgba(201,169,110,0.1);
}

.hp-wheel-sign {
    position: absolute;
    left: 0; top: 0;
    width: 70px; height: 70px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--text);
    will-change: transform;
    transition: color 0.3s;
}

.hp-wheel-sign:hover {
    color: var(--gold);
}

.hp-ws-sym {
    font-size: 32px;
    font-family: 'Segoe UI Symbol', 'Noto Sans Symbols 2', sans-serif;
    line-height: 1;
}

.hp-ws-name {
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.3px;
    margin-top: 4px;
}

.hp-wheel-center {
    position: absolute;
    top: 50%; left: 50%;
    width: 160px; height: 160px;
    margin: -80px 0 0 -80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hp-wc-sym {
    font-size: 40px;
    color: var(--gold);
    font-family: 'Segoe UI Symbol', 'Noto Sans Symbols 2', sans-serif;
}

.hp-wc-name {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 400;
    margin-top: 4px;
}

.hp-wc-el {
    font-size: 12px;
    color: var(--gold);
    letter-spacing: 0.8px;
    text-transform: uppercase;
    margin-top: 2px;
}

.hp-wc-dates {
    font-size: 11px;
    color: var(--text-secondary);
    margin-top: 2px;
}

.hp-wc-link {
    font-size: 12px;
    color: var(--gold);
    text-decoration: none;
    margin-top: 8px;
    transition: letter-spacing 0.2s;
}

.hp-wc-link:hover {
    letter-spacing: 0.5px;
}

@media (max-width: 900px) {
    .hp-dual-wheels { grid-template-columns: 1fr; }
    .hp-wheel { width: 360px; height: 360px; }
}

@media (max-width: 640px) {
    .hp-wheel { width: 300px; height: 300px; }
    .hp-wheel-ring { width: 260px; height: 260px; margin: -130px 0 0 -130px; }
    .hp-wheel-ring-inner { width: 120px; height: 120px; margin: -60px 0 0 -60px; }
    .hp-wheel-center { width: 110px; height: 110px; margin: -55px 0 0 -55px; }
    .hp-ws-sym { font-size: 22px; }
    .hp-ws-name { font-size: 9px; }
    .hp-wc-sym { font-size: 30px; }
    .hp-wc-name { font-size: 16px; }
}

/* --- Final CTA --- */
.hp-final-cta {
    padding: 80px 0;
    background: transparent;
    border-top: 1px solid rgba(201,169,110,0.08);
}

.hp-final-cta h2 {
    font-family: var(--font-display);
    font-size: 36px;
    font-weight: 400;
    margin-bottom: 16px;
}

.hp-final-cta p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hp-horo-grid { grid-template-columns: 1fr; }
    .hp-zodiac-grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 640px) {
    .hp-sky-grid { grid-template-columns: 1fr; }
    .hp-tools-grid { grid-template-columns: 1fr; }
    .hp-zodiac-grid { grid-template-columns: repeat(3, 1fr); }
    .hp-wide { padding: 0 20px; }
    .hp-section-title { font-size: 26px; }
}


.av-horoscope-section {
    padding: 60px 0;
    background: transparent;
}

.av-horoscope-wrap {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    align-items: start;
}

.av-horo-head {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border);
}

.av-horo-sym {
    font-size: 60px;
    color: var(--gold);
    font-family: 'Segoe UI Symbol', 'Noto Sans Symbols 2', sans-serif;
    font-variant-emoji: text;
}

.av-horo-head h2 {
    font-family: var(--font-display);
    font-size: 34px;
    font-weight: 400;
    margin-bottom: 4px;
}

.av-horo-head p {
    font-size: 14px;
    color: var(--text-secondary);
}

.av-horo-text {
    font-size: 17px;
    line-height: 1.9;
    color: var(--text);
}

.av-horo-links {
    display: flex;
    gap: 24px;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
}

.av-horo-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--gold);
}

/* Horoscope side — tabs */
.av-horo-side {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 0;
    position: sticky;
    top: calc(var(--header-h) + 20px);
    min-height: 500px;
    margin-top: 90px;
}

.av-horo-tabs {
    display: flex;
    border-bottom: 1px solid var(--border);
}

.av-ht {
    flex: 1;
    padding: 14px 8px;
    font-size: 14px;
    font-weight: 600;
    font-family: var(--font-body);
    color: var(--text-secondary);
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
}

.av-ht:hover { color: var(--text); }

.av-ht.active {
    color: var(--gold);
    border-bottom-color: var(--gold);
    background: rgba(201,169,110,0.05);
}

.av-ht-panels { padding: 28px; flex: 1; }

.av-ht-panel {
    display: none;
    font-size: 15px;
    line-height: 1.8;
    color: var(--text);
}

.av-ht-panel.active { display: block; }

/* --- OFFERS — horizontal cards --- */
.av-offers {
    padding: 60px 0;
    background: #161629;
}

.av-offers-horiz {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
}

.av-offer-h {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 28px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--text);
    transition: all 0.3s;
}

.av-offer-h:hover {
    background: rgba(201,169,110,0.08);
    border-color: rgba(201,169,110,0.3);
    color: var(--text);
}

.av-offer-icon {
    font-size: 32px;
    color: var(--gold);
    min-width: 44px;
    text-align: center;
}

.av-offer-body { flex: 1; }

.av-offer-body h3 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 6px;
}

.av-offer-body p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.av-offer-arrow {
    font-size: 20px;
    color: var(--gold);
    opacity: 0;
    transition: opacity 0.3s;
}

.av-offer-h:hover .av-offer-arrow { opacity: 1; }

/* --- EXPLORE — 3 columns --- */
.av-explore {
    padding: 70px 0;
    background: var(--bg);
}

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

.av-section-header h2 {
    font-family: var(--font-display);
    font-size: 38px;
    font-weight: 400;
    margin-bottom: 12px;
}

.av-section-header p {
    color: var(--text-secondary);
    font-size: 17px;
    max-width: 520px;
    margin: 0 auto;
}

/* Featured layout — big card left + 3 stacked right */
.av-explore-featured {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.av-exf-big {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 48px 40px;
    background: linear-gradient(135deg, rgba(201,169,110,0.1) 0%, rgba(201,169,110,0.03) 100%);
    border: 1px solid rgba(201,169,110,0.25);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--text);
    transition: all 0.3s;
}

.av-exf-big:hover {
    border-color: var(--gold);
    color: var(--text);
}

.av-exf-label {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--gold);
    margin-bottom: 16px;
}

.av-exf-big h3 {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 500;
    margin-bottom: 14px;
}

.av-exf-big p {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.av-exf-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--gold);
}

.av-exf-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.av-exf-sm {
    flex: 1;
    padding: 22px 28px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--text);
    transition: all 0.3s;
}

.av-exf-sm:hover {
    background: var(--surface-hover);
    border-color: rgba(201,169,110,0.3);
    color: var(--text);
}

.av-exf-sm h4 {
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 6px;
}

.av-exf-sm p {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.av-explore-row2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.av-explore-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.av-explore-card {
    display: block;
    padding: 32px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    text-decoration: none;
    color: var(--text);
    transition: all 0.3s;
}

.av-explore-card:hover {
    background: var(--surface-hover);
    border-color: rgba(201,169,110,0.3);
    color: var(--text);
    transform: translateY(-3px);
}

.av-explore-card h3 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 12px;
}

.av-explore-card p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* --- TEAM — 4 columns --- */
.av-team {
    padding: 70px 0;
    background: #161629;
}

.av-team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.av-team-card {
    text-align: center;
    padding: 36px 24px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.3s;
}

.av-team-card:hover {
    border-color: rgba(201,169,110,0.3);
    transform: translateY(-3px);
}

.av-team-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(201,169,110,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 500;
    color: var(--gold);
    margin: 0 auto 18px;
}

.av-team-photo {
    width: 96px;
    height: 96px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 18px;
    border: 2px solid rgba(201,169,110,0.3);
}

.av-team-card h3 {
    font-family: var(--font-display);
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 4px;
}

.av-team-role {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--gold);
    margin-bottom: 14px;
}

.av-team-bio {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 12px;
}

.av-team-tags {
    font-size: 11px;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
    opacity: 0.7;
}

/* --- TESTIMONIALS — 3 col with avatars --- */
.av-testimonials {
    padding: 70px 0;
    background: transparent;
}

.av-test-scroll-wrap {
    overflow: hidden;
    width: 100%;
    mask-image: linear-gradient(90deg, transparent 0%, black 5%, black 95%, transparent 100%);
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 5%, black 95%, transparent 100%);
}

.av-test-scroll {
    display: flex;
    gap: 24px;
    animation: av-scroll 40s linear infinite;
    width: max-content;
}

.av-test-scroll:hover {
    animation-play-state: paused;
}

@keyframes av-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.av-test-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.av-test-card {
    padding: 32px;
    background: rgba(30, 30, 55, 0.5);
    border: 1px solid rgba(201,169,110,0.08);
    border-radius: var(--radius);
    min-width: 380px;
    max-width: 380px;
    flex-shrink: 0;
    backdrop-filter: blur(4px);
}

.av-test-stars {
    color: var(--gold);
    font-size: 16px;
    letter-spacing: 2px;
    margin-bottom: 16px;
}

.av-test-card > p {
    font-size: 15px;
    line-height: 1.7;
    color: var(--text);
    font-style: italic;
    margin-bottom: 20px;
}

.av-test-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.av-test-ava {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(201,169,110,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 18px;
    color: var(--gold);
    font-weight: 500;
    flex-shrink: 0;
}

.av-test-author strong {
    font-size: 14px;
}

.av-test-author span {
    font-size: 12px;
    color: var(--text-secondary);
}

/* --- LEARN section --- */
.av-learn {
    padding: 70px 0;
    background: #161629;
}

.av-learn-cols {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
}

.av-learn-item {
    display: block;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: 15px;
    color: var(--text);
    text-decoration: none;
    transition: color 0.2s;
}

.av-learn-item:hover { color: var(--gold); }

.av-learn-num {
    color: var(--gold);
    font-weight: 600;
    margin-right: 8px;
}

.av-learn-tag {
    display: inline-block;
    padding: 2px 10px;
    border-radius: 4px;
    background: var(--primary-dim);
    color: var(--gold);
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-right: 8px;
}

/* --- FINAL CTA --- */
.av-final-cta {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
    background: linear-gradient(180deg, #262628 0%, #1a1a2e 50%, #0f0f2e 100%);
}

.av-final-cta h2 {
    font-family: var(--font-display);
    font-size: 48px;
    font-weight: 400;
    margin-bottom: 16px;
}

.av-final-cta p {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.7;
}

/* --- Homepage responsive --- */
@media (max-width: 1200px) {
    .av-picker-inner { grid-template-columns: repeat(6, 1fr); }
    .av-offers-horiz { grid-template-columns: 1fr; }
    .av-team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1024px) {
    .av-hero-inner { grid-template-columns: 1fr; text-align: center; }
    .av-hero-left { text-align: center; }
    .av-hero-sub { margin: 0 auto 32px; }
    .av-hero-btns { justify-content: center; }
    .av-hero-stats { justify-content: center; }
    .av-hero-right { display: none; }
    .av-horoscope-wrap { grid-template-columns: 1fr; }
    .av-horo-side { position: static; }
    .av-explore-grid { grid-template-columns: repeat(2, 1fr); }
    .av-test-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .av-wide { padding: 0 20px; }
    .av-hero { padding: 50px 0; }
    .av-hero-inner { padding: 0 20px; }
    .av-hero h1 { font-size: 42px; }
    .av-picker-inner { grid-template-columns: repeat(4, 1fr); }
    .av-pick-dates { display: none; }
    .av-horoscope-wrap { padding: 0 20px; }
    .av-offers-horiz { padding: 0 20px; }
    .av-explore-featured { grid-template-columns: 1fr; }
    .av-explore-row2 { grid-template-columns: 1fr; }
    .av-horo-head { flex-direction: column; text-align: center; }
    .av-explore-grid { grid-template-columns: 1fr; }
    .av-team-grid { grid-template-columns: 1fr; }
    .av-test-grid { grid-template-columns: 1fr; }
    .av-learn-cols { grid-template-columns: 1fr; }
    .av-section-header h2 { font-size: 30px; }
    .av-final-cta h2 { font-size: 34px; }
    .av-hero-stats { flex-wrap: wrap; gap: 20px; }
}

@media (max-width: 480px) {
    .av-hero h1 { font-size: 34px; }
    .av-picker-inner { grid-template-columns: repeat(3, 1fr); }
    .av-hero-btns { flex-direction: column; align-items: center; }
    .av-hero-stats { flex-direction: column; gap: 12px; }
}

/* ============================================
   PANEL LAYOUT (Dashboard + Admin)
   ============================================ */
.panel-wrap { display: flex; min-height: calc(100vh - 70px); }
.panel-sidebar {
    width: 260px; min-width: 260px; background: var(--surface);
    border-right: 1px solid var(--border); display: flex; flex-direction: column;
    padding: 24px 0; position: sticky; top: 70px; height: calc(100vh - 70px); overflow-y: auto;
}
.panel-main { flex: 1; padding: 32px 40px; }
.panel-sidebar-user {
    display: flex; align-items: center; gap: 12px; padding: 0 20px 20px;
    border-bottom: 1px solid var(--border); margin-bottom: 16px;
}
.panel-sidebar-avatar {
    width: 40px; height: 40px; border-radius: 50%; background: var(--gold);
    color: #1a1a1c; display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 16px; font-family: var(--font-display);
}
.panel-sidebar-name { font-weight: 600; font-size: 14px; }
.panel-sidebar-plan { font-size: 12px; color: var(--gold); }
.panel-nav { flex: 1; padding: 0 8px; }
.panel-nav-label {
    font-size: 11px; text-transform: uppercase; letter-spacing: 1px;
    color: var(--text-secondary); padding: 8px 12px 4px; font-weight: 600;
}
.panel-nav-item {
    display: flex; align-items: center; gap: 10px; padding: 10px 12px;
    border-radius: 8px; font-size: 14px; color: var(--text-secondary);
    text-decoration: none; transition: all 0.15s;
}
.panel-nav-item:hover { background: rgba(201,169,110,0.08); color: var(--text); }
.panel-nav-item.active { background: rgba(201,169,110,0.12); color: var(--gold); font-weight: 600; }
.panel-nav-icon { font-size: 16px; width: 20px; text-align: center; }
.panel-badge {
    font-size: 10px; background: var(--gold); color: #1a1a1c; padding: 1px 6px;
    border-radius: 4px; font-weight: 700; margin-left: auto;
}
.panel-nav-bottom { padding: 16px 8px 0; border-top: 1px solid var(--border); margin-top: 8px; }

/* Panel cards */
.panel-card {
    background: var(--surface); border: 1px solid var(--border);
    border-radius: 12px; padding: 24px; margin-bottom: 24px;
}
.panel-card h3 {
    font-family: var(--font-display); font-size: 18px; margin-bottom: 16px;
    padding-bottom: 10px; border-bottom: 1px solid var(--border);
}
.panel-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.panel-stat {
    background: var(--surface); border: 1px solid var(--border); border-radius: 12px;
    padding: 20px; text-align: center;
}
.panel-stat-num { font-size: 32px; font-weight: 700; font-family: var(--font-display); }
.panel-stat-label { font-size: 12px; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 0.5px; margin-top: 4px; }

/* Panel table */
.panel-table { width: 100%; font-size: 13px; border-collapse: collapse; }
.panel-table thead tr { background: rgba(201,169,110,0.06); text-align: left; }
.panel-table th { padding: 12px 12px; color: var(--text-secondary); font-weight: 600; font-size: 12px; text-transform: uppercase; letter-spacing: 0.5px; }
.panel-table td { padding: 12px 12px; border-top: 1px solid var(--border); }
.panel-table tr:hover { background: rgba(201,169,110,0.04); }

/* Horoscope tabs in panel */
.horo-tabs { display: flex; gap: 4px; margin-bottom: 20px; flex-wrap: wrap; }
.horo-tab {
    padding: 8px 16px; border-radius: 8px; font-size: 13px; font-weight: 500;
    cursor: pointer; border: 1px solid var(--border); background: transparent;
    color: var(--text-secondary); transition: all 0.15s;
}
.horo-tab:hover { border-color: var(--gold); color: var(--text); }
.horo-tab.active { background: var(--gold); color: #1a1a1c; border-color: var(--gold); }

@media (max-width: 768px) {
    .panel-wrap { flex-direction: column; }
    .panel-sidebar { width: 100%; min-width: 100%; position: static; height: auto; flex-direction: row; flex-wrap: wrap; padding: 12px; border-right: none; border-bottom: 1px solid var(--border); }
    .panel-sidebar-user { padding: 0 0 12px; width: 100%; }
    .panel-nav { display: flex; flex-wrap: wrap; gap: 4px; padding: 0; }
    .panel-nav-label { display: none; }
    .panel-nav-item { padding: 6px 10px; font-size: 13px; }
    .panel-nav-bottom { border-top: none; padding: 0; display: flex; gap: 4px; width: 100%; margin-top: 4px; }
    .panel-main { padding: 20px 16px; }
    .panel-stats { grid-template-columns: repeat(2, 1fr); }
}
