/* Шапка */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(18, 18, 18, 0);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 8px 2rem;
}

/* Бургер-меню */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001;
}

.menu-toggle .bar {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--anthracite);
    margin: 5px 0;
    transition: var(--transition);
}

/* Навигация */
nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    position: relative;
    padding: 0.5rem 0;
    font-weight: 600;
    font-size: 1.1rem;
}

nav a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: var(--transition);
}

nav a:hover:after {
    width: 100%;
}

/* Герой секция */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 2rem;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(42,42,42,0.05) 0%, rgba(18,18,18,0.8) 100%),
    url('../assets/background.webp') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 650px;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-pattern {
    position: absolute;
    right: -500px;
    top: 50%;
    opacity: 0.03;
    z-index: 1;
}

/* Заголовки секций */
.section-title {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.section-title h2 {
    font-size: 2.5rem;
    display: inline-block;
    position: relative;
    padding-bottom: 1rem;
    color: var(--anthracite);
}

.section-title h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--gold);
    border-radius: 2px;
}

.section-title p {
    max-width: 700px;
    margin: 1.5rem auto 0;
    color: var(--medium-gray);
}

/* Сетки */
.about-content {
    display: flex;
    justify-content: center;
    text-align: center;
    margin: 0 auto;
    max-width: 800px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    align-items: start;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
}

/* Подвал */
footer {
    background: #0a0a0a;
    padding: 4rem 2rem 2rem;
}

.copyright {
    text-align: center;
    padding-top: 3rem;
    padding-left: 400px;
    padding-right: 400px;
    margin-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #666;
    font-size: 0.9rem;
}

.copyright a {
    position: relative;
    padding: 0.5rem 0;
}

.copyright a:hover {
    color: var(--gold);
    height: 2px;
    transition: var(--transition);
}