/* ===== СБРОС ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== ФОНОВОЕ ВИДЕО ===== */
.background-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    background: #000;
}

/* ===== ТЕЛО СТРАНИЦЫ ===== */
body {
    min-height: 100vh;
    font-family: 'Arial', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
}

/* ===== КОНТЕЙНЕР (без белого фона) ===== */
.container {
    width: 100%;
    max-width: 1400px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 20px;
    position: relative;
}

/* ===== НАЗВАНИЕ (вернули) ===== */
.logo-title {
    margin-top: 30px;
    margin-bottom: 70px;
}

.logo-title img {
    max-width: 700px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 15px rgba(204, 0, 0, 0.6))
            drop-shadow(0 0 30px rgba(255, 0, 0, 0.3));
}

/* ===== НАВИГАЦИЯ ===== */
.nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    margin-bottom: auto;
    padding: 0 20px;
}

/* ===== КНОПКА ===== */
.nav-btn {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 22px 40px;
    background: linear-gradient(160deg, #2a2a2a 0%, #111111 50%, #0a0a0a 100%);
    border: 2px solid #3a3a3a;
    border-radius: 6px;
    text-decoration: none;
    color: #ffffff;
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 3px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    min-width: 240px;
    justify-content: center;
    box-shadow:
        0 4px 15px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

/* Красный уголок справа вверху */
.nav-btn::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 28px 28px 0;
    border-color: transparent #cc0000 transparent transparent;
    transition: all 0.35s ease;
    z-index: 2;
}

/* Красная подсветка снизу */
.nav-btn::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        #ff0000 20%,
        #ff4444 50%,
        #ff0000 80%,
        transparent 100%
    );
    opacity: 0.4;
    transition: all 0.35s ease;
    z-index: 2;
}

/* Иконки */
.nav-btn .icon {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.nav-btn .icon svg {
    width: 38px;
    height: 38px;
    fill: #cc0000;
    transition: all 0.35s ease;
}

/* ===== НАВЕДЕНИЕ ===== */
.nav-btn:hover {
    transform: scale(1.08);
    border-color: #cc0000;
    box-shadow:
        0 0 25px rgba(255, 0, 0, 0.35),
        0 8px 30px rgba(0, 0, 0, 0.7),
        inset 0 0 15px rgba(255, 0, 0, 0.05);
}

.nav-btn:hover::before {
    border-color: transparent #ff0000 transparent transparent;
}

.nav-btn:hover::after {
    height: 4px;
    opacity: 1;
    box-shadow:
        0 0 10px rgba(255, 0, 0, 0.8),
        0 0 20px rgba(255, 0, 0, 0.4);
}

.nav-btn:hover .icon svg {
    fill: #ff3333;
    filter: drop-shadow(0 0 6px rgba(255, 0, 0, 0.9));
}

/* ===== НАЖАТИЕ ===== */
.nav-btn:active {
    transform: scale(1.04);
    box-shadow:
        0 0 35px rgba(255, 0, 0, 0.6),
        0 4px 20px rgba(0, 0, 0, 0.8),
        inset 0 0 20px rgba(255, 0, 0, 0.1);
}

.nav-btn:active::after {
    height: 5px;
    opacity: 1;
    box-shadow:
        0 0 15px rgba(255, 0, 0, 1),
        0 0 30px rgba(255, 0, 0, 0.6);
}

/* ===== АДАПТИВНОСТЬ ===== */
@media (max-width: 1024px) {
    .nav {
        gap: 20px;
    }

    .nav-btn {
        min-width: 200px;
        padding: 18px 30px;
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .nav {
        flex-direction: column;
        align-items: center;
        gap: 18px;
    }

    .nav-btn {
        min-width: 280px;
    }

    .logo-title img {
        max-width: 400px;
    }
}

/* ===== ССЫЛКА-КАРТОЧКА В СЕТКЕ ФАКТОВ ===== */
a.fact-card.fact-link,
a.fact-card.fact-link * {
    text-decoration: none !important;
    color: inherit;
}

a.fact-card.fact-link {
    cursor: pointer;
    transition: all 0.3s ease;
}

a.fact-card.fact-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(204, 0, 0, 0.25);
    border-top-color: #ff0000;
}

a.fact-card.fact-link .year {
    color: #cc0000;
}

a.fact-card.fact-link .fact-title {
    color: #111;
}

a.fact-card.fact-link .fact-desc {
    color: #666;
}