* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(145deg, #0F172A 0%, #1E293B 100%);
    color: #F1F5F9;
    line-height: 1.5;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 24px 20px 48px;
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 48px;
    position: relative;
}

.lang-selector {
    position: absolute;
    top: 0;
    right: 0;
}

.selected-lang {
    background: rgba(255,255,255,0.1);
    padding: 6px 12px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 0.9rem;
    backdrop-filter: blur(4px);
}

.lang-dropdown {
    position: absolute;
    right: 0;
    top: 40px;
    background: #1E293B;
    border-radius: 16px;
    list-style: none;
    padding: 8px 0;
    margin: 0;
    width: 140px;
    display: none;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
    z-index: 100;
}

.lang-dropdown li {
    padding: 8px 16px;
    cursor: pointer;
    transition: background 0.2s;
}

.lang-dropdown li:hover {
    background: #334155;
}

.lang-dropdown.open {
    display: block;
}

.logo {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, #E2E8F0 0%, #94A3B8 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.tagline {
    font-size: 1.1rem;
    color: #94A3B8;
    border-top: 1px solid #334155;
    display: inline-block;
    padding-top: 12px;
    margin-top: 8px;
}

/* Game card */
.game-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    margin-bottom: 48px;
    transition: transform 0.2s;
}

.game-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.2);
}

.cover {
    width: 100%;
    height: auto;
    display: block;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.card-content {
    padding: 28px;
}

.game-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.game-subtitle {
    color: #94A3B8;
    margin-bottom: 16px;
    font-size: 0.9rem;
}

.badge {
    display: inline-block;
    background: #3B82F6;
    padding: 4px 14px;
    border-radius: 40px;
    font-size: 0.7rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.description {
    margin: 16px 0;
    color: #CBD5E1;
}

.feature-list {
    list-style: none;
    margin: 20px 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 12px;
}

.feature-list li {
    background: rgba(255,255,255,0.03);
    padding: 8px 12px;
    border-radius: 40px;
    font-size: 0.9rem;
}

/* Карусель */
.carousel {
    margin: 24px 0;
    position: relative;
    overflow: hidden;
    border-radius: 1rem;
}

.carousel-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 12px;
    padding: 8px 0;
    scrollbar-width: thin;
}

.carousel-track img {
    width: 200px;
    flex-shrink: 0;
    scroll-snap-align: start;
    border-radius: 12px;
    border: 1px solid #334155;
    background: #0F172A;
}

/* Кнопки магазинов */
.store-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 28px 0 20px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    background: #2D3A5E;
    color: white;
    border: 1px solid #475569;
}

.btn-google { background: #0F9D58; border-color: #0F9D58; }
.btn-rustore { background: #0057FF; border-color: #0057FF; }
.btn-huawei { background: #FF6600; border-color: #FF6600; }
.btn:hover { transform: scale(1.02); filter: brightness(1.05); }

.legal-links {
    display: flex;
    gap: 24px;
    margin-top: 16px;
}

.legal-links a {
    color: #94A3B8;
    text-decoration: none;
    font-size: 0.85rem;
}

.legal-links a:hover {
    color: #60A5FA;
    text-decoration: underline;
}

footer {
    text-align: center;
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid #2D3A5E;
    font-size: 0.85rem;
    color: #64748B;
}

@media (max-width: 780px) {
    .store-buttons { justify-content: center; }
    .lang-selector { position: relative; text-align: right; margin-bottom: 16px; }
    .header { display: flex; flex-direction: column; align-items: flex-end; }
    .logo, .tagline { width: 100%; text-align: center; }
}