/* ARKA PLAN: OYUNCU ODASI & PİXEL-ART ENTEGRASYONU */
.gaming-room-bg {
    background-image: 
        linear-gradient(rgba(13, 17, 23, 0.92), rgba(13, 17, 23, 0.95)),
        linear-gradient(transparent 1px, transparent 1px),
        linear-gradient(90deg, transparent 1px, transparent 1px),
        linear-gradient(rgba(212, 175, 55, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212, 175, 55, 0.05) 1px, transparent 1px);
    background-size: 100%, 100%, 100%, 20px 20px, 20px 20px;
    background-attachment: fixed;
}

/* CRT EKRAN (Tüplü Monitör Hissiyatı) */
.crt-screen {
    background-color: rgba(22, 27, 34, 0.85); 
    border: 1px solid var(--accent-color);
    border-radius: 8px;
    padding: 3rem;
    box-shadow: 
        inset 0 0 30px rgba(0, 0, 0, 0.8), 
        0 0 15px rgba(212, 175, 55, 0.1); 
    backdrop-filter: blur(5px);
}

/* RPG ENVANTER SİSTEMİ YERLEŞİMİ */
.inventory-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem;
    margin-top: 4rem;
    padding-bottom: 2rem; 
}

.inventory-slot {
    position: relative;
    text-decoration: none;
    outline: none;
}

/* GÖRSEL İKON YUVASI (Resim Dosyaları İçin) */
.slot-icon {
    width: 75px;
    height: 75px;
    background-color: var(--bg-color); /* #000000 yerine ana sayfanın antrasit rengi geldi */
    
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    
    border: 2px solid var(--accent-color); 
    border-radius: 8px; 
    transition: all 0.2s ease;
    box-shadow: inset 0 0 15px rgba(0,0,0,0.9);
}

/* Fare Üzerine Geldiğinde (Resim Parlaması) */
.inventory-slot:hover .slot-icon {
    transform: scale(1.1);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.7), inset 0 0 10px rgba(212, 175, 55, 0.2);
    border-color: #fff; /* Üzerine gelince çerçevenin hafif beyazlaması retro bir etki yaratır */
}

/* SADELEŞTİRİLMİŞ BİLGİ KUTUCUĞU (Tooltip) */
.slot-tooltip {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: 280px;
    background-color: rgba(13, 17, 23, 0.95);
    border: 1px solid var(--accent-color);
    border-radius: 6px;
    padding: 1.2rem;
    text-align: center; 
    
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 50;
    pointer-events: none;
    box-shadow: 0 10px 25px rgba(0,0,0,0.9);
}

.slot-tooltip::before {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 8px;
    border-style: solid;
    border-color: transparent transparent var(--accent-color) transparent;
}

.inventory-slot:hover .slot-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(20px);
}

/* Açıklama Tipografisi */
.tooltip-desc {
    display: block;
    color: var(--text-primary); 
    font-family: var(--code-font); 
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ALT NAVİGASYON (Çerçeve İçi Butonlar) */
.arcade-nav-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4rem; 
    padding-top: 2rem;
    border-top: 1px dashed rgba(212, 175, 55, 0.3); 
}

/* Retro Buton Stilleri */
.pixel-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: transparent;
    color: var(--text-secondary);
    font-family: var(--code-font); 
    font-size: 0.85rem;
    text-decoration: none;
    border: 1px solid #30363d;
    padding: 0.5rem 1rem;
    text-transform: uppercase;
    box-shadow: 2px 2px 0px rgba(0,0,0,0.5); 
    transition: all 0.1s ease; 
}

.pixel-btn:hover {
    color: var(--bg-color);
    background-color: var(--text-secondary);
    transform: translate(2px, 2px); 
    box-shadow: 0px 0px 0px transparent;
}

.pixel-btn.highlight {
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.pixel-btn.highlight:hover {
    background-color: var(--accent-color);
    color: var(--bg-color);
}

.pixel-icon {
    font-size: 1rem;
}

/* METİN İÇİ LİNKLER (Görev özeti kısmındaki linkler için) */
.text-link {
    color: var(--accent-color);
    text-decoration: underline;
    text-decoration-style: dashed;
    text-underline-offset: 4px;
    transition: all 0.2s ease;
}

.text-link:hover {
    color: var(--text-primary);
    text-decoration-style: solid;
}

/* DATA MODULE CARDS (Alt Bölüm Seçim Ekranları) */
.data-module-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 3rem;
}

.data-card {
    display: block;
    text-decoration: none;
    background-color: rgba(0, 0, 0, 0.6);
    border: 1px solid #30363d;
    border-left: 4px solid var(--accent-color);
    padding: 1.8rem;
    border-radius: 4px;
    transition: all 0.2s ease;
    box-shadow: inset 0 0 10px rgba(0,0,0,0.5);
}

.data-card:hover {
    background-color: rgba(212, 175, 55, 0.05);
    border-color: rgba(212, 175, 55, 0.3);
    border-left: 4px solid var(--accent-color);
    transform: translateX(10px); /* Fareyle üzerine gelince kart hiyerarşik olarak sağa kayar */
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.data-card-header {
    display: flex;
    justify-content: space-between;
    font-family: var(--code-font);
    font-size: 0.8rem;
    margin-bottom: 1.2rem;
    border-bottom: 1px dashed rgba(212, 175, 55, 0.3);
    padding-bottom: 0.5rem;
}

.card-id {
    color: var(--accent-color);
    font-weight: bold;
    letter-spacing: 1px;
}

.card-status {
    color: var(--text-secondary);
}

.card-title {
    color: var(--text-primary);
    font-family: var(--code-font);
    font-size: 1.3rem;
    margin: 0 0 0.8rem 0;
    transition: color 0.2s ease;
}

.data-card:hover .card-title {
    color: var(--accent-color);
}

.card-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin: 0;
    font-family: var(--main-font);
}

/* GÖREV SİSTEM LOGU (Timeline Yapısı) */
.mission-log {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 3rem; /* Haftalar arası boşluk */
}

.log-entry {
    border-left: 2px dashed rgba(212, 175, 55, 0.3);
    padding-left: 1.5rem;
    position: relative;
}

/* Timeline Noktası */
.log-entry::before {
    content: "";
    position: absolute;
    left: -6px;
    top: 0;
    width: 10px;
    height: 10px;
    background-color: var(--bg-color);
    border: 2px solid var(--accent-color);
    border-radius: 50%;
}

.log-meta {
    font-family: var(--code-font);
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
    letter-spacing: 1px;
}

.log-desc {
    color: var(--text-primary);
    font-size: 0.95rem;
    margin-bottom: 1rem;
    line-height: 1.5;
}

/* MEDYA ÇERÇEVELERİ (Resim ve Videolar) */
.log-media {
    margin-bottom: 1.5rem;
}

.log-media.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.media-frame {
    background-color: #000;
    border: 1px solid #30363d;
    border-radius: 4px;
    padding: 0.3rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    transition: border-color 0.3s ease;
}

.media-frame:hover {
    border-color: var(--accent-color);
}

.media-frame img, .media-frame iframe {
    width: 100%;
    border-radius: 2px;
    display: block;
}

/* Videoları (iframe) 16:9 oranında tutmak için zorunlu ayar */
.media-frame iframe {
    aspect-ratio: 16 / 9;
    height: auto;
    border: none;
}

/* ÖĞRENİM ÇIKTILARI (Terminal Listesi) */
.log-outcomes {
    background-color: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(212, 175, 55, 0.1);
    padding: 1rem 1.5rem;
    border-radius: 4px;
}

.outcome-title {
    font-family: var(--code-font);
    color: var(--accent-color);
    font-size: 0.85rem;
    display: block;
    margin-bottom: 0.8rem;
}

.log-outcomes ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.log-outcomes ul li {
    position: relative;
    padding-left: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Standart yuvarlak madde imi yerine terminal oku */
.log-outcomes ul li::before {
    content: ">";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-family: var(--code-font);
}

/* Mobilde medya grid'ini alt alta dizer */
@media (max-width: 768px) {
    .log-media.grid-2 {
        grid-template-columns: 1fr;
    }
}

