/* Общие сбросы стилей */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    scroll-behavior: smooth;
}

body {
    background-color: #0a0512; /* Очень темный фиолетовый */
    color: #f1ebfa;
    overflow-x: hidden;
    position: relative;
}

/* Канвас для частиц */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* Эффект матового стекла (Glassmorphism) */
.glass {
    background: rgba(25, 15, 40, 0.45);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(147, 51, 234, 0.2);
    border-radius: 16px;
    transition: all 0.3s ease;
}

/* Навигация */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 8%;
    background: rgba(10, 5, 18, 0.75);
    backdrop-filter: blur(10px);
    z-index: 100;
    border-bottom: 1px solid rgba(147, 51, 234, 0.1);
}

.logo {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 1px;
}

.logo span {
    color: #a855f7;
}

.navbar nav a {
    color: #c084fc;
    text-decoration: none;
    margin-left: 30px;
    font-weight: 500;
    transition: color 0.3s;
}

.navbar nav a:hover {
    color: #e9d5ff;
}

/* Главный экран */
.hero-section {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.highlight {
    color: #a855f7;
    text-shadow: 0 0 20px rgba(168, 85, 247, 0.5);
}

.hero-content p {
    font-size: 1.2rem;
    color: #cbd5e1;
    margin-bottom: 40px;
    max-width: 600px;
}

/* Кнопки общего стиля */
.btn {
    display: inline-block;
    padding: 12px 30px;
    background: #a855f7;
    color: #fff;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.4);
    transition: transform 0.2s, background 0.3s;
}

.btn:hover {
    background: #9333ea;
    transform: translateY(-2px);
}

/* Подвал / Секция контактов */
.footer {
    padding: 60px 8% 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* Прижимаем всё содержимое к правому краю */
    border-top: 1px solid rgba(147, 51, 234, 0.1);
    background: rgba(7, 3, 13, 0.9);
}

/* Контейнер ссылок, выстроенный вертикально справа */
.links-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end; /* Текст внутри кнопок тоже выравниваем по правому краю */
    gap: 12px;
    margin-bottom: 30px;
    width: auto;
}

/* Текстовые кнопки без обводки */
.social-btn {
    display: block;
    color: #cbd5e1;
    text-decoration: none;
    font-size: 1.3rem;
    font-weight: 400;
    background: none;
    border: none;
    padding: 4px 0;
    transition: color 0.25s ease, text-shadow 0.25s ease;
    cursor: pointer;
}

/* Эффект наведения: цвет 255 0 255 (пурпурный неоновый) */
.social-btn:hover {
    color: rgb(255, 0, 255);
    text-shadow: 0 0 15px rgba(255, 0, 255, 0.6);
}

.copyright {
    font-size: 0.85rem;
    color: #64748b;
    margin-top: 10px;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 480px) {
    .navbar {
        flex-direction: column; /* На смартфонах меню встанет под длинным логотипом */
        gap: 10px;
        padding: 15px 20px;
    }
    .navbar nav a {
        margin: 0 10px; /* Сужаем отступы между ссылками меню */
    }
    .logo {
        font-size: 18px; /* Чуть уменьшаем шрифт логотипа на узких экранах */
    }
    .hero-content h1 {
        font-size: 2.3rem;
    }
    .footer {
        align-items: center; /* На мобилках ссылки соцсетей выровняются по центру для удобства кликов */
    }
    .links-container {
        align-items: center;
    }
    .social-btn {
        font-size: 1.15rem;
    }
}
