/* Базовые стили и сброс */

@font-face {
    font-family: 'Manrope';
    src: url('fonts/Manrope-VariableFont_wght.ttf') format('truetype');
    font-weight: 100 900;
    font-style: normal;
    font-display: swap;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
    background: linear-gradient(135deg, #27044e 0%, #0c0513 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: white;
}

/* Эффект жидкого стекла */
.glass-effect {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
}

/* Контейнер */
.glass-container {
    width: 100%;
    max-width: 1200px;
    position: relative;
}

/* Навигация */
.glass-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    margin-bottom: 40px;
    position: relative;
}

.glass-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.glass-nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.glass-nav a:hover {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

/* Переключатель языка */
.language-switcher {
    position: absolute;
    right: 20px;
    display: flex;
    gap: 10px;
}

.language-switcher button {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    padding: 5px 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.language-switcher button.active,
.language-switcher button:hover {
    background: rgba(255, 255, 255, 0.4);
}

/* Основной контент */
.glass-content {
    text-align: center;
    padding: 60px 40px;
    margin-bottom: 40px;
}

.glass-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.glass-content p {
    font-size: 1.5rem;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* Кнопка YouTube */
.glass-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 0, 0, 0.7);
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.glass-button:hover {
    background: rgba(255, 0, 0, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 0, 0, 0.3);
}

/* Иконки соцсетей */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.glass-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
}

.glass-icon:hover {
    transform: translateY(-5px) scale(1.1);
}

/* Адаптивность */
@media (max-width: 768px) {
    .glass-nav {
        flex-direction: column;
        gap: 18px;
    }
    
    .language-switcher {
        position: static;
        margin-top: 14px;
    }
    
    .glass-content h1 {
        font-size: 2rem;
    }
    
    .glass-content p {
        font-size: 1.2rem;
    }
    
    .glass-nav ul {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
}

/* Анимации */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.glass-content {
    animation: fadeIn 0.8s ease-out;
}

.glass-icon {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-icon:hover {
    transform: translateY(-5px) scale(1.1);
}

.glass-effect {
    /* Фолбэк для браузеров без поддержки backdrop-filter */
    background: rgba(255, 255, 255, 0.9);
}

@supports (backdrop-filter: blur(20px)) or (-webkit-backdrop-filter: blur(20px)) {
    .glass-effect {
        background: rgba(255, 255, 255, 0.15);
        backdrop-filter: blur(20px) saturate(180%);
        -webkit-backdrop-filter: blur(20px) saturate(180%);
    }
}

