/* Базовые стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: #fff;
    background: 
        radial-gradient(ellipse at 20% 30%, rgba(139, 92, 246, 0.25) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 70%, rgba(236, 72, 153, 0.2) 0%, transparent 60%),
        radial-gradient(ellipse at 50% 50%, rgba(75, 0, 130, 0.15) 0%, transparent 60%),
        linear-gradient(135deg, #0a0015 0%, #1a0033 20%, #0f001a 40%, #1a0033 60%, #0a0015 80%, #1a0033 100%);
    background-size: 600% 600%;
    animation: epicBackgroundShift 30s ease-in-out infinite;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 25% 15%, rgba(255, 255, 255, 0.4), transparent),
        radial-gradient(2px 2px at 75% 25%, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(1px 1px at 50% 40%, rgba(255, 255, 255, 0.5), transparent),
        radial-gradient(1px 1px at 15% 60%, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(2px 2px at 85% 80%, rgba(255, 255, 255, 0.4), transparent),
        radial-gradient(1px 1px at 35% 85%, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(3px 3px at 60% 10%, rgba(139, 92, 246, 0.3), transparent),
        radial-gradient(2px 2px at 10% 90%, rgba(236, 72, 153, 0.25), transparent),
        radial-gradient(4px 4px at 45% 35%, rgba(139, 92, 246, 0.2), transparent),
        radial-gradient(3px 3px at 70% 65%, rgba(236, 72, 153, 0.3), transparent),
        radial-gradient(2px 2px at 30% 20%, rgba(255, 255, 255, 0.35), transparent),
        radial-gradient(1px 1px at 80% 40%, rgba(255, 255, 255, 0.4), transparent);
    background-size: 400% 400%;
    animation: epicStars 150s linear infinite;
    z-index: -1;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 25% 25%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(236, 72, 153, 0.12) 0%, transparent 45%),
        radial-gradient(circle at 50% 10%, rgba(75, 0, 130, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 10% 90%, rgba(139, 92, 246, 0.1) 0%, transparent 45%),
        radial-gradient(circle at 85% 15%, rgba(236, 72, 153, 0.06) 0%, transparent 35%),
        radial-gradient(circle at 40% 60%, rgba(139, 92, 246, 0.08) 0%, transparent 40%);
    animation: epicFloatingOrbs 35s ease-in-out infinite;
    z-index: -1;
}

@keyframes epicBackgroundShift {
    0%, 100% { background-position: 0% 50%; }
    20% { background-position: 100% 25%; }
    40% { background-position: 80% 75%; }
    60% { background-position: 20% 100%; }
    80% { background-position: 90% 10%; }
}

@keyframes epicStars {
    from { transform: translateY(0) rotate(0deg) scale(1); }
    to { transform: translateY(-300px) rotate(5deg) scale(1.2); }
}

@keyframes epicFloatingOrbs {
    0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
    20% { transform: translate(40px, -50px) scale(1.15) rotate(2deg); }
    40% { transform: translate(-30px, 40px) scale(0.85) rotate(-3deg); }
    60% { transform: translate(50px, 30px) scale(1.1) rotate(1deg); }
    80% { transform: translate(-20px, -40px) scale(0.95) rotate(-1deg); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Навигация */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(25px);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo h2 {
    color: #8B5CF6;
    font-size: 2.2rem;
    font-weight: 900;
    text-shadow: 2px 2px 15px rgba(139, 92, 246, 0.7);
    animation: epicLogoGlow 4s ease-in-out infinite alternate;
}

@keyframes epicLogoGlow {
    from { 
        text-shadow: 2px 2px 15px rgba(139, 92, 246, 0.7),
                     0 0 30px rgba(139, 92, 246, 0.4);
    }
    to { 
        text-shadow: 2px 2px 25px rgba(139, 92, 246, 0.9),
                     0 0 50px rgba(139, 92, 246, 0.6);
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    padding: 0.8rem 1.2rem;
    border-radius: 30px;
    font-size: 1.05rem;
}

.nav-link:hover {
    color: #8B5CF6;
    background: rgba(139, 92, 246, 0.15);
    transform: translateY(-3px) scale(1.05);
    text-shadow: 0 0 15px rgba(139, 92, 246, 0.5);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #8B5CF6, #EC4899);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transform: translateX(-50%);
    border-radius: 2px;
}

.nav-link:hover::after {
    width: 90%;
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero секция */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: 
        radial-gradient(ellipse at center, rgba(26, 0, 51, 0.85) 0%, rgba(10, 0, 21, 0.95) 40%, rgba(5, 0, 10, 0.98) 100%),
        linear-gradient(135deg, rgba(139, 92, 246, 0.15) 0%, rgba(236, 72, 153, 0.08) 100%);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20% 30%, rgba(255, 255, 255, 0.9), transparent),
        radial-gradient(2px 2px at 60% 70%, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(1px 1px at 50% 50%, rgba(255, 255, 255, 1), transparent),
        radial-gradient(1px 1px at 80% 10%, rgba(255, 255, 255, 0.8), transparent),
        radial-gradient(2px 2px at 90% 60%, rgba(255, 255, 255, 0.6), transparent),
        radial-gradient(1px 1px at 30% 80%, rgba(255, 255, 255, 0.7), transparent),
        radial-gradient(3px 3px at 15% 60%, rgba(139, 92, 246, 0.5), transparent),
        radial-gradient(2px 2px at 85% 25%, rgba(236, 72, 153, 0.4), transparent),
        radial-gradient(4px 4px at 40% 20%, rgba(139, 92, 246, 0.3), transparent),
        radial-gradient(3px 3px at 70% 85%, rgba(236, 72, 153, 0.35), transparent),
        radial-gradient(5px 5px at 25% 75%, rgba(139, 92, 246, 0.25), transparent),
        radial-gradient(2px 2px at 55% 15%, rgba(236, 72, 153, 0.3), transparent);
    background-size: 500% 500%;
    animation: epicHeroStars 200s linear infinite;
    z-index: 0;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 70% 20%, rgba(138, 43, 226, 0.5) 0%, transparent 60%),
        radial-gradient(circle at 30% 70%, rgba(75, 0, 130, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 85% 80%, rgba(236, 72, 153, 0.3) 0%, transparent 40%),
        radial-gradient(circle at 15% 30%, rgba(139, 92, 246, 0.25) 0%, transparent 45%),
        radial-gradient(circle at 50% 85%, rgba(236, 72, 153, 0.2) 0%, transparent 35%),
        radial-gradient(circle at 25% 60%, rgba(139, 92, 246, 0.15) 0%, transparent 40%);
    z-index: 0;
    animation: epicHeroOrbs 25s ease-in-out infinite;
}

@keyframes epicHeroStars {
    from { transform: translateY(0) rotate(0deg) scale(1); }
    to { transform: translateY(-250px) rotate(8deg) scale(1.3); }
}

@keyframes epicHeroOrbs {
    0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
    25% { transform: translate(25px, -35px) scale(1.2) rotate(3deg); }
    50% { transform: translate(-18px, 25px) scale(0.8) rotate(-4deg); }
    75% { transform: translate(35px, 18px) scale(1.1) rotate(2deg); }
}

@keyframes epicSubtitlePulse {
    0%, 100% { 
        opacity: 1;
        transform: scale(1);
        text-shadow: 0 0 30px rgba(236, 72, 153, 0.7);
    }
    50% { 
        opacity: 0.85;
        transform: scale(1.02);
        text-shadow: 0 0 40px rgba(236, 72, 153, 0.9);
    }
}

@keyframes floatingOrbs {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(20px, -30px) scale(1.05); }
    50% { transform: translate(-15px, 20px) scale(0.95); }
    75% { transform: translate(30px, 10px) scale(1.02); }
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 6rem;
    font-weight: 900;
    margin-bottom: 2rem;
    background: linear-gradient(135deg, #8B5CF6 0%, #EC4899 20%, #8B5CF6 40%, #EC4899 60%, #8B5CF6 80%, #EC4899 100%);
    background-size: 600% 600%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(139, 92, 246, 0.6);
    animation: 
        epicGlow 4s ease-in-out infinite alternate,
        epicGradientShift 10s ease-in-out infinite;
    letter-spacing: -3px;
    line-height: 1;
    filter: drop-shadow(0 0 30px rgba(139, 92, 246, 0.4));
}

@keyframes epicGlow {
    from { 
        filter: drop-shadow(0 0 30px rgba(139, 92, 246, 0.7)) 
               drop-shadow(0 0 60px rgba(236, 72, 153, 0.5))
               drop-shadow(0 0 90px rgba(139, 92, 246, 0.3));
    }
    to { 
        filter: drop-shadow(0 0 40px rgba(139, 92, 246, 0.9)) 
               drop-shadow(0 0 80px rgba(236, 72, 153, 0.7))
               drop-shadow(0 0 120px rgba(139, 92, 246, 0.5));
    }
}

@keyframes epicGradientShift {
    0%, 100% { background-position: 0% 50%; }
    25% { background-position: 100% 25%; }
    50% { background-position: 50% 100%; }
    75% { background-position: 100% 75%; }
}

.hero-subtitle {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 2rem;
    color: #EC4899;
    text-shadow: 0 0 30px rgba(236, 72, 153, 0.7);
    animation: epicSubtitlePulse 5s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(236, 72, 153, 0.4));
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.95);
    line-height: 1.7;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
}

.btn-primary {
    background: linear-gradient(135deg, #8B5CF6 0%, #EC4899 100%);
    color: #fff;
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.5);
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 2px solid transparent;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #8B5CF6, #EC4899, #8B5CF6);
    border-radius: 50px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover::after {
    opacity: 1;
}

.btn-primary:hover {
    transform: translateY(-8px) scale(1.08);
    box-shadow: 0 15px 40px rgba(139, 92, 246, 0.7);
    border-color: rgba(139, 92, 246, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(139, 92, 246, 0.15), rgba(236, 72, 153, 0.1));
    opacity: 0;
    transition: opacity 0.4s;
}

.btn-secondary::after {
    opacity: 1;
}

.btn-secondary:hover::after {
    opacity: 1;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(139, 92, 246, 0.6);
    transform: translateY(-8px) scale(1.08);
    box-shadow: 0 12px 35px rgba(139, 92, 246, 0.4);
}

.hero-server-info {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.server-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #4caf50;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(76, 175, 80, 0); }
    100% { box-shadow: 0 0 0 0 rgba(76, 175, 80, 0); }
}

.server-stats {
    display: flex;
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: #EC4899;
    display: block;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Секции */
section {
    padding: 5rem 0;
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, #8B5CF6 0%, #EC4899 50%, #8B5CF6 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleGradient 4s ease-in-out infinite;
    text-shadow: 0 0 30px rgba(139, 92, 246, 0.3);
    letter-spacing: -1px;
}

@keyframes titleGradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* О сервере */
.about {
    background: 
        radial-gradient(ellipse at center, rgba(26, 0, 51, 0.9) 0%, rgba(10, 0, 21, 0.95) 50%, rgba(5, 0, 10, 0.98) 100%),
        linear-gradient(135deg, rgba(139, 92, 246, 0.08) 0%, rgba(236, 72, 153, 0.04) 100%);
    backdrop-filter: blur(20px);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 25% 25%, rgba(139, 92, 246, 0.4), transparent),
        radial-gradient(1px 1px at 75% 75%, rgba(236, 72, 153, 0.4), transparent),
        radial-gradient(1px 1px at 50% 10%, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(2px 2px at 10% 90%, rgba(139, 92, 246, 0.3), transparent),
        radial-gradient(3px 3px at 85% 15%, rgba(236, 72, 153, 0.2), transparent),
        radial-gradient(1px 1px at 40% 60%, rgba(255, 255, 255, 0.25), transparent);
    background-size: 250% 250%;
    animation: aboutStars 100s ease-in-out infinite;
    z-index: 0;
}

@keyframes aboutStars {
    0%, 100% { transform: translateY(0) rotate(0deg); opacity: 0.6; }
    50% { transform: translateY(-50px) rotate(1deg); opacity: 1; }
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.8; }
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.about-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(15px);
    border-radius: 25px;
    padding: 2.5rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.about-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(139, 92, 246, 0.1), rgba(236, 72, 153, 0.05));
    opacity: 0;
    transition: opacity 0.3s;
}

.about-card:hover::before {
    opacity: 1;
}

.about-card:hover {
    transform: translateY(-15px) scale(1.02);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.08));
    box-shadow: 0 20px 40px rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.3);
}

.about-icon {
    font-size: 3.5rem;
    color: #EC4899;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 20px rgba(236, 72, 153, 0.5);
    animation: iconFloat 3s ease-in-out infinite;
}

@keyframes iconFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.about-card h3 {
    font-size: 1.6rem;
    margin-bottom: 1.2rem;
    color: #fff;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.about-card p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    font-size: 1.05rem;
}

/* Особенности */
.features {
    background: 
        radial-gradient(ellipse at center, rgba(75, 0, 130, 0.85) 0%, rgba(10, 0, 21, 0.95) 50%, rgba(5, 0, 10, 0.98) 100%),
        linear-gradient(135deg, rgba(236, 72, 153, 0.06) 0%, rgba(139, 92, 246, 0.03) 100%);
    position: relative;
    overflow: hidden;
}

.features::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(138, 43, 226, 0.3) 0%, transparent 60%),
        radial-gradient(circle at 80% 20%, rgba(236, 72, 153, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.1) 0%, transparent 70%),
        radial-gradient(2px 2px at 30% 30%, rgba(255, 255, 255, 0.2), transparent),
        radial-gradient(1px 1px at 70% 70%, rgba(255, 255, 255, 0.15), transparent),
        radial-gradient(3px 3px at 15% 85%, rgba(139, 92, 246, 0.2), transparent);
    background-size: 300% 300%;
    animation: featureBackground 180s ease-in-out infinite;
    z-index: 0;
}

@keyframes featureBackground {
    0%, 100% { transform: rotate(0deg) scale(1); }
    33% { transform: rotate(2deg) scale(1.05); }
    66% { transform: rotate(-2deg) scale(0.95); }
}

@keyframes featureOrbs {
    0%, 100% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(5deg) scale(1.1); }
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.feature-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(15px);
    border-radius: 25px;
    padding: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.feature-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(139, 92, 246, 0.1), rgba(236, 72, 153, 0.05));
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-item:hover::before {
    opacity: 1;
}

.feature-item:hover {
    transform: translateY(-10px) scale(1.02);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.08));
    box-shadow: 0 15px 35px rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.3);
}

.feature-icon {
    font-size: 3rem;
    color: #8B5CF6;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
    animation: featureIconFloat 4s ease-in-out infinite;
}

@keyframes featureIconFloat {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-5px) rotate(2deg); }
    75% { transform: translateY(3px) rotate(-2deg); }
}

.feature-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
    color: #fff;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.feature-item p {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    font-size: 1.05rem;
}

/* Как начать играть */
.how-to-play {
    background: 
        radial-gradient(ellipse at center, rgba(26, 0, 51, 0.85) 0%, rgba(10, 0, 21, 0.95) 50%, rgba(5, 0, 10, 0.98) 100%),
        linear-gradient(135deg, rgba(75, 0, 130, 0.06) 0%, rgba(139, 92, 246, 0.03) 100%);
    position: relative;
    overflow: hidden;
}

.how-to-play::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(1px 1px at 60% 40%, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(1px 1px at 40% 60%, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(2px 2px at 20% 20%, rgba(139, 92, 246, 0.2), transparent),
        radial-gradient(2px 2px at 80% 80%, rgba(236, 72, 153, 0.2), transparent),
        radial-gradient(1px 1px at 10% 90%, rgba(255, 255, 255, 0.25), transparent),
        radial-gradient(3px 3px at 90% 10%, rgba(139, 92, 246, 0.15), transparent);
    background-size: 200% 200%;
    animation: howToPlayStars 120s linear infinite;
    z-index: 0;
}

@keyframes howToPlayStars {
    from { transform: translateY(0) rotate(0deg); }
    to { transform: translateY(-100px) rotate(-2deg); }
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
    z-index: 1;
}

.step-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.step-number {
    background: linear-gradient(45deg, #8B5CF6, #EC4899);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.step-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.step-content p {
    color: rgba(255, 255, 255, 0.8);
}

.server-connect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.server-connect h3 {
    margin-bottom: 1rem;
    color: #fff;
}

.server-ip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.server-ip code {
    background: rgba(0, 0, 0, 0.5);
    padding: 1rem 2rem;
    border-radius: 10px;
    font-size: 1.2rem;
    color: #feca57;
    font-family: 'Courier New', monospace;
}

/* Статистика */
.stats {
    background: radial-gradient(ellipse at center, rgba(138, 43, 226, 0.7), rgba(10, 0, 21, 0.9));
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 80% 20%, rgba(75, 0, 130, 0.4) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(236, 72, 153, 0.3) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.2) 0%, transparent 60%);
    z-index: 0;
    animation: statsOrbs 20s ease-in-out infinite;
}

@keyframes statsOrbs {
    0%, 100% { transform: rotate(0deg) scale(1); }
    33% { transform: rotate(-3deg) scale(1.05); }
    66% { transform: rotate(3deg) scale(0.95); }
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.stat-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(15px);
    border-radius: 25px;
    padding: 2.5rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(236, 72, 153, 0.1), rgba(139, 92, 246, 0.05));
    opacity: 0;
    transition: opacity 0.3s;
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-card:hover {
    transform: translateY(-10px) scale(1.05);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.08));
    box-shadow: 0 20px 40px rgba(236, 72, 153, 0.2);
    border-color: rgba(236, 72, 153, 0.3);
}

.stat-card .stat-icon {
    font-size: 3rem;
    color: #EC4899;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 20px rgba(236, 72, 153, 0.5);
    animation: statIconPulse 3s ease-in-out infinite;
}

@keyframes statIconPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.stat-card .stat-number {
    font-size: 3rem;
    font-weight: 900;
    color: #8B5CF6;
    margin-bottom: 0.8rem;
    text-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
    animation: numberGlow 4s ease-in-out infinite;
}

@keyframes numberGlow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.stat-card .stat-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    font-weight: 600;
}

/* Футер */
.footer {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.95), rgba(26, 0, 51, 0.8));
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(236, 72, 153, 0.1) 0%, transparent 50%);
    z-index: 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: #fff;
    margin-bottom: 1rem;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #8B5CF6;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: #8B5CF6;
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Адаптивность */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.9);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-buttons {
        justify-content: center;
    }

    .server-stats {
        justify-content: center;
    }

    .section-title {
        font-size: 2rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .steps-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .server-ip {
        flex-direction: column;
    }

    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Анимации при прокрутке */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.6s ease;
}

.slide-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.6s ease;
}

.slide-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}
