/* Общие стили */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body, html {
    height: 100%;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    color: #ffffff;
    overflow-x: hidden;
    background-color: #000;
}

/* Шапка */
.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    padding: 20px 30px;
    background: linear-gradient(to bottom, rgba(0,0,0,0.6), rgba(0,0,0,0));
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #fff;
    border-bottom: 2px solid #ffcc00;
    padding-bottom: 3px;
}

/* Видеофон */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

#background-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.45);
}

/* Лоадер */
.video-loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #0d0d0d;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    transition: opacity 0.5s ease;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    border-top-color: #ffcc00;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Основной контент */
.main-content {
    position: relative;
    z-index: 5;
    height: calc(100% - 120px); /* Место под футер */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.promo-text {
    max-width: 700px;
    margin-bottom: 40px;
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

.promo-text h1 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: 0.5px;
}

.promo-text p {
    font-size: 18px;
    line-height: 1.6;
    color: #e0e0e0;
}

/* Кнопка */
.book-button-container {
    display: flex;
    justify-content: center;
}

.book-button {
    display: inline-block;
    padding: 16px 45px;
    font-size: 18px;
    font-weight: bold;
    color: #000;
    background-color: #ffcc00;
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(255, 204, 0, 0.4);
    transition: all 0.3s ease;
    letter-spacing: 1px;
}

.book-button:hover {
    background-color: #ffe066;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 204, 0, 0.6);
}

/* Юридический футер */
.footer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 10;
    background: rgba(0, 0, 0, 0.85);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 15px;
}

.footer-container {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.disclaimer {
    font-size: 10px;
    line-height: 1.4;
    color: #888888;
    margin-bottom: 12px;
}

.footer-links {
    margin-bottom: 10px;
}

.footer-links a {
    color: #bbb;
    font-size: 11px;
    text-decoration: none;
    transition: color 0.2s ease;
    margin: 0 5px;
}

.footer-links a:hover {
    color: #ffcc00;
}

.separator {
    color: #444;
    font-size: 11px;
}

.copyright {
    font-size: 10px;
    color: #666;
}

/* Адаптивность */
@media (max-width: 768px) {
    .promo-text h1 {
        font-size: 30px;
    }
    .promo-text p {
        font-size: 15px;
    }
    .book-button {
        padding: 14px 35px;
        font-size: 16px;
    }
    .footer {
        position: relative; /* На мобилках пускаем в поток, чтобы не перекрывало кнопку */
        margin-top: 50px;
    }
    .main-content {
        height: auto;
        padding-top: 150px;
        padding-bottom: 50px;
    }
}