.menu-dropdown a.active[aria-current="page"] {
    pointer-events: none;           /* nelze kliknout */
    cursor: default;                /* kurzor jako text */
    background: rgba(74,144,255,0.22);
    border-left: 4px solid #4a90ff; /* silnější zvýraznění */
    font-weight: 700;               /* tučnější text */
    color: #ffffff;                 /* bílý text */
}
/* Zarovnání loga na střed stránky pomocí flexboxu */
.fixed-logo {
    position: fixed;
    top: 0px;
    left: 0;
    width: 100vw;
    display: flex;
    justify-content: center;
    z-index: 2001;
}
.fixed-logo img {
    width: 80px;
    height: 80px;
}
.fixed-logo img.coin-spin {
    animation: coinSpinY 0.7s linear;
}
@keyframes coinSpinY {
    from { transform: rotateY(0deg); }
    to { transform: rotateY(360deg); }
}
body {
    background: linear-gradient(to bottom, #0053ff, #00fbff) fixed;
    color: #fff;
    font-family: 'Segoe UI', Arial, sans-serif;
    margin: 0;
    padding: 120px 0 0 0;
}
h1 {
    text-align: center;
    margin-top: 140px;
    margin-bottom: 32px;
    font-size: 2.2rem;
    font-weight: bold;
    letter-spacing: 1px;
}
.fixed-buttons {
    position: fixed;
    top: 10px;
    right: 30px;
    z-index: 2002;
    display: flex;
    gap: 10px;
}
.fixed-buttons button {
    color: white;
    border: none;
    padding: 12px 18px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    box-shadow: none;
}
.discord {
    background-color: #5865F2;
}
.discord:hover {
    background-color: white;
    color: #5865F2;
}
.instagram {
    background: linear-gradient(45deg,#405de6,#5851db,#833ab4,#c13584,#e1306c,#fd1d1d,#f56040,#f77737,#fcaf45,#ffdc80);
}
.instagram:hover {
    background: white;
    color: #c13584;
}
.tiktok {
    background-color: #ff0050;
}
.tiktok:hover {
    background-color: white;
    color: #ff0050;
}
.menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
}
.menu-btn:hover {
    box-shadow: 0 0 0 3px rgba(80,80,80,0.35);
    background: rgba(80,80,80,0.18);
}
.menu-icon {
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.menu-icon span {
    display: block;
    width: 28px;
    height: 4px;
    background: #fff;
    border-radius: 2px;
}
.menu-dropdown {
    position: absolute;
    top: 50px;
    right: 0;
    background: #222;
    border-radius: 8px;
    box-shadow: none;
    padding: 12px 0;
    min-width: 180px;
    display: flex;
    flex-direction: column;
    z-index: 3000;
}
.menu-dropdown a {
    color: #fff;
    text-decoration: none;
    padding: 10px 24px;
    font-size: 1.1rem;
}
.menu-dropdown a:hover {
    background: #ffaf00;
    color: #222;
}
button, a {
    cursor: pointer;
}

/* Mobilní optimalizace */
@media (max-width: 768px) {
    .fixed-ip {
        font-size: 1.2rem;
        left: 10px;
        top: 5px;
    }
    
    .fixed-buttons {
        right: 10px;
        top: 5px;
        gap: 5px;
    }
    
    .fixed-buttons button {
        padding: 8px 12px;
        font-size: 0.9rem;
    }
    
    .fixed-logo img {
        width: 60px;
        height: 60px;
    }
    
    .content {
        padding: 150px 15px 50px;
        font-size: 1rem;
    }
    
    h1 {
        font-size: 2rem;
        margin-top: 100px;
    }
    
    .menu-dropdown {
        right: 5px;
        min-width: 160px;
    }
}

@media (max-width: 480px) {
    .fixed-ip {
        font-size: 1rem;
        left: 5px;
        top: 5px;
    }
    
    .fixed-logo {
        top: 50px !important;
    }
    
    .theme-toggle {
        position: fixed;
        top: 110px;
        right: 5px;
        z-index: 2002;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .fixed-buttons {
        right: 5px;
        flex-wrap: wrap;
    }
    
    .fixed-buttons button {
        padding: 6px 8px;
        font-size: 0.8rem;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    .menu-dropdown {
        min-width: 140px;
    }
}

/* === TMAV� RE�IM === */
.theme-toggle {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    border-radius: 8px;
    width: 45px;
    height: 45px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    min-width: 45px;
    min-height: 45px;
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* Dark mode styly */
body.dark-mode {
    background: linear-gradient(to bottom, #1a1a1a, #2d2d2d) fixed !important;
}

body.dark-mode h1, body.dark-mode h2, body.dark-mode h3, body.dark-mode p, body.dark-mode li {
    color: #ffffff;
}

/* Mobiln� styly pro theme toggle */
@media (max-width: 768px) {
    .theme-toggle {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .theme-toggle {
        width: 35px;
        height: 35px;
        font-size: 0.9rem;
    }
    
    .fixed-buttons {
        gap: 8px !important;
        right: 20px !important;
    }
}



body.force-mobile-layout .fixed-logo {
    top: 60px !important;
}

body.force-mobile-layout .theme-toggle {
    position: fixed !important;
    top: 120px !important;
    right: 10px !important;
    z-index: 2002 !important;
}

@media (max-width: 480px) {
    body.force-mobile-layout .fixed-ip {
        font-size: 1rem !important;
        left: 5px !important;
        top: 5px !important;
    }
    
    body.force-mobile-layout .fixed-logo {
        top: 50px !important;
    }
    
    body.force-mobile-layout .theme-toggle {
        top: 110px !important;
        right: 5px !important;
        width: 40px !important;
        height: 40px !important;
        font-size: 1rem !important;
    }
}
/* Vynucene mobilni rozlozeni s nejvyssi prioritou */
body.force-mobile-layout .fixed-ip,
body.force-mobile-layout.force-mobile-layout .fixed-ip {
    position: fixed !important;
    font-size: 1.2rem !important;
    left: 10px !important;
    top: 10px !important;
    z-index: 2000 !important;
    color: #ffffff !important;
    font-weight: bold !important;
    display: flex !important;
    flex-direction: column !important;
    line-height: 1.2 !important;
}

body.force-mobile-layout .fixed-logo,
body.force-mobile-layout.force-mobile-layout .fixed-logo {
    position: fixed !important;
    top: 60px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 2001 !important;
}

body.force-mobile-layout .theme-toggle,
body.force-mobile-layout.force-mobile-layout .theme-toggle {
    position: fixed !important;
    top: 120px !important;
    right: 10px !important;
    z-index: 2002 !important;
    background: rgba(255, 255, 255, 0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    color: #fff !important;
    border-radius: 8px !important;
    width: 45px !important;
    height: 45px !important;
    cursor: pointer !important;
    font-size: 1.2rem !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

@media (max-width: 480px) {
    body.force-mobile-layout .fixed-ip,
    body.force-mobile-layout.force-mobile-layout .fixed-ip {
        font-size: 1rem !important;
        left: 5px !important;
        top: 5px !important;
    }
    
    body.force-mobile-layout .fixed-logo,
    body.force-mobile-layout.force-mobile-layout .fixed-logo {
        top: 50px !important;
    }
    
    body.force-mobile-layout .theme-toggle,
    body.force-mobile-layout.force-mobile-layout .theme-toggle {
        top: 110px !important;
        right: 5px !important;
        width: 40px !important;
        height: 40px !important;
        font-size: 1rem !important;
    }
}