/* RESET & BASE */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #000000;
    color: #e0e0e0;
    font-family: 'Space Mono', monospace;
    line-height: 1.6;
    overflow-x: hidden;
}

/* NOISE OVERLAY */
.noise-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none;
    z-index: 999;
    opacity: 0.05;
    background-image: url('data:image/svg+xml,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noise"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.8" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noise)"/%3E%3C/svg%3E');
}

/* THE OBSERVING EYE (WOW EFFECT) */
.fixed-observer {
    position: fixed;
    top: 0; left: 0;
    width: 100vw; height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 0; /* Stays behind content */
    pointer-events: none;
}

#watching-eye {
    width: 100%;
    max-width: 600px;
    height: auto;
    filter: grayscale(100%) contrast(1.3) brightness(0.7);
    mix-blend-mode: lighten;
    transition: transform 0.1s ease-out; /* Smooth JS tracking */
    /* Feathered edges */
    -webkit-mask-image: radial-gradient(circle, rgba(0,0,0,1) 30%, rgba(0,0,0,0) 70%);
    mask-image: radial-gradient(circle, rgba(0,0,0,1) 30%, rgba(0,0,0,0) 70%);
}

/* NAVIGATION */
.main-nav {
    position: fixed;
    top: 0; left: 0; width: 100%;
    padding: 20px 40px;
    display: flex;
    justify-content: center;
    gap: 30px;
    z-index: 100;
    background: linear-gradient(to bottom, rgba(0,0,0,0.9), transparent);
}

.main-nav a {
    color: #888;
    text-decoration: none;
    font-size: 0.8rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: #fff;
}

/* MAIN WRAPPER */
.brutalist-wrapper {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

/* SECTIONS */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    /* Transparent to let the eye show strongly */
    background: transparent; 
}

.content-section {
    width: 100%;
    padding: 100px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    border-bottom: 1px solid #1a1a1a;
    background: rgba(0, 0, 0, 0.85); /* Dims the eye behind text */
}

/* TEXTURES FOR SPECIFIC SECTIONS */
.textured-section {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Parallax effect for backgrounds */
}

.bg-dark {
    background-image: url('Sc00u01_sama ciemnosc_30.jpg');
}



.bg-eyes {
    background-image: url('oczy na apelu tlo0.jpg');
}

.content-overlay {
    background: rgba(0, 0, 0, 0.75); /* Dark overlay to keep text readable on textures */
    padding: 60px;
    max-width: 900px;
    width: 100%;
    text-align: center;
    border: 1px solid rgba(255,255,255,0.1);
}

/* TYPOGRAPHY */
.title-container { margin-top: 10vh; }
.main-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 6rem;
    font-weight: 700;
    letter-spacing: 10px;
    line-height: 1;
    color: #ffffff;
}
.sub-title {
    font-size: 1.2rem;
    letter-spacing: 4px;
    color: #a0a0a0;
    margin-top: 10px;
}
.section-heading {
    font-size: 1.5rem;
    letter-spacing: 5px;
    margin-bottom: 40px;
    color: #fff;
    text-transform: uppercase;
}
.body-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    line-height: 1.5;
    color: #cccccc;
    max-width: 800px;
    text-align: center;
}

/* BUTTONS */
.brutalist-button {
    display: inline-block;
    padding: 15px 30px;
    border: 1px solid #fff;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    letter-spacing: 3px;
    transition: all 0.3s ease;
    background: rgba(0,0,0,0.5);
}
.brutalist-button:hover {
    background: #fff;
    color: #000;
}

/* =========================================
   TRAILER & SIDE PANELS ARCHITECTURE
   ========================================= */
.trailer-wrapper {
    width: 100%;
    max-width: 1400px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.trailer-layout {
    display: grid;
    grid-template-columns: 320px 1fr 320px;
    gap: 30px;
    width: 100%;
    align-items: center;
}

/* Boczne kolumny paneli */
.side-panels {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Pojedynczy interaktywny panel (akta) */
/* ... previous trailer layout CSS remains unchanged ... */

/* Pojedynczy interaktywny panel (akta) */
.info-panel {
    background: rgba(10, 10, 10, 0.85);
    border: 1px solid #222;
    padding: 20px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

/* Ensure only the header triggers the pointer cursor */
.panel-header {
    cursor: pointer;
}

.info-panel:hover {
    border-color: #333;
    background: rgba(15, 15, 15, 0.95);
}

.panel-header .panel-tag {
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    color: #444;
    letter-spacing: 2px;
}

.panel-header h4 {
    font-family: 'Space Mono', monospace;
    font-size: 0.9rem;
    color: #fff;
    letter-spacing: 1px;
    margin: 8px 0 0 0;
    transition: color 0.5s ease, letter-spacing 0.5s ease;
}

.panel-header:hover h4 {
    color: #777; 
    letter-spacing: 3px; 
}

/* Zawartość rozwijana */
.panel-content {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease, margin-top 0.3s ease;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.1rem;
    color: #888;
    line-height: 1.4;
}

/* Kiedy panel posiada klasę .active, rozwija treść */
.info-panel.active .panel-content {
    max-height: 200px;
    opacity: 1;
    margin-top: 15px;
    border-top: 1px dashed #222;
    padding-top: 15px;
}

/* ŚRODKOWY PLAYER Z ZDJĘCIEM W TLE */
.video-container-box {
    width: 100%;
}

.texture-video-bg {
    width: 100%;
    aspect-ratio: 16/9;
    border: 1px solid #222;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    
    /* Zdjęcie w tle */
    background: url('tt3.png') no-repeat center center;
    background-size: cover;
}

/* Mocna czarna winieta, żeby brzegi obrazka były niemal czarne, a środek czytelny */
.video-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(circle, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.95) 100%);
    z-index: 1;
}

/* Zimna, martwa poświata zamiast czerwieni */
.coming-soon-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, rgba(0, 0, 0, 0) 50%);
    animation: pulseGloomy 6s ease-in-out infinite;
    pointer-events: none;
    z-index: 2;
}

@keyframes pulseGloomy {
    0%, 100% { transform: scale(1); opacity: 0.2; }
    50% { transform: scale(1.5); opacity: 0.7; }
}

.glitch-text {
    font-family: 'Space Mono', monospace;
    font-size: 1.8rem;
    letter-spacing: 6px;
    color: #666; /* Mniej bijące po oczach niż czysta biel */
    position: relative;
    z-index: 3;
    animation: subtleFlicker 4s infinite;
    text-shadow: 0 5px 15px rgba(0,0,0,0.9); /* Odetnie napis od tekstury tła */
}

@keyframes subtleFlicker {
    0%, 100% { opacity: 1; }
    3%, 7% { opacity: 0.6; }
    10% { opacity: 1; }
    85% { opacity: 1; }
    88% { opacity: 0.4; }
    90% { opacity: 1; }
}

/* RWD */
@media (max-width: 1100px) {
    .trailer-layout {
        grid-template-columns: 1fr;
        max-width: 700px;
    }
    .side-panels {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    .texture-video-bg {
        order: -1; /* Wideo wskakuje na samą górę na mobile */
        margin-bottom: 20px;
    }
}

@media (max-width: 700px) {
    .side-panels { grid-template-columns: 1fr; }
}

/* GRIDS */
.grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    text-align: left;
}
.grid-item h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.8rem;
    color: #fff;
    border-bottom: 1px solid #333;
    padding-bottom: 10px;
    margin-bottom: 10px;
}
.grid-item p {
    font-size: 0.9rem;
    color: #999;
}

/* NEWS PREVIEW */
.news-preview-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 900px;
    width: 100%;
}
.news-preview-card {
    border: 1px solid #222;
    padding: 30px;
    transition: border-color 0.3s;
}
.news-preview-card:hover { border-color: #666; }
.news-preview-card .date { font-size: 0.8rem; color: #666; }
.news-preview-card h4 { font-family: 'Cormorant Garamond', serif; font-size: 1.5rem; margin: 10px 0 20px 0; }
.news-preview-card a { color: #fff; text-decoration: none; font-weight: bold; }

/* LOGOS */
.logos-section {
    padding: 60px 20px;
    width: 100%;
    background: #000;
    text-align: center;
}
.logos-grid {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.logo-placeholder {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    color: #444;
    padding: 20px 40px;
    border: 1px solid #111;
}

/* ANIMATIONS */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease-out, transform 1s ease-out;
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
.scroll-indicator {
    position: absolute; bottom: 40px;
    display: flex; flex-direction: column; align-items: center; gap: 10px; opacity: 0.5;
}
.scroll-indicator .line { width: 1px; height: 50px; background: #fff; }

@media (max-width: 768px) {
    .main-title { font-size: 3rem; letter-spacing: 4px; }
    .grid-container, .news-preview-grid { grid-template-columns: 1fr; }
    .main-nav { display: none; /* Mobile menu needed in production */ }
}

/* =========================================
   1. SEKCJA GŁÓWNA (PEŁNA SZEROKOŚĆ I PRZEZROCZYSTOŚĆ)
   ========================================= */
.texture-dark-scratch {
    position: relative;
    /* Rozciągnięcie na pełny ekran z pominięciem paddingów kontenera[cite: 3] */
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 100px 5%;
    overflow: hidden;
    
    /* CAŁKOWICIE przezroczyste tło bazy, aby "śledzące oko" z body było widoczne! */
    background-color: transparent; 
    border: none;
}

/* 2. WARSTWA TEKSTURY (tlisty.png) ROZCIĄGNIĘTA NA CAŁĄ SEKCJĘ */
.texture-dark-scratch::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    
    background: url('1.png') no-repeat center center;
    background-size: cover;
    
    /* Suwak przezroczystości samych rys (od 0.1 do 1.0) */
    opacity: 0.25; 
    
    z-index: -2; /* Ląduje na samym dnie sekcji */
    pointer-events: none;
}

/* 3. WARSTWA PRZYCIEMNIAJĄCA (by tekst był czytelny na tle oka i rys) */
.texture-dark-scratch::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    
    /* Półprzezroczysta czerń delikatnie przygasza oko i rysy */
    background: rgba(0, 0, 0, 0.4); 
    
    z-index: -1;
    pointer-events: none;
}

/* =========================================
   4. WEWNĘTRZNY PANEL ZE SZKŁEM (BEZ SZAREJ OBWÓDKI)
   ========================================= */
.letters-interactive-wrapper {
    display: flex;
    width: 100%;
    max-width: 1200px;
    gap: 50px;
    align-items: center;
    margin: 0 auto; 
    
    /* Usunięcie szarej obwódki i ciężkiego, płaskiego tła */
    border: none;
    background: transparent; 
    
    /* Zostawiamy jedynie lekki efekt rozmycia pod tekstami i interaktywnym stosem listów */
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    
    padding: 20px;
    position: relative;
    z-index: 10;
}



/* IMAGE CONTAINER & MASK (For rounded corners on the letters image) */
.letters-image-container {
    flex: 1;
    position: relative;
    max-width: 550px;
}

/* The mask that actually cuts the corners */


.letters-bg {
    width: 100%;
    height: auto;
    display: block;
    filter: grayscale(100%) contrast(1.1) brightness(0.9);
    transition: filter 0.4s ease;
}

.letters-interactive-wrapper:hover .letters-bg {
    filter: grayscale(80%) contrast(1.2) brightness(1);
}

/* HOTSPOTS */
.hotspot {
    position: absolute;
    width: 32px;
    height: 32px;
    background: rgba(204, 0, 0, 0.15);
    border: 1px solid #cc0000;
    transform: translate(-50%, -50%);
    cursor: crosshair;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s, transform 0.3s;
    z-index: 10;
}

.hotspot:hover {
    background: rgba(204, 0, 0, 0.7);
    transform: translate(-50%, -50%) scale(1.3);
}

.pulse {
    width: 8px;
    height: 8px;
    background: #cc0000;
    border-radius: 50%;
    animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
    75%, 100% { transform: scale(3.5); opacity: 0; }
}

/* RIGHT PANEL (PREVIEW) */
/* PRAWY PANEL (Więcej oddechu i stabilna wysokość) */
.letter-preview-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 40px 20px 30px 60px;
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    
    /* Zmniejszamy min-height, aby kontener mógł się zwinąć przy krótkim liście */
    min-height: 250px; 
    
    /* Płynne rozsuwanie i obcinanie wystającego tekstu w trakcie ruchu */
    transition: height 0.4s ease-in-out;
    overflow: hidden; 
}

.dynamic-content {
    display: flex;
    flex-direction: column;
    /* Musimy usunąć jakiekolwiek min-height tutaj, by tekst dyktował rozmiar */
}
.author-name {
    font-family: 'Space Mono', monospace;
    font-size: 1.2rem;
    color: #fff;
    letter-spacing: 2px;
    margin-bottom: 30px; /* Większy odstęp od cytatu */
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 15px;
}

.snippet-text {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    line-height: 1.7; /* Lepsze światło między wierszami dla długich listów */
    color: #e0e0e0;
    font-style: italic;
    margin-bottom: 40px; /* Duży odstęp oddzielający tekst od czerwonego statusu */
    position: relative;
}

.snippet-text::before {
    content: '"';
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.1);
    position: absolute;
    top: -25px;
    left: -35px;
    font-family: sans-serif;
}

.meta-data {
    display: flex;
    flex-direction: column;
    gap: 12px; /* Zwiększona przerwa między statusem a info */
    font-family: 'Space Mono', monospace;
    font-size: 0.85rem;
}

/* KLASY ANIMACJI DLA JAVASCRIPTU */
.fade-transition {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.3s ease, transform 0.3s ease; /* Czas miękkiego przejścia */
}

.fade-transition.hidden-state {
    opacity: 0;
    transform: translateY(15px); /* Element delikatnie opada przy znikaniu */
    pointer-events: none;
}
/* RWD */
@media (max-width: 900px) {
    .letters-interactive-wrapper {
        flex-direction: column;
        padding: 30px;
    }
    .letter-preview-panel {
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.15);
        padding: 30px 0 0 0;
        min-height: auto;
    }
}


/* =========================================
   THE VOICES (CHARACTERS) SECTION
   ========================================= */

.grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 60px; /* Increased horizontal gap for a cleaner 2x2 layout */
    text-align: left;
    margin-top: 30px;
}

/* Base style for the individual voice cards */
.voice-card {
    transition: opacity 0.4s ease;
    padding-bottom: 10px;
}

/* Typography for the Name */
.voice-card h4 {
    font-family: 'Space Mono', monospace;
    font-size: 1.5rem;
    color: #fff;
    letter-spacing: 2px;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
}

/* The static line under the name */
.voice-card h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.2);
}

/* The interactive line that expands on hover */
.voice-card h4::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #777; /* Ash color from the trailer section */
    z-index: 1;
    transition: width 0.4s ease;
}

/* Typography for the Description */
.voice-card p {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    color: #aaa;
    font-style: italic;
    line-height: 1.5;
}

/* --- MICRO-INTERACTIONS --- */

/* Expand the ash line on hover */
.voice-card:hover h4::before {
    width: 100%;
}

/* Dim all cards when the grid container is hovered... */
.voices-grid:hover .voice-card {
    opacity: 0.3;
}

/* ...but keep the specifically hovered card at full opacity */
.voices-grid .voice-card:hover {
    opacity: 1;
}

/* RWD */
@media (max-width: 768px) {
    .grid-container { 
        grid-template-columns: 1fr; 
        gap: 30px;
    }
}


/* =========================================
   THE CREATORS SECTION (INTERACTIVE DOSSIER)
   ========================================= */

.creators-wrapper {
    position: relative;
    width: 100%;
    max-width: 1200px;
    padding: 60px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.bg-typography {
    position: absolute;
    top: 10%;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Space Mono', monospace;
    font-size: 14vw; 
    font-weight: 700;
    color: rgba(255, 255, 255, 0.02); 
    white-space: nowrap;
    z-index: 0;
    pointer-events: none;
    letter-spacing: -5px;
}

.creators-header, .creators-footer {
    position: relative;
    z-index: 10;
    text-align: center;
    width: 100%;
}

/* Wymuszenie 2 kolumn dla każdego ekranu PC */
.creators-split-layout {
    position: relative;
    z-index: 10;
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 80px;
    width: 100%;
    margin: 50px 0;
    align-items: stretch; /* KLUCZOWE: Zmienione z 'start' na 'stretch' */
}

/* --- LEWA STRONA: AKTUALNA KARTOTEKA --- */
.dossier-display {
    background: #050505;
    border: 1px solid #222;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 25px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.8);
    width: 100%;
    height: 100%; /* Zmusza lewą kartę do zajęcia pełnej wysokości wyznaczonej przez siatkę */
}
/* KONTENER KADRU TWÓRCY - Mocny efekt monitora CRT */
.dossier-image {
    width: 100%;
    height: 320px; 
    overflow: hidden;
    
    /* Agresywniejsza poświata: wyraźny, popielaty środek gasnący do absolutnej czerni */
    background: radial-gradient(circle at center, #2e2e2e 0%, #000000 70%); 
    
    border-bottom: 1px solid #222;
    padding: 20px; 
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    
    /* Podbijamy kontrast, żeby twarze wyglądały na mocniej doświetlone z ekranu */
    filter: grayscale(100%) contrast(1.5) brightness(0.9);
    position: relative; 
}

/* NAKŁADKA: Winieta + Scanlines (Pasy monitora) */
.dossier-image::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    
    /* Gęste, subtelne poziome linie przypominające stary sprzęt z monitoringu */
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.15),
        rgba(0, 0, 0, 0.15) 1px,
        transparent 1px,
        transparent 3px
    );
    
    /* Potężny, smolisty cień "zgniatający" krawędzie zdjęcia do środka */
    box-shadow: inset 0 0 100px rgba(0, 0, 0, 1), 
                inset 0 0 40px rgba(0, 0, 0, 0.9);
    
    pointer-events: none; 
    z-index: 2; /* Musi być wyżej niż zdjęcie! */
}

/* ZDJĘCIE - Zepchnięte pod winietę i paski */
.dossier-image img {
    width: 100%;
    height: 100%;
    max-height: 100%;
    object-fit: contain; 
    object-position: center; 
    display: block;
    transition: opacity 0.3s ease;
    
    /* KLUCZOWE: Zdjęcie musi mieć position i z-index niższy niż ::after */
    position: relative;
    z-index: 1; 
}

.dossier-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Wypełnia resztę wolnego miejsca wewnątrz karty[cite: 1] */
    
    /* KLUCZOWA ZMIANA: Sztywna blokada wymiaru */
    height: 280px; 
    overflow: hidden; /* Zabezpiecza przed rozepchaniem kontenera przez zbyt długi tekst[cite: 1] */
    
    justify-content: flex-start;
}

.dossier-info h4 {
    font-family: 'Space Mono', monospace;
    font-size: 1.6rem;
    color: #fff;
    letter-spacing: 3px;
    margin-bottom: 5px;
}

.dossier-info .role {
    display: block;
    font-family: 'Space Mono', monospace;
    font-size: 0.85rem;
    color: #666; 
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.dossier-info p {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    color: #aaa;
    line-height: 1.5;
    font-style: italic;
}

/* --- PRAWA STRONA: LISTA WYBORU --- */
/* --- PRAWA STRONA: LISTA WYBORU --- */
.creators-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 0 !important; /* Zerujemy sztywny odstęp, flex sam to rozłoży */
    width: 100%;
    height: 100%; /* Wypełnia kolumnę od góry do dołu */
}

/* Brutalistyczny, cienki pasek przewijania dla kartoteki */
.creators-list::-webkit-scrollbar {
    width: 4px;
}
.creators-list::-webkit-scrollbar-track {
    background: #0a0a0a;
    border-left: 1px solid #111;
}
.creators-list::-webkit-scrollbar-thumb {
    background: #333;
}
.creators-list::-webkit-scrollbar-thumb:hover {
    background: #666;
}

/* (Reszta klas przycisków .creator-btn zostaje bez zmian) */

.creator-btn {
    flex: 1; /* Równo dzieli dostępną wysokość na wszystkie 8 elementów */
    width: 100%; 
    min-height: 60px; /* Zabezpieczenie na mniejszych ekranach */
    background: transparent;
    border: none;
    border-left: 2px solid #222;
    padding: 0 30px; /* Sztywny padding pionowy usunięty na rzecz flex: 1 */
    text-align: left;
    font-family: 'Space Mono', monospace;
    font-size: 1.1rem;
    color: #555;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
    display: flex;
    align-items: center;
    gap: 15px;
}
/* (Reszta stanów :hover i .active dla przycisków zostaje bez zmian) */
.creator-btn .btn-index {
    font-size: 0.8rem;
    color: #333;
    transition: color 0.3s ease;
}

.creator-btn:hover {
    color: #aaa;
    border-left-color: #555;
    background: rgba(255, 255, 255, 0.02);
}

.creator-btn.active {
    color: #fff;
    border-left-color: #fff;
    background: rgba(255, 255, 255, 0.05);
    padding-left: 45px; 
}

.creator-btn.active .btn-index {
    color: #888;
}

/* KLASY ANIMACJI */
.fade-transition {
    opacity: 1;
    transition: opacity 0.3s ease;
}

.fade-transition.hidden-state {
    opacity: 0;
    pointer-events: none;
}

/* RWD */
@media (max-width: 900px) {
    .creators-split-layout {
        grid-template-columns: 1fr !important;
        gap: 50px;
    }
    .creators-list {
        order: -1; /* Na telefonach lista wskakuje nad wideo/zdjęcie */
    }
}
.dossier-image.dual-image img {
    width: 50%;
    /* Zmniejszamy zdjęcia, dając im przestrzeń na przesunięcie w pionie */
    height: 80%; 
    object-fit: contain;
    transition: opacity 0.3s ease, transform 0.4s ease; 
}

/* Lewy producent - przesunięty do góry */
.dossier-image.dual-image #dossier-img-1 {
    transform: translateY(-20%);
    border-right: none; /* Usuwamy linię, asymetria broni się sama */
}

/* Prawy producent - przesunięty do dołu */
.dossier-image.dual-image #dossier-img-2 {
    transform: translateY(20%);
}

/* =========================================
   NEWS SECTION (3-ITEM LOOP CAROUSEL)
   ========================================= */

#news {
    padding: 80px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    overflow: hidden; /* Ukrywa elementy wystające poza kadr */
}

.news-wrapper {
    width: 100%;
    max-width: 1200px;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.news-header-flex {
    width: 100%;
    max-width: 1000px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

/* Przyciski strzałek */
.carousel-nav {
    display: flex;
    gap: 20px;
}

.carousel-btn {
    background: transparent;
    border: 1px solid #333;
    color: #888;
    font-family: 'Space Mono', monospace;
    font-size: 0.8rem;
    padding: 8px 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.carousel-btn:hover {
    border-color: #fff;
    color: #fff;
    background: rgba(255, 255, 255, 0.03);
}

/* Kontener toru karuzeli */
.news-carousel-container {
    width: 100%;
    max-width: 1100px;
    position: relative;
    min-height: 380px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-carousel-track {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Karta wpisu - Bazowe style przejścia i wyglądu */
.news-card {
    position: absolute;
    width: 550px;
    background: #050505;
    border: 1px solid #1f1f1f;
    padding: 40px;
    display: flex;
    flex-direction: column;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-sizing: border-box;
}

/* Stan 1: Karta z tyłu po lewej */
.news-card.pos-left {
    transform: translateX(-360px) scale(0.85);
    opacity: 0.3;
    z-index: 1;
    filter: grayscale(100%);
    pointer-events: none; /* Nieaktywna w tle */
    border-color: #111;
}

/* Stan 2: Karta główna na środku (wysunięta na przód) */
.news-card.pos-center {
    transform: translateX(0) scale(1);
    opacity: 1;
    z-index: 3;
    border-color: #444;
    background: #0a0a0a;
    box-shadow: 0 20px 40px rgba(0,0,0,0.8);
    pointer-events: auto;
}

/* Stan 3: Karta z tyłu po prawej */
.news-card.pos-right {
    transform: translateX(360px) scale(0.85);
    opacity: 0.3;
    z-index: 1;
    filter: grayscale(100%);
    pointer-events: none;
    border-color: #111;
}

/* Elementy wewnątrz karty */
.news-meta {
    display: flex;
    justify-content: space-between;
    font-family: 'Space Mono', monospace;
    font-size: 0.75rem;
    color: #555;
    margin-bottom: 20px;
    letter-spacing: 1px;
}

.news-title {
    font-family: 'Space Mono', monospace;
    font-size: 1.25rem;
    color: #fff;
    letter-spacing: 1px;
    margin-bottom: 20px;
    line-height: 1.4;
}

.news-excerpt {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.25rem;
    color: #999;
    line-height: 1.6;
    margin-bottom: 30px;
    font-style: italic;
}

.news-link {
    font-family: 'Space Mono', monospace;
    font-size: 0.8rem;
    color: #666;
    text-decoration: none;
    letter-spacing: 2px;
    transition: color 0.3s ease;
    align-self: flex-start;
}

.news-card.pos-center .news-link:hover {
    color: #fff;
}

.news-footer {
    text-align: center;
    width: 100%;
}

/* RWD dla mniejszych ekranów */
@media (max-width: 900px) {
    .news-card {
        width: 90%;
        max-width: 450px;
    }
    .news-card.pos-left {
        transform: translateX(-15px) scale(0.9);
        opacity: 0.1;
    }
    .news-card.pos-right {
        transform: translateX(15px) scale(0.9);
        opacity: 0.1;
    }
}