:root {
    --primary: #00ff88; /* Неоновый зеленый */
    --primary-glow: rgba(0, 255, 136, 0.4);
    --dark: #0b0b0f;
    --glass: rgba(255, 255, 255, 0.05);
    --border: rgba(255, 255, 255, 0.1);
    --text: #ffffff;
}

body {
    margin: 0;
    font-family: 'Outfit', sans-serif;
    background-color: var(--dark);
    color: var(--text);
    overflow-x: hidden;
}

/* Навигация */
nav {
    display: flex;
    justify-content: space-between;
    padding: 20px 40px;
    position: absolute;
    width: 100%;
    box-sizing: border-box;
    z-index: 10;
}

.logo { font-weight: 800; font-size: 1.5rem; letter-spacing: 2px; }
.highlight { color: var(--primary); }

.status-badge {
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.status-badge.online { background: rgba(0, 255, 136, 0.2); color: var(--primary); border: 1px solid var(--primary); }
.status-badge.offline { background: rgba(255, 50, 50, 0.2); color: #ff4444; border: 1px solid #ff4444; }

/* Hero */
.hero {
    height: 100vh;
    background: linear-gradient(to bottom, rgba(11,11,15,0.7), var(--dark)), url('../images/bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed; /* Параллакс эффект */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
}

.hero h1 {
    font-size: 5rem;
    margin: 10px 0;
    line-height: 1;
    text-transform: uppercase;
    background: -webkit-linear-gradient(#fff, #aaa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.server-status {
    background: var(--glass);
    padding: 10px 25px;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: bold;
    margin-bottom: 20px;
}

.pulse {
    width: 10px; height: 10px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 0 rgba(0, 255, 136, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 var(--primary-glow); }
    70% { box-shadow: 0 0 0 10px rgba(0, 255, 136, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 255, 136, 0); }
}

/* Кнопки */
.cta-group {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.ip-box, .discord-btn {
    padding: 15px 35px;
    border-radius: 12px;
    font-weight: bold;
    font-size: 1.1rem;
    cursor: pointer;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
}

.ip-box {
    background: var(--glass);
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
    color: #fff;
}
.ip-box:hover { background: rgba(255,255,255,0.1); transform: translateY(-3px); }

.discord-btn {
    background: #5865F2;
    color: white;
    text-decoration: none;
    border: none;
}
.discord-btn:hover { background: #4752c4; transform: translateY(-3px); box-shadow: 0 10px 20px rgba(88, 101, 242, 0.3); }

.tooltip {
    position: absolute;
    top: -40px; left: 50%; transform: translateX(-50%);
    background: var(--primary);
    color: #000;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 0.8rem;
    opacity: 0;
    transition: 0.3s;
    pointer-events: none;
}
.tooltip.active { opacity: 1; top: -50px; }

/* Features */
.features { padding: 80px 20px; background: #0f0f13; }
.container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }

.feature-card {
    background: linear-gradient(145deg, #16161a, #111);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    border: 1px solid #222;
    transition: 0.3s;
}
.feature-card:hover { transform: translateY(-10px); border-color: var(--primary); }
.feature-card i { font-size: 3rem; color: var(--primary); margin-bottom: 20px; }
.feature-card h3 { font-size: 1.5rem; margin-bottom: 10px; }
.feature-card p { color: #888; }

/* Галерея */
.gallery-section { padding: 100px 20px; text-align: center; }
.gallery-section h2 { font-size: 3rem; margin-bottom: 60px; }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
    max-width: 1400px;
    margin: 0 auto;
}

.gallery-item {
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: 0.5s; }
.gallery-item:hover img { transform: scale(1.1); }

.overlay {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex; justify-content: center; align-items: center;
    opacity: 0; transition: 0.3s;
}
.gallery-item:hover .overlay { opacity: 1; }
.overlay i { font-size: 2rem; color: #fff; transform: scale(0); transition: 0.3s; }
.gallery-item:hover .overlay i { transform: scale(1); }

/* Lightbox */
.lightbox {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 1000;
    display: none;
    justify-content: center; align-items: center;
    opacity: 0; transition: opacity 0.3s;
}
.lightbox-content { max-width: 90%; max-height: 90vh; border-radius: 10px; box-shadow: 0 0 30px rgba(0,0,0,0.5); }
.close-btn { position: absolute; top: 30px; right: 40px; color: #fff; font-size: 40px; cursor: pointer; }

/* Анимации появления */
.reveal { opacity: 0; transform: translateY(50px); transition: all 0.8s ease; }
.reveal.active { opacity: 1; transform: translateY(0); }
.fade-in { animation: fadeIn 1.5s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* Footer */
footer { padding: 40px; text-align: center; color: #555; border-top: 1px solid #222; }

@media (max-width: 768px) {
    .hero h1 { font-size: 3rem; }
    .cta-group { flex-direction: column; }
}