/* --- 7. DEV DIARY (THE ARCHIVES) --- */
.dev-diary-section {
    padding: 100px 20px;
    background: #080808;
    background-image: 
        linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.9)),
        url('https://www.transparenttextures.com/patterns/dark-matter.png');
    border-top: 1px solid #1a1a1a;
}

.diary-container { max-width: 1200px; margin: 0 auto; }

.diary-header { text-align: center; margin-bottom: 50px; }
.diary-header h2 { font-family: var(--font-header); font-size: 1.5rem; color: var(--bone-white); text-transform: uppercase; }
.diary-header p { color: var(--spectral-green); font-family: 'Courier New', monospace; letter-spacing: 1px; }

/* The Interface Grid */
.archive-interface {
    display: grid;
    grid-template-columns: 2fr 1fr; /* Monitor takes 2/3, List takes 1/3 */
    gap: 20px;
    background: #000;
    padding: 20px;
    border: 1px solid #333;
    box-shadow: 0 0 50px rgba(0,0,0,0.8);
}

/* 1. Main Monitor */
.main-monitor {
    position: relative;
    aspect-ratio: 16/9;
    background: #000;
    border: 1px solid #222;
}

.main-monitor iframe { width: 100%; height: 100%; }

/* 2. Evidence List */
.evidence-list {
    display: flex; flex-direction: column; gap: 10px;
    max-height: 100%; overflow-y: auto;
    border-left: 1px solid #222;
    padding-left: 20px;
}

.evidence-title {
    font-family: 'Courier New', monospace; color: var(--fog-grey);
    font-size: 0.9rem; margin-bottom: 15px; border-bottom: 1px dashed #333; padding-bottom: 10px;
}

/* Individual Tape Item */
.evidence-tape {
    display: flex; align-items: center; gap: 15px;
    padding: 15px;
    background: rgba(255,255,255,0.02);
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.2s ease;
}

.evidence-tape:hover { background: rgba(255,255,255,0.05); }

/* Active State (Currently Playing) */
.evidence-tape.active {
    background: rgba(82, 164, 155, 0.1);
    border-color: var(--spectral-green);
}
.evidence-tape.active .tape-name { color: var(--spectral-green); }
.evidence-tape.active .tape-status { color: var(--spectral-green); text-shadow: 0 0 5px var(--spectral-green); }

/* Tape Details */
.tape-icon { font-size: 1.5rem; filter: grayscale(100%); }
.tape-info { flex-grow: 1; display: flex; flex-direction: column; }
.tape-date { font-size: 0.7rem; color: #555; font-family: monospace; }
.tape-name { font-size: 0.9rem; font-weight: bold; color: var(--bone-white); text-transform: uppercase; }
.tape-status { font-size: 0.6rem; color: #333; font-family: monospace; letter-spacing: 1px; }

/* Mobile Responsive */
@media (max-width: 900px) {
    .archive-interface { grid-template-columns: 1fr; } /* Stack vertically */
    .evidence-list { border-left: none; border-top: 1px solid #222; padding-left: 0; padding-top: 20px; }
}