/* Стили турнирной сетки плей-офф */
.bracket {
    display: grid;
    grid-auto-columns: 1fr;
    grid-auto-flow: column;
    gap: 4rem;
    justify-content: center;
    position: relative;
}

.round {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    min-height: 600px;
}

.round-title {
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    margin-bottom: 2rem;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.series {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    border-radius: 10px;
    padding: 1.2rem;
    margin: 1rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
}

.series:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.series .team {
    display: flex;
    align-items: center;
    margin: 0.8rem 0;
    padding: 1rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.2s ease;
}

.series .team.winner {
    background: linear-gradient(90deg, #e8f4fd, #cae6ff);
}

.team-logo {
    width: 50px;
    height: 50px;
	vertical-align: middle;
    margin-bottom: 5px;
}

.series::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -2rem;
    width: 2rem;
    height: 2px;
    background: linear-gradient(90deg, rgba(255,255,255,0.3), transparent);
}

.round:last-child .series::after {
    display: none;
}

/* Стили панели счета */
.score-container {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 10px 20px;
    background-color: rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 10;
}

.scroll-button {
    background-color: rgba(85, 85, 85, 0.8);
    border: 2px solid #fff;
    color: #fff;
    font-size: 1.5em;
    cursor: pointer;
    padding: 10px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
    border-radius: 8px;
    line-height: 1;
}

.scroll-button:hover {
    background-color: #ff6600;
    border-color: #ff6600;
    color: #fff;
}

.score-panel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    white-space: nowrap;
    scroll-behavior: smooth;
    flex-grow: 1;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.score-panel::-webkit-scrollbar {
    display: none;
}

.score-match {
    display: inline-flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(85, 85, 85, 0.5);
    padding: 10px;
    border-radius: 5px;
    min-width: 250px;
    flex-shrink: 0;
    gap: 10px;
}

.score-match .team {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.score-match .team img {
    width: 80px;
    height: 80px;
}

.match-score {
	margin-left: 30px;
	margin-right: 30px;
    background: linear-gradient(135deg, #ff6b6b, #ff4757);
    padding: 2px 12px;
    border-radius: 20px;
    font-weight: 700;
    color: white;
    box-shadow: 0 3px 8px rgba(255, 107, 107, 0.2);
	text-align: center;
    width: 100px; /* Фиксированная ширина для счета */
    margin: 0 auto;
    font-size: 1.5em;
}

.team-name {
    font-size: 1.2em;
    font-weight: bold;
    color: #fff;
    text-align: center;
}

.score {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.score span {
    font-size: 2em;
    font-weight: bold;
}

/* Стили новостей */
.news-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.latest-news {
    background-color: rgba(51, 51, 51, 0.8);
    padding: 20px;
    border-radius: 10px;
}

.latest-news-card {
    display: flex;
    flex-direction: column;
    background-color: #555;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.latest-news-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

.latest-news-info {
    padding: 20px;
}

.latest-news-info h3 {
    font-size: 2em;
    margin-bottom: 10px;
}

.latest-news-info p {
    font-size: 1.2em;
    margin-bottom: 20px;
}

.read-more {
    display: inline-block;
    padding: 10px 20px;
    background-color: #ff6600;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.read-more:hover {
    background-color: #e65c00;
}

.news-feed {
    background-color: rgba(51, 51, 51, 0.8);
    padding: 20px;
    border-radius: 10px;
}

.news-feed-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-item {
    background-color: #555;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.news-item img {
    width: 100%;
    max-height: 175px;
    object-fit: cover;
}

.news-item-info {
    padding: 20px;
    text-align: center;
}

.news-item-info h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
}

.group-letter {
	vertical-align: middle;
    display: inline-block;
    width: 36px;
    height: 36px;
    background: #4a90e2;
    border-radius: 50%;
	text-align: center;
    line-height: 36px;
    font-size: 1.4rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

/* Адаптивность */
@media (max-width: 768px) {
    .bracket {
        grid-auto-flow: row;
        gap: 2rem;
    }

    .round {
        min-height: auto;
        margin-bottom: 2rem;
    }

    .series::after {
        display: none;
    }

    .news-container {
        grid-template-columns: 1fr;
        gap: 15px;
        padding: 10px;
    }

    .latest-news {
        order: -1;
        margin: 0 auto;
        max-width: 90%;
    }

    .news-feed {
        display: flex;
        justify-content: center;
    }

    .news-feed-container {
        width: 100%;
        max-width: 500px;
    }

    .latest-news-card img {
        max-height: 200px;
    }

    .score-container {
        gap: 10px;
        padding: 10px 5px;
    }

    .scroll-button {
        width: 30px;
        height: 30px;
        font-size: 1.2em;
        padding: 5px;
    }

    .score-match {
        min-width: 220px;
        padding: 8px;
    }

    .score-match .team img {
        width: 60px;
        height: 60px;
    }

    .team-name {
        font-size: 1em;
    }

    .score span {
        font-size: 1.5em;
    }
}