﻿.page-games {
    background-color: var(--site-bg, var(--bg));
}
    /*intro section*/

    .page-games .section-intro {
        padding: 80px 0;
        position: relative;
        overflow: hidden;
        min-height: 760px;
        background-image: url('/images/pages/how-intro-bg.png');
        background-size: cover;
        background-position: center bottom;
        background-repeat: no-repeat;
    }

        .page-games .section-intro .intro-child {
            position: absolute;
            pointer-events: none;
            user-select: none;
            max-width: none;
            z-index: 2;
            top: 60%;
            right: 0;
            transform: translateY(-50%);
        }

        .page-games .section-intro .content-container {
            height: 532px;
            padding-right: 520px;
            gap: 24px;
            display: block;
            padding-top: 220px;
            z-index: 4;
            position: relative;
            padding-right: 620px;
        }

        .page-games .section-intro h1 {
            line-height: 1.3;
        }

        .page-games .section-intro p {
            line-height: 1.3;
            margin-top: 14px;
        }


        /*LIB*/
    .page-games .section-lib {
        padding: 20px 0;
        position: relative;
        overflow: hidden;
        min-height: 460px;
        background-image: url('/images/pages/home-awards-bg.png');
        background-size: cover;
        background-position: center bottom;
        background-repeat: no-repeat;
    }

        .page-games .section-lib .lib-iphone-1 {
            position: absolute;
            top: 57%;
            left: -30px;
            pointer-events: none;
            user-select: none;
            max-width: none;
            z-index: 2;
            transform: translateY(-50%) scale(0.8);
        }

        .page-games .section-lib .lib-iphone-2 {
            position: absolute;
            top: 57%;
            left: 110px;
            pointer-events: none;
            user-select: none;
            max-width: none;
            z-index: 3;
            transform: translateY(-50%) scale(0.8);
        }

        .page-games .section-lib .content-container {
            position: relative;
            height: 370px;
            padding-left: 450px;
            gap: 24px;
            display: block;
            padding-top: 90px;
            position: relative;
        }



        .page-games .section-lib p {
            line-height: 1.4;
            margin-bottom: 18px;
        }
        .page-games .section-lib h3 {
            line-height: 1.4;
            margin-top: 18px;
            margin-bottom: 2px;
        }




        /*HOW*/

    .page-games .section-how {
        text-align: center;
        background: #0F466A;
        padding-top: 10px;
        padding-bottom: 20px;
        min-height: 500px;
    }

        .page-games .section-how p {
            line-height: 1.3;
            margin-bottom: 4px;
        }

        .page-games .section-how .title {
            margin: 14px auto;
        }
        .page-games .section-how .additional {
            text-align: left;
            margin-top: 26px;
        }
        .page-games .section-how ul {
            text-align: left;
            margin: 0;
            padding-top: 5px;
            list-style: none;
            padding-left: 0;
        }

        .page-games .section-how li {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
            line-height: 1.4;
        }

            .page-games .section-how li img {
                margin-right: 15px;
                flex-shrink: 0;
            }


            /*GAMELIST*/

    .page-games .section-gamelist {
        position: relative;
        width: 100%;
        overflow: hidden;
        margin-top: 60px;
        overflow: hidden;
        min-height: 608px;
    }



        .page-games .section-gamelist .content-container {
            position: relative;
            z-index: 3;
        }

        .page-games .section-gamelist .title {
            text-align: center;
            margin-bottom: 40px;
        }

    /* Сетка карточек */


        .page-games .section-gamelist .cards-grid {
            display: grid;
            grid-template-columns: repeat(2,1fr);
            gap: 36px;
            text-align: left;
            margin: 40px auto;
            line-height: 1.3;
        }

        .page-games .section-gamelist .card-image {
            display: block;
            max-width: 100%;
            height: auto;
        }




        .page-games .section-gamelist .cards-grid h1 {
            margin-top: 10px;
            margin-bottom: 12px;
            text-align: center;
            align-self: center;
        }
        .page-games .section-gamelist .cards-grid h2 {
            margin-top: 4px;
        }

        .page-games .section-gamelist .cards-grid p {
            margin-top: 8px;
            margin-bottom: 10px;
        }



        .page-games .section-gamelist .list {
            line-height: 1.3;
            list-style-type: disc;
            padding-left: 24px; 
            color: #333;
            margin-bottom: 10px;
        }

            .page-games .section-gamelist .list li::marker {
                color: #F05A28;
                font-size: 1.2em;
            }



        .page-games .section-gamelist .card {
            display: flex;
            align-items: flex-start;
            position: relative;
            flex-direction: column;
            padding: 16px;
            border-radius: 16px;
            border: 4px solid transparent;
            box-shadow: 0 10px 30px rgba(2, 6, 23, 0.06);
            backdrop-filter: blur(32px);
            background: rgba(255, 255, 255, 0.8);
        }


    /*Designed*/

    .page-games .section-designed {
        text-align: center;
        background: #0F466A;
        padding-top: 10px;
        padding-bottom: 50px;
        min-height: 500px;
    }

        .page-games .section-designed p {
            line-height: 1.3;
            margin-bottom: 4px;
        }

        .page-games .section-designed .title {
            margin: 14px auto;
        }

        .page-games .section-designed .additional {
            text-align: left;
        }

        .page-games .section-designed ul {
            text-align: left;
            padding-top: 5px;
            padding-bottom: 10px;
            list-style: none;
            padding-left: 0;
        }

        .page-games .section-designed li {
            display: flex;
            align-items: center;
            margin-bottom: 15px;
            line-height: 1.4;
        }

            .page-games .section-designed li img {
                margin-right: 15px;
                flex-shrink: 0;
            }
