/* ОБНУЛЕННЯ ТА БАЗОВІ СТИЛІ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #0d0e12;
    color: #e2e8f0;
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

.accent-text {
    color: #ff3e3e;
}

/* ШАПКА */
header {
    background-color: #151821;
    padding: 20px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    border-bottom: 2px solid #1f2433;
}

.header-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 1px;
}

.logo span {
    color: #ff3e3e;
}

nav a {
    color: #cbd5e1;
    text-decoration: none;
    margin-left: 20px;
    font-weight: 600;
    transition: color 0.3s;
}

nav a:hover {
    color: #ff3e3e;
}

/* ГОЛОВНИЙ БАНЕР */
.hero {
    padding: 180px 0 100px 0;
    background: linear-gradient(rgba(13, 14, 18, 0.8), #0d0e12), radial-gradient(circle at center, #231c30 0%, #0d0e12 100%);
    text-align: center;
}

.hero h1 {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 10px;
}

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

.server-info {
    display: inline-flex;
    gap: 20px;
    background-color: #151821;
    padding: 20px 40px;
    border-radius: 12px;
    border: 2px solid #ff3e3e;
    box-shadow: 0 0 20px rgba(255, 62, 62, 0.2);
}

.info-box {
    text-align: left;
}

.info-box .label {
    display: block;
    font-size: 11px;
    color: #64748b;
    font-weight: 600;
}

.info-box .value {
    font-size: 20px;
    font-weight: 800;
}

.info-box .IP {
    color: #22c55e;
}

/* ЗАГОЛОВКИ СЕКЦІЙ */
.section-title {
    font-size: 36px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 50px;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: #ff3e3e;
    margin: 10px auto 0 auto;
    border-radius: 2px;
}

/* ДОНАТИ */
.donate-section {
    padding: 80px 0;
}

.donate-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.donate-card {
    background-color: #151821;
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid #1f2433;
    transition: transform 0.3s, box-shadow 0.3s;
}

.donate-card:hover {
    transform: translateY(-5px);
}

.card-header {
    padding: 30px 20px;
    text-align: center;
    color: #0d0e12;
}

.card-header h3 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 5px;
}

.card-header .price {
    font-size: 22px;
    font-weight: 700;
}

/* Кольори донату */
.zeus { border-color: #eab308; }
.zeus .card-header { background-color: #eab308; }
.zeus:hover { box-shadow: 0 10px 25px rgba(234, 179, 8, 0.15); }

.poseidon { border-color: #3b82f6; }
.poseidon .card-header { background-color: #3b82f6; color: #fff; }
.poseidon:hover { box-shadow: 0 10px 25px rgba(59, 130, 246, 0.15); }

.heracles { border-color: #ef4444; }
.heracles .card-header { background-color: #ef4444; color: #fff; }
.heracles:hover { box-shadow: 0 10px 25px rgba(239, 68, 68, 0.15); }

.card-body {
    padding: 30px 25px;
}

.card-body h4 {
    font-size: 16px;
    color: #94a3b8;
    margin-top: 15px;
    margin-bottom: 8px;
    text-transform: uppercase;
    font-weight: 600;
}

.card-body h4:first-child {
    margin-top: 0;
}

.card-body ul {
    list-style: none;
}

.card-body ul li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 14px;
}

.card-body ul li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: #22c55e;
}

/* ПРАВИЛА */
.rules-section {
    padding: 80px 0;
    background-color: #111319;
}

.rules-container {
    background-color: #151821;
    border-radius: 16px;
    padding: 40px;
    border: 2px solid #1f2433;
}

.rules-category {
    margin-bottom: 40px;
}

.rules-category:last-child {
    margin-bottom: 0;
}

.rules-category h3 {
    font-size: 22px;
    color: #ff3e3e;
    margin-bottom: 20px;
    border-bottom: 1px solid #1f2433;
    padding-bottom: 8px;
}

.rule-item {
    background-color: #0d0e12;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 15px;
    border-left: 4px solid #475569;
}

.rule-text {
    font-size: 15px;
    font-weight: 600;
}

.punishment {
    display: inline-block;
    font-size: 13px;
    color: #ef4444;
    background-color: rgba(239, 68, 68, 0.1);
    padding: 2px 10px;
    border-radius: 4px;
    margin-top: 5px;
    font-weight: 600;
}

.allowed-mods {
    display: inline-block;
    font-size: 14px;
    color: #3b82f6;
    background-color: rgba(59, 130, 246, 0.1);
    padding: 4px 10px;
    border-radius: 4px;
    margin-top: 5px;
}

.allowed {
    display: inline-block;
    font-size: 13px;
    color: #22c55e;
    background-color: rgba(34, 197, 94, 0.1);
    padding: 2px 10px;
    border-radius: 4px;
    margin-top: 5px;
    font-weight: 600;
}

.general-rules {
    list-style: none;
}

.general-rules li {
    padding: 12px 15px;
    background-color: #0d0e12;
    margin-bottom: 10px;
    border-radius: 6px;
    font-size: 15px;
}

/* ФУТЕР */
footer {
    text-align: center;
    padding: 40px 0;
    background-color: #0d0e12;
    border-top: 2px solid #1f2433;
    color: #64748b;
    font-size: 14px;
}

/* АДАПТИВНІСТЬ ДЛЯ МОБІЛОК */
@media (max-width: 768px) {
    .header-flex {
        flex-direction: column;
        gap: 15px;
    }
    nav a {
        margin: 0 10px;
    }
    .hero h1 {
        font-size: 38px;
    }
    .server-info {
        flex-direction: column;
        padding: 15px 25px;
        gap: 10px;
    }
    .rules-container {
        padding: 20px;
    }
}
