/* ==========================================================================
   1. GENEL AYARLAR VE SCROLLBAR
   ========================================================================== */
   body {
    margin: 0;
    background: #010208;
    overflow: hidden;
    font-family: 'Inter', sans-serif;
    color: #fff;
}

/* --- GENEL SCROLLBAR --- */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}
::-webkit-scrollbar-thumb {
    background: #d4af37;
    border-radius: 3px;
}

/* ==========================================================================
   2. ARKA PLAN VE MANİFESTO SİSTEMİ
   ========================================================================== */
#manifesto-container {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1; 
    pointer-events: none;
    display: none;
    mix-blend-mode: screen;
}

.manifesto-video {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
}

.manifesto-video.active {
    opacity: 0.9; 
}

/* ==========================================================================
   3. SPLASH (INTRO) VE GİRİŞ EKRANI
   ========================================================================== */
/* --- MANIFESTO STİLİ (Giriş Ekranı İçin) --- */
#captain-manifesto {
    max-width: 500px;
    margin: 25px auto;
    font-family: 'Georgia', serif;
    font-style: italic;
    font-size: 0.9rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.6);
    text-align: center;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    padding: 15px 0;
    opacity: 0; /* JS ile yavaşça belirecek */
    transition: opacity 2s ease-in-out;
    letter-spacing: 1px;
}

#captain-manifesto span {
    color: #d4af37; /* Önemli vurgu (Exabyte/81 Years) */
    font-weight: bold;
}
   
/* --- SPLASH SCREEN --- */
#splash {
    position: absolute;
    width: 100%; height: 100%;
    background: #010208;
    display: none;
    flex-direction: column;
    justify-content: center; align-items: center;
    z-index: 4500;
    transition: opacity 2s ease;
}

.start-btn-style {
    padding: 18px 45px;
    border: 1px solid #d4af37;
    background: transparent;
    color: #d4af37;
    font-family: 'Georgia', serif;
    font-style: italic;
    cursor: pointer;
    letter-spacing: 5px;
    transition: 0.5s;
    font-size: 1.2rem;
    z-index: 4600;
    text-align: center;
    border-radius: 50px;
}

.start-btn-style:hover {
    background: #d4af37; color: #000;
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.4);
}

#skip-btn {
    position: absolute;
    bottom: 30px; right: 40px;
    color: rgba(212, 175, 55, 0.4);
    font-size: 0.65rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    cursor: pointer;
    transition: 0.3s;
    border-bottom: 1px solid transparent;
    z-index: 4600;
}

#skip-btn:hover {
    color: #d4af37; border-bottom-color: #d4af37;
}

/* --- GİRİŞ EKRANI (INPUT SCREEN) --- */
#input-screen {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at center, #1b2735 0%, #090a0f 100%);
    display: flex;
    flex-direction: column;
    justify-content: center; align-items: center;
    z-index: 1000;
    font-family: 'Courier New', monospace;
    transition: opacity 1s ease;
}

#input-main-title {
    font-family: 'Courier New', monospace;
    font-size: 2.5rem;
    color: #d4af37;
    letter-spacing: 5px;
    font-weight: bold;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
    margin-bottom: 5px;
    text-align: center;
}

#input-sub-question {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: #00c6ff;
    opacity: 0.7;
    margin-bottom: 30px;
    letter-spacing: 2px;
    text-align: center;
}

/* Logo & Avatar */
.avatar-image {
    width: 220px; height: 220px;
    border-radius: 50%;
    border: 3px solid rgba(255, 255, 255, 0.1);
    filter: sepia(80%) grayscale(40%) brightness(0.7);
    transition: all 0.8s ease;
    cursor: pointer;
    margin-bottom: 20px;
}

#input-screen.active .avatar-image, 
.avatar-container:hover .avatar-image {
    filter: sepia(0%) grayscale(0%) brightness(1.1);
    border-color: #d4af37;
    box-shadow: 0 0 40px rgba(212, 175, 55, 0.3);
    transform: scale(1.05);
}

.input-logo {
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 20px;
    animation: pulse 4s infinite ease-in-out;
}

/* Yıl Girişi */
#year-input {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    width: 140px;      
    font-size: 2.5rem;   
    letter-spacing: 5px;
    text-align: center;
    outline: none;
    font-family: 'Courier New', monospace;
    transition: border-color 0.3s;
    font-weight: bold;
}

#year-input::placeholder {
    color: rgba(255, 255, 255, 0.1);
    font-size: 1rem;
}

/* Sayı oklarını gizle */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
input[type=number] { -moz-appearance: textfield; }

#submit-btn {
    margin-top: 30px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 15px 40px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    letter-spacing: 3px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

#submit-btn:hover {
    border-color: #00c6ff; color: #00c6ff;
    box-shadow: 0 0 15px rgba(0, 198, 255, 0.2);
}

#voyage-duration-msg {
    position: absolute; 
    top: 15%; left: 0; width: 100%;
    text-align: center;
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    letter-spacing: 2px;
    color: #fff;
    opacity: 0;
    transition: all 0.8s ease;
    z-index: 1100;
    pointer-events: none;
}

#voyage-duration-msg::after {
    content: '|'; color: #d4af37;
    animation: blinkMsg 1s infinite;
    margin-left: 5px;
}

/* ==========================================================================
   4. NAVİGASYON (SAĞ VE SOL MENÜLER)
   ========================================================================== */

/* --- SAĞ MENÜ (#nav-menu) --- */
#nav-menu {
    position: absolute;
    right: 50px; top: 50%;
    transform: translateY(-50%);
    display: flex; flex-direction: column;
    gap: 30px;
    opacity: 0;
    transition: opacity 1s ease;
    pointer-events: auto;
    z-index: 5000;
}

.nav-item {
    text-align: right;
    cursor: pointer;
    transition: 0.4s;
    padding-right: 20px;
    border-right: 2px solid transparent;
    
    /* --- EKLENECEK KISIM BAŞLANGIÇ --- */
    display: flex;            /* Kutuyu esnek yap */
    flex-direction: column;   /* İÇİNDEKİLERİ ZORLA ALT ALTA DİZ (ÇÖZÜM BU) */
    align-items: flex-end;    /* Her şeyi sağa yasla */
    /* --- EKLENECEK KISIM BİTİŞ --- */
}

.nav-item:hover {
    border-right-color: #ff3366;
    transform: translateX(-10px);
}

.nav-name {
    font-size: 1rem; letter-spacing: 4px;
    color: #d4af37; text-transform: uppercase;
}

.nav-desc {
    font-size: 0.65rem; letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.5); font-style: italic;
    display: block;
}

/* 1. Yedek Yapıyı Koru (Alt alta duruşu garanti eder) */
#nav-wisdom {
    display: none; /* JS ile login olunca açılacak */
    padding: 12px 20px;
    border: none !important; /* İstediğin çerçevesiz yapı */
    background: transparent;
    transition: all 0.6s cubic-bezier(0.19, 1, 0.22, 1);
    position: relative;
    overflow: hidden;
    text-align: right;
}

//* --- YENİ: KAPTAN GİRİŞ YAPINCA UYANAN MENÜ (MAVİ) --- */
#nav-wisdom.wisdom-unlocked {
    display: flex !important; /* Görünür yap */
    
    /* MAVİ Çizgi (#00c6ff) */
    border-right-color: #00c6ff !important;
    
    /* Hafif Mavi Arka Plan Geçişi */
    background: linear-gradient(to left, rgba(0, 198, 255, 0.15), transparent);
    
    /* Giriş Animasyonu */
    animation: sealUnlock 1.5s ease-out forwards;
}

/* Başlık Rengi: MAVİ */
#nav-wisdom.wisdom-unlocked .nav-name {
    color: #00c6ff !important;
    text-shadow: 0 0 10px rgba(0, 198, 255, 0.6);
}

/* Alt Yazı Rengi: BU DA MAVİ */
#nav-wisdom.wisdom-unlocked .nav-desc {
    color: rgba(0, 198, 255, 0.8) !important; /* Hafif transparan mavi */
    font-style: italic;
}

/* Animasyon: Sağdan Mavi Parlayarak Gelir */
@keyframes sealUnlock {
    0% {
        opacity: 0;
        transform: translateX(30px);
        box-shadow: 0 0 0 rgba(0, 198, 255, 0);
    }
    50% {
        opacity: 1;
        box-shadow: 0 0 30px rgba(0, 198, 255, 0.3); /* Mavi Parlama */
    }
    100% {
        opacity: 1;
        transform: translateX(0);
        box-shadow: none;
    }
}

/* --- SOL MENÜ (#shore-tabs) --- */
#shore-tabs {
    position: fixed;
    left: 60px; top: 50%;
    transform: translateY(-50%);
    display: flex; flex-direction: column;
    gap: 30px;
    z-index: 2000;
    opacity: 0; 
    pointer-events: none;
    transition: opacity 0.5s ease, top 0.8s ease-in-out;
}

.shore-btn {
    pointer-events: auto;
    background: transparent;
    border: 1px solid;
    margin: 0;
    width: 270px;
    text-align: center;
    padding: 15px 0;
    cursor: pointer;
    letter-spacing: 3px;
    font-size: 0.75rem;
    transition: all 0.4s ease;
    text-transform: uppercase;
    border-radius: 50px;
}

/* Sol Menü Renkleri */
.shore-gold { border-color: #d4af37; color: #d4af37; }
.shore-gold:hover, .shore-active-gold { background: #d4af37; color: #000; box-shadow: 0 0 25px #d4af37; }

.shore-red { border-color: #ff2d55; color: #ff2d55; }
.shore-red:hover, .shore-active-red { background: #ff2d55; color: #fff; box-shadow: 0 0 25px #ff2d55; }

.shore-blue { border-color: #00c6ff; color: #00c6ff; }
.shore-blue:hover, .shore-active-blue { background: #00c6ff; color: #000; box-shadow: 0 0 25px #00c6ff; }

.shore-purple { border-color: #9d4edd; color: #9d4edd; }
.shore-purple:hover, .shore-active-purple { background: #9d4edd; color: #000; box-shadow: 0 0 25px #9d4edd; }

.shore-jade { border-color: #00b894; color: #00b894; font-weight: bold; }
.shore-jade:hover, .shore-active-jade { background: #00b894; color: #000; box-shadow: 0 0 25px #00b894; }

.btn-faded { opacity: 0.3; transform: scale(0.95); }

/* --- [YENİ] KALP MENÜSÜ (#heart-tabs) --- */
/* Yapısı shore-tabs ile aynıdır, sadece Kalp modunda görünür */
#heart-tabs {
    position: fixed;
    left: 60px; top: 50%;
    transform: translateY(-50%);
    display: flex; flex-direction: column;
    gap: 30px;
    z-index: 2000;
    opacity: 0; 
    pointer-events: none;
    transition: opacity 0.5s ease, top 0.8s ease-in-out;
}

/* --- [YENİ] AMBER RENGİ (The Lighthouse) --- */
.shore-amber { border-color: #ff9f43; color: #ff9f43; }
.shore-amber:hover, .shore-active-amber { 
    background: #ff6c43; 
    color: #000; 
    box-shadow: 0 0 25px #ff9f43; 
}

/* --- [GÜNCEL] LOVE IS ELSE (Kozmik Font & Gradyan) --- */
.shore-love {
    /* Görünürlük Ayarları */
    border: 1px solid #d63384 !important; 
    color: #d63384 !important;
    background: transparent;
    
    /* --- YENİ FONT AYARLARI --- */
    font-family: 'Sacramento', cursive !important; /* İşte o 'Else' duygusu */
    font-size: 1.1rem !important; /* El yazısı olduğu için biraz büyüttük */
    letter-spacing: 2px; /* Harfler birbirine aşkla bağlansın */
    
    position: relative;
    overflow: hidden;
    transition: all 0.5s ease;
    box-shadow: 0 0 10px rgba(214, 51, 132, 0.2); 
}

/* Hover Efekti (Neon Patlama) */
.shore-love:hover, .shore-active-love {
    border-color: transparent !important; 
    color: #fff !important;
    
    /* Pembeden Maviye ve Mora Kozmik Geçiş */
    background: linear-gradient(135deg, #ff00cc 0%, #3333ff 100%) !important;
    
    /* Neon Parlama */
    box-shadow: 0 0 30px rgba(255, 0, 204, 0.8), 
                0 0 60px rgba(51, 51, 255, 0.6) !important;
                
    transform: scale(1.1) rotate(-2deg); /* Hafifçe büyüsün ve "heyecanla" eğilsin */
    font-weight: normal; /* Bu fontta kalınlık gerekmez, kendisi zarif */
}

/* ==========================================================================
   THE GOLDEN HEART (Clean Shore Style)
   ========================================================================== */

   #btn-golden {
    /* 1. Temel Görünüm (Lighthouse ile Aynı) */
    background: transparent !important;
    border: 1px solid #d4af37 !important; /* Altın Çerçeve */
    color: #d4af37 !important;           /* Altın Yazı */
    
    /* 2. Font ve Hizalama (Standart) */
    font-family: inherit !important;     /* Sayfanın genel fontunu kullan */
    font-size: 0.75rem !important;       /* Diğer butonlarla aynı boyut */
    font-style: normal !important;       /* İtalik değil, dik */
    font-weight: normal !important;      /* Ekstra kalınlık yok */
    letter-spacing: 3px;                 /* Harf aralığı standart */
    text-transform: uppercase;
    
    /* 3. Kutu Yapısı */
    padding: 15px 0;
    width: 270px;                        /* Standart genişlik */
    border-radius: 50px;                 /* Standart yuvarlaklık */
    margin: 0;
    cursor: pointer;
    
    /* 4. Animasyon Temizliği (Eskileri siler) */
    animation: none !important;
    box-shadow: none !important;
    transition: all 0.4s ease;
}

/* HOVER DURUMU (Üzerine Gelince) */
#btn-golden:hover {
    background: #f3bb04 !important;      /* İçi Altın Dolsun */
    color: #000 !important;              /* Yazı Siyah Olsun */
    box-shadow: 0 0 25px #d4af37 !important; /* Altın Parlama */
    border-color: transparent !important;
    
    transform: translateY(-2px) !important; /* Hafif yukarı kalksın */
}

/* Varsa eski süslü efektleri (ışık huzmesi vb.) yok et */
#btn-golden::before, 
#btn-golden::after {
    content: none !important;
    display: none !important;
}

/* ==========================================================================
   5. ANA ARAYÜZ ELEMANLARI
   ========================================================================== */

/* --- UI OVERLAY & INTRO KAPLAMA --- */
#ui-overlay {
    position: absolute;
    width: 100%; height: 100%;
    display: flex; flex-direction: column;
    justify-content: center; align-items: center;
    z-index: 1000;
    pointer-events: none;
    visibility: hidden;
}

#intro-container {
    position: absolute;
    top: 40%; left: 50%;
    transform: translate(-50%, -50%);
    display: flex; flex-direction: column;
    align-items: center;
    transition: opacity 1s ease;
    z-index: 1001;
    width: 90%;
}

/* --- YOLCULUK SAYACI (TIMER) --- */
#voyage-timer {
    position: fixed;
    top: 15%; left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    font-family: 'Courier New', monospace;
    font-size: 1.5rem;
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 198, 255, 0.8);
    background: rgba(0, 0, 0, 0.3);
    padding: 10px 20px;
    border-radius: 8px;
    letter-spacing: 2px;
    display: none;
}

#main-countdown {
    position: fixed;
    top: 25px; left: 50%;
    transform: translateX(-50%);
    width: 100%; text-align: center;
    opacity: 0; pointer-events: none;
    z-index: 9000;
    font-size: 0.95rem;
}

/* --- COUNTDOWN STİLLERİ --- */
.countdown-base {
    /* --- KONUMLANDIRMA --- */
    width: 100%;             /* Genişliği serbest bırak, KESİLMESİN */
    display: flex;           /* Esnek kutu */
    justify-content: center; /* Tam ortaya hizala */
    margin-top: 10px;        /* Barın az altı */
    
    /* --- ZORLA TEK SATIR --- */
    white-space: nowrap;     /* Alt satıra düşmek yasak */
    
    /* --- SIKIŞTIRMA OPERASYONU --- */
    font-family: 'Courier New', monospace;
    font-size: 1.0rem;       /* Yazıyı iyice ufalt (8px civarı) */
    letter-spacing: -0.5px;  /* Harfleri birbirine yaklaştır (Compact Mode) */
    font-weight: bold;
    
    /* --- RENK VE EFEKT --- */
    background: linear-gradient(90deg, #00c6ff 0%, #9d4edd 50%, #ff2d55 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 5px rgba(157, 78, 221, 0.5));
    
    text-transform: uppercase;
}

#intro-countdown {
    opacity: 1; transition: opacity 1s;
}

.countdown-loading-pos {
    top: 55% !important;
    opacity: 1 !important;
    transition: opacity 0.5s ease !important;
}

.countdown-top-pos {
    top: 25px !important;
    opacity: 1 !important;
    transition: top 1.5s cubic-bezier(0.19, 1, 0.22, 1), opacity 1s ease !important;
}

/* --- QUANTUM BOX --- */
#quantum-box {
    position: absolute;
    width: 35%; left: 5%; bottom: 12%;
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
    z-index: 1000;
}

.quantum-text {
    font-family: 'Inter', sans-serif;
    font-size: 1rem; line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);
    text-align: left;
}

.highlight {
    color: #ff2d55; font-weight: 600;
    text-shadow: 0 0 10px rgba(255, 45, 85, 0.3);
}

#star-label {
    position: absolute; display: none;
    background: rgba(0, 0, 0, 0.6);
    color: #fff; padding: 8px 12px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-family: sans-serif; font-size: 14px;
    pointer-events: none; z-index: 100;
    backdrop-filter: blur(4px);
    transition: opacity 0.2s;
}

/* ==========================================================================
   6. İÇERİK PANELLERİ (OKUMA, ÇANTA, TERMİNAL)
   ========================================================================== */
/* --- THE SHORE MANİFESTO ANİMASYONU --- */
.shore-manifesto-wrapper {
    padding: 30px 0;
    margin-bottom: 30px;
    border-bottom: 1px dashed rgba(212, 175, 55, 0.2);
    text-align: center;
}

.manifesto-line {
    font-family: 'Georgia', serif;
    font-style: italic;
    font-size: 1.1rem;
    color: #d4af37;
    margin: 12px 0;
    opacity: 0;
    transform: translateY(15px);
    transition: all 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}

/* Panel aktif olduğunda tetiklenecek sınıflar */
.pane-active .m-line-1 { opacity: 0.8; transform: translateY(0); transition-delay: 0.3s; }
.pane-active .m-line-2 { opacity: 0.8; transform: translateY(0); transition-delay: 1.3s; }
.pane-active .m-line-3 { 
    opacity: 1; 
    transform: translateY(0); 
    transition-delay: 2.3s; 
    font-weight: bold; 
    border-top: 1px solid rgba(255,255,255,0.05);
    padding-top: 15px;
    letter-spacing: 2px;
}

   
#shore-reading-pane {
    position: absolute;
    width: 70%; height: 85%;
    left: 50%; transform: translateX(-50%);
    bottom: -90%;
    
    background: rgba(0, 0, 0, 0.4); 
    backdrop-filter: none;
    
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-top: 3px solid #d4af37;
    border-radius: 25px 25px 0 0;
    padding: 40px;
    box-shadow: 0 -10px 50px rgba(0, 0, 0, 0.5);
    transition: bottom 1.2s cubic-bezier(0.19, 1, 0.22, 1), opacity 1s;
    opacity: 0;
    overflow-y: auto;
    z-index: 3000;
    display: none;
    flex-direction: column;
    gap: 5px;
    pointer-events: auto;
    box-sizing: border-box;
}

/* YAZILARIN OKUNMASI İÇİN GÜÇLÜ GÖLGE ŞART */
/* Arka plan şeffaf olduğu için yazıyı öne çıkarmalıyız */
#pane-content, #pane-title, .manifesto-line {
    text-shadow: 0 0 5px rgba(0,0,0, 0.8), 0 0 10px rgba(0,0,0, 1) !important;
}

#pane-content p {
    background: transparent !important; /* Paragraf arkası temiz olsun */
}

#shore-reading-pane::-webkit-scrollbar { width: 6px; }
#shore-reading-pane::-webkit-scrollbar-track { background: transparent; margin: 25px 0; }
#shore-reading-pane::-webkit-scrollbar-thumb { background: rgba(212, 175, 55, 0.5); border-radius: 10px; transition: background 0.3s; }
#shore-reading-pane::-webkit-scrollbar-thumb:hover { background: #d4af37; box-shadow: 0 0 10px #d4af37; }

.pane-header-row {
    display: flex; justify-content: space-between; align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 15px; margin-bottom: 20px;
}

#pane-title {
    font-family: 'Georgia', serif; font-size: 2rem;
    color: #d4af37; font-style: italic; margin: 0; flex: 1;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9), 0 0 20px rgba(0, 0, 0, 0.8);
}

#pane-content {
    font-family: 'Inter', sans-serif; font-size: 1rem; line-height: 1.8;
    color: #fff; text-shadow: 0 1px 2px #000, 0 0 15px rgba(0, 0, 0, 0.8);
}

#pane-content h3 {
    color: #d4af37; font-family: 'Georgia', serif; font-size: 1.2rem;
    margin-top: 30px; margin-bottom: 10px;
    font-weight: normal; font-style: italic;
    border-left: 2px solid rgba(212, 175, 55, 0.5); padding-left: 10px;
    text-shadow: 0 2px 4px #000;
}

#pane-content p { margin-bottom: 15px; text-align: justify; }

#pane-content blockquote {
    margin: 20px 40px; padding: 10px 20px;
    border-left: 3px solid #ff2d55;
    background: rgba(0, 0, 0, 0.2);
    font-style: italic; color: rgba(255, 255, 255, 0.9);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

#pane-content img, #pane-content video {
    width: 100%; margin-bottom: 20px;
    opacity: 0.85;
    -webkit-mask-image: radial-gradient(ellipse at center, black 50%, transparent 100%);
    mask-image: radial-gradient(ellipse at center, black 50%, transparent 100%);
    transition: all 0.6s ease; border-radius: 10px;
}

#pane-content img:hover, #pane-content video:hover {
    opacity: 1;
    -webkit-mask-image: radial-gradient(ellipse at center, black 70%, transparent 100%);
    mask-image: radial-gradient(ellipse at center, black 70%, transparent 100%);
    transform: scale(1.02); cursor: pointer;
}

#pane-close {
    align-self: flex-start; margin-top: 20px;
    background: transparent; border: 1px solid #555;
    color: #999; padding: 10px 25px;
    cursor: pointer; text-transform: uppercase;
    letter-spacing: 2px; font-size: 0.6rem;
    transition: 0.3s;
}

#pane-close:hover {
    border-color: #00c6ff; color: #00c6ff;
    box-shadow: 0 0 15px rgba(0, 198, 255, 0.2);
}

/* --- ÇANTA (KNAPSACK) --- */
#knapsack-display {
    position: absolute; width: 60%;
    top: 25%; left: 20%;
    display: flex; flex-direction: column; align-items: center;
    opacity: 0; transition: opacity 1.5s ease;
    pointer-events: none; z-index: 2000;
}

#savepoint-notion {
    font-family: 'Georgia', serif; font-style: italic;
    font-size: 2rem; color: #d4af37;
    text-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
    margin-bottom: 40px; text-align: center;
    transition: opacity 0.8s; opacity: 0;
    min-height: 50px; width: 100%;
}

.kn-controls {
    display: flex; gap: 20px;
    flex-wrap: wrap; justify-content: center;
}

.kn-btn {
    pointer-events: auto;
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.5);
    color: #d4af37; padding: 12px 30px;
    cursor: pointer; letter-spacing: 3px;
    font-size: 0.7rem; transition: 0.4s;
    text-transform: uppercase; margin: 5px;
    border-radius: 50px;
}

.kn-btn:hover { background: #d4af37; color: #000; box-shadow: 0 0 20px #d4af37; }

.seal-btn { border-color: #ff2d55; color: #ff2d55; }
.seal-btn:hover { background: #ff2d55; color: #fff; box-shadow: 0 0 20px #ff2d55; }

.deeper-btn { border-color: #00c6ff; color: #00c6ff; }
.deeper-btn:hover { background: #00c6ff; color: #000; box-shadow: 0 0 20px #00c6ff; }

/* --- DEEPER PANEL (DERİNLİK ANALİZİ) --- */
#deeper-panel {
    position: relative; width: 65%; 
    margin: 60px auto 0 auto; 
    padding: 25px;
    background: rgba(1, 2, 8, 0.6);
    border-top: 2px solid #00c6ff;
    border-bottom: 1px solid rgba(0, 198, 255, 0.2);
    opacity: 0; transition: 1s;
    pointer-events: none; text-align: center;
    display: none;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9);
    z-index: 2500; border-radius: 0 0 15px 15px;
}

.ai-label {
    color: #00c6ff; font-size: 0.6rem;
    letter-spacing: 3px; text-transform: uppercase;
    margin-bottom: 15px; display: inline-block;
    border-bottom: 1px solid rgba(0, 198, 255, 0.3);
    padding-bottom: 5px;
}

#ai-analysis {
    font-family: 'Courier New', monospace; 
    font-size: 0.85rem; line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    text-align: left;
}

/* --- DIALOGUES TERMINAL --- */
#dialogue-terminal {
    position: absolute;
    top: 15%; left: 15%; width: 70%;
    font-family: 'Courier New', monospace;
    color: #fff;
    display: none; flex-direction: column;
    pointer-events: auto; z-index: 2000;
    opacity: 0; transition: opacity 1s;
}

.term-header {
    color: #888; font-size: 0.8rem;
    letter-spacing: 2px; margin-bottom: 15px;
    padding-left: 5px;
}

#term-tabs {
    display: flex; gap: 15px;
    margin-bottom: 50px; pointer-events: auto;
}

.term-tab {
    background: transparent;
    border: 1px solid rgba(0, 198, 255, 0.3);
    color: rgba(0, 198, 255, 0.6);
    font-family: 'Courier New', monospace;
    font-size: 0.7rem; padding: 5px 15px;
    cursor: pointer; transition: all 0.3s;
    letter-spacing: 1px;
    border-radius: 20px;
}

.term-tab:hover {
    border-color: #d4af37; color: #d4af37;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
}

.active-tab {
    background: rgba(0, 198, 255, 0.1);
    border-color: #00c6ff; color: #fff;
    font-weight: bold;
}

#term-window {
    background: transparent; backdrop-filter: none;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px; min-height: 200px;
}

#term-content {
    font-size: 1.2rem; line-height: 1.6; font-weight: bold;
    text-shadow: 0 0 10px #000, 0 0 20px #000, 2px 2px 2px #000;
}

.ai-msg {
    color: #d4af37; margin-bottom: 10px;
    display: block; text-shadow: 0 0 10px black;
}

.user-msg {
    color: #eee; font-style: italic;
    margin-left: 20px; display: block;
    opacity: 1; text-shadow: 0 0 10px black;
}

/* ==========================================================================
   7. VERİ SİSTEMLERİ (ENTROPİ, LOGLAR, LOADING)
   ========================================================================== */

/* --- ENTROPY BAR --- */
#entropy-bar-wrapper {
    position: absolute;
    top: 50%; left: 40px;
    width: 6px; height: 500px;
    transform: translateY(-50%);
    height: 500px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px; overflow: hidden;
    z-index: 2000;
    display: none; flex-direction: column;
    justify-content: flex-end; opacity: 0;
    transition: opacity 1s ease;
}

#entropy-fill {
    width: 100%; height: 0%;
    background: linear-gradient(to top, #00c6ff 0%, #d4af37 60%, #ff2d55 100%);
    box-shadow: 0 0 20px rgba(0, 198, 255, 0.4);
    transition: height 0.5s linear;
}

#entropy-label {
    position: absolute;
    left: 60px; top: 50%; 
    height: 500px; 
    width: 380px;
    transform: translateY(-50%);
    display: flex; flex-direction: column;
    justify-content: flex-start; 
    font-family: 'Courier New', monospace;
    text-align: left; z-index: 2000;
    display: none; opacity: 0;
    transition: opacity 1s ease;
}

.bio-data {
    font-size: 0.75rem; letter-spacing: 2px;
    margin-bottom: 8px; opacity: 0.9;
    color: rgba(255, 255, 255, 0.9);
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

/* --- LOG AKIŞI --- */
#logs-display {
    display: flex; flex-direction: column;
    gap: 5px; width: 100%; margin-top: 10px;
}

.log-separator {
    font-size: 0.6rem; color: rgba(255,255,255,0.3);
    margin-bottom: 5px; letter-spacing: 2px;
}

.log-row {
    font-size: 0.7rem;
    letter-spacing: 1px;
    display: block;
    width: max-content; /* Yazı ne kadar uzunsa o kadar yer kaplasın, kesilmesin */
}

.log-row span { color: #fff; font-weight: bold; }

#log-stream {
    margin-top: 5px;
    height: 215px; 
    width: 100%; /* Kapsayıcısının (380px) tamamını kullansın */
    overflow: hidden; 
    font-size: 0.7rem; /* Okunabilirlik için bir tık büyüttük */
    color: rgba(0, 198, 255, 0.6);
    opacity: 0.8;
    border-top: 1px solid rgba(0, 198, 255, 0.2);
    border-bottom: 1px solid rgba(0, 198, 255, 0.2);
    padding: 10px 0;
    line-height: 1.8; 
    display: flex;
    flex-direction: column;
    text-align: left;
    white-space: nowrap; /* Yazıların alt satıra düşüp kaybolmasını engeller */
}

.horizontal-bar-bg {
    width: 100%; height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px; margin-bottom: 5px;
    overflow: hidden; position: relative;
}

#horizontal-bar-fill {
    height: 100%; width: 0%;
    background: #00c6ff;
    box-shadow: 0 0 10px #00c6ff;
    transition: width 0.3s ease;
}

/* --- LOADING GRUBU --- */
#loading-group {
    opacity: 0;
    display: flex; flex-direction: column;
    align-items: center; transition: opacity 1.5s;
}

#loading-status {
    font-size: 0.8rem; letter-spacing: 4px;
    color: #00c6ff; height: 20px;
    margin-bottom: 10px; text-transform: uppercase;
    text-align: center;
}

#loader-wrapper {
    position: relative; width: 300px; height: 50px;
    display: flex; align-items: center; justify-content: center;
}

#bar-container {
    width: 100%; height: 6px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    position: absolute; top: 50%;
    transform: translateY(-50%);
    overflow: hidden; z-index: 1;
}

#bar-fill {
    width: 0%; height: 100%;
    background: linear-gradient(90deg, #00c6ff 0%, #005bea 30%, #ff2d55 50%, #005bea 70%, #00c6ff 100%);
    background-size: 200% 100%;
    box-shadow: 0 0 15px #00c6ff;
    transition: width 0.1s;
    animation: gradientMove 2s linear infinite;
}

.ekg-line {
    position: absolute; top: 0; left: 0;
    width: 100%; height: 100%;
    fill: none; stroke: #ff2d55; stroke-width: 2;
    filter: drop-shadow(0 0 8px rgba(255, 45, 85, 0.8));
    stroke-dasharray: 900; stroke-dashoffset: 900;
    opacity: 0; visibility: hidden; z-index: 2;
}

/* ==========================================================================
   8. ÖZEL MODÜLLER (KALP, BİLGELİK, AUTH)
   ========================================================================== */

/* --- HEART SİSTEMİ (ATAN KALP)--- */
#heart-text-container {
    position: absolute;
    top: 55%; left: 50%;
    transform: translate(-50%, -50%);
    width: 400px; height: 420px;
    overflow: hidden; display: none;
    opacity: 0; transition: opacity 1s;
    z-index: 2500; pointer-events: none;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, transparent 50%, black 70%, black 90%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, transparent 50%, black 70%, black 90%, transparent 100%);
}

#heart-scroll-content {
    text-align: center; color: #fff8e7;
    font-family: 'Georgia', serif; font-style: italic;
    font-size: 1.1rem; line-height: 1.8;
    text-shadow: 0 0 10px #ff2d55;
    animation: scrollUp 70s linear infinite;
    animation-delay: -15s; will-change: transform;
}

/* --- WISDOM (BİLGELİK) SİSTEMİ - FULL SCREEN FIX --- */
#wisdom-display {
    position: fixed; /* Absolute yerine Fixed ile ekranı kilitle */
    width: 100%; 
    height: 100%;
    top: 0; 
    left: 0;
    
    display: none; 
    flex-direction: column;
    align-items: center; 
    justify-content: flex-start; /* Başlığı en tepeye değil, biraz aşağıya hizala */
    padding-top: 80px; /* Başlık için üstten boşluk */
    
    opacity: 0;
    transition: opacity 1.5s ease;
    pointer-events: none; /* Tıklamalar alttaki elementlere geçsin (Yıldızlar hariç) */
    z-index: 2000;
}

.wisdom-title {
    font-family: 'Georgia', serif; font-style: italic;
    font-size: 2rem; color: #00c6ff;
    text-shadow: 0 0 20px rgba(0, 198, 255, 0.4);
    margin-bottom: 30px; letter-spacing: 3px;
    text-transform: uppercase; text-align: center;
}

/* =========================================
   JEWELRY BOX MODAL (The Golden Seal)
   ========================================= */

#seal-modal {
    display: none; /* JS ile kontrol edilir */
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    
    /* Boyut ve Düzen */
    width: 85%;
    max-width: 400px;
    padding: 30px 20px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    z-index: 10000;
    
    /* Görsel Stil: Altın ve Siyah */
    background: rgba(10, 8, 5, 0.95);
    backdrop-filter: blur(15px);
    border: 2px solid #d4af37;
    border-radius: 15px;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.15), inset 0 0 20px rgba(212, 175, 55, 0.05);
    
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: auto;
}

#seal-title {
    font-family: 'Courier New', monospace;
    font-size: 1.2rem;
    letter-spacing: 4px;
    color: #d4af37;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
    margin-bottom: 5px;
    text-align: center;
}

#seal-content {
    font-family: 'Georgia', serif;
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.5;
    color: #fff8e7; /* Krem/Kemik Rengi */
    text-align: center;
    
    /* Çizgiler */
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    padding: 15px 0;
    width: 100%;
}

#seal-footer {
    font-family: 'Courier New', monospace;
    font-size: 0.65rem;
    color: rgba(212, 175, 55, 0.6);
    letter-spacing: 1px;
    text-align: center;
}

#seal-close-btn {
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.5);
    color: #d4af37;
    font-family: 'Courier New', monospace;
    font-size: 0.7rem;
    padding: 8px 25px;
    margin-top: 10px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

#seal-close-btn:hover {
    background: #d4af37;
    color: #000;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.6);
}

/* =========================================
   STAR DETAIL MODAL (The Golden Reader)
   ========================================= */

   #star-detail-modal {
    display: none; /* JS yönetir */
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    
    /* Boyut ve Düzen */
    width: 85%;
    max-width: 450px; /* Biraz daha geniş olabilir okuma için */
    padding: 35px 25px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    
    /* Görsel Stil: Altın ve Siyah (Seal Modal ile Aynı) */
    background: rgba(10, 8, 5, 0.95);
    backdrop-filter: blur(15px);
    border: 2px solid #d4af37; /* Altın Çerçeve */
    border-radius: 15px;
    box-shadow: 0 0 35px rgba(212, 175, 55, 0.2), inset 0 0 20px rgba(212, 175, 55, 0.05);
    
    opacity: 0;
    transition: opacity 0.5s ease;
    
    /* KRİTİK AYAR */
    pointer-events: auto; 
}

#star-detail-title {
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    letter-spacing: 3px;
    color: rgba(212, 175, 55, 0.6); /* Soluk Altın */
    text-transform: uppercase;
    margin-bottom: 10px;
    text-align: center;
}

#star-detail-content {
    font-family: 'Georgia', serif;
    font-style: italic;
    font-size: 1.25rem; /* Okunabilirlik için büyük */
    line-height: 1.6;
    color: #fff8e7; /* Krem/Kemik Rengi */
    text-align: center;
    text-shadow: 0 0 10px rgba(0,0,0,0.5);
    margin-bottom: 10px;
}

#star-detail-close {
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.5);
    color: #d4af37;
    font-family: 'Courier New', monospace;
    font-size: 0.75rem;
    padding: 10px 30px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    border-radius: 4px;
}

#star-detail-close:hover {
    background: #d4af37;
    color: #000;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
}

/* --- AUTH UI & MODAL --- */
#auth-ui-container {
    position: absolute; top: 40px; right: 100px;
    z-index: 10000;
    display: flex; align-items: center; gap: 15px;
    opacity: 0; transition: opacity 2s ease;
    /* --- EKLENMESİ GEREKEN KRİTİK SATIR --- */
    /* Kapsayıcının kendisi tıklamaları engellemesin, arkaya geçirsin */
    pointer-events: none;
}

#auth-status {
    font-family: 'Courier New', monospace;
    font-size: 0.8rem; color: rgba(255, 255, 255, 0.6);
    letter-spacing: 1px; text-transform: uppercase;
}

#auth-btn {
    background: transparent; border: 1px solid #d4af37;
    color: #d4af37; padding: 8px 20px;
    font-family: 'Georgia', serif; font-style: italic;
    cursor: pointer; transition: all 0.3s;
    font-size: 0.7rem; letter-spacing: 2px;
    border-radius: 50px;
    /* --- EKLENMESİ GEREKEN KRİTİK SATIR --- */
    /* Kapsayıcı pasif olsa bile buton TIKLANABİLİR olsun */
    pointer-events: auto;
}

#auth-btn:hover { background: #d4af37; color: #000; box-shadow: 0 0 15px #d4af37; }

.logout-state { border-color: #00c6ff !important; color: #00c6ff !important; }
.logout-state:hover { background: #00c6ff !important; color: #000 !important; box-shadow: 0 0 20px #00c6ff !important; }

#auth-modal {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: none; justify-content: center; align-items: center;
    z-index: 9999; backdrop-filter: blur(5px);
}

#auth-box {
    width: 350px; padding: 40px;
    background: rgba(1, 2, 8, 0.85);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 5px; text-align: center;
    position: relative; box-shadow: 0 0 50px rgba(0, 0, 0, 0.8);
}

.auth-title {
    color: #d4af37; font-family: 'Georgia', serif; font-style: italic;
    font-size: 1.3rem; line-height: 1.4;
    margin-bottom: 25px; text-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
}

#auth-modal input {
    width: 100%; padding: 12px; margin-bottom: 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff; font-family: 'Inter', sans-serif;
    outline: none; box-sizing: border-box; transition: 0.3s;
}

#auth-modal input:focus { border-color: #d4af37; }
#auth-modal input[type="checkbox"] { width: auto !important; margin-right: 10px; }
#auth-modal input[type="checkbox"]#remember-me { width: 16px !important; height: 16px !important; margin: 0 !important; cursor: pointer; accent-color: #d4af37; }

.remember-container {
    display: flex; align-items: center; justify-content: center;
    gap: 10px; width: 100%; margin-bottom: 20px;
    font-family: 'Courier New', monospace; font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6); letter-spacing: 1px;
}

.remember-container label { cursor: pointer; text-transform: uppercase; margin: 0; line-height: 1; user-select: none; }
.remember-container input[type="checkbox"]:checked+label { color: #d4af37; text-shadow: 0 0 5px #d4af37; }

.auth-controls { display: flex; gap: 10px; justify-content: center; margin-top: 10px; }

.auth-action-btn {
    flex: 1; padding: 12px; border: none;
    font-family: 'Courier New', monospace; font-weight: bold;
    cursor: pointer; transition: 0.3s; text-transform: uppercase;
    border-radius: 50px;
}

.btn-blue { background: #00c6ff; color: #000; }
.btn-blue:hover { box-shadow: 0 0 20px #00c6ff; color: #fff; }

.btn-gold { background: #d4af37; color: #000; }
.btn-gold:hover { box-shadow: 0 0 20px #d4af37; color: #fff; }

#auth-msg { margin-top: 15px; font-size: 0.7rem; color: #ff2d55; min-height: 15px; }

#auth-close {
    position: absolute; top: 10px; right: 15px;
    background: none; border: none;
    color: #555; cursor: pointer; font-size: 1.2rem;
}
#auth-close:hover { color: #fff; }

#audio-controls {
    position: absolute; top: 40px; right: 50px;
    z-index: 6000; cursor: pointer;
    opacity: 0; transition: opacity 2s, transform 0.3s;
    width: 24px; height: 24px; fill: #d4af37;
}
#audio-controls:hover { transform: scale(1.1); fill: #fff; }

/* =========================================
   LOGOUT MODAL (Golden Style)
   ========================================= */
   #logout-modal {
    display: none; /* JS kontrol eder */
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    
    /* Boyut ve Düzen */
    width: 85%;
    max-width: 400px;
    padding: 30px 20px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 15px;
    z-index: 11000; /* En üstün de üstü */
    
    /* Görsel Stil: Altın ve Siyah */
    background: rgba(10, 8, 5, 0.95);
    backdrop-filter: blur(15px);
    border: 2px solid #d4af37;
    border-radius: 15px;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.2), inset 0 0 20px rgba(212, 175, 55, 0.05);
    
    pointer-events: auto; /* Tıklanabilir olsun! */
    opacity: 0;
    transition: opacity 0.3s ease;
}

#logout-title {
    font-family: 'Courier New', monospace;
    font-size: 1.2rem;
    letter-spacing: 4px;
    color: #d4af37;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
    margin-bottom: 5px;
}

#logout-content {
    font-family: 'Georgia', serif;
    font-style: italic;
    font-size: 1.1rem;
    color: #fff8e7; /* Krem */
    text-align: center;
    line-height: 1.4;
}

/* Butonlar */
#logout-confirm-btn, #logout-cancel-btn {
    background: transparent;
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    padding: 10px 20px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border-radius: 5px;
}

#logout-confirm-btn {
    border: 1px solid #ff2d55; /* Onay: Kırmızımsı (Tehlike/Ayrılık) */
    color: #ff2d55;
}
#logout-confirm-btn:hover {
    background: #ff2d55;
    color: #fff;
    box-shadow: 0 0 15px rgba(255, 45, 85, 0.4);
}

#logout-cancel-btn {
    border: 1px solid #d4af37; /* İptal: Altın */
    color: #d4af37;
}
#logout-cancel-btn:hover {
    background: #d4af37;
    color: #000;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
}    

/* ==========================================================================
   9. ANİMASYONLAR (KEYFRAMES)
   ========================================================================== */

/* Glitch Effect */
@keyframes glitch-anim {
    0% { transform: translate(0); }
    2% { transform: translate(-2px, 1px); filter: hue-rotate(90deg); }
    4% { transform: translate(2px, -1px); filter: hue-rotate(-90deg); }
    5% { transform: translate(0); filter: none; }
    100% { transform: translate(0); }
}
.glitch-effect { animation: glitch-anim 6s infinite; }

/* Pulse Effect */
@keyframes pulse {
    0% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.1); }
    100% { opacity: 0.3; transform: scale(1); }
}

/* Blink (Cursor) */
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}
@keyframes blinkMsg {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.cursor { animation: blink 1s infinite; display: inline-block; color: #d4af37; }

/* Leaf Theme Shift */
#quote {
    font-family: 'Georgia', serif; font-style: italic;
    font-size: 2.2rem; text-align: center; margin-bottom: 15px;
    background: linear-gradient(90deg, #d4af37 0%, #ff7b00 33%, #ff2d2d 66%, #d4af37 100%);
    background-size: 300% auto;
    -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
    filter: drop-shadow(0 0 10px rgba(255, 123, 0, 0.4));
    animation: leafThemeShift 8s linear infinite;
}
@keyframes leafThemeShift {
    0% { background-position: 0% center; }
    100% { background-position: 300% center; }
}

/* Intro Counter */
#intro-life-counter {
    font-family: 'Courier New', monospace; font-size: 1.6rem;
    font-weight: bold; color: #00c6ff;
    text-shadow: 0 0 15px rgba(0, 198, 255, 0.8);
    margin-bottom: 20px; letter-spacing: 2px;
    text-align: center; width: 100%;
}

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

@keyframes heartBeatLoop {
    0% { stroke-dashoffset: 900; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { stroke-dashoffset: 0; opacity: 0; }
}
.pulse-active { animation: heartBeatLoop 1.8s linear infinite; visibility: visible; }

@keyframes scrollUp {
    0% { transform: translateY(100%); }
    100% { transform: translateY(-100%); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
/* ==========================================================================
   10. MIND PALACE (CONSTELLATION MODE)
   ========================================================================== */
/* --- BAŞLIK ALTI SÖZ STİLİ --- */
.wisdom-sub-quote {
    font-family: 'Inter', sans-serif; /* Okunabilirlik için temiz font */
    font-size: 0.75rem; /* Kibar boyut */
    color: rgba(0, 198, 255, 0.8); /* Geminin mavi tonu */
    
    margin-top: 20px; /* Başlıktan uzaklaş */
    padding-top: 15px;
    border-top: 1px solid rgba(255, 255, 255, 0.1); /* İncecik, zarif bir çizgi */
    
    font-style: italic;
    font-weight: 300;
    letter-spacing: 1px;
    line-height: 1.6;
    
    text-shadow: 0 0 10px rgba(0, 198, 255, 0.3); /* Hafif, ruhani bir parlama */
    
    /* Animasyon: Sayfa açıldıktan sonra yavaşça belirsin */
    opacity: 0;
    animation: fadeInQuote 3s ease 1s forwards; 
    
    max-width: 600px; /* Çok yayılmasın, ortada blok dursun */
    margin-left: auto;
    margin-right: auto;
}

@keyframes fadeInQuote {
    0% { opacity: 0; transform: translateY(10px); }
    100% { opacity: 1; transform: translateY(0); }
}
/* Gökyüzü Tuvali (Kapsayıcı) */
#constellation-sky {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    overflow: hidden; /* Taşmaları gizle */
    z-index: 10; /* Arka planda ama diğer öğelerin altında */
    pointer-events: auto; /* Yıldızlara tıklayabilelim */
    display: none; /* JS ile açılacak */
    background: transparent;
    transition: opacity 2s ease;
}

/* Tekil Yıldız (The Thought Star) */
.mind-star {
    position: absolute;
    background: #fff;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 4px rgba(255, 255, 255, 0.8);
    transition: all 0.4s ease-out;
    opacity: 0.6;
}

/* Yıldızların Doğal Titremesi (Twinkle) */
@keyframes twinkle {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

/* Hover: Kaptan Yıldıza Dokununca */
.mind-star:hover {
    background: #00c6ff; /* Elektrik Mavisi */
    box-shadow: 0 0 20px #00c6ff, 0 0 40px #00c6ff; /* Devasa Parıltı */
    transform: scale(2); /* Büyüme */
    opacity: 1;
    z-index: 100;
}

/* Fısıltı (Tooltip) - Hover Yapınca Çıkan Bilgi */
.star-whisper {
    position: absolute;
    bottom: 15px; left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 198, 255, 0.1);
    border: 1px solid rgba(0, 198, 255, 0.4);
    padding: 5px 10px;
    border-radius: 4px;
    color: #00c6ff;
    font-family: 'Courier New', monospace;
    font-size: 0.6rem;
    white-space: nowrap;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    text-shadow: 0 0 5px #00c6ff;
    letter-spacing: 1px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-5px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes neuralBreath {
    0% { filter: grayscale(0%) brightness(1) drop-shadow(0 0 5px rgba(0, 198, 255, 0.4)); }
    50% { filter: grayscale(0%) brightness(1.3) drop-shadow(0 0 20px rgba(0, 198, 255, 0.8)); }
    100% { filter: grayscale(0%) brightness(1) drop-shadow(0 0 5px rgba(0, 198, 255, 0.4)); }
}

.neural-active {
    animation: neuralBreath 4s infinite ease-in-out;
}