/* --- MEVCUT TASARIMk (KİLİTLİ) --- */
:root {
    --bg-body: #050505; --bg-card: #121212; --bg-hover: #222222;
    --text-main: #ffffff; --text-muted: #808080; --accent: #ffffff;
    --border: #333333; --red: #e50914;
}
body { background: var(--bg-body); color: var(--text-main); font-family: 'Inter', sans-serif; margin: 0; line-height: 1.6; transition: 0.3s; }
a { color: var(--text-main); text-decoration: none; transition: 0.3s; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; transition: 0.3s; }

/* Header */
header { border-bottom: 1px solid #222; padding: 30px 0; margin-bottom: 40px; }
header .container { display: flex; align-items: center; justify-content: space-between; }
.logo-area { display: flex; align-items: center; }
header h1 { margin: 0; line-height: 1; padding-right: 20px; border-right: 2px solid var(--red); }
header h1 a { font-family: 'Bebas Neue', sans-serif; font-size: 3.5rem; color: #fff; display: block; transform: translateY(3px); }
header p { margin: 0; margin-left: 20px; color: var(--text-muted); font-size: 0.9em; font-weight: 500; letter-spacing: 2px; text-transform: uppercase; }

/* Arama */
.search-container input { background: #111; border: 1px solid #333; padding: 10px 15px; color: #fff; font-family: 'Inter', sans-serif; width: 250px; border-radius: 4px; transition: 0.3s; }
.search-container input:focus { border-color: var(--red); outline: none; background: #000; }

/* Sekmeler */
.tab-buttons { display: flex; gap: 15px; border-bottom: 1px solid #222; padding-bottom: 20px; margin-bottom: 30px; flex-wrap: wrap; }
.tab-btn { background: transparent; border: none; color: var(--text-muted); padding: 10px 0; cursor: pointer; font-family: 'Bebas Neue', sans-serif; font-size: 1.4em; letter-spacing: 1px; transition: all 0.3s ease; border-bottom: 2px solid transparent; opacity: 0.7; }
.tab-btn:hover { color: #fff; opacity: 1; }
.tab-btn.active { color: #fff; border-bottom: 2px solid var(--red); opacity: 1; transform: scale(1.05); }

/* Karşılama & Timeline */
.welcome-box { background: url('https://www.transparenttextures.com/patterns/cubes.png'), linear-gradient(to bottom, #1a1a1a, #0a0a0a); padding: 50px; border-radius: 4px; border: 1px solid #222; text-align: center; margin-bottom: 30px; }
.welcome-box h2 { font-family: 'Bebas Neue', sans-serif; font-size: 3em; margin-bottom: 10px; margin-top: 0; letter-spacing: 1px; }
.quote-box { margin-top: 20px; padding-top: 20px; border-top: 1px solid #333; font-style: italic; color: var(--text-muted); }
.quote-author { display: block; margin-top: 5px; font-size: 0.9em; font-weight: 600; color: var(--red); font-style: normal; }

.timeline { position: relative; max-width: 800px; margin: 40px auto; }
.timeline::after { content: ''; position: absolute; width: 2px; background-color: #333; top: 0; bottom: 0; left: 20px; }
.timeline-item { padding: 10px 40px; position: relative; background-color: inherit; width: 100%; box-sizing: border-box; }
.timeline-item::after { content: ''; position: absolute; width: 12px; height: 12px; left: 15px; top: 15px; background-color: var(--bg-card); border: 2px solid var(--red); border-radius: 50%; z-index: 1; }
.timeline-date { font-family: 'Bebas Neue', sans-serif; font-size: 1.2em; color: var(--red); margin-bottom: 5px; }
.timeline-content { background: var(--bg-card); padding: 15px 20px; border-radius: 4px; border: 1px solid #222; }
.timeline-content h3 { margin: 0 0 5px 0; color: #fff; font-size: 1.1em; }

/* Listeler */
.link-list { list-style: none; padding: 0; display: grid; gap: 15px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.link-list li a { 
    display: block; 
    padding: 25px; 
    background: var(--bg-card); 
    border: 1px solid #222; 
    border-radius: 4px; 
    font-weight: 500; 
    font-size: 1.1em; 
    color: #ddd; 
    position: relative; 
    overflow: hidden;
    /* Kartların hover geçişi de biraz yumuşasın */
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.link-list li a::before { content: ""; position: absolute; left: 0; top: 0; height: 100%; width: 4px; background: var(--red); transform: scaleY(0); transition: transform 0.2s; }
.link-list li a:hover { 
    background: var(--bg-hover); 
    color: #fff; 
    transform: translateY(-5px) scale(1.02);
    border-color: #444; 
    box-shadow: 0 20px 40px rgba(0,0,0,0.6);
}
.link-list li a:hover::before { transform: scaleY(1); }

/* --- EKLENTİLER --- */
body.focus-mode header, body.focus-mode footer, body.focus-mode .back-link, body.focus-mode .related-notes, body.focus-mode .bibliography { display: none !important; }
body.focus-mode .container { max-width: 800px; }
body.focus-mode .paper { margin-top: 50px; border: none; background: transparent; }
body.focus-mode .content { border: none; background: transparent; padding: 0; }

.focus-btn { float: right; background: transparent; border: 1px solid #333; color: #666; padding: 5px 15px; border-radius: 20px; font-size: 0.8em; cursor: pointer; transition: 0.3s; }
.focus-btn:hover { color: #fff; border-color: #fff; }

.meta-data { font-size: 0.85em; color: #555; margin-bottom: 25px; padding-bottom: 15px; border-bottom: 1px solid #222; font-family: 'Inter', sans-serif; letter-spacing: 0.5px; }
.meta-icon { margin-right: 5px; color: var(--red); }

.term { border-bottom: 1px dashed var(--red); cursor: help; position: relative; }
.term:hover { color: #fff; }
.term::after { content: attr(data-tooltip); position: absolute; bottom: 100%; left: 50%; transform: translateX(-50%); background: #000; color: #fff; padding: 10px; border: 1px solid #333; border-radius: 4px; width: 200px; font-size: 0.85em; white-space: normal; visibility: hidden; opacity: 0; transition: 0.2s; z-index: 999; box-shadow: 0 5px 15px rgba(0,0,0,0.8); pointer-events: none; margin-bottom: 10px; }
.term:hover::after { visibility: visible; opacity: 1; }

.related-notes { margin-top: 50px; padding-top: 30px; border-top: 1px solid #222; }
.related-notes h3 { font-family: 'Bebas Neue'; color: #888; font-size: 1.5em; margin-bottom: 15px; }
.related-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 15px; }
.related-card { display: block; background: #111; padding: 15px; border: 1px solid #222; border-radius: 4px; font-size: 0.9em; color: #ccc; transition: 0.2s; }
.related-card:hover { border-color: var(--red); color: #fff; transform: translateY(-3px); }

.paper { margin-top: 20px; }
.content { background: var(--bg-card); padding: 60px; border-radius: 4px; border: 1px solid #222; font-size: 1.15em; line-height: 1.8; color: #ccc; position: relative; }
.content h1 { font-family: 'Bebas Neue', sans-serif; font-size: 3.5em; color: #fff; margin-top: 0; letter-spacing: 1px; }
.content h2 { font-family: 'Bebas Neue', sans-serif; font-size: 2em; color: #fff; margin-top: 50px; letter-spacing: 1px; border-left: 4px solid var(--red); padding-left: 15px; }
.content strong { color: #fff; }

.bibliography { margin-top: 60px; padding-top: 20px; border-top: 1px solid #333; font-size: 0.9em; color: #666; }
.bibliography h3 { font-family: 'Bebas Neue'; color: #888; font-size: 1.5em; margin-bottom: 10px; }

.gizli { display: none !important; }
.acik { display: block !important; }

/* --------------------------------------------------------
   GÜNCELLEME: YAVAŞLATILMIŞ SİNEMATİK ANİMASYON (1.5sn)
   --------------------------------------------------------
*/
@keyframes sahneGiris {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.99); 
        filter: blur(12px); 
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

/* Animasyonu uygula: Süreyi 1.5s yaptık ve eğriyi yumuşattık */
.tab-content.show,
.paper:not(.gizli) .content {
    animation: sahneGiris 1.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.tab-content { display: none; }
.tab-content.show { display: block; }

footer { text-align: center; padding: 50px; color: #444; font-size: 0.8em; margin-top: 50px; border-top: 1px solid #111; letter-spacing: 1px; text-transform: uppercase; }