/* --- AYARLAR --- */
:root {
    --bg-color: #050505;
    --panel-bg: rgba(20, 20, 20, 0.6); /* Daha transparan */
    --accent: #FFD152; /* Amber */
    --accent-glow: rgba(255, 209, 82, 0.4);
    --text-main: #e0e0e0;
    --font-display: 'Rajdhani', sans-serif;
    --font-code: 'JetBrains Mono', monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-display);
    min-height: 100vh;
    overflow-x: hidden;
    /* Seçim ve Sürükleme Koruması */
    user-select: none; 
    -webkit-user-drag: none;
    perspective: 1000px; /* 3D derinlik için */
}

img { user-drag: none; -webkit-user-drag: none; pointer-events: none; }

/* Form alanlarına yazı yazmaya izin ver */
input, textarea { user-select: text !important; cursor: text; }

/* --- CRT EFEKTİ (Scanlines) --- */
.scanlines {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,0) 50%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.1));
    background-size: 100% 4px;
    pointer-events: none;
    z-index: 999;
}

/* --- ARKA PLAN AKAN YAZILAR (PARALLAX HEDEFİ) --- */
.bg-text-wrapper {
    position: fixed;
    top: -20%; left: -20%; width: 140%; height: 140%;
    z-index: -1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0.08; /* Görünürlük ayarı */
    transform: rotate(-5deg);
    pointer-events: none;
    transition: transform 0.1s linear; /* Mouse takibi için yumuşaklık */
}

.marquee {
    white-space: nowrap;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 7rem;
    color: var(--accent);
    text-transform: uppercase;
    line-height: 1.1;
}

/* Sağa ve Sola akma animasyonları */
.marquee.left { animation: scroll-left 40s linear infinite; }
.marquee.right { animation: scroll-right 45s linear infinite; }

@keyframes scroll-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes scroll-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* --- NAVBAR --- */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: rgba(0,0,0,0.8);
    border-bottom: 1px solid #333;
    backdrop-filter: blur(10px);
    position: relative;
    z-index: 100;
}

.brand {
    font-size: 1.8rem;
    color: var(--accent);
    letter-spacing: 3px;
    font-weight: 700;
    text-shadow: 0 0 10px var(--accent-glow);
}

.nav-links { display: flex; gap: 30px; list-style: none; align-items: center; }

.nav-link {
    color: #888;
    text-decoration: none;
    font-family: var(--font-code);
    font-size: 0.9rem;
    cursor: pointer;
    transition: 0.3s;
    text-transform: uppercase;
    position: relative;
}
.nav-link:hover, .nav-link.active { color: var(--accent); }

/* Dropdown */
.dropdown { position: relative; }
.dropdown-menu {
    display: none; position: absolute; top: 100%; left: 0;
    background: #0f0f0f; border: 1px solid var(--accent);
    min-width: 200px; box-shadow: 0 0 20px rgba(0,0,0,0.8);
}
.dropdown:hover .dropdown-menu { display: block; }
.dropdown-item {
    display: block; padding: 10px; color: #ccc;
    text-decoration: none; font-family: var(--font-code); font-size: 0.8rem;
    border-bottom: 1px solid #222;
}
.dropdown-item:hover { background: var(--accent); color: #000; }

/* --- SES KONTROL BUTONU (YENİ) --- */
.sound-toggle-btn {
    background: transparent;
    border: 1px solid #444;
    color: #666;
    padding: 5px 12px;
    font-family: var(--font-code);
    font-size: 0.75rem;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 5px;
}
.sound-toggle-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: 0 0 10px rgba(255, 209, 82, 0.2);
}
.sound-toggle-btn.playing {
    border-color: var(--accent);
    color: var(--accent);
    animation: pulse-sound 2s infinite;
}
@keyframes pulse-sound {
    0% { box-shadow: 0 0 0 rgba(255,209,82,0); }
    50% { box-shadow: 0 0 10px rgba(255,209,82,0.3); }
    100% { box-shadow: 0 0 0 rgba(255,209,82,0); }
}

/* --- CONTAINER --- */
.container {
    max-width: 900px;
    margin: 50px auto;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

.logo-area { text-align: center; margin-bottom: 40px; }
.logo-img {
    max-width: 200px; height: auto;
    filter: drop-shadow(0 0 20px rgba(255, 209, 82, 0.3));
}

/* --- 3D TILT KARTLARI --- */
.tilt-card {
    background: var(--panel-bg);
    border: 1px solid #333;
    border-left: 4px solid var(--accent);
    padding: 40px;
    margin-bottom: 30px;
    backdrop-filter: blur(10px);
    
    transform-style: preserve-3d;
    transform: perspective(1500px) rotateX(0) rotateY(0); 
    transition: transform 0.1s ease-out, box-shadow 0.3s ease;
    will-change: transform; 
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* --- SPOTLIGHT & GRID EFEKTİ --- */

/* Efektin uygulanacağı kartlar için temel ayar */
.tilt-card, .ano-card, .btn-3d {
    position: relative;
    /* Kartın dışına taşan ışıkları kesmek için: */
    overflow: hidden !important; 
    --mouse-x: 0px;
    --mouse-y: 0px;
}

/* 1. Katman: Spot Işığı (Hafif bir parıltı) */
.tilt-card::before, .ano-card::before, .btn-3d::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1; /* İçeriğin altında, arka planın üstünde */
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
    
    /* Mouse konumuna göre ışık gradyanı */
    background: radial-gradient(
        600px circle at var(--mouse-x) var(--mouse-y),
        rgba(255, 209, 82, 0.06), /* --accent renginin çok saydam hali */
        transparent 40%
    );
}

/* 2. Katman: Grid (Izgara) Deseni */
.tilt-card::after, .ano-card::after, .btn-3d::after {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;

    /* İnce çizgili kareli kağıt deseni */
    background-image: 
        linear-gradient(rgba(255, 209, 82, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 209, 82, 0.1) 1px, transparent 1px);
    background-size: 30px 30px; /* Karelerin boyutu */

    /* Maskeleme: Sadece ışığın olduğu yerde grid görünsün */
    mask-image: radial-gradient(
        300px circle at var(--mouse-x) var(--mouse-y),
        black,
        transparent
    );
    -webkit-mask-image: radial-gradient(
        300px circle at var(--mouse-x) var(--mouse-y),
        black,
        transparent
    );
}

/* Hover durumunda görünür yap */
.tilt-card:hover::before, .tilt-card:hover::after,
.ano-card:hover::before, .ano-card:hover::after,
.btn-3d:hover::before, .btn-3d:hover::after {
    opacity: 1;
}

/* İçeriklerin ışığın altında kalmaması için z-index ayarı */
.tilt-content, .card-header, .card-img-container, .card-data, .card-footer {
    position: relative;
    z-index: 5;
}

/* --- ANOMALI KARTLARI --- */
.ano-card {
    background: var(--panel-bg);
    border: 1px solid #333;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    
    transform-style: preserve-3d; 
    transform: perspective(1500px) rotateX(0) rotateY(0);
    transition: transform 0.1s ease-out, border-color 0.3s, box-shadow 0.3s;
    will-change: transform;
}

.tilt-content {
    transform: translateZ(20px); 
}

h2 {
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 20px;
    font-size: 1.8rem;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(255, 209, 82, 0.2);
}

p {
    line-height: 1.6; color: #ccc;
    font-family: var(--font-code); margin-bottom: 15px; font-size: 0.9rem;
}

/* --- FORM --- */
.form-group { margin-bottom: 25px; }
label {
    display: block; color: var(--accent);
    font-family: var(--font-code); font-size: 0.8rem;
    margin-bottom: 8px; text-transform: uppercase;
}

input, textarea {
    width: 100%; padding: 15px;
    background: rgba(0,0,0,0.7);
    border: 1px solid #444;
    color: #fff; font-family: var(--font-code); font-size: 1rem;
    transition: 0.3s;
}
input:focus, textarea:focus {
    outline: none; border-color: var(--accent);
    box-shadow: 0 0 15px var(--accent-glow);
}

/* 3D Buton */
.btn-3d {
    width: 100%;
    padding: 18px;
    background: transparent;
    color: var(--accent);
    border: 1px solid var(--accent);
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    
    transform-style: preserve-3d;
    transition: all 0.2s;
    position: relative;
    overflow: hidden;
}

.btn-3d:hover {
    background: var(--accent);
    color: #000;
    box-shadow: 0 0 30px var(--accent-glow);
    transform: scale(1.02);
}

/* Sayfa Geçiş Mantığı */
.page-section { display: none; animation: fadeIn 0.5s ease; }
.page-section.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

footer {
    text-align: center; margin-top: 50px; padding-bottom: 30px;
    font-family: var(--font-code); font-size: 0.7rem; color: #555;
}

/* --- VAKA ARŞİVİ SAYFASI EKLEMELERİ --- */

/* Izgara Yapısı */
.anomaly-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    padding-bottom: 50px;
}

/* Kart Başlığı */
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background: rgba(0,0,0,0.8);
    border-bottom: 1px solid #333;
    font-family: var(--font-code);
}

.ano-id {
    font-weight: bold;
    color: var(--accent);
    letter-spacing: 1px;
}

/* Sınıf Rozetleri */
.ano-class {
    font-size: 0.8rem;
    padding: 2px 8px;
    font-weight: bold;
    color: #000;
    border-radius: 2px;
}
.cls-safe { background: #4caf50; }
.cls-euclid { background: #ffeb3b; }
.cls-keter { background: #f44336; color: white; animation: blink-red 2s infinite; }
.cls-thaumiel { background: #9c27b0; color: white; }
.cls-unknown { background: #555; color: #ccc; }

@keyframes blink-red { 50% { opacity: 0.7; } }

/* Görsel Alanı */
.card-img-container {
    height: 180px;
    background: #000;
    border-bottom: 1px solid #333;
    position: relative;
    overflow: hidden;
}

.card-img {
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0.8;
    filter: grayscale(40%) contrast(120%);
    transition: 0.3s;
}

.ano-card:hover .card-img {
    opacity: 1;
    filter: grayscale(0%);
}

/* Veri Yok Placeholder */
.no-data-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--accent);
    font-family: var(--font-code);
}

/* Kart Bilgileri */
.card-data {
    padding: 15px;
    font-family: var(--font-code);
    font-size: 0.85rem;
    flex-grow: 1;
}

.data-row {
    display: flex;
    justify-content: space-between;
    border-bottom: 1px dashed #333;
    padding-bottom: 5px;
    margin-bottom: 8px;
}

.data-label { color: #888; }
.data-value { color: #e0e0e0; font-weight: bold; }

.status-breach { color: #f44336; }
.status-contained { color: #4caf50; }

/* Kart Alt Açıklama */
.card-footer {
    padding: 12px 15px;
    background: rgba(0,0,0,0.4);
    border-top: 1px solid #333;
    font-size: 0.8rem;
    color: #aaa;
    line-height: 1.4;
}

/* --- DETAYLI MODAL (POPUP) STİLLERİ --- */

/* Arka Plan Karartma */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.9); backdrop-filter: blur(8px);
    z-index: 10000; display: none; /* Başlangıçta gizli */
    justify-content: center; align-items: center;
    opacity: 0; transition: opacity 0.3s;
}

.modal-overlay.active { display: flex; opacity: 1; }

/* Modal Kutusu */
.modal-content {
    background: #0a0a0a; width: 85%; max-width: 1100px; height: 85vh;
    border: 1px solid #333; border-top: 4px solid var(--accent);
    box-shadow: 0 0 50px rgba(0,0,0,1);
    position: relative; overflow: hidden;
    animation: modalOpen 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    display: flex; flex-direction: column;
}

@keyframes modalOpen {
    0% { transform: scale(0.9) translateY(20px); opacity: 0; }
    100% { transform: scale(1) translateY(0); opacity: 1; }
}

/* Kapat Butonu */
.close-btn {
    position: absolute; top: 0; right: 0;
    background: var(--accent); color: #000;
    padding: 10px 20px; font-family: var(--font-code);
    font-weight: bold; cursor: pointer; z-index: 10;
}
.close-btn:hover { background: #fff; }

/* İçerik Izgarası (Grid) */
.modal-grid {
    display: grid; grid-template-columns: 40% 60%;
    height: 100%; width: 100%;
}

/* SOL TARAF (Slayt & Meta) */
.modal-left {
    background: #050505; border-right: 1px solid #333;
    display: flex; flex-direction: column;
    padding: 20px; position: relative;
}

/* Slayt Gösterisi */
.slideshow-container {
    flex-grow: 1; position: relative;
    background: #000; overflow: hidden;
    border: 1px solid #333; margin-top: 40px; /* Buton payı */
}

.slide-img {
    width: 100%; height: 100%; object-fit: cover;
    position: absolute; top: 0; left: 0;
    opacity: 0; transition: opacity 1s;
}
.slide-img.active { opacity: 1; }

.slide-indicators {
    display: flex; justify-content: center; gap: 10px; margin-top: 15px;
}
.indicator {
    width: 30px; height: 4px; background: #333; cursor: pointer;
}
.indicator.active { background: var(--accent); box-shadow: 0 0 10px var(--accent); }

/* Erişim Rozeti */
.clearance-badge {
    margin-top: 20px; padding: 15px; border: 2px solid #f44336;
    color: #f44336; font-family: var(--font-display);
    text-align: center; letter-spacing: 2px; font-weight: bold;
    background: rgba(244, 67, 54, 0.05);
}

/* SAĞ TARAF (Yazı & Rapor) */
.modal-right {
    padding: 40px; overflow-y: auto; position: relative;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 19px, rgba(255,255,255,0.02) 20px),
        linear-gradient(90deg, transparent 0%, rgba(0,0,0,0.8) 100%);
}

.modal-right h2 {
    font-size: 3rem; margin-bottom: 30px; border-bottom: 2px solid #333;
    padding-bottom: 10px; display: inline-block; width: 100%;
}

/* Meta Veri Izgarası */
.modal-meta-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 15px;
    margin-bottom: 30px;
}
.meta-item {
    font-family: var(--font-code); font-size: 0.9rem;
    background: rgba(255, 255, 255, 0.05); padding: 10px;
    border-left: 2px solid var(--accent);
}
.meta-item .label { color: #888; display: block; font-size: 0.7rem; }
.meta-item .value { color: #fff; font-weight: bold; font-size: 1.1rem; }

/* Rapor Alanları */
.report-section { margin-bottom: 30px; }
.report-section h3 {
    color: var(--accent); font-family: var(--font-code);
    font-size: 1rem; margin-bottom: 10px;
}
.report-section p {
    font-family: var(--font-code); color: #ccc;
    font-size: 0.95rem; line-height: 1.6;
    white-space: pre-line; /* Satır başlarını korur */
}

/* Scrollbar (Modal İçin) */
.modal-right::-webkit-scrollbar { width: 6px; }
.modal-right::-webkit-scrollbar-track { background: #000; }
.modal-right::-webkit-scrollbar-thumb { background: var(--accent); }

/* Mobil Uyum */
@media (max-width: 900px) {
    .modal-grid { grid-template-columns: 1fr; }
    .modal-left { height: 300px; border-right: none; border-bottom: 1px solid #333; }
    .modal-content { height: 95vh; width: 95%; }
}

/* --- RETRO-FÜTÜRİSTİK MODAL EFEKTLERİ --- */

/* Modal Overlay (Arka Plan) */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.95); z-index: 10000;
    display: none; justify-content: center; align-items: center;
    animation: global-flicker 0.2s ease-out;
}
.modal-overlay.active { display: flex; }

@keyframes global-flicker {
    0% { opacity: 0; } 10%, 30%, 50% { opacity: 1; background: #fff; }
    20%, 40% { opacity: 0.5; background: #000; } 100% { opacity: 1; }
}

/* Modal Kutusu */
.modal-content {
    background: #050505; width: 90%; max-width: 1100px; height: 85vh;
    border: 2px solid var(--accent);
    box-shadow: 0 0 50px var(--accent-glow), inset 0 0 20px rgba(0,0,0,0.8);
    position: relative; overflow: hidden;
    display: flex; flex-direction: column;
    animation: turnOnTV 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

@keyframes turnOnTV {
    0% { transform: scale(1, 0.005); opacity: 0; filter: brightness(5); }
    60% { transform: scale(1, 1); opacity: 1; }
    100% { transform: scale(1, 1); opacity: 1; filter: brightness(1); }
}

/* Sürekli CRT Titremesi */
.screen-flicker {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(255, 209, 82, 0.02);
    opacity: 0; pointer-events: none; z-index: 5;
    animation: screenFlicker 0.1s infinite;
}
@keyframes screenFlicker { 0% { opacity: 0.1; } 50% { opacity: 0; } 100% { opacity: 0.2; } }

/* --- BOOT EKRANI (YÜKLEME) --- */
.boot-screen {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: #000; z-index: 20;
    padding: 30px; font-family: 'VT323', monospace;
    color: var(--accent); font-size: 1.2rem;
    display: flex; flex-direction: column;
    text-shadow: 0 0 5px var(--accent-glow);
    overflow: hidden;
}

.boot-logs { display: flex; flex-direction: column; gap: 5px; }
.log-line { display: block; animation: typeLine 0.1s steps(1); }
.log-ok { color: #4caf50; margin-left: 10px; }
.log-warn { color: #ff3333; margin-left: 10px; animation: blink-red 0.5s infinite; }

.blinking-cursor {
    display: inline-block; width: 10px; height: 20px; background: var(--accent);
    animation: blink 1s step-end infinite; margin-left: 5px;
}

/* Boot Sırasında Şiddetli Glitch */
.boot-glitch-overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: transparent; z-index: 25; pointer-events: none;
    opacity: 0;
}
.boot-screen.glitching .boot-glitch-overlay {
    animation: violent-glitch 0.3s infinite; opacity: 1;
}
.boot-screen.glitching {
    animation: chromatic-aberration 0.2s infinite;
}

@keyframes violent-glitch {
    0% { background: rgba(255, 209, 82, 0.2); transform: translateX(-10px); }
    25% { background: rgba(255, 0, 0, 0.2); transform: translateY(10px); }
    50% { background: rgba(0, 255, 0, 0.2); transform: translateX(10px); clip-path: inset(10% 0 40% 0); }
    75% { background: rgba(0, 0, 255, 0.2); transform: translateY(-10px); clip-path: inset(40% 0 10% 0); }
    100% { background: transparent; transform: translate(0); }
}

@keyframes chromatic-aberration {
    0% { text-shadow: 2px 0 0 red, -2px 0 0 blue; }
    100% { text-shadow: -2px 0 0 red, 2px 0 0 blue; }
}

/* --- ASIL İÇERİK GÖRÜNÜMÜ --- */
.modal-grid {
    display: grid; grid-template-columns: 40% 60%; height: 100%;
    animation: snapIn 0.2s ease-out backwards;
}
@keyframes snapIn { 0% { transform: scale(1.02); opacity: 0; } 100% { transform: scale(1); opacity: 1; } }

/* Kapat Butonu */
.close-btn {
    position: absolute; top: 10px; right: 15px;
    color: var(--accent); border: 1px solid var(--accent);
    padding: 5px 10px; font-family: 'VT323', monospace;
    font-size: 1rem; cursor: pointer; z-index: 30;
    background: #000; transition: 0.2s;
}
.close-btn:hover { background: var(--accent); color: #000; }

/* Diğer İçerik Stilleri */
.modal-left, .modal-right { padding: 30px; position: relative; }
.modal-left { border-right: 2px solid #333; background: rgba(10,10,10,0.5); }
.modal-right { 
    background-image: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(255, 209, 82, 0.02) 3px);
    overflow-y: auto;
}

/* Slayt */
.slideshow-container {
    flex-grow: 1; border: 2px solid #333; position: relative; overflow: hidden;
    margin-top: 40px; background: #000;
}
.slide-img { position: absolute; top:0; left:0; width:100%; height:100%; object-fit:cover; opacity:0; transition:opacity 0.5s; filter: grayscale(50%) contrast(120%); }
.slide-img.active { opacity: 1; }

/* Başlık Glitch */
.glitch-text {
    font-family: 'VT323', monospace; font-size: 4rem; color: var(--accent);
    text-transform: uppercase; position: relative; display: inline-block;
}
.glitch-text::before, .glitch-text::after {
    content: attr(id); position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0.8;
}
.glitch-text::before { color: red; z-index: -1; animation: glitch-anim-1 2s infinite linear alternate-reverse; }
.glitch-text::after { color: blue; z-index: -2; animation: glitch-anim-2 3s infinite linear alternate-reverse; }

/* Meta Veriler */
.modal-meta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px; margin-bottom: 30px; }
.meta-item { border: 1px solid #333; padding: 10px; background: rgba(255, 209, 82, 0.05); font-family: var(--font-code); }
.meta-item .label { color: #888; font-size: 0.7rem; display: block; }
.meta-item .value { color: var(--accent); font-weight: bold; font-size: 1.1rem; }

/* Rapor Yazıları */
.terminal-text {
    font-family: var(--font-code); color: #ccc; font-size: 0.95rem; line-height: 1.6;
    white-space: pre-wrap; border-left: 2px solid #333; padding-left: 15px;
}
.report-section h3 { color: var(--accent); font-family: 'VT323', monospace; font-size: 1.4rem; margin-bottom: 10px; }
.divider-line { height: 2px; background: #333; margin: 25px 0; position: relative; }
.divider-line::after { content: ''; position: absolute; top:0; left:0; height:100%; width: 20%; background: var(--accent); animation: scan-line-move 3s infinite linear; }
@keyframes scan-line-move { 0% { left: -20%; } 100% { left: 100%; } }

/* Erişim Rozeti */
.clearance-badge { margin-top: 20px; padding: 15px; border: 2px solid #f44336; color: #f44336; font-family: var(--font-code); text-align: center; background: rgba(244, 67, 54, 0.1); }
.blink-red { animation: blink-red 1s infinite; }

/* Mobil */
@media (max-width: 900px) { .modal-grid { grid-template-columns: 1fr; } .modal-left { height: 300px; border-right: none; border-bottom: 2px solid #333; } }

/* --- SAYFA GEÇİŞ EFEKTLERİ --- */

#page-transition {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: #000; z-index: 99999;
    display: flex; justify-content: center; align-items: center; flex-direction: column;
    opacity: 0; pointer-events: none;
    transition: opacity 0.2s ease-out;
}

#page-transition.transition-active {
    opacity: 1; pointer-events: all;
    cursor: wait;
}

.noise-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    opacity: 0.15; z-index: -1;
    background: repeating-radial-gradient(#000 0 0.0001%, #fff 0 0.0002%) 50% 0/2500px 2500px,
                repeating-conic-gradient(#000 0 0.0001%, #fff 0 0.0002%) 60% 60%/2500px 2500px;
    background-blend-mode: difference;
    animation: noise-move 0.2s infinite alternate;
}
@keyframes noise-move { 100% { background-position: 50% 0, 60% 50%; } }

.transition-content {
    text-align: center; width: 300px;
    font-family: 'JetBrains Mono', monospace;
}

.glitch-loader {
    font-size: 1.5rem; color: var(--accent); font-weight: bold; margin-bottom: 20px;
    position: relative; animation: text-flicker 0.1s infinite;
}
@keyframes text-flicker {
    0% { opacity: 1; } 50% { opacity: 0.8; } 100% { opacity: 1; }
}

.loader-bar-container {
    width: 100%; height: 4px; background: #333; margin-bottom: 15px; position: relative;
}
.loader-bar {
    height: 100%; width: 0%; background: var(--accent);
    box-shadow: 0 0 10px var(--accent);
    transition: width 0.1s linear; 
}

.terminal-msg {
    font-size: 0.8rem; color: #888; text-align: left; line-height: 1.6;
}

.screen-tear {
    position: absolute; top: 0; left: 0; width: 100%; height: 2px;
    background: rgba(255, 255, 255, 0.5); opacity: 0.3;
    animation: tear-down 3s infinite linear;
}
@keyframes tear-down { 0% { top: -10%; } 100% { top: 110%; } }

/* --- MODAL (POPUP) GÜNCELLEMELERİ --- */

/* 1. DÜZELTME: O garip giden barı sabitledik */
.divider-line {
    height: 1px;
    background: #333;
    margin: 25px 0;
    position: relative;
    overflow: visible; /* Süslemeler taşabilsin */
}
/* Artık hareket etmiyor, sabit ve şık duruyor */
.divider-line::after {
    content: '';
    position: absolute;
    top: -1px; left: 0;
    width: 50px; height: 3px;
    background: var(--accent);
    box-shadow: 0 0 10px var(--accent);
}

/* 2. TARAYICI (SCANNER) ÇİZGİSİ */
/* Modal'ın üzerinde sürekli inen yeşil/sarı lazer */
.modal-scanner-line {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 5px;
    background: linear-gradient(to right, transparent, var(--accent), transparent);
    opacity: 0.5;
    z-index: 50;
    pointer-events: none;
    animation: scan-down 4s linear infinite;
    box-shadow: 0 0 15px var(--accent);
}

@keyframes scan-down {
    0% { top: -10%; opacity: 0; }
    10% { opacity: 0.8; }
    90% { opacity: 0.8; }
    100% { top: 110%; opacity: 0; }
}

/* 3. TEKNİK KÖŞE SÜSLEMELERİ (HUD) */
.tech-corner {
    position: absolute;
    width: 40px; height: 40px;
    border: 2px solid var(--accent);
    transition: 0.3s;
    pointer-events: none;
    z-index: 60;
}
.tc-tl { top: 20px; left: 20px; border-right: none; border-bottom: none; }
.tc-tr { top: 20px; right: 20px; border-left: none; border-bottom: none; }
.tc-bl { bottom: 20px; left: 20px; border-right: none; border-top: none; }
.tc-br { bottom: 20px; right: 20px; border-left: none; border-top: none; }

/* 4. SAĞ TARAFA HAFİF IZGARA DESENİ */
.modal-right {
    position: relative;
    /* Noktalı matrix deseni */
    background-image: 
        radial-gradient(rgba(255, 209, 82, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
}

/* 5. SES DALGASI ANİMASYONU (Footer için) */
.audio-visualizer {
    display: inline-flex;
    align-items: flex-end;
    gap: 2px;
    height: 15px;
    margin-left: 10px;
}
.audio-bar {
    width: 3px;
    background: var(--accent);
    animation: audio-wave 0.5s infinite ease-in-out alternate;
}
.audio-bar:nth-child(1) { height: 40%; animation-delay: 0.1s; }
.audio-bar:nth-child(2) { height: 80%; animation-delay: 0.2s; }
.audio-bar:nth-child(3) { height: 50%; animation-delay: 0.3s; }
.audio-bar:nth-child(4) { height: 90%; animation-delay: 0.1s; }
.audio-bar:nth-child(5) { height: 30%; animation-delay: 0.4s; }

@keyframes audio-wave {
    0% { transform: scaleY(0.3); }
    100% { transform: scaleY(1); }
}

/* BAŞLIK İÇİN YENİ STİL (Decode Efekti İçin) */
#modalTitle {
    font-family: 'VT323', monospace;
    font-size: 3.5rem;
    letter-spacing: 5px;
    color: var(--accent);
    min-height: 1.2em; /* Titremeyi engeller */
}

/* --- CS MVP TARZI STATUS BANNER --- */
.status-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 !important; /* Tilt-card paddingini eziyoruz */
    height: 100px;
    position: relative;
    overflow: hidden;
    margin-bottom: 40px;
    border: 1px solid #333;
    background: linear-gradient(90deg, rgba(0,0,0,0.9) 0%, rgba(20,20,20,0.8) 50%, rgba(0,0,0,0.9) 100%);
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

/* Arkaplan Hareketli Grid */
.banner-grid {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1;
    background-image: 
        linear-gradient(rgba(255, 209, 82, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 209, 82, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
    mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 20%, black 80%, transparent);
    animation: gridScroll 20s linear infinite;
}

@keyframes gridScroll {
    from { background-position: 0 0; }
    to { background-position: 100px 0; }
}

/* Sol Kısım */
.banner-left {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-left: 30px;
    z-index: 2;
    width: 70%;
}

.banner-icon-box {
    width: 60px; height: 60px;
    border: 2px solid var(--accent);
    padding: 2px;
    background: rgba(255, 209, 82, 0.1);
    box-shadow: 0 0 15px var(--accent-glow);
}

.group-icon {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transition: 0.3s;
}
.status-banner:hover .group-icon { filter: grayscale(0%); }

.banner-info {
    display: flex;
    flex-direction: column;
}

.banner-label {
    font-family: var(--font-code);
    font-size: 0.75rem;
    color: var(--accent);
    letter-spacing: 2px;
    background: rgba(255, 209, 82, 0.1);
    padding: 2px 5px;
    display: inline-block;
    width: fit-content;
    margin-bottom: 5px;
}

.banner-stat {
    display: flex;
    align-items: baseline;
    gap: 10px;
}

.stat-value {
    font-family: 'Rajdhani', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    text-shadow: 0 0 10px rgba(255,255,255,0.3);
}

.stat-sub {
    font-family: var(--font-code);
    font-size: 0.8rem;
    color: #888;
}

/* Sağ Kısım - Buton */
.banner-action {
    z-index: 2;
    padding-right: 30px;
    height: 100%;
    display: flex;
    align-items: center;
    background: linear-gradient(90deg, transparent, rgba(255, 209, 82, 0.05));
    border-left: 1px solid #333;
}

.join-btn {
    padding: 10px 25px;
    border: 1px solid var(--accent);
    background: transparent;
    color: var(--accent);
    font-family: var(--font-display);
    font-weight: bold;
    font-size: 1.1rem;
    text-decoration: none;
    text-transform: uppercase;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.join-btn:hover {
    background: var(--accent);
    color: #000;
    box-shadow: 0 0 20px var(--accent-glow);
}

.arrow { font-family: monospace; letter-spacing: -2px; }

/* Mobil Uyum */
@media (max-width: 768px) {
    .status-banner { flex-direction: column; height: auto; padding: 20px !important; gap: 15px; text-align: center; }
    .banner-left { flex-direction: column; width: 100%; padding: 0; }
    .banner-action { width: 100%; justify-content: center; padding: 0; border: none; background: none; }
}

/* sadadssadasd

/* =========================================
   NADAZERO VISUAL STYLE V2.1 (FULL RELEASE)
   ========================================= */

/* --- TEMEL AYARLAR --- */
:root {
    --bg-color: #050505;
    --panel-bg: rgba(20, 20, 20, 0.75);
    --accent: #FFD152; /* Amber */
    --accent-glow: rgba(255, 209, 82, 0.4);
    --text-main: #e0e0e0;
    --font-display: 'Rajdhani', sans-serif;
    --font-code: 'JetBrains Mono', monospace;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-display);
    min-height: 100vh;
    overflow-x: hidden;
    user-select: none; 
    -webkit-user-drag: none;
    perspective: 1000px;
    /* YENİ: CRT Ekran Bombesi */
    box-shadow: inset 0 0 150px rgba(0,0,0,0.9);
}

img { user-drag: none; -webkit-user-drag: none; pointer-events: none; }
input, textarea { user-select: text !important; cursor: text; }

/* YENİ: Özel Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #000; }
::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 4px; }
::selection { background: var(--accent); color: #000; }

/* --- EFEKT KATMANLARI --- */

/* 1. Vignette (Köşe Karartma) */
.vignette {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle, transparent 60%, black 100%);
    pointer-events: none; z-index: 998;
}

/* 2. CRT Scanlines */
.scanlines {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(255,255,255,0), rgba(255,255,255,0) 50%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.1));
    background-size: 100% 4px;
    pointer-events: none; z-index: 999;
}

/* 3. Arka Plan Kayan Yazılar (Parallax Hedefi) */
.bg-text-wrapper {
    position: fixed; top: -20%; left: -20%; width: 140%; height: 140%;
    z-index: -1; display: flex; flex-direction: column; justify-content: center;
    opacity: 0.06; transform: rotate(-5deg); pointer-events: none;
    transition: transform 0.1s linear;
}

.marquee {
    white-space: nowrap; font-family: var(--font-display);
    font-weight: 800; font-size: 7rem; color: var(--accent);
    text-transform: uppercase; line-height: 1.1;
}

.marquee.left { animation: scroll-left 40s linear infinite; }
.marquee.right { animation: scroll-right 45s linear infinite; }

@keyframes scroll-left { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes scroll-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }

/* --- NAVBAR --- */
nav {
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px 40px; background: rgba(0,0,0,0.85);
    border-bottom: 2px solid #222; backdrop-filter: blur(10px);
    position: relative; z-index: 100;
}

.brand {
    font-size: 2rem; color: var(--accent); letter-spacing: 4px; font-weight: 700;
    text-shadow: 0 0 15px var(--accent-glow);
}

.nav-links { display: flex; gap: 30px; list-style: none; align-items: center; }

.nav-link {
    color: #888; text-decoration: none; font-family: var(--font-code);
    font-size: 0.9rem; cursor: pointer; transition: 0.3s;
    text-transform: uppercase; position: relative;
}
.nav-link:hover, .nav-link.active { color: var(--accent); text-shadow: 0 0 8px var(--accent); }

/* Dropdown */
.dropdown { position: relative; }
.dropdown-menu {
    display: none; position: absolute; top: 100%; left: 0;
    background: #0f0f0f; border: 1px solid var(--accent);
    min-width: 200px; box-shadow: 0 0 20px rgba(0,0,0,0.8);
}
.dropdown:hover .dropdown-menu { display: block; }
.dropdown-item {
    display: block; padding: 10px; color: #ccc; text-decoration: none;
    font-family: var(--font-code); font-size: 0.8rem; border-bottom: 1px solid #222;
}
.dropdown-item:hover { background: var(--accent); color: #000; }

/* Ses Butonu */
.sound-toggle-btn {
    background: transparent; border: 1px solid #444; color: #666;
    padding: 5px 12px; font-family: var(--font-code); font-size: 0.75rem;
    cursor: pointer; transition: 0.3s; display: flex; align-items: center; gap: 5px;
}
.sound-toggle-btn:hover { border-color: var(--accent); color: var(--accent); box-shadow: 0 0 10px rgba(255, 209, 82, 0.2); }
.sound-toggle-btn.playing {
    border-color: var(--accent); color: var(--accent); animation: pulse-sound 2s infinite;
}
@keyframes pulse-sound {
    0% { box-shadow: 0 0 0 rgba(255,209,82,0); }
    50% { box-shadow: 0 0 10px rgba(255,209,82,0.3); }
    100% { box-shadow: 0 0 0 rgba(255,209,82,0); }
}

/* --- CONTAINER --- */
.container {
    max-width: 1000px; margin: 50px auto; padding: 0 20px;
    position: relative; z-index: 10;
}
.logo-area { text-align: center; margin-bottom: 40px; }
.logo-img { max-width: 180px; filter: drop-shadow(0 0 20px rgba(255, 209, 82, 0.3)); }

/* --- 3D TILT KARTLARI (YENİLENMİŞ EFEKT) --- */
.tilt-card {
    background: var(--panel-bg); border: 1px solid #333; border-top: 3px solid var(--accent);
    padding: 35px; margin-bottom: 30px; backdrop-filter: blur(10px);
    transform-style: preserve-3d; transition: transform 0.1s ease-out;
    box-shadow: 0 15px 40px rgba(0,0,0,0.6);
    position: relative; overflow: hidden !important;
    --mouse-x: 0px; --mouse-y: 0px;
}

/* Spotlight Effect */
.tilt-card::before, .ano-card::before, .btn-3d::before {
    content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    z-index: 1; pointer-events: none; opacity: 0; transition: opacity 0.5s ease;
    background: radial-gradient(600px circle at var(--mouse-x) var(--mouse-y), rgba(255, 209, 82, 0.08), transparent 40%);
}

/* Grid Effect */
.tilt-card::after, .ano-card::after, .btn-3d::after {
    content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    z-index: 2; pointer-events: none; opacity: 0; transition: opacity 0.5s ease;
    background-image: linear-gradient(rgba(255, 209, 82, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 209, 82, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
    mask-image: radial-gradient(300px circle at var(--mouse-x) var(--mouse-y), black, transparent);
    -webkit-mask-image: radial-gradient(300px circle at var(--mouse-x) var(--mouse-y), black, transparent);
}

.tilt-card:hover::before, .tilt-card:hover::after,
.ano-card:hover::before, .ano-card:hover::after,
.btn-3d:hover::before, .btn-3d:hover::after { opacity: 1; }

.tilt-content { position: relative; z-index: 5; transform: translateZ(20px); }

h2 {
    color: var(--accent); text-transform: uppercase; margin-bottom: 20px;
    font-size: 2rem; letter-spacing: 2px; text-shadow: 0 0 10px rgba(255, 209, 82, 0.2);
}
p {
    line-height: 1.6; color: #ccc; font-family: var(--font-code); margin-bottom: 15px; font-size: 0.95rem;
}

/* --- STATUS BANNER (Roblox İçin) --- */
.status-banner {
    display: flex; align-items: center; justify-content: space-between;
    padding: 0 !important; height: 120px; border: 1px solid #333;
    background: rgba(10,10,10,0.95); box-shadow: 0 0 20px rgba(0,0,0,0.5);
    margin-bottom: 40px; position: relative; overflow: hidden;
}

.banner-left { display: flex; align-items: center; gap: 20px; padding-left: 30px; width: 70%; z-index: 5; }
.banner-icon-box {
    width: 70px; height: 70px; border: 2px solid var(--accent); padding: 2px;
    background: rgba(255, 209, 82, 0.1); box-shadow: 0 0 15px var(--accent-glow);
}
.group-icon { width: 100%; height: 100%; object-fit: cover; filter: grayscale(100%); transition: 0.3s; }
.status-banner:hover .group-icon { filter: grayscale(0%); }

.banner-info { display: flex; flex-direction: column; }
.banner-label {
    font-family: var(--font-code); font-size: 0.75rem; color: var(--accent);
    background: rgba(255, 209, 82, 0.1); padding: 2px 6px; width: fit-content; margin-bottom: 5px;
}
.stat-value {
    font-family: 'Rajdhani', sans-serif; font-size: 2.5rem; font-weight: 700;
    line-height: 1; color: #fff; text-shadow: 0 0 10px rgba(255,255,255,0.3);
}
.stat-sub { font-family: var(--font-code); font-size: 0.8rem; color: #888; }

.banner-action {
    z-index: 5; padding-right: 30px; width: 30%; height: 100%;
    display: flex; align-items: center; justify-content: flex-end;
    background: linear-gradient(90deg, transparent, rgba(255, 209, 82, 0.05));
    border-left: 1px solid #333;
}
.join-btn {
    padding: 10px 20px; border: 1px solid var(--accent); background: transparent;
    color: var(--accent); font-family: var(--font-display); font-weight: bold;
    text-decoration: none; text-transform: uppercase; transition: 0.3s;
}
.join-btn:hover { background: var(--accent); color: #000; box-shadow: 0 0 20px var(--accent-glow); }

/* --- FORM --- */
.form-group { margin-bottom: 25px; }
label { display: block; color: var(--accent); font-family: var(--font-code); font-size: 0.8rem; margin-bottom: 8px; text-transform: uppercase; }
input, textarea {
    width: 100%; padding: 15px; background: rgba(0,0,0,0.7); border: 1px solid #444;
    color: #fff; font-family: var(--font-code); font-size: 1rem; transition: 0.3s;
}
input:focus, textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 15px var(--accent-glow); }

/* 3D Buton */
.btn-3d {
    width: 100%; padding: 18px; background: rgba(255,209,82,0.05); border: 1px solid var(--accent);
    color: var(--accent); font-family: var(--font-display); font-size: 1.2rem; font-weight: bold;
    text-transform: uppercase; cursor: pointer; transition: 0.3s; position: relative; overflow: hidden;
}
.btn-3d:hover { background: var(--accent); color: #000; box-shadow: 0 0 30px var(--accent-glow); transform: scale(1.01); }

/* --- ANOMALI KARTLARI --- */
.anomaly-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px; padding-bottom: 50px;
}
.ano-card {
    background: var(--panel-bg); border: 1px solid #333; overflow: hidden;
    display: flex; flex-direction: column; transform-style: preserve-3d;
    transition: transform 0.1s ease-out;
}
.card-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 10px 15px; background: rgba(0,0,0,0.8); border-bottom: 1px solid #333;
}
.ano-id { font-weight: bold; color: var(--accent); letter-spacing: 1px; }
.ano-class { font-size: 0.8rem; padding: 2px 8px; font-weight: bold; color: #000; border-radius: 2px; }
.cls-safe { background: #4caf50; }
.cls-euclid { background: #ffeb3b; }
.cls-keter { background: #f44336; color: white; animation: blink-red 2s infinite; }
@keyframes blink-red { 50% { opacity: 0.7; } }

.card-img-container { height: 180px; background: #000; border-bottom: 1px solid #333; overflow: hidden; }
.card-img { width: 100%; height: 100%; object-fit: cover; opacity: 0.8; filter: grayscale(40%) contrast(120%); transition: 0.3s; }
.ano-card:hover .card-img { opacity: 1; filter: grayscale(0%); }

.card-data { padding: 15px; font-family: var(--font-code); font-size: 0.85rem; flex-grow: 1; }
.data-row { display: flex; justify-content: space-between; border-bottom: 1px dashed #333; padding-bottom: 5px; margin-bottom: 8px; }
.data-label { color: #888; }
.data-value { color: #e0e0e0; font-weight: bold; }
.status-breach { color: #f44336; }
.status-contained { color: #4caf50; }

.card-footer { padding: 12px 15px; background: rgba(0,0,0,0.4); border-top: 1px solid #333; font-size: 0.8rem; color: #aaa; }

/* --- MODAL (POPUP) --- */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.95); backdrop-filter: blur(5px);
    z-index: 10000; display: none; justify-content: center; align-items: center;
    animation: fadeIn 0.3s;
}
.modal-overlay.active { display: flex; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.modal-content {
    background: #0a0a0a; width: 85%; max-width: 1100px; height: 85vh;
    border: 2px solid var(--accent); box-shadow: 0 0 50px rgba(0,0,0,1);
    position: relative; overflow: hidden; display: flex; flex-direction: column;
    animation: modalOpen 0.4s cubic-bezier(0.19, 1, 0.22, 1);
}
@keyframes modalOpen {
    0% { transform: scale(1, 0.05); opacity: 0; }
    50% { transform: scale(1, 1); opacity: 1; }
}

.modal-grid { display: grid; grid-template-columns: 40% 60%; height: 100%; width: 100%; }
.modal-left { background: #050505; border-right: 1px solid #333; display: flex; flex-direction: column; padding: 20px; }
.slideshow-container { flex-grow: 1; position: relative; background: #000; border: 1px solid #333; margin-top: 40px; }
.slide-img { width: 100%; height: 100%; object-fit: cover; position: absolute; opacity: 0; transition: opacity 1s; }
.slide-img.active { opacity: 1; }
.slide-indicators { display: flex; justify-content: center; gap: 10px; margin-top: 15px; }
.indicator { width: 30px; height: 4px; background: #333; cursor: pointer; }
.indicator.active { background: var(--accent); box-shadow: 0 0 10px var(--accent); }

.modal-right {
    padding: 40px; overflow-y: auto; position: relative;
    background-image: repeating-linear-gradient(0deg, transparent, transparent 19px, rgba(255,255,255,0.02) 20px);
}
.modal-right h2 { font-family: 'VT323', monospace; font-size: 3.5rem; margin-bottom: 30px; border-bottom: 2px solid #333; color: var(--accent); }
.close-btn {
    position: absolute; top: 0; right: 0; background: var(--accent); color: #000;
    padding: 10px 20px; font-family: var(--font-code); font-weight: bold; cursor: pointer; z-index: 10;
}
.close-btn:hover { background: #fff; }

/* Boot Screen */
.boot-screen {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: #000; z-index: 20; padding: 30px; font-family: 'VT323', monospace;
    color: var(--accent); font-size: 1.2rem; display: flex; flex-direction: column;
}
.log-line { display: block; animation: typeLine 0.1s steps(1); }
.boot-screen.glitching { animation: chromatic-aberration 0.2s infinite; }
@keyframes chromatic-aberration {
    0% { text-shadow: 2px 0 0 red, -2px 0 0 blue; }
    100% { text-shadow: -2px 0 0 red, 2px 0 0 blue; }
}

/* --- SAYFA GEÇİŞİ --- */
#page-transition {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: #000; z-index: 99999; display: flex; flex-direction: column;
    justify-content: center; align-items: center; opacity: 0; pointer-events: none;
    transition: opacity 0.3s;
}
#page-transition.transition-active { opacity: 1; pointer-events: all; cursor: wait; }
.glitch-loader { font-size: 1.5rem; color: var(--accent); font-weight: bold; margin-bottom: 15px; animation: text-flicker 0.1s infinite; }
@keyframes text-flicker { 0% { opacity: 1; } 50% { opacity: 0.8; } 100% { opacity: 1; } }
.loader-bar-container { width: 300px; height: 4px; background: #333; position: relative; overflow: hidden; }
.loader-bar { height: 100%; width: 100%; background: var(--accent); animation: loader-anim 2s infinite; }
@keyframes loader-anim { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }

/* FOOTER */
footer {
    text-align: center; margin-top: 50px; padding: 30px; border-top: 1px solid #222;
    font-family: var(--font-code); font-size: 0.75rem; color: #555;
}

/* MOBİL */
@media (max-width: 768px) {
    .status-banner { flex-direction: column; height: auto; padding: 20px !important; text-align: center; gap: 20px; }
    .banner-left { flex-direction: column; width: 100%; padding: 0; }
    .banner-action { width: 100%; justify-content: center; border: none; padding-top: 20px; border-top: 1px solid #333; }
    .modal-grid { grid-template-columns: 1fr; }
    .modal-left { height: 250px; border-right: none; border-bottom: 1px solid #333; }
}

/* NDP Sayfası Özel Stilleri */
.ndp-document {
    text-align: left !important;
    border-left: 2px solid var(--accent) !important;
}

.ndp-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #333;
    padding-bottom: 15px;
    margin-bottom: 20px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8rem;
}

.ndp-id-box {
    background: var(--accent);
    color: #000;
    padding: 2px 8px;
    font-weight: bold;
}

.ndp-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    background: rgba(255,255,255,0.02);
    padding: 15px;
    border: 1px dashed #444;
    margin-bottom: 30px;
}

.meta-label {
    display: block;
    font-size: 0.7rem;
    color: #777;
    margin-bottom: 5px;
}

.meta-value {
    font-weight: bold;
    font-family: 'JetBrains Mono', monospace;
}

.ndp-section h3 {
    color: var(--accent);
    font-size: 1rem;
    margin-top: 25px;
    border-bottom: 1px solid #222;
    display: inline-block;
}

.ndp-section p {
    font-size: 0.95rem;
    color: #aaa;
    margin-top: 10px;
    line-height: 1.6;
}