﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Raleway, 'Segoe UI', 'Inter', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
    background-color: #0a0c0f;
    color: #e0e4e8;
    line-height: 1.5;
    scroll-behavior: smooth;
}

:root {
    --accent: #fbbf24;
    --accent-dark: #7acc3a;
    --bg-darker: #050607;
    --bg-card: #1a1e24;
    --border-color: #2a2f38;
    --text-muted: #9aa3b4;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Типографика */
h1, h2, h3 {
    font-weight: 700;
    line-height: 1.2;
}

h1 {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(2rem, 6vw, 3rem);
    letter-spacing: -0.02em;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

    h2:after {
        content: '';
        display: block;
        width: 60%;
        height: 4px;
        background: var(--accent);
        margin-top: 8px;
        border-radius: 4px;
    }

/* Кнопки */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 60px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 1rem;
    border: 1px solid transparent;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--accent);
    color: #0a0c0f;
    box-shadow: 0 0 15px rgba(164, 255, 78, 0.3);
}

    .btn-primary:hover {
        background-color: #baff70;
        transform: scale(1.02);
        box-shadow: 0 0 25px rgba(164, 255, 78, 0.6);
    }

.btn-outline {
    border-color: var(--accent);
    color: var(--accent);
    background: transparent;
}

    .btn-outline:hover {
        background-color: rgba(164, 255, 78, 0.1);
    }

/* Мобильное меню */
.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--accent);
    cursor: pointer;
    background: none;
    border: none;
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 80px;
    left: 0;
    right: 0;
    background-color: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    padding: 20px;
    z-index: 99;
    backdrop-filter: blur(10px);
}

    .mobile-menu.active {
        display: block;
    }

    .mobile-menu a {
        display: block;
        padding: 15px 0;
        color: white;
        text-decoration: none;
        border-bottom: 1px solid var(--border-color);
        font-size: 1.1rem;
    }

        .mobile-menu a:last-child {
            border-bottom: none;
        }

        .mobile-menu a i {
            color: var(--accent);
            width: 30px;
        }

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
}

/* Карточки */
.card {
    background-color: var(--bg-card);
    border-radius: 24px;
    padding: 32px;
    border: 1px solid var(--border-color);
    transition: transform 0.2s, border-color 0.2s;
}

    .card:hover {
        border-color: var(--accent);
        transform: translateY(-4px);
    }

    .card h3 {
        margin-bottom: 20px;
    }

.card-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 20px;
}

/* Сетки */
.grid-2, .grid-3 {
    display: grid;
    gap: 32px;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

@media (max-width: 768px) {
    .grid-2, .grid-3 {
        grid-template-columns: 1fr;
    }
}

/* Блок hero */
.hero {
    padding: 80px 0 60px;
    background: radial-gradient(circle at 70% 30%, rgba(164, 255, 78, 0.08), transparent 40%);
}

    .hero p {
        font-size: 1.25rem;
        color: var(--text-muted);
        max-width: 600px;
        margin-bottom: 32px;
    }

.hero-buttons {
    display: inline-flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Галерея с фото из интернета */
.photo-showcase {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin: 60px 0 20px;
}

.photo-item {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    aspect-ratio: 16/9;
    cursor: pointer;
    transition: transform 0.3s;
    border: 1px solid var(--border-color);
}

    .photo-item:hover {
        border-color: var(--accent);
        transform: scale(1.02);
    }

    .photo-item img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .photo-item .overlay {
        position: absolute;
        bottom: 0;
        left: 0;
        right: 0;
        padding: 20px;
        background: linear-gradient(transparent, rgba(0,0,0,0.8));
        color: white;
        font-weight: 700;
        font-size: 1.2rem;
    }

@media (max-width: 768px) {
    .photo-showcase {
        grid-template-columns: 1fr;
    }
}

/* Таблица рейтинга */
.rating-preview {
    background-color: var(--bg-card);
    border-radius: 24px;
    padding: 24px;
    border: 1px solid var(--border-color);
}

.rating-row {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
}

    .rating-row:last-child {
        border-bottom: none;
    }

.rating-pos {
    font-weight: 700;
    color: var(--accent);
    width: 40px;
}

.rating-name {
    flex: 1;
    font-weight: 500;
}

.rating-score {
    color: var(--text-muted);
}

/* Бейджи */
.badge {
    display: inline-block;
    background-color: rgba(164, 255, 78, 0.15);
    color: var(--accent);
    padding: 6px 12px;
    border-radius: 60px;
    font-size: 0.85rem;
    font-weight: 600;
    border: 1px solid rgba(164, 255, 78, 0.3);
    margin-right: 12px;
    margin-bottom: 8px;
}

/* Фоновые секции с изображениями */
.section-with-bg {
    position: relative;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

    .section-with-bg::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(10, 12, 15, 0.65);
        backdrop-filter: blur(2px);
    }

    .section-with-bg > * {
        position: relative;
        z-index: 1;
    }

.bg-games {
    background-image: url('/landing/assets/background-photo-1.jpg');
}

.bg-daily {
    background-image: url('/mediafiles/7a67m6/b36eab8e-3102-4621-96cf-ba8e11e92a4e.jpg');
}

.bg-premium {
    background-image: url('/landing/main/photo-1456513080510-7bf3a84b82f8.jpg');
}

.bg-corp {
    background-image: url('/landing/main/photo-1542744173-8e7e53415bb0.jpg');
}

/* Футер */
.footer {
    margin-top: 80px;
    padding: 40px 0;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    text-align: center;
}
