.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 */
}

 .add-photo-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 230px;
    height: 170px;
    border-radius: 18px;
    background: linear-gradient(135deg, #181c24 60%, #222838 100%);
    opacity: 1;
    box-shadow: 0 6px 32px rgba(40,80,220,0.18);
    cursor: pointer;
    border: 3px solid #0053ff;
    transition: box-shadow 0.2s, border-color 0.2s, background 0.2s;
    position: relative;
    outline: 2px solid #4a5cff;
}
.add-photo-placeholder:hover {
    border-color: #ffaf00;
    background: linear-gradient(135deg, #dbe6ff 60%, #b3c6ff 100%);
    box-shadow: 0 0 0 6px #4a5cff55, 0 8px 40px #0053ff33;
}
.add-photo-placeholder:hover .plus-photo {
    color: #ffaf00;
    filter: brightness(1.3);
    text-shadow: 0 0 12px #ffaf0088;
}
.plus-photo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 4.2rem;
    color: #0053ff;
    font-weight: bold;
    user-select: none;
    text-shadow: 0 2px 12px #4a5cff44;
}
.add-photo-label {
    position: absolute;
    bottom: 10px;
    left: 0;
    width: 100%;
    text-align: center;
    font-size: 1.08rem;
    color: #22262a;
    font-weight: bold;
    letter-spacing: 1px;
    pointer-events: none;
    text-shadow: 0 1px 8px #22262a22;
}
/* Styl pro prázdnou fotku s pluskem */
.add-photo-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 220px;
    height: 160px;
    border-radius: 16px;
    background: rgba(40,40,60,0.10);
    box-shadow: 0 4px 24px rgba(40,40,60,0.12);
    cursor: pointer;
    margin: 0 0 0 0;
    border: 2px dashed #4a5cff;
    transition: box-shadow 0.2s, border-color 0.2s;
}
.add-photo-placeholder:hover .plus-photo {
    color: #0053ff;
    filter: brightness(1.2);
}
.plus-photo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    font-size: 3rem;
    color: #4a5cff;
    user-select: none;
}
.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); }
}
/* 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;
}
.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;
}
.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;
    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;
}
/* 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: 24px;
    margin-bottom: 32px;
    font-size: 2.2rem;
    font-weight: bold;
    letter-spacing: 1px;
}

/* Závěrečné upozornění */
.gallery-content {
    padding: 0 !important;
    background: none !important;
    border: none !important;
    box-shadow: none !important;
    margin-top: 48px;
}
.gallery-images {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 6px;
    place-items: center;
    justify-content: center;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

@media (max-width: 700px) {
    .gallery-images {
        grid-template-columns: repeat(2, 1fr);
        max-width: 450px;
    }
}

.gallery-images[data-count="2"] {
    max-width: 460px;
}
.gallery-images[data-count="3"] {
    max-width: 690px;
}
.gallery-images img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(40,40,60,0.12);
    cursor: pointer;
    border: none;
    transition: box-shadow 0.2s, border-color 0.2s;
    background: rgba(40,40,60,0.10);
    backdrop-filter: blur(3px);
    opacity: 1;
}
.gallery-images img:hover {
    box-shadow: 0 12px 40px rgba(40,80,220,0.22);
    outline: 3px solid #4a5cff;
    filter: brightness(1.08) drop-shadow(0 0 8px #4a5cff33);
    z-index: 2;
}
.player-photo {
    background: rgba(40,40,60,0.10) !important;
    backdrop-filter: blur(3px) !important;
}
.gallery-tab {
    padding: 10px 32px;
    font-size: 1.1rem;
    border-radius: 16px 16px 0 0;
    border: none;
    background: #4a5cff;
    color: #fff;
    box-shadow: 0 2px 12px rgba(40,40,60,0.08);
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}
.gallery-tab:not(.active):hover {
    background: #6a7cff;
    box-shadow: 0 4px 16px rgba(74,92,255,0.18);
    transform: scale(1.06);
    color: #fff;
    z-index: 2;
}
.gallery-tab.active {
    background: #fff;
    color: #4a5cff;
    box-shadow: 0 2px 12px rgba(40,40,60,0.12);
    font-weight: bold;
    z-index: 1;
}
.gallery-tab.active:hover {
    background: #fff;
    color: #4a5cff;
    box-shadow: 0 4px 16px rgba(74,92,255,0.10);
    transform: scale(1.04);
}
button, a, .zoomable, .gallery-tab {
    cursor: pointer;
}

/* Mobilní optimalizace */
@media (max-width: 768px) {
    .gallery-tabs {
        flex-direction: column;
        gap: 8px;
        padding: 0 10px;
    }

    .gallery-tab {
        border-radius: 8px;
        font-size: 1rem;
        padding: 10px 20px;
    }
    
    .gallery-content {
        padding: 20px 10px;
    }
    
    .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;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .gallery-images {
        grid-template-columns: 1fr;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    /* Prevent overlap by fixed logo/buttons on small screens */
    body {
        padding-top: 210px !important;
    }
    h1 {
        margin-top: 0 !important;
    }
    .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;
    }
    
    .gallery-tab {
        font-size: 0.9rem;
        padding: 8px 16px;
    }
    
    h1 {
        font-size: 1.8rem;
    }
    
    .gallery-images {
        max-width: 280px;
    }
}

/* === 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 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;
    }
}

/* === GALERIE STYLY === */
.image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.image-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    overflow: hidden;
}

.image-item:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 10px 30px rgba(0, 83, 255, 0.3);
    cursor: pointer;
}

.image-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

/* Modal pro zvětšené obrázky */
.image-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.modal-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.modal-content img {
    max-width: 90vw;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 0 50px rgba(255, 255, 255, 0.3);
    cursor: default;
    margin: auto;
    pointer-events: none; /* don't intercept taps meant for arrows/backdrop */
}

.modal-close {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    font-size: 28px;
    font-weight: bold;
    line-height: 1;
    cursor: pointer;
    color: #333;
    transition: all 0.3s ease;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: #fff;
    transform: scale(1.1);
}

.modal-prev, .modal-next {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    font-size: 32px;
    font-weight: normal;
    line-height: 60px;
    text-align: center;
    cursor: pointer;
    color: #333;
    transition: all 0.3s ease;
    z-index: 10002; /* above image and close button */
    user-select: none;
    font-family: 'Arial', sans-serif;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    pointer-events: auto; /* ensure taps are captured on mobile */
}

.modal-prev {
    left: 20px;
}

.modal-next {
    right: 20px;
}

.modal-prev:hover, .modal-next:hover {
    background: #fff;
    transform: translateY(-50%) scale(1.1);
}

.modal-counter {
    position: absolute;
    bottom: -50px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.9);
    padding: 8px 16px;
    border-radius: 20px;
    color: #333;
    font-weight: bold;
    font-size: 14px;
}

/* Mobilní optimalizace pro modal */
@media (max-width: 768px) {
    .modal-prev {
        left: 10px;
        width: 40px;
        height: 40px;
        font-size: 20px;
        line-height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .modal-next {
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 20px;
        line-height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .modal-close {
        top: 10px;
        right: 10px;
        width: 35px;
        height: 35px;
        font-size: 20px;
    }
    
    .modal-counter {
        bottom: 10px;
        font-size: 12px;
        padding: 6px 12px;
    }
    
    .modal-prev:hover, .modal-next:hover {
        transform: translateY(-50%) scale(1.05);
    }
}

/* Ještě menší mobily */
@media (max-width: 480px) {
    .modal-prev {
        left: 5px;
        width: 35px;
        height: 35px;
        font-size: 18px;
        line-height: 35px;
    }
    
    .modal-next {
        right: 5px;
        width: 35px;
        height: 35px;
        font-size: 18px;
        line-height: 35px;
    }
}

@media (max-width: 768px) {
    .image-grid {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
        gap: 15px;
        padding: 15px;
    }
    
    .image-item img {
        height: 160px;
    }
}

@media (max-width: 480px) {
    .image-grid {
        grid-template-columns: 1fr;
        gap: 12px;
        padding: 10px;
    }
    
    .image-item img {
        height: 140px;
    }
}



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;
    }
}