/* Základní styly */
body {
    font-family: 'Roboto', sans-serif;
    background-color: #f8f9fa;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

/* Karty */
.card {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border: none;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card-header {
    font-weight: bold;
    border-bottom: none;
}

/* Tabulka hráčů */
.table-leaderboard th {
    background-color: #343a40;
    color: white;
    border: none;
}

.table-leaderboard tr:nth-child(1) {
    background-color: #ffd700 !important;
    font-weight: bold;
}

.table-leaderboard tr:nth-child(2) {
    background-color: #c0c0c0 !important;
}

.table-leaderboard tr:nth-child(3) {
    background-color: #cd7f32 !important;
}

/* Karty hráčů */
.player-card {
    transition: all 0.3s;
    cursor: pointer;
}

.player-card:hover {
    transform: scale(1.05);
}

.player-card img {
    max-height: 120px;
    object-fit: contain;
}

/* Aktivní karty */
.active-card {
    border-left: 5px solid #dc3545;
    padding-left: 15px;
}

/* Stream container */
.stream-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
}

.stream-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Responzivní úpravy */
@media (max-width: 768px) {
    .card {
        margin-bottom: 20px;
    }
    
    .player-section {
        margin-bottom: 30px;
    }
    
    .player-card img {
        max-height: 80px;
    }
}

/* Lightbox pro karty */
.card-lightbox {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
}

.card-lightbox-content {
    margin: auto;
    display: block;
    max-width: 80%;
    max-height: 80%;
}

.card-lightbox-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}
/* Stream container */
.stream-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
}

.stream-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.card-footer .btn-group {
    margin: 0 auto;
}
