/* Основные переменные и сброс */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #0b0b10;
    color: #eee;
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

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

/* Шапка */
header {
    background: rgba(11, 11, 16, 0.85);
    backdrop-filter: blur(8px);
    padding: 18px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(108, 99, 255, 0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #6C63FF;
    padding: 4px;
    object-fit: cover;
}

.logo-text {
    font-size: 1.6rem;
    font-weight: 700;
    background: linear-gradient(135deg, #6C63FF, #9A8CFF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

nav ul {
    display: flex;
    gap: 32px;
}

nav ul li a {
    font-weight: 500;
    color: #aaa;
    transition: color 0.3s;
    font-size: 1rem;
}

nav ul li a:hover {
    color: #6C63FF;
}

/* Герой */
.hero {
    padding: 80px 0 60px;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.hero .container {
    display: flex;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.hero-content {
    flex: 1 1 500px;
}

.hero-content h1 {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff, #9A8CFF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-content p {
    font-size: 1.2rem;
    color: #bbb;
    margin-bottom: 30px;
}

.badge-group {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

.badge {
    background: rgba(108, 99, 255, 0.15);
    border: 1px solid rgba(108, 99, 255, 0.3);
    padding: 8px 18px;
    border-radius: 50px;
    font-size: 0.9rem;
    color: #ccc;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.badge i {
    color: #6C63FF;
}

.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, #6C63FF, #8B7FFF);
    color: #fff;
    padding: 14px 40px;
    border-radius: 50px;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 15px rgba(108, 99, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(108, 99, 255, 0.5);
}

.hero-illustration {
    flex: 1 1 300px;
    text-align: center;
}

.hero-illustration i {
    filter: drop-shadow(0 0 30px rgba(108, 99, 255, 0.3));
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0); }
}

/* Секции общие */
.section {
    padding: 80px 0;
}

.section h2 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 12px;
    text-align: center;
    background: linear-gradient(135deg, #fff, #9A8CFF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    text-align: center;
    color: #aaa;
    font-size: 1.1rem;
    margin-bottom: 50px;
}

.alt-bg {
    background: #13131a;
}

/* Игры */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
}

.game-card {
    background: #1a1a24;
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    border: 1px solid #2a2a38;
    transition: transform 0.3s, border-color 0.3s;
}

.game-card:hover {
    transform: translateY(-8px);
    border-color: #6C63FF;
}

.game-icon {
    font-size: 3rem;
    color: #6C63FF;
    margin-bottom: 16px;
}

.game-card h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
}

.game-card p {
    color: #aaa;
    font-size: 0.95rem;
    margin-bottom: 18px;
}

.status {
    display: inline-block;
    padding: 4px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    background: rgba(255, 193, 7, 0.15);
    color: #f1c40f;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.status.development {
    background: rgba(108, 99, 255, 0.15);
    color: #6C63FF;
    border-color: rgba(108, 99, 255, 0.3);
}

/* О нас */
.about-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 1.1rem;
    color: #ccc;
    margin-bottom: 16px;
}

.social-links {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-links a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #1e1e2a;
    color: #aaa;
    font-size: 1.4rem;
    transition: background 0.3s, color 0.3s;
}

.social-links a:hover {
    background: #6C63FF;
    color: #fff;
}

/* Контакты */
.contact-info {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-top: 30px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
}

.contact-item i {
    color: #6C63FF;
    font-size: 1.6rem;
}

.contact-item a {
    color: #ddd;
    transition: color 0.3s;
}

.contact-item a:hover {
    color: #6C63FF;
}

/* Футер */
footer {
    background: #0b0b10;
    border-top: 1px solid #1a1a24;
    padding: 30px 0;
    text-align: center;
    color: #666;
    font-size: 0.9rem;
}

/* Адаптив */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        gap: 16px;
    }

    nav ul {
        gap: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero-content h1 {
        font-size: 2.4rem;
    }

    .hero .container {
        flex-direction: column;
        text-align: center;
    }

    .badge-group {
        justify-content: center;
    }

    .section h2 {
        font-size: 2rem;
    }

    .games-grid {
        grid-template-columns: 1fr;
    }

    .contact-info {
        flex-direction: column;
        align-items: center;
    }
}