/* Базові налаштування */
body.inner-page {
    margin: 0;
    padding: 0;
    background-image: url('pr6.webp') !important;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    font-family: 'Courier New', Courier, monospace;
}
.top-nav-bar {
	position: relative;
    z-index: 9999;
    display: flex;
    justify-content: flex-start;
    gap: 10px;
    padding: 15px 20px 5px 20px; /* Трохи підкоригували відступи */
    
    /* Змінюємо прозорий фон на напівпрозорий жовтий, як у основної шапки */
    background-color: rgba(255, 222, 0, 0.7); 
    
    width: 100%;
    box-sizing: border-box; /* Щоб падінги не розтягували ширину */
}

.nav-button {
  text-decoration: none;
    color: #000;
    font-weight: bold;
    text-transform: uppercase;
    padding: 8px 15px;
    border: 2px solid #000;      /* Чорна рамка */
    background-color: #ffde00;   /* Заливка фірмовим жовтим кольором Playtime Co. */
    transition: all 0.3s ease;
    font-size: 14px;
}

/* Ефект при наведенні курсору */
.nav-button:hover {
    background-color: #000;  /* При наведенні фон стає чорним */
    color: #ffd700;          /* А текст — жовтим (у стилі Playtime Co.) */
}

/* Велика жовта шапка */

.page-header {
    background-color: rgba(255, 220, 0, 0.7);
    padding: 20px;
    text-align: center;
    border-bottom: 5px solid #222;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
	flex-wrap: wrap;
	display: grid;
    /* Створюємо 3 колонки: ліва порожня, центр для тексту, права для лого */
    grid-template-columns: 1fr auto 1fr; 
    align-items: center;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
}

.corner-logo {
	grid-column: 3; /* Ставимо в третю колонку */
    justify-self: end; /* Притискаємо до правого краю */
    
    height: clamp(80px, 15vw, 150px);
    width: auto;
    object-fit: contain;
}
.page-title {
	grid-column: 2; /* Ставимо текст строго у другу (центральну) колонку */
    text-align: center;
    margin: 0;
    white-space: nowrap;
	font-size: clamp(50px, 10vw, 100px);
    color: #222;
    font-weight: 900;
    text-transform: uppercase;
	
}

/* Контент */
.content-section {
    padding: 60px 0;        /* Відступи тільки зверху та знизу */
    display: flex;
    flex-direction: column; /* Ставить блоки один під один */
    align-items: center;    /* Центрує їх на екрані */
    width: 100%;            /* Дає можливість розтягуватися */
}

.info-block {
    background-color: rgba(255, 215, 0, 0.87) !important;
    margin: 0 auto 40px auto; /* Замість -100px поставили нормальний відступ 0 зверху та 40px знизу до чорного блоку */
    padding: 40px 50px;       /* Зробили падінги акуратнішими */
    border: 10px solid rgba(255, 215, 0, 0.7) !important; 
    color: #000 !important;
    font-weight: 900;
    text-align: center;
    font-size: 1.8rem;
    line-height: 1.5;
    backdrop-filter: none !important;

    /* НАЛАШТУВАННЯ ШИРИНИ */
    width: 95%;              /* Адаптивна ширина */
    max-width: 1200px;       /* Така ж максимальна ширина, як і у .prototype-reflections */
    box-sizing: border-box;  /* Враховує рамки у ширину */
}
.info-block h2 {
    /* Чорний текст */
    color: #000 !important;
    
    /* Жовтий фон (як у шапки) */
	background-color: rgba(255, 215, 0, 0.7) !important;
    
    /* Підкреслення тексту */
    text-decoration: underline !important;
    
    /* ВАЖЛИВО: робимо фон тільки під текстом, а не на весь екран */
    display: inline-block !important;
    
    /* Відступи навколо тексту всередині жовтої заливки */
    padding: 5px 15px !important;
    
    /* Відступи між заголовком та текстом */
    margin-bottom: 15px !important;
    margin-top: 25px !important;
    
    /* Шрифт (можна налаштувати розмір) */
    font-size: 30 !important;
    font-weight: bold !important;
    text-transform: none; /* Щоб літери не ставали всі великими автоматично */
}
.page-header, .info-block {
    backdrop-filter: none !important;
}

.video-container{
    justify-content: center; /* Центрує відео по горизонталі */
    align-items: center;     /* Центрує відео по вертикалі (якщо у контейнера є висота) */
    width: 1800px;             /* Розтягується на всю ширину сторінки */
    padding: 150px;
	position: relative; 
    display: inline-block; /* Щоб контейнер був за розміром відео */
    text-align: center;	
}
/* Спільний стиль для обох картинок */
.decor-left, .decor-right {
    position: absolute;
    top: 50%;            /* Вирівнюємо по центру висоти */
    transform: translateY(-50%); 
    width: 350px;        /* Розмір картинок (підбери під себе) */
    pointer-events: none; /* Щоб картинки не заважали натискати на відео */
    z-index: 10;         /* Щоб були поверх фону */
}

/* Ліва картинка */
.decor-left {
    right: 100%;         /* Виносимо за ліву межу відео */
    margin-right: 20px;  /* Відступ від відео */
}

/* Права картинка */
.decor-right {
    left: 100%;          /* Виносимо за праву межу відео */
    margin-left: 20px;   /* Відступ від відео */
}

.video-container video {
    width: 100%;             /* На маленьких екранах (телефонах) відео буде на всю ширину */
    max-width: 800px;        /* На комп'ютерах відео не розтягнеться більше ніж на 800px (можеш змінити це число) */
    height: auto;            /* Висота підлаштовується автоматично, щоб не спотворювати пропорції */
    
    /* Красиві додаткові ефекти під стиль сайту */
    border-radius: 12px;     /* Закруглені куточки відео */
    border: 3px solid #ff66b2; /* Рожева рамка (можна прибрати або змінити колір) */
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* Контейнер для карток */
.cards-container {
	     /* Збільшили ширину, щоб 3 картки ставали в ряд */
    margin: 50px auto;
    display: flex;
    flex-wrap: wrap;
    /* ГОЛОВНА ФІШКА: justify-content: center вирівняє і 3 верхні, і 4 нижні картки по центру сторінки */
    justify-content: center; 
    gap: 30px;              /* Відстань між картками з усіх боків */
    width: 100%;
    max-width: 1100px;       /* Центрує сам контейнер на сайті */
    padding: 0 20px;
    box-sizing: border-box;
}

/* Стиль картки */
.info-card {
    display: flex;
    align-items: center;
    background: #e6c300;    /* Твій фірмовий жовтий колір */
    border: 4px solid #1a1a1a; 
    border-radius: 0px;     
    padding: 20px;          
    
    /* РОЗРАХУНОК ДЛЯ 3-Х КОЛОН: */
    /* Кожна картка займає приблизно 30% ширини, щоб 3 штуки ставали в ряд, а 4-та вже не влазила і йшла вниз */
    width: calc(33.333% - 20px); 
    min-width: 300px;       /* Захист: картка не стиснеться менше ніж 300px */
    box-sizing: border-box;
    box-shadow: 8px 8px 0px #1a1a1a; 
}

/* Зображення всередині картки */
.card-img {
	display: flex;
    align-items: center;
	flex-shrink: 0
    width: 90px;
    height: 90px;
    object-fit: cover;
    border: 3px solid #1a1a1a; 
    margin-right: 15px;
    flex-shrink: 0;
}

/* Текстовий блок */
.card-text {
    font-family: 'Courier New', Courier, monospace; 
    color: #1a1a1a;         
}

.card-text h3 {
    margin: 0 0 8px 0;
    font-size: 1.1rem;
    font-weight: bold;
    text-decoration: underline; 
    text-transform: uppercase;  
}

.card-text p {
    margin: 0;
    font-size: 0.85rem;     /* Трохи зменшив шрифт, щоб текст красиво вміщався в три колони */
    line-height: 1.4;
    font-weight: 600;         
}

/* --- АДАПТИВНІСТЬ ДЛЯ ЕКРАНІВ --- */

/* На середніх екранах (планшетах), якщо 3 в ряд стане затісно, вони самі перебудуються по 2 в ряд */
@media (max-width: 992px) {
    .info-card {
        width: calc(50% - 15px); /* Стають по дві в ряд, теж красиво відцентровані */
    }
}

/* На телефонах — усе в одну рівну колону */
@media (max-width: 650px) {
    .info-card {
        width: 100%;        
    }
    .cards-container {
        gap: 25px;
    }
}
/* Стиль для кнопки в картці */
.more-btn {
    background-color: #000;
    color: #fff;
    border: 2px solid #000;
    padding: 8px 16px;
    cursor: pointer;
    font-family: monospace;
    font-weight: bold;
    margin-top: 10px;
    transition: 0.3s;
}
.more-btn:hover {
    background-color: transparent;
    color: #000;
}

/* Фон модального вікна (затемнення на весь екран) */
.modal {
    display: none; 
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

/* 2. УНІКАЛЬНИЙ КЛАС ДЛЯ ВІДЕО-МОДАЛКИ ПРОТОТИПА (Картка EX_1006) */
.proto-modal {
    display: none;             /* ГАРАНТОВАНО ХОВАЄ ВІДЕО ПРИ ЗАВАНТАЖЕННІ */
    position: fixed;
    z-index: 10000 !important; /* Ставимо поверх усього, навіть шапки сайту */
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9) !important; /* Глибокий чорний хоррор-фон */
    justify-content: center;   /* Центруємо по горизонталі */
    align-items: center;       /* Центруємо по вертикалі */
}

/* Контейнер самого вікна (Спільний або для відео) */
.proto-modal-content {
    background-color: #050507 !important; /* Темний бренд-колір картки */
    margin: auto; /* Авто-вирівнювання */
    padding: 20px;
    border: 3px solid #ff3333 !important; /* Червона рамка в стилі Прототипа */
    width: 85%; 
    max-width: 800px;
    position: relative;
    box-shadow: 0 0 30px rgba(255, 0, 0, 0.3);
}

/* Кнопка закриття відео-модалки (хрестик) */
.proto-modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: #fff;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
}
.proto-modal-close:hover {
    color: #ff3333; /* Підсвічування червоним */
}

/* Обгортка для iframe (формат 16:9) */
.proto-video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* Пропорції екрана */
    height: 0;
    overflow: hidden;
}
.proto-video-wrapper iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
}

/* Контейнер самого вікна */
.modal-content {
    background-color: black; /* Можеш змінити на колір своєї теми */
    margin: 10% auto;
    padding: 20px;
    border: 3px solid #ffcd00;
    width: 60%; /* Ширина вікна */
    max-width: 700px;
	max-height: 40%;
    position: relative;
    box-shadow: 5px 5px 0px #000;
}

/* Кнопка закриття (хрестик) */
.close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    color: #000;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}
.close-btn:hover {
    color: #fff;
}

/* Сітка для розділення: текст зліва, фото справа */
.modal-body {
    display: flex;
    gap: 20px; /* Відступ між текстом і картинкою */
    align-items: center;
    margin-top: 15px;
}

.modal-left {
    flex: 1; /* Займає доступний простір зліва */
    font-family: monospace;
	color: #ffcd00;
}

.modal-right {
    flex: 1; /* Займає доступний простір справа */
    text-align: center;
}

.modal-img {
    max-width: 100%;
    height: auto;
    border: 2px solid #ffcd00;
}
/* Головний контейнер (жовта картка) */
/* Головний жовтий контейнер (однаковий для обох блоків) */
.safety-container {
    background-color: #e5be00; /* Твій фірмовий жовтий */
    border: 4px solid #1a1a1a; 
	width: 95%;           /* Блок буде займати 95% ширини екрана (гнучкість) */
    max-width: 1400px;    /* Але він не розтягнеться більше ніж на 1400px, щоб текст не став занадто довгим */
    margin: 30px auto;           
    padding: 30px;
    display: flex;               
    flex-direction: row;         /* Текст і картинка стоять поруч у рядок */
    align-items: center;         /* Вирівнювання по центру по вертикалі */
    gap: 50px;                   /* Великий відступ між текстом і картинкою */
    font-family: 'Courier New', Courier, monospace; 
    color: #000;
}

/* ЛІВА КОЛОНКА: Контейнер для всього тексту */
.safety-text-block {
    flex: 1.3;                   /* Даємо тексту трохи більше ширини, ніж фото */
    display: flex;
    flex-direction: column;      /* А от всередині цього блоку весь текст йде строго один під одним */
    gap: 20px;                   /* Відступ між правилами */
}

/* Головні заголовки (h2) */
.safety-text-block h2 {
    text-align: center;          
    font-size: 32px;             
    margin: 0 0 10px 0;
}

/* Підзаголовки правил (h3) */
.safety-text-block h3 {
    font-size: 28px;
    margin: 0 0 5px 0;
}

/* Самі абзаци тексту (p) */
.safety-text-block p {
    font-size: 24px;             
    line-height: 1.5;            
    font-weight: bold;
    text-align: justify;         /* Вирівнювання по ширині */
    margin: 0;
}

/* Примітки внизу (small) */
.safety-text-block small {
    display: block;
    text-align: center;
    font-size: 16px;             
    font-weight: bold;
    margin-top: 10px;
}

/* ПРАВА КОЛОНКА: Блок із картинкою */
.safety-image {
    flex: 1;                     /* Картинка займає свою меншу частину */
	flex-direction: column;
	gap: 160px;
	margin-top: 80px;
    display: flex;
    justify-content: center;
}

/* Сама картинка */
.safety-image img {
	width: 100%;
    max-width: 400px;
    height: auto;                
    border: 3px solid #1a1a1a;   /* Чорна рамка для фото */
}

/* Адаптивність для телефонів */2
@media (max-width: 768px) {
    .safety-container {
        flex-direction: column;  /* На телефонах картинка опуститься під текст */
        gap: 20px;
    }
    .safety-text-block p {
        text-align: center;      /* На мобільних по центру читається краще */
    }
}
/* Контейнер підрозділу */
.prototype-reflections {
    background: #0a0a0c;
    border: 1px solid #330000;
    padding: 40px 50px; /* Збільшили внутрішні відступи для солідності */
    
    /* РОЗТЯГУВАННЯ В ШИРИНУ */
    width: 100%;        /* Займає всю ширину батьківського контейнера */
    max-width: 1200px;  /* Максимальна ширина (можеш поставити більше, наприклад 1400px, або взагалі прибрати цей рядок) */
    
    margin: 30px auto;  /* Робить відступ зверху від жовтого блоку і центрує по горизонталі */
    box-sizing: border-box; /* Щоб падінги не ламали ширину */
    
    font-family: 'Courier New', Courier, monospace;
    color: #d1d1d1;
    box-shadow: 0 0 25px rgba(255, 0, 0, 0.1);
}

.block-header h2 {
    color: #ff3333;
    font-size: 2rem;
    letter-spacing: 2px;
    margin-bottom: 5px;
    text-shadow: 0 0 10px rgba(255, 51, 51, 0.3);
}

.block-header .subtitle {
    color: #666;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 25px;
    text-transform: uppercase;
}

.lore-text {
    line-height: 1.8;
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-align: justify; /* Гарне вирівнювання по ширині сайту */
}

/* Стилізація VHS Касети */
.vhs-cassette-container {
    text-align: center;
    margin-top: 40px;
}

.vhs-tape {
    width: 280px;
    height: 150px;
    background: #141416;
    border: 4px solid #222;
    border-radius: 8px;
    margin: 0 auto;
    position: relative;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 8px 16px rgba(0,0,0,0.5);
}

.vhs-tape:hover {
    transform: scale(1.05) rotate(-1deg);
    box-shadow: 0 0 25px rgba(255, 0, 0, 0.2);
    border-color: #440000;
}

.tape-label {
    background: #f0f0f0;
    color: #111;
    font-weight: bold;
    font-size: 0.75rem;
    padding: 5px;
    width: 80%;
    margin: 15px auto 0;
    border-radius: 2px;
    border-left: 5px solid #ff3333;
    text-align: left;
}

.tape-windows {
    display: flex;
    justify-content: space-around;
    margin-top: 20px;
    padding: 0 30px;
}

.window-left, .window-right {
    width: 50px;
    height: 40px;
    background: rgba(0, 0, 0, 0.6);
    border: 2px solid #333;
    border-radius: 50%;
}

.play-icon {
    font-size: 0.8rem;
    color: #ff3333;
    margin-top: 15px;
    letter-spacing: 1px;
    animation: blink 2s infinite;
}

.tape-caption {
    font-size: 0.8rem;
    color: white;
    margin-top: 10px;
}

/* Модальне вікно */
.modal {
    display: none; 
    position: fixed; 
    z-index: 1000; 
    left: 0; top: 0;
    width: 100%; height: 100%;
    background-color: rgba(0,0,0,0.9);
}

.modal-content {
    position: relative;
    margin: 10% auto;
    width: 80%;
    max-width: 700px;
    background: #000;
    border: 2px solid #ff3333;
}

.close-btn {
    position: absolute;
    top: -40px; right: 0;
    color: #fff;
    font-size: 30px;
    cursor: pointer;
}

.close-btn:hover { color: #ff3333; }

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
}

.video-wrapper iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
}

@keyframes blink {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* Блок макового гелю (Стиль: Лабораторне досьє) */
.poppy-gel-report {
    background: #f4f1ea; /* Колір старого паперу/папки */
    border-left: 15px solid #990000; /* Товста червона лінія зліва, як у секретних папок */
    border-top: 2px solid #ccc;
    border-right: 2px solid #ccc;
    border-bottom: 2px solid #ccc;
    padding: 5px 60px 40px 60px;
    
    /* РОЗТЯГУВАННЯ */
    width: 95%;
    max-width: 1200px; /* Така ж ширина, як і в інших блоків для симетрії */
    margin: 50px auto;
    box-sizing: border-box;
    position: relative; /* Для штампу */
    
    font-family: monospace; /* Суворий "друкарський" шрифт */
    color: #222; /* Темно-сірий текст */
    box-shadow: 10px 10px 25px rgba(0, 0, 0, 0.4);
}

/* Червоний штамп "CLASSIFIED" у кутку */
.report-stamp {
    position: absolute;
    top: 25px;
    right: 40px;
    border: 4px double #990000;
    color: #990000;
    font-size: 18px;
    font-weight: bold;
    padding: 5px 15px;
    transform: rotate(5deg);
    letter-spacing: 2px;
    opacity: 0.8;
}

.report-header h2 {
    color: #990000;
    font-size: 1.8rem;
    margin-top: 30px;
    margin-bottom: 5px;
    font-weight: bold;
    letter-spacing: 1px;
}

.report-id {
    color: #666;
    font-size: 0.85rem;
    display: block;
    margin-bottom: 30px;
    border-bottom: 1px dashed #bbb;
    padding-bottom: 10px;
}

/* Стилі тексту */
.report-text p {
    font-size: 1.15rem;
    line-height: 1.6;
    text-align: justify;
    margin: 0;
}

/* Контейнер для зображення посередині */
.report-image-container {
    text-align: center;
    margin: 35px 0;
    background: #111;
    padding: 15px;
    border: 1px solid #bbb;
}

.gel-image {
    width: 100%;
    max-width: 900px; /* Зображення буде великим та широким */
    height: auto;
    max-height: 400px;
    object-fit: cover; /* Щоб картинка акуратно обрізалася за висотою */
    border: 2px solid #555;
}

.image-overlay-caption {
    font-size: 0.85rem;
    color: #888;
    margin-top: 10px;
    font-style: italic;
}

/* Додатковий відступ для нижнього тексту */
.bottom-text {
    border-top: 1px dashed #bbb;
    padding-top: 25px;
}

/* ==========================================================================
   ОКРЕМІ СТИЛІ ДЛЯ НОВОГО ВІДЕО-БЛОКУ (ЕКСПЕРИМЕНТ 814)
   Ці стилі створені з унікальними класами, тому вони НЕ впливають на верхнє відео.
   ========================================================================== */

/* Головний контейнер нового автономного блоку */
.experiment-video-block {
    background: #0d0d0f !important; /* Глибокий темний фон */
    border: 2px solid #550000 !important; /* Темно-червона рамка */
    padding: 30px !important;
    width: 95% !important;
    max-width: 1200px !important;
    margin: 40px auto !important;
    box-sizing: border-box !important;
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.7) !important;
    font-family: 'Courier New', monospace !important;
    display: flex !important;
    flex-direction: column !important; /* Елементи стоять строго один під одним */
}

/* Шапка нового відео-блоку */
.video-block-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    border-bottom: 1px solid #333 !important;
    padding-bottom: 15px !important;
    margin-bottom: 25px !important;
}

.video-block-header h3 {
    color: #ff3333 !important;
    font-size: 1.2rem !important;
    margin: 0 !important;
    letter-spacing: 1px !important;
}

.scanner-status {
    color: #00ff00 !important;
    font-weight: bold !important;
    font-size: 0.9rem !important;
    letter-spacing: 1px !important;
}

/* ОКРЕМИЙ АДАПТИВНИЙ КОНТЕЙНЕР (Тільки для Експерименту 814) */
.experiment-video-container {
    width: 100% !important;
    max-width: 900px !important;
    margin: 0 auto 25px auto !important;
    aspect-ratio: 16 / 9 !important; /* Автоматично тримає форму екрана */
    background: #000 !important;
    border: 1px solid #222 !important;
    overflow: hidden !important;
    position: relative !important;
}

/* Сам плеєр нижнього відео */
.experiment-evidence-video {
    width: 100% !important;
    height: 100% !important;
    display: block !important;
}

/* Блок підпису під новим відео */
.video-signature {
    padding: 20px !important;
    background: #141417 !important;
    border-left: 4px solid #ff3333 !important;
    box-sizing: border-box !important;
}

.signature-title {
    color: #888 !important;
    font-size: 0.85rem !important;
    margin-bottom: 8px !important;
    font-weight: bold !important;
    letter-spacing: 1px !important;
}

.signature-text {
    color: #ddd !important;
    font-size: 1.05rem !important;
    line-height: 1.5 !important;
    text-align: justify !important;
    margin: 0 !important;
}

.signature-text em {
    color: #ff9999 !important;
}

/* ==========================================================================
   РОЗШИРЕНІ СТИЛІ ДЛЯ ТАБЛИЦІ ПОРІВНЯННЯ МОНСТРІВ
   ========================================================================== */

.prototype-divinity-block {
    background: #050507 !important;
    border: 1px solid #330000 !important;
    padding: 35px !important;
    width: 95% !important;
    max-width: 1200px !important;
    margin: 50px auto !important;
    box-sizing: border-box !important;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.8) !important;
    font-family: 'Courier New', monospace !important;
}

.divinity-header {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    border-bottom: 1px solid #222 !important;
    padding-bottom: 15px !important;
    margin-bottom: 25px !important;
    flex-wrap: wrap !important;
    gap: 15px !important;
}

.divinity-header h2 {
    color: #ffffff !important;
    font-size: 1.3rem !important;
    margin: 0 !important;
    letter-spacing: 1px !important;
}

.divinity-status {
    color: #ff3333 !important;
    font-weight: bold !important;
    font-size: 0.85rem !important;
    border: 1px solid #ff3333 !important;
    padding: 4px 12px !important;
    background: rgba(255, 51, 51, 0.05) !important;
}

.divinity-intro {
    color: #aaaaaa !important;
    font-size: 1.05rem !important;
    line-height: 1.6 !important;
    text-align: justify !important;
    margin-bottom: 35px !important;
}

.analysis-table-wrapper {
    width: 100% !important;
    overflow-x: auto !important;
    margin-bottom: 35px !important;
    border: 1px solid #1a1a1a !important;
}

.prototype-analysis-table {
    width: 100% !important;
    border-collapse: collapse !important;
    background: #000000 !important;
    color: #ffffff !important;
    font-size: 1.05rem !important;
    min-width: 750px !important; /* Трохи збільшили ширину через нову колонку */
}

.prototype-analysis-table th, 
.prototype-analysis-table td {
    padding: 16px 18px !important;
    text-align: left !important;
    border-bottom: 1px solid #111111 !important;
}

.prototype-analysis-table th {
    color: #ffffff !important;
    font-weight: bold !important;
    font-size: 1.1rem !important;
    border-bottom: 2px solid #222222 !important;
    background: #08080a !important;
}

/* Колірна диференціація рядків за лором */
.prototype-analysis-table tr.row-god td {
    color: #ff3333 !important; /* Яскраво-червоний для Прототипа */
    font-weight: bold;
}

.prototype-analysis-table tr.row-poppy td {
    color: #ffb3b3 !important; /* Ніжно-рожевий для Поппі */
}

.prototype-analysis-table tr.row-sawyer td {
    color: #00008B !important; /* Науковий неоново-зелений для доктора Соєра */
}

.prototype-analysis-table tr.row-catnap td {
    color: #b080ff !important; /* Фіолетовий відтінок під колір КетНапа */
}

.prototype-analysis-table tr.row-kissi td {
    color: #7CFC00 !important; /* Малиново-рожевий для Кіссі Міссі */
}

.prototype-analysis-table tr.row-boxxy td {
    color: #ffaa55 !important; /* Помаранчево-іржавий для Боксі Бу */
}

.prototype-analysis-table tr.row-huggy td {
    color: #87CEFA !important; /* Тьмяний сірий для переможеного Хаггі */
}

/* Ефект наведення на рядок */
.prototype-analysis-table tr:hover {
    background: #0c0c10 !important;
}

/* Блок висновків */
.divinity-conclusions {
    background: #0a0000 !important;
    border-left: 4px solid #ff3333 !important;
    padding: 25px !important;
    box-sizing: border-box !important;
}

.divinity-conclusions h3 {
    color: #ff3333 !important;
    margin-top: 0 !important;
    margin-bottom: 12px !important;
    font-size: 1.1rem !important;
    letter-spacing: 1px !important;
}

.divinity-conclusions p {
    color: #cccccc !important;
    font-size: 1rem !important;
    line-height: 1.6 !important;
    margin: 0 !important;
    text-align: justify !important;
}

.divinity-conclusions em {
    color: #ff8888 !important;
}

/* ==========================================================================
   КАРТКА ДОСЬЄ ПРОТОТИПА (EX_1006)
   ========================================================================== */

.prototype-card-section {
    width: 95% !important;
    max-width: 1200px !important;
    margin: 40px auto !important;
    box-sizing: border-box !important;
    font-family: 'Courier New', monospace !important;
}

.prototype-card-container {
    display: flex !important;
    background: #050507 !important; /* Чорний глибокий фон */
    border: 3px solid #550000 !important; /* Зловісна темно-червона рамка */
    padding: 25px !important;
    gap: 30px !important;
    box-sizing: border-box !important;
    box-shadow: 0 0 30px rgba(255, 0, 0, 0.05) !important;
}

/* Ліва рамка під картинку */
.object-left-panel {
    flex: 0 0 320px !important;
    display: flex !important;
    flex-direction: column !important;
}

.object-frame {
    background: #000000 !important;
    border: 2px solid #222222 !important;
    padding: 20px !important;
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
    align-items: center !important;
    box-sizing: border-box !important;
}

.object-image {
    width: 100% !important;
    height: auto !important;
    max-height: 450px !important;
    object-fit: contain !important;
    filter: drop-shadow(0 0 15px rgba(255, 51, 51, 0.25)) !important; /* Червоний силует руки */
}

.object-glitch-title {
    color: #ff3333 !important;
    font-weight: bold !important;
    font-size: 0.95rem !important;
    margin-top: 15px !important;
    letter-spacing: 2px !important;
    text-align: center;
}

/* Права текстова панель */
.object-right-panel {
    flex: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: space-between !important;
}

.object-main-title {
    color: #ffffff !important;
    font-size: 1.4rem !important;
    margin-top: 0 !important;
    margin-bottom: 15px !important;
    letter-spacing: 1px !important;
    border-bottom: 1px solid #222222 !important;
    padding-bottom: 10px !important;
}

.object-description {
    color: #aaaaaa !important;
    font-size: 1rem !important;
    line-height: 1.6 !important;
    text-align: justify !important;
    margin-bottom: 25px !important;
}

.object-details-list {
    margin-bottom: 25px !important;
}

.list-section-title {
    color: #ff3333 !important;
    font-size: 1.1rem !important;
    margin-bottom: 15px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

.object-details-list ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.object-details-list li {
    color: #dddddd !important;
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
    margin-bottom: 15px !important;
    padding-left: 20px !important;
    position: relative !important;
    text-align: justify !important;
}

/* Квадратні маркери терміналу */
.object-details-list li::before {
    content: "■" !important;
    position: absolute !important;
    left: 0 !important;
    top: 2px !important;
    color: #ff3333 !important;
    font-size: 0.75rem !important;
}

/* Область кнопки */
.object-action-area {
    display: flex !important;
    justify-content: flex-end !important; /* Кнопка притиснута вправо, як на макеті */
    margin-top: 15px !important;
}

.prototype-action-btn {
    background: #0f0202 !important;
    color: #ff3333 !important;
    border: 1px solid #ff3333 !important;
    padding: 12px 26px !important;
    font-family: 'Courier New', monospace !important;
    font-weight: bold !important;
    font-size: 0.95rem !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.prototype-action-btn:hover {
    background: #ff3333 !important;
    color: #000000 !important;
    box-shadow: 0 0 15px rgba(255, 51, 51, 0.4) !important;
}

.btn-icon {
    margin-right: 8px !important;
}

/* Адаптивність */
@media (max-width: 768px) {
    .prototype-card-container {
        flex-direction: column !important;
    }
    .object-left-panel {
        flex: 1 1 auto !important;
        width: 100% !important;
    }
    .object-action-area {
        justify-content: center !important;
    }
}
/* ==========================================================================
   КАРТКА ДОСЬЄ ПРОТОТИПА (ВЕРТИКАЛЬНА ПЕРЕБУДОВА: ТЕКСТ ПІД КАРТИНКОЮ)
   ========================================================================== */

.prototype-card-section {
    width: 95% !important;
    max-width: 1200px !important;
    margin: 40px auto !important;
    box-sizing: border-box !important;
    font-family: 'Courier New', monospace !important;
}

/* Головний контейнер: тепер будує елементи зверху вниз */
.prototype-card-container {
    display: flex !important;
    flex-direction: column !important; /* Текст опускається під картинку */
    background: #050507 !important;
    border: 3px solid #550000 !important;
    padding: 35px !important; /* Трохи збільшили внутрішні відступи */
    gap: 35px !important;
    box-sizing: border-box !important;
    box-shadow: 0 0 30px rgba(255, 0, 0, 0.05) !important;
}

/* Панель картинки: тепер вона займає 100% ширини */
.object-left-panel {
    flex: 1 1 auto !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
}

/* Внутрішня чорна рамка для великого фото */
.object-frame {
    background: #000000 !important;
    border: 2px solid #222222 !important;
    padding: 25px !important;
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    box-sizing: border-box !important;
}

/* Величезне зображення на всю можливу ширину */
.object-image {
    width: 100% !important;
    max-width: 850px !important; /* Обмежуємо ширину, щоб картинка не розмивалася, але залишалася величезною */
    height: auto !important;
    object-fit: contain !important;
    filter: drop-shadow(0 0 25px rgba(255, 51, 51, 0.3)) !important;
    transition: transform 0.3s ease !important;
}

.object-frame:hover .object-image {
    transform: scale(1.02) !important;
}

.object-glitch-title {
    color: #ff3333 !important;
    font-weight: bold !important;
    font-size: 1rem !important;
    margin-top: 20px !important;
    letter-spacing: 3px !important;
    text-align: center;
}

/* Нижня текстова панель під фото */
.object-right-panel {
    width: 100% !important;
    display: flex !important;
    flex-direction: column !important;
}

.object-main-title {
    color: #ffffff !important;
    font-size: 1.6rem !important; /* Трохи збільшили для масштабу */
    margin-top: 10px !important;
    margin-bottom: 20px !important;
    letter-spacing: 1px !important;
    border-bottom: 1px solid #222222 !important;
    padding-bottom: 12px !important;
}

.object-description {
    color: #aaaaaa !important;
    font-size: 1.05rem !important;
    line-height: 1.6 !important;
    text-align: justify !important;
    margin-bottom: 30px !important;
}

.object-details-list {
    margin-bottom: 30px !important;
}

.list-section-title {
    color: #ff3333 !important;
    font-size: 1.15rem !important;
    margin-bottom: 20px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

.object-details-list ul {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.object-details-list li {
    color: #dddddd !important;
    font-size: 1rem !important;
    line-height: 1.6 !important;
    margin-bottom: 18px !important;
    padding-left: 25px !important;
    position: relative !important;
    text-align: justify !important;
}

.object-details-list li::before {
    content: "■" !important;
    position: absolute !important;
    left: 0 !important;
    top: 3px !important;
    color: #ff3333 !important;
    font-size: 0.8rem !important;
}

/* Кнопка дії знизу справа */
.object-action-area {
    display: flex !important;
    justify-content: flex-end !important;
    margin-top: 20px !important;
}

.prototype-action-btn {
    background: #0f0202 !important;
    color: #ff3333 !important;
    border: 1px solid #ff3333 !important;
    padding: 14px 32px !important; /* Зробили кнопку масивнішою */
    font-family: 'Courier New', monospace !important;
    font-weight: bold !important;
    font-size: 1rem !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
}

.prototype-action-btn:hover {
    background: #ff3333 !important;
    color: #000000 !important;
    box-shadow: 0 0 15px rgba(255, 51, 51, 0.4) !important;
}
/* Стиль кнопки музики */
.audio-control {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

#audio-btn {
    background: #ffd700;
    border: 3px solid #000;
    font-size: 2.5rem;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

#audio-btn:hover {
    transform: scale(1.1);
}
