@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&display=swap');

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #121212;
    color: white;
    font-family: 'Orbitron', sans-serif;
    margin: 0 auto;
    padding: 0;
    text-align: center;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('https://www.transparenttextures.com/patterns/asfalt-light.png');
    opacity: 0.05;
    pointer-events: none;
}

.logo {
    font-size: 3em;
    font-weight: bold;
    text-transform: uppercase;
    position: relative;
    z-index: 2;
    margin-bottom: 10px;
}

#slogan {
    font-size: 1em;
    font-weight: bold;
    color: #556677; /* Цвет текста */
    text-transform: uppercase; /* Все буквы заглавные */
    letter-spacing: 2px; /* Расстояние между буквами */
    margin-top: 10px; /* Отступ сверху */
    text-shadow: 0 0 0px rgba(0, 188, 212, 0.8); /* Тень текста */
    animation: glow 2s infinite alternate; /* Анимация свечения */
    margin-bottom: 10px;
}

@keyframes glow {
    from {
        text-shadow: 0 0 0px rgba(0, 188, 212, 0.8);
    }
    to {
        text-shadow: 0 0 0px rgba(0, 188, 212, 1);
    }
}

@keyframes glitch {
    0% { text-shadow: 2px 2px 5px red, -2px -2px 5px blue; }
    20% { text-shadow: -2px -2px 5px green, 2px 2px 5px cyan; }
    40% { text-shadow: 3px 3px 5px magenta, -3px -3px 5px yellow; }
    60% { text-shadow: -3px -3px 5px red, 3px 3px 5px blue; }
    80% { text-shadow: 2px -2px 5px green, -2px 2px 5px cyan; }
    100% { text-shadow: 0px 0px 0px white; }
}

.glitch-effect {
    animation: glitch 0.1s steps(1, end) infinite alternate;
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
    opacity: 1;
    transform: translateY(-10px);
    animation: fadeIn 1s ease-in-out forwards 0.5s;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 1.2em;
    transition: transform 0.2s, text-shadow 0.2s;
}

.nav-links a:hover {
    transform: scale(1.1);
    text-shadow: 0px 0px 8px white;
}

.lang-switch {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 15px;
}

.lang-switch button {
    background: linear-gradient(145deg, #1c1c1c, #292929);
    color: white;
    border: 2px solid #444;
    padding: 10px 20px;
    cursor: pointer;
    font-size: 1em;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
    text-transform: uppercase;
    font-weight: bold;
    box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.3);
}

.lang-switch button:hover {
    background: linear-gradient(145deg, #292929, #1c1c1c);
    border-color: #666;
    transform: scale(1.1);
}

.lang-switch button:active {
    transform: scale(0.95);
    background: #111;
}

.section {
    padding: 50px 20px;
    max-width: 1200px;
    margin: 0 auto;
    background-color: #121212;
    width: 100%;
}

footer {
    background-color: black;
    color: #666;
    text-align: center;
    padding: 10px;
    font-size: 0.9em;
    width: 100%;
}

.ripple {
    position: absolute;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: scale(0);
    animation: rippleEffect 0.6s linear;
}

@keyframes rippleEffect {
    to {
        transform: scale(20);
        opacity: 0;
    }
}

/* Стили для контактной формы */
#contactForm {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 90%;
    width: 400px;
    margin: auto;
    padding: 30px;
    border-radius: 15px;
    background: rgba(18, 18, 18, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 1em;
    color: #00bcd4;
    font-weight: bold;
}

#contactForm input, #contactForm textarea {
    width: 100%;
    padding: 12px;
    font-size: 1em;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    background: #1c1c1c;
    color: white;
    outline: none;
    transition: 0.3s;
    font-family: 'Orbitron', sans-serif;
}

#contactForm input:focus, #contactForm textarea:focus {
    background: #222;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
    border-color: rgba(0, 255, 255, 0.5);
}

#contactForm textarea {
    height: 150px;
    resize: none;
}

#contactForm button {
    background: linear-gradient(45deg, #00bcd4, #004d40);
    border: none;
    padding: 12px;
    font-size: 1.1em;
    cursor: pointer;
    border-radius: 8px;
    color: white;
    text-transform: uppercase;
    font-weight: bold;
    transition: 0.3s;
    font-family: 'Orbitron', sans-serif;
    margin-top: 10px;
}

#contactForm button:hover {
    background: linear-gradient(45deg, #004d40, #00bcd4);
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
}

#responseMessage {
    text-align: center;
    color: #00bcd4;
    margin-top: 20px;
    display: none;
    font-size: 1em;
    font-family: 'Orbitron', sans-serif;
}

#particles-js {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: -1;
    pointer-events: none;
}

/* Шторка */
#sidebar {
    position: fixed;
    top: 0;
    left: -250px;
    width: 250px;
    height: 100%;
    background: rgba(18, 18, 18, 0.9);
    backdrop-filter: blur(10px);
    transition: left 0.3s ease-in-out;
    z-index: 1000;
    padding: 20px;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.5);
}

#sidebar.open {
    left: 0;
}

#menu-toggle {
    position: fixed;
    top: 20px;
    left: 20px;
    background: rgba(0, 255, 255, 0.2);
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 1em;
    cursor: pointer;
    border-radius: 5px;
    backdrop-filter: blur(5px);
    transition: 0.3s;
    font-family: 'Orbitron', sans-serif;
    z-index: 1001;
}

#menu-toggle:hover {
    background: rgba(0, 255, 255, 0.5);
    transform: scale(1.1);
}

#toggle-music {
    background: rgba(0, 255, 255, 0.2);
    color: white;
    border: none;
    padding: 10px 15px;
    font-size: 1em;
    cursor: pointer;
    border-radius: 5px;
    backdrop-filter: blur(5px);
    transition: 0.3s;
    font-family: 'Orbitron', sans-serif;
    width: 100%;
    margin-bottom: 20px;
}

#toggle-music:hover {
    background: rgba(0, 255, 255, 0.5);
    transform: scale(1.1);
}

/* Стили для кнопок социальных сетей */
.social-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.social-button {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(45deg, #00bcd4, #004d40);
    border: none;
    padding: 12px 20px;
    border-radius: 8px;
    color: white;
    text-decoration: none;
    font-size: 1.1em;
    font-family: 'Orbitron', sans-serif;
    text-transform: uppercase;
    font-weight: bold;
    transition: 0.3s;
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.social-button:hover {
    background: linear-gradient(45deg, #004d40, #00bcd4);
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
}

.social-button img {
    width: 24px;
    height: 24px;
}

.social-button span {
    flex-grow: 1;
    text-align: center;
}