
:root {
    --primary: #6e45e2;
    --secondary: #88d3ce;
    --dark: #0f0f1a;
    --light: #ffffff;
    --neon: #00f0ff;
    --glass: rgba(255, 255, 255, 0.1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--dark);
    color: var(--light);
    overflow-x: hidden;
    line-height: 1.6;
}


.bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.particle {
    position: absolute;
    background: radial-gradient(circle, var(--neon), transparent 70%);
    opacity: 0.3;
    border-radius: 50%;
    animation: float 15s infinite linear;
}

.particle:nth-child(1) {
    width: 300px;
    height: 300px;
    top: 20%;
    left: 10%;
    animation-duration: 20s;
}

.particle:nth-child(2) {
    width: 200px;
    height: 200px;
    top: 60%;
    left: 70%;
    animation-duration: 15s;
    animation-delay: 2s;
}

.particle:nth-child(3) {
    width: 150px;
    height: 150px;
    top: 30%;
    left: 50%;
    animation-duration: 25s;
    animation-delay: 4s;
}

@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }
    50% {
        transform: translate(50px, 50px) rotate(180deg);
    }
    100% {
        transform: translate(0, 0) rotate(360deg);
    }
}


.glass-nav, .glass-card, .glass-section, .glass-footer {
    background: var(--glass);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.1);
}


.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
}

.nav-brand img {
    height: 40px;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.neon-link {
    color: var(--light);
    text-decoration: none;
    position: relative;
    padding: 0.5rem 0;
    font-weight: 500;
}

.neon-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--neon);
    transition: width 0.3s ease;
}

.neon-link:hover::after {
    width: 100%;
}

.join-btn {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.join-btn:hover {
    transform: translateY(-3px);
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(110, 69, 226, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(110, 69, 226, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(110, 69, 226, 0);
    }
}


.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 2rem;
    position: relative;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.glitch {
    font-size: 5rem;
    font-weight: 800;
    text-transform: uppercase;
    position: relative;
    color: white;
    letter-spacing: 3px;
    margin-bottom: 1rem;
}

.glitch::before, .glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    left: 2px;
    text-shadow: -2px 0 #ff00c1;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}

.glitch::after {
    left: -2px;
    text-shadow: -2px 0 #00fff9, 2px 2px #ff00c1;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim2 5s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% {
        clip: rect(31px, 9999px, 94px, 0);
    }
    20% {
        clip: rect(112px, 9999px, 76px, 0);
    }
    40% {
        clip: rect(75px, 9999px, 107px, 0);
    }
    60% {
        clip: rect(42px, 9999px, 130px, 0);
    }
    80% {
        clip: rect(84px, 9999px, 106px, 0);
    }
    100% {
        clip: rect(37px, 9999px, 115px, 0);
    }
}

@keyframes glitch-anim2 {
    0% {
        clip: rect(31px, 9999px, 94px, 0);
    }
    20% {
        clip: rect(112px, 9999px, 76px, 0);
    }
    40% {
        clip: rect(75px, 9999px, 107px, 0);
    }
    60% {
        clip: rect(42px, 9999px, 130px, 0);
    }
    80% {
        clip: rect(84px, 9999px, 106px, 0);
    }
    100% {
        clip: rect(37px, 9999px, 115px, 0);
    }
}

.subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.8;
}

.server-info {
    display: flex;
    gap: 1.5rem;
    margin-top: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.info-card {
    padding: 1.5rem;
    border-radius: 15px;
    min-width: 200px;
    text-align: center;
    transition: transform 0.3s ease;
}

.info-card:hover {
    transform: translateY(-10px);
}

.info-card i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--neon);
}

.info-card span {
    font-size: 1.8rem;
    font-weight: bold;
    display: block;
    margin: 0.5rem 0;
}

.copy-me {
    cursor: pointer;
    position: relative;
}

.copy-me::after {
    content: 'Копировать';
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--dark);
    padding: 0.3rem 0.6rem;
    border-radius: 5px;
    font-size: 0.8rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.copy-me:hover::after {
    opacity: 1;
}

.scroll-down {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 2rem;
    animation: bounce 2s infinite;
    cursor: pointer;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-20px) translateX(-50%);
    }
    60% {
        transform: translateY(-10px) translateX(-50%);
    }
}

.section {
    padding: 5rem 2rem;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.divider {
    width: 100px;
    height: 3px;
    background: linear-gradient(to right, var(--primary), var(--secondary));
    margin: 0 auto;
    border-radius: 3px;
}

.gradient-text {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.highlight {
    color: var(--neon);
    font-weight: bold;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--neon);
    margin-bottom: 1rem;
}

.dark-section {
    background: rgba(0, 0, 0, 0.3);
}

.stats-container {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
    margin-top: 3rem;
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 3.5rem;
    font-weight: bold;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.2rem;
    opacity: 0.8;
}


.join-container {
    display: flex;
    align-items: center;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.join-info {
    flex: 1;
}

.join-image {
    flex: 1;
}

.join-image img {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.steps {
    margin: 2rem 0;
    padding-left: 1.5rem;
}

.steps li {
    margin-bottom: 1rem;
    position: relative;
    list-style-type: none;
    padding-left: 2.5rem;
}
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.pulse {
    animation: pulse 0.5s ease;
    display: inline-block;
    color: var(--neon);
}
.steps li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.5rem;
    width: 15px;
    height: 15px;
    background: var(--neon);
    border-radius: 50%;
}

.discord-btn {
    background: #5865F2;
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.3s ease;
    margin-top: 1rem;
}

.discord-btn:hover {
    transform: translateY(-3px);
}


.glass-footer {
    padding: 3rem 2rem;
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer-logo img {
    height: 50px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--light);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--neon);
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
}

.footer-social a {
    color: var(--light);
    font-size: 1.5rem;
    transition: color 0.3s ease;
}

.footer-social a:hover {
    color: var(--neon);
}

.footer-copyright {
    margin-top: 2rem;
    opacity: 0.7;
    font-size: 0.9rem;
}


@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

    .glitch {
        font-size: 3rem;
    }

    .join-container {
        flex-direction: column;
    }

    .stats-container {
        gap: 1.5rem;
    }

    .stat-value {
        font-size: 2.5rem;
    }
}

@media (min-width: 769px) {
    .menu-toggle {
        display: none;
    }
}