.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 */
.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;
}

/* === STYLY PRO TEAM PROFILY === */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.team-member {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 30px 25px;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
}

.team-member.admin {
    border: 2px solid #0057ff;
    box-shadow: 0 0 25px rgba(0, 87, 255, 0.4);
}

.team-member.moderator {
    border: 2px solid #f0050b;
    box-shadow: 0 0 25px rgba(240, 5, 11, 0.4);
}

.team-member.builder {
    border: 2px solid #62a827;
    box-shadow: 0 0 25px rgba(98, 168, 39, 0.4);
}

.team-member:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.profile-picture {
    position: relative;
    width: 120px;
    height: 160px;
    margin: 0 auto 20px;
    border-radius: 0; /* no circular crop */
    overflow: hidden;
    cursor: default; /* not clickable */
    border: 0; /* remove decorative border */
    transition: none;
}

.profile-picture:hover {
    transform: none; /* no hover scale */
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.3s ease;
}

/* upload-overlay removed */

.member-info h3 {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.role {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.admin-role {
    background: linear-gradient(to right, #0057ff, #00e4ff);
    color: #fff;
}

.mod-role {
    background: linear-gradient(to right, #f0050b, #b31938);
    color: #fff;
}

.builder-role {
    background: linear-gradient(to right, #62a827, #37ff00);
    color: #fff;
}

.member-info p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    font-size: 1rem;
    margin: 0;
}

/* Responzivní design */
@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 10px;
    }
    
    .team-member {
        padding: 20px 15px;
    }
    
    .profile-picture {
        width: 100px;
        height: 100px;
    }
    
    .member-info h3 {
        font-size: 1.3rem;
    }
    
    .role {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
    
    .member-info p {
        font-size: 0.9rem;
    }
    
    .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: 20px 10px;
    }
    
    h1 {
        font-size: 2rem;
        margin-top: 100px;
    }
}

@media (max-width: 480px) {
    .team-member {
        padding: 15px 10px;
    }
    
    .profile-picture {
        width: 80px;
        height: 80px;
    }
    
    .member-info h3 {
        font-size: 1.2rem;
    }
    
    .role {
        font-size: 0.7rem;
        padding: 5px 10px;
    }
    
    .member-info p {
        font-size: 0.85rem;
        line-height: 1.5;
    }
    
    .fixed-ip {
        font-size: 1rem;
        top: 5px;
    }
    
    .fixed-logo {
        top: 50px !important;
    }
    
    .fixed-buttons button {
        padding: 6px 8px;
        font-size: 0.8rem;
    }
    
    .theme-toggle {
        position: fixed;
        top: 110px;
        right: 5px;
        z-index: 2002;
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    h1 {
        font-size: 1.8rem;
    }
}

/* === 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;
}

.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 .team-member {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .team-member.admin {
    border: 2px solid transparent;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03)) padding-box, 
                linear-gradient(to right, #333, #555) border-box;
}

body.dark-mode .team-member.moderator {
    border-color: #555;
}

body.dark-mode .team-member.builder {
    border-color: #444;
}

body.dark-mode .admin-role {
    background: linear-gradient(to right, #333, #555);
}

body.dark-mode .mod-role {
    background: linear-gradient(to right, #555, #666);
}

body.dark-mode .builder-role {
    background: linear-gradient(to right, #444, #555);
}



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;
    }
}