/* Общие стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}
body {
    background-color: #f4f4f9;
    color: #333;
    line-height: 1.6;
}
/* Шапка */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #003366;
}
header a {
    color: #fff;
    text-decoration: none;
}
header img {
    width: 150px;
}
.header-btn {
    background-color: #ff5c5c;
    padding: 8px 16px;
    border-radius: 5px;
    transition: background-color 0.3s;
}
.header-btn:hover {
    background-color: #ff3333;
}
/* Основной контент */
main {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
}
h1 {
    font-size: 2.5em;
    color: #222;
    margin-bottom: 20px;
    text-align: center;
}
.intro {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 40px;
    text-align: justify;
}
/* Секционные заголовки */
h2 {
    font-size: 2em;
    color: #003366;
    margin-bottom: 20px;
    text-transform: uppercase;
    border-bottom: 2px solid #003366;
    padding-bottom: 5px;
}
/* Контейнер карточек */
.game-card-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}
/* Карточка игры */
.game-card {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}
.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}
.game-card img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
    border-bottom: 2px solid #eee;
}
.game-info {
    padding: 15px;
}
.game-info h3 {
    font-size: 1.4em;
    color: #003366;
    margin-bottom: 10px;
}
.game-info p {
    font-size: 1em;
    color: #666;
    margin-bottom: 10px;
}
.game-date,
.game-publisher {
    font-size: 0.9em;
    color: #999;
}
.btn {
    display: inline-block;
    background-color: #ff5c5c;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    text-align: center;
    margin-top: 10px;
    transition: background-color 0.3s;
}
.btn:hover {
    background-color: #ff3333;
}
/* Футер */
footer {
    text-align: center;
    background-color: #003366;
    color: #fff;
    padding: 15px;
    margin-top: 40px;
}
/* Стили для блока статьи */
.article-section {
    margin-bottom: 60px;
}

.article-section h2 {
    font-size: 2.2em;
    color: #003366;
    margin-bottom: 30px;
    text-transform: uppercase;
    border-bottom: 2px solid #003366;
    padding-bottom: 10px;
}

.article-content {
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.article-featured-image {
    width: 100%;
    height: 400px;
    overflow: hidden;
}

.article-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.article-featured-image img:hover {
    transform: scale(1.03);
}

.article-text {
    padding: 30px;
}

.article-lead {
    font-size: 1.25em;
    line-height: 1.8;
    color: #444;
    font-weight: 500;
    margin-bottom: 30px;
    border-left: 4px solid #ff5c5c;
    padding-left: 20px;
}

.article-block {
    margin-bottom: 30px;
}

.article-block h3 {
    font-size: 1.6em;
    color: #003366;
    margin-bottom: 15px;
}

.article-block p {
    font-size: 1.1em;
    line-height: 1.7;
    color: #555;
    margin-bottom: 15px;
}

.article-list {
    list-style-type: none;
    margin-left: 20px;
    margin-bottom: 20px;
}

.article-list li {
    padding: 8px 0;
    position: relative;
    padding-left: 25px;
    font-size: 1.05em;
    color: #555;
}

.article-list li:before {
    content: "";
    position: absolute;
    left: 0;
    top: 14px;
    width: 10px;
    height: 10px;
    background-color: #ff5c5c;
    border-radius: 50%;
}

.article-quote {
    background-color: #f4f7fb;
    padding: 30px;
    border-radius: 8px;
    margin: 30px 0;
    position: relative;
}

.article-quote:before {
    content: """;
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 6em;
    color: rgba(0, 51, 102, 0.1);
    line-height: 0.8;
}

.article-quote blockquote {
    font-size: 1.3em;
    font-style: italic;
    color: #003366;
    line-height: 1.6;
    margin-left: 20px;
}

.quote-author {
    text-align: right;
    font-weight: 600;
    color: #666;
    margin-top: 15px;
}

.article-conclusion {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px dashed #ddd;
}

.article-conclusion p {
    font-size: 1.1em;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #444;
}

.article-author-box {
    display: flex;
    align-items: center;
    padding: 25px 30px;
    background-color: #f4f7fb;
    border-top: 1px solid #eee;
}

.author-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 20px;
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 1.3em;
    color: #003366;
    margin-bottom: 5px;
}

.author-title {
    font-weight: 600;
    color: #ff5c5c;
    margin-bottom: 10px;
    font-size: 0.95em;
}

.author-bio {
    color: #666;
    font-size: 0.95em;
    line-height: 1.6;
}

.article-related {
    padding: 25px 30px;
    border-top: 1px solid #eee;
}

.article-related h4 {
    font-size: 1.2em;
    color: #003366;
    margin-bottom: 15px;
}

.related-articles-list {
    list-style-type: none;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 15px;
}

.related-articles-list li {
    background-color: #f4f7fb;
    padding: 12px 15px;
    border-radius: 6px;
    transition: background-color 0.3s;
}

.related-articles-list li:hover {
    background-color: #e6ebf5;
}

.related-articles-list a {
    color: #003366;
    text-decoration: none;
    font-weight: 500;
    display: block;
}

.related-articles-list a:hover {
    color: #ff5c5c;
}

/* Медиа-запросы для адаптивности */
@media (max-width: 768px) {
    .article-text {
        padding: 20px;
    }
    
    .article-featured-image {
        height: 300px;
    }
    
    .article-quote {
        padding: 20px;
    }
    
    .article-quote blockquote {
        font-size: 1.1em;
    }
    
    .article-author-box {
        flex-direction: column;
        text-align: center;
    }
    
    .author-avatar {
        margin-right: 0;
        margin-bottom: 15px;
    }
    
    .related-articles-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .article-featured-image {
        height: 200px;
    }
    
    .article-lead {
        font-size: 1.1em;
    }
    
    .article-block h3 {
        font-size: 1.4em;
    }
}