/* Общие стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
    background: #000;
}

/* Кнопка повторного просмотра видео */
.replay-video-btn {
    position: absolute;
    top: 70px;
    right: 30px;
    z-index: 100;
    transition: all 0.3s ease;
}

.replay-video-btn.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.video-replay-trigger {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 10px 20px;
    font-size: 14px;
    font-weight: 500;
    border-radius: 25px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.video-replay-trigger:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 215, 0, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
}

.video-replay-trigger i {
    font-size: 14px;
}

/* Видео приветствие */
.video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease;
}

.video-overlay.active {
    opacity: 1;
    visibility: visible;
}

.video-container {
    position: relative;
    width: 90%;
    max-width: 1200px;
    animation: videoAppear 1s ease;
}

@keyframes videoAppear {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.video-container video {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 10px 50px rgba(255, 255, 255, 0.2);
}

.video-controls {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    gap: 10px;
}

.control-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.control-btn.close-btn {
    background: rgba(255, 82, 82, 0.3);
    border-color: rgba(255, 82, 82, 0.6);
}

.control-btn.close-btn:hover {
    background: rgba(255, 82, 82, 0.5);
    border-color: rgba(255, 82, 82, 0.8);
}

/* Главная страница */
.main-page {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.main-page.visible {
    opacity: 1;
}

/* Полоска контактов */
.contacts-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.contacts-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.contact-item {
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    transition: color 0.3s ease;
}

.contact-item:hover {
    color: #ffd700;
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-item {
    color: white;
    font-size: 20px;
    transition: all 0.3s ease;
}

.social-item:hover {
    color: #ffd700;
    transform: translateY(-3px);
}

/* Кастомная иконка для мессенджера Макс */
.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);
}

.lang-switch {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.lang-switch:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Героическая секция */
.hero-section {
    min-height: 100vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    padding-top: 60px;
    display: flex;
    flex-direction: column;
}

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

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

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

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

.logo-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.logo-content img {
    max-width: 100%;
    max-height: 80%!important;
    object-fit: contain;
}
.pinned-partners a{
    text-decoration: none;
}
.logo-content p {
    color: white;
    font-size: 12px;
    margin-top: 8px;
    text-align: center;
    width: 100%;
}
/* Слайдер партнеров */
.partners-slider-container {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 10px;
    overflow: hidden;
}

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

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

.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);
}

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

.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);
}

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

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

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

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

/* Обратный отсчет */
.countdown-section {
    text-align: center;
    margin: -50px auto 10px;
    padding: 0 20px;
}

.countdown-title {
    color: white;
    font-size: 18px;
    margin-bottom: 15px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 215, 0, 0.5);
    border-radius: 8px;
    padding: 12px 20px;
    min-width: 90px;
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.countdown-value {
    display: block;
    font-size: 32px;
    font-weight: bold;
    color: #ffd700;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
}

.countdown-label {
    display: block;
    color: white;
    font-size: 11px;
    margin-top: 3px;
    text-transform: uppercase;
}

/* Навигационные кнопки */
.navigation-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    max-width: 1400px;
    width: 100%;
    margin: 15px auto 10px;
    padding: 0 20px;
}

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

.nav-btn i {
    font-size: 18px;
    color: #ffd700;
}

.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);
}

/* Футер */
.footer-text {
    text-align: center;
    padding: 15px 20px 20px;
    margin-top: auto;
}

.main-title {
    color: white;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 8px;
    text-shadow: 3px 3px 15px rgba(0, 0, 0, 0.9);
    line-height: 1.2;
}

.event-details {
    color: #ffd700;
    font-size: 16px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
    padding-bottom: 15px;
}

/* Мобильная адаптация */
@media (max-width: 1024px) {
    .organizers-logos {
        flex-direction: column;
        margin: 10px auto 5px;
    }
    
    .partners-slider-container {
        width: 100%;
        max-width: 500px;
    }
    
    .countdown-title {
        font-size: 16px;
    }
    
    .countdown-value {
        font-size: 28px;
    }
    
    .main-title {
        font-size: 24px;
    }
    
    .navigation-buttons {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
}

@media (max-width: 768px) {
    .contacts-content {
        justify-content: center;
        text-align: center;
    }
    
    .contact-item span {
        display: none;
    }
    
    .logo-left, .logo-right {
        width: 90px;
        height: 90px;
    }
    
    .navigation-buttons {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .countdown {
        gap: 10px;
    }
    
    .countdown-item {
        min-width: 70px;
        padding: 10px 15px;
    }
    
    .countdown-value {
        font-size: 24px;
    }
    
    .countdown-label {
        font-size: 10px;
    }
    
    .main-title {
        font-size: 20px;
    }
    
    .event-details {
        font-size: 14px;
    }
    
    .nav-btn {
        padding: 10px 15px;
        font-size: 12px;
    }
    
    .video-container {
        width: 95%;
    }
    
    .control-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .replay-video-btn {
        top: 65px;
        right: 20px;
    }
    
    .video-replay-trigger {
        padding: 6px 12px;
        font-size: 11px;
    }
    
    .countdown-section {
        margin: 10px auto 8px;
    }
    
    .navigation-buttons {
        margin: 10px auto 8px;
    }
    
    .footer-text {
        padding: 10px 20px 15px;
    }
}

@media (max-width: 480px) {
    .pinned-partners {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    
    .pinned-partner-left, .pinned-partner-right {
        width: 100px;
        height: 70px;
    }
    
    .countdown-title {
        font-size: 14px;
        margin-bottom: 10px;
    }
    
    .countdown {
        gap: 8px;
    }
    
    .countdown-item {
        min-width: 65px;
        padding: 8px 12px;
    }
    
    .countdown-value {
        font-size: 20px;
    }
    
    .countdown-label {
        font-size: 9px;
    }
    
    .partner-slide {
        min-width: 80px;
        height: 60px;
    }
    
    .replay-video-btn {
        top: 60px;
        right: 15px;
    }
    
    .video-replay-trigger {
        padding: 5px 10px;
        font-size: 10px;
    }
    
    .video-replay-trigger span {
        display: none;
    }
    
    .main-title {
        font-size: 18px;
    }
    
    .event-details {
        font-size: 12px;
    }
    
    .nav-btn {
        padding: 8px 12px;
        font-size: 11px;
    }
    
    .nav-btn i {
        font-size: 16px;
    }
}

