        /* Общие стили */
        body {
            margin: 0;
            font-family: 'Poppins', sans-serif;
            background-color: #0d0d0d;
            color: #f4f4f4;
            line-height: 1.6;
        }

        a {
            text-decoration: none;
            color: inherit;
        }

        /* Шапка */
        header {
            background: linear-gradient(to right, #2d2d2d, #1a1a1a);
            padding: 15px 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        header h1 {
            color: #ff5733;
            font-size: 1.8rem;
            margin: 0;
        }

        nav ul {
            list-style: none;
            display: flex;
            margin: 0;
            padding: 0;
        }

        nav ul li {
            margin-left: 20px;
        }

        nav ul li a {
            color: #f4f4f4;
            font-size: 1rem;
            transition: color 0.3s ease;
        }

        nav ul li a:hover {
            color: #ff5733;
        }

        /* Секция героя */
        .hero {
            position: relative;
            height: 75vh;
            display: flex;
            justify-content: center;
            align-items: center;
            text-align: center;
            color: #fff;
            overflow: hidden;
        }

        .hero::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: url('images/arkada-casino-banner.webp') no-repeat center center/cover;
            filter: blur(4px) brightness(0.7);
            z-index: 1;
        }

        .hero-content {
            position: relative;
            z-index: 2;
        }

        .hero h2 {
            font-size: 2.5rem;
            margin-bottom: 10px;
        }

        .hero p {
            font-size: 1.2rem;
            margin-bottom: 20px;
        }

        .hero a {
            display: inline-block;
            padding: 10px 25px;
            background-color: #ff5733;
            color: #fff;
            border-radius: 25px;
            font-size: 1.1rem;
            transition: transform 0.3s ease, background-color 0.3s ease;
        }

        .hero a:hover {
            transform: scale(1.1);
            background-color: #e14e2b;
        }

        /* Секции */
        section {
            padding: 40px 20px;
            text-align: center;
        }

        section h2 {
            color: #ff5733;
            margin-bottom: 20px;
            font-size: 2rem;
        }

        section p {
            margin-bottom: 20px;
            font-size: 1rem;
        }

        /* Футер */
        footer {
            background-color: #1a1a1a;
            text-align: center;
            padding: 20px;
            color: #f4f4f4;
            font-size: 0.9rem;
        }

        footer a {
            color: #ff5733;
            text-decoration: underline;
        }

        /* Адаптивность */
        @media (max-width: 768px) {
            header h1 {
                font-size: 1.5rem;
            }

            nav ul li a {
                font-size: 0.9rem;
            }

            .hero h2 {
                font-size: 2rem;
            }

            .hero p {
                font-size: 1rem;
            }

            .hero a {
                font-size: 1rem;
                padding: 10px 20px;
            }
        }
 #scroll-to-top {
        display: none;
        position: fixed;
        bottom: 20px;
        right: 20px;
        z-index: 999;
        background-color: #007bff;
        color: #fff;
        border: none;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        cursor: pointer;
    }

    #scroll-to-top:hover {
        background-color: #0056b3;
    }
body {
            font-family: Arial, sans-serif;
            margin: 0;
            padding: 0;
            background-color: #111;
            color: #fff;
        }
        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
            position: relative;
        }
        .logo {
            width: 100px;
            margin-top: 20px;
            margin-left: 20px;
        }
        .buttons {
            position: absolute;
            top: 20px;
            right: 20px;
        }
        .registration-button, .login-button, .navigation-button {
            display: inline-block;
            padding: 10px 20px;
            background-color: #ff6347;
            color: #fff;
            text-decoration: none;
            font-size: 18px;
            border-radius: 5px;
            margin-left: 10px;
        }
        .navigation {
            text-align: center;
            margin-top: 20px;
        }
        .navigation ul {
            list-style-type: none;
            padding: 0;
        }
        .navigation ul li {
            display: inline;
            margin-right: 20px;
        }
        .navigation ul li a {
            color: #fff;
            text-decoration: none;
            font-size: 18px;
        }
        .content-section {
            margin-bottom: 40px;
            text-align: center;
        }
        .content-section h2 {
            font-size: 36px;
            margin-bottom: 20px;
            color: #ff6347;
        }
        .content-section p {
            font-size: 20px;
            line-height: 1.6;
        }
        .banner {
            width: 100%;
            max-width: 800px;
            height: auto;
            display: block;
            margin: 0 auto 20px;
            border-radius: 10px;
        }
        .footer {
            background-color: #222;
            color: #fff;
            text-align: center;
            padding: 20px 0;
        }
        .bottom-buttons {
            text-align: center;
            margin-top: 40px;
        }
        .bottom-buttons a {
            display: inline-block;
            padding: 10px 20px;
            background-color: #ff6347;
            color: #fff;
            text-decoration: none;
            font-size: 18px;
            border-radius: 5px;
            margin: 0 10px;
        }
         h1 {
            margin-top: 0;
            font-size: 36px;
        }
        .game-list {
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
            justify-content: space-between;
            margin-top: 0px;
        }
        .game-card {
            background-color: #fff;
            border-radius: 10px;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
            overflow: hidden;
            width: calc(20% - 16px); /* Примерно 20% ширины контейнера с отступами */
            text-align: center;
            position: relative;
            transition: box-shadow 0.3s ease;
        }
        .game-card img {
            width: 100%;
            height: 200px; /* Установите желаемую высоту */
            object-fit: cover; /* Обрезать изображение до размера контейнера */
            transition: filter 0.3s ease;
        }
        .game-card:hover img {
            filter: brightness(0.7); /* Затемнение изображения при наведении */
        }
        .game-card h2 {
            margin: 10px 0;
            font-size: 24px;
            color: #000; /* Черный цвет для названия */
        }
        .game-card p {
            margin: 10px 0;
            font-size: 16px;
            color: #000; /* Черный цвет для описания */
        }
        .play-button {
            position: absolute;
            bottom: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background-color: #ff3b3f; /* Красный цвет кнопки */
            color: #fff;
            padding: 10px 20px;
            border: none;
            border-radius: 5px;
            cursor: pointer;
            font-size: 16px;
            text-decoration: none; /* Убираем подчеркивание */
            opacity: 0;
            transition: opacity 0.3s ease;
        }
        .game-card:hover .play-button {
            opacity: 1;
        }
        footer {
            background-color: #333;
            color: #fff;
            text-align: center;
            padding: 20px 0;
            clear: both;
            Margin-top: 20px;
        }
        /* Анимация фона с летающими точками */
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}
.star {
    position: absolute;
    width: 5px;
    height: 5px;
    background-color: #00ff00; /* Зеленый цвет */
    border-radius: 50%;
    animation: flying-stars 20s linear infinite;
}

@keyframes flying-stars {
    0% {
        transform: translate(100vw, <?php echo rand(0, 100); ?>%);
    }
    100% {
        transform: translate(-100%, <?php echo rand(0, 100); ?>%);
    }
}

        .pagination {
            margin-top: 20px;
            display: flex;
            justify-content: center;
        }
        .page-link {
            color: #fff;
            background-color: #ff3b3f;
            border: 1px solid #ff3b3f;
            padding: 8px 16px;
            border-radius: 5px;
            text-decoration: none;
            margin: 0 5px;
        }
        .page-link:hover {
            background-color: #fff;
            color: #ff3b3f;
        }
        /* Стили для кнопок */
        .btn-container {
            text-align: center;
            margin-top: 5px;
        }
        .btn {
            display: inline-block;
            background-color: #ff3b3f;
            color: #fff;
            padding: 10px 20px;
            border-radius: 5px;
            text-decoration: none;
            margin: 0 10px;
        }
        .btn:hover {
            background-color: #fff;
            color: #ff3b3f;
        }

        @media only screen and (max-width: 768px) {
            .game-card {
                width: calc(50% - 16px); /* Изменяем ширину на 50% с меньшими отступами */
            }
        }

        @media only screen and (min-width: 768px) {
            .game-card {
                width: calc(20% - 16px); /* Изменяем ширину на 20% с меньшими отступами */
            }
        }