/**
 * Astroloji Haritası - Public Styles v5.2
 * Tema: Gece Mavisi (BG), Altın (Vurgu), Beyaz (Metin)
 */

:root {
    --astro-midnight: #ffffff;
    --astro-midnight-light: #fff5f7;
    --astro-gold: #ff007f;
    --astro-gold-bright: #ffb3c6;
    --astro-bg: #ffffff;
    --astro-surface: #fff5f7;
    --astro-border: rgba(255, 102, 153, 0.2);
    --astro-text: #f1f5f9;
}

.astro-auth-wrapper, .astro-account-wrapper, .astro-advanced-result, .astro-full-chart-container {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--astro-text);
    background: var(--astro-midnight);
}

.astro-pricing-wrapper {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    background: transparent;
}

/* ═══════════════════════════════════════════
   1. GENEL RESET & UNIFIED BACKGROUND
   ═══════════════════════════════════════════ */
.astro-advanced-result, .astro-chart-result {
    background: var(--astro-midnight) !important;
    padding: 60px 20px;
    border-radius: 40px;
}

.astro-section-title {
    color: var(--astro-gold) !important;
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    margin-bottom: 40px;
    text-align: center;
}

/* Element Dağılımı FIX */
.astro-element-row {
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.astro-element-label {
    width: 80px;
    color: #666666;
    font-weight: 600;
}

.astro-element-bar {
    flex: 1;
    height: 14px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 102, 153, 0.1);
}

.astro-element-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--astro-gold), var(--astro-gold-bright));
    border-radius: 10px;
    transition: width 1.5s cubic-bezier(0.1, 0, 0.3, 1);
}

.astro-element-count {
    width: 30px;
    color: var(--astro-gold);
    font-weight: 800;
    text-align: right;
}

/* Evler FIX */
.astro-houses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.astro-house-card {
    background: var(--astro-surface) !important;
    border: 1px solid var(--astro-border) !important;
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
}

.astro-house-card:hover {
    transform: translateY(-5px);
    border-color: var(--astro-gold);
    box-shadow: 0 10px 30px rgba(255, 102, 153, 0.1);
}

.astro-house-num {
    color: #666666;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
}

.astro-house-name {
    color: var(--astro-gold);
    font-size: 1.2rem;
    font-weight: 700;
    margin: 10px 0;
}

.astro-house-sign-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #333333;
}

.astro-house-sign-sym {
    color: var(--astro-gold);
    font-size: 1.4rem;
}

.astro-house-planets {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.astro-house-planets-label {
    display: block;
    font-size: 0.75rem;
    color: #64748b;
    margin-bottom: 5px;
}

.astro-house-planets-list {
    color: var(--astro-gold-bright);
    font-size: 0.9rem;
}

.astro-house-angular {
    background: linear-gradient(135deg, #fff5f7, #ffffff) !important;
    border-color: rgba(255, 102, 153, 0.4) !important;
}

/* Açısal Rozet */
.astro-house-angular-badge {
    background: var(--astro-gold);
    color: var(--astro-midnight);
    font-size: 0.65rem;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: 800;
}

/* Planet Cards (Gezegen Analizleri) */
.astro-planet-card {
    background: var(--astro-surface) !important;
    border: 1px solid var(--astro-border) !important;
    border-radius: 24px;
    padding: 30px;
    margin-bottom: 30px;
}

.astro-planet-name { color: var(--astro-gold) !important; }
.astro-planet-symbol { color: var(--astro-gold) !important; }
.astro-planet-pos { color: #666666 !important; }
.astro-interpretation-text, .astro-planet-interpretation { color: #333333 !important; }

/* ═══════════════════════════════════════════
   2. FIYAT TABLOSU (Premium Modern Cards)
   ═══════════════════════════════════════════ */
.astro-pricing-header {
    text-align: center;
    margin-bottom: 30px;
    padding: 0 20px;
}

.astro-pricing-title {
    color: var(--astro-gold) !important;
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.2;
}

.astro-pricing-subtitle {
    color: #666666;
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.astro-pricing-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    padding: 20px;
}

.astro-pricing-card {
    background: var(--astro-surface);
    border: 1px solid var(--astro-border);
    border-radius: 20px;
    padding: 25px 20px;
    flex: 1;
    min-width: 280px;
    max-width: 340px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    position: relative;
    border-top: 6px solid var(--astro-gold);
}

.astro-pricing-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 60px rgba(255, 102, 153, 0.15);
    border-color: var(--astro-gold);
}

.astro-pricing-card.featured {
    border-top-color: var(--astro-gold-bright);
    transform: scale(1.05);
    z-index: 2;
    background: #fff5f7;
}

.astro-pricing-card svg {
    width: 40px !important;
    height: 40px !important;
    margin-bottom: 15px;
    color: var(--astro-gold);
}

.astro-package-name {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 8px;
    color: var(--astro-gold);
}

.astro-package-price {
    font-size: 2.2rem;
    font-weight: 900;
    color: var(--astro-gold);
    margin-bottom: 15px;
}

.astro-package-desc {
    color: #666666;
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.5;
}

.astro-pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--astro-surface);
    color: #666666;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    border: 1px solid var(--astro-border);
}

.astro-pricing-badge.featured {
    background: var(--astro-gold);
    color: var(--astro-midnight);
    border: none;
}

.astro-package-features li {
    padding: 8px 0;
    font-size: 0.85rem;
    color: #666666;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.astro-package-features li svg {
    color: var(--astro-gold);
}

.astro-pricing-btn {
    display: block;
    width: 100%;
    padding: 12px;
    background: var(--astro-gold);
    color: var(--astro-midnight) !important;
    border-radius: 50px;
    text-decoration: none !important;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.astro-pricing-btn:hover {
    background: var(--astro-gold-bright);
    box-shadow: 0 10px 20px rgba(255, 102, 153, 0.3);
}

.astro-pricing-trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid var(--astro-border);
}

.astro-trust-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #666666;
    font-size: 1rem;
    font-weight: 500;
}

.astro-trust-item svg {
    color: var(--astro-gold);
}

/* ═══════════════════════════════════════════
   3. HESAP SAYFASI
   ═══════════════════════════════════════════ */
.astro-account-wrapper {
    max-width: 900px;
    margin: 40px auto;
    background: var(--astro-surface);
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.4);
    border: 1px solid var(--astro-border);
    overflow: hidden;
}

.astro-account-header {
    background: linear-gradient(135deg, var(--astro-midnight), #fff5f7);
    padding: 60px;
    color: #333333;
    border-bottom: 2px solid var(--astro-gold);
}

.astro-user-info h2 { color: var(--astro-gold); }
.astro-welcome-label { color: #333333; opacity: 0.8; }

.astro-membership-badge.premium {
    background: var(--astro-gold);
    color: var(--astro-midnight);
    padding: 6px 20px;
    border-radius: 50px;
    font-weight: 800;
}

/* ═══════════════════════════════════════════
   4. GİRİŞ FORMU
   ═══════════════════════════════════════════ */
.astro-auth-wrapper {
    max-width: 900px;
    margin: 40px auto 60px;
    background: var(--astro-surface);
    border: 1px solid var(--astro-border);
    border-radius: 30px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.4);
    overflow: hidden;
}

.astro-auth-container {
    display: flex;
    flex-direction: column;
}

@media (min-width: 768px) {
    .astro-auth-container {
        flex-direction: row;
    }
}

.astro-auth-header {
    background: linear-gradient(135deg, var(--astro-midnight), #fff5f7);
    padding: 50px 40px;
    border-bottom: 1px solid var(--astro-border);
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (min-width: 768px) {
    .astro-auth-header {
        border-bottom: none;
        border-right: 1px solid var(--astro-border);
    }
}

.astro-auth-header h3 {
    color: var(--astro-gold);
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    margin-bottom: 15px;
    line-height: 1.2;
}

.astro-auth-header p {
    color: #666666;
    font-size: 1.1rem;
    line-height: 1.6;
    margin: 0;
}

.astro-auth-content {
    flex: 1;
    padding: 0;
    background: var(--astro-surface);
}

.astro-auth-tabs {
    display: flex;
    background: var(--astro-midnight);
    border-bottom: 1px solid var(--astro-border);
}

.astro-auth-tab {
    flex: 1;
    background: none;
    border: none;
    padding: 20px;
    color: #64748b;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.astro-auth-tab:hover {
    color: #333333;
}

.astro-auth-tab.active {
    color: var(--astro-gold);
    border-bottom: 3px solid var(--astro-gold);
}

.astro-auth-panel {
    display: none;
    padding: 40px;
}

.astro-auth-panel.active {
    display: block;
}

.astro-form-group {
    margin-bottom: 20px;
}

.astro-form-group label {
    display: block;
    color: var(--astro-gold);
    margin-bottom: 8px;
    font-weight: 600;
}

.astro-form-group input { 
    width: 100%;
    padding: 14px;
    border-radius: 12px;
    background: var(--astro-midnight) !important; 
    border: 1px solid var(--astro-border) !important;
    color: #333333 !important;
}

.astro-form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    font-size: 0.9rem;
}

.astro-checkbox {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: #666666;
}

.astro-link {
    color: var(--astro-gold);
    text-decoration: none;
    transition: opacity 0.2s;
}

.astro-link:hover {
    opacity: 0.8;
}

.astro-btn-primary {
    background: var(--astro-gold) !important;
    color: var(--astro-midnight) !important;
    font-weight: 800 !important;
    padding: 16px;
    width: 100%;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.3s;
}

.astro-btn-primary:hover {
    background: var(--astro-gold-bright) !important;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 102, 153, 0.2);
}

.astro-form-note {
    font-size: 0.85rem;
    color: #64748b;
    margin-bottom: 20px;
    text-align: center;
}

/* Archive Table */
.astro-archive-table th {
    background: var(--astro-midnight);
    color: var(--astro-gold);
    border-bottom: 2px solid var(--astro-gold);
}

.astro-archive-table td {
    border-bottom: 1px solid var(--astro-border);
    color: var(--astro-text);
}

.astro-view-chart-btn {
    background: var(--astro-gold);
    color: var(--astro-midnight);
}

.astro-view-chart-btn:hover {
    background: var(--astro-gold-bright);
}

/* ═══════════════════════════════════════════
   5. HELENİSTİK ANALİZ BÖLÜMÜ
   ═══════════════════════════════════════════ */
.astro-hellenistic-section {
    margin-top: 60px;
    padding: 50px 0;
    border-top: 2px solid var(--astro-border);
}

.astro-hellen-block {
    margin-bottom: 50px;
}

.astro-hellen-subtitle {
    color: var(--astro-gold-bright);
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(196,157,90,0.2);
}

.astro-hellen-card {
    background: var(--astro-surface);
    border: 1px solid var(--astro-border);
    border-radius: 20px;
    padding: 24px 28px;
    margin-bottom: 16px;
    display: flex;
    align-items: flex-start;
    gap: 18px;
    transition: all 0.3s ease;
}

.astro-hellen-card:hover {
    border-color: var(--astro-gold);
    box-shadow: 0 8px 24px rgba(196,157,90,0.1);
}

.astro-hellen-card p {
    margin: 0;
    color: #333333;
    line-height: 1.7;
}

/* Kader Lotları */
.astro-lot-icon, .astro-node-icon {
    font-size: 2rem;
    flex-shrink: 0;
}
.astro-lot-fortune { border-left: 4px solid #c49d5a; }
.astro-lot-spirit  { border-left: 4px solid #8b5cf6; }
.astro-node-north  { border-left: 4px solid #06b6d4; }
.astro-node-south  { border-left: 4px solid #f59e0b; }

/* Profeksiyon */
.astro-profection-card {
    flex-direction: column;
    border-left: 4px solid #10b981;
}
.astro-profection-info {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 12px;
}
.astro-profection-house {
    background: #10b981;
    color: #333333;
    padding: 6px 16px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 0.9rem;
}
.astro-profection-lord {
    color: var(--astro-gold);
    font-weight: 700;
    font-size: 1rem;
}
.astro-profection-text { color: #333333 !important; }

/* Essential Dignities */
.astro-dignity-grid,
.astro-decan-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
}

.astro-dignity-card,
.astro-decan-card {
    background: var(--astro-surface);
    border: 1px solid var(--astro-border);
    border-radius: 16px;
    padding: 20px;
    transition: all 0.3s ease;
}

.astro-dignity-card:hover,
.astro-decan-card:hover {
    border-color: var(--astro-gold);
    transform: translateY(-3px);
}

.astro-dignity-planet,
.astro-decan-planet {
    color: var(--astro-gold);
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.astro-dignity-text,
.astro-decan-text {
    color: #666666;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ==========================================================================
   LOADING SPINNER & STATUS (COFFEE & PALMISTRY)
   ========================================================================== */
.astro-interpretation-loader {
    text-align: center;
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 250px;
}

.mystic-spinner {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 30px auto;
}

.mystic-spinner .spinner-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 4px solid rgba(212, 175, 55, 0.1);
    border-top: 4px solid var(--astro-gold);
    border-radius: 50%;
    animation: mysticSpin 1.5s cubic-bezier(0.68, -0.55, 0.265, 1.55) infinite;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}

.mystic-spinner .spinner-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: var(--astro-gold);
    border-radius: 50%;
    animation: mysticPulse 2s ease-in-out infinite;
    box-shadow: 0 0 30px var(--astro-gold);
}

.mystic-spinner::after {
    content: '✨';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 20px;
    z-index: 2;
    animation: mysticFloat 3s ease-in-out infinite;
}

.astro-status-text {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--astro-gold);
    margin-bottom: 12px;
    animation: mysticTextGlow 2s infinite alternate;
}

.astro-status-sub {
    font-size: 1.1rem;
    color: #666666;
    font-weight: 300;
    opacity: 0.9;
}

@keyframes mysticSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes mysticPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    50% { transform: translate(-50%, -50%) scale(0.5); opacity: 0.3; }
}

@keyframes mysticFloat {
    0%, 100% { transform: translate(-50%, -50%) rotate(0deg); }
    50% { transform: translate(-50%, -60%) rotate(15deg); }
}

@keyframes mysticTextGlow {
    0% { opacity: 0.7; text-shadow: none; }
    100% { opacity: 1; text-shadow: 0 0 15px rgba(212, 175, 55, 0.6); }
}
