/* ========================================
   Astro Dozi Web - Midnight Navy + Royal Gold
   Renk tokenları uygulama temasıyla hizalı.
   Eski isimler (--cosmic-*) korunarak değer migrasyonu yapıldı.
   ======================================== */

:root {
    --cosmic-purple: #1E3A5F;       /* midnight navy — primary */
    --deep-violet: #0F2540;         /* deeper navy */
    --soft-lilac: #FAF4DC;          /* warm cream */
    --lavender-mist: #FDF8E8;       /* lighter cream */
    --cosmic-bg: #F8F5EE;           /* page bg */
    --golden-star: #D4AF37;         /* royal gold */
    --pink-sparkle: #F4D78B;        /* light gold */
    --rose-pink: #D4AF37;           /* gold accent */
    --cosmic-dark: #0F2540;
    --text-primary: #0F2540;
    --text-secondary: #4B5563;
    --text-muted: #6B7280;
    --bg-card: #FFFFFF;
    --success: #059669;
    --gradient-primary: linear-gradient(135deg, #1E3A5F 0%, #D4AF37 100%);
    --gradient-hero: linear-gradient(135deg, #0A1A30 0%, #0F2540 30%, #1E3A5F 60%, #0F2540 100%);
    --gradient-cosmic: linear-gradient(135deg, #1E3A5F 0%, #D4AF37 100%);
    --shadow-sm: 0 1px 2px rgba(15, 37, 64, 0.06);
    --shadow-md: 0 4px 12px rgba(15, 37, 64, 0.10);
    --shadow-lg: 0 10px 25px rgba(15, 37, 64, 0.15);
    --shadow-xl: 0 20px 40px rgba(15, 37, 64, 0.22);
    --shadow-glow: 0 0 40px rgba(212, 175, 55, 0.35);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    --radius-full: 50px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--cosmic-bg);
    overflow-x: hidden;
}

/* ========== PARTICLE CANVAS ========== */
#particleCanvas {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.4;
}

/* ========== ANIMATION UTILITIES ========== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.feature-card, .pricing-card, .zodiac-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.feature-card.visible, .pricing-card.visible, .zodiac-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger animations */
.zodiac-grid .zodiac-card:nth-child(1) { transition-delay: 0.05s; }
.zodiac-grid .zodiac-card:nth-child(2) { transition-delay: 0.1s; }
.zodiac-grid .zodiac-card:nth-child(3) { transition-delay: 0.15s; }
.zodiac-grid .zodiac-card:nth-child(4) { transition-delay: 0.2s; }
.zodiac-grid .zodiac-card:nth-child(5) { transition-delay: 0.25s; }
.zodiac-grid .zodiac-card:nth-child(6) { transition-delay: 0.3s; }
.zodiac-grid .zodiac-card:nth-child(7) { transition-delay: 0.35s; }
.zodiac-grid .zodiac-card:nth-child(8) { transition-delay: 0.4s; }
.zodiac-grid .zodiac-card:nth-child(9) { transition-delay: 0.45s; }
.zodiac-grid .zodiac-card:nth-child(10) { transition-delay: 0.5s; }
.zodiac-grid .zodiac-card:nth-child(11) { transition-delay: 0.55s; }
.zodiac-grid .zodiac-card:nth-child(12) { transition-delay: 0.6s; }

.features-grid .feature-card:nth-child(odd) { transition-delay: 0.1s; }
.features-grid .feature-card:nth-child(even) { transition-delay: 0.2s; }

/* Pulse glow effect */
.pulse-glow {
    animation: pulseGlow 2s ease-in-out infinite;
}
@keyframes pulseGlow {
    0%, 100% { filter: brightness(1); }
    50% { filter: brightness(1.5) drop-shadow(0 0 8px rgba(245, 158, 11, 0.6)); }
}

/* Shimmer gradient text */
.shimmer {
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
}
@keyframes shimmer {
    0% { background-position: 100% 0; }
    50% { background-position: 0% 0; }
    100% { background-position: 100% 0; }
}

/* Button glow */
.btn-glow {
    animation: btnGlow 2s ease-in-out infinite;
}
@keyframes btnGlow {
    0%, 100% { box-shadow: 0 4px 15px rgba(30, 58, 95, 0.3); }
    50% { box-shadow: 0 4px 25px rgba(30, 58, 95, 0.6), 0 0 40px rgba(212, 175, 55, 0.2); }
}

/* Score bar fill animation */
.score-bar-fill {
    animation: fillBar 1s ease-out;
}
@keyframes fillBar {
    from { width: 0 !important; }
}

/* Aura pulse */
@keyframes aura-pulse {
    0%, 100% { transform: scale(1); opacity: 0.9; }
    50% { transform: scale(1.05); opacity: 1; }
}

/* ========== NAVBAR ========== */
.navbar {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    padding: 1rem 2rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.navbar.scrolled {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 1px 20px rgba(30, 58, 95, 0.08);
    padding: 0.75rem 2rem;
}
.nav-container {
    max-width: 1200px; margin: 0 auto;
    display: flex; justify-content: space-between; align-items: center;
}
.nav-logo {
    display: flex; align-items: center; gap: 0.75rem;
    text-decoration: none;
}
.nav-logo img { height: 44px; border-radius: 12px; }
.nav-logo span {
    font-size: 1.5rem; font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.nav-links {
    display: flex; align-items: center; gap: 2rem;
    list-style: none;
}
.nav-links a {
    text-decoration: none; color: rgba(255,255,255,0.8);
    font-weight: 500; font-size: 0.95rem;
    transition: all 0.3s ease;
}
.navbar.scrolled .nav-links a { color: var(--text-primary); }
.nav-links a:hover { color: var(--cosmic-purple); }
.nav-cta {
    background: var(--gradient-primary) !important;
    color: white !important;
    padding: 0.6rem 1.25rem;
    border-radius: var(--radius-full);
    font-weight: 600 !important;
    transition: all 0.3s ease !important;
}
.nav-cta:hover { transform: translateY(-2px); box-shadow: var(--shadow-glow); }
.mobile-menu-btn {
    display: none; background: none; border: none;
    cursor: pointer; padding: 0.5rem;
}
.mobile-menu-btn span {
    display: block; width: 24px; height: 2px;
    background: white; margin: 5px 0;
    transition: all 0.3s ease;
}
.navbar.scrolled .mobile-menu-btn span { background: var(--text-primary); }

@media (max-width: 768px) {
    .nav-links {
        display: none; position: absolute; top: 100%; left: 0; right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 1rem; box-shadow: var(--shadow-lg);
        border-radius: 0 0 var(--radius-md) var(--radius-md);
    }
    .nav-links.active { display: flex; }
    .nav-links a { color: var(--text-primary) !important; padding: 0.75rem; }
    .mobile-menu-btn { display: block; }
}

/* ========== HERO ========== */
.hero {
    min-height: 100vh;
    background: var(--gradient-hero);
    position: relative; overflow: hidden;
    padding: 8rem 2rem 4rem;
    display: flex; align-items: center;
}
.cosmic-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }

/* Stars */
.star {
    position: absolute; width: 3px; height: 3px;
    background: white; border-radius: 50%;
    animation: twinkle 3s infinite ease-in-out;
}
.star.star-lg { width: 5px; height: 5px; }
@keyframes twinkle {
    0%, 100% { opacity: 0.2; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.8); }
}

/* Shooting stars */
.shooting-star {
    position: absolute;
    width: 100px; height: 2px;
    background: linear-gradient(90deg, rgba(30, 58, 95, 0), rgba(255, 255, 255, 0.8), rgba(30, 58, 95, 0));
    animation: shoot 6s linear infinite;
    opacity: 0;
}
@keyframes shoot {
    0% { transform: translateX(-100px) translateY(0) rotate(-35deg); opacity: 0; }
    5% { opacity: 1; }
    15% { transform: translateX(400px) translateY(200px) rotate(-35deg); opacity: 0; }
    100% { opacity: 0; }
}

/* Nebula effects */
.nebula {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation: nebulaPulse 8s ease-in-out infinite;
}
.nebula-1 {
    width: 400px; height: 400px;
    background: radial-gradient(circle, #1E3A5F, transparent);
    top: 10%; right: 10%;
}
.nebula-2 {
    width: 300px; height: 300px;
    background: radial-gradient(circle, #D4AF37, transparent);
    bottom: 20%; left: 5%;
    animation-delay: -4s;
}
@keyframes nebulaPulse {
    0%, 100% { transform: scale(1); opacity: 0.12; }
    50% { transform: scale(1.2); opacity: 0.2; }
}

/* Orbit rings around hero image */
.orbit-ring {
    position: absolute;
    border: 1px solid rgba(30, 58, 95, 0.15);
    border-radius: 50%;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
}
.orbit-ring-1 {
    width: 380px; height: 380px;
    animation: orbitRotate 20s linear infinite;
}
.orbit-ring-2 {
    width: 440px; height: 440px;
    animation: orbitRotate 30s linear infinite reverse;
    border-style: dashed;
    opacity: 0.5;
}
.orbit-ring-1::after, .orbit-ring-2::after {
    content: '';
    position: absolute;
    width: 8px; height: 8px;
    background: var(--golden-star);
    border-radius: 50%;
    top: 0; left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.6);
}
.orbit-ring-2::after {
    background: var(--rose-pink);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.6);
}
@keyframes orbitRotate { to { transform: translate(-50%, -50%) rotate(360deg); } }

.hero-container {
    max-width: 1200px; margin: 0 auto;
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 4rem; align-items: center;
    position: relative; z-index: 1;
}
.hero-content { color: white; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 0.5rem;
    background: rgba(30, 58, 95, 0.2);
    padding: 0.5rem 1rem; border-radius: var(--radius-full);
    font-size: 0.875rem; margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(30, 58, 95, 0.25);
}
.badge-icon { font-size: 1rem; }
.hero h1 { font-size: 3.5rem; font-weight: 800; line-height: 1.1; margin-bottom: 1rem; }
.gradient-text {
    background: linear-gradient(135deg, #1E3A5F 0%, #D4AF37 50%, #F4D78B 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-tagline {
    font-size: 1.35rem; font-weight: 600;
    color: var(--golden-star); margin-bottom: 1rem;
}
.hero-description {
    font-size: 1.05rem; color: rgba(255,255,255,0.7);
    max-width: 480px; margin-bottom: 2rem;
}
.hero-stats { display: flex; gap: 2rem; margin-bottom: 2rem; }
.hero-stat { text-align: center; }
.hero-stat-value { font-size: 1.5rem; font-weight: 700; color: var(--golden-star); }
.hero-stat-label { font-size: 0.75rem; color: rgba(255,255,255,0.5); margin-top: 0.25rem; }
.hero-buttons { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-primary, .btn-secondary {
    display: inline-flex; align-items: center; gap: 0.5rem;
    padding: 0.9rem 1.75rem; border-radius: var(--radius-full);
    font-weight: 600; text-decoration: none;
    transition: all 0.3s ease; font-size: 0.95rem;
    border: none; cursor: pointer;
}
.btn-primary {
    background: var(--gradient-primary); color: white;
    box-shadow: 0 4px 15px rgba(30, 58, 95, 0.3);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(30, 58, 95, 0.5); }
.btn-secondary {
    background: rgba(255,255,255,0.08); color: white;
    border: 1px solid rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
}
.btn-secondary:hover { background: rgba(255,255,255,0.15); transform: translateY(-3px); }

/* Hero Visual */
.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-image-container { position: relative; }
.hero-image {
    width: 320px; height: auto;
    filter: drop-shadow(0 20px 40px rgba(30, 58, 95, 0.4));
    animation: floatHero 4s ease-in-out infinite;
    position: relative; z-index: 2;
}
.hero-glow {
    position: absolute; inset: -20%; border-radius: 50%;
    background: radial-gradient(circle, rgba(30, 58, 95, 0.25) 0%, transparent 70%);
    z-index: 1;
    animation: glowPulse 4s ease-in-out infinite;
}
@keyframes floatHero { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-15px); } }
@keyframes glowPulse { 0%, 100% { opacity: 0.8; transform: scale(1); } 50% { opacity: 1; transform: scale(1.1); } }

/* Glass card floating cards */
.glass-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}
.floating-card {
    position: absolute;
    padding: 0.6rem 1rem; border-radius: var(--radius-md);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    display: flex; align-items: center; gap: 0.5rem;
    animation: floatCard 3s infinite ease-in-out;
    z-index: 3;
}
.floating-card-icon {
    width: 32px; height: 32px;
    background: var(--gradient-primary); border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    color: white; font-size: 0.875rem;
}
.floating-card-text { font-size: 0.8rem; font-weight: 600; color: var(--text-primary); }
.floating-card-1 { top: 10%; left: -5%; animation-delay: 0s; }
.floating-card-2 { top: 50%; right: -10%; animation-delay: -1s; }
.floating-card-3 { bottom: 15%; left: 0%; animation-delay: -2s; }
@keyframes floatCard { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

@media (max-width: 768px) {
    .hero { padding: 6rem 1rem 3rem; min-height: auto; }
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero h1 { font-size: 2.25rem; }
    .hero-tagline { font-size: 1.1rem; }
    .hero-description { margin: 0 auto 2rem; }
    .hero-stats { justify-content: center; }
    .hero-buttons { justify-content: center; }
    .hero-visual { margin-top: 2rem; }
    .hero-image { width: 220px; }
    .floating-card { display: none; }
    .orbit-ring { display: none; }
}

/* ========== SECTIONS COMMON ========== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }
section { padding: 5rem 0; position: relative; z-index: 1; }
.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-badge {
    display: inline-block;
    background: rgba(30, 58, 95, 0.1);
    color: var(--cosmic-purple);
    padding: 0.4rem 1rem; border-radius: var(--radius-full);
    font-size: 0.85rem; font-weight: 600; margin-bottom: 1rem;
}
.section-header h2 {
    font-size: 2.25rem; font-weight: 800;
    color: var(--text-primary); margin-bottom: 0.75rem;
}
.section-desc {
    font-size: 1.05rem; color: var(--text-secondary);
    max-width: 550px; margin: 0 auto;
}

/* ========== ZODIAC GRID ========== */
.zodiac-section { background: white; }
.zodiac-grid {
    display: grid; grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
}
.zodiac-card {
    background: var(--cosmic-bg);
    border: 2px solid transparent;
    border-radius: var(--radius-lg);
    padding: 1.25rem 0.75rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex; flex-direction: column;
    align-items: center; gap: 0.4rem;
    transform-style: preserve-3d;
}
.zodiac-card:hover {
    border-color: var(--cosmic-purple);
    box-shadow: 0 10px 30px rgba(30, 58, 95, 0.2);
    background: white;
}
.zodiac-emoji { font-size: 2rem; transition: transform 0.3s ease; }
.zodiac-card:hover .zodiac-emoji { transform: scale(1.2); }
.zodiac-name { font-size: 0.85rem; font-weight: 700; color: var(--text-primary); }
.zodiac-date { font-size: 0.65rem; color: var(--text-muted); }

@media (max-width: 768px) {
    .zodiac-grid { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 480px) {
    .zodiac-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ========== FEATURES ========== */
.features { background: var(--cosmic-bg); }
.features-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}
.feature-card, .glass-feature {
    background: white;
    border-radius: var(--radius-lg);
    padding: 1.75rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid rgba(30, 58, 95, 0.08);
    position: relative;
    overflow: hidden;
}
.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}
.feature-card:hover::before { transform: scaleX(1); }
.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--cosmic-purple);
    box-shadow: 0 20px 40px rgba(30, 58, 95, 0.15);
}
.feature-icon {
    font-size: 2.25rem; margin-bottom: 0.75rem;
    transition: transform 0.3s ease;
}
.feature-card:hover .feature-icon { transform: scale(1.15) rotate(5deg); }
.feature-card h3 {
    font-size: 1rem; font-weight: 700;
    color: var(--text-primary); margin-bottom: 0.4rem;
}
.feature-card p { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 0.75rem; }
.feature-badge {
    display: inline-block; padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.7rem; font-weight: 600;
}
.feature-badge.free { background: rgba(5, 150, 105, 0.12); color: var(--success); }
.feature-badge.coin { background: rgba(212, 175, 55, 0.15); color: var(--golden-star); }
.feature-badge.tier { background: rgba(30, 58, 95, 0.10); color: var(--cosmic-purple); }

.welcome-banner {
    display: flex; align-items: center; gap: 1rem;
    max-width: 720px; margin: 0 auto 2.5rem;
    padding: 1rem 1.5rem;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(30, 58, 95, 0.10));
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: var(--radius-lg);
}
.welcome-banner-icon { font-size: 2rem; flex-shrink: 0; }
.welcome-banner strong { display: block; font-weight: 700; color: var(--cosmic-purple); margin-bottom: 0.15rem; }
.welcome-banner span { font-size: 0.85rem; color: var(--text-secondary); }

@media (max-width: 968px) { .features-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) {
    .features-grid { grid-template-columns: 1fr; }
    .welcome-banner { flex-direction: column; text-align: center; }
}

/* ========== PRICING ========== */
.pricing { background: white; }
.pricing-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem; max-width: 900px; margin: 0 auto;
}
.pricing-card {
    background: var(--cosmic-bg);
    border-radius: var(--radius-xl);
    padding: 2.25rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 2px solid transparent;
    position: relative;
}
.pricing-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); }
.pricing-card.popular {
    background: var(--gradient-hero); color: white;
    border-color: var(--cosmic-purple);
    transform: scale(1.05);
}
.pricing-card.popular:hover { transform: scale(1.05) translateY(-8px); }
.pricing-badge-tag {
    position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
    background: var(--gradient-primary); color: white;
    padding: 0.4rem 1.25rem; border-radius: var(--radius-full);
    font-size: 0.7rem; font-weight: 700; text-transform: uppercase;
    white-space: nowrap;
    animation: badgeGlow 2s ease-in-out infinite;
}
@keyframes badgeGlow {
    0%, 100% { box-shadow: 0 2px 10px rgba(30, 58, 95, 0.3); }
    50% { box-shadow: 0 2px 20px rgba(30, 58, 95, 0.6); }
}
.pricing-icon { font-size: 2.5rem; margin-bottom: 0.75rem; }
.pricing-card h3 { font-size: 1.35rem; font-weight: 700; margin-bottom: 0.5rem; }
.pricing-card.popular h3 { color: white; }
.pricing-price { margin: 1.25rem 0; }
.pricing-amount { font-size: 2.25rem; font-weight: 800; }
.pricing-card.popular .pricing-amount { color: var(--golden-star); }
.pricing-period { font-size: 0.85rem; color: var(--text-muted); }
.pricing-card.popular .pricing-period { color: rgba(255,255,255,0.6); }
.pricing-features { list-style: none; margin: 1.25rem 0; text-align: left; }
.pricing-features li {
    padding: 0.4rem 0; display: flex;
    align-items: center; gap: 0.6rem; font-size: 0.85rem;
}
.pricing-features li::before { content: "\2713"; color: var(--success); font-weight: 700; }
.pricing-card.popular .pricing-features li { color: rgba(255,255,255,0.9); }
.pricing-btn {
    display: block; width: 100%; padding: 0.85rem;
    border-radius: var(--radius-full); font-weight: 600;
    text-decoration: none; transition: all 0.3s ease;
    margin-top: 1.25rem; font-size: 0.9rem;
    border: none; cursor: pointer;
}
.pricing-card .pricing-btn { background: var(--gradient-primary); color: white; }
.pricing-card.popular .pricing-btn { background: white; color: var(--cosmic-dark); }
.pricing-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.pricing-toggle {
    display: inline-flex; gap: 0.25rem; padding: 0.35rem;
    background: var(--cosmic-bg); border-radius: var(--radius-full);
    margin: 0 auto 2.5rem; justify-self: center;
    display: flex; width: fit-content;
}
.pricing-toggle-btn {
    border: none; background: transparent; cursor: pointer;
    padding: 0.6rem 1.25rem; border-radius: var(--radius-full);
    font-size: 0.9rem; font-weight: 600; color: var(--text-muted);
    transition: all 0.25s ease; white-space: nowrap;
}
.pricing-toggle-btn.active {
    background: var(--gradient-primary); color: white;
    box-shadow: var(--shadow-md);
}
.pricing-toggle-save {
    display: inline-block; margin-left: 0.4rem;
    font-size: 0.7rem; padding: 0.15rem 0.5rem;
    background: rgba(34, 197, 94, 0.15); color: var(--success);
    border-radius: var(--radius-full); font-weight: 700;
}
.pricing-toggle-btn.active .pricing-toggle-save {
    background: rgba(255,255,255,0.25); color: white;
}
.pricing-grid { grid-template-columns: repeat(4, 1fr); max-width: 1100px; }

.coin-packs { margin-top: 4rem; text-align: center; }
.coin-packs-title { font-size: 1.75rem; font-weight: 700; margin-bottom: 0.5rem; }
.coin-packs-desc { color: var(--text-muted); margin-bottom: 2rem; }
.coin-packs-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem; max-width: 900px; margin: 0 auto;
}
.coin-pack {
    position: relative; background: var(--cosmic-bg);
    border-radius: var(--radius-xl); padding: 1.75rem 1.25rem;
    border: 2px solid transparent;
    transition: all 0.3s ease;
}
.coin-pack:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.coin-pack.best-value {
    border-color: var(--cosmic-purple);
    background: linear-gradient(135deg, rgba(30, 58, 95, 0.08), rgba(212, 175, 55, 0.08));
}
.coin-pack-tag {
    position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
    background: var(--gradient-primary); color: white;
    padding: 0.3rem 1rem; border-radius: var(--radius-full);
    font-size: 0.65rem; font-weight: 700; text-transform: uppercase;
    white-space: nowrap;
}
.coin-pack-icon { font-size: 2rem; margin-bottom: 0.5rem; }
.coin-pack-amount { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.25rem; }
.coin-pack-bonus { font-size: 0.8rem; color: var(--success); font-weight: 600; margin-bottom: 0.75rem; }
.coin-pack-price { font-size: 1.5rem; font-weight: 800; color: var(--cosmic-purple); }

@media (max-width: 1024px) {
    .pricing-grid { grid-template-columns: repeat(2, 1fr); max-width: 700px; }
    .pricing-card.popular { transform: none; }
}
@media (max-width: 768px) {
    .pricing-grid { grid-template-columns: 1fr; max-width: 380px; }
    .pricing-card.popular { transform: none; }
    .pricing-card.popular:hover { transform: translateY(-5px); }
    .coin-packs-grid { grid-template-columns: 1fr; max-width: 380px; }
    .pricing-toggle-btn { padding: 0.55rem 0.9rem; font-size: 0.8rem; }
    .pricing-toggle-save { display: none; }
}

/* ========== WAITLIST ========== */
.waitlist { background: var(--cosmic-bg); }
.waitlist-card {
    background: var(--gradient-hero); color: white;
    border-radius: var(--radius-xl); padding: 3rem;
    text-align: center; max-width: 600px; margin: 0 auto;
    position: relative; overflow: hidden;
}
.waitlist-card::before {
    content: '';
    position: absolute; top: -50%; left: -50%;
    width: 200%; height: 200%;
    background: radial-gradient(circle at center, rgba(30, 58, 95, 0.15) 0%, transparent 50%);
    animation: rotateGradient 10s linear infinite;
}
@keyframes rotateGradient { to { transform: rotate(360deg); } }
.waitlist-icon { font-size: 3rem; margin-bottom: 1rem; position: relative; }
.waitlist-card h2 { font-size: 1.75rem; font-weight: 800; margin-bottom: 0.75rem; position: relative; }
.waitlist-card > p { color: rgba(255,255,255,0.8); margin-bottom: 1.5rem; position: relative; }
.waitlist-form {
    display: flex; gap: 0.75rem;
    max-width: 400px; margin: 0 auto;
    position: relative;
}
.waitlist-form input {
    flex: 1; padding: 0.85rem 1.25rem;
    border-radius: var(--radius-full);
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.1);
    color: white; font-size: 0.9rem;
    outline: none;
    backdrop-filter: blur(10px);
}
.waitlist-form input::placeholder { color: rgba(255,255,255,0.5); }
.waitlist-form input:focus { border-color: var(--cosmic-purple); background: rgba(255,255,255,0.15); }
.waitlist-form .btn-primary { padding: 0.85rem 1.5rem; white-space: nowrap; }
.waitlist-note { font-size: 0.75rem; color: rgba(255,255,255,0.5); margin-top: 1rem; position: relative; }

@media (max-width: 480px) {
    .waitlist-form { flex-direction: column; }
    .waitlist-card { padding: 2rem 1.5rem; }
}

/* ========== DOWNLOAD ========== */
.download-section {
    background: var(--gradient-hero); color: white;
    text-align: center; padding: 5rem 0;
}
.download-section h2 { font-size: 2.25rem; font-weight: 800; margin-bottom: 0.75rem; color: white; }
.download-section p { font-size: 1.1rem; color: rgba(255,255,255,0.8); margin-bottom: 2rem; }
.download-buttons { display: flex; justify-content: center; gap: 1rem; flex-wrap: wrap; }
.store-btn {
    display: inline-flex; align-items: center; gap: 0.75rem;
    background: white; color: var(--text-primary);
    padding: 0.85rem 1.5rem; border-radius: var(--radius-md);
    text-decoration: none; transition: all 0.3s ease;
}
.store-btn:hover { transform: translateY(-3px); box-shadow: var(--shadow-xl); }
.store-btn-text { text-align: left; }
.store-btn-small { font-size: 0.65rem; color: var(--text-muted); display: block; }
.store-btn-large { font-size: 1rem; font-weight: 600; }
.store-btn.ios-coming-soon {
    opacity: 0.55;
    cursor: not-allowed;
    pointer-events: none;
}
.store-btn.ios-coming-soon .store-btn-small {
    color: var(--golden-star);
    font-weight: 700;
    letter-spacing: 0.6px;
}
.web-btn { background: rgba(255,255,255,0.1); color: white; border: 1px solid rgba(255,255,255,0.2); }
.web-btn:hover { background: rgba(255,255,255,0.2); }
.web-icon { font-size: 1.5rem; }

/* ========== FOOTER ========== */
.footer { background: var(--cosmic-dark); color: white; padding: 3rem 0 1.5rem; position: relative; z-index: 1; }
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2.5rem; margin-bottom: 2rem;
}
.footer-logo {
    display: flex; align-items: center; gap: 0.5rem;
    margin-bottom: 0.75rem;
}
.footer-logo img { border-radius: 8px; }
.footer-logo span { font-size: 1.25rem; font-weight: 700; }
.footer-brand p { color: rgba(255,255,255,0.5); font-size: 0.85rem; line-height: 1.7; }
.footer-links h4 { font-size: 0.9rem; font-weight: 600; margin-bottom: 0.75rem; }
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 0.4rem; }
.footer-links a {
    color: rgba(255,255,255,0.5); text-decoration: none;
    font-size: 0.85rem; transition: color 0.3s ease;
}
.footer-links a:hover { color: var(--cosmic-purple); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem; text-align: center;
}
.footer-bottom p { color: rgba(255,255,255,0.3); font-size: 0.8rem; }

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
    .footer-grid { grid-template-columns: 1fr; }
}

/* ========== APP PAGE STYLES ========== */
.app-page { padding-top: 80px; min-height: 100vh; }

/* Auth Screen */
.auth-screen {
    display: flex; align-items: center; justify-content: center;
    min-height: calc(100vh - 80px); padding: 2rem;
    background: linear-gradient(135deg, var(--cosmic-bg) 0%, var(--lavender-mist) 100%);
}
.auth-card {
    background: white; border-radius: var(--radius-xl);
    padding: 3rem; text-align: center;
    max-width: 420px; width: 100%;
    box-shadow: 0 20px 60px rgba(30, 58, 95, 0.12);
    position: relative; overflow: hidden;
    animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
.auth-stars { position: absolute; inset: 0; pointer-events: none; }
.auth-stars .star { background: var(--cosmic-purple); width: 4px; height: 4px; }
.auth-logo-img { width: 100px; margin-bottom: 1.5rem; position: relative; }
.auth-card h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 0.5rem; }
.auth-card > p { color: var(--text-secondary); margin-bottom: 2rem; font-size: 0.9rem; }
.auth-note {
    font-size: 0.78rem; color: var(--text-muted); margin-top: 1.5rem;
    line-height: 1.5; padding: 0 0.5rem;
}
.google-signin-btn {
    display: flex; align-items: center; justify-content: center; gap: 0.75rem;
    width: 100%; padding: 0.85rem;
    background: white; border: 2px solid #E5E7EB;
    border-radius: var(--radius-full);
    font-size: 0.95rem; font-weight: 600;
    cursor: pointer; transition: all 0.3s ease;
    color: var(--text-primary);
}
.google-signin-btn:hover {
    border-color: var(--cosmic-purple);
    box-shadow: 0 4px 20px rgba(30, 58, 95, 0.15);
    transform: translateY(-2px);
}
.google-signin-btn svg { width: 20px; height: 20px; }

/* App Main Content */
.app-content { padding: 1.5rem; max-width: 800px; margin: 0 auto; }

/* Sign Selector */
.sign-selector {
    display: flex; gap: 0.5rem;
    overflow-x: auto; padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.sign-selector::-webkit-scrollbar { display: none; }
.sign-btn {
    flex-shrink: 0; padding: 0.5rem 1rem;
    background: white; border: 2px solid transparent;
    border-radius: var(--radius-full);
    font-size: 0.8rem; font-weight: 600;
    cursor: pointer; transition: all 0.3s ease;
    display: flex; align-items: center; gap: 0.3rem;
    color: var(--text-primary);
}
.sign-btn.active {
    background: var(--gradient-primary); color: white;
    border-color: var(--cosmic-purple);
    box-shadow: 0 4px 12px rgba(30, 58, 95, 0.3);
}
.sign-btn:hover:not(.active) {
    border-color: var(--cosmic-purple);
    background: var(--lavender-mist);
    transform: translateY(-2px);
}

/* Content Cards */
.content-card {
    background: white; border-radius: var(--radius-xl);
    padding: 2rem; margin-top: 1.5rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(30, 58, 95, 0.08);
    animation: fadeIn 0.4s ease;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}
.content-card h2 {
    font-size: 1.25rem; font-weight: 700;
    margin-bottom: 1rem;
    display: flex; align-items: center; gap: 0.5rem;
}
.content-card .horoscope-text {
    font-size: 0.95rem; line-height: 1.8;
    color: var(--text-secondary);
}
.content-card .horoscope-text p { margin-bottom: 1rem; }

/* Loading Spinner */
.loading {
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    padding: 3rem; gap: 1rem;
}
.spinner {
    width: 40px; height: 40px;
    border: 3px solid var(--soft-lilac);
    border-top-color: var(--cosmic-purple);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-text { color: var(--text-muted); font-size: 0.85rem; }

/* Feature Cards for App */
.app-features-grid {
    display: grid; grid-template-columns: repeat(2, 1fr);
    gap: 1rem; margin-top: 1.5rem;
}
.app-feature-card {
    background: white; border-radius: var(--radius-lg);
    padding: 1.5rem; text-align: center;
    border: 1px solid rgba(30, 58, 95, 0.08);
    cursor: pointer; transition: all 0.3s ease;
    position: relative; overflow: hidden;
}
.app-feature-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: inherit;
}
.app-feature-card:hover {
    border-color: var(--cosmic-purple);
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(30, 58, 95, 0.15);
}
.app-feature-card:hover::after { opacity: 0.03; }
.app-feature-card .icon { font-size: 2rem; margin-bottom: 0.5rem; position: relative; z-index: 1; }
.app-feature-card h3 { font-size: 0.9rem; font-weight: 600; margin-bottom: 0.25rem; position: relative; z-index: 1; }
.app-feature-card .cost {
    font-size: 0.75rem; color: var(--golden-star); font-weight: 600;
    position: relative; z-index: 1;
}

@media (max-width: 480px) {
    .app-features-grid { grid-template-columns: 1fr; }
}

/* Coin Balance Bar */
.coin-bar {
    display: flex; align-items: center; justify-content: space-between;
    background: white; border-radius: var(--radius-full);
    padding: 0.5rem 0.5rem 0.5rem 1.25rem;
    box-shadow: var(--shadow-sm);
    margin-bottom: 1.5rem;
    border: 1px solid rgba(30, 58, 95, 0.08);
}
.coin-balance {
    display: flex; align-items: center; gap: 0.5rem;
    font-weight: 700; font-size: 0.9rem;
}
.coin-balance .icon { color: var(--golden-star); }
.buy-coins-btn {
    background: var(--gradient-primary); color: white;
    border: none; border-radius: var(--radius-full);
    padding: 0.5rem 1rem; font-size: 0.8rem;
    font-weight: 600; cursor: pointer;
    transition: all 0.3s ease;
}
.buy-coins-btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }

/* Premium Gate Modal */
.modal-overlay {
    position: fixed; inset: 0;
    background: rgba(30, 27, 75, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex; align-items: center; justify-content: center;
    z-index: 2000; padding: 1rem;
    opacity: 0; visibility: hidden;
    transition: all 0.3s ease;
}
.modal-overlay.active { opacity: 1; visibility: visible; }
.modal-card {
    background: white; border-radius: var(--radius-xl);
    padding: 2.5rem; text-align: center;
    max-width: 420px; width: 100%;
    transform: translateY(20px) scale(0.95);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.modal-overlay.active .modal-card { transform: translateY(0) scale(1); }
.modal-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.5rem; }
.modal-card p { color: var(--text-secondary); margin-bottom: 1.5rem; font-size: 0.9rem; }
.modal-options { display: flex; flex-direction: column; gap: 0.75rem; }
.modal-option {
    display: flex; align-items: center; gap: 1rem;
    padding: 1rem; border-radius: var(--radius-md);
    border: 2px solid #E5E7EB;
    background: white; cursor: pointer;
    transition: all 0.3s ease; text-align: left;
}
.modal-option:hover { border-color: var(--cosmic-purple); background: var(--lavender-mist); transform: translateX(4px); }
.modal-option .opt-icon { font-size: 1.5rem; }
.modal-option .opt-text h4 { font-size: 0.9rem; font-weight: 600; }
.modal-option .opt-text span { font-size: 0.75rem; color: var(--text-muted); }
.modal-close {
    margin-top: 1rem; background: none; border: none;
    color: var(--text-muted); cursor: pointer;
    font-size: 0.85rem; padding: 0.5rem;
    transition: color 0.3s ease;
}
.modal-close:hover { color: var(--text-primary); }

/* Toast */
.toast {
    position: fixed; bottom: 2rem; left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--cosmic-dark); color: white;
    padding: 0.75rem 1.5rem; border-radius: var(--radius-full);
    font-size: 0.85rem; font-weight: 500;
    box-shadow: var(--shadow-xl);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1); z-index: 3000;
}
.toast.show { transform: translateX(-50%) translateY(0); }
