:root {
    --bg-color: #0b0c10;
    --card-bg: #14161d;
    --text-color: #c5c6c7;
    --text-light: #ffffff;
    --primary: #4f46e5;
    --primary-glow: rgba(79, 70, 229, 0.4);
    --accent: #00f2fe;
    --accent-glow: rgba(0, 242, 254, 0.3);
    --success: #10b981;
    --warning: #f59e0b;
    --border-radius: 16px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Навигация */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(11, 12, 16, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    color: var(--text-light);
    text-decoration: none;
    letter-spacing: 1px;
}

.logo span {
    color: var(--accent);
    text-shadow: 0 0 10px var(--accent-glow);
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    margin: 0 20px;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--accent);
}

.btn-donate {
    background: linear-gradient(135deg, var(--primary), #7c3aed);
    color: var(--text-light);
    text-decoration: none;
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 600;
    box-shadow: 0 4px 15px var(--primary-glow);
    transition: var(--transition);
}

.btn-donate:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(79, 70, 229, 0.6);
}

/* Главный экран */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
    background: radial-gradient(circle at center, rgba(79, 70, 229, 0.15) 0%, var(--bg-color) 70%);
    position: relative;
}

.hero-content {
    max-width: 800px;
}

.hero-title {
    font-size: 72px;
    font-weight: 800;
    color: var(--text-light);
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.hero-title span {
    background: linear-gradient(to right, var(--accent), #4f46e5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 18px;
    margin-bottom: 40px;
    color: #94a3b8;
}

.btn-primary {
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid rgba(0, 242, 254, 0.3);
    color: var(--text-light);
    padding: 16px 36px;
    font-size: 18px;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.05);
    transition: var(--transition);
}

.btn-primary:hover {
    border-color: var(--accent);
    box-shadow: 0 0 25px var(--accent-glow);
    transform: scale(1.03);
}

.server-status {
    margin-top: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
}

.status-dot {
    width: 10px;
    height: 10px;
    background-color: var(--success);
    border-radius: 50px;
    box-shadow: 0 0 10px var(--success);
    animation: pulse 2s infinite;
}

/* Общие стили секций */
.section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px;
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 60px;
}

.grid {
    display: grid;
    gap: 30px;
}

.card {
    background-color: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: var(--border-radius);
    padding: 30px;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 242, 254, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Фишки */
.features-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.feature-card {
    text-align: center;
}

.feature-icon {
    font-size: 40px;
    color: var(--accent);
    margin-bottom: 20px;
    text-shadow: 0 0 15px var(--accent-glow);
}

.feature-card h3 {
    color: var(--text-light);
    margin-bottom: 15px;
    font-size: 22px;
}

/* Режимы */
.modes-grid {
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
}

@media (max-width: 500px) {
    .modes-grid { grid-template-columns: 1fr; }
}

.mode-card {
    padding: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.mode-image-placeholder {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.survival-bg {
    background-image: linear-gradient(to bottom, rgba(20, 22, 29, 0.2), var(--card-bg)), url('https://images.unsplash.com/photo-1605899435973-ca2d1a8861cf?q=80&w=600&auto=format&fit=crop');
}

.event-bg {
    background-image: linear-gradient(to bottom, rgba(20, 22, 29, 0.2), var(--card-bg)), url('https://images.unsplash.com/photo-1627856013091-fed6e4e30025?q=80&w=600&auto=format&fit=crop');
}

.mode-info {
    padding: 30px;
    position: relative;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.mode-info h3 {
    color: var(--text-light);
    font-size: 24px;
    margin-bottom: 10px;
}

.mode-info p {
    margin-bottom: 20px;
    color: #94a3b8;
}

.mode-status {
    align-self: flex-start;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.status-online {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.status-dev {
    background: rgba(245, 158, 11, 0.1);
    color: var(--warning);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

/* FAQ */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background-color: var(--card-bg);
    border-radius: var(--border-radius);
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.02);
}

.faq-question {
    width: 100%;
    padding: 24px;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 18px;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--transition);
}

.faq-question i {
    transition: var(--transition);
    color: var(--accent);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 24px;
}

.faq-answer p {
    padding-bottom: 24px;
    color: #94a3b8;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

/* Подвал */
.footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 40px 20px;
    text-align: center;
    background-color: #07080a;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.social-links a {
    color: var(--text-color);
    font-size: 24px;
    margin: 0 15px;
    transition: var(--transition);
}

.social-links a:hover {
    color: var(--accent);
    transform: scale(1.1);
}

/* Анимации */
@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.animate-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s ease forwards;
}

.hero-content .animate-up:nth-child(1) { animation-delay: 0.2s; }
.hero-content .animate-up:nth-child(2) { animation-delay: 0.4s; }
.hero-content .animate-up:nth-child(3) { animation-delay: 0.6s; }
.hero-content .animate-up:nth-child(4) { animation-delay: 0.8s; }

@keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
}