/* Основні налаштування */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&display=swap');

body {
    font-family: 'Montserrat', sans-serif;
    background: linear-gradient(135deg, #1f1c2c, #625b8c);
    color: #e0e0e0;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.menu {
    display: flex;
    background: rgba(31, 28, 44, 0.85);
    justify-content: space-between;
    align-items: center;
    padding: 12px 30px;
    backdrop-filter: blur(8px);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 2px 4px 10px rgba(255, 111, 145, 0.4); /* імітація розмитої межі */
}

.menuph {
    display: none;
    background: rgba(31, 28, 44, 0.85);
    justify-content: space-between;
    align-items: center;
    padding: 5px 20px;
    backdrop-filter: blur(8px);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 10px rgba(255, 111, 145, 0.4); /* імітація розмитої межі */
}


.menu-list {
    list-style: none;
    display: flex;
    gap: 28px;
    margin: 0;
    padding: 0;
}

.menu-list li a {
    color: #f0f0f0;
    font-weight: 600;
    font-size: 17px;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 8px;
    transition: background-color 0.25s ease, color 0.25s ease;
}

.menu-list li a:hover,
.menu-list li a.active {
    background-color: #ff6f91;
    color: #fff;
}

/* Логотип */
.logo {
    height: 50px;
    cursor: pointer;
    
    transition: transform 0.3s ease;
}
.ranking{
        margin-left: 5.5px;
}
.logo:hover {
    transform: scale(1.1);
}

/* Контейнер контенту */
.wrapper {
    display: flex;
    flex-direction: row;
    width: 100%;
    min-height: 100vh;
    padding: 0;
    margin: 0;
}

/* Sidebar */
.sidebar {
    position: fixed;
    top: 60px;
    bottom: 0;
    left: 0;
    width: 200px;

    overflow-y: auto;
    flex-shrink: 0;

    scrollbar-width: none;
    z-index: 10;

    box-shadow: 4px 0 10px rgba(255, 111, 145, 0.4);
}

.map-status-container {
    display: flex;
    flex-direction: row;
    gap: 12px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap; /* перенос, якщо багато мап */
}

.map-status {
    font-size: 14px;
    font-weight: 500;
}
.team-score {
  font-weight: bold;
  min-width: 50px;
  text-align: right;
}



.sidebar h2 {
    color: #ff6f91;
    font-weight: 700;
    margin-bottom: 18px;
    text-decoration: none;
    text-align: center;
    letter-spacing: 1.1px;
}

.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}



#team-list li {
    display: flex;
    align-items: center;
   
    cursor: pointer;
    transition: color 0.3s ease;
    color: #dcdcdc;
    font-weight: 500;
    font-size: 15px;
    border-radius: 8px;
    padding: 6px 10px;
    text-decoration: none;
    border-bottom: none;
}

#team-list li:hover {
    color: #ff6f91;
    background-color: rgba(255, 111, 145, 0.15);
}

#team-list img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    border-radius: 6px;
    filter: drop-shadow(0 0 2px #ff6f91);
}

/* Основний контент */
.content {
    margin-left: 200px;
    width: calc(100% - 200px);
    padding: 20px;
}

.results-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    width: 100%;
}

/* Заголовок */
.content h1 {
    font-size: 2.8rem;
    font-weight: 700;
    color: #ff6f91;
    text-align: center;
    margin-bottom: 30px;
    text-shadow: 0 0 10px #ff6f91aa;
}

/* Карточка матчу */
.match-card {
    background: linear-gradient(145deg, #2b2638, #3a314b);
    border-radius: 15px;
    box-shadow: 0 3px 10px rgba(255, 111, 145, 0.2);
    padding: 20px;
    margin-top: 20px;
    width: 200px;
    height: 320px;
    display: flex;
    flex: 1 1 300px;
    max-width: 300px;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.match-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px rgba(255, 111, 145, 0.4);
}

/* Команди */
.team {
    display: flex;
    align-items: center;
    gap: 15px;
}

.team img.logo {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    
    object-fit: contain;
  
    transition: transform 0.3s ease;
}

.team p, .team-name {
    color: #eee;
    font-size: 17px;
    font-weight: 600;
}

/* 🔻 Важливо: прибрано підкреслення та рамки 🔻 */
.team-name,
.team p,
#team-list li,
#team-list li a {
    text-decoration: none !important;
    border-bottom: none !important;
}
/* 🔺 --------------------------- 🔺 */

.team:hover img.logo {
    
    transform: scale(1.1);
}

/* Проти (VS) */
.vs {
    text-align: center;
    font-weight: 800;
    font-size: 24px;
    color: #ff6f91;
    margin: 15px 0 10px 0;
    letter-spacing: 4px;
    text-shadow: 0 0 12px #ff6f91bb;
}

/* Рахунок */
.team-score{
    position: absolute;
    right: 15px;
    
   
    font-weight: 800;
    font-size: 22px;
  color: #ff6f91;
    text-shadow: 0 0 8px #ff6f91cc;
}

.round-score{
    color: rgb(168, 161, 161);
    font-size: 18px;
    text-shadow: 0 0 8px #ff6f91cc;
}
/* LIVE бейдж */
.live-badge {
  position: absolute;
    top: px;
    bottom: 2px;
    right: 140px;
    background: #ff6f91;
    color: white;
    padding: 2px 10px;
    font-weight: 700;
    border-radius: 12px;
    font-size: 15px;
    letter-spacing: 0.6px;
    box-shadow: 0 0 12px #ff6f91bb;
}

/* Деталі матчу */
.details {
    text-align: center;
    color: #bbb;
    font-size: 14px;
    margin-top: 8px;
    letter-spacing: 0.5px;
}

/* Логотип турніру */
.tournament-logo {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 8px;
}

.tournament-logo img.logo {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 10px;
  
}

.tournament-logo h3 {
    color: #eee;
    font-weight: 700;
    font-size: 19px;
    letter-spacing: 0.8px;
}

/* Дата гри */
.game-date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ff6f91;
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 15px;
    box-shadow: 0 0 12px #ff6f91bb;
}

.game-date .icon {
    font-size: 18px;
}

/* Інформація LIVE */
.live-info {
    background: #ff6f91;
    color: white;
    text-align: center;
    padding: 8px 15px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 16px;
    margin-top: 10px;
    box-shadow: 0 0 12px #ff6f91bb;
}

/* Список раундів */


/* Footer */
.footer {
    background: rgba(31, 28, 44, 0.85);
    border-top: 2px solid #ff6f91;
    padding: 20px 0;
    text-align: center;
    color: #ddd;
    font-weight: 500;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.footer-content nav ul {
    list-style: none;
    padding: 0;
    margin: 10px 0 0 0;
}

.footer-content nav ul li {
    display: inline-block;
    margin: 0 20px;
}

.footer-content nav ul li a {
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-content nav ul li a:hover {
    color: #ff6f91;
}

.footer-logo {
    height: 22px;
    vertical-align: middle;
    margin-left: 8px;
    filter: drop-shadow(0 0 5px #ff6f91);
}

/* Адаптивність */
@media (max-width: 992px) {
    .wrapper {
        width: 90%;
        flex-direction: column;
        padding: 20px;
    }

    .menu {
        display: none;
    }

    .menuph {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .sidebar {
        display: none;
    }

    .content {
        padding: 0px;
        margin-left: 0px;
        margin-right: 10px;
        width: 100%
    }

    .match-card {
        width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .menu {
        display: none;
    }

    .menuph {
        display: flex;
        flex-direction: column;
        gap: 12px;
    }

    .sidebar {
        display: none;
    }

    .logo {
        height: 40px;
    }

    .team img.logo {
        width: 30px;

        height: 50px;
    }

    .match-card {
        padding: 18px;
        padding-top: 2px;
                height: 200px;
    }
    .tournament-logo img.logo {
        width: 25px;
    }
    .tournament-logo h3 {
        font-size: 14px;
    }
    .vs{margin: 0;}
    .details{
                text-align: right;
              
    }
    .details p{
          margin-top: -30%;
    }
}
