/* ====================================
   LEGACY STYLES - DEPRECATED
   This file is maintained for backward compatibility only.
   All variables are now defined in velora-unified-theme.css
   DO NOT add new styles to this file.
   ==================================== */

/* Variables moved to velora-unified-theme.css
   Keeping commented for reference during migration */
/*
:root {
    --bg-primary: #1A1D3A;
    --bg-secondary: #4B2E5D;
    --bg-card: rgba(58, 47, 71, 0.8);
    --text-primary: #F3F1EC;
    --text-secondary: #DCD2E9;
    --text-accent: #3E6C70;
    --accent-purple: #4B2E5D;
    --accent-gold: #3E6C70;
    --accent-pink: #4B2E5D;
    --border-subtle: rgba(243, 241, 236, 0.1);
    --shadow-glow: 0 0 20px rgba(75, 46, 93, 0.4);
    --gradient-cosmic: linear-gradient(135deg, #4B2E5D 0%, #3A2F47 100%);
    --gradient-aurora: linear-gradient(135deg, #4B2E5D 0%, #3E6C70 50%, #3A2F47 100%);
}
*/

/* Light theme variables moved to velora-unified-theme.css */
/*
[data-theme="light"] {
    --bg-primary: #FAF9F7;
    --bg-secondary: #E8F0EF;
    --bg-card: rgba(232, 240, 239, 0.8);
    --text-primary: #2F2A3A;
    --text-secondary: #6A5D89;
    --text-accent: #3E6C70;
    --accent-purple: #6A5D89;
    --accent-gold: #3E6C70;
    --accent-pink: #6A5D89;
    --border-subtle: rgba(47, 42, 58, 0.15);
    --shadow-glow: 0 0 20px rgba(106, 93, 137, 0.25);
    --gradient-cosmic: linear-gradient(135deg, #6A5D89 0%, #DCD2E9 100%);
    --gradient-aurora: linear-gradient(135deg, #6A5D89 0%, #3E6C70 50%, #DCD2E9 100%);
}
*/

/* Light theme specific styles */
[data-theme="light"] .stars-bg {
    background: 
        radial-gradient(1px 1px at 20px 30px, rgba(106, 93, 137, 0.3), transparent),
        radial-gradient(1px 1px at 40px 70px, rgba(106, 93, 137, 0.2), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(106, 93, 137, 0.4), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(106, 93, 137, 0.25), transparent),
        radial-gradient(1px 1px at 160px 30px, rgba(106, 93, 137, 0.3), transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
}

[data-theme="light"] .cosmic-bg {
    background: radial-gradient(ellipse at top, rgba(106, 93, 137, 0.1) 0%, transparent 50%),
                radial-gradient(ellipse at bottom, rgba(62, 108, 112, 0.08) 0%, transparent 50%);
}

/* Theme toggle button */
.theme-toggle {
    font-family: 'Source Sans 3', 'Arial', sans-serif;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 50px;
    padding: 0.5rem 1rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(20px);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.theme-toggle:hover {
    color: var(--text-primary);
    border-color: var(--accent-purple);
    box-shadow: var(--shadow-glow);
}

.theme-icon {
    width: 1.2rem;
    height: 1.2rem;
    transition: transform 0.3s ease;
}

.theme-toggle:hover .theme-icon {
    transform: rotate(15deg);
}

/* Logo link styling */
.logo a {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* Zodiac cards as links */
.zodiac-card {
    text-decoration: none;
    color: inherit;
    display: block;
}

/* Sign page specific styles */
.sign-hero {
    padding: 2rem 0 4rem;
}

.sign-intro {
    display: flex;
    align-items: center;
    gap: 3rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.sign-symbol-large {
    width: 8rem;
    height: 8rem;
    color: var(--text-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.sign-symbol-large .zodiac-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.2));
}

.sign-details {
    flex: 1;
}

.sign-title {
    font-family: 'Cormorant Garamond', 'Times New Roman', serif;
    font-size: 3.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    background: var(--gradient-cosmic);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sign-dates {
    font-size: 1.125rem;
    color: var(--text-accent);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.sign-element {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 500;
}

.sign-description {
    font-size: 1.125rem;
    line-height: 1.6;
    color: var(--text-primary);
}

.horoscope-content-section {
    margin-bottom: 4rem;
}

.horoscope-tabs-nav {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.horoscope-tabs-nav .tab-btn {
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.horoscope-tabs-nav .tab-btn:hover,
.horoscope-tabs-nav .tab-btn.active {
    background: var(--accent-purple);
    border-color: var(--accent-purple);
    color: var(--text-primary);
    box-shadow: 0 0 15px rgba(75, 46, 93, 0.5);
}

.other-signs {
    margin-top: 4rem;
    text-align: center;
}

.other-signs h3 {
    font-family: 'Cormorant Garamond', 'Times New Roman', serif;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.signs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 1rem;
    max-width: 800px;
    margin: 0 auto;
}

.sign-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: var(--text-secondary);
    padding: 1rem;
    border-radius: 15px;
    transition: all 0.3s ease;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(20px);
}

.sign-link:hover {
    color: var(--text-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
    border-color: var(--accent-purple);
}

.sign-icon {
    width: 2.5rem;
    height: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-accent);
}

.sign-icon .zodiac-svg {
    width: 100%;
    height: 100%;
}

.sign-link span {
    font-size: 0.875rem;
    font-weight: 500;
}

/* Barba.js transitions */
[data-barba="container"] {
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}

.barba-leave-active [data-barba="container"] {
    opacity: 0;
}

.barba-enter [data-barba="container"] {
    opacity: 0;
}

.barba-enter-active [data-barba="container"] {
    opacity: 1;
}

/* Mobile responsive adjustments for sign pages */
/* Birth Chart and Compatibility Styles */
.birth-chart-form-section,
.compatibility-form-section {
    padding: 4rem 0;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.birth-chart-form,
.compatibility-form {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(20px);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-row:has(2 .form-group) {
    grid-template-columns: 1fr 1fr;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-group input,
.form-group select {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 1rem;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--accent-purple);
    box-shadow: 0 0 0 3px rgba(75, 46, 93, 0.2);
}

.generate-chart-btn,
.calculate-compatibility-btn {
    width: 100%;
    background: var(--gradient-cosmic);
    border: none;
    border-radius: 12px;
    padding: 1rem 2rem;
    color: var(--text-primary);
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-top: 1rem;
}

.generate-chart-btn:hover,
.calculate-compatibility-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-loader {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top: 2px solid var(--text-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.location-helper {
    text-align: center;
    margin-top: 1rem;
    color: var(--text-secondary);
}

.link-btn {
    background: none;
    border: none;
    color: var(--text-accent);
    cursor: pointer;
    text-decoration: underline;
    font-size: inherit;
}

.link-btn:hover {
    color: var(--text-primary);
}

/* Birth Chart Results */
.birth-chart-results,
.compatibility-results {
    padding: 4rem 0;
}

.results-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.chart-header,
.compatibility-header {
    text-align: center;
    margin-bottom: 3rem;
}

.chart-header h2 {
    font-family: 'Cormorant Garamond', 'Times New Roman', serif;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.chart-details {
    color: var(--text-secondary);
    font-size: 1.125rem;
}

.chart-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.chart-visualization {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.chart-wheel {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(20px);
}

.chart-legend {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(20px);
    width: 100%;
}

.chart-legend h4 {
    margin-bottom: 1rem;
    color: var(--text-accent);
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.planet-position {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.planet-symbol {
    font-size: 1.25rem;
    width: 1.5rem;
    text-align: center;
}

.planet-name {
    font-weight: 500;
    min-width: 4rem;
}

.planet-sign {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.chart-interpretation {
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(20px);
    overflow: hidden;
}

.interpretation-tabs,
.analysis-tabs {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid var(--border-subtle);
}

.interp-tab,
.analysis-tab {
    flex: 1;
    background: none;
    border: none;
    padding: 1rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.interp-tab:hover,
.analysis-tab:hover,
.interp-tab.active,
.analysis-tab.active {
    color: var(--text-primary);
    background: var(--accent-purple);
}

.interpretation-content,
.analysis-content {
    padding: 2rem;
}

.interp-section,
.analysis-section {
    display: none;
}

.interp-section.active,
.analysis-section.active {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}

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

.big-three-item {
    text-align: center;
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid var(--border-subtle);
}

.sign-symbol-mini {
    width: 3rem;
    height: 3rem;
    margin: 0 auto 1rem;
    color: var(--text-accent);
}

.sign-symbol-mini .zodiac-svg {
    width: 100%;
    height: 100%;
}

.big-three-item h4 {
    color: var(--text-accent);
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.big-three-item p {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
}

.personality-traits {
    display: grid;
    gap: 2rem;
}

.trait-category h4 {
    color: var(--text-accent);
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.trait-category ul {
    list-style: none;
    padding: 0;
}

.trait-category li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

.trait-category li:last-child {
    border-bottom: none;
}

.planet-interpretation,
.aspect-interpretation {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid var(--border-subtle);
    margin-bottom: 1.5rem;
}

.planet-interpretation h4,
.aspect-interpretation h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.planet-meaning {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 1rem;
    font-style: italic;
}

.planet-interpretation-text {
    color: var(--text-primary);
    line-height: 1.6;
}

/* Compatibility Specific Styles */
.compatibility-type-selector {
    text-align: center;
    margin-bottom: 3rem;
}

.compatibility-type-selector h2 {
    font-family: 'Cormorant Garamond', 'Times New Roman', serif;
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.type-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.type-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 15px;
    padding: 1.5rem 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    min-width: 120px;
}

.type-btn:hover,
.type-btn.active {
    background: rgba(75, 46, 93, 0.3);
    border-color: var(--accent-purple);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.type-icon {
    font-size: 2rem;
}

.type-btn span:last-child {
    color: var(--text-primary);
    font-weight: 500;
}

.person-inputs {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: start;
    margin-bottom: 2rem;
}

.person-input {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--border-subtle);
}

.person-input h3 {
    color: var(--text-accent);
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.125rem;
}

.vs-divider {
    display: flex;
    align-items: center;
    justify-content: center;
}

.vs-circle {
    width: 60px;
    height: 60px;
    background: var(--gradient-cosmic);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.125rem;
    border: 2px solid var(--border-subtle);
}

.advanced-toggle {
    text-align: center;
    margin: 1rem 0;
}

.toggle-btn {
    background: none;
    border: none;
    color: var(--text-accent);
    cursor: pointer;
    font-size: 0.875rem;
    text-decoration: underline;
}

.toggle-btn:hover {
    color: var(--text-primary);
    text-decoration: none;
}

.advanced-inputs {
    margin-top: 1rem;
}

/* Compatibility Results */
.couple-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.person-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.person-sign {
    width: 4rem;
    height: 4rem;
    color: var(--text-accent);
}

.person-sign .zodiac-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.3));
}

.person-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
}

.compatibility-heart {
    font-size: 3rem;
    animation: pulse 2s ease-in-out infinite;
}

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

.compatibility-score {
    margin-bottom: 3rem;
}

.score-circle {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: var(--gradient-cosmic);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    border: 3px solid var(--border-subtle);
}

.score-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.score-number.excellent { color: #4ade80; }
.score-number.good { color: #60a5fa; }
.score-number.moderate { color: #fbbf24; }
.score-number.challenging { color: #f87171; }

.score-label {
    font-size: 0.875rem;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.compatibility-analysis {
    background: var(--bg-card);
    border-radius: 20px;
    border: 1px solid var(--border-subtle);
    backdrop-filter: blur(20px);
    margin-bottom: 3rem;
    overflow: hidden;
}

.compatibility-overview {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--border-subtle);
    margin-bottom: 2rem;
}

.element-match,
.modality-match {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-top: 1rem;
}

.element-info,
.modality-info {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
}

.element-label,
.modality-label {
    color: var(--text-secondary);
    font-weight: 500;
}

.element-value,
.modality-value {
    color: var(--text-accent);
    font-weight: 600;
}

.strengths-list,
.challenges-list {
    list-style: none;
    padding: 0;
}

.strength-item,
.challenge-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    border: 1px solid var(--border-subtle);
}

.advice-sections {
    display: grid;
    gap: 2rem;
}

.advice-section {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--border-subtle);
}

.advice-section h4 {
    color: var(--text-accent);
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

/* Action Buttons */
.chart-actions,
.compatibility-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.action-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
    padding: 0.75rem 1.5rem;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(20px);
    font-weight: 500;
}

.action-btn:hover {
    background: var(--accent-purple);
    border-color: var(--accent-purple);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.action-btn.secondary {
    background: transparent;
    color: var(--text-secondary);
}

.action-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
}

/* Features Showcase */
.features-showcase {
    margin-top: 6rem;
    text-align: center;
}

.features-showcase h3 {
    font-family: 'Cormorant Garamond', 'Times New Roman', serif;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 3rem 2rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s;
}

.feature-card:hover::before {
    left: 100%;
}

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

.feature-card.coming-soon {
    opacity: 0.7;
    cursor: default;
}

.feature-card.coming-soon:hover {
    transform: none;
    box-shadow: none;
    border-color: var(--border-subtle);
}

.feature-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
}

.feature-card h4 {
    font-family: 'Cormorant Garamond', 'Times New Roman', serif;
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.feature-cta {
    color: var(--text-accent);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.875rem;
}

.feature-card:hover .feature-cta {
    color: var(--text-primary);
}

@media (max-width: 768px) {
    .sign-intro {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }
    
    .sign-symbol-large {
        width: 6rem;
        height: 6rem;
    }
    
    .sign-title {
        font-size: 2.5rem;
    }
    
    .horoscope-tabs-nav {
        flex-wrap: wrap;
    }
    
    .signs-grid {
        grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    }
    
    /* Birth Chart & Compatibility Mobile */
    .form-row:has(2 .form-group) {
        grid-template-columns: 1fr;
    }
    
    .chart-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .big-three {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .person-inputs {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .vs-divider {
        order: 2;
    }
    
    .person-input:last-child {
        order: 3;
    }
    
    .couple-display {
        flex-direction: column;
        gap: 1rem;
    }
    
    .compatibility-heart {
        order: 2;
        font-size: 2rem;
    }
    
    .element-match,
    .modality-match {
        grid-template-columns: 1fr;
    }
    
    .chart-actions,
    .compatibility-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .action-btn {
        width: 100%;
        max-width: 300px;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Crimson Text', 'Times New Roman', serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    position: relative;
    font-size: 16px;
    font-weight: 400;
}

/* Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', 'Times New Roman', serif;
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

h1 {
    font-size: clamp(2.5rem, 4vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(2rem, 3vw, 3rem);
    font-weight: 600;
    margin-bottom: 1.25rem;
}

h3 {
    font-size: clamp(1.5rem, 2.5vw, 2.25rem);
    font-weight: 500;
    margin-bottom: 1rem;
}

h4 {
    font-size: clamp(1.25rem, 2vw, 1.75rem);
    font-weight: 500;
    margin-bottom: 0.875rem;
}

h5 {
    font-size: clamp(1.125rem, 1.5vw, 1.375rem);
    font-weight: 500;
    margin-bottom: 0.75rem;
}

h6 {
    font-size: clamp(1rem, 1.25vw, 1.125rem);
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Body text variations */
p {
    margin-bottom: 1.25rem;
    font-size: 1.125rem;
    line-height: 1.8;
}

.lead {
    font-size: 1.25rem;
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-secondary);
    font-style: italic;
}

.small-text {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.large-text {
    font-size: 1.375rem;
    line-height: 1.6;
}

/* Interactive text elements */
a {
    color: var(--accent-gold);
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

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

/* Lists */
ul, ol {
    margin-bottom: 1.25rem;
    padding-left: 1.5rem;
}

li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

/* Emphasis and strong text */
em {
    font-style: italic;
    color: var(--text-secondary);
}

strong {
    font-weight: 600;
    color: var(--text-primary);
}

/* Quotes and citations */
blockquote {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    font-style: italic;
    line-height: 1.6;
    margin: 2rem 0;
    padding: 1.5rem 2rem;
    border-left: 3px solid var(--accent-gold);
    background: rgba(255, 255, 255, 0.02);
    border-radius: 0 8px 8px 0;
}

cite {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-style: normal;
}

/* Form elements typography */
label {
    font-family: 'Source Sans 3', 'Arial', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    display: block;
    letter-spacing: 0.025em;
}

input, textarea, select {
    font-family: 'Source Sans 3', 'Arial', sans-serif;
    font-size: 1rem;
    line-height: 1.5;
}

button {
    font-family: 'Source Sans 3', 'Arial', sans-serif;
    font-weight: 500;
    letter-spacing: 0.025em;
}

/* Code and technical text */
code, kbd, samp {
    font-family: 'SF Mono', 'Monaco', 'Consolas', 'Courier New', monospace;
    font-size: 0.9em;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.2em 0.4em;
    border-radius: 4px;
}

/* Responsive typography adjustments */
@media (max-width: 768px) {
    body {
        font-size: 15px;
    }
    
    p {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    .lead {
        font-size: 1.125rem;
    }
    
    blockquote {
        font-size: 1.125rem;
        margin: 1.5rem 0;
        padding: 1rem 1.5rem;
    }
}

.stars-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(2px 2px at 20px 30px, var(--text-primary), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(243, 241, 236, 0.8), transparent),
        radial-gradient(1px 1px at 90px 40px, var(--text-primary), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(243, 241, 236, 0.6), transparent),
        radial-gradient(2px 2px at 160px 30px, var(--text-primary), transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: twinkle 4s ease-in-out infinite alternate;
    z-index: -2;
}

.cosmic-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at top, rgba(75, 46, 93, 0.15) 0%, transparent 50%),
                radial-gradient(ellipse at bottom, rgba(62, 108, 112, 0.1) 0%, transparent 50%);
    z-index: -1;
}

@keyframes twinkle {
    0% { opacity: 0.3; }
    100% { opacity: 1; }
}

.header {
    padding: 2rem 0;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-family: 'Cormorant Garamond', 'Times New Roman', serif;
    font-size: 2.5rem;
    font-weight: 600;
    background: var(--gradient-cosmic);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.tagline {
    font-family: 'Source Sans 3', 'Arial', sans-serif;
    font-size: 0.875rem;
    color: var(--text-accent);
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-family: 'Source Sans 3', 'Arial', sans-serif;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
    background: rgba(75, 46, 93, 0.2);
    box-shadow: var(--shadow-glow);
}

.main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.hero {
    text-align: center;
    padding: 140px 0 80px;
    margin-top: 0;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-title {
    font-family: 'Cormorant Garamond', 'Times New Roman', serif;
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
    line-height: 1.2;
    /* Improve readability on colorful backgrounds */
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: var(--text-primary);
    opacity: 0.95;
    margin-bottom: 2rem;
    font-weight: 300;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

.date-display {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 50px;
    backdrop-filter: blur(20px);
    font-weight: 500;
    color: var(--text-accent);
}

.zodiac-selector {
    margin-bottom: 4rem;
}

.zodiac-selector h3 {
    text-align: center;
    font-family: 'Cormorant Garamond', 'Times New Roman', serif;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--text-primary);
}

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

.zodiac-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.zodiac-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transition: left 0.5s;
}

.zodiac-card:hover::before {
    left: 100%;
}

.zodiac-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
    border-color: var(--accent-purple);
}

.zodiac-card.selected {
    background: rgba(75, 46, 93, 0.2);
    border-color: var(--accent-purple);
    box-shadow: var(--shadow-glow);
}

.zodiac-symbol {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1rem auto;
    color: var(--text-accent);
    display: flex;
    align-items: center;
    justify-content: center;
}

.zodiac-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.zodiac-card:hover .zodiac-svg {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
    transform: scale(1.05);
    transition: all 0.3s ease;
}

.zodiac-card.selected .zodiac-svg {
    color: var(--accent-purple);
    filter: drop-shadow(0 4px 12px var(--shadow-glow));
}

.zodiac-name {
    display: block;
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.zodiac-dates {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.horoscope-display {
    margin-bottom: 4rem;
    animation: fadeIn 0.5s ease-in-out;
}

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

.horoscope-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    padding: 2.5rem;
    backdrop-filter: blur(20px);
}

.horoscope-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.selected-sign {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sign-symbol {
    width: 3rem;
    height: 3rem;
    color: var(--text-accent);
    display: flex;
    align-items: center;
    justify-content: center;
}

.sign-symbol .zodiac-svg {
    width: 100%;
    height: 100%;
    color: var(--accent-purple);
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.15));
}

.sign-info h3 {
    font-family: 'Cormorant Garamond', 'Times New Roman', serif;
    font-size: 1.5rem;
    color: var(--text-primary);
}

.sign-info span {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.horoscope-tabs {
    display: flex;
    gap: 0.5rem;
}

.tab-btn {
    padding: 0.75rem 1.5rem;
    background: transparent;
    border: 1px solid var(--border-subtle);
    border-radius: 20px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.tab-btn:hover,
.tab-btn.active {
    background: var(--accent-purple);
    border-color: var(--accent-purple);
    color: var(--text-primary);
    box-shadow: 0 0 15px rgba(75, 46, 93, 0.5);
}

.horoscope-content {
    position: relative;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease-in-out;
}

.cosmic-rating {
    display: flex;
    justify-content: space-around;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    border: 1px solid var(--border-subtle);
}

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

.rating-label {
    display: block;
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stars {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
}

.star {
    color: var(--accent-gold);
    font-size: 1.25rem;
}

.star.empty {
    color: rgba(251, 191, 36, 0.3);
}

.horoscope-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--border-subtle);
}

.footer {
    text-align: center;
    padding: 3rem 0;
    color: var(--text-secondary);
    border-top: 1px solid var(--border-subtle);
    margin-top: 4rem;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .zodiac-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }
    
    .zodiac-card {
        padding: 1.5rem;
    }
    
    .horoscope-header {
        flex-direction: column;
        text-align: center;
    }
    
    .cosmic-rating {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-links {
        gap: 1rem;
    }
}

/* Location Service Styles */
.city-input-container {
    position: relative;
}

.city-input-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    pointer-events: none;
    opacity: 0.7;
}

.location-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1rem 0;
    justify-content: center;
}

.detect-btn, .manual-btn {
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.detect-btn:hover, .manual-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(75, 46, 93, 0.3);
}

.detect-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.manual-btn {
    background: transparent;
    border: 2px solid var(--accent-purple);
    color: var(--accent-purple);
}

.manual-btn:hover {
    background: var(--accent-purple);
    color: white;
}

.or-divider {
    color: var(--text-secondary);
    font-weight: 300;
    padding: 0 0.5rem;
}

.manual-coordinates {
    margin-top: 1rem;
}

.city-suggestions {
    background: var(--bg-secondary);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    max-height: 300px;
    overflow-y: auto;
}

.city-suggestion-item {
    padding: 12px 16px;
    cursor: pointer;
    border-bottom: 1px solid var(--border-subtle);
    transition: background-color 0.2s ease;
}

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

.city-suggestion-item:hover,
.city-suggestion-item.highlighted {
    background: rgba(75, 46, 93, 0.2);
}

.suggestion-main {
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.suggestion-coords {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-family: 'Courier New', monospace;
}

.location-message {
    padding: 0.75rem 1rem;
    border-radius: 6px;
    margin: 1rem 0;
    font-size: 0.9rem;
}

.location-message.success {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.location-message.error {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.location-helper {
    position: relative;
}

@media (max-width: 768px) {
    .location-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .detect-btn, .manual-btn {
        width: 100%;
        justify-content: center;
    }
    
    .or-divider {
        display: none;
    }
}

/* MIGRATION GUIDE:
   - Replace var(--bg-card) with var(--velora-bg-card)
   - Replace var(--accent-gold) with var(--velora-accent-gold)
   - Replace var(--accent-purple) with var(--velora-accent-primary)
   - Replace var(--border-subtle) with var(--velora-border-secondary)
   - All legacy variables are mapped in velora-unified-theme.css */
