/* CSS pro stránku oceneni.php - Ocenění hráčů */

/* Styly pro veřejnou stránku trofejí - soupiska styl */
.trophies-wrapper {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.season-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(15, 23, 42, 0.08);
    width: 100%;
}

.season-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.season-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 16px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08);
    width: 100%;
    box-sizing: border-box;
}

.season-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.season-icon {
    font-size: 1.75rem;
    filter: none;
    opacity: 0.95;
}

.season-count {
    background: rgba(47, 107, 31, 0.08);
    color: #14532d;
    padding: 0.5rem 1rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(47, 107, 31, 0.22);
    box-shadow: none;
}

.trophy-player {
    font-size: 1rem;
    font-weight: 600;
    color: #14532d;
    margin: 0.5rem 0;
    text-align: center;
    background: rgba(47, 107, 31, 0.08);
    padding: 0.4rem 0.8rem;
    border-radius: 12px;
    display: inline-block;
    width: 100%;
    box-sizing: border-box;
    border: 1px solid rgba(47, 107, 31, 0.18);
}

/* Grid pro trofeje - na celou šířku */
.trophies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
    width: 100%;
}

/* Zmenšené karty trofejí pro veřejnou stránku */
.trophy-card {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: none;
    border-radius: 18px;
    border: 1px solid rgba(15, 23, 42, 0.08);
    overflow: hidden;
    box-shadow: 0 12px 34px rgba(15, 23, 42, 0.08);
    transition: all 0.25s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    max-width: 200px; /* Zmenšeno o 50% */
    margin: 0 auto;
}

.trophy-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 55px rgba(15, 23, 42, 0.12);
    border-color: rgba(47, 107, 31, 0.18);
}

.trophy-image-container {
    width: 100%;
    height: 100px; /* Zmenšeno o 50% */
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.trophy-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 0;
}

.trophy-placeholder-icon {
    font-size: 2rem; /* Zmenšeno o 50% */
    color: white;
    opacity: 0.8;
    filter: none;
}

.trophy-info {
    padding: 1rem; /* Zmenšeno o 50% */
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem; /* Zmenšeno o 50% */
}

.trophy-name {
    font-size: 1rem; /* Zmenšeno o 50% */
    font-weight: 700;
    color: #2d3748;
    margin: 0;
    line-height: 1.3;
    text-align: center;
}

.trophy-season {
    font-size: 0.8rem; /* Zmenšeno o 50% */
    color: #14532d;
    font-weight: 600;
    text-align: center;
    background: rgba(47, 107, 31, 0.08);
    padding: 0.4rem 0.8rem; /* Zmenšeno o 50% */
    border-radius: 16px;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.trophy-description {
    font-size: 0.8rem; /* Zmenšeno o 50% */
    color: #64748b;
    line-height: 1.4;
    margin: 0;
    text-align: center;
    flex: 1;
}

.trophy-date {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem; /* Zmenšeno o 50% */
    font-size: 0.75rem; /* Zmenšeno o 50% */
    color: #718096;
    margin-top: auto;
    padding-top: 0.5rem; /* Zmenšeno o 50% */
    border-top: 1px solid rgba(15, 23, 42, 0.08);
}

.trophy-date-icon {
    font-size: 0.9rem; /* Zmenšeno o 50% */
}

/* Responsive design pro veřejnou stránku */
@media (max-width: 1200px) {
    .trophies-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
        gap: 0.75rem;
    }
}

@media (max-width: 768px) {
    .season-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .season-title {
        font-size: 1.25rem;
    }
    
    .trophies-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
        gap: 0.75rem;
    }
    
    .trophy-card {
        max-width: 180px;
    }
    
    .trophy-image-container {
        height: 80px;
    }
    
    .trophy-info {
        padding: 0.75rem;
    }
    
    .trophy-name {
        font-size: 0.9rem;
    }
    
    .trophy-player {
        font-size: 0.8rem;
        padding: 0.3rem 0.6rem;
    }
}

@media (max-width: 480px) {
    .trophies-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
        gap: 0.5rem;
    }
    
    .trophy-card {
        max-width: 160px;
    }
    
    .trophy-image-container {
        height: 70px;
    }
    
    .trophy-info {
        padding: 0.5rem;
    }
    
    .trophy-name {
        font-size: 0.8rem;
    }
    
    .trophy-player {
        font-size: 0.75rem;
        padding: 0.25rem 0.5rem;
    }
}

/* Modal pro zvětšení obrázků trofejí */
.trophy-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(2, 6, 23, 0.75);
    backdrop-filter: none;
    animation: fadeIn 0.3s ease;
}

.trophy-modal.show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.trophy-modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    background: rgba(255, 255, 255, 0.92);
    border-radius: 18px;
    border: 1px solid rgba(15, 23, 42, 0.10);
    box-shadow: 0 40px 120px rgba(15, 23, 42, 0.25);
    overflow: hidden;
    animation: scaleIn 0.3s ease;
}

.trophy-modal-image {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
    display: block;
}

.trophy-modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    color: rgba(15, 23, 42, 0.85);
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.85);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10001;
}

.trophy-modal-close:hover {
    background: rgba(47, 107, 31, 0.10);
    transform: scale(1.05);
}

.trophy-image-container {
    cursor: pointer;
    transition: transform 0.2s ease;
}

.trophy-image-container:hover {
    transform: scale(1.05);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from { 
        opacity: 0;
        transform: scale(0.8);
    }
    to { 
        opacity: 1;
        transform: scale(1);
    }
}

/* Responsive design pro modal */
@media (max-width: 768px) {
    .trophy-modal-content {
        max-width: 95vw;
        max-height: 95vh;
    }
    
    .trophy-modal-image {
        max-height: 70vh;
    }
    
    .trophy-modal-close {
        top: 10px;
        right: 15px;
        font-size: 1.5rem;
        width: 35px;
        height: 35px;
    }
}
