:root {
    --bg-color: #050505;
    --text-color: #f0f0f0;
    --accent-red: #8a0303; /* Krvavě rudá */
    --accent-bright: #ff0000;
    --font-heading: 'Oswald', sans-serif;
    --font-body: 'Roboto', sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-body);
    overflow-x: hidden;
}

/* --- POZADÍ A EFEKTY --- */
.background-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at center, #1a1a1a 0%, #000000 100%);
    pointer-events: none;
}

/* Vignette (ztmavnutí rohů) a krvavý nádech */
.vignette {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: inset 0 0 150px rgba(0,0,0,0.9);
    background: radial-gradient(circle, transparent 60%, rgba(138, 3, 3, 0.1) 100%);
}

/* Mlha */
.fog {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/fog1.png') repeat-x; 
    background-size: 300% auto; 
    background-position: center bottom; 
    opacity: 0.5; 
    /* ZMĚNA: Zvýšeno na 200s (velmi pomalé) */
    animation: fogMove 200s linear infinite;
    z-index: -1; 
}

.fog-2 {
    background: url('images/fog2.png') repeat-x; 
    background-size: 250% auto;
    background-position: center bottom;
    /* ZMĚNA: Zvýšeno na 150s (jiná rychlost pro hloubku) */
    animation-duration: 150s;
    top: auto; 
    bottom: 0;
    opacity: 0.3; /* Trochu jsem snížil i průhlednost, aby tolik nerušila */
}

@keyframes fogMove {
    0% { background-position: 0 bottom; }
    100% { background-position: -300% bottom; }
}

/* Animace zůstává stejná */
@keyframes fogMove {
    0% { background-position: 0 bottom; }
    100% { background-position: -300% bottom; } /* Musí odpovídat background-size width */
}

/* --- HERO SECTION --- */
#hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    position: relative;
}

h1.glitch-text {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 700;
    letter-spacing: 5px;
    text-shadow: 2px 2px var(--accent-red);
    margin-bottom: 10px;
    text-transform: uppercase;
}

#hero-motto {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--accent-bright);
    letter-spacing: 3px;
    animation: pulse 2s infinite;
    text-transform: uppercase;
}

@keyframes pulse {
    0% { opacity: 0.6; text-shadow: 0 0 5px var(--accent-red); }
    50% { opacity: 1; text-shadow: 0 0 20px red; }
    100% { opacity: 0.6; text-shadow: 0 0 5px var(--accent-red); }
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    font-size: 2rem;
    color: var(--accent-red);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-10px);}
    60% {transform: translateY(-5px);}
}

html {
    scroll-behavior: smooth;
}

/* --- NAVIGACE --- */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.85); /* Tmavá poloprůhledná */
    border-bottom: 1px solid #222;
    z-index: 1000; /* Musí být nad mlhou! */
    padding: 15px 0;
    backdrop-filter: blur(5px); /* Rozmazání pozadí pod menu (moderní efekt) */
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Logo vlevo */
.nav-logo img {
    height: 40px; /* Výška loga */
    vertical-align: middle;
}

.nav-logo span {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Odkazy vpravo */
.nav-menu {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-menu li a {
    text-decoration: none;
    color: #ccc;
    font-family: var(--font-heading);
    font-size: 1.1rem;
    text-transform: uppercase;
    transition: 0.3s;
    letter-spacing: 1px;
}

.nav-menu li a:hover {
    color: var(--accent-red);
    text-shadow: 0 0 10px var(--accent-red);
}

/* Úprava pro mobil - odkazy se zmenší a vycentrují */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 15px;
    }
    
    .nav-menu {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-menu li a {
        font-size: 0.9rem;
    }
}

/* --- CONTAINER & SECTIONS --- */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
}

section {
    margin-bottom: 80px;
    padding-top: 20px;
}

h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    color: var(--text-color);
    border-bottom: 2px solid var(--accent-red);
    display: inline-block;
    margin-bottom: 30px;
    padding-right: 20px;
    text-transform: uppercase;
}

/* --- O MNĚ & STATS --- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.stat-item {
    background: rgba(20, 20, 20, 0.8);
    border: 1px solid #333;
    padding: 20px;
    text-align: center;
    transition: 0.3s;
}

.stat-item:hover {
    border-color: var(--accent-red);
    transform: translateY(-5px);
}

.stat-value {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    color: var(--accent-red);
}

.fight-links {
    margin-top: 20px;
    display: flex;
    gap: 15px;
}

.btn-link {
    color: #fff;
    text-decoration: none;
    border: 1px solid #fff;
    padding: 10px 20px;
    font-size: 0.9rem;
    transition: 0.3s;
    text-transform: uppercase;
}

.btn-link:hover {
    background: var(--accent-red);
    border-color: var(--accent-red);
}

/* --- MEDIA --- */
.media-item {
    padding: 15px;
    border-left: 3px solid var(--accent-red);
    background: rgba(255,255,255,0.05);
    margin-bottom: 15px;
    transition: 0.3s;
}

.media-item:hover {
    background: rgba(138, 3, 3, 0.2);
}

.media-item a {
    color: white;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
}

.media-source {
    display: block;
    font-size: 0.8rem;
    color: #888;
    margin-top: 5px;
}

/* --- PARTNEŘI (BANNER) --- */
.partner-banner {
    width: 100%;
    max-width: 900px; /* Maximální šířka, ať to není přes celý monitor */
    height: auto;
    display: block;
    margin: 0 auto; /* Vycentrování */
    border: 1px solid #333;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
    transition: 0.3s;
    cursor: pointer; /* Kurzor ručičky (značí, že jde rozkliknout) */
    filter: grayscale(20%); /* Jemně utlumené barvy */
}

.partner-banner:hover {
    filter: grayscale(0%); /* Plné barvy po najetí */
    border-color: var(--accent-red);
    box-shadow: 0 0 25px rgba(138, 3, 3, 0.4);
    transform: scale(1.01);
}

/* --- GALERIE --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.gallery-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 2px;
    transition: 0.3s;
    filter: contrast(1.1) grayscale(30%); /* Trochu temnější look */
}

.gallery-img:hover {
    filter: contrast(1) grayscale(0%);
    transform: scale(1.02);
    box-shadow: 0 0 15px rgba(138, 3, 3, 0.5);
}

/* --- KONTAKT --- */
.contact-box {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    margin-bottom: 50px;
}

.contact-link {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: white;
    text-decoration: none;
    border: 2px solid var(--accent-red);
    padding: 15px 40px;
    width: 100%;
    max-width: 300px;
    text-align: center;
    transition: 0.3s;
    text-transform: uppercase;
}

.contact-link:hover {
    background: var(--accent-red);
    box-shadow: 0 0 20px var(--accent-red);
}

footer {
    text-align: center;
    color: #555;
    margin-top: 50px;
    font-size: 0.8rem;
}

/* --- RESPONZIVITA --- */
@media (max-width: 768px) {
    h1.glitch-text { font-size: 2.5rem; }
    #hero-motto { font-size: 1rem; }
    h2 { font-size: 2rem; }
    .container { padding: 15px; }
}

/* --- LIGHTBOX (Galerie) --- */
.lightbox {
    display: none; /* Ve výchozím stavu skryté */
    position: fixed;
    z-index: 2000; /* Musí být úplně nahoře (nad menu i mlhou) */
    padding-top: 50px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.95); /* Téměř černá neprůhlednost */
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

/* Samotná fotka */
.lightbox-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 1000px;
    max-height: 80vh; /* Aby se vešla i na výšku */
    object-fit: contain;
    border: 2px solid var(--accent-red); /* Krvavý rámeček */
    box-shadow: 0 0 30px rgba(138, 3, 3, 0.6);
    animation: zoomIn 0.3s;
}

/* Animace přiblížení */
@keyframes zoomIn {
    from {transform:scale(0)} 
    to {transform:scale(1)}
}

/* Křížek pro zavření */
.close-btn {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
    cursor: pointer;
    z-index: 2001;
}

.close-btn:hover,
.close-btn:focus {
    color: var(--accent-red);
    text-decoration: none;
    cursor: pointer;
}

/* Responzivita pro mobil */
@media only screen and (max-width: 700px){
    .lightbox-content {
        width: 100%;
    }
}

/* --- PATIČKA A PODPIS VÝVOJÁŘE --- */
footer {
    text-align: center;
    color: #555;
    margin-top: 50px;
    padding-bottom: 30px; /* Místo dole, aby to nebylo nalepené na hraně */
    font-size: 0.8rem;
}

.developer-credit {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px; /* Mezera mezi textem a logem */
    opacity: 0.5; /* Ve výchozím stavu poloprůhledné (neruší) */
    transition: 0.3s;
}

.developer-credit:hover {
    opacity: 1; /* Po najetí se rozsvítí naplno */
}

.dev-text {
    font-family: var(--font-body);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888;
}

.dev-logo {
    height: 25px; /* Výška loga - uprav dle potřeby */
    width: auto;
    filter: grayscale(100%); /* Černobílé logo, aby ladilo k webu */
    transition: 0.3s;
    vertical-align: middle;
}

.developer-credit a:hover .dev-logo {
    filter: grayscale(0%); /* Po najetí myší na logo se ukáží barvy */
    transform: scale(1.1); /* Jemné zvětšení */
}