/* --- ASTRA MASTER STYLE (V15.0 - SPACIOUS & PREMIUM) --- */

:root {
    --bg-deep: #0F1123; 
    --bg-nebula: #1A1D3A;
    --champagne-primary: #EBD5B3; 
    --champagne-bright: #FFF0D9;
    --champagne-text-gradient: linear-gradient(135deg, #F5E6D3 0%, #EBD5B3 60%, #C9B495 100%);
    --champagne-btn-gradient: linear-gradient(to bottom right, #EBD5B3, #C9B495);
    --text-white: #FAFAFA; 
    --text-muted: #B0B5C8;
    --glass-bg: rgba(30, 35, 60, 0.85);
    --glass-border: rgba(235, 213, 179, 0.25);
    --card-bg: rgba(255, 255, 255, 0.05);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background: radial-gradient(ellipse at bottom, var(--bg-nebula) 0%, var(--bg-deep) 100%);
    color: var(--text-white); font-family: 'Montserrat', sans-serif; font-weight: 300;
    min-height: 100vh; display: flex; justify-content: center; align-items: center;
    overflow-x: hidden; position: relative;
}

#starfield, .vignette-overlay, .aurora-glow { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.aurora-glow { opacity: 0.2; background: radial-gradient(circle at 30% 30%, rgba(100, 149, 237, 0.3), transparent 50%), radial-gradient(circle at 70% 70%, rgba(235, 213, 179, 0.2), transparent 50%); filter: blur(80px); animation: auroraMove 20s ease-in-out infinite alternate; }
@keyframes auroraMove { from { transform: translate(0, 0) rotate(0deg); } to { transform: translate(-5%, -5%) rotate(5deg); } }

.container { width: 92%; max-width: 440px; position: relative; z-index: 10; min-height: 95vh; display: flex; flex-direction: column; justify-content: flex-start; padding: 20px 0; }
.main-layout { padding-top: 3vh; }

/* HEADER */
header { text-align: center; margin-bottom: 30px; }
.logo-icon { font-size: 3rem; color: var(--champagne-primary); filter: drop-shadow(0 0 15px rgba(235, 213, 179, 0.5)); }
.brand-name { font-family: 'Cinzel', serif; font-size: 3.2rem; letter-spacing: 4px; background: var(--champagne-text-gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; font-weight: 600; margin: 5px 0; }
.subtitle { font-size: 0.9rem; letter-spacing: 3px; color: var(--text-muted); text-transform: uppercase; }

/* PANEL */
.glass-panel { background: var(--glass-bg); backdrop-filter: blur(30px); border: 1px solid var(--glass-border); padding: 30px; border-radius: 28px; width: 100%; box-shadow: 0 30px 60px rgba(0,0,0,0.6); margin-bottom: 25px; animation: fadeUp 0.7s ease-out; position: relative; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* FORMS */
.auth-title { font-family: 'Cinzel'; font-size: 1.8rem; text-align: center; margin-bottom: 10px; color: var(--text-white); }
.auth-sub { text-align: center; color: var(--text-muted); font-size: 0.9rem; margin-bottom: 30px; }
.input-wrapper { background: rgba(30, 35, 60, 0.5); border-radius: 20px; border: 1px solid rgba(235, 213, 179, 0.15); display: flex; align-items: center; padding: 16px 20px; margin-bottom: 20px; transition: 0.3s; }
.input-wrapper:focus-within { border-color: var(--champagne-primary); background: rgba(235, 213, 179, 0.08); }
.input-icon { color: var(--champagne-primary); font-size: 1.3rem; margin-right: 15px; opacity: 0.9; }
input, select { width: 100%; background: transparent; border: none; color: var(--text-white); font-family: 'Montserrat'; font-size: 1.05rem; outline: none; }
select option { background: var(--bg-deep); }
.btn-champagne { width: 100%; padding: 18px; background: var(--champagne-btn-gradient); border: none; color: #1a1a1a; font-weight: 700; border-radius: 25px; font-family: 'Cinzel'; letter-spacing: 1px; cursor: pointer; transition: 0.3s; box-shadow: 0 5px 15px rgba(0,0,0,0.2); margin-top: 15px; display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 1rem; }
.btn-champagne:hover { transform: translateY(-3px); box-shadow: 0 10px 25px rgba(235, 213, 179, 0.3); }
.auth-switch { text-align: center; margin-top: 25px; font-size: 0.9rem; color: var(--text-muted); }
.auth-switch span, .btn-text { color: var(--champagne-primary); cursor: pointer; text-decoration: underline; }
.btn-text { background: none; border: none; font-size: 0.9rem; width: 100%; padding: 10px; color: var(--text-muted); }
.date-group { display: flex; gap: 10px; } .flex-grow { flex: 1; }

/* DASHBOARD (PROFIL KARTI DÜZELTİLDİ) */
.dashboard-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 35px; }
.user-profile-header { display: flex; align-items: center; gap: 20px; }
.user-avatar { width: 60px; height: 60px; background: var(--champagne-btn-gradient); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 2rem; color: #1a1a1a; box-shadow: 0 5px 15px rgba(235, 213, 179, 0.3); }
.user-text { display: flex; flex-direction: column; gap: 8px; } /* İsim ve burç arası boşluk arttı */
.user-text h3 { font-size: 1.5rem; font-weight: 600; margin: 0; line-height: 1.2; color: var(--text-white); }
.user-sign-badge { background: rgba(235, 213, 179, 0.15); color: var(--champagne-primary); padding: 6px 14px; border-radius: 12px; font-size: 0.9rem; font-weight: 600; display: inline-flex; align-items: center; gap: 8px; border: 1px solid rgba(235, 213, 179, 0.3); width: fit-content; }
.icon-btn { background: rgba(255,255,255,0.1); border: none; width: 45px; height: 45px; border-radius: 50%; color: white; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: 0.3s; font-size: 1.2rem; }
.icon-btn:hover { background: var(--champagne-primary); color: #000; }

.cosmic-status-card { background: rgba(30, 35, 60, 0.6); border: 1px solid rgba(255, 255, 255, 0.1); border-radius: 20px; padding: 25px 20px; display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; }
.status-item { display: flex; align-items: center; gap: 12px; flex: 1; justify-content: center; flex-direction: column; text-align: center; }
.status-icon { font-size: 1.6rem; color: var(--champagne-primary); margin-bottom: 8px; }
.status-info { display: flex; flex-direction: column; gap: 4px; }
.status-label { font-size: 0.7rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 1px; }
.status-value { font-size: 1rem; font-weight: 600; color: var(--text-white); }
.divider { width: 1px; height: 40px; background: rgba(255, 255, 255, 0.1); }

.daily-affirmation-card { background: linear-gradient(to right, rgba(235, 213, 179, 0.08), rgba(0,0,0,0)); border-left: 3px solid var(--champagne-primary); border-radius: 15px; padding: 25px; margin-bottom: 30px; position: relative; }
.quote-icon { position: absolute; top: 15px; left: 20px; font-size: 2.2rem; color: var(--champagne-primary); opacity: 0.15; }
.daily-affirmation-card p { font-style: italic; font-size: 1rem; line-height: 1.7; position: relative; z-index: 1; }

.menu-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; margin-top: 30px; width: 100%; }
.menu-card { background: var(--card-bg); border: 1px solid rgba(255, 255, 255, 0.15); border-radius: 20px; padding: 25px 15px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; cursor: pointer; transition: all 0.3s ease; height: 175px; position: relative; overflow: hidden; }
.menu-card:hover { border-color: var(--champagne-primary); background: rgba(235, 213, 179, 0.1); transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.2); }
.icon-box { margin-bottom: 18px; display: flex; justify-content: center; align-items: center; height: 60px; width: 60px; }
.icon-box i { font-size: 3.5rem; color: var(--champagne-bright); text-shadow: 0 0 10px rgba(235, 213, 179, 0.6); transition: 0.3s; }
.menu-card:hover .icon-box i { transform: scale(1.1); text-shadow: 0 0 20px rgba(235, 213, 179, 0.8); }
.menu-card span { font-weight: 600; font-size: 1rem; display: block; margin-bottom: 5px; color: var(--text-white); }
.menu-card small { font-size: 0.75rem; color: var(--text-muted); }
.locked { opacity: 0.6; filter: grayscale(1); cursor: not-allowed; }

/* AŞK UYUMU (GENİŞLETİLDİ) */
.love-analysis-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(235, 213, 179, 0.15);
    border-radius: 15px;
    padding: 30px 25px;
    margin-top: 30px;
    text-align: left;
}
.love-list-title {
    color: var(--champagne-primary);
    font-family: 'Cinzel';
    font-size: 1.2rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 15px;
}
.love-list { list-style: none; padding: 0; margin: 0; }
.love-list li {
    font-size: 1rem;
    color: var(--text-white);
    margin-bottom: 18px; /* Maddeler arası boşluk */
    padding-left: 25px;
    position: relative;
    line-height: 1.8; /* Satır aralığı */
}
.love-list li::before {
    content: "✦";
    color: var(--champagne-primary);
    position: absolute;
    left: 0;
    top: 4px;
    font-weight: bold;
    font-size: 0.9rem;
}
.love-score-circle { width: 160px; height: 160px; border: 4px solid var(--champagne-primary); border-radius: 50%; display: flex; justify-content: center; align-items: center; margin: 0 auto; background: rgba(0,0,0,0.3); font-size: 3.8rem; font-weight: 700; font-family: 'Cinzel'; color: var(--champagne-primary); box-shadow: 0 0 40px rgba(235, 213, 179, 0.2); }

/* TAROT */
.deck-fan { height: 380px; position: relative; margin: 30px auto; width: 100%; display: flex; justify-content: center; align-items: flex-end; perspective: 1000px; }
.deck-card { width: 90px; height: 150px; background: linear-gradient(135deg, #1F243A, #151828); border: 1px solid var(--champagne-primary); border-radius: 12px; position: absolute; bottom: 30px; transform-origin: bottom center; box-shadow: -5px 0 15px rgba(0,0,0,0.6); cursor: pointer; transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); background-image: url('https://www.transparenttextures.com/patterns/stardust.png'); }
.deck-card:hover { bottom: 80px; z-index: 1000 !important; transform: scale(1.2) !important; box-shadow: 0 0 30px var(--champagne-primary); border-color: #fff; }
.reveal-stage { height: 320px; display: flex; justify-content: center; align-items: center; perspective: 1000px; margin-bottom: 25px; }
.tarot-card-large { width: 180px; height: 300px; position: relative; transform-style: preserve-3d; transition: transform 1s; }
.tarot-card-large.flipped { transform: rotateY(180deg); }
.card-inner { width: 100%; height: 100%; position: relative; transform-style: preserve-3d; }
.card-front, .card-back { position: absolute; width: 100%; height: 100%; backface-visibility: hidden; border-radius: 15px; box-shadow: 0 15px 40px rgba(0,0,0,0.6); border: 2px solid var(--champagne-primary); }
.card-back { background: linear-gradient(135deg, #1a1a1a, #2a2a2a); background-image: url('https://www.transparenttextures.com/patterns/stardust.png'); }
.card-front { transform: rotateY(180deg); background-size: cover; background-position: center; }
.champagne-title-large { font-family: 'Cinzel'; font-size: 1.8rem; color: var(--champagne-primary); text-align: center; margin-bottom: 25px; }
.deep-interpretation-box { background: rgba(255, 255, 255, 0.03); border: 1px solid rgba(235, 213, 179, 0.15); border-radius: 20px; padding: 30px 20px; text-align: left; margin-bottom: 30px; }
.interpretation-header { color: var(--champagne-primary); font-family: 'Cinzel'; font-size: 1.1rem; margin-bottom: 10px; margin-top: 25px; display: flex; align-items: center; gap: 10px; border-bottom: 1px solid rgba(235, 213, 179, 0.1); padding-bottom: 5px; }
.interpretation-paragraph { font-size: 0.95rem; line-height: 1.8; color: #E0E0E0; margin-bottom: 15px; text-align: justify; }
.zodiac-special-box { background: linear-gradient(to right, rgba(235, 213, 179, 0.1), rgba(0,0,0,0)); border-left: 4px solid var(--champagne-primary); padding: 15px; margin-top: 20px; border-radius: 0 10px 10px 0; }
.zodiac-special-title { font-weight: bold; color: var(--champagne-bright); margin-bottom: 5px; font-size: 0.9rem; text-transform: uppercase; }

/* RÜYA & NUMEROLOJİ (BOŞLUKLAR) */
.dream-input-box { background: rgba(30, 35, 60, 0.6); border: 1px solid rgba(235, 213, 179, 0.2); border-radius: 20px; padding: 25px; margin-bottom: 25px; margin-top: 20px; transition: 0.3s; position: relative; } /* margin-top eklendi */
.dream-input-box:focus-within { border-color: var(--champagne-primary); background: rgba(235, 213, 179, 0.05); }
.dream-icon-label { display: flex; align-items: center; gap: 10px; color: var(--champagne-primary); font-family: 'Cinzel'; font-size: 1rem; margin-bottom: 15px; border-bottom: 1px solid rgba(255,255,255,0.1); padding-bottom: 10px; }
.dream-textarea { width: 100%; background: transparent; border: none; color: var(--text-white); font-family: 'Montserrat'; font-size: 1rem; line-height: 1.6; outline: none; resize: none; height: 140px; }

/* CHAT (YENİLENDİ) */
.chat-window { height: 75vh; display: flex; flex-direction: column; background: rgba(0,0,0,0.3); border-radius: 25px; border: 1px solid var(--glass-border); overflow: hidden; backdrop-filter: blur(10px); }
.chat-messages { flex-grow: 1; overflow-y: auto; padding: 25px; display: flex; flex-direction: column; gap: 20px; scroll-behavior: smooth; }
.msg { padding: 18px 24px; border-radius: 24px; font-size: 1rem; line-height: 1.6; max-width: 80%; position: relative; box-shadow: 0 5px 15px rgba(0,0,0,0.2); }
.msg-bot { background: rgba(255, 255, 255, 0.08); color: var(--text-white); border-bottom-left-radius: 4px; align-self: flex-start; border-left: 3px solid var(--champagne-primary); }
.msg-user { background: var(--champagne-btn-gradient); color: #1a1a1a; border-bottom-right-radius: 4px; align-self: flex-end; font-weight: 600; }
.chat-input-area { padding: 20px; background: rgba(15, 17, 35, 0.95); border-top: 1px solid var(--glass-border); display: flex; gap: 15px; align-items: center; }
.chat-input-area input { background: rgba(255,255,255,0.08); border-radius: 30px; padding: 18px 25px; border: 1px solid rgba(255,255,255,0.1); flex-grow: 1; color: white; font-family: 'Montserrat'; font-size: 1rem; }
.chat-send-btn { width: 55px; height: 55px; background: var(--champagne-btn-gradient); border-radius: 50%; border: none; color: #1a1a1a; cursor: pointer; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; transition: 0.3s; }
.chat-send-btn:hover { transform: scale(1.1); box-shadow: 0 0 20px var(--champagne-primary); }

/* HELPERS */
.hidden { display: none !important; }
.top-nav { display: flex; justify-content: space-between; align-items: center; margin-bottom: 30px; padding-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,0.05); }
.back-btn { background: rgba(255,255,255,0.05); border: none; width: 45px; height: 45px; border-radius: 50%; color: white; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: 0.3s; }
.page-title { font-family: 'Cinzel'; color: var(--champagne-primary); font-size: 1.4rem; font-weight: 600; }
.topic-grid { display: flex; flex-direction: column; gap: 18px; }
.topic-card { background: rgba(255,255,255,0.03); border: 1px solid rgba(235, 213, 179, 0.2); padding: 25px; border-radius: 20px; display: flex; align-items: center; gap: 20px; cursor: pointer; transition: 0.3s; }
.topic-card:hover { background: rgba(235, 213, 179, 0.1); transform: scale(1.02); border-color: var(--champagne-primary); }
.topic-icon { font-size: 2.2rem; color: var(--champagne-primary); background: rgba(235, 213, 179, 0.1); width: 70px; height: 70px; border-radius: 50%; display: flex; justify-content: center; align-items: center; flex-shrink: 0; }
.topic-content h4 { font-weight: 600; font-size: 1.2rem; margin-bottom: 5px; color: var(--text-white); }
.topic-content p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.5; }
.instruction-text { text-align: center; color: var(--text-white); margin-bottom: 35px; font-size: 1.1rem; opacity: 0.9; line-height: 1.6; }
.loading-pulse { animation: pulse 1.5s infinite; text-align: center; color: var(--text-muted); margin: 30px 0; }
@keyframes pulse { 0% { opacity: 0.6; } 50% { opacity: 1; } 100% { opacity: 0.6; } }