/* Плавное появление всей страницы */
body {
    opacity: 0;
    animation: fadeIn 1s ease forwards;
    background-color: #1e1e1e;
    color: #fff;
    font-family: Arial, sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

* { margin:0; padding:0; box-sizing:border-box; }

/* HEADER */
header { 
    background-color: #0d0d0d;
    border-bottom: 3px solid #c0392b; /* Красный акцент Dota 2 */
    padding: 10px 50px; 
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

.logo-area {
    display: flex;
    align-items: center;
}

.dota-title {
    font-size: 24px;
    font-weight: bold;
    color: #ffd700;
    margin-left: 10px;
}

/* ЛОГО */
.image-container { 
    width: 40px; 
    height: 40px; 
    background-image: url("https://cdn-icons-png.flaticon.com/512/588/588267.png"); 
    background-size: cover; 
    transition: 0.3s; 
    border-radius: 50%;
}

.image-container:hover { 
    background-image: url("https://i.gifer.com/origin/62/625b1367dd8cf36b822575dde46363ad_w200.webp"); 
}

/* НАВИГАЦИЯ */
nav ul { list-style: none; display: flex; }
nav ul li { margin: 0 10px; }

/* Ссылки навигации */
nav ul li a {
    background: #444;
    color: white;
    padding: 10px 18px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    display: inline-block;
    transition: 0.25s ease;
    border: 2px solid transparent;
}

/* Кнопка Steam */
.steam-link {
    background: #171a21 !important; /* Цвет Steam */
    border-color: #333 !important;
    color: #a6adba !important;
}

nav ul li a:hover {
    background: #c0392b; /* Красный Dota 2 */
    color: white;
    transform: scale(1.05);
    border-color: #ffd700;
}

.steam-link:hover {
    background: #007bff !important; /* Синий Steam */
    border-color: #ffd700 !important;
}

/* ГЛАВНЫЙ БЛОК */
.hero { 
    padding: 80px 50px;
    /* Установил вашу картинку как фон */
    background: url('https://shared.fastly.steamstatic.com/store_item_assets/steam/apps/570/header.jpg?t=1739210483') no-repeat center center/cover;
    color: white;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8);
    border-bottom: 5px solid #1a1a1a;
}

.hero h1 {
    font-size: 4em;
    margin-bottom: 10px;
    color: #ffd700;
    text-transform: uppercase;
}

.hero p {
    font-size: 1.5em;
    margin-bottom: 30px;
}

/* Кнопка "Меню" */
.menu-btn {
    background: #ffd700;
    color: black;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    display: inline-block;
    font-size: 20px;
    transition: 0.3s ease;
    border: 3px solid #ffd700;
}

.menu-btn:hover {
    background: #c0392b;
    color: white;
    transform: scale(1.1);
    border-color: white;
}

/* СЕКЦИИ О НАС/НОВОСТИ */
.info-section {
    max-width: 1000px;
    margin: 40px auto;
    padding: 0 20px;
    text-align: left;
}

.info-section h2 {
    text-align: center;
    color: #ffd700;
    border-bottom: 2px solid #333;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

.info-section p {
    line-height: 1.6;
    margin-bottom: 15px;
    text-align: justify;
}

/* КАРТИНКА 2 */
.image-container2 { 
    width: 100%; 
    max-width: 700px;
    height: 350px; 
    background-image: url("https://shared.fastly.steamstatic.com/store_item_assets/steam/apps/570/header.jpg?t=1739210483"); 
    background-size: cover; 
    background-position: center;
    margin: 20px auto; 
    border-radius: 10px;
    border: 3px solid #c0392b;
    transition: 0.5s;
}

.image-container2:hover { 
    background-image: url("https://media.tenor.com/nD8-aaiFd6IAAAAM/zxc.gif"); 
    box-shadow: 0 0 20px #c0392b;
}

/* ФУТЕР */
footer { 
    background-color: #0d0d0d; 
    border-top: 3px solid #c0392b;
    padding: 20px; 
    margin-top: auto;
    text-align: center;
    color: #888;
    font-size: 0.9em;
}

.social-title {
    color: #ffd700;
    margin-bottom: 10px;
}

.social-icon {
    font-size: 30px;
    color: #171a21;
    background-color: #ffd700;
    padding: 8px;
    border-radius: 5px;
    transition: 0.2s;
    margin: 5px;
}

.social-icon:hover {
    color: #ffd700;
    background-color: #171a21;
    transform: scale(1.1);
}

.copyright {
    margin-top: 10px;
    font-size: 0.8em;
    color: #444;
}