.game-alert-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    display: none;
    justify-content: center;
    align-items: center;
}

.game-alert {
    position: relative;
    padding: 30px 30px 30px 30px;
    text-align: center;
    color: #fff;
    background-color: #1c1c1c;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease-out;
}

.game-alert-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    padding: 0 8px;
    transition: color 0.2s;
}

.game-alert-close:hover {
    color: #ff6b6b;
}

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


@media screen and (min-width:310px) and (max-width: 770px) {
    .game-body {
        padding: 10px 20px;
    }

    .game-boxes {
        width: 150px;
        cursor: pointer;
        background-color: #1c1c1c;
    }

    .game-boxes img {
        width: 100%;
    }

    .game-boxes p {
        padding: 5px 0px;
        font-size: 18px;
        font-weight: 700;
        text-align: center;
    }

    .banner img {
        width: 100%;
        height: 280px;
        /* yoki istalgan balandlik */
        object-fit: cover;
        /* rasm proporsiyasini saqlab, kerakli maydonni to'ldiradi */
        margin-bottom: -10px;
    }

    .games-section-a {
        padding: 10px 0px;
        background-color: #1c1c1c;
    }

    .games-section-a-a {
        width: 80%;
        margin: 0px auto 15px auto;
    }

    .games-section-a-a hr {
        background: linear-gradient(to right, #ff0000, #00ff00);
        height: 2px;
        margin-bottom: 10px;
        /* hr balandligi */
        border: none;
        /* default chegarasini o'chirish */
    }

    .game-main-body-title {
        text-align: center;
        font-size: 25px;
        margin-bottom: 20px;
    }

    .games-section-a-box {
        width: 100%;
        gap: 20px;
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        justify-content: center;
    }

    .games-section-a-box p {
        font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
        font-weight: 600;
        font-size: 14px;
    }

    .about-game ul {
        list-style: none;
        font-size: 14px;
    }

    .about-game .geektv-orni,
    h4 {
        text-shadow: 1px 1px 1px #fff;
        /* Matnga soyani qo'llaydi */
        font-size: 23px;
        margin: 0px 0px 15px 0px;
    }

    .game-box-button-main button{
        width: 100%;
        margin-top: 18px;
        color: #fff; 
        font-size: 16px;
        padding: 12px 24px; 
        border-radius: 8px; 
        border: none;
        outline: none;
        text-decoration: none; 
        font-weight: bold; 
        box-shadow: 0 3px 8px rgba(255,68,68,0.5);
    }

    
    /* ovoz */
    .ovoz-section {
        padding: 20px 0px;
        background-color: #1c1c1c;
    }

    .ovoz-box {
        width: 80%;
        margin: auto;
        display: grid;
        gap: 20px;
        grid-template-columns: repeat(1, 1fr);
    }

    .ovoz-box ul li {
        padding: 2px 0px;
    }

    /* corusel */
    .carousel-texts ul {
        font-size: 14px;
        list-style: none;
    }

    .carousel-texts ul li {
        padding: 5px 0px;
    }

    .carousel-texts h2 {
        margin: 0px 0px 10px 0px;
        text-shadow: 1px 1px 1px #fff;
    }

    .corusel-box {
        width: 90%;
        padding: 60px 0px;
        margin: auto;
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 30px;
    }

    .carousel {
        position: relative;
        width: 100%;
        height: 300px;
        overflow: hidden;
        border: 2px solid #333;
        border-radius: 10px;
    }

    .carousel .slide {
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        opacity: 0;
        transition: opacity 0.5s ease-in-out;
    }

    .carousel .slide.active {
        opacity: 1;
    }

    .carousel img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .carousel iframe {
        width: 100%;
        height: 100%;
        border: none;
    }

    .prev,
    .next {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background-color: rgba(0, 0, 0, 0.645);
        color: white;
        border: none;
        padding: 10px;
        cursor: pointer;
        font-size: 18px;
        border-radius: 5px;
    }

    .prev {
        left: 10px;
    }

    .next {
        right: 10px;
    }
    .promo-content ul {
        list-style: none;
    }
}

@media screen and (min-width:770px) and (max-width: 1320px) {
    .game-body {
        padding: 10px 20px;
    }

    .game-boxes {
        width: 150px;
        cursor: pointer;
        background-color: #1c1c1c;
    }

    .game-boxes img {
        width: 100%;
    }

    .game-boxes p {
        padding: 5px 0px;
        font-size: 18px;
        font-weight: 700;
        text-align: center;
    }

    .banner img {
        width: 100%;
        height: 280px;
        /* yoki istalgan balandlik */
        object-fit: cover;
        /* rasm proporsiyasini saqlab, kerakli maydonni to'ldiradi */
        margin-bottom: -10px;
    }

    .games-section-a {
        padding: 10px 0px;
        background-color: #1c1c1c;
    }

    .games-section-a-a {
        width: 80%;
        margin: 0px auto 15px auto;
    }

    .games-section-a-a hr {
        background: linear-gradient(to right, #ff0000, #00ff00);
        height: 2px;
        /* hr balandligi */
        border: none;
        /* default chegarasini o'chirish */
    }

    .game-main-body-title {
        font-size: 30px;
        margin-bottom: 20px;
    }

    .games-section-a-box {
        width: 100%;
        gap: 10%;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        justify-content: center;
    }

    .games-section-a-box p {
        font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
        font-weight: 600;
        font-size: 14px;
    }

    .about-game ul {
        list-style: none;
        font-size: 14px;
    }

    .about-game .geektv-orni,
    h4 {
        text-shadow: 1px 1px 1px #fff;
        /* Matnga soyani qo'llaydi */
        font-size: 23px;
        margin: 20px 0px 10px 0px;
    }

    .game-box-button-main button{
        width: 100%;
        margin-top: 18px;
        color: #fff; 
        font-size: 16px;
        padding: 12px 24px; 
        border-radius: 8px; 
        border: none;
        outline: none;
        text-decoration: none; 
        font-weight: bold; 
        box-shadow: 0 3px 8px rgba(255,68,68,0.5);
    }
    
    /* ovoz */
    .ovoz-section {
        padding: 20px 0px;
        background-color: #1c1c1c;
    }

    .ovoz-box {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        width: 80%;
        margin: auto;
    }

    .ovoz-box ul li {
        padding: 2px 0px;
    }

    /* corusel */
    .carousel-texts ul {
        font-size: 14px;
        list-style: none;
    }

    .carousel-texts ul li {
        padding: 5px 0px;
    }

    .carousel-texts h2 {
        margin: 0px 0px 10px 0px;
        text-shadow: 1px 1px 1px #fff;
    }

    .corusel-box {
        width: 70%;
        margin: auto;
        padding: 60px 0px;
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 30px;
    }

    .carousel {
        position: relative;
        width: 100%;
        height: 400px;
        overflow: hidden;
        border: 2px solid #333;
        border-radius: 10px;
    }

    .carousel .slide {
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        opacity: 0;
        transition: opacity 0.5s ease-in-out;
    }

    .carousel .slide.active {
        opacity: 1;
    }

    .carousel img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .carousel iframe {
        width: 100%;
        height: 100%;
        border: none;
    }

    .prev,
    .next {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background-color: rgba(0, 0, 0, 0.645);
        color: white;
        border: none;
        padding: 10px;
        cursor: pointer;
        font-size: 18px;
        border-radius: 5px;
    }

    .prev {
        left: 10px;
    }

    .next {
        right: 10px;
    }
}

@media screen and (min-width:1320px) and (max-width: 2000px) {

    .games-section-a-3 ul li {
        padding: 2px 0px !important;
    }

    .game-boxes {
        width: 200px;
        cursor: pointer;
        background-color: #1c1c1c;
    }

    .game-boxes img {
        width: 200px;
    }

    .game-boxes p {
        padding: 5px 0px;
        font-size: 18px;
        font-weight: 700;
        text-align: center;
    }

    .banner img {
        width: 100%;
        height: 280px;
        /* yoki istalgan balandlik */
        object-fit: cover;
        /* rasm proporsiyasini saqlab, kerakli maydonni to'ldiradi */
        margin-bottom: -10px;
    }

    .games-section-a {
        padding: 10px 0px;
        background-color: #1c1c1c;
    }

    .games-section-a-a {
        width: 80%;
        margin: 0px auto 15px auto;
    }

    .games-section-a-a hr {
        margin-bottom: 15px;
        background: linear-gradient(to right, #ff0000, #00ff00);
        height: 2px;
        /* hr balandligi */
        border: none;
        /* default chegarasini o'chirish */
    }

    .game-main-body-title {
        font-size: 30px;
        margin-bottom: 20px;
    }

    .games-section-a-box {
        width: 100%;
        gap: 40px;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        justify-content: center;
    }

    .games-section-a-box p {
        font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
        font-weight: 600;
        font-size: 14px;
        color: #d1dbd1;
    }

    .about-game ul {
        list-style: none;
        font-size: 14px;
    }

    .about-game .geektv-orni,
    h4 {
        text-shadow: 1px 1px 1px #fff;
        /* Matnga soyani qo'llaydi */
        font-size: 23px;
        margin: 0px 0px 10px 0px;
    }

    .game-box-button-main button{
        width: 100%;
        margin-top: 18px;
        color: #fff; 
        font-size: 16px;
        padding: 12px 24px; 
        border-radius: 8px; 
        border: none;
        outline: none;
        text-decoration: none; 
        font-weight: bold; 
        box-shadow: 0 3px 8px rgba(255,68,68,0.5);
    }
    
    /* ovoz */
    .ovoz-section {
        padding: 20px 0px;
        background-color: #1c1c1c;
    }

    .ovoz-box {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        width: 80%;
        margin: auto;
    }

    .ovoz-box ul li {
        padding: 2px 0px;
    }

    .promo-content h2 {
        text-shadow: 1px 1px 1px #fff;
    }

    .promo-content ul li:first-child{
        padding-top: 15px;
    }

    .promo-content ul li {
        list-style: none;
        padding: 5px 0px;
    }

    /* corusel */
    .carousel-texts {
        margin-top: 55px;
    }
    .carousel-texts ul {
        font-size: 14px;
        list-style: none;
    }

    .carousel-texts ul li {
        padding: 5px 0px;
    }

    .carousel-texts h2 {
        margin: 0px 0px 10px 0px;
        text-shadow: 1px 1px 1px #fff;
    }

    .corusel-box {
        width: 76%;
        padding: 60px 0px;
        margin: auto;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .carousel {
        position: relative;
        width: 600px;
        height: 400px;
        overflow: hidden;
        border: 2px solid #333;
        border-radius: 10px;
    }

    .carousel .slide {
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        opacity: 0;
        transition: opacity 0.5s ease-in-out;
    }

    .carousel .slide.active {
        opacity: 1;
    }

    .carousel img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .carousel iframe {
        width: 100%;
        height: 100%;
        border: none;
    }

    .prev,
    .next {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        background-color: rgba(0, 0, 0, 0.645);
        color: white;
        border: none;
        padding: 10px;
        cursor: pointer;
        font-size: 18px;
        border-radius: 5px;
    }

    .prev {
        left: 10px;
    }

    .next {
        right: 10px;
    }
    
}

