/* ============================================
   KundliBanao - Premium Mystical Theme
   ============================================ */

:root {
    --primary: #8b5cf6;
    --primary-light: #a78bfa;
    --primary-dark: #7c3aed;
    --secondary: #f59e0b;
    --secondary-light: #fbbf24;
    --accent: #ec4899;
    --accent-light: #f472b6;
    --bg-dark: #0f0f1a;
    --bg-card: #1a1a2e;
    --bg-card-hover: #1f1f35;
    --bg-input: #16162a;
    --text: #e2e8f0;
    --text-muted: #94a3b8;
    --text-dim: #64748b;
    --border: #2d2d4a;
    --success: #10b981;
    --danger: #ef4444;
    --gold: #ffd700;
    --gradient-1: linear-gradient(135deg, #8b5cf6, #ec4899);
    --gradient-2: linear-gradient(135deg, #f59e0b, #ef4444);
    --gradient-3: linear-gradient(135deg, #06b6d4, #8b5cf6);
    --gradient-4: linear-gradient(135deg, #10b981, #06b6d4);
    --shadow: 0 4px 30px rgba(139, 92, 246, 0.15);
    --shadow-lg: 0 10px 50px rgba(139, 92, 246, 0.25);
    --radius: 16px;
    --radius-sm: 10px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', 'Noto Sans Devanagari', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text);
    overflow-x: hidden;
    line-height: 1.6;
}

/* ---- Stars Background ---- */
.stars-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

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

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

/* ---- Navigation ---- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.3s ease;
    background: transparent;
}

.navbar.scrolled {
    background: rgba(15, 15, 26, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 10px 0;
}

.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--text);
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    font-weight: 700;
    white-space: nowrap;
}

.logo i {
    font-size: 1.5rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-link {
    text-decoration: none;
    color: var(--text-muted);
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 500;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
    color: var(--text);
    background: rgba(139, 92, 246, 0.15);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ---- Hero Section ---- */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px 60px;
    position: relative;
    z-index: 1;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-badge {
    display: inline-block;
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.3);
    padding: 6px 18px;
    border-radius: 50px;
    font-size: 0.85rem;
    color: var(--primary-light);
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.hero-title {
    font-family: 'Cinzel', serif;
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 10px;
}

.gradient-text {
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--secondary);
    font-weight: 600;
    margin-bottom: 15px;
    font-family: 'Cinzel', serif;
}

.hero-description {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 30px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.hero-stats {
    display: flex;
    gap: 40px;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-light);
    font-family: 'Cinzel', serif;
}

.stat-label {
    display: block;
    font-size: 0.8rem;
    color: var(--text-dim);
    margin-top: 2px;
}

.hero-visual {
    flex: 0 0 350px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ---- Zodiac Wheel ---- */
.zodiac-wheel {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 2px solid rgba(139, 92, 246, 0.3);
    position: relative;
    animation: rotateWheel 60s linear infinite;
}

.zodiac-wheel::before {
    content: '';
    position: absolute;
    inset: 15px;
    border-radius: 50%;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.zodiac-wheel::after {
    content: '';
    position: absolute;
    inset: 30px;
    border-radius: 50%;
    border: 1px solid rgba(236, 72, 153, 0.2);
}

.wheel-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: var(--gradient-2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    animation: rotateWheel 60s linear infinite reverse;
    box-shadow: 0 0 30px rgba(245, 158, 11, 0.4);
}

.zodiac-symbol {
    position: absolute;
    width: 36px;
    height: 36px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    animation: rotateWheel 60s linear infinite reverse;
}

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

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.btn-primary {
    background: var(--gradient-1);
    color: white;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(139, 92, 246, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    background: rgba(139, 92, 246, 0.1);
    border-color: var(--primary);
}

.btn-full {
    width: 100%;
    justify-content: center;
    padding: 16px;
    font-size: 1.1rem;
    margin-top: 10px;
}

/* ---- Sections ---- */
.section {
    padding: 80px 20px;
    position: relative;
    z-index: 1;
}

.section-alt {
    background: rgba(26, 26, 46, 0.5);
}

.container {
    max-width: 1100px;
    margin: 0 auto;
}

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

.section-title {
    font-family: 'Cinzel', serif;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-title i {
    margin-right: 10px;
}

.section-desc {
    color: var(--text-muted);
    font-size: 1rem;
}

/* ---- Input Cards ---- */
.input-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}

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

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

.form-group label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
}

.form-group label i {
    margin-right: 6px;
    color: var(--primary-light);
}

.form-group input {
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    color: var(--text);
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    outline: none;
}

.form-group input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.15);
}

.form-group input::placeholder {
    color: var(--text-dim);
}

/* ---- Results ---- */
.results-container {
    animation: fadeInUp 0.6s ease;
}

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

.results-heading {
    font-family: 'Cinzel', serif;
    font-size: 1.4rem;
    margin: 40px 0 20px;
    color: var(--secondary);
}

.results-heading i {
    margin-right: 8px;
}

/* ---- Number Cards Grid ---- */
.numbers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 16px;
}

.number-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.number-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-1);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.number-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: var(--shadow-lg);
}

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

.number-card .number {
    font-size: 2.5rem;
    font-weight: 900;
    font-family: 'Cinzel', serif;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.number-card .number-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}

.number-card .number-brief {
    font-size: 0.75rem;
    color: var(--text-dim);
    margin-top: 6px;
    line-height: 1.4;
}

.number-card.master {
    border-color: var(--gold);
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.05), rgba(245, 158, 11, 0.05));
}

.number-card.master .number {
    background: var(--gradient-2);
    -webkit-background-clip: text;
    background-clip: text;
}

.number-card.master::before {
    background: var(--gradient-2);
    opacity: 1;
}

/* ---- Reading Card / Tabs ---- */
.reading-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    margin: 20px 0;
    box-shadow: var(--shadow);
}

.reading-tabs {
    display: flex;
    overflow-x: auto;
    background: var(--bg-input);
    border-bottom: 1px solid var(--border);
    scrollbar-width: thin;
    scrollbar-color: var(--primary) transparent;
}

.reading-tabs::-webkit-scrollbar {
    height: 4px;
}

.reading-tabs::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 2px;
}

.tab-btn {
    padding: 12px 20px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
    border-bottom: 2px solid transparent;
}

.tab-btn:hover {
    color: var(--text);
    background: rgba(139, 92, 246, 0.05);
}

.tab-btn.active {
    color: var(--primary-light);
    border-bottom-color: var(--primary);
    background: rgba(139, 92, 246, 0.1);
}

.tab-content {
    padding: 30px;
    min-height: 200px;
}

.tab-content h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    color: var(--primary-light);
    margin-bottom: 15px;
}

.tab-content h4 {
    color: var(--secondary);
    margin: 20px 0 10px;
    font-size: 1rem;
}

.tab-content p {
    color: var(--text-muted);
    margin-bottom: 12px;
    line-height: 1.8;
}

.tab-content ul {
    list-style: none;
    padding: 0;
}

.tab-content ul li {
    padding: 6px 0;
    color: var(--text-muted);
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.tab-content ul li::before {
    content: '\f005';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    color: var(--secondary);
    font-size: 0.7rem;
    margin-top: 5px;
    flex-shrink: 0;
}

.reading-highlight {
    background: rgba(139, 92, 246, 0.1);
    border-left: 3px solid var(--primary);
    padding: 15px 20px;
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    margin: 15px 0;
}

.reading-highlight p {
    color: var(--text);
    font-style: italic;
}

/* ---- Lucky Section ---- */
.lucky-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 20px;
}

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

.lucky-card h4 {
    font-family: 'Cinzel', serif;
    color: var(--secondary);
    margin-bottom: 15px;
    font-size: 1rem;
}

.lucky-items {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.lucky-item {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

.lucky-number {
    background: rgba(139, 92, 246, 0.15);
    color: var(--primary-light);
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.lucky-color {
    color: white;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.lucky-day {
    background: rgba(245, 158, 11, 0.15);
    color: var(--secondary-light);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.lucky-gem {
    background: rgba(236, 72, 153, 0.15);
    color: var(--accent-light);
    border: 1px solid rgba(236, 72, 153, 0.3);
}

/* ---- Lo Shu Grid ---- */
.loshu-container {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px;
    margin: 20px 0;
}

.loshu-grid-wrapper {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.loshu-grid {
    display: grid;
    grid-template-columns: repeat(3, 80px);
    grid-template-rows: repeat(3, 80px);
    gap: 6px;
    position: relative;
}

.loshu-cell {
    width: 80px;
    height: 80px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--bg-input);
    border: 2px solid var(--border);
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
}

.loshu-cell.present {
    border-color: var(--primary);
    background: rgba(139, 92, 246, 0.1);
}

.loshu-cell.repeated {
    border-color: var(--gold);
    background: rgba(255, 215, 0, 0.1);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.2);
}

.loshu-cell.missing {
    border-color: rgba(239, 68, 68, 0.3);
    background: rgba(239, 68, 68, 0.05);
    opacity: 0.5;
}

.loshu-num {
    font-size: 1.8rem;
    font-weight: 900;
    font-family: 'Cinzel', serif;
}

.loshu-cell.present .loshu-num { color: var(--primary-light); }
.loshu-cell.repeated .loshu-num { color: var(--gold); }
.loshu-cell.missing .loshu-num { color: var(--text-dim); }

.loshu-count {
    font-size: 0.65rem;
    color: var(--text-dim);
    margin-top: 2px;
}

.loshu-cell.repeated .loshu-count {
    color: var(--gold);
    font-weight: 600;
}

.loshu-badge {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 0.6rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.loshu-cell.repeated .loshu-badge {
    background: var(--gold);
    color: var(--bg-dark);
}

.loshu-cell.missing .loshu-badge {
    background: var(--danger);
}

.loshu-info {
    flex: 1;
    min-width: 280px;
    max-width: 450px;
}

.loshu-planes {
    margin-bottom: 20px;
}

.loshu-plane-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    background: var(--bg-input);
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
    border-left: 3px solid var(--success);
}

.loshu-plane-item.diag {
    border-left-color: var(--gold);
    background: rgba(255, 215, 0, 0.05);
}

.loshu-plane-name {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text);
    white-space: nowrap;
}

.loshu-plane-meaning {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.5;
}

.loshu-missing-item {
    padding: 12px 14px;
    background: var(--bg-input);
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
    border-left: 3px solid var(--danger);
}

.loshu-missing-num {
    font-weight: 700;
    color: var(--danger);
    font-size: 0.9rem;
}

.loshu-missing-meaning {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.loshu-missing-remedy {
    font-size: 0.78rem;
    color: var(--success);
    margin-top: 4px;
    font-style: italic;
}

.loshu-repeated-item {
    padding: 10px 14px;
    background: rgba(255, 215, 0, 0.05);
    border-radius: var(--radius-sm);
    margin-bottom: 8px;
    border-left: 3px solid var(--gold);
}

.loshu-section-title {
    font-family: 'Cinzel', serif;
    font-size: 1rem;
    color: var(--secondary);
    margin: 20px 0 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

@media (max-width: 768px) {
    .loshu-grid {
        grid-template-columns: repeat(3, 65px);
        grid-template-rows: repeat(3, 65px);
    }
    .loshu-cell {
        width: 65px;
        height: 65px;
    }
    .loshu-num {
        font-size: 1.4rem;
    }
    .loshu-grid-wrapper {
        gap: 20px;
    }
}

/* ---- Floating Chat Button ---- */
.floating-chat-btn {
    position: fixed;
    bottom: 25px;
    right: 25px;
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: var(--gradient-1);
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 999;
    box-shadow: 0 6px 30px rgba(139, 92, 246, 0.5);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.floating-chat-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 40px rgba(139, 92, 246, 0.6);
}

.floating-chat-btn .badge {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 20px;
    height: 20px;
    background: var(--accent);
    border-radius: 50%;
    font-size: 0.65rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}

.floating-chat-btn.pulse-ring::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid var(--primary-light);
    animation: pulseRing 2s ease-out infinite;
}

@keyframes pulseRing {
    0% { transform: scale(1); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* ---- Share Buttons ---- */
.share-bar {
    display: flex;
    gap: 10px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 500;
    border: none;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    color: white;
}

.share-btn:hover { transform: translateY(-2px); }
.share-btn.whatsapp { background: #25D366; }
.share-btn.twitter { background: #1DA1F2; }
.share-btn.copy-link { background: var(--primary); }
.share-btn.download { background: var(--secondary); }

/* ---- Daily Horoscope Bar ---- */
.daily-horoscope-bar {
    background: linear-gradient(135deg, rgba(139,92,246,0.1), rgba(245,158,11,0.1));
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 25px;
    margin-bottom: 30px;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.daily-zodiac-select {
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 8px 12px;
    color: var(--text);
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    outline: none;
}

.daily-zodiac-select:focus {
    border-color: var(--primary);
}

.daily-prediction-text {
    flex: 1;
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    min-width: 200px;
}

/* ---- Kundli Matching ---- */
.kundli-score-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
    text-align: center;
    margin-bottom: 25px;
    position: relative;
    overflow: hidden;
}

.kundli-score-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
}

.kundli-score-card.excellent::before { background: linear-gradient(90deg, #10b981, #34d399); }
.kundli-score-card.good::before { background: linear-gradient(90deg, #3b82f6, #06b6d4); }
.kundli-score-card.average::before { background: linear-gradient(90deg, #f59e0b, #fbbf24); }
.kundli-score-card.poor::before { background: linear-gradient(90deg, #ef4444, #f87171); }

.kundli-score-circle {
    width: 160px;
    height: 160px;
    border-radius: 50%;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
}

.kundli-score-circle.excellent { background: rgba(16,185,129,0.1); border: 4px solid #10b981; }
.kundli-score-circle.good { background: rgba(59,130,246,0.1); border: 4px solid #3b82f6; }
.kundli-score-circle.average { background: rgba(245,158,11,0.1); border: 4px solid #f59e0b; }
.kundli-score-circle.poor { background: rgba(239,68,68,0.1); border: 4px solid #ef4444; }

.kundli-score-num {
    font-size: 2.8rem;
    font-weight: 900;
    font-family: 'Cinzel', serif;
}

.kundli-score-circle.excellent .kundli-score-num { color: #10b981; }
.kundli-score-circle.good .kundli-score-num { color: #3b82f6; }
.kundli-score-circle.average .kundli-score-num { color: #f59e0b; }
.kundli-score-circle.poor .kundli-score-num { color: #ef4444; }

.kundli-score-label {
    font-size: 0.75rem;
    color: var(--text-dim);
}

.kundli-verdict {
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.kundli-verdict-detail {
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.8;
    font-size: 0.9rem;
}

.kundli-profiles {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.kundli-profile {
    text-align: center;
}

.kundli-profile-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    margin-bottom: 8px;
}

.kundli-profile-icon.groom { background: linear-gradient(135deg, #4fc3f7, #0288d1); }
.kundli-profile-icon.bride { background: linear-gradient(135deg, #f48fb1, #e91e63); }

.kundli-profile-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text);
}

.kundli-profile-detail {
    font-size: 0.78rem;
    color: var(--text-dim);
    margin-top: 2px;
}

/* Koota Cards */
.kundli-kootas {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.koota-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    display: grid;
    grid-template-columns: 200px 1fr 80px;
    gap: 15px;
    align-items: center;
    transition: all 0.3s ease;
}

.koota-card:hover {
    border-color: var(--primary);
    transform: translateX(4px);
}

.koota-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text);
}

.koota-values {
    font-size: 0.78rem;
    color: var(--text-dim);
    margin-top: 3px;
}

.koota-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.koota-score {
    text-align: center;
}

.koota-points {
    font-size: 1.5rem;
    font-weight: 900;
    font-family: 'Cinzel', serif;
}

.koota-max {
    font-size: 0.7rem;
    color: var(--text-dim);
}

.koota-points.full { color: #10b981; }
.koota-points.partial { color: #f59e0b; }
.koota-points.zero { color: #ef4444; }

.koota-bar {
    height: 4px;
    background: var(--bg-input);
    border-radius: 2px;
    margin-top: 8px;
    overflow: hidden;
}

.koota-bar-fill {
    height: 100%;
    border-radius: 2px;
    transition: width 0.8s ease;
}

.koota-bar-fill.full { background: #10b981; }
.koota-bar-fill.partial { background: #f59e0b; }
.koota-bar-fill.zero { background: #ef4444; }

/* Dosha Cards */
.kundli-dosha {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

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

.dosha-card.has-dosha {
    border-color: rgba(239, 68, 68, 0.3);
    background: rgba(239, 68, 68, 0.03);
}

.dosha-card.no-dosha {
    border-color: rgba(16, 185, 129, 0.3);
    background: rgba(16, 185, 129, 0.03);
}

.dosha-status {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.dosha-card.has-dosha .dosha-status { background: rgba(239,68,68,0.15); color: #ef4444; }
.dosha-card.no-dosha .dosha-status { background: rgba(16,185,129,0.15); color: #10b981; }

.dosha-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* AI Analysis */
.kundli-ai-analysis .reading-card {
    border-color: rgba(139, 92, 246, 0.3);
}

.kundli-ai-analysis .reading-card p {
    color: var(--text-muted);
    line-height: 1.8;
    white-space: pre-line;
}

/* Kundli Remedies */
.kundli-remedies {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 25px;
}

.remedy-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(45, 45, 74, 0.5);
}

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

.remedy-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(245, 158, 11, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: var(--secondary);
    font-size: 0.8rem;
}

/* ---- Guru Mode Selector ---- */
.guru-mode-selector {
    margin-bottom: 20px;
}

.guru-mode-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.guru-mode-card {
    background: var(--bg-card);
    border: 2px solid var(--border);
    border-radius: var(--radius);
    padding: 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.guru-mode-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.guru-mode-card:first-child:hover {
    border-color: var(--primary);
}

.guru-mode-card:last-child:hover {
    border-color: var(--secondary);
}

.guru-mode-card.selected {
    border-width: 2px;
}

.guru-mode-card:first-child.selected {
    border-color: var(--primary);
    background: rgba(139, 92, 246, 0.05);
}

.guru-mode-card:last-child.selected {
    border-color: var(--secondary);
    background: rgba(245, 158, 11, 0.05);
}

.guru-mode-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
    margin-bottom: 15px;
}

.guru-mode-card h4 {
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--text);
}

.guru-mode-card > p {
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 12px;
}

.guru-mode-card ul {
    list-style: none;
    padding: 0;
    text-align: left;
}

.guru-mode-card ul li {
    padding: 4px 0;
    font-size: 0.8rem;
    color: var(--text-dim);
}

.guru-mode-card ul li::before {
    content: '> ';
    color: var(--primary-light);
    font-weight: 700;
}

.guru-active-mode {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.guru-active-mode.numerology {
    background: rgba(139, 92, 246, 0.15);
    color: var(--primary-light);
    border: 1px solid rgba(139, 92, 246, 0.3);
}

.guru-active-mode.astrology {
    background: rgba(245, 158, 11, 0.15);
    color: var(--secondary);
    border: 1px solid rgba(245, 158, 11, 0.3);
}

@media (max-width: 768px) {
    .guru-mode-cards {
        grid-template-columns: 1fr;
    }
}

.remedy-text {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.5;
}

@media (max-width: 768px) {
    .koota-card {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    .koota-score {
        text-align: left;
    }
    .kundli-dosha {
        grid-template-columns: 1fr;
    }
}

/* ---- Testimonials ---- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

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

.testimonial-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.testimonial-stars {
    color: var(--gold);
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.testimonial-text {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 12px;
    font-style: italic;
}

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

.testimonial-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gradient-1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.9rem;
    color: white;
}

.testimonial-name {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text);
}

.testimonial-location {
    font-size: 0.75rem;
    color: var(--text-dim);
}

/* ---- Features Showcase ---- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    text-align: center;
    transition: all 0.3s ease;
}

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

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 15px;
    background: rgba(139, 92, 246, 0.1);
    color: var(--primary-light);
}

.feature-card h4 {
    font-size: 1rem;
    margin-bottom: 8px;
    color: var(--text);
}

.feature-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ---- Pyramid ---- */
.pyramid-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px 20px;
    text-align: center;
}

.pyramid-row {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 8px;
}

.pyramid-num {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 10px;
    font-weight: 700;
    color: var(--primary-light);
    font-size: 0.95rem;
}

.pyramid-num.highlight {
    background: var(--gradient-1);
    color: white;
    border: none;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

/* ---- Zodiac Card ---- */
.zodiac-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.zodiac-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-2);
}

.zodiac-icon {
    font-size: 4rem;
    margin-bottom: 15px;
    display: block;
}

.zodiac-name {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.zodiac-dates {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 5px;
}

.zodiac-element {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(139, 92, 246, 0.15);
    border-radius: 20px;
    margin-top: 15px;
    font-size: 0.85rem;
    color: var(--primary-light);
}

.zodiac-traits {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.trait-badge {
    padding: 5px 14px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 20px;
    font-size: 0.8rem;
    color: var(--secondary-light);
}

/* ---- Planets Grid ---- */
.planets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 16px;
}

.planet-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.planet-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.planet-icon {
    font-size: 2rem;
    margin-bottom: 8px;
    display: block;
}

.planet-name {
    font-weight: 600;
    color: var(--text);
    font-size: 0.9rem;
}

.planet-sign {
    color: var(--primary-light);
    font-size: 0.8rem;
    margin-top: 4px;
}

.planet-meaning {
    color: var(--text-dim);
    font-size: 0.75rem;
    margin-top: 6px;
    line-height: 1.4;
}

/* ---- Compatibility ---- */
.compat-grid {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 20px;
    align-items: center;
}

.compat-person h4 {
    color: var(--primary-light);
    margin-bottom: 15px;
    font-family: 'Cinzel', serif;
}

.compat-heart {
    font-size: 2rem;
    color: var(--accent);
    animation: heartbeat 1.5s ease infinite;
}

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

.compat-score-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
    text-align: center;
    margin-bottom: 20px;
}

.compat-score {
    font-size: 5rem;
    font-weight: 900;
    font-family: 'Cinzel', serif;
    margin-bottom: 10px;
}

.compat-score.high { color: var(--success); }
.compat-score.medium { color: var(--secondary); }
.compat-score.low { color: var(--danger); }

.compat-verdict {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.compat-bar-container {
    margin-top: 30px;
}

.compat-bar-item {
    margin-bottom: 15px;
}

.compat-bar-label {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.compat-bar {
    height: 8px;
    background: var(--bg-input);
    border-radius: 4px;
    overflow: hidden;
}

.compat-bar-fill {
    height: 100%;
    border-radius: 4px;
    background: var(--gradient-1);
    transition: width 1s ease;
}

.compat-details {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px;
}

.compat-details h4 {
    color: var(--secondary);
    font-family: 'Cinzel', serif;
    margin-bottom: 15px;
}

.compat-details p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 12px;
}

/* ---- Name Analysis ---- */
.name-analysis-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px;
    margin-bottom: 20px;
}

.name-breakdown {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 20px 0;
    justify-content: center;
}

.letter-box {
    width: 44px;
    height: 54px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.letter-box:hover {
    transform: translateY(-3px);
    border-color: var(--primary);
}

.letter-char {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text);
}

.letter-num {
    font-size: 0.7rem;
    color: var(--primary-light);
    font-weight: 600;
}

.name-match-meter {
    margin: 20px 0;
    text-align: center;
}

.meter-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    font-weight: 900;
    font-family: 'Cinzel', serif;
    margin-bottom: 10px;
}

.meter-good {
    background: rgba(16, 185, 129, 0.15);
    border: 3px solid var(--success);
    color: var(--success);
}

.meter-avg {
    background: rgba(245, 158, 11, 0.15);
    border: 3px solid var(--secondary);
    color: var(--secondary);
}

.meter-bad {
    background: rgba(239, 68, 68, 0.15);
    border: 3px solid var(--danger);
    color: var(--danger);
}

.name-suggestions {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 30px;
}

.suggestion-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: var(--bg-input);
    border-radius: var(--radius-sm);
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.suggestion-item:hover {
    background: rgba(139, 92, 246, 0.1);
}

.suggestion-name {
    font-weight: 600;
    color: var(--text);
}

.suggestion-number {
    color: var(--primary-light);
    font-weight: 700;
    font-size: 0.85rem;
}

.suggestion-reason {
    font-size: 0.8rem;
    color: var(--text-dim);
}

/* ---- AI Chat ---- */
.chat-container {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.chat-messages {
    height: 500px;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    scroll-behavior: smooth;
}

.chat-message {
    display: flex;
    gap: 12px;
    max-width: 85%;
    animation: fadeInUp 0.3s ease;
}

.guru-message {
    align-self: flex-start;
}

.user-message {
    align-self: flex-end;
    flex-direction: row-reverse;
}

.message-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1.1rem;
}

.guru-message .message-avatar {
    background: var(--gradient-2);
    color: white;
}

.user-message .message-avatar {
    background: var(--gradient-1);
    color: white;
}

.message-content {
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 14px 18px;
    font-size: 0.9rem;
    line-height: 1.7;
}

.guru-message .message-content {
    border-top-left-radius: 4px;
}

.user-message .message-content {
    border-top-right-radius: 4px;
    background: rgba(139, 92, 246, 0.1);
    border-color: rgba(139, 92, 246, 0.2);
}

.message-name {
    font-weight: 600;
    font-size: 0.8rem;
    margin-bottom: 4px;
    color: var(--secondary);
}

.user-message .message-name {
    color: var(--primary-light);
    text-align: right;
}

.message-content p {
    color: var(--text-muted);
    margin-bottom: 6px;
}

.message-content p:last-child {
    margin-bottom: 0;
}

.chat-input-area {
    border-top: 1px solid var(--border);
    padding: 15px 20px;
    background: var(--bg-input);
}

.chat-suggestions {
    display: flex;
    gap: 8px;
    margin-bottom: 12px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
}

.suggestion-chip {
    padding: 6px 14px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.25);
    border-radius: 20px;
    color: var(--primary-light);
    font-size: 0.8rem;
    cursor: pointer;
    white-space: nowrap;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

.suggestion-chip:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: var(--primary);
    transform: translateY(-1px);
}

.chat-input-wrapper {
    display: flex;
    gap: 10px;
}

.chat-input-wrapper input {
    flex: 1;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 12px 18px;
    color: var(--text);
    font-size: 0.95rem;
    font-family: 'Poppins', sans-serif;
    outline: none;
    transition: border-color 0.3s ease;
}

.chat-input-wrapper input:focus {
    border-color: var(--primary);
}

.chat-input-wrapper input::placeholder {
    color: var(--text-dim);
}

.chat-send-btn {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--gradient-1);
    border: none;
    color: white;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-send-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

.chat-send-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 8px 0;
}

.typing-dot {
    width: 8px;
    height: 8px;
    background: var(--primary-light);
    border-radius: 50%;
    animation: typingBounce 1.4s ease-in-out infinite;
}

.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typingBounce {
    0%, 60%, 100% { transform: translateY(0); opacity: 0.4; }
    30% { transform: translateY(-8px); opacity: 1; }
}

@media (max-width: 768px) {
    .chat-messages {
        height: 400px;
        padding: 15px;
    }
    .chat-message {
        max-width: 95%;
    }
    .chat-suggestions {
        gap: 6px;
    }
    #ai-guru .form-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ---- Footer ---- */
.footer {
    background: var(--bg-card);
    border-top: 1px solid var(--border);
    padding: 50px 20px 20px;
    position: relative;
    z-index: 1;
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-brand h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    margin-bottom: 10px;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand h3 i {
    -webkit-text-fill-color: initial;
    color: var(--primary-light);
    margin-right: 8px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.footer-disclaimer {
    font-size: 0.8rem !important;
    color: var(--text-dim) !important;
    font-style: italic;
}

.footer-links h4, .footer-features h4 {
    color: var(--text);
    margin-bottom: 15px;
    font-size: 1rem;
}

.footer-links a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    padding: 4px 0;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary-light);
}

.footer-features p {
    color: var(--text-muted);
    font-size: 0.85rem;
    padding: 3px 0;
}

.footer-features i {
    color: var(--success);
    margin-right: 6px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid var(--border);
    color: var(--text-dim);
    font-size: 0.85rem;
}

.footer-bottom i {
    color: var(--accent);
}

/* ---- Responsive ---- */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 100px;
        gap: 30px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        flex: none;
    }

    .zodiac-wheel {
        width: 220px;
        height: 220px;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(15, 15, 26, 0.98);
        flex-direction: column;
        padding: 20px;
        border-bottom: 1px solid var(--border);
    }

    .nav-links.active {
        display: flex;
    }

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

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

    .numbers-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }

    .compat-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .compat-heart {
        margin: 10px 0;
    }

    .lucky-section {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .planets-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    }

    .tab-btn {
        padding: 10px 14px;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero-stats {
        flex-direction: column;
        gap: 15px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    .number-card .number {
        font-size: 2rem;
    }
}

/* ---- Utility / Animations ---- */
.fade-in {
    animation: fadeInUp 0.6s ease forwards;
}

.pulse {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

.shimmer {
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
    background-size: 200% 100%;
    animation: shimmer 2s linear infinite;
}

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

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-dark);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Selection */
::selection {
    background: rgba(139, 92, 246, 0.3);
    color: white;
}
