/* 
   Стиль для лендинга "В разработке" и каталога игр
   Темная тема с зелеными засветами и эффектами
*/

:root {
    --primary-color: #00d166; /* Ярко-зеленый акцент */
    --secondary-color: #ffffff;
    --bg-dark: #0a0a0a;
    --card-bg: rgba(255, 255, 255, 0.03);
    --text-main: #ffffff;
    --text-muted: #888888;
    --accent-glow: rgba(0, 209, 102, 0.4);
}

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

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    min-height: 100vh;
}

/* Фоновая анимация */
.bg-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, #111111 0%, #000000 100%);
    z-index: -1;
}

.bg-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    filter: blur(80px);
    opacity: 0.4;
}

.blob {
    position: absolute;
    width: 500px;
    height: 500px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: move 25s infinite alternate;
    opacity: 0.2;
}

.blob-2 {
    background: #00ff88;
    left: 60%;
    top: 10%;
    width: 400px;
    height: 400px;
    animation-delay: -7s;
    animation-duration: 30s;
}

@keyframes move {
    from { transform: translate(-30%, -30%) rotate(0deg); }
    to { transform: translate(30%, 30%) rotate(360deg); }
}

/* Контейнер */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;
}

/* Лендинг "В разработке" */
.landing-content h1 {
    font-size: 5rem;
    font-weight: 900;
    letter-spacing: -2px;
    margin-bottom: 1rem;
    color: var(--secondary-color);
    text-transform: uppercase;
    text-shadow: 0 0 30px rgba(0, 209, 102, 0.3);
}

.landing-content p {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-weight: 300;
}

.status-badge {
    display: inline-block;
    padding: 0.6rem 1.8rem;
    border: 1px solid rgba(0, 209, 102, 0.3);
    border-radius: 50px;
    background: rgba(0, 209, 102, 0.1);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary-color);
    margin-bottom: 2rem;
    box-shadow: 0 0 20px rgba(0, 209, 102, 0.1);
}

/* Каталог игр */
.catalog-title {
    font-size: 3.5rem;
    margin-bottom: 4rem;
    text-transform: uppercase;
    font-weight: 900;
    letter-spacing: -1px;
    text-shadow: 0 0 30px rgba(0, 209, 102, 0.2);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    width: 100%;
}

.game-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    position: relative;
    backdrop-filter: blur(10px);
}

.game-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: rgba(0, 209, 102, 0.5);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 30px var(--accent-glow);
}

.game-thumb {
    width: 100%;
    aspect-ratio: 16 / 9; /* Строго 16:9 */
    background-size: cover;
    background-position: center;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.game-info {
    padding: 2rem;
    text-align: left;
}

.game-info h3 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
    color: var(--secondary-color);
}

.game-info p {
    color: var(--text-muted);
    font-size: 1rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.btn-play {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--primary-color);
    color: #000;
    text-decoration: none;
    font-weight: 800;
    border-radius: 12px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 209, 102, 0.3);
}

.btn-play:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 209, 102, 0.5);
    background: #00ef75;
}

.nav-links {
    position: absolute;
    top: 3rem;
    right: 3rem;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    margin-left: 3rem;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-color);
}

footer {
    color: rgba(255, 255, 255, 0.1);
}

/* Анимация при появлении */
.fade-in {
    animation: fadeIn 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    opacity: 0;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .landing-content h1 {
        font-size: 2.5rem;
    }
    .landing-content p {
        font-size: 1.1rem;
    }
    .games-grid {
        grid-template-columns: 1fr;
    }
}
