/* Стили для страницы турнира */
.d-none {
    display: none !important;
}
/* Кастомная иконка для мессенджера Макс */
.social-item-max {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.max-logo-svg {
    width: 20px;
    height: 20px;
    color: white;
    transition: all 0.3s ease;
}

.social-item-max:hover .max-logo-svg {
    color: #ffd700;
    transform: scale(1.15);
}

.tournament-hero {
    min-height: 80vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    margin-top: 50px;
    padding: 20px 0;
}

.tournament-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 50, 0.7));
    z-index: 1;
}

.tournament-hero > * {
    position: relative;
    z-index: 2;
}

/* Логотипы организаторов */
.tournament-hero .organizers-logos {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    width: 100%;
    margin: 20px auto;
    padding: 0 20px;
    gap: 20px;
}

/*.tournament-hero .logo-left,*/
/*.tournament-hero .logo-right {*/
/*    width: 150px;*/
/*    height: 150px;*/
/*    background: rgba(255, 255, 255, 0.1);*/
/*    border-radius: 10px;*/
/*    padding: 15px;*/
/*    backdrop-filter: blur(10px);*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);*/
/*}*/

/*.tournament-hero .logo-left img,*/
/*.tournament-hero .logo-right img {*/
/*    max-width: 100%;*/
/*    max-height: 100%;*/
/*    object-fit: contain;*/
/*}*/

/* Слайдер партнеров */
.tournament-hero .partners-slider-container {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    overflow: hidden;
}

.tournament-hero .partners-slider {
    flex: 1;
    overflow: hidden;
}

.tournament-hero .partners-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 15px;
}

.tournament-hero .partner-slide {
    min-width: 120px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.tournament-hero .partner-slide img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.tournament-hero .slider-nav {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.tournament-hero .slider-nav:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* Закрепленные партнеры */
/*.tournament-hero .pinned-partners {*/
/*    display: flex;*/
/*    justify-content: space-between;*/
/*    max-width: 1400px;*/
/*    width: 100%;*/
/*    margin: 0 auto 20px;*/
/*    padding: 0 20px;*/
/*    gap: 20px;*/
/*}*/

/*.tournament-hero .pinned-partner-left, */
/*.tournament-hero .pinned-partner-right {*/
/*    width: 150px;*/
/*    height: 100px;*/
/*    background: rgba(255, 255, 255, 0.1);*/
/*    border-radius: 8px;*/
/*    padding: 10px;*/
/*    backdrop-filter: blur(10px);*/
/*    display: flex;*/
/*    align-items: center;*/
/*    justify-content: center;*/
/*}*/

/*.tournament-hero .pinned-partner-left img, */
/*.tournament-hero .pinned-partner-right img {*/
/*    max-width: 100%;*/
/*    max-height: 100%;*/
/*    object-fit: contain;*/
/*}*/

.hero-content {
    text-align: center;
    padding: 20px;
    margin: auto 0;
}

.page-title {
    color: white;
    font-size: 56px;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 3px 3px 20px rgba(0, 0, 0, 0.9);
    animation: fadeInUp 1s ease;
}

.page-subtitle {
    color: #ffd700;
    font-size: 24px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
    animation: fadeInUp 1.2s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Кнопка возврата */
.back-button {
    position: fixed;
    top: 70px;
    left: 20px;
    z-index: 999;
    background: rgba(255, 215, 0, 0.2);
    border: 2px solid #ffd700;
    color: white;
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.back-button:hover {
    background: rgba(255, 215, 0, 0.3);
    transform: translateX(-5px);
}

/* Контейнер */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Навигационная секция */
.navigation-section {
    background: #0a0a0a;
    padding: 40px 0;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
}

.navigation-buttons {
    display: grid;
    /*grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));*/
    grid-template-columns: repeat(2, 1fr);

    gap: 20px;
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
}

.navigation-buttons .nav-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 215, 0, 0.3);
    color: white;
    padding: 20px 30px;
    text-decoration: none;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.navigation-buttons .nav-btn i {
    font-size: 24px;
    color: #ffd700;
}

.navigation-buttons .nav-btn:hover {
    background: rgba(255, 215, 0, 0.2);
    border-color: #ffd700;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.3);
}

.navigation-buttons .nav-btn.active {
    background: rgba(255, 215, 0, 0.15);
    border-color: #ffd700;
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4);
}

/* Описание турнира */
.tournament-description {
    background: linear-gradient(to bottom, #1a1a1a, #0a0a0a);
    padding: 60px 0;
}

.description-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 40px;
    text-align: center;
    backdrop-filter: blur(10px);
}

.card-icon {
    font-size: 64px;
    color: #ffd700;
    margin-bottom: 20px;
}

.description-card h2 {
    color: white;
    font-size: 36px;
    margin-bottom: 25px;
}

.description-card p {
    color: #ccc;
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 15px;
}

/* Информационные карточки */
.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 60px;
}

.info-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 215, 0, 0.2);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.info-card:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: #ffd700;
    transform: translateY(-5px);
}

.info-card i {
    font-size: 48px;
    color: #ffd700;
    margin-bottom: 15px;
}

.info-card h3 {
    color: white;
    font-size: 20px;
    margin-bottom: 10px;
}

.info-card p {
    color: #ccc;
    font-size: 16px;
}

/* Расписание */
.schedule-section {
    margin-top: 60px;
}

.schedule-section h2 {
    color: white;
    font-size: 36px;
    text-align: center;
    margin-bottom: 40px;
}

.schedule-timeline {
    position: relative;
    padding-left: 40px;
}

.schedule-timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, #ffd700, rgba(255, 215, 0, 0.2));
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
    padding-left: 30px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -47px;
    top: 10px;
    width: 15px;
    height: 15px;
    background: #ffd700;
    border: 3px solid #1a1a1a;
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
}

.timeline-date {
    color: #ffd700;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.timeline-content {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: 10px;
    padding: 20px;
}

.timeline-content h3 {
    color: white;
    font-size: 22px;
    margin-bottom: 10px;
}

.timeline-content p {
    color: #ccc;
    font-size: 16px;
    line-height: 1.6;
}

/* Секция места проведения */
.location-section {
    background: #0a0a0a;
    padding: 60px 0;
}

.section-title {
    color: white;
    font-size: 42px;
    text-align: center;
    margin-bottom: 50px;
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 50px;
}

.location-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.location-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 215, 0, 0.2);
    border-radius: 15px;
    padding: 25px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: all 0.3s ease;
}

.location-card:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: #ffd700;
}

.location-card i {
    font-size: 36px;
    color: #ffd700;
}

.location-card h3 {
    color: white;
    font-size: 20px;
    margin: 0;
}

.location-card p {
    color: #ccc;
    font-size: 15px;
    margin: 0;
}

/* Карта */
.map-container {
    position: relative;
    height: 500px;
    border-radius: 15px;
    overflow: hidden;
    border: 2px solid rgba(255, 215, 0, 0.3);
}

#map {
    width: 100%;
    height: 100%;
}

.map-overlay {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 14px;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.map-overlay i {
    color: #ffd700;
    margin-right: 5px;
}

/* Блок регистрации */
.registration-block {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 215, 0, 0.05));
    border: 2px solid #ffd700;
    border-radius: 15px;
    padding: 40px;
    text-align: center;
}

.registration-block h3 {
    color: white;
    font-size: 32px;
    margin-bottom: 15px;
}

.registration-block p {
    color: #ccc;
    font-size: 18px;
    margin-bottom: 25px;
}

.register-btn {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    border: none;
    color: #000;
    padding: 15px 50px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 30px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.3);
}

.register-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.5);
}

.register-btn i {
    font-size: 20px;
}

/* Футер */
.tournament-footer {
    background: #000;
    padding: 30px 0;
    text-align: center;
}

.tournament-footer p {
    color: #666;
    font-size: 14px;
}

/* Мобильная адаптация */
@media (max-width: 1024px) {
    .location-content {
        grid-template-columns: 1fr;
    }

    .map-container {
        height: 400px;
    }

    .tournament-hero .organizers-logos {
        flex-direction: column;
    }

    .tournament-hero .partners-slider-container {
        width: 100%;
        max-width: 500px;
    }
}

@media (max-width: 768px) {
    .tournament-hero .logo-left,
    .tournament-hero .logo-right {
        width: 100px;
        height: 100px;
    }

    .page-title {
        font-size: 36px;
    }

    .page-subtitle {
        font-size: 18px;
    }

    .navigation-buttons {
        grid-template-columns: 1fr;
    }

    .navigation-buttons .nav-btn {
        padding: 15px 20px;
        font-size: 14px;
    }

    .description-card {
        padding: 25px;
    }

    .description-card h2 {
        font-size: 28px;
    }

    .description-card p {
        font-size: 16px;
    }

    .info-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .schedule-section h2 {
        font-size: 28px;
    }

    .section-title {
        font-size: 32px;
    }

    .location-info {
        gap: 15px;
    }

    .map-container {
        height: 300px;
    }

    .registration-block {
        padding: 25px;
    }

    .registration-block h3 {
        font-size: 24px;
    }

    .registration-block p {
        font-size: 16px;
    }

    .register-btn {
        padding: 12px 30px;
        font-size: 16px;
    }

    .back-button {
        top: 60px;
        padding: 10px 20px;
    }
}

@media (max-width: 480px) {
    .tournament-hero {
        min-height: 50vh;
    }

    .tournament-hero .pinned-partners {
        flex-direction: column;
        align-items: center;
    }

    .tournament-hero .partner-slide {
        min-width: 80px;
        height: 60px;
    }

    .page-title {
        font-size: 28px;
    }

    .page-subtitle {
        font-size: 16px;
    }

    .card-icon {
        font-size: 48px;
    }

    .description-card h2 {
        font-size: 24px;
    }

    .info-card {
        padding: 20px;
    }

    .schedule-timeline {
        padding-left: 30px;
    }

    .timeline-item {
        padding-left: 20px;
    }

    .timeline-content h3 {
        font-size: 18px;
    }

    .timeline-content p {
        font-size: 14px;
    }
}

/* Секция списка партнеров */
.partners-list-section {
    background: linear-gradient(to bottom, #0a0a0a, #1a1a1a);
    padding: 80px 0;
    min-height: 100vh;
}

.partners-list-section .section-title {
    color: white;
    font-size: 42px;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 20px;
}

.partners-list-section .section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #ffd700, transparent);
}

/* Сетка партнеров */
.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

/* Карточка партнера */
.partner-card {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 215, 0, 0.2);
    border-radius: 15px;
    padding: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.4s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.partner-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #ffd700, #ffed4e, #ffd700);
    border-radius: 15px;
    opacity: 0;
    z-index: -1;
    transition: opacity 0.4s ease;
}

.partner-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 215, 0, 0.1);
    border-color: #ffd700;
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.3);
}

.partner-card:hover::before {
    opacity: 0.1;
}

/* Логотип партнера */
.partner-logo {
    width: 200px;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 10px;
    padding: 20px;
    transition: all 0.3s ease;
}

.partner-card:hover .partner-logo {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 1);
}

.partner-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Информация о партнере */
.partner-info {
    width: 100%;
}

.partner-name {
    color: white;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 15px;
    line-height: 1.3;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-description {
    color: #ccc;
    font-size: 15px;
    margin-bottom: 20px;
    line-height: 1.6;
    min-height: 48px;
}

/* Ссылка на сайт партнера */
.partner-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffd700;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 12px 30px;
    border: 2px solid #ffd700;
    border-radius: 25px;
    transition: all 0.3s ease;
    background: rgba(255, 215, 0, 0.1);
}

.partner-link:hover {
    background: #ffd700;
    color: #000;
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.4);
}

.partner-link.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.partner-link i {
    font-size: 14px;
}

/* Призыв к партнерству */
.partnership-cta {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 215, 0, 0.05));
    border: 2px solid #ffd700;
    border-radius: 20px;
    padding: 50px 40px;
    text-align: center;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.partnership-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.5;
    }
}

.partnership-cta > * {
    position: relative;
    z-index: 1;
}

.partnership-cta i {
    font-size: 64px;
    color: #ffd700;
    margin-bottom: 20px;
    display: block;
}

.partnership-cta h3 {
    color: white;
    font-size: 36px;
    margin-bottom: 15px;
    font-weight: bold;
}

.partnership-cta p {
    color: #ccc;
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-contacts {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ffd700;
    color: #000;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    padding: 15px 35px;
    border-radius: 30px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(255, 215, 0, 0.5);
    background: #ffed4e;
}

.cta-button i {
    font-size: 18px;
}

/* Мобильная адаптация для партнеров */
@media (max-width: 768px) {
    .partners-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .partner-card {
        padding: 25px;
    }

    .partner-logo {
        width: 150px;
        height: 120px;
        padding: 15px;
    }

    .partner-name {
        font-size: 20px;
        min-height: auto;
    }

    .partner-description {
        font-size: 14px;
        min-height: auto;
    }

    .partner-link {
        font-size: 14px;
        padding: 10px 25px;
    }

    .partners-list-section .section-title {
        font-size: 32px;
    }

    .partnership-cta {
        padding: 40px 25px;
        margin-top: 60px;
    }

    .partnership-cta i {
        font-size: 48px;
    }

    .partnership-cta h3 {
        font-size: 28px;
    }

    .partnership-cta p {
        font-size: 16px;
    }

    .cta-contacts {
        flex-direction: column;
        align-items: stretch;
    }

    .cta-button {
        justify-content: center;
        width: 100%;
    }
}

@media (max-width: 480px) {
    .partner-logo {
        width: 120px;
        height: 100px;
    }

    .partner-name {
        font-size: 18px;
    }

    .partners-list-section .section-title {
        font-size: 26px;
    }

    .partnership-cta h3 {
        font-size: 24px;
    }

    .partnership-cta p {
        font-size: 14px;
    }
}

