/* Подменю */
.submenu {
    display: flex;
    justify-content: center;
    gap: 60px; /* Просторнее, чтобы избежать мисскликов */
    background: #4A4A4A; /* Светлее основного меню */
    padding: 12px 0;
    margin-bottom: 5px;
    border-radius: 8px;
}

/* Стили ссылок */
.submenu-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: white;
    font-size: 16px;
    transition: color 0.3s ease, transform 0.2s ease;
}

/* Иконки */
.submenu-item i {
    font-size: 22px;
    margin-bottom: 4px;
}

/* Эффект при наведении */
.submenu-item:hover {
    color: #F4860B; /* Оранжевый цвет при наведении */
    transform: scale(1.1); /* Легкое увеличение при наведении */
}

/*  Стиль для активного пункта меню */
.submenu-item.active {
    color: #F4860B; /* Оранжевый цвет текста */
    font-weight: bold;
    position: relative;
}

/* Подчеркивание или индикатор под активным пунктом */
.submenu-item.active::after {
    content: "";
    width: 50%;
    height: 3px;
    background: #F4860B;
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 3px;
}

/*  Адаптивность */
@media (max-width: 768px) {
    .submenu {
        gap: 25px;
        padding: 10px 0;
    }

    .submenu-item {
        font-size: 12px;
    }

    .submenu-item i {
        font-size: 18px;
    }
}





.tournament-list {
    display: flex;
    flex-direction: column;
    gap: 10px; /* Отступы между турнирами */
    max-width: 996px;
    margin: 15px auto;
}

.tournament-item {
    display: flex;
    align-items: center;
    background: #f8f8f8;
    padding: 10px;
    border-radius: 8px;
    transition: background 0.3s;
}

.tournament-item:hover {
    background: #ececec; /* Легкое затемнение при наведении */
}

.tournament-item img {
    width: 50px;
    height: 50px;
    margin-right: 15px;
}

.tournament-info h3 {
    font-size: 18px;
    margin: 0;
    color: #333;
}

.tournament-links {
    display: flex;
    gap: 20px; /* Отступы между ссылками */
    margin-top: 5px;
}

.tournament-links a {
    text-decoration: none;
    color: #F4860B;
    font-weight: bold;
    padding: 4px 8px;
    background: rgba(244, 134, 11, 0.1);
    border-radius: 5px;
    transition: background 0.3s ease, transform 0.2s ease;
}

.tournament-links a:hover {
    background: #F4860B;
    color: white;
    transform: scale(1.05);
}



/*  Адаптация для мобильных */
@media (max-width: 768px) {
    .tournament-item {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }

    .tournament-item img {
        margin: 0 0 10px 0;
    }

    .tournament-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    .tournament-links a {
        font-size: 14px;
        padding: 6px;
    }
}
