.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 */
}
/* Stejná velikost loga jako na hlavní stránce po scrollu */
.fixed-logo img {
    width: 80px;
    height: 80px;
}
/* Větší mezera pouze mezi logem a hlavním nadpisem */
h1 {
    margin-top: 140px;
}
/* Hover efekt: šedý poloprůhledný okraj kolem hamburger menu tlačítka */
.menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 12px 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    transition: box-shadow 0.2s;
}
.menu-btn:hover {
    box-shadow: 0 0 0 3px rgba(80,80,80,0.35);
    background: rgba(80,80,80,0.18);
}
/* Hover efekt pro hamburger menu tlačítko */
/* Styl menu tlačítka a dropdownu jako na hlavní stránce */
.menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.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;
    transition: background 0.2s;
}
.menu-dropdown a:hover {
    background: #ffaf00;
    color: #222;
}
/* Styl tlačítek v pravém horním rohu jako na hlavní stránce */
.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;
    transition: background 0.3s, color 0.3s;
    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;
}

/* Animace otočení loga jako na ostatních stránkách */
.fixed-logo img.coin-spin {
    animation: coinSpinY 0.7s linear;
}
@keyframes coinSpinY {
    from { transform: rotateY(0deg); }
    to { transform: rotateY(360deg); }
}
/* IP v levém horním rohu bude vždy bílá */
.fixed-ip, .fixed-ip strong {
    color: #fff !important;
}
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: 48px;
    margin-bottom: 32px;
    font-size: 2.2rem;
    font-weight: bold;
    letter-spacing: 1px;
}

h2 {
    margin-top: 32px;
    margin-bottom: 16px;
    font-size: 1.4rem;
    color: #ffaf00;
    border-bottom: 2px solid #ffaf00;
    padding-bottom: 4px;
    width: 67%;
    margin-right: 15%;
    text-align: left;
    margin-left: 18%;
}

ol {
    background: rgba(24,42,77,0.92);
    border-radius: 10px;
    box-shadow: 0 1px 6px rgba(0,0,0,0.08);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 18px 28px 18px 36px;
    margin: 0 18% 18px 18%;
    width: 64%;
    font-size: 1.04rem;
    line-height: 1.65;
}

li {
    margin-bottom: 8px;
}

strong {
    color: #ffaf00;
}

/* === 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: 50%;
    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;
}

.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;
}

/* Poslední řádek pro uzavření */
div[style*="text-align:center"] {
    margin-top: 40px;
    font-size: 1.15rem;
    background: #223a6d;
    border-radius: 10px;
    padding: 18px 12px;
    color: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.10);
}

/* Mobilní optimalizace */
@media (max-width: 768px) {
    .fixed-ip {
        font-size: 1.2rem;
        left: 10px;
        top: 10px;
    }
    
    .fixed-logo {
        top: 60px !important;
    }
    
    .fixed-buttons {
        right: 10px;
        gap: 5px;
    }
    
    .theme-toggle {
        position: fixed;
        top: 120px;
        right: 10px;
        z-index: 2002;
    }
    
    .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;
    }
    
    h2 {
        font-size: 1.5rem;
        width: auto;
        margin: 24px auto 12px auto;
        text-align: center;
        padding: 0 12px 6px;
    }

    ol {
        width: auto;
        margin: 0 12px 16px 12px;
        padding: 14px 18px 14px 28px;
    }
    
    .menu-dropdown {
        right: 5px;
        min-width: 160px;
    }
    
    div[style*="text-align:center"] {
        font-size: 1rem;
        padding: 15px 10px;
        margin: 30px 10px;
    }
}

/* === 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: 50%;
    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;
}

.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;
}

@media (max-width: 480px) {
    .fixed-ip {
        font-size: 1rem;
        left: 5px;
        top: 5px;
    }
    
    .fixed-logo {
        top: 50px !important;
    }
    
    .fixed-buttons {
        right: 5px;
        flex-wrap: wrap;
    }
    
    .theme-toggle {
        position: fixed;
        top: 110px;
        right: 5px;
        z-index: 2002;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .fixed-buttons button {
        padding: 6px 8px;
        font-size: 0.8rem;
    }
    
    h1 { font-size: 1.8rem; }
    h2 {
        font-size: 1.25rem;
        width: 92%;
        margin: 20px auto 10px auto;
        text-align: center;
        padding: 0 8px 6px;
    }
    ol {
        width: 92%;
        margin: 0 auto 14px auto;
        padding: 12px 14px 12px 24px;
        font-size: 0.98rem;
    }
    
    .menu-dropdown {
        min-width: 140px;
    }
    
    div[style*="text-align:center"] {
        font-size: 0.9rem;
        padding: 12px 8px;
    }
}

/* 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;
    }
}

/* 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;
}

/* Pro male obrazovky */
@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;
    }
}
