/* SVĚTLEJŠÍ ŠEDO-FIALOVÉ BARVY Z LOGA */
        :root {
            --bg-color: #1a1622; 
            --surface-color: #272236; 
            --surface-hover: #322b46; 
            --text-main: #f4f1f8;
            --text-muted: #a39bb3;
            --accent: #9d4edd; 
            --accent-glow: rgba(157, 78, 221, 0.6);
            --glass-border: rgba(157, 78, 221, 0.3);
            --nav-height: 70px; /* Kompaktnější menu */
        }

        ::-webkit-scrollbar { width: 8px; }
        ::-webkit-scrollbar-track { background: var(--bg-color); }
        ::-webkit-scrollbar-thumb { background: var(--accent); border-radius: 4px; }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            scroll-behavior: smooth;
        }

        body {
            background-color: var(--bg-color);
            color: var(--text-main);
            font-family: 'Inter', sans-serif;
            overflow-x: hidden;
            position: relative;
        }

        /* CYBER MŘÍŽKA NA POZADÍ */
        .cyber-grid {
            position: fixed;
            top: 0; left: 0; width: 100vw; height: 100vh;
            background-image: 
                linear-gradient(rgba(157, 78, 221, 0.04) 1px, transparent 1px),
                linear-gradient(90deg, rgba(157, 78, 221, 0.04) 1px, transparent 1px);
            background-size: 50px 50px;
            z-index: -1;
            transform: perspective(1000px) rotateX(60deg) translateY(-100px) translateZ(-200px);
            animation: gridMove 20s linear infinite;
            opacity: 0.5;
        }

        @keyframes gridMove {
            0% { transform: perspective(1000px) rotateX(60deg) translateY(0) translateZ(-200px); }
            100% { transform: perspective(1000px) rotateX(60deg) translateY(50px) translateZ(-200px); }
        }

        /* AMBIENT BLOB */
        .ambient-blob {
            position: fixed;
            top: 0; left: 0; width: 600px; height: 600px;
            background: radial-gradient(circle, rgba(157, 78, 221, 0.1) 0%, rgba(26, 22, 34, 0) 60%);
            border-radius: 50%;
            pointer-events: none;
            z-index: 0;
            transform: translate(-50%, -50%);
            filter: blur(80px);
        }

        section, article {
            scroll-margin-top: calc(var(--nav-height) + 20px);
            position: relative;
            z-index: 10;
        }

        /* PROGRESS BAR */
        .scroll-progress {
            position: fixed;
            top: 0; left: 0; height: 3px;
            background: var(--accent);
            width: 0%;
            z-index: 2000;
            box-shadow: 0 0 15px var(--accent-glow);
        }

        /* NAVIGACE */
        nav {
            position: fixed;
            top: 0; width: 100%; height: var(--nav-height);
            padding: 0 40px;
            display: flex; justify-content: space-between; align-items: center;
            background: rgba(26, 22, 34, 0.9);
            backdrop-filter: blur(20px);
            -webkit-backdrop-filter: blur(20px);
            z-index: 1000;
            border-bottom: 1px solid var(--glass-border);
        }

        .logo-container { height: 40px; }
        .logo-img { height: 100%; width: auto; object-fit: contain; }

        .nav-links { display: flex; gap: 30px; }
        .nav-links a {
            color: var(--text-main); text-decoration: none; font-weight: 800;
            font-size: 0.85rem; letter-spacing: 2px; text-transform: uppercase;
            position: relative; padding: 5px 0; transition: color 0.3s;
        }
        .nav-links a:hover { color: var(--accent); text-shadow: 0 0 10px var(--accent-glow); }

        /* ČISTÝ HERO ÚVOD (BEZ ANIMACÍ A GLITCHŮ) */
        header {
            height: 70vh; /* Menší výška úvodu */
            display: flex; flex-direction: column;
            justify-content: center; align-items: center; text-align: center;
            position: relative; z-index: 10;
        }

        header a {
            text-decoration: none;
        }

        main a{
            text-decoration: none;
        }
        .main-title {
            font-family: 'Bebas Neue', sans-serif;
            font-size: 8vw; 
            letter-spacing: 6px; 
            line-height: 1;
            color: #ffffff;
            text-shadow: 0 0 30px rgba(157, 78, 221, 0.3);
        }

        .subtitle {
            font-size: 1.1rem; color: var(--text-muted);
            text-transform: uppercase; letter-spacing: 6px;
            margin-top: 15px; font-weight: 600;
        }

        /* ČISTÉ KINEMATICKÉ ODHALOVÁNÍ SEKCÍ */
        .hidden-cinematic {
            opacity: 0;
            filter: blur(15px);
            transform: translateY(50px);
            transition: opacity 1s cubic-bezier(0.19, 1, 0.22, 1), 
                        filter 1s cubic-bezier(0.19, 1, 0.22, 1), 
                        transform 1s cubic-bezier(0.19, 1, 0.22, 1);
        }

        .show-cinematic {
            opacity: 1; filter: blur(0); transform: translateY(0);
        }

        /* MENŠÍ ROZESTUPY SEKCÍ */
        .section-divider {
            text-align: center; margin: 80px 0 40px 0;
        }

        .section-divider h2 {
            font-family: 'Bebas Neue', sans-serif; font-size: 3.5rem;
            letter-spacing: 4px; color: #fff;
            position: relative; display: inline-block;
        }

        .section-divider h2::after {
            content: ''; position: absolute; bottom: -5px; left: 50%;
            transform: translateX(-50%); width: 45px; height: 3px;
            background: var(--accent); box-shadow: 0 0 10px var(--accent);
        }

        /* ZÁPASNÍCI */
        .fighters-grid {
            max-width: 1300px; margin: 0 auto 80px auto; padding: 0 30px;
            display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px;
        }

        /* HOVER EFEKT SCANLINE */
        .fighter-card, .part-content, .media-box {
            background: var(--surface-color);
            border: 1px solid var(--glass-border);
            border-radius: 4px; 
            overflow: hidden; position: relative;
            transition: all 0.3s ease;
        }

        .fighter-card::after, .part-content::after, .media-box::after {
            content: ''; position: absolute; top: -150%; left: -50%;
            width: 200%; height: 40px;
            background: linear-gradient(to bottom, transparent, rgba(157, 78, 221, 0.5), transparent);
            transform: rotate(30deg);
            transition: top 0s; z-index: 5; pointer-events: none; opacity: 0;
        }

        .fighter-card:hover::after, .part-content:hover::after, .media-box:hover::after {
            top: 200%; transition: top 0.7s ease-in-out; opacity: 1;
        }

        .fighter-card:hover, .part-content:hover, .media-box:hover {
            border-color: var(--accent);
            box-shadow: 0 0 30px rgba(157, 78, 221, 0.25);
            transform: translateY(-5px);
            background: var(--surface-hover);
        }

        .fighter-image {
            width: 100%; height: 300px; background: #1c1826;
            display: flex; justify-content: center; align-items: center;
            border-bottom: 2px solid var(--accent);
        }

        .fighter-info { padding: 25px; }
        .fighter-info h3 { font-family: 'Bebas Neue', sans-serif; font-size: 2.2rem; letter-spacing: 1px; }
        .fighter-info p { color: var(--accent); font-weight: 800; text-transform: uppercase; letter-spacing: 2px; font-size: 0.75rem; margin: 5px 0 15px 0; }
        .fighter-stats { color: var(--text-muted); font-size: 0.9rem; line-height: 1.6; }

        /* TURNAJE */
        .container {
            max-width: 1300px; margin: 0 auto; padding: 0 30px 100px 30px;
            display: flex; flex-direction: column; gap: 100px; /* Menší mezery mezi turnaji */
        }

        .saga-part {
            display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 40px; align-items: stretch;
        }

        .saga-part:nth-child(even) { grid-template-columns: 0.9fr 1.1fr; }
        .saga-part:nth-child(even) .part-content { order: 2; }
        .saga-part:nth-child(even) .media-box { order: 1; }

        .part-content { padding: 45px; border-left: 5px solid var(--accent); }
        
        .part-number {
            position: absolute; top: -30px; right: 20px;
            font-family: 'Bebas Neue', sans-serif; font-size: 10rem;
            color: rgba(157, 78, 221, 0.04); line-height: 1; pointer-events: none;
        }

        .part-content h2 { font-family: 'Bebas Neue', sans-serif; font-size: 3.5rem; letter-spacing: 2px; margin-bottom: 15px; }
        .part-content p { font-size: 1.1rem; line-height: 1.7; color: var(--text-muted); margin-bottom: 30px; }

        .stats-grid {
            display: grid; grid-template-columns: 1fr 1fr; gap: 20px;
            padding-top: 20px; border-top: 1px solid rgba(255, 255, 255, 0.05);
        }

        .stat-item h4 { color: var(--accent); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 3px; margin-bottom: 5px; }
        .stat-item p { color: #fff; font-size: 1.3rem; font-weight: 800; font-family: 'Bebas Neue', sans-serif; letter-spacing: 1px; }

        /* KARTY MÉDIÍ */
        .media-box {
            background: #1c1826; min-height: 350px;
            display: flex; justify-content: center; align-items: center;
        }

        .media-box::before {
            font-family: 'Inter', sans-serif; font-weight: 800; font-size: 1rem;
            color: #4b4263; letter-spacing: 4px;
        }

        /* BUDOUCNOST - KLEC 6 */
        .future-part {
            grid-template-columns: 1fr !important; text-align: center; padding: 80px 30px;
            background: repeating-linear-gradient(45deg, #1c1826, #1c1826 10px, #15121e 10px, #15121e 20px);
            border: 2px dashed var(--accent);
            animation: borderPulse 4s infinite;
        }

.hero {
    position: relative;
    height: calc(100vh - var(--nav-height));
    margin-top: var(--nav-height); /* 👈 toto zajistí, že je POD nav */
    overflow: hidden;
    margin-bottom: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;

    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.55);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-decoration: none;
}

        @keyframes borderPulse {
            0%, 100% { border-color: rgba(157, 78, 221, 0.3); }
            50% { border-color: rgba(157, 78, 221, 0.8); box-shadow: 0 0 30px rgba(157, 78, 221, 0.2); }
        }

        .future-part h2 { font-size: 5rem; color: var(--accent); letter-spacing: 4px; }
        .future-part p { font-size: 1.3rem; font-weight: 600; color: #fff; max-width: 700px; margin: 20px auto 0 auto; letter-spacing: 2px; }

        footer {
            text-align: center; padding: 50px; background: #0f0d14;
            border-top: 1px solid var(--glass-border); color: #4b4263;
            font-size: 0.9rem; letter-spacing: 4px; text-transform: uppercase; font-weight: 800;
        }

        @media (max-width: 1024px) {

    /* NAV */
    .nav-links {
        display: none;
    }

    nav {
        padding: 0 20px;
    }

    /* HERO */
    .hero {
        height: calc(70vh - var(--nav-height));
    }

    .main-title {
        font-size: 12vw;
        letter-spacing: 3px;
    }

    .subtitle {
        font-size: 0.9rem;
        letter-spacing: 3px;
        margin-top: 10px;
    }

    /* CYBER GRID OFF (mobile výkon + čistota) */
    .cyber-grid {
        display: none;
    }

    /* CONTAINER */
    .container {
        padding: 0 15px 60px 15px;
        gap: 60px;
    }

    /* SAGA LAYOUT -> vždy pod sebou */
    .saga-part,
    .saga-part:nth-child(even) {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .saga-part:nth-child(even) .part-content,
    .saga-part:nth-child(even) .media-box {
        order: unset;
    }

    /* TEXT BLOKY */
    .part-content {
        padding: 25px;
        border-left: 3px solid var(--accent);
    }

    .part-content h2 {
        font-size: 2.2rem;
    }

    .part-content p {
        font-size: 1rem;
        line-height: 1.6;
    }

    /* VELKÉ ČÍSLO - jinak překáží */
    .part-number {
        font-size: 6rem;
        top: -20px;
        right: 10px;
        opacity: 0.08;
    }

    /* STATY */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .stat-item p {
        font-size: 1.1rem;
    }

    /* MEDIA */
    .media-box {
        min-height: 220px;
    }

    /* FUTURE PART */
    .future-part {
        padding: 50px 15px;
    }

    .future-part h2 {
        font-size: 2.5rem;
    }

    .future-part p {
        font-size: 1rem;
        letter-spacing: 1px;
    }
}