/* Общие стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #0a0a0a;
    color: #e0e0e0;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Шапка */
header {
    background: rgba(10, 10, 10, 0.9);
    padding: 15px 0;
    border-bottom: 2px solid #8b0000;
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo h1 {
    font-size: 28px;
    color: #ff4444;
    text-shadow: 0 0 10px rgba(255, 68, 68, 0.3);
}

.logo .chronicle {
    font-size: 14px;
    color: #aaa;
    display: block;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 20px;
}

nav ul li a {
    color: #ccc;
    text-decoration: none;
    padding: 5px 10px;
    transition: 0.3s;
    border-radius: 4px;
}

nav ul li a:hover,
nav ul li a.active {
    color: #fff;
    background: #8b0000;
}

/* Герой-блок */
.hero {
    min-height: 500px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    text-align: center;
    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;
    width: 100%;
}

.hero-content h2 {
    font-size: 48px;
    color: #fff;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(255, 68, 68, 0.5);
}

.hero-content p {
    font-size: 20px;
    color: #ddd;
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    background: #8b0000;
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    border-radius: 50px;
    transition: 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background: #cc0000;
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(255, 68, 68, 0.3);
}

/* Информационные блоки */
section {
    padding: 60px 0;
}

h2 {
    font-size: 32px;
    margin-bottom: 30px;
    color: #ff4444;
    text-align: center;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.info-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 25px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #333;
    transition: 0.3s;
}

.info-card:hover {
    border-color: #8b0000;
    transform: translateY(-5px);
}

.info-card h3 {
    color: #ff6666;
    margin-bottom: 10px;
}

/* Рейты */
.rates ul {
    list-style: none;
    max-width: 500px;
    margin: 0 auto;
}

.rates ul li {
    padding: 12px 20px;
    border-bottom: 1px solid #222;
    display: flex;
    justify-content: space-between;
}

.rates ul li span {
    color: #ff6666;
    font-weight: bold;
}

/* Скачать */
.download {
    text-align: center;
}

.download .btn {
    margin: 20px 0;
}

.download .small {
    font-size: 14px;
    color: #888;
}

/* Футер */
footer {
    background: #111;
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid #222;
}

footer p {
    color: #666;
    font-size: 14px;
}

/* Адаптивность */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 15px;
    }
    
    nav ul {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero-content h2 {
        font-size: 28px;
    }
    
    .hero-content p {
        font-size: 16px;
    }
    
    .info-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .info-grid {
        grid-template-columns: 1fr;
    }
}