:root {
    --bg: #050505;
    --neon-blue: #00f2ff;
    --neon-pink: #ff007a;
    --neon-green: #39FF14;
    --text: #ffffff;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    /* Hlavní pozadí stránky s tvým obrázkem */
    background: linear-gradient(rgba(0,0,0,0.8), rgba(0,0,0,0.8)), 
                url('../assets/BACKROUND.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--text);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
}

/* INTRO VIDEO LOOP */
.hero-video-section {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
}

#hero-video {
    position: absolute;
    top: 50%; left: 50%;
    min-width: 100%; min-height: 100%;
    /* ZMENŠENÍ A ZTMAVENÍ */
    transform: translate(-50%, -50%) scale(0.8); 
    filter: brightness(0.2) contrast(1.2);
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle, transparent 20%, #000 100%);
    z-index: 1;
}

.hero-content { position: relative; z-index: 2; text-align: center; }
.hero-logo { height: 120px; filter: drop-shadow(0 0 15px var(--neon-blue)); margin-bottom: 20px; }

/* LOGO V NAVIGACI */
.nav-logo { height: 40px; filter: drop-shadow(0 0 5px var(--neon-blue)); }

/* MONITOR FRAME (Z tvého obrázku) */
.lab-monitor-frame {
    position: relative;
    background: rgba(13, 13, 13, 0.9);
    padding: 15px;
    clip-path: polygon(4% 0, 96% 0, 100% 10%, 100% 90%, 96% 100%, 4% 100%, 0 90%, 0 10%);
    border: 1px solid var(--neon-blue);
    box-shadow: 0 0 30px rgba(0, 242, 255, 0.2);
    margin: 40px 0;
}

.monitor-screen {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    background: #000;
    overflow: hidden;
}

.corner-detail {
    position: absolute; width: 30px; height: 30px;
    border: 3px solid var(--neon-pink); z-index: 10;
}
.top-left { top: 10px; left: 10px; border-right: none; border-bottom: none; }
.top-right { top: 10px; right: 10px; border-left: none; border-bottom: none; }
.bottom-left { bottom: 10px; left: 10px; border-right: none; border-top: none; }
.bottom-right { bottom: 10px; right: 10px; border-left: none; border-top: none; }

/* KARTY V TREZORU */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.rapper-card {
    background: rgba(15, 15, 15, 0.9);
    border: 1px solid #222;
    padding: 25px;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 85% 100%, 0 100%);
    transition: 0.3s;
}

.rapper-card:hover {
    border-color: var(--neon-blue);
    box-shadow: 0 0 15px var(--neon-blue);
    transform: translateY(-5px);
}

/* OSTATNÍ DOPLŇKY */
.status-blink { color: var(--neon-green); animation: pulse 1.5s infinite; font-size: 0.8rem; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.3; } }

.btn-enter, .btn-decode {
    background: transparent; border: 2px solid var(--neon-blue);
    color: var(--neon-blue); padding: 12px 30px; font-weight: 900;
    cursor: pointer; transition: 0.3s;
}
.btn-enter:hover { background: var(--neon-blue); color: #000; box-shadow: 0 0 20px var(--neon-blue); }