
    /* === 1. БАЗА === */
    :root {
        --primary: #ffcc00; /* Желтый */
        --bg-dark: #020b14;
        --border: 1px solid rgba(255, 255, 255, 0.15);
        --radius: 10px;
    }

    * { box-sizing: border-box; margin: 0; padding: 0; }

    body {
        /* ПЕРЕКРАСКА ГЛОБАЛЬНОЙ ШАПКИ */
        --header-color: #ffcc00 !important;
        --header-rgb: 255, 204, 0 !important;

        background-color: var(--bg-dark);
        background: radial-gradient(circle at 50% 0%, #0d1f33 0%, #000000 80%);
        font-family: 'Montserrat', sans-serif;
        color: #fff;
        overflow-x: hidden;
        min-height: 100vh;
    }

    img { max-width: 100%; display: block; }
    .orbitron { font-family: 'Orbitron', sans-serif; }
    .mono { font-family: 'Share Tech Mono', monospace; }
    a { text-decoration: none; transition: 0.3s; }

    /* === 2. ЭФФЕКТЫ === */
    #particles-js { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; filter: blur(3px); }
    .scanlines { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: 2; pointer-events: none;
    background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(255, 204, 0, 0.02) 50%); background-size: 100% 4px; }

    /* === 4. КОНТЕЙНЕР === */
    .main-container {
        position: relative; z-index: 10;
        max-width: 1200px; margin: 0 auto;
        padding: 40px 20px 120px 20px;
        display: flex; flex-direction: column;
    }

    /* === 6. HERO GRID === */
    .hero-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 60px;
        align-items: start;
        margin-bottom: 80px;
        width: 100%;
    }

    .hero-text { display: flex; flex-direction: column; justify-content: center; }

    .hero-subtitle {
        color: var(--primary); font-size: 0.9rem; font-weight: 700; letter-spacing: 2px;
        text-transform: uppercase; margin-bottom: 10px; font-family: 'Share Tech Mono', monospace;
    }

    .hero-title {
        font-family: 'Orbitron', sans-serif; font-weight: 900;
        font-size: clamp(2rem, 3.5vw, 3rem); line-height: 1.1;
        margin-bottom: 20px; text-transform: uppercase;
        color: #fff; text-shadow: 0 0 30px rgba(255,255,255,0.1);
    }

    .description { font-size: 1rem; line-height: 1.6; color: rgba(255,255,255,0.8); margin-bottom: 30px; }

    .specs-row { display: flex; gap: 10px; margin-bottom: 30px; flex-wrap: wrap; }
    .spec-badge {
        background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255,255,255,0.2);
        color: #ddd; padding: 8px 14px; border-radius: var(--radius);
        font-family: 'Share Tech Mono', monospace; font-size: 0.8rem;
    }

    /* ОТКРЫТЫЙ КАНАЛ */
    .spectrum-container { width: 100%; max-width: 500px; margin-top: 20px; }
    .spectrum-link {
        display: flex; align-items: center; justify-content: space-between; height: 60px;
        background: rgba(0,0,0,0.4); border: 1px solid rgba(255,255,255,0.2);
        text-decoration: none; position: relative; overflow: hidden; padding: 0 20px; transition: 0.3s;
        border-radius: var(--radius);
    }
    .spectrum-wave {
        position: absolute; top: 0; left: 0; width: 200%; height: 100%;
        background: repeating-linear-gradient(90deg, transparent 0%, rgba(255, 204, 0, 0.1) 2%, transparent 4%);
        animation: spectrum-scroll 12s linear infinite;
    }
    .spectrum-content { position: relative; z-index: 2; display: flex; align-items: center; gap: 15px; width: 100%; }
    .spectrum-icon { color: var(--primary); font-size: 1.2rem; animation: blink 2s infinite; }
    .spectrum-text { color: #fff; font-family: 'Orbitron', sans-serif; font-size: 0.9rem; letter-spacing: 1px; flex-grow: 1; font-weight: 700; text-transform: uppercase; }
    .spectrum-freq { font-family: 'Share Tech Mono'; color: var(--primary); font-size: 0.8rem; opacity: 0.8; }

    .spectrum-link:hover { border-color: var(--primary); background: rgba(255, 204, 0, 0.05); }
    @keyframes spectrum-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
    @keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

    /* ГЛАВНЫЙ СЛАЙДЕР */
    .slider-wrapper {
        position: relative; border-radius: var(--radius); overflow: hidden;
        border: 1px solid rgba(255,255,255,0.2);
        box-shadow: 0 20px 60px rgba(0,0,0,0.5);
        background: #000; width: 100%; min-height: 400px;
    }

    /* ВТОРОЙ СЛАЙДЕР (КОМИКС) */
    #infoSlider {
        max-width: 800px; width: 100%;
        aspect-ratio: 1280 / 698;
        margin: 40px auto; min-height: auto; height: auto;
    }
    #infoSlider .slide img { object-fit: contain; background: #000; }

    .slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 0.6s ease-in-out; z-index: 1; }
    .slide.active { opacity: 1; z-index: 2; }
    .slide img { width: 100%; height: 100%; object-fit: cover; }

    .slider-nav {
        position: absolute; top: 50%; width: 100%; display: flex; justify-content: space-between;
        transform: translateY(-50%); z-index: 10; pointer-events: none; padding: 0 10px;
    }
    .nav-arrow {
        pointer-events: auto; cursor: pointer; width: 40px; height: 40px;
        background: rgba(0,0,0,0.5); color: var(--primary); border: 1px solid var(--primary);
        border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; transition: 0.3s;
    }
    .nav-arrow:hover { background: var(--primary); color: #000; }

    /* === 7. ДЕТАЛИ И ПЕРСОНАЖИ === */
    .details-section, .characters-section { margin-bottom: 80px; width: 100%; }
    .section-title {
        font-family: 'Orbitron', sans-serif; font-size: 1.5rem; margin-bottom: 30px;
        color: #fff; text-transform: uppercase; letter-spacing: 2px;
        border-left: 4px solid var(--primary); padding-left: 15px; margin-top: 40px;
    }

    .details-grid { display: grid; grid-template-columns: 1fr; gap: 30px; }
    .split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }

    .detail-card {
        background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.1);
        border-radius: var(--radius); padding: 30px;
    }
    .detail-heading {
        color: var(--primary); font-family: 'Orbitron', sans-serif; font-size: 1.2rem;
        margin-top: 0; margin-bottom: 15px; text-transform: uppercase;
    }
    .detail-text { font-size: 1rem; line-height: 1.6; color: #ccc; margin-bottom: 15px; }
    .detail-list { list-style: none; padding: 0; }
    .detail-list li { margin-bottom: 10px; padding-left: 20px; position: relative; color: #ddd; }

    /* Возвращен треугольник ► */
    .detail-list li::before { content: '►'; color: var(--primary); position: absolute; left: 0; top: 0; font-size: 0.8rem; }
    .detail-list strong { color: #fff; }

    .chars-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 30px; }
    .char-card {
        background: rgba(255,255,255,0.03); border: 1px solid rgba(255,255,255,0.1);
        border-radius: var(--radius); padding: 20px; text-align: center;
        cursor: pointer; transition: 0.3s;
    }
    .char-card:hover { border-color: var(--primary); transform: translateY(-5px); background: rgba(255,255,255,0.05); }
    .char-img {
        width: 120px; height: 120px; border-radius: 50%; object-fit: cover;
        margin: 0 auto 15px auto; border: 2px solid var(--primary);
        box-shadow: 0 0 20px rgba(255, 204, 0, 0.2);
    }
    .char-name { font-family: 'Orbitron', sans-serif; font-weight: 700; font-size: 1.1rem; color: #fff; margin-bottom: 5px; }
    .char-role { font-family: 'Share Tech Mono', monospace; font-size: 0.8rem; color: #888; }

    /* МОДАЛКА */
    .modal-overlay {
        position: fixed; top: 0; left: 0; width: 100%; height: 100%;
        background: rgba(0,0,0,0.9); z-index: 9999; display: none;
        justify-content: center; align-items: center; backdrop-filter: blur(10px);
    }
    .char-modal-content {
        background: #0b1621; border: 1px solid var(--primary);
        width: 90%; max-width: 600px; border-radius: var(--radius);
        padding: 40px; position: relative; display: flex; gap: 30px;
        box-shadow: 0 0 50px rgba(255, 204, 0, 0.1);
    }
    .modal-img-box img { width: 150px; height: 150px; border-radius: 10px; object-fit: cover; border: 1px solid rgba(255,255,255,0.2); }
    .modal-text h3 { font-family: 'Orbitron', sans-serif; color: var(--primary); margin: 0 0 10px 0; font-size: 1.8rem; }
    .modal-text p { font-size: 0.95rem; line-height: 1.6; color: #ccc; }
    .close-modal { position: absolute; top: 15px; right: 20px; font-size: 1.5rem; color: #fff; cursor: pointer; }

    /* === МОБИЛЬНАЯ АДАПТАЦИЯ === */
    @media (max-width: 900px) {
        .main-container { padding-bottom: 200px; display: flex; flex-direction: column; }

        .hero-grid { display: contents; }
        .hero-text { display: contents; }

        /* 3. Подзаголовок */
        .hero-subtitle { order: 3; margin-bottom: 10px; text-align: center; width: 100%; display: block; }
        /* 4. Заголовок */
        .hero-title { order: 4; text-align: center; font-size: 1.8rem; margin-bottom: 15px; width: 100%; }
        /* 5. Бейджи */
        .specs-row { order: 5; justify-content: center; margin-bottom: 20px; width: 100%; }

        /* 6. Главный Слайдер */
        #heroSlider {
            order: 6;
            min-height: 250px;
            aspect-ratio: 16/9;
            margin-bottom: 30px;
            width: 100%;
        }

        /* 7. Анонс */
        .description { order: 7; text-align: center; margin-bottom: 30px; width: 100%; }

        /* 8. Открытый канал */
        .spectrum-container { order: 8; margin: 0 auto 50px auto; width: 100%; }

        /* 9. Подробное описание и Вторая галерея */
        .details-section { order: 9; }

        .details-grid { display: flex; flex-direction: column; gap: 30px; }
        .details-grid > .detail-card:first-child { order: 1; }

        #infoSlider {
            order: 2;
            width: 100%;
            margin: 0;
            min-height: auto;
            height: auto;
            max-width: none;
        }

        .split-grid { order: 3; grid-template-columns: 1fr; }

        /* 10. Персонажи */
        .characters-section { order: 10; }

        .char-modal-content { flex-direction: column; align-items: center; text-align: center; }
    }
