@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700&display=swap');

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

html, body {
    width: 100%;
    margin: 0 auto;
    font-family: 'Montserrat', sans-serif;
    overflow-x: hidden;
    
}
html.plavnyy-skroll {
    scroll-behavior: smooth;
}

.hero {
    height: 800px;
    position: relative;
    background-color: #E1FF8F;
    width: 100%;
}

.hero-center {
    height: 100%;
    padding-left: calc(50% - 600px);
    padding-right: calc(50% - 600px);
    position: relative;
    width: 100%;
}

.container {
    position: absolute;
    top: 196px;

    width: 769px;
    height: 358px;
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.text-block {
    display: flex;
    flex-direction: column;
    width: 769px;
    height: 244px;
    gap: 24px;
}

h1 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 64px;
    line-height: 100%;
    letter-spacing: 0px;
    vertical-align: middle;
    color: black;
}

.game-description {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 32px;
    letter-spacing: 0px;
    vertical-align: middle;
    color: black;
    margin: 0;
    margin-right: 49px;
}

.game-description .bold {
    font-weight: 600;
    font-size: 24px;
    line-height: 32px;
    letter-spacing: 0px;
    vertical-align: middle;
    color: black;
}

.btn {
    display: inline-flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 247px;
    height: 66px;
    padding: 16px 28px;
    gap: 10px;
    border: 1px solid black;
    border-radius: 60px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 24px;
    line-height: 32px;
    text-decoration: none;
    color: #FFFFFF;
    background-color: black;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background-color: #FFFFFF;
    color: black;
    border: 1px solid black;
}

.games-row {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 90px;
    background: #BCEC30;
    box-sizing: border-box;
    padding: 27px 0;
    overflow: hidden;
    z-index: 10;
}

.games-track {
    display: flex;
    align-items: center;
    gap: 51px;
    padding: 0 49px;
    width: max-content;
    animation: scrollGames 40s linear infinite;
}

.game-item {
    white-space: nowrap;
    width: auto;
    height: auto;
    font-weight: 600;
    font-size: 28px;
    line-height: 1.2;
    letter-spacing: 1px;
    color: black;
    text-align: center;
    display: inline-block;
}

.divider-star {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    flex-shrink: 0;
}

.divider-star img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

@keyframes scrollGames {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}


.decor-star {
    position: absolute;
    object-fit: contain;
    pointer-events: none;
    z-index: 5;
}

 .star-2 {
    width: 57px;
    height: 57px;
    top: 94px;
    left: 63px;
}

.star-3 {
    width: 35px;
    height: 35px;
    top: 69px;
    left: 156px;
}

 .star-4 {
    width: 83px;
    height: 83px;
    top: 568px;
    left: 1013px;
}

.star-5 {
    width: 37px;
    height: 37px;
    top: 538px;
    left: 948px;
}
  


.image-block {
    position: absolute;
    right: 0;
    top: 0;
    width: auto;
    height: auto;
    max-width: 50%;
    z-index: 1;
    pointer-events: none;
}

.image-block img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

.games-section {
    width: 100%;
    min-height: 1470px;
    background-color: #000000;
    position: relative;
}

.games-center {
    
    position: relative;
     padding-left: calc(50% - 600px);
    padding-right: calc(50% - 600px);
    width: 100%;
    min-height: 1470px;
}

.games-container {
position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 72px;
}

.games-header {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 94px;
}

.games-header h2 {
    width: 314px;
    height: 78px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 64px;
    line-height: 100%;
    color: #FFFFFF;
    margin: 0;
}

.games-header p {
    width: 788px;
    height: 96px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 32px;
    color: #FFFFFF;
    margin: 0;
}

.columns-wrapper {
    display: flex;
    flex-direction: row;
    gap: 32px;
    width: 100%;
}

.first-column {
    width: 378px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.second-column {
    width: 378px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.third-column {
    width: 378px;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.card-link {
    text-decoration: none;
    display: block;
    transition: transform 0.3s ease;
}

.card-link:hover {
    transform: scale(1.02);
}

.card {
    width: 378px;
    border-radius: 30px;
    background-color: #FFFFFF;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.card--guess-number {
    height: 473px;
}

.card--rps {
    height: 551px;
}

.card--arithmetic {
    height: 512px;
}

.card--quiz {
    height: 512px;
}

.card--reverse-text {
    height: 473px;
}

.card--color-generator {
    height: 551px;
}

.card__image {
    width: 378px;
    height: 314px;
    border-radius: 30px 30px 0 0;
    overflow: hidden;
}

.card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.card__content {
    width: 378px;
    padding: 32px 32px 36px 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #FFFFFF;
}

.card--guess-number .card__content {
    height: 159px;
}

.card--rps .card__content {
    height: 237px;
}

.card--arithmetic .card__content {
    height: 198px;
}

.card--quiz .card__content {
    height: 198px;
}

.card--reverse-text .card__content {
    height: 159px;
}

.card--color-generator .card__content {
    height: 237px;
}

.card__badge {
    width: 108px;
    height: 36px;
    padding: 8px 16px 10px 16px;
    border-radius: 52.58px;
    background-color: #F7F7F7;
    border: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 16px;
    color: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    align-self: flex-start;
    margin: 0;
    pointer-events: none;
}

.card--arithmetic .card__badge {
    width: 111px;
}

.card__button:hover {
    background-color: #e0e0e0;
}

.card__title {
    width: 314px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 32px;
    line-height: 100%;
    color: #000000;
    margin: 0;
    align-self: flex-start;
    word-break: keep-all;
}

.card--guess-number .card__title {
    height: 39px;
}

.card--rps .card__title {
    height: 117px;
}

.card--arithmetic .card__title {
    height: 78px;
}

.card--quiz .card__title {
    height: 78px;
}

.card--reverse-text .card__title {
    height: 78px;
}

.card--color-generator .card__title {
    height: 117px;
}

.games-star-1 {
     position: absolute;
    width: 584.72px;
    height: 584.72px;
    top: -5%;          
    right: -10%;        
    left: auto;
    transform: rotate(6.77deg);
    object-fit: contain;
    pointer-events: none;
    z-index: 0;
   
}

.games-star-12 {
     position: absolute;
    width: 54.6px;
    height: 54.6px;
    top: 822px;
    left: 40px;
    transform: rotate(-5.45deg);
    object-fit: contain;
    pointer-events: none;
    z-index: 5; 
    
}

.games-star-11 {
    position: absolute;
    width: 31.34px;
    height: 31.34px;
    top: 770px;
    left: 25px;
    transform: rotate(-5.45deg);
    object-fit: contain;
    pointer-events: none;
    z-index: 5;
}
.vector-33 {
    display: none;
}

@media (max-width: 376px) {
    .hero-center,
    .games-center {
        max-width: 100%;
        padding-left: 16px;
        padding-right: 16px;
    }

    .hero {
        height: 700px;
        position: relative;
        background-color: #E1FF8F;
    }

    .container {
        position: static;
         width: 343px;
    margin: 0 auto;
    padding: 147px 0 0;
    display: flex;
    flex-direction: column;
    gap: 36px;
    height: auto;
    min-height: 371px;
    z-index: 10;
    }

    .text-block {
        width: 296px;
        height: 280px;
        margin: 0 auto;
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    h1 {
        font-weight: 700;
        font-size: 40px;
        line-height: 100%;
        letter-spacing: 0px;
        text-align: center;
        color: #000000;
        width: 262px;
        height: 196px;
        margin: 0 auto;
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        white-space: pre-line;
    }

    .game-description {
        font-family: 'Montserrat', sans-serif;
        font-weight: 400;
        font-size: 16px;
        line-height: 20px;
        letter-spacing: 0px;
        text-align: center;
        color: #000000;
        width: 296px;
        height: 60px;
        margin: 0 auto;
    }

    .game-description .bold {
        font-family: 'Montserrat', sans-serif;
        font-weight: 600;
        font-size: 16px;
        line-height: 20px;
        letter-spacing: 0px;
        text-align: center;
        color: #000000;
        display: inline;
        margin: 0;
        padding: 0;
    }

    .game-description br {
        display: none;
    }

    .btn {
        width: 285px;
        height: 55px;
        margin: 0 auto;
        font-size: 16px;
        line-height: 55px;
        padding: 0 28px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        position: relative;
        z-index: 10;
    }

    .decor-star {
        display: block;
        position: absolute;
        object-fit: contain;
        pointer-events: none;
        z-index: 1;
    }

    .star-2 {
        width: 35px;
        height: 35px;
        top: 97px;
        left: 38px;
    }

    .star-3 {
        width: 21px;
        height: 21px;
        top: 64px;
        left: 92px;
    }

    .star-4 {
        width: 39px;
        height: 41px;
        top: 580px;
        left: 304px;
    }

    .star-5 {
        width: 18px;
        height: 18px;
        top: 557px;
        left: 273px;
    }

    .games-row {
        top: auto;
        bottom: 0;
        height: 51px;
        padding: 16px 0;
        position: absolute;
        left: 0;
        width: 100%;
        background: #BCEC30;
        box-sizing: border-box;
        overflow: hidden;
        z-index: 10;
    }

    .games-track {
        display: flex;
        align-items: center;
        gap: 27.4px;
        padding: 0 16px;
        width: max-content;
        animation: scrollGames 40s linear infinite;
    }

    .image-block {
        display: none;
    }

    .game-item {
        width: auto;
        height: auto;
        font-size: 16px;
        line-height: 19.34px;
        white-space: nowrap;
        display: inline-block;
        font-weight: 600;
        color: black;
        text-align: center;
    }

    .divider-star {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 20px;
        height: 20px;
        flex-shrink: 0;
    }

    .divider-star img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .games-section {
        width: 100%;
        min-height: auto;
        padding: 40px 0;
        position: relative;
        overflow: hidden;
    }

    .games-center {
        min-height: auto;
    }

    .games-container {
        position: static;
        padding: 0;
        gap: 40px;
        z-index: 10;
    }

    .games-header {
        width: 100%;
    }

    .games-header h2 {
        width: 100%;
        height: auto;
        font-size: 40px;
        line-height: 100%;
        text-align: center;
        color: #FFFFFF;
    }

    .games-header p {
        width: 100%;
        height: auto;
        font-size: 16px;
        line-height: 20px;
        text-align: center;
        color: #FFFFFF;
    }

    .columns-wrapper {
        flex-direction: column;
        gap: 24px;
    }

    .first-column,
    .second-column,
    .third-column {
        width: 100%;
        gap: 24px;
    }

    .card-link {
        width: 100%;
        text-decoration: none;
        display: block;
    }

    .card {
        width: 100%;
        max-width: 378px;
        margin: 0 auto;
        border-radius: 30px;
        background-color: #FFFFFF;
        overflow: hidden;
    }

    .card__image {
        width: 100%;
        height: auto;
        aspect-ratio: 378/314;
    }

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

    .card__content {
        width: 100%;
        padding: 24px 20px;
        background-color: #FFFFFF;
    }

    .card__badge {
        font-size: 14px;
        width: auto;
        min-width: 90px;
        height: 32px;
        padding: 6px 12px;
        border-radius: 52.58px;
        background-color: #F7F7F7;
        font-weight: 600;
        color: #000000;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 16px;
    }

    .card__title {
        font-size: 24px;
        line-height: 100%;
        width: 100%;
        font-weight: 700;
        color: #000000;
    }

    .games-star-1,
    .games-star-11,
    .games-star-12 {
        display: none;
    }

    .vector-33 {
        height: auto;
        left: auto;
        right: 0px; 
     position: absolute;
    object-fit: contain;
    pointer-events: none;
    z-index: 5;
        
    }
    .games-section {
        display: none;
    }
}

.mini-games {
    background-color: #000000;
    width: 100%;
    padding: 94px 0 72px; 
    position: relative;
}

.mini-games__container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 72px;
    margin-top: 48px;
}

.mini-games__title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 64px;
    line-height: 100%;
    color: #FFFFFF;
    margin: 0;
    width: 400px; 
}

.games-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}


.game-card {
    display: flex;
    width: 100%;
    height: 500px;
    border-radius: 30px;
    overflow: hidden;
    background-color: #FFFFFF;
}


.game-card--image-left {
    flex-direction: row-reverse;
}

.game-card__cover {
    width: 600px;
    height: 500px;
    flex-shrink: 0;
}

.game-card__cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


.game-card__content {
    width: 600px;
    height: 500px;
    padding: 48px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background-color: #FFFFFF;
    box-sizing: border-box;
}

.game-card__inner {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 504px;
    height: auto;
    gap: 36px;
}

.game-card__text {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 504px;  
    max-width: 100%;
}

.game-card__name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 48px;
    line-height: 100%;
    color: #000000;
    margin: 0;
    width: 100%;
    word-break: break-word;
}

.game-card__description {
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 24px;
    line-height: 32px;
    color: #000000;
    margin: 0;
    max-width: 457px; 
}


.game-card__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 247px;
    height: 66px;
    padding: 16px 28px;
    border: 1px solid #000000;
    border-radius: 60px;
    background-color: #000000;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 24px;
    line-height: 142%;
    color: #FFFFFF;
    text-decoration: none;
    box-sizing: border-box;
    transition: all 0.3s ease;
    margin-top: auto; 
}

.game-card__button:hover {
    background-color: #FFFFFF;
    color: #000000;
}


.footer {
    height: 150px;
    width: 100%;
    background-color: #BDED35;
    padding: 24px 0; 
}

.footer__container {
    max-width: 1200px;
    margin: 0 auto;
    text-align: left; /
}

.footer__copyright {
   font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 24px;
    line-height: 100%;
    color: #000000;
    margin: 0;
    height: 29px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 61px;
}
 
.mini-games__star-7 {
    position: absolute;
    width: 35.15px;
    height: 35.15px;
    top: 93px;        
    left: 1277px;     
    transform: rotate(-7.08deg);
    object-fit: contain;
    pointer-events: none;
    z-index: 5;
}

.mini-games__star-6 {
    position: absolute;
    width: 68.86px;
    height: 68.86px;
    top: 126px;        
    left: 1320px;       
    transform: rotate(-5.45deg);
    object-fit: contain;
    pointer-events: none;
    z-index: 5;
}

.mini-games__star-10 {
    position: absolute;
    width: 41px;
    height: 41px;
    top: 3414px;      
    left: 1249px;       
    transform: rotate(0deg);
    object-fit: contain;
    pointer-events: none;
    z-index: 5;
}

.mini-games__star-8 {
    position: absolute;
    width: 69px;
    height: 69px;
    top: 3366px;       
    left: 1319px;       
    transform: rotate(0deg);
    object-fit: contain;
    pointer-events: none;
    z-index: 5;
}

@media (max-width: 376px) {
    .mini-games {
        padding: 40px 16px 40px;
        background-color: #000000;
        width: 100%;
        position: relative;
        overflow: hidden;
    }

    .mini-games__container {
        max-width: 100%;
        margin: 0 auto;
        display: flex;
        flex-direction: column;
        gap: 40px;
    }

    .mini-games__title {
        font-family: 'Montserrat', sans-serif;
        font-weight: 700;
        font-size: 40px;
        line-height: 100%;
        color: #FFFFFF;
        margin: 0;
        width: 100%;
        text-align: left;
    }

    .games-list {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    .game-card {
        display: flex;
        flex-direction: column;
        width: 100%;
        height: auto;
        border-radius: 30px;
        overflow: hidden;
        background-color: #FFFFFF;
    }

    .game-card--image-left,
    .game-card--image-right {
        flex-direction: column;
    }

    .game-card__cover {
        width: 100%;
        height: auto;
        aspect-ratio: 343/285;
        flex-shrink: 0;
    }

    .game-card__cover img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
    }

    .game-card__content {
        width: 100%;
        height: auto;
        padding: 24px 20px;
        display: flex;
        flex-direction: column;
        gap: 10px;
        background-color: #FFFFFF;
        box-sizing: border-box;
    }

    .game-card__inner {
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: 100%;
        height: auto;
        gap: 24px;
    }

    .game-card__text {
        display: flex;
        flex-direction: column;
        gap: 16px;
        width: 100%;
        max-width: 100%;
    }

    .game-card__name {
        font-family: 'Montserrat', sans-serif;
        font-weight: 700;
        font-size: 32px;
        line-height: 100%;
        color: #000000;
        margin: 0;
        width: 100%;
        word-break: break-word;
    }

    .game-card__description {
        font-family: 'Montserrat', sans-serif;
        font-weight: 400;
        font-size: 16px;
        line-height: 20px;
        color: #000000;
        margin: 0;
        max-width: 100%;
    }

    .game-card__button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 186px;
        height: 55px;
        padding: 16px 28px;
        border: 1px solid #000000;
        border-radius: 60px;
        background-color: #000000;
        font-family: 'Montserrat', sans-serif;
        font-weight: 600;
        font-size: 16px;
        line-height: 142%;
        color: #FFFFFF;
        text-decoration: none;
        box-sizing: border-box;
        transition: all 0.3s ease;
        margin-top: 0;
    }

    .game-card__button:hover {
        background-color: #FFFFFF;
        color: #000000;
    }
  
.mini-games__star-7,
    .mini-games__star-6,
    .mini-games__star-10,
    .mini-games__star-8 {
        display: none;
    }

  
    .footer {
        width: 100%;
        background-color: #BDED35;
        padding: 16px 0;
    }

    .footer__container {
        max-width: 100%;
        margin: 0 auto;
        text-align: center;
        padding: 0 16px;
    }

    .footer__copyright {
        
        font-size: 16px;
        line-height: 20px;
        color: #000000;
        margin: 0;
        text-align: center;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 40px;
    }
    
}


@media (min-width: 377px) and (max-width: 768px) {
   
    .hero {
        height: auto;
        min-height: 600px;
    }
    
    .hero-center {
        padding-left: 20px;
        padding-right: 20px;
        padding-top: 50px;
        padding-bottom: 70px;
    }
    
    .container {
        position: static;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        gap: 32px;
        align-items: center;
        text-align: center;
    }
    
    .text-block {
        width: 100%;
        max-width: 100%;
        height: auto;
        align-items: center;
    }
    
    h1 {
        font-size: 36px;
        line-height: 1.2;
        text-align: center;
    }
    
    .game-description {
        font-size: 16px;
        line-height: 22px;
        text-align: center;
        margin-right: 0;
    }
    
    .game-description .bold {
        font-size: 16px;
        line-height: 22px;
    }
    
    .btn {
        width: 240px;
        height: 52px;
        font-size: 18px;
        line-height: 52px;
        padding: 0;
    }
    
    
    .star-2, .star-3, .star-4, .star-5 {
        display: none;
    }
    
    .image-block {
        display: none;
    }
    
    
    .games-row {
        height: 55px;
        padding: 16px 0;
    }
    
    .games-track {
        gap: 30px;
        padding: 0 20px;
    }
    
    .game-item {
        font-size: 16px;
    }
    
    .divider-star {
        width: 22px;
        height: 22px;
    }
    
   
    .games-section {
        min-height: auto;
        padding: 50px 0;
    }
    
    .games-center {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .games-container {
        gap: 40px;
    }
    
    .games-header {
        margin-top: 0;
        text-align: center;
        align-items: center;
        gap: 16px;
    }
    
    .games-header h2 {
        width: auto;
        height: auto;
        font-size: 36px;
    }
    
    .games-header p {
        width: 100%;
        height: auto;
        font-size: 16px;
        line-height: 22px;
    }
    
   
    .columns-wrapper {
        flex-direction: column;
        gap: 24px;
        align-items: center;
    }
    
    .first-column,
    .second-column,
    .third-column {
        width: 100%;
        max-width: 380px;
        gap: 24px;
        align-items: center;
    }
    
    .card {
        width: 100%;
        max-width: 380px;
    }
    
    .card__image {
        width: 100%;
        height: auto;
        aspect-ratio: 378 / 314;
    }
    
    .card__content {
        width: 100%;
        padding: 20px 16px;
    }
    
    .card__title {
        font-size: 24px;
    }
    
  
    .games-star-1,
    .games-star-11,
    .games-star-12 {
        display: none;
    }
    
  
    .mini-games {
        padding: 50px 0;
    }
    
    .mini-games__container {
        padding-left: 20px;
        padding-right: 20px;
        gap: 40px;
    }
    
    .mini-games__title {
        font-size: 36px;
        width: 100%;
        text-align: center;
    }
    
    .games-list {
        gap: 28px;
    }
    
    .game-card {
        flex-direction: column !important;
        height: auto;
        max-width: 450px;
        margin: 0 auto;
    }
    
    .game-card__cover {
        width: 100%;
        height: auto;
        aspect-ratio: 600 / 400;
    }
    
    .game-card__content {
        width: 100%;
        height: auto;
        padding: 28px 20px;
    }
    
    .game-card__inner {
        max-width: 100%;
        gap: 20px;
        align-items: center;
        text-align: center;
    }
    
    .game-card__text {
        width: 100%;
        gap: 14px;
        align-items: center;
    }
    
    .game-card__name {
        font-size: 28px;
        text-align: center;
    }
    
    .game-card__description {
        font-size: 16px;
        line-height: 22px;
        text-align: center;
    }
    
    .game-card__button {
        width: 190px;
        height: 50px;
        font-size: 16px;
    }
    
   
    .mini-games__star-6,
    .mini-games__star-7,
    .mini-games__star-8,
    .mini-games__star-10 {
        display: none;
    }
    
   
    .footer {
        height: auto;
        padding: 25px 0;
    }
    
    .footer__copyright {
        font-size: 16px;
        margin-top: 0;
    }
}

@media (min-width: 769px) and (max-width: 1200px) {
    
    .hero-center,
    .games-center {
        padding-left: 40px;
        padding-right: 40px;
        max-width: 100%;
    }
    
    .mini-games__container {
        padding-left: 40px;
        padding-right: 40px;
        max-width: 100%;
    }
    

    .container {
        position: relative;
        top: 120px;
        width: 100%;
        max-width: 550px;
        margin: 0;
        gap: 32px;
    }
    
    .text-block {
        width: 100%;
        max-width: 550px;
        height: auto;
    }
    
    h1 {
        font-size: 48px;
    }
    
    .game-description {
        font-size: 20px;
        line-height: 28px;
        margin-right: 0;
    }
    
    .game-description .bold {
        font-size: 20px;
        line-height: 28px;
    }
    
    
   
    .star-2 {
        width: 45px;
        height: 45px;
        top: 70px;
        left: 30px;
    }
    
    .star-3 {
        width: 28px;
        height: 28px;
        top: 50px;
        left: 110px;
    }
    
    .star-4 {
        width: 65px;
        height: 65px;
        top: 480px;
        left: auto;
        right: 40px;
    }
    
    .star-5 {
        width: 30px;
        height: 30px;
        top: 450px;
        left: auto;
        right: 100px;
    }
    
   
    .games-header h2 {
        font-size: 48px;
    }
    
    .games-header p {
        width: 100%;
        max-width: 100%;
        font-size: 20px;
        line-height: 28px;
        height: auto;
    }
    

    .columns-wrapper {
        gap: 20px;
        justify-content: center;
    }
    
    .first-column,
    .second-column,
    .third-column {
        width: 300px;
    }
    
    .card {
        width: 300px;
    }
    
    .card__image {
        width: 300px;
        height: 249px;
    }
    
    .card__content {
        width: 300px;
        padding: 20px 16px;
    }
    
    .card__title {
        width: 100%;
        font-size: 24px;
    }
    
    .card__badge {
        font-size: 14px;
        width: auto;
        min-width: 85px;
        height: 32px;
        padding: 6px 12px;
    }
    
  
    .card--guess-number,
    .card--reverse-text {
        height: auto;
        min-height: 380px;
    }
    
    .card--rps,
    .card--color-generator {
        height: auto;
        min-height: 440px;
    }
    
    .card--arithmetic,
    .card--quiz {
        height: auto;
        min-height: 410px;
    }
    
    .card--guess-number .card__content,
    .card--rps .card__content,
    .card--arithmetic .card__content,
    .card--quiz .card__content,
    .card--reverse-text .card__content,
    .card--color-generator .card__content {
        height: auto;
    }
    
    
    .mini-games {
        padding: 70px 0 60px;
    }
    
    .mini-games__title {
        font-size: 48px;
        width: auto;
    }
    
    .games-list {
        gap: 28px;
    }
    
    .game-card {
        height: 400px;
    }
    
    .game-card__cover {
        width: 450px;
        height: 400px;
    }
    
    .game-card__content {
        width: 450px;
        height: 400px;
        padding: 35px;
    }
    
    .game-card__inner {
        max-width: 380px;
        gap: 24px;
    }
    
    .game-card__text {
        gap: 18px;
    }
    
    .game-card__name {
        font-size: 36px;
    }
    
    .game-card__description {
        font-size: 18px;
        line-height: 26px;
    }
    
    .game-card__button {
        width: 210px;
        height: 54px;
        font-size: 18px;
    }
    
    
    .mini-games__star-7 {
        width: 28px;
        height: 28px;
        top: 70px;
        left: auto;
        right: 60px;
    }
    
    .mini-games__star-6 {
        width: 55px;
        height: 55px;
        top: 100px;
        left: auto;
        right: 20px;
    }
    
    .mini-games__star-10 {
        width: 35px;
        height: 35px;
        top: auto;
        bottom: 150px;
        left: auto;
        right: 80px;
    }
    
    .mini-games__star-8 {
        width: 55px;
        height: 55px;
        top: auto;
        bottom: 110px;
        left: auto;
        right: 30px;
    }
}