/* ========== FOOTER STYLES ========== */
:root {
    --footer-bg: #0B1839;
    --footer-border: rgba(255, 255, 255, 0.15);
    --footer-border-light: rgba(255, 255, 255, 0.2);
    --footer-link-active: #00D7D0;
    --footer-link-blue: #013CFF;
    --footer-white: #FFFFFF;
    --footer-gray: rgba(255, 255, 255, 0.7);
    --footer-subscribe-bg: #0066B3;
    --footer-btn-fill-blue: #013CFF;
    --footer-btn-fill-turq: #00D7D0;
}

.footer {
    background-color: var(--footer-bg);
    width: 100%;
    margin-top: 20px;
}

.footer-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 50px 40px 30px;
}

/* Ряд с тремя колонками */
.footer-row {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

/* Левая колонка с рамкой */
.footer-nav-block {
    width: 280px;
    min-width: 280px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--footer-border-light);
    padding: 24px;
}

.footer-nav-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-nav-links li {
    margin-bottom: 12px;
    width: 100%;
}

.footer-nav-links li a {
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s;
    display: block;
    width: 100%;
    color: var(--footer-link-active);
}

.footer-nav-links li a:hover {
    opacity: 0.8;
    text-decoration: underline;
}

/* Кнопки в левой колонке */
.footer-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 25px;
}

.btn-footer {
    padding: 12px 24px;
    border-radius: 40px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
}

.btn-footer-participant {
    background-color: var(--footer-btn-fill-blue);
    color: var(--footer-btn-fill-turq);
}

.btn-footer-participant:hover {
    background-color: #0029b3;
    transform: scale(1.02);
}

.btn-footer-ticket {
    background-color: var(--footer-btn-fill-turq);
    color: #0A194A;
}

.btn-footer-ticket:hover {
    background-color: #00c4be;
    transform: scale(1.02);
}

/* Центральная колонка */
.footer-center {
    flex: 0.7;
    min-width: 250px;
}

.footer-phones p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: var(--footer-white);
    margin-bottom: 15px;
}

.footer-phones p:last-child {
    margin-bottom: 0;
}

.footer-subscribe {
    margin-top: 30px;
}

.footer-subscribe p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 14px;
    color: var(--footer-white);
    margin-bottom: 12px;
}

.social-icon {
    display: inline-block;
    transition: transform 0.2s;
}

.social-icon:hover {
    transform: scale(1.05);
}

.social-icon img {
    width: 50px;
    height: 50px;
}

/* Правая колонка */
.footer-right {
    flex: 0.8;
    min-width: 280px;
    display: flex;
    flex-direction: column;
}

.footer-address p,
.footer-email p,
.footer-site p {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: var(--footer-white);
    line-height: 1.4;
    margin-bottom: 12px;
}

.footer-email a,
.footer-site a {
    color: var(--footer-white);
    text-decoration: none;
}

.footer-email a:hover,
.footer-site a:hover {
    opacity: 0.7;
    text-decoration: underline;
}

.footer-organizer-logo {
    margin-top: 20px;
}

.footer-organizer-logo img {
    max-height: 70px;
    width: auto;
}

/* Кнопка подписки */
.btn-subscribe {
    background-color: var(--footer-subscribe-bg);
    border: none;
    padding: 14px 32px;
    border-radius: 10px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: var(--footer-white);
    cursor: pointer;
    transition: all 0.2s;
    margin-top: 25px;
    align-self: flex-start;
}

.btn-subscribe:hover {
    background-color: #0052a3;
    transform: scale(1.02);
}

/* Нижняя часть */
.footer-bottom {
    margin-top: 40px;
}

.footer-line {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--footer-link-active), var(--footer-link-blue), transparent);
    margin-bottom: 20px;
}

.copyright {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: var(--footer-gray);
    text-align: center;
}

/* ========== АКТИВНЫЕ ССЫЛКИ ========== */
.footer-nav-links li a.active {
    opacity: 1 !important;
    text-decoration: underline !important;
    filter: brightness(1.1);
}

.footer-email a.active,
.footer-site a.active {
    color: var(--footer-link-active) !important;
    text-decoration: underline !important;
}

/* ========== АДАПТАЦИЯ ДЛЯ ПЛАНШЕТА ========== */
@media (max-width: 1024px) {
    .footer-container {
        padding: 40px 30px 30px;
    }

    .footer-phones p {
        font-size: 16px;
    }
    
    .footer-row {
        gap: 30px;
    }
    
    .footer-nav-block {
        width: 260px;
        min-width: 260px;
    }
}

/* ========== АДАПТАЦИЯ ДЛЯ МОБИЛКИ ========== */
@media (max-width: 768px) {
    .footer-container {
        padding: 30px 20px 25px;
    }
    
    .footer-row {
        flex-direction: column;
        gap: 25px;
    }
    
    /* Левая колонка */
    .footer-nav-block {
        width: 100%;
        min-width: auto;
        padding: 20px;
        order: 1;
    }
    
    .footer-nav-links {
        display: flex;
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .footer-nav-links li {
        width: calc(50% - 10px);
        margin-bottom: 0;
    }
    
    .footer-nav-links li a {
        font-size: 12px;
        padding: 8px 0;
    }
    
    .footer-buttons {
        flex-direction: row;
        margin-top: 20px;
        gap: 10px;
    }
    
    .btn-footer {
        flex: 1;
        text-align: center;
        padding: 10px 16px;
        font-size: 12px;
    }
    
    /* Центральная колонка */
    .footer-center {
        order: 2;
        min-width: auto;
        text-align: center;
    }
    
    .footer-phones p {
        font-size: 14px;
        margin-bottom: 10px;
    }
    
    .footer-subscribe {
        margin-top: 20px;
    }
    
    .footer-subscribe p {
        font-size: 12px;
    }
    
    .social-icon img {
        width: 40px;
        height: 40px;
    }
    
    /* Правая колонка */
    .footer-right {
        order: 3;
        min-width: auto;
        text-align: center;
    }
    
    .footer-address p,
    .footer-email p,
    .footer-site p {
        font-size: 12px;
        margin-bottom: 10px;
    }
    
    .footer-organizer-logo {
        margin-top: 15px;
        text-align: center;
    }
    
    .footer-organizer-logo img {
        max-height: 50px;
    }
    
    .btn-subscribe {
        width: 100%;
        text-align: center;
        align-self: stretch;
        padding: 12px 20px;
        font-size: 14px;
        margin-top: 20px;
    }
    
    /* Нижняя часть */
    .footer-bottom {
        margin-top: 30px;
    }
    
    .copyright {
        font-size: 11px;
    }
}

/* ========== АДАПТАЦИЯ ДЛЯ МАЛЕНЬКИХ ТЕЛЕФОНОВ ========== */
@media (max-width: 480px) {
    .footer-container {
        padding: 25px 15px 20px;
    }
    
    .footer-nav-block {
        padding: 15px;
    }
    
    .footer-nav-links {
        flex-direction: column;
        gap: 8px;
    }
    
    .footer-nav-links li {
        width: 100%;
    }
    
    .footer-nav-links li a {
        font-size: 11px;
        text-align: center;
    }
    
    .footer-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .btn-footer {
        width: 100%;
        padding: 10px;
        font-size: 11px;
    }
    
    .footer-phones p {
        font-size: 12px;
    }
    
    .footer-address p,
    .footer-email p,
    .footer-site p {
        font-size: 10px;
    }
    
    .btn-subscribe {
        padding: 10px 16px;
        font-size: 12px;
    }
    
    .copyright {
        font-size: 9px;
    }
}

/* ========== ДЕСКТОП (900px+) ========== */
@media (min-width: 769px) and (max-width: 900px) {
    .footer-row {
        gap: 25px;
    }
    
    .footer-nav-block {
        width: 240px;
        min-width: 240px;
    }
    
    .footer-nav-links li a {
        font-size: 12px;
    }
    
    .btn-footer {
        padding: 10px 16px;
        font-size: 12px;
    }
    
    .footer-phones p {
        font-size: 14px;
    }
    
    .footer-address p,
    .footer-email p,
    .footer-site p {
        font-size: 12px;
    }
}
/* ========== FOOTER BOTTOM ========== */
.footer-bottom {
    margin-top: 40px;
}

.footer-line {
    height: 1px;
    background: linear-gradient(90deg, transparent, #00D7D0, #013CFF, transparent);
    margin-bottom: 20px;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

.footer-policy-link {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-policy-link:hover {
    color: #00D7D0;
    text-decoration: underline;
}

/* Adaptation */
@media (max-width: 768px) {
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 8px;
        font-size: 12px;
    }
}