/* --- 1. GLOBAL FOUNDATION --- */
body {
    background-color: #12110f;
    color: #fdfaf3;
    font-family: "Courier New", Courier, monospace;
    margin: 0;
    padding: 0;
    display: flex;
    min-height: 100vh;
}

/* --- 2. SIDEBAR PILLAR --- */
.sidebar {
    width: 140px;
    height: 100vh;
    position: fixed;
    left: 0; top: 0;
    background-color: #12110f;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 50px;
    z-index: 1000;
    border-right: 1px solid #222;
}

.logo-container { margin-bottom: 80px; }
.logo-img { width: 100px; height: auto; }

nav ul { list-style: none; padding: 0; margin: 0; text-align: center; }
nav li { margin-bottom: 25px; }
nav a { 
    color: #fdfaf3; 
    text-decoration: none; 
    font-weight: bold; 
    font-size: 1.1rem; 
}
nav a:hover, .active-link { 
    text-decoration: line-through !important; 
    opacity: 0.5; 
}

/* --- 3. CONTENT AREA --- */
.content {
    margin-left: 140px;
    padding: 60px;
    flex-grow: 1;
    max-width: 800px;
    background-color: #12110f; /* Absolute consistency */
}

/* TITLES at 1.4rem */
h2, h3 { 
    font-size: 1.4rem; 
    letter-spacing: 2px; 
    color: #fdfaf3;
    margin-bottom: 15px;
}

h2 {
    border-bottom: 1px solid #333; 
    display: inline-block; 
    padding-bottom: 40px; 
}

/* BODY TEXT at 1.2rem */
p, .description, .video-info { 
    font-size: 1.2rem; 
    line-height: 1.4; 
    color: #fdfaf3;
    opacity: 0.9; /* Subtle variation for body text */
}

.subtitle { 
    font-size: 1.2rem; 
    font-style: italic; 
    opacity: 0.6; 
    margin-bottom: 20px; 
}

/* --- 4. THE SPAN (BOLDING) --- */
/* This ensures names/roles pop without changing color */
span {
    font-weight: bold;
    opacity: 1; /* Purest form of the color */
    color: #fdfaf3;
}

/* --- 5. GRID SYSTEM (Mobile Friendly) --- */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 60px;
}

.video-card { 
    display: flex; 
    flex-direction: column; 
    background-color: #12110f;
}

video {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    border: 1px solid #222;
}

.video-info { 
    margin-top: 15px; 
}

/* --- 6. TOP BAR (LANGUAGE) --- */
.top-bar {
    position: absolute;
    top: 20px;
    right: 40px;
}

.lang-link {
    color: #fdfaf3;
    text-decoration: none;
    font-size: 1rem;
    opacity: 0.5;
}

/* --- 7. MOBILE RESPONSIVENESS --- */
@media (max-width: 768px) {
    body { flex-direction: column; }
    .sidebar {
        width: 100%; height: auto;
        position: relative;
        border-right: none; 
        border-bottom: 1px solid #222;
        padding: 20px 0;
    }
    .logo-container { margin-bottom: 20px; }
    nav ul { display: flex; gap: 20px; justify-content: center; }
    nav li { margin-bottom: 0; }
    .content { margin-left: 0; padding: 40px 20px; }
}