/* --- GLOBÁLNÍ NASTAVENÍ --- */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif; 
    background-color: #121212; 
    color: white;
    overflow-x: hidden; 
    
    /* Flex layout, aby patička držela dole */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Pojistka obrázků */
img {
    max-width: 100%;
    height: auto;
}

/* --- 1. HLAVIČKA (MENU) --- */
header {
    width: 100%;
    min-height: 100px;
    background-color: #1b1e31;
    display: flex;
    align-items: center;
    justify-content: space-between; 
    padding: 10px 40px; 
    border-bottom: 1px solid rgba(255,255,255,0.05);
    z-index: 100;
}

.logo {
    max-height: 80px;
    width: auto;
    display: block;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap; 
}

.nav-item {
    text-decoration: none;
    color: #cccccc;
    font-size: 0.95rem; 
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: transparent; 
    border: 1px solid rgba(255, 255, 255, 0.2); 
    padding: 10px 20px; 
    border-radius: 30px; 
    transition: all 0.3s ease; 
    white-space: nowrap;
}

.nav-item:hover, .nav-item.active {
    background-color: #293a66; 
    border-color: #293a66;
    color: white;
    transform: translateY(-3px); 
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.nav-item i {
    font-size: 1.1rem;
}

.discord-header-btn {
    text-decoration: none;
    background-color: #5865F2; 
    color: white;
    padding: 10px 25px; 
    border-radius: 30px; 
    font-size: 0.95rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #5865F2; 
    transition: all 0.3s ease;
    margin-left: 10px;
    white-space: nowrap; 
}

.discord-header-btn:hover {
    background-color: #4752c4;
    border-color: #4752c4;
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(88, 101, 242, 0.4);
}

/* --- 2. OBSAH STRÁNKY (Pomocník) --- */
.help-container {
    width: 100%;
    /* Flex 1 roztáhne kontejner do volného místa */
    flex: 1; 
    
    display: flex;
    justify-content: center; /* Vodorovně na střed */
    align-items: flex-start; /* Svisle nahoru */
    
    padding-top: 80px; 
    padding-left: 20px;
    padding-right: 20px;
    padding-bottom: 50px; 
}

/* Box s informací */
.info-box-styled {
    background-color: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2); 
    border-radius: 30px; 
    padding: 40px 60px; 
    
    max-width: 900px;
    width: 100%; /* Aby na malém displeji nelezl ven */
    text-align: center;
    color: #cccccc; 
    
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.info-box-styled i {
    font-size: 2.5rem; 
    color: #5865F2; 
    margin-bottom: 10px;
}

.info-box-styled p {
    font-family: Arial, sans-serif;
    font-size: 1.2rem;
    line-height: 1.6;
    margin: 0;
    font-weight: normal;
}

/* --- PATIČKA --- */
footer {
    background-color: #151515;
    border-top: 1px solid #333;
    padding: 40px 0;
    margin-top: auto; 
    width: 100%;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    flex-wrap: wrap; 
    gap: 20px;
}

.footer-left-brand {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-logo {
    height: 50px;
    width: auto;
    align-self: flex-start;
}

.footer-text p {
    margin: 5px 0;
    color: #888;
    font-size: 0.9rem;
}

.footer-text .author {
    color: #555;
    font-size: 0.8rem;
}

.footer-right-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-link img {
    width: 30px;
    height: 30px;
    transition: transform 0.3s;
}

.social-link:hover img {
    transform: scale(1.1);
}

.scroll-top-btn {
    background-color: transparent; 
    border: 1px solid rgba(255, 255, 255, 0.2); 
    color: #cccccc;
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    font-family: 'Arial', sans-serif;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.scroll-top-btn:hover {
    background-color: #293a66; 
    border-color: #293a66;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* ========================================= */
/* --- RESPONZIVITA (MOBIL) --- */
/* ========================================= */

@media (max-width: 1024px) {
    /* Hlavička */
    header {
        flex-direction: column;
        padding: 20px;
        height: auto;
    }

    .nav-menu {
        margin-top: 20px;
        flex-direction: column; 
        width: 100%;
        gap: 10px;
    }

    .nav-item, .discord-header-btn {
        width: 100%; 
        justify-content: center; 
        margin-left: 0;
    }

    /* Obsah (Pomocník) */
    .help-container {
        padding-top: 40px; /* Menší mezera shora */
        padding-left: 15px;
        padding-right: 15px;
    }

    .info-box-styled {
        padding: 30px 20px; /* Menší vnitřní odsazení boxu */
    }

    .info-box-styled p {
        font-size: 1rem; /* Menší písmo na mobilu */
    }

    /* Patička */
    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-left-brand {
        align-items: center;
    }

    .footer-logo {
        align-self: center;
    }

    .footer-right-actions {
        align-items: center;
        width: 100%;
    }
    
    .scroll-top-btn {
        width: 100%;
        justify-content: center;
    }
}