/* ==================== Общие стили ==================== */
html, body {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    color: #e6e6e6;
    background: linear-gradient(135deg, #000000 0%, #140000 40%, #1a0000 100%);
    min-height: 100vh;
}

body {
    display: flex;
    justify-content: center;
    padding: 40px 20px;
}

/* ==================== Команды ==================== */
.single-button {
    width: 200px;
    margin: 0 auto 30px auto;
}

.commands {
    margin-top: 20px;
}

.command {
    display: flex;
    justify-content: space-between;
    align-items: center;

    background: rgba(40, 0, 0, 0.8);
    border-left: 4px solid #aa3333;
    border-radius: 8px;

    padding: 12px 16px;
    margin-bottom: 10px;

    font-size: 15px;
}

.cmd {
    color: #27ae60;
    font-weight: bold;
}

.desc {
    color: #d9b3b3;
}

/* ==================== Контейнер ==================== */
.box {
    max-width: 900px;
    width: 100%;
    background: rgba(20, 0, 0, 0.65);
    border-radius: 12px;
    padding: 30px 20px;
    text-align: center;
    box-shadow: 0 4px 25px rgba(255, 0, 0, 0.15);
}

/* ==================== Логотип ==================== */
.logo {
    font-size: 60px;
    font-weight: bold;
    color: #cc4444;
    margin: 0 0 20px 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* ==================== Серверная информация + кнопки ==================== */
.main-server-block {
    display: flex;
    align-items: stretch;
    gap: 20px;
    margin-bottom: 30px;
}
.server-header {
    text-align: center;
    font-size: 18px;
    color: #cc7777;
    margin-bottom: 10px;
}

.restart {
    color: #d9b3b3;
}

.donate-button {
    display: block;
    width: 100%;
    box-sizing: border-box;

    margin-top: 10px;
    padding: 16px 20px;

    text-align: center;
    text-decoration: none;
    color: #fff;
    font-size: 18px;
    font-weight: bold;

    background: linear-gradient(135deg, #ff2e2e, #990000);
    border-radius: 10px;

    transition: all 0.25s ease;
    box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3);
}

.donate-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.5);
}

/* ==================== Кнопки слева ==================== */
.buttons-vertical {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-shrink: 0;
    width: 600px;
}

.buttons-vertical a {
    text-decoration: none;
    color: #fff;
    background: #1f8f5a;
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 500;
    text-align: center;
    transition: all 0.25s ease;
    display: block;
    flex: 1;
}

.buttons-vertical a:hover {
    background: #176f46;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(46, 204, 113, 0.2);
}

/* ==================== Блок сервера ==================== */
.server-info {
    flex: 1;
    border: 2px solid #aa3333;
    border-radius: 8px;
    padding: 20px 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    min-width: 280px;
    box-sizing: border-box;
    text-align: left;
}

.server-info p {
    margin: 0;
    font-size: 16px;
}

.server-info strong {
    display: block;
    color: #cc7777;
}

.green-ip, .online-count {
    color: #27ae60;
    font-weight: bold;
}

/* ==================== Новости и Привилегии ==================== */
.news-title {
    margin-top: 40px;
    font-size: 36px;
    font-weight: bold;
    color: #cc4444;
    text-align: left;
}

.news, .priv-cards {
    margin-top: 20px;
}

.news {
    padding-left: 30px;
}

.item, .priv-card {
    background: rgba(35, 0, 0, 0.75);
    border-left: 4px solid #aa3333;
    border-radius: 8px;
    padding: 15px 20px;
    margin-bottom: 20px;
    text-align: left;
    width: 100%;
    box-sizing: border-box;

    opacity: 0;
    transform: translateY(30px) scale(0.97);
    transition: all 0.3s ease;
}

.item.animate, .priv-card.animate {
    animation: cardAppear 0.6s ease forwards;
}

@keyframes cardAppear {
    from { opacity: 0; transform: translateY(30px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

/* ==================== Текст ==================== */
.date {
    font-size: 12px;
    color: #aa6666;
    margin-bottom: 5px;
    display: inline-block;
    background: rgba(255, 77, 77, 0.08);
    padding: 2px 8px;
    border-radius: 999px;
}

.about-server {
    margin-top: 20px;
    padding: 20px 25px;

    background: rgba(25, 0, 0, 0.6);
    border-radius: 10px;

    color: #d9b3b3;
    font-size: 16px;
    line-height: 1.7;

    text-align: left;
    box-sizing: border-box;

    border: 1px solid rgba(170, 51, 51, 0.4);
}
@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chat-note {
    margin-top: 10px;
    font-size: 14px;
    color: #aa6666;
    text-align: left;
    padding-left: 4px;
}

.title {
    font-size: 20px;
    font-weight: 600;
    color: #e0b3b3;
    margin-bottom: 8px;
}

.text {
    font-size: 16px;
    line-height: 1.5;
    color: #d9b3b3;
}

.footer {
    margin-top: 40px;
    padding: 15px 20px;

    background: rgba(20, 0, 0, 0.4);
    border: 1px solid rgba(170, 51, 51, 0.25);
    border-radius: 10px;

    display: flex;
    justify-content: space-between;
    align-items: flex-start;

    font-size: 12px;
    color: #885555;

    box-sizing: border-box;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.footer-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.footer-right a {
    color: #aa6666;
    text-decoration: none;
    transition: 0.2s;
}

.footer-right a:hover {
    color: #cc4444;
}
/* ==================== Точка слева ==================== */
.item {
    position: relative;
}

.item::before {
    content: "";
    position: absolute;
    left: -20px;
    top: 20px;
    width: 10px;
    height: 10px;
    background: #aa3333;
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(255,77,77,0.4);
}

/* ==================== Привилегии ==================== */
.priv-card.owner { border-left-color: #992222; }
.priv-card.legend { border-left-color: #9933cc; }
.priv-card.vip { border-left-color: #bfa12a; }
.priv-card.old { border-left-color: #cc5500; }
.priv-card.overwatch { border-left-color: #777777; }

.priv-card.vip .vip-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.priv-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.vip-text {
    flex: 1;
    text-align: left;
}

.vip-buy {
    display: block;
    width: 100%;
    text-decoration: none;
    color: #fff;
    background: #bfa12a;
    padding: 14px 0;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    margin-top: 15px;
    transition: all 0.25s ease;
}

.vip-buy:hover {
    background: #a68f22; 
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(191, 161, 42, 0.4);
}


.priv-card h2 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #cc7777;
}

.priv-card p {
    font-size: 14px;
    color: #d9b3b3;
    line-height: 1.5;
}

/* ==================== Мобильная версия ==================== */
@media (max-width: 950px) {
    .box {
        padding: 15px 10px;
    }

    .donate-button {
        width: 100%;
        margin: 10px 0;
    }

    .main-server-block {
        display: flex;
        flex-direction: column;
    }

    .buttons-vertical {
        order: 1;
    }

    .server-info {
        order: 3;
    }

    .main-server-block {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .buttons-vertical {
        width: 100%;
        margin: 0;
    }

    .buttons-vertical a {
        width: 100%;
        box-sizing: border-box;
        padding: 15px;
        font-size: 16px;
        text-align: center;
    }

    .server-info {
        width: 100%;
        max-width: 100%;
        padding: 15px;
        box-sizing: border-box;
    }

    .logo { font-size: 40px; }
    p { font-size: 16px; }
    .news-title { font-size: 28px; }
    .title { font-size: 18px; }
    .text { font-size: 14px; }

    .priv-cards {
        flex-direction: column;
        align-items: stretch;
    }

        .footer {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }

    .footer-left {
        max-width: 50%;
    }

    .footer-right {
        max-width: 50%;
        align-items: flex-end;
        text-align: right;
    }

    .priv-card {
        width: 100%;
    }
    
    .priv-card.vip .vip-content {
        flex-direction: column;
        gap: 10px;
    }

    .vip-buy {
        padding: 12px 0;
        font-size: 14px;
    }
}