body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    background: none; /* Убираем фон, так как он уже задан в index.html */
}

header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    z-index: 50;
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
}

.logo a {
    color: white !important; /* Гарантируем белый цвет для логотипа */
    text-decoration: none;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1.5rem;
}

.nav-links a {
    color: white !important; /* Гарантируем белый цвет текста ссылок */
    text-decoration: none;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.nav-links a:hover {
    color: #ff4b2b;
}

.nav-links a:hover i {
    animation: rotateIcon 0.5s ease;
}

.nav-links a::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -2rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 0.3rem;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nav-links a:hover::after {
    opacity: 1;
    visibility: visible;
}

/* Burger Menu */
.burger {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 100;
}

.burger .fa-bars,
.burger .fa-times {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.burger.active .fa-bars {
    opacity: 0;
    transform: rotate(90deg);
}

.burger.active .fa-times {
    opacity: 1;
    transform: rotate(0deg);
}

.burger .fa-times {
    opacity: 0;
    position: absolute;
    transform: rotate(-90deg);
}

footer {
    background: #000;
    padding: 2rem;
    text-align: center;
    margin-top: auto; /* Прижимает футер к низу */
    width: 100%; /* Футер занимает всю ширину */
    flex-shrink: 0; /* Предотвращает сжатие футера */
}

footer .social-links {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

footer .social-links a {
    color: white;
    transition: color 0.3s ease;
}

footer .social-links a:hover {
    color: #ff4b2b;
}

footer .social-links a:hover i {
    animation: rotateIcon 0.5s ease;
}

footer .social-links a::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: -2rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 0.3rem;
    font-size: 0.8rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

footer .social-links a:hover::after {
    opacity: 1;
    visibility: visible;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    padding: 1rem 2rem;
    border-radius: 0.5rem;
    max-width: 600px;
    text-align: center;
    z-index: 100;
    animation: slideUp 1s ease-out;
}

.cookie-consent p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.cookie-consent a {
    color: #ff4b2b;
    text-decoration: none;
}

.cookie-consent a:hover {
    text-decoration: underline;
}

.cookie-consent .btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

@keyframes rotateIcon {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes slideIn {
    from {
        transform: translateX(-100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        transform: translateX(-50%) translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

/* Responsive Design for Navigation */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.9);
        align-items: center;
        justify-content: center;
        gap: 2rem;
        animation: slideIn 0.5s ease-out;
    }

    .nav-links.active {
        display: flex;
    }

    .burger {
        display: block;
    }

    .cookie-consent {
        max-width: 90%;
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.2rem;
    }

    .nav-links a {
        font-size: 1.2rem;
    }
}