:root {
    --red: #ff0033;
    --dark-btn: #1f1f1f;
    --text: #ffffff;
    --footer-bg: #000000;
    --gray-text: #787878;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
}

body {
    background-color: #0b0b0b;
    color: var(--text);
    overflow-x: hidden;
}

a { text-decoration: none; color: white; transition: 0.3s; }

/* --- ШАПКА --- */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav-left { display: flex; align-items: center; gap: 30px; }
.nav-link { font-weight: 800; font-size: 14px; text-transform: uppercase; color: white; letter-spacing: 0.5px; }
.nav-link:hover { color: var(--red); }

.nav-right { display: flex; align-items: center; gap: 15px; }

.btn-tg {
    background-color: var(--dark-btn);
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    display: flex; align-items: center; gap: 8px;
}
.btn-tg:hover { background-color: #333; }

.btn-donate {
    background-color: var(--red);
    color: white;
    padding: 10px 25px;
    border-radius: 4px;
    font-weight: 800;
    font-size: 13px;
    text-transform: uppercase;
    box-shadow: 0 0 15px rgba(255, 0, 51, 0.4);
}
.btn-donate:hover { background-color: #ff3355; }

/* --- HERO --- */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.9)),
                url('https://images.unsplash.com/photo-1622549226759-42b784df3a38?q=80&w=1920&auto=format&fit=crop');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero-content { z-index: 2; max-width: 1100px; padding: 0 20px; }

.animated-text {
    font-size: 80px; line-height: 1; font-weight: 900;
    text-transform: uppercase; margin-bottom: 10px;
    animation: slideUp 1s ease-out forwards;
}

.red-text {
    color: var(--red);
    display: block;
    text-shadow: 0 0 30px rgba(255,0,51,0.6);
    margin-top: 10px;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero p {
    font-size: 18px;
    color: #ddd;
    margin-bottom: 50px;
    margin-top: 30px;
    animation: fadeIn 1.5s ease-out forwards 0.5s;
    opacity: 0;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

@keyframes fadeIn { to { opacity: 1; } }

.big-play-btn {
    display: inline-block;
    background: linear-gradient(90deg, #ff0033, #cc0000);
    padding: 25px 70px;
    font-size: 28px;
    font-weight: 900;
    color: white;
    text-transform: uppercase;
    border-radius: 12px;
    border: 2px solid rgba(255,255,255,0.1);
    box-shadow: 0 0 50px rgba(255, 0, 51, 0.4);
    animation: scaleIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards 1s;
    opacity: 0;
    letter-spacing: 1px;
}
.big-play-btn:hover { transform: scale(1.05); box-shadow: 0 0 70px rgba(255, 0, 51, 0.6); }

@keyframes scaleIn {
    0% { opacity: 0; transform: scale(0.8); }
    100% { opacity: 1; transform: scale(1); }
}

/* СТРЕЛОЧКА И ТЕКСТ ВНИЗУ */
.scroll-container {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 10;
}

.scroll-text {
    font-size: 20px;
    color: white;
    margin-bottom: 15px;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
    letter-spacing: 0.5px;
}

.scroll-icon {
    font-size: 30px;
    color: white;
    animation: bounce 2s infinite;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* --- СЕРВЕР --- */
.servers { padding: 80px 5%; background: #0f0f0f; text-align: center; }

.server-card {
    background: #181818;
    border: 1px solid #333;
    padding: 40px;
    border-radius: 10px;
    max-width: 800px;
    margin: 0 auto;
}

.server-name {
    font-size: 26px;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 20px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.progress-container {
    height: 14px;
    background: #2a2a2a;
    border-radius: 7px;
    margin-bottom: 15px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: var(--red);
    width: 0%;
    box-shadow: 0 0 20px var(--red);
    transition: width .4s ease;
}

.server-stats-row{
    display:flex;
    justify-content:space-between;
    font-size:16px;
    color:#aaa;
    font-weight:bold;
}

/* --- НОВОСТИ --- */
.news-section { padding: 80px 5%; background: #0b0b0b; }

.section-title {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 50px;
    text-transform: uppercase;
    border-left: 6px solid var(--red);
    padding-left: 25px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.news-item {
    background: #151515;
    padding: 25px;
    border-radius: 12px;
    border: 1px solid #222;
    transition: 0.3s;
}

.news-item:hover { transform: translateY(-5px); border-color: var(--red); }

.news-item h3 { margin-bottom: 10px; text-transform: uppercase; font-size: 18px; }

.news-item p { font-size: 14px; color: #aaa; line-height: 1.6; }

.news-date{
    color:var(--red);
    font-size:12px;
    font-weight:bold;
    display:inline-block;
    margin-bottom: 8px;
}

/* --- ФУТЕР --- */
footer {
    background-color: var(--footer-bg);
    padding: 60px 5% 30px 5%;
    color: white;
    border-top: 1px solid #222;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-info { display: flex; align-items: center; gap: 25px; max-width: 650px; }
.footer-logo i { font-size: 60px; color: #ddd; }
.footer-text { font-size: 14px; color: #888; line-height: 1.5; font-weight: 500; }

.footer-buttons { display: flex; gap: 15px; flex-wrap: wrap; }

.social-btn {
    background-color: #1a1a1a;
    color: white;
    padding: 18px 30px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 160px;
    justify-content: center;
    transition: 0.3s;
}

.social-btn:hover { background-color: #333; transform: translateY(-2px); }
.social-btn i { font-size: 20px; }

.footer-divider { height: 1px; background-color: #333; width: 100%; margin-bottom: 30px; }

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.copyright { color: var(--gray-text); font-size: 13px; font-weight: 600; }

.legal-links { display: flex; gap: 25px; }
.legal-links a {
    color: #999;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.legal-links a:hover { color: white; }

.payment-icons { display: flex; gap: 20px; color: #666; font-size: 26px; align-items: center; }
.pay-text { font-weight: 900; font-style: italic; font-size: 18px; letter-spacing: 1px; }

/* --- Бейдж статуса --- */
.status-badge{
    font-size:14px;
    padding:3px 8px;
    border-radius:4px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.status-online{ background:#00ff7b; color:#000; }
.status-offline{ background:#ff0033; color:#000; }
.status-loading{ background:#ffd000; color:#000; }

@media (max-width: 900px) {
    .footer-top, .footer-bottom { flex-direction: column; align-items: flex-start; }
    .footer-buttons { width: 100%; }
    .social-btn { flex: 1; }
    .nav-left { display: none; }
    .animated-text { font-size: 40px; }
    .big-play-btn { padding: 20px 40px; font-size: 20px; }
    .scroll-text { font-size: 16px; }
}