/* 
   Arcade Boom! - Основные стили
   Стиль: пиксель-арт, 8-бит, ретро (NES/Sega)
   Цвета: жёлтый, оранжевый, красный
*/

/* Сброс стилей */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Шрифты и базовые стили */
@font-face {
    font-family: 'PixelFont';
    src: url('../fonts/pixel.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

:root {
    --primary-color: #ffcc00; /* Жёлтый */
    --secondary-color: #ff6600; /* Оранжевый */
    --accent-color: #ff0000; /* Красный */
    --dark-color: #333333;
    --light-color: #ffffff;
    --bg-color: #222222;
    --header-bg: #111111;
    --footer-bg: #111111;
    --border-color: #ffcc00;
}

body {
    font-family: 'PixelFont', 'Courier New', monospace;
    background-color: var(--bg-color);
    color: var(--light-color);
    line-height: 1.6;
    background-image: url('../img/bg-pattern.png');
    image-rendering: pixelated;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Заголовки */
h1, h2, h3, h4, h5, h6 {
    font-family: 'PixelFont', 'Courier New', monospace;
    text-transform: uppercase;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-shadow: 2px 2px 0 var(--dark-color);
    letter-spacing: 1px;
}

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 15px;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--secondary-color);
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    image-rendering: pixelated;
}

/* Хедер в стиле панели игрового автомата */
.site-header {
    background-color: var(--header-bg);
    border-bottom: 4px solid var(--primary-color);
    padding: 15px 0;
    box-shadow: 0 4px 0 rgba(0, 0, 0, 0.3);
    position: relative;
}

.site-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: repeating-linear-gradient(
        to right,
        var(--primary-color),
        var(--primary-color) 10px,
        var(--secondary-color) 10px,
        var(--secondary-color) 20px
    );
}

.header-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    width: 100%;
}

.logo-wrapper {
    display: flex;
    align-items: center;
}

.logo-link {
    display: block;
}
.logo-link p {
    font-weight: bold;
    font-size: 30px;
    margin-bottom: 0 !important;
}
.logo-image {
    max-height: 60px;
}

/* Навигация */
.main-nav {
    margin-left: 20px;
}

.nav-list {
    display: flex;
    list-style: none;
}

.nav-item {
    margin-left: 10px;
}

.nav-link {
    display: block;
    padding: 8px 15px;
    color: var(--light-color);
    text-transform: uppercase;
    font-weight: bold;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    transform: scaleX(1);
    transform-origin: left;
}

.nav-link:hover,
.nav-link.active {
    color: var(--primary-color);
}

.nav-link:active {
    transform: translateY(2px);
}

/* Основное содержимое */
.yhn78 {
    padding: 40px 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.jkl45 {
    text-align: center;
    margin-bottom: 0;
}

.poi09 {
    font-size: 3rem;
    margin-bottom: 10px;
    color: var(--primary-color);
    text-shadow: 4px 4px 0 var(--dark-color);
    letter-spacing: 2px;
}

.lkj23 {
    font-size: 1.2rem;
    color: var(--light-color);
    max-width: 800px;
    margin: 0 auto;
}

/* Секции */
.tyu56,
.rty78 {
    margin-bottom: 0;
    padding: 20px 0;
    position: relative;
}

.tyu56:after,
.rty78:after {
    content: "";
    display: block;
    clear: both;
}

.tyu56 .container,
.rty78 .container {
    position: relative;
    z-index: 1;
}

.rty78 {
    background-color: rgba(0, 0, 0, 0.3);
    border-top: 4px solid var(--primary-color);
    border-bottom: 4px solid var(--primary-color);
    position: relative;
}

.rty78::before,
.rty78::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 4px;
    background: repeating-linear-gradient(
        to right,
        var(--primary-color),
        var(--primary-color) 10px,
        var(--secondary-color) 10px,
        var(--secondary-color) 20px
    );
}

.rty78::before {
    top: 0;
    transform: translateY(-8px);
}

.rty78::after {
    bottom: 0;
    transform: translateY(8px);
}

/* Кнопки */
.bnm67,
.yxc23 {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: var(--dark-color);
    border: none;
    font-family: 'PixelFont', 'Courier New', monospace;
    font-size: 1rem;
    text-transform: uppercase;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    border: 2px solid var(--dark-color);
    box-shadow: 4px 4px 0 var(--dark-color);
    text-align: center;
}

.bnm67:hover,
.yxc23:hover {
    background-color: var(--secondary-color);
    color: var(--light-color);
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0 var(--dark-color);
}

.bnm67:active,
.yxc23:active {
    transform: translate(4px, 4px);
    box-shadow: none;
}

/* Карточки игр */
.asd23 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
}

.fgh45 {
    background-color: rgba(0, 0, 0, 0.5);
    border: 2px solid var(--border-color);
    padding: 15px;
    border-radius: 0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 5px 5px 0 rgba(0, 0, 0, 0.3);
}

.fgh45:hover {
    transform: translateY(-5px);
    box-shadow: 8px 8px 0 rgba(0, 0, 0, 0.3);
    border-color: var(--secondary-color);
}

.jkl67 {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border: 2px solid var(--dark-color);
    margin-bottom: 15px;
}

.qwe12 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary-color);
}

.zxc34 {
    margin-bottom: 15px;
    font-size: 0.9rem;
}

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

.nmb23 {
    color: var(--primary-color);
    font-size: 1rem;
}

/* Футер в стиле "Game Over" */
.klp90 {
    background-color: var(--footer-bg);
    padding: 30px 0;
    border-top: 4px solid var(--primary-color);
    position: relative;
}

.klp90::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: repeating-linear-gradient(
        to right,
        var(--primary-color),
        var(--primary-color) 10px,
        var(--secondary-color) 10px,
        var(--secondary-color) 20px
    );
    transform: translateY(-8px);
}

.mnb12 {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.vfr78 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.cxz45 {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.qaz12 {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    transition: all 0.3s ease;
    background-color: rgba(0, 0, 0, 0.3);
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    font-size: 24px;
    color: var(--primary-color);
    text-decoration: none;
}

.qaz12:hover {
    transform: scale(1.2);
    background-color: var(--primary-color);
    color: var(--dark-color);
    box-shadow: 0 0 10px var(--primary-color);
}

.edc56 {
    background-color: var(--primary-color);
    color: var(--dark-color);
    border: 2px solid var(--dark-color);
    padding: 8px 15px;
    font-family: 'PixelFont', 'Courier New', monospace;
    font-size: 0.9rem;
    text-transform: uppercase;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 3px 3px 0 var(--dark-color);
}

.edc56:hover {
    background-color: var(--secondary-color);
    color: var(--light-color);
    transform: translate(1px, 1px);
    box-shadow: 2px 2px 0 var(--dark-color);
}

.edc56:active {
    transform: translate(3px, 3px);
    box-shadow: none;
}

/* Утилиты */
.jzq01 {
    text-align: center;
    margin-top: 30px;
}

/* Медиа запросы */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        align-items: center;
    }
    
    .main-nav {
        margin-left: 0;
        margin-top: 15px;
        width: 100%;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: center;
    }
    
    .nav-item {
        margin: 5px 0;
    }
    
    .asd23 {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
    
    .poi09 {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .asd23 {
        grid-template-columns: 1fr;
    }
    
    .tgb76 {
        padding: 6px 10px;
        font-size: 0.9rem;
    }
    
    .poi09 {
        font-size: 1.8rem;
    }
} 