/* Общие стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #121212;
    color: #e0e0e0;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Шапка */
.header {
    background: rgba(0, 0, 0, 0.7);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 50px;
}

.nav ul {
    display: flex;
    list-style: none;
}

.nav ul li a {
    color: #e0e0e0;
    text-decoration: none;
    margin-left: 25px;
    transition: color 0.3s ease;
    font-weight: 500;
}

.nav ul li a:hover {
    color: #f5a623;
}

/* Герой / Главная страница */
.hero {
    height: 80vh;
    background: url('../images/bg-main.jpg') no-repeat center center/cover;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    background: #f5a623;
    color: #121212;
    padding: 12px 30px;
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    margin-top: 20px;
    transition: background 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: #e0901a;
    transform: scale(1.05);
}

.server-info {
    margin-top: 30px;
    font-size: 1.2rem;
    color: #aaa;
}

/* Особенности сервера */
.features {
    padding: 60px 0;
}

.features h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5rem;
    color: #f5a623;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature h3 {
    color: #f5a623;
    margin-bottom: 10px;
}

.feature p {
    color: #aaa;
}

/* Новости */
.news-preview {
    padding: 60px 0;
}

.news-preview h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.5rem;
    color: #f5a623;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-item h3 {
    color: #f5a623;
}

.news-item p {
    color: #aaa;
}

/* Секция доната */
.donate-hero {
    text-align: center;
    padding: 60px 0;
}

.donate-hero h1 {
    font-size: 2.8rem;
    margin-bottom: 15px;
    color: #f5a623;
}

.donate-hero p {
    font-size: 1.2rem;
    color: #aaa;
}

.donate-options {
    padding: 40px 0;
}

.donate-options h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5rem;
    color: #f5a623;
}

.donate-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.donate-card {
    background: #1f1f1f;
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.donate-card:hover {
    transform: translateY(-10px);
}

.donate-card h3 {
    color: #f5a623;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.donate-card .price {
    font-size: 2rem;
    color: #fff;
    margin-bottom: 20px;
}

.donate-card ul {
    list-style: none;
    margin-bottom: 25px;
}

.donate-card ul li {
    padding: 8px 0;
    color: #ccc;
}

.donate-info {
    padding: 60px 0;
}

.donate-info h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.2rem;
    color: #f5a623;
}

.donate-info ul {
    max-width: 800px;
    margin: 0 auto;
    padding-left: 20px;
}

.donate-info ul li {
    padding: 10px 0;
    font-size: 1.1rem;
    color: #ccc;
}

/* Секция новостей */
.news-header {
    text-align: center;
    padding: 60px 0;
}

.news-header h1 {
    font-size: 2.8rem;
    color: #f5a623;
    margin-bottom: 15px;
}

.news-header p {
    font-size: 1.2rem;
    color: #aaa;
}

.news-item {
    background: #1f1f1f;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.news-item h2 {
    font-size: 1.8rem;
    color: #f5a623;
    margin-bottom: 10px;
}

.news-item time {
    color: #aaa;
    font-size: 0.9rem;
    display: block;
    margin-bottom: 15px;
}

.news-item p {
    color: #ccc;
    line-height: 1.6;
}

/* Секция лора */
.about-header {
    text-align: center;
    padding: 60px 0;
}

.about-header h1 {
    font-size: 2.8rem;
    color: #f5a623;
    margin-bottom: 15px;
}

.about-header p {
    font-size: 1.2rem;
    color: #aaa;
}

.lore-content {
    padding: 40px 0;
}

.lore-section {
    background: #1f1f1f;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.lore-section h2 {
    color: #f5a623;
    margin-bottom: 15px;
    font-size: 1.8rem;
}

.lore-section p {
    color: #ccc;
    line-height: 1.6;
    margin-bottom: 15px;
}

.lore-section ul {
    padding-left: 20px;
    margin-bottom: 15px;
}

.lore-section ul li {
    color: #ccc;
    margin-bottom: 10px;
}

/* Секция правил */
.rules-header {
    text-align: center;
    padding: 60px 0;
}

.rules-header h1 {
    font-size: 2.8rem;
    color: #f5a623;
    margin-bottom: 15px;
}

.rules-header p {
    font-size: 1.2rem;
    color: #aaa;
}

.rules-content {
    padding: 40px 0;
}

.rule-section {
    background: #1f1f1f;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.rule-section h2 {
    color: #f5a623;
    margin-bottom: 15px;
    font-size: 1.6rem;
}

.rule-section ul {
    padding-left: 20px;
}

.rule-section ul li {
    margin-bottom: 10px;
    color: #ccc;
    line-height: 1.6;
}

/* Подвал */
.footer {
    background: #1f1f1f;
    padding: 30px 0;
    text-align: center;
    margin-top: 60px;
}

.footer p {
    color: #aaa;
    font-size: 1rem;
}

/* Адаптивность */
@media (max-width: 768px) {
    .nav ul {
        flex-direction: column;
        align-items: center;
    }

    .nav ul li a {
        margin: 10px 0;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1.2rem;
    }

    .feature-grid,
    .donate-grid {
        grid-template-columns: 1fr;
    }
}