@font-face {
    font-family: Audiowide;
    font-style: bold;
    font-weight: 400;
    font-display: swap;
    src: url('../hunbestgames-fontsrPg/hunbestgames-audiowide-regular.woff2') format("woff2")
}

@font-face {
    font-family: Open Sans;
    font-style: normal;
    font-display: swap;
    src: url('../hunbestgames-fontsrPg/hunbestgames-opensans.woff2') format("woff2")
}

h1,
h2,
h3,
h4,
p {
    margin: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background-repeat: no-repeat;
    color: #fff;
}

html,
body {
    overflow-x: hidden;
}

ul {
    list-style: none;
    padding: 0;
}

.hunbestgames-18toprPg {
    background-image: url('../hunbestgames-imgrPg/hunbestgames-18+toprPg.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    width: 23px;
    height: 10px;
    flex-shrink: 0;
}

.hunbestgames-navrPgbarrPg-containerrPg-toprPg p {
    font-family: Open Sans;
    font-weight: 600;
    font-style: SemiBold;
    font-size: 16px;
    line-height: 22px;
    color: #fff;
}

.hunbestgames-navrPgbarrPg-containerrPg-toprPg {
    background: linear-gradient(90deg, #00C8CD 0%, #505CC8 51.92%, #5635C6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 2px 0px;
}

.hero-containerrPg {
    margin: 0 auto;
    background-position: center;
}

.hunbestgames-p_container-descrrPg {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.hunbestgames-p_container-descrrPg div {
    width: 160px;
    height: 160px;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 30%;
}

.pic1rPg {
    background-image: url('../hunbestgames-imgrPg/hunbestgames-card1.webp');
}

.pic2rPg {
    background-image: url('../hunbestgames-imgrPg/hunbestgames-card2.webp');
}

.pic3rPg {
    background-image: url('../hunbestgames-imgrPg/hunbestgames-card3.webp');
}

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0px 20px;
}

.hero-cardrPg {
    margin-top: -80px;
}

.hunbestgames-navrPgbarrPg-containerrPg {
    display: flex;
    justify-content: space-between;
    max-width: 1240px;
    margin: 0 auto;
    align-items: center;
    padding: 16px 10px;
}

.hunbestgames-navrPgbarrPg {
    background: #01051C1A;
    backdrop-filter: blur(10px);
    box-shadow: 0px 4px 10px 0px #0003101A;
}

.nav {
    display: flex;
    align-items: center;
    gap: 60px;
}

/* Navbar */

.hunbestgames-navrPgbarrPg .container {
    background: #FFFFFF33;
    padding: 8px 17px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: auto;
    position: relative;
    /* ВАЖНО: для абсолютного меню */
    max-width: 1340px;
    margin: 0px auto;
    z-index: 10;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    backdrop-filter: blur(10px)
}

.hunbestgames-navrPg {
    display: flex;
    gap: 32px;
    margin: 0;
    align-items: center;
}

.hunbestgames-navrPgbarrPg nav a {
    font-family: Open Sans;
    font-weight: 600;
    font-style: SemiBold;
    font-size: 16px;
    text-align: center;
    text-decoration: none;
    transition: opacity 0.3s ease;
    color: #B0CAFF;
}

.hunbestgames-navrPgbarrPg nav a:hover {
    color: #fff;
    font-weight: 600;
}

.hunbestgames-navrPgbarrPg nav a.active {
    color: #fff;
    font-weight: 700;
}

.hunbestgames-navrPgbarrPg .hunbestgames-logorPg {
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: Audiowide;
    font-weight: 700;
    font-style: Bold;
    font-size: 16px;
    text-transform: uppercase;
}

.hunbestgames-burgerrPg {
    display: none;
    cursor: pointer;
}

/* Hero */
.hunbestgames-herorPg {
    background-image: url('../hunbestgames-imgrPg/hunbestgames-hero.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hunbestgames-infoherorPg {
    display: flex;
    padding-left: 24px;
    padding-right: 24px;
    justify-content: center;
    text-align: center;
    max-width: 1240px;
    margin: 0 auto;
}

.hunbestgames-herorPg h1 {
    font-family: Audiowide;
    font-weight: 400;
    font-size: 70px;
    text-align: center;
}

.hunbestgames-herorPg p {
    font-family: Open Sans;
    font-weight: 400;
    font-size: 20px;
    line-height: 120%;
    color: #C6E3FF;
}

.hunbestgames-descr_blockrPg {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    padding: 100px 0px;
    justify-content: center;
    align-items: center;
}

.hunbestgames-btn-signuprPg {
    font-family: Open Sans;
    font-weight: 600;
    font-size: 14px;
    line-height: 120%;
    background: #4530FF;
    box-shadow: 0px 0px 10px 7px #5A6DFF inset;
    color: #fff;
    padding: 11px 65px;
    border: none;
    text-decoration: none;
    border-radius: 30px;
    cursor: pointer;
    transition: opacity 0.3s ease;
    text-align: center;
}

.hunbestgames-btn-signuprPg-cityrPg {
    width: 100%;
    max-width: 350px;
    font-family: Audiowide;
    font-weight: 600;
    font-style: Bold;
    font-size: 20px;
    background: linear-gradient(225deg, #18C8FF 14.89%, #933FFE 85.85%);
    color: #fff;
    padding: 11px 65px;
    border: 1px solid #fff;
    text-decoration: none;
    border-radius: 10px;
    cursor: pointer;
    transition: opacity 0.3s ease;
    text-transform: uppercase;
    text-align: center;
}

.hunbestgames-textrPg {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    padding-bottom: 70px;
    align-items: stretch;
}

.hunbestgames-p_container-listrPg {
    display: flex;
    gap: 20px;
    margin: 0;
    justify-content: center;
}

.hunbestgames-p_container-listrPg h3 {
    font-family: Audiowide;
    font-weight: 400;
    font-size: 22px;
    line-height: 100%;
    text-align: center;
    text-transform: capitalize;
}

.hunbestgames-p_container-listrPg-itemrPg p {
    font-family: Open Sans;
    font-weight: 400;
    font-style: Regular;
    font-size: 16px;
    text-align: center;
}

.hunbestgames-p_container-listrPg-itemrPg {
    width: 100%;
    border-radius: 25px;
    border: none;
    background: #C6E3FF1A;
    box-shadow: 0px 4px 10px 0px #0003101A;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 24px;
}

.hunbestgames-textrPg h2 {
    font-family: Audiowide;
    font-weight: 400;
    font-style: Regular;
    font-size: 36px;
    line-height: 100%;
    text-align: center;
}

.descr-title {
    font-family: Open Sans;
    font-weight: 400;
    font-size: 18px;
    line-height: 100%;
    text-align: center;
    color: #C6E3FF;
}

.back-fon {
    background-image: url('../hunbestgames-imgrPg/hunbestgames-back.webp');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    margin-top: -1px;
    position: relative;
    z-index: 0;
}

.planet-sec {
    max-width: 1240px;
    margin: 0 auto;
    padding: 50px 10px;
}

.planet-block {
    background: #C6E3FF1A;
    box-shadow: 0px 4px 12px 0px #1A1B200D;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.planet-block-descr {
    display: flex;
    flex-direction: column;
    gap: 14px;
    padding: 40px;
    align-items: flex-start;
    max-width: 773px;
}

.planet-block-descr h2 {
    font-family: Audiowide;
    font-weight: 400;
    font-size: 36px;
    line-height: 100%;
    text-align: center;
    text-transform: capitalize;
}

.planet-block-descr p {
    font-family: Open Sans;
    font-weight: 400;
    font-size: 16px;
    color: #C6E3FF;
}

.hunbestgames-populargames-journey {
    padding-bottom: 50px;
    padding-top: 50px;
}

.hunbestgames-game-container-warrior {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.hunbestgames-text-game-pop h2 {
    font-family: Audiowide;
    font-weight: 400;
    font-size: 36px;
    line-height: 100%;
    text-align: center;
    text-transform: capitalize;
    padding-bottom: 14px;
    color: #FFFFFF;
}

.hunbestgames-star-rating {
    display: flex;
    align-items: center;
    gap: 4px;
    font-family: Inter;
    font-weight: 400;
    font-size: 18px;
    line-height: 120%;
    text-align: center;
    color: #fff;
}

.hunbestgames-game-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    justify-items: center;
    align-items: stretch;
    margin: 0;
    padding: 0 10px;
}

.game-pad {
    padding-top: 100px;
}

.hunbestgames-game-card {
    background: #C6E3FF1A;
    box-shadow: 0px 4px 12px 0px #1A1B200D;
    border: none;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    border-radius: 20px;
    justify-content: space-between;
    width: 100%;
    box-sizing: border-box;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.hunbestgames-game-card:hover {
    transform: scale(1.03);
    box-shadow: 0 0 12px rgba(0, 255, 255, 0.3);
}

.hunbestgames-game-card img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 6px;
}

.hunbestgames-star-rating p {
    font-family: Open Sans;
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
}

.hunbestgames-game-title {
    font-family: Open Sans;
    font-weight: 400;
    font-size: 20px;
    line-height: 100%;
    text-transform: capitalize;
    color: #ffffff;
}

.hunbestgames-game-info {
    display: flex;
    gap: 12px;
    justify-content: space-between;
}

.hunbestgames-star {
    background-image: url('../hunbestgames-imgrPg/hunbestgames-starchik.svg');
    background-repeat: no-repeat;
    width: 22px;
    height: 22px;
}

.hunbestgames-play-button {
    font-family: Open Sans;
    font-weight: 600;
    font-size: 14px;
    line-height: 120%;
    vertical-align: middle;
    text-transform: capitalize;
    background: #4530FF;
    box-shadow: 0px 0px 10px 7px #5A6DFF inset;
    color: #FFFFFF;
    padding: 15px 10px;
    border: 1px solid #5A6DFF;
    text-decoration: none;
    border-radius: 30px;
    cursor: pointer;
    transition: opacity 0.3s ease;
    text-align: center;
}

.hunbestgames-play-button:hover {
    background: #2ac291;
}

.container {
    max-width: 1240px;
    margin: 0 auto;

}

.hunbestgames-text-game-pop p {
    font-family: Open Sans;
    font-weight: 400;
    font-size: 18px;
    line-height: 100%;
    text-align: center;
    color: #C6E3FF;
    padding-bottom: 20px;
}

/* Popular Games */

.hunbestgames-textrPg-gamerPg {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
}

.hunbestgames-game-blockrPg {
    background-image: url('../hunbestgames-imgrPg/hunbestgames-game.webp');
    background-position: center;
    /* пример */
    width: 100%;
    border-radius: 22px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 640px;
    margin-bottom: 50px;
}

.hunbestgames-populargamesrPg .hunbestgames-textrPg-gamerPg h2 {
    font-family: Audiowide;
    font-weight: 400;
    font-style: Regular;
    font-size: 34px;
    line-height: 41px;
    text-align: center;
    text-transform: uppercase;
}

.medal-sec {
    max-width: 1240px;
    margin: 0 auto;
    padding: 50px 16px;
}

.medal-title-block {
    display: flex;
    flex-direction: column;
    gap: 14px;
    justify-content: center;
    padding-bottom: 20px;
}

.medal-title-block h2 {
    font-family: Audiowide;
    font-weight: 400;
    font-size: 36px;
    line-height: 100%;
    text-align: center;
    text-transform: capitalize;
}

.medal-title-block p {
    font-family: Open Sans;
    font-weight: 400;
    font-size: 18px;
    line-height: 100%;
    text-align: center;
    color: #C6E3FF;
}

.medal-list {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.medal-list-item {
    width: 100%;
    background: #C6E3FF1A;
    box-shadow: 0px 4px 10px 0px #0003101A;
    border-radius: 20px;
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.line1 {
    position: relative;
    background: #C6E3FF33;
    /* светлая линия */
    height: 12px;
    border-radius: 10px;
    overflow: hidden;
    /* важно! */
}

/* Синяя заливка 50% */
.line1::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 90%;
    /* ← вот здесь регулируешь длину */
    background: #4530FF;
    box-shadow: 0px 0px 3px 3px #5A6DFF inset;
    /* синий цвет */
}

.line2 {
    position: relative;
    background: #C6E3FF33;
    /* светлая линия */
    height: 12px;
    border-radius: 10px;
    overflow: hidden;
    /* важно! */
}

/* Синяя заливка 50% */
.line2::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 70%;
    /* ← вот здесь регулируешь длину */
    background: #4530FF;
    box-shadow: 0px 0px 3px 3px #5A6DFF inset;
    /* синий цвет */
}

.line3 {
    position: relative;
    background: #C6E3FF33;
    /* светлая линия */
    height: 12px;
    border-radius: 10px;
    overflow: hidden;
    /* важно! */
}

/* Синяя заливка 50% */
.line3::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 65%;
    /* ← вот здесь регулируешь длину */
    background: #4530FF;
    box-shadow: 0px 0px 3px 3px #5A6DFF inset;
    /* синий цвет */
}

.info-line {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.descr-info-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.descr-info-line p {
    font-family: Open Sans;
    font-weight: 600;
    font-size: 22px;
    line-height: 100%;
    vertical-align: middle;
    text-transform: capitalize;
}

.medal-first {
    background-image: url('../hunbestgames-imgrPg/hunbestgames-first.png');
    background-repeat: no-repeat;
    background-position: center;
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 100%;
    box-shadow: 0px 0px 40px 0px #59A1FF;
}

.medal-second {
    background-image: url('../hunbestgames-imgrPg/hunbestgames-second.png');
    background-repeat: no-repeat;
    background-position: center;
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 100%;
    box-shadow: 0px 0px 40px 0px #59A1FF;
}

.medal-three {
    background-image: url('../hunbestgames-imgrPg/hunbestgames-three.png');
    background-repeat: no-repeat;
    background-position: center;
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    border-radius: 100%;
    box-shadow: 0px 0px 40px 0px #59A1FF;
}


.review-list {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.review-list-item {
    width: 100%;
    background: #C6E3FF1A;
    box-shadow: 0px 4px 10px 0px #0003101A;
    border-radius: 20px;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-direction: column;
}

.money-list {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.money-list-item {
    width: 100%;
    background: #C6E3FF1A;
    box-shadow: 0px 4px 10px 0px #0003101A;
    border-radius: 20px;
    padding: 24px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-direction: column;
    align-items: center;
}

.hunbestgames-coin {
    background-image: url('../hunbestgames-imgrPg/hunbestgames-coin.png');
    background-repeat: no-repeat;
    background-position: center;
    width: 176px;
    height: 140px;
    border-radius: 30px;
}

.hunbestgames-descr {
    font-family: Open Sans;
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    text-align: center;
}

.container-money-desc {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.container-money-desc p {
    font-family: Open Sans;
    font-weight: 600;
    font-size: 22px;
    line-height: 100%;
    text-align: center;
}

.hunbestgames-link-coin {
    width: 100%;
    background: #4530FF;
    box-shadow: 0px 0px 10px 7px #5A6DFF inset;
    border: 1px solid #5A6DFF;
    border-radius: 30px;
    text-align: center;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 10px;
    justify-content: center;
    font-family: Open Sans;
    font-weight: 600;
    font-size: 14px;
    line-height: 120%;
    vertical-align: middle;
    text-transform: capitalize;
}

.money-list-item h2 {
    font-family: Audiowide;
    font-weight: 400;
    font-size: 28px;
    line-height: 100%;
    text-align: center;
    text-transform: capitalize;
    color: #fff;
}

/* Переключатель валют */
.currency-switcher {
    display: inline-flex;
    background: #1c2140;
    padding: 4px;
    border-radius: 30px;
    gap: 4px;
}

.currency-btn {
    padding: 8px 8px;
    border-radius: 40px;
    border: none;
    background: transparent;
    color: #ffffffaa;
    font-family: Open Sans;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: .25s;
}

.currency-btn.active {
    background: #4530FF;
    color: #fff;
    box-shadow: 0px 0px 10px 4px #5A6DFF inset;
}

/* ... Ваш существующий CSS ... */

/* Изменения для последней карточки (Legjobb Ajánlat) */
.money-list-item:last-child {
    position: relative;
    overflow: hidden;
}

.money-list-item:last-child::before {
    content: "Legjobb Ajánlat";
    /* Обновленный текст */
    position: absolute;
    top: 0;
    right: 0;
    /* Растягиваем на всю ширину */

    /* Градиентный фон */
    background: linear-gradient(180deg, #6C5DFF 0%, #4530FF 100%);

    padding: 2px 14px;
    /* Увеличим вертикальный паддинг */

    /* Закругления: верхние углы 0, нижние 20px */
    border-radius: 0 0 0px 20px;

    color: #fff;
    font-family: Open Sans;
    font-weight: 400;
    font-size: 14px;
    line-height: 100%;
    text-align: center;
    text-transform: capitalize;
    /* Центрируем текст */

    /* Убираем inset-тень, она не нужна для такого вида бейджа */
    box-shadow: none;

    z-index: 10;
}

/* ... Ваш существующий CSS ... */

.hunbestgames-stardiv {
    display: flex;
    align-items: center;
    gap: 4px;
}

.place {
    display: flex;
    align-items: center;
    gap: 4px;
}

.info-review {
    display: flex;
    justify-content: space-between;
}

.info-review h2 {
    font-family: Open Sans;
    font-weight: 600;
    font-size: 22px;
    line-height: 100%;
    text-transform: capitalize;
}

.info-review p {
    font-family: Open Sans;
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    text-transform: capitalize;
    color: #C6E3FF;
}

.descr-review p {
    font-family: Open Sans;
    font-weight: 400;
    font-size: 16px;
    color: #C6E3FF;
}


/* Responsible */
.hunbestgames-responsiblerPg-containerrPg {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0px 24px;
}

.hunbestgames-responsiblerPg-listrPg {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    margin: 0;
    background: linear-gradient(180deg, #06090F 0%, #2C2333 100%);
    border: 1px solid #453955;
    border-radius: 22px;
    padding: 24px 24px;
}

.hunbestgames-responsiblerPg-listrPg h3 {
    font-family: Audiowide;
    font-weight: 700;
    font-style: Bold;
    font-size: 24px;
    line-height: 38px;
}

.hunbestgames-responsiblerPg-listrPg p {
    max-width: 1120px;
    margin: 0 auto;
    font-family: Open Sans;
    font-weight: 500;
    font-size: 16px;
    line-height: 22px;
    text-align: center;
}

.hunbestgames-responsiblerPg {
    padding-bottom: 70px;
}


/* Footer */
footer {
    background: #030425;
    margin-top: -1px;
}

.hunbestgames-footer-gridrPg {
    padding: 50px 16px 0px 16px;
    max-width: 1240px;
    margin: 0 auto;
    margin-bottom: 30px;
}

.hunbestgames-footer-gridrPg2 {
    padding: 0px 16px 0px 16px;
    max-width: 1240px;
    margin: 0 auto;
    margin-bottom: 30px;
}

.foot-list-cont-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.foot-list-cont {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.hunbestgames-block_1rPg div {
    max-width: 600px;
}

.hunbestgames-footer-gridrPg h2 {
    font-family: Audiowide;
    font-weight: 400;
    font-style: Regular;
    font-size: 22px;
    margin-bottom: 16px;
}

.hunbestgames-footer-gridrPg p {
    font-family: Open Sans;
    font-weight: 400;
    font-size: 16px;
    color: #C6E3FF;
}

.hunbestgames-footer-gridrPg2 h2 {
    font-family: Audiowide;
    font-weight: 400;
    font-style: Regular;
    font-size: 22px;
    margin-bottom: 16px;
}

.hunbestgames-footer-gridrPg2 p {
    font-family: Open Sans;
    font-weight: 400;
    font-size: 16px;
    color: #C6E3FF;
}

.hunbestgames-block_1rPg {
    display: flex;
    gap: 40px;
}

.hunbestgames-links-containerrPg {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0px 16px;
}

.hunbestgames-partnersrPg {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 50px;
    margin: 0;
    flex-wrap: wrap;
}

.hunbestgames-coopyrightrPg {
    max-width: 1240px;
    margin: 0 auto;
    justify-content: space-between;
    padding-top: 30px;
    padding-bottom: 30px;
    padding-right: 16px;
    padding-left: 16px;
    justify-content: space-between;
}

.hunbestgames-coopyright-down {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    padding-bottom: 50px;
    padding-right: 16px;
    padding-left: 16px;
}

.coopyright-info-descr {
    font-family: Open Sans;
    font-weight: 400;
    font-size: 16px;
    line-height: 155%;
    text-align: center;
}

.hunbestgames-coopyrightrPg a {
    font-family: Open Sans;
    font-weight: 600;
    color: #FFFFFF;
    font-size: 16px;
    text-transform: capitalize;
    text-decoration: none;
    text-decoration-style: solid;
}

.hunbestgames-coopyrightrPg p {
    font-family: Open Sans;
    font-weight: 400;
    font-size: 16px;
    line-height: 155%;
}

.hunbestgames-policyrPg {
    display: flex;
    gap: 56px;
    margin: 0;
    justify-content: space-between;
}

.hover-opacityrPg:hover {
    opacity: 0.7;
    transition: opacity 0.3s ease;

}

.policy-containerrPg h1 {
    font-family: Audiowide;
    font-weight: 400;
    font-style: Regular;
    font-size: 24px;
    line-height: 28px;
    padding-bottom: 20px;
}

.visually-hiddenrPg {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.planet-img {
    background-image: url('../hunbestgames-imgrPg/hunbestgames-planet.webp');
    background-repeat: no-repeat;
    background-position: center;
    width: 281px;
    height: 253px;
    flex-shrink: 0;
}

/* FAQ */

.hunbestgames-faq {
    padding-top: 80px;
    padding-bottom: 80px;
}

.hunbestgames-faq_title {
    font-family: Audiowide;
    font-weight: 400;
    font-size: 36px;
    line-height: 100%;
    text-align: center;
    text-transform: capitalize;
}

.hunbestgames-container-faq {
    max-width: 1280px;
    margin: 0 auto;
}

.faq-accordion {
    margin-bottom: 60px;
    padding: 0;
    margin: 0;
    list-style: none;
    padding: 0px 10px 0px 10px;
}

/* Стили для каждого элемента (вопрос + ответ) */
.accordion-item {
    transition: all 0.3s ease-in-out;
}

/* Заголовок-кнопка */

.accordion-header {
    border-radius: 16px;
    font-family: Open Sans;
    font-weight: 600;
    font-size: 22px;
    line-height: 100%;
    vertical-align: middle;
    text-transform: capitalize;
    background: #C6E3FF1A;
    box-shadow: 0px 4px 12px 0px #1A1B200D;
    width: 100%;
    padding: 22px 20px 22px 20px;
    color: #ffffff;
    cursor: poInter;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: start;
    margin-bottom: 8px;
    gap: 20px;
}

/* Серая циферка слева */
.accordion-number {
    font-family: Inter;
    font-weight: 400;
    font-size: 24px;
    line-height: 110.00000000000001%;
    letter-spacing: -2%;
    flex-shrink: 0;
    color: #FFFFFF66;
}

/* Иконка (стрелочка) */
.arrow {
    transform: rotate(0deg);
    transition: transform 0.3s ease-in-out;
}

/* Контент (ответ) */
.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out, padding 0.3s ease-in-out;
}

.accordion-title {
    flex-grow: 1;
    /* ЭТО ГЛАВНОЕ! Заставляет текст занять всё доступное свободное пространство */
    text-align: left;
    /* Выравниваем текст по левому краю */
}

.accordion-content p {
    font-family: Open Sans;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    vertical-align: middle;
    color: #ffffff;
    padding-left: 20px;
}


/* --- СТИЛИ ДЛЯ АКТИВНОГО (ОТКРЫТОГО) СОСТОЯНИЯ --- */

/* Когда элемент активен, применяем рамку и отступы */
.accordion-item.active {
    border-radius: 15px;
    box-shadow: 0px 0px 10px 7px #5A6DFF inset;

    box-shadow: 0px 0px 10px 0px #130DAB;
    padding-bottom: 25px;
    margin-bottom: 20px;
    background: #3017D3;
}

.accordion-item.active .plus-button::before {
    content: "–";
    /* длинное тире для идеального минуса */
    font-size: 32px;
    line-height: 0;
    height: 2px;
    background-color: #4530FF;
}

.accordion-content-list {
    margin: 0;
    color: #fff;
}

/* Убираем нижнюю границу у заголовка, когда весь блок в рамке */
.accordion-item.active .accordion-header {
    border-bottom: none;
    border-radius: 15px;
    border: none;
    background: transparent;
}

/* Поворачиваем иконку вверх, когда блок открыт */
.accordion-item.active .arrow {
    transform: rotate(-180deg);
}

/* Показываем контент, устанавливая ему максимальную высоту */
.accordion-item.active .accordion-content {
    max-height: 200px;
    /* Установите значение, достаточное для вашего текста */
}

.plus-button {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #4530FF;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0px 0px 4px 2px #5A6DFF inset;

    box-shadow: 0px 0px 10px 0px #130DAB;
    cursor: pointer;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.accordion-item.active .plus-button {
    background: #FFFFFF;
    box-shadow: 0px 0px 10px 0px #130DAB;

}

.plus-button::before {
    content: "+";
    color: #fff;
    font-size: 28px;
    line-height: 0;
    font-weight: 400;
}

.plus-button:hover {
    transform: scale(1.1);
}

.arrow:hover {
    transform: translateY(3px);
}

.hunbestgames-text h2 {
    font-family: Coda;
    font-weight: 600;
    font-size: 40px;
    text-align: center;
    vertical-align: middle;
}

.hunbestgames-container-faq-descblock {
    display: flex;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    gap: 14px;
    padding: 0px 10px 0px 10px;
}

.hunbestgames-container-faq-descblock p {
    font-family: Open Sans;
    font-weight: 400;
    font-size: 18px;
    text-align: center;
    padding-bottom: 20px;
}

/* Общий стиль для всех кнопок с градиентом */
.gradient-btn {
    background: linear-gradient(180deg, #6C5DFF 0%, #4530FF 100%);
    box-shadow: 0 0 10px 7px rgba(90, 109, 255, 0.5) inset,
        0 0 10px rgba(90, 109, 255, 0.5);
    border: none;
    border-radius: 30px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 120%;
    color: #fff;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.2s;
    gap: 10px;
}

.gradient-btn:hover {
    opacity: 0.9;
}

/* Общий стиль для всех контейнеров (карточек) */
.card-base {
    background: #C6E3FF1A;
    /* Translucent blue */
    box-shadow: 0px 4px 10px 0px #0003101A;
    border-radius: 20px;
    padding: 20px;
}

/* 1. Секция Профиля */
.profile-card {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
    z-index: -1;
}

.profile-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.avatar-placeholder {
    flex-shrink: 0;
    width: 78px;
    height: 78px;
    border-radius: 50%;
    background-color: #3f689e;
    /* Placeholder color */
    /* Здесь должна быть картинка астронавта */
    background-image: url('../hunbestgames-imgrPg/hunbestgames-avatar.png');
    background-size: cover;
}

.user-details h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

.user-details p {
    font-size: 14px;
    color: #aaa;
    margin: 0;
}

.level-section {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-grow: 1;
    max-width: 300px;
    flex-direction: column;
}

.level-section-container {
    width: 100%;
    font-family: Open Sans;
    font-weight: 600;
    font-size: 18px;
    line-height: 100%;
    vertical-align: middle;
    text-transform: capitalize;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.level-bar {
    width: 100%;
    height: 12px;
    border-radius: 6px;
    background: #C6E3FF33;
    position: relative;
}

.level-progress {
    /* Прогресс 59% */
    width: 59%;
    height: 100%;
    border-radius: 6px;
    background: #4530FF;
    box-shadow: 0px 0px 3px 3px #5A6DFF inset;
    /* Синий цвет прогресса */
}

.level-number {
    font-weight: 600;
}

.coins-logout-section {
    display: flex;
    align-items: center;
    gap: 20px;
}

.coin-balance {
    display: flex;
    font-family: Audiowide;
    font-weight: 400;
    font-size: 28px;
    line-height: 100%;
    text-align: center;
    text-transform: capitalize;
    align-items: center;
}

.coin-icon {
    width: 58px;
    height: 58px;
    margin-right: 10px;
    border-radius: 4px;
    background-image: url('../hunbestgames-imgrPg/hunbestgames-moneyprofile.png');
    background-position: center;
    background-repeat: no-repeat;
    flex-shrink: 0;
    border-radius: 10px;
}

.logout-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #C6E3FF;
    text-decoration: none;
    padding: 10px 15px;
    border-radius: 10px;
    font-family: Open Sans;
    font-weight: 600;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 5%;
}

.logout-arrow {
    /* Placeholder для стрелки */
    width: 20px;
    height: 20px;
    background-image: url('../hunbestgames-imgrPg/hunbestgames-exit.svg');
    background-repeat: no-repeat;
    background-position: center;
}

/* 2. Секция Наград */
.rewards-container {
    display: flex;
    gap: 20px;
}

.reward-card {
    width: 100%;
    max-width: 295px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.badge-icon {
    width: 175px;
    height: 175px;
    margin-bottom: 15px;
    border-radius: 30px;
    background-position: center;
    background-repeat: no-repeat;
}

.reward-card h3 {
    font-family: 'Open Sans', sans-serif;
    font-size: 20px;
    font-weight: 700;
    margin-top: 0;
}

.reward-card p {
    color: #C6E3FF;
    font-family: Open Sans;
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    text-align: center;
}

/* 3. История Покупок */
.history-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.history-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    background: #C6E3FF1A;
    border-radius: 15px;
    font-weight: 600;
}

.history-item-details {
    display: flex;
    align-items: center;
    flex-grow: 1;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.history-item-details>div {
    margin-right: 40px;
    font-family: Open Sans;
    font-weight: 600;
    font-size: 22px;
    line-height: 100%;
    text-transform: capitalize;
}

.history-item-details .coin-count {
    display: flex;
    align-items: center;
    font-family: Audiowide;
    font-weight: 400;
    font-size: 28px;
    line-height: 100%;
    text-align: center;
    text-transform: capitalize;
}

.history-item .coin-icon {
    width: 50px;
    height: 50px;
}

.coin-count p {
    font-family: Open Sans;
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    text-align: center;
    color: #C6E3FF;
    padding-left: 6px;
}

.history-item .date {
    font-family: Open Sans;
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    color: #C6E3FF;
}

.buy-again-btn {
    /* Переопределяем общий стиль .gradient-btn для меньшего размера */
    padding: 10px 15px;
    min-width: 120px;
}

.rewards-section {
    max-width: 1240px;
    margin: 0 auto;
    padding: 50px 16px 0px 16px;
}

.history-section {
    max-width: 1240px;
    margin: 0 auto;
    padding: 50px 16px;
}

.profile-section {
    max-width: 1240px;
    margin: 0 auto;
    padding: 50px 16px 0px 16px;
}

.profile-section h1 {
    font-family: Audiowide;
    font-weight: 400;
    font-size: 36px;
    line-height: 100%;
    text-transform: capitalize;
    padding-bottom: 20px;
    text-align: center;
}

.history-section h2 {
    font-family: Audiowide;
    font-weight: 400;
    font-size: 36px;
    line-height: 100%;
    text-transform: capitalize;
    padding-bottom: 20px;
}

.rewards-section h2 {
    font-family: Audiowide;
    font-weight: 400;
    font-size: 36px;
    text-transform: capitalize;
    padding-bottom: 20px;
}

.rewards-container h2 {
    font-family: Audiowide !important;
    font-weight: 400 !important;
    text-align: center !important;
    text-transform: capitalize !important;
    font-size: 25px !important;
    padding-bottom: 10px !important;
}

.user-details h2 {
    font-family: Audiowide;
    font-weight: 400;
    font-size: 28px;
    line-height: 100%;
    padding-bottom: 12px;
}

.user-details p {
    font-family: Open Sans;
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    letter-spacing: 5%;
}

.logout-btn-mob {
    display: none;
}

.contact-container {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 33px;
    padding: 14px 16px 25px 16px;
}

.contact-text-block {
    width: 100%;
}

.contact-info-row-cont {
    display: flex;
    justify-content: space-between;
    padding-bottom: 16px;
    flex-wrap: wrap;
    gap: 20px;
}

.contact-info-row {
    font-family: Open Sans;
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    text-transform: capitalize;
}

.contact-title {
    font-family: Audiowide;
    font-weight: 400;
    font-size: 36px;
    line-height: 100%;
    text-transform: capitalize;
    margin-bottom: 20px;
}

.contact-info-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 16px;
}

.contact-icon {
    width: 20px;
    height: 20px;
    background: #4530FF;
    box-shadow: 0px 0px 4px 2px #5A6DFF inset;
    border-radius: 30px;
    padding: 7px;
}

.contact-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-form label {
    font-family: Open Sans;
    font-weight: 400;
    font-size: 16px;
    line-height: 130%;
    color: #fff;
}

.contact-input {
    width: 100%;
    max-width: 100%;
    padding: 14px 16px;
    border-radius: 10px;
    font-size: 16px;
    background: #C6E3FF1A;
    box-shadow: 0px 4px 10px 0px #0003101A;
    color: #fff;
    outline: none;
    box-sizing: border-box;
    /* чтобы padding не увеличивал ширину */
}

input::placeholder,
textarea::placeholder {
    color: #C6E3FF;
}

.contact-textarea {
    height: 70px;
    width: 100%;
    max-width: 100%;
    padding: 14px 16px;
    border-radius: 10px;
    font-size: 16px;
    background: #C6E3FF1A;
    box-shadow: 0px 4px 10px 0px #0003101A;
    color: #fff;
    outline: none;
    box-sizing: border-box;
    /* чтобы padding не увеличивал ширину */
}

.contact-form div {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.contact-submit {
    max-width: 263px;
    height: 48px;
    border: none;
    border-radius: 30px;
    background: #4530FF;
    box-shadow: 0px 0px 10px 7px #5A6DFF inset;
    color: #fff;
    font-family: Open Sans;
    font-weight: 600;
    font-size: 14px;
    line-height: 120%;
    text-transform: capitalize;
    cursor: pointer;
    transition: 0.25s;
}

.contact-submit:hover {
    transform: translateY(-2px);
}

.contact-astro {
    width: 380px;
    max-width: 100%;
}

@media (max-width: 900px) {
    .contact-container {
        flex-direction: column-reverse;
    }

    .contact-info-row {
        justify-content: center;
    }

    .contact-title {
        text-align: center;
        font-size: 24px;
    }

    .contact-form label {
        font-size: 14px;
    }

    .contact-input {
        font-size: 14px;
    }

    .contact-submit {
        max-width: 100%;
    }
}


@media(max-width: 1270px) {
    .container-money-desc {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 30px;
    }

    .money-list {
        display: flex;
        gap: 20px;
        justify-content: center;
        flex-direction: column;
    }

    .money-list-item {
        width: auto;
    }
}



@media(max-width: 1064px) {
    .hunbestgames-p_container-listrPg {
        flex-wrap: wrap;
    }

    .medal-list {
        flex-wrap: wrap;
    }

    .review-list {
        flex-wrap: wrap;
    }
}

@media(max-width: 983px) {

    .profile-section h1 {
        text-align: center;
    }

    .rewards-section h2 {
        text-align: center;
    }

    .history-section h2 {
        text-align: center;
    }

    .rewards-container h2 {
        font-size: 18px !important;
        word-break: break-all;
    }

    .hunbestgames-navrPgbarrPg .container {
        margin-bottom: 50px;
    }

    .hunbestgames-herorPg h1 {
        font-size: 32px;
        font-weight: 700;
        line-height: 120%;
    }

    .hunbestgames-herorPg p {
        font-size: 17px;
        font-style: normal;
        max-width: 702px;
    }

    .hunbestgames-herorPg-about h1 {
        font-size: 44px;
        font-weight: 700;
        line-height: 120%;
    }

    .hunbestgames-herorPg-about p {
        font-size: 17px;
        font-style: normal;
        max-width: 702px;
    }


    .hunbestgames-about .container {
        flex-wrap: wrap;
        justify-content: center;
    }

    .hunbestgames-btn-containerrPg {
        display: none;
    }


    .hunbestgames-burgerrPg {
        display: block;
        background: none;
        padding: 0;
        border: none;
    }

    .hunbestgames-navrPg {
        display: none;
        /* спрятано по умолчанию */
        flex-direction: column;
        position: absolute;
        top: 110px;
        /* сразу под шапкой */
        right: 0px;
        width: 100%;
        background: linear-gradient(180deg, #06090F 0%, #2C2333 100%);
        box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
        z-index: 1000;
        padding-top: 20px;
        padding-bottom: 20px;
        /* поверх всего */
    }

    .hunbestgames-navrPg a {
        padding: 10px 16px;
    }

    .hunbestgames-navrPg.active {
        display: flex;
        /* показать меню */
    }

    .hunbestgames-navrPgbarrPg .container {
        padding: 10px 16px;
    }

    .hunbestgames-about-info {
        flex-wrap: wrap;
    }

    .planet-block {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 20px;
        gap: 14px;
    }

    .planet-block-descr {
        align-items: center;
    }

    .planet-img {
        background-image: url('../hunbestgames-imgrPg/hunbestgames-planetmob.webp');
        background-repeat: no-repeat;
        background-position: center;
        width: 288px;
        height: 186px;
        flex-shrink: 0;
    }

    .planet-block-descr {
        padding: 0px;
    }

    .profile-card {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .logout-btn {
        display: none;
    }

    .logout-btn-mob {
        position: absolute;
        top: 8px;
        right: 8px;
        width: 20px;
        height: 20px;
        border-radius: 50%;
        display: flex;
        justify-content: center;
        align-items: center;
        cursor: pointer;
    }
}

@media(max-width: 665px) {
    .rewards-container {
        display: flex;
        gap: 20px;
        flex-direction: column;
        align-items: center;
    }

    .badge-icon {
        width: 83px;
        height: 83px;
        background-size: cover;
    }

    .reward-card {
        width: auto;
    }

    .container-money-desc {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .hunbestgames-descr_blockrPg {
        gap: 10px;
    }

    .hunbestgames-navrPgbarrPg .container {
        margin-bottom: 24px;
    }

    .hunbestgames-infoherorPg {
        display: flex;
        padding-left: 16px;
    }

    .hunbestgames-herorPg h1 {
        font-size: 24px;
    }

    .hunbestgames-herorPg p {
        font-size: 16px;
    }

    .hunbestgames-about {
        padding: 32px 16px;
    }

    .hunbestgames-populargamesrPg .hunbestgames-textrPg-gamerPg h2 {
        font-size: 24px;
    }

    .hunbestgames-about-info h2 {
        font-size: 24px;
    }

    .hunbestgames-about-info-descr-container p {
        font-size: 14px;
    }

    .hunbestgames-block_1rPg {
        display: flex;
        flex-direction: column;
    }

    .hunbestgames-block_1rPg div {
        width: 100%;
    }

    .hunbestgames-partnersrPg {
        flex-wrap: wrap;
        gap: 20px;
    }

    .hunbestgames-coopyrightrPg {
        flex-direction: column-reverse;
        gap: 30px;
        justify-content: space-between;
    }

    .hunbestgames-policyrPg {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
    }

    .hunbestgames-textrPg h2 {
        font-size: 24px;
    }

    .hunbestgames-p_container-listrPg h3 {
        font-size: 18px;
    }

    .hunbestgames-p_container-listrPg-itemrPg p {
        font-size: 14px;
    }

    .hunbestgames-footer-gridrPg {
        flex-wrap: wrap;
        gap: 20px;
    }

    .accordion-header {
        font-size: 18px;
    }

    .hunbestgames-btn-signuprPg {
        width: 100%;
        max-width: 180px;
        padding: 11px 16px;
    }


    .hunbestgames-descr_blockrPg {
        padding: 50px 0px;
    }

    .hunbestgames-navrPgbarrPg-containerrPg-toprPg p {
        font-size: 10px;
    }

    .hero-containerrPg {
        background-position: initial;
    }

}

@media(max-width: 360px) {

    .hunbestgames-navrPgbarrPg .container {
        margin: 0px;
    }


    .hunbestgames-descr_blockrPg {
        padding: 34px 0px;
    }

    .hunbestgames-navrPgbarrPg .hunbestgames-logorPg {
        font-size: 14px;
    }
}

@media(max-width: 350px) {
    .medal-title-block h2 {
        word-break: break-all;
    }
}



.policy-containerrPg {
    max-width: 1240px;
    margin: 0 auto;
    padding: 60px 20px;
}

.policy-sectionrPg {
    margin-bottom: 45px;
}

/* --- Стили для типографики --- */
.policy-sectionrPg h2 {
    font-family: 'Audiowide', sans-serif;
    font-size: 18px;
    color: #FFFFFF;
    text-transform: uppercase;
    margin-bottom: 20px;
    font-weight: 400;
}

.policy-sectionrPg ul {
    list-style: disc;
    padding-left: 20px;
}

.policy-sectionrPg li {
    margin-bottom: 12px;
    font-size: 16px;
    line-height: 1.6;
}

@media (max-width: 768px) {

    .policy-sectionrPg h2 {
        font-size: 16px;
    }
}

/* =========================================================================
   18+ POP-UP Стили
========================================================================= */

/* Модальное окно (оверлей) */
.age-gate-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    /* Темное, полупрозрачное затемнение */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    /* Очень высокий Z-индекс, чтобы перекрыть все */
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.age-gate-modal.active {
    opacity: 1;
    visibility: visible;
}

/* Контент Pop-up'а */
.age-gate-content {
    background: cadetblue;
    /* Темно-синий фон, как на картинке */
    border-radius: 15px;
    padding: 24px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    color: white;
    box-shadow: 0px 4px 10px 0px #0003101A;
    font-family: Audiowide;
}

.age-gate-title {
    font-family: Audiowide;
    font-weight: 400;
    font-size: 28px;
    line-height: 100%;
    text-align: center;
    text-transform: capitalize;
    text-align: center;
    margin-bottom: 15px;
}

.age-gate-text {
    font-family: Open Sans;
    font-weight: 400;
    font-size: 16px;
    line-height: 100%;
    text-align: center;
    /* Светло-голубой цвет текста */
    margin-bottom: 30px;
    text-align: center;
}

/* Контейнер кнопок */
.age-gate-actions {
    display: flex;
    gap: 15px;
    width: 100%;
    margin-top: 15px;
}

/* Базовый стиль кнопки */
.age-gate-btn {
    flex-grow: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
    text-align: center;
}

/* Основная кнопка (I am 18 or older) */
.primary-btn {
    background-color: transparent;
    border: 2px solid #5A6DFF;
    box-shadow: 0px 0px 10px 0px #130DAB;
    /* Яркий синий цвет */
    font-family: Open Sans;
    font-weight: 600;
    font-size: 14px;
    line-height: 120%;
    vertical-align: middle;
    text-transform: capitalize;
    text-align: center;
    color: #FFFFFF;
    border-radius: 30px;
}

.primary-btn:hover {
    background-color: #180E70;
}

/* Второстепенная кнопка (Leave site) */
.secondary-btn {
    background-color: #4530FF;
    box-shadow: 0px 0px 10px 7px #5A6DFF inset;
    color: #FFFFFF;
    font-family: Open Sans;
    font-weight: 600;
    font-size: 14px;
    line-height: 120%;
    vertical-align: middle;
    text-transform: capitalize;
    text-align: center;
    border-radius: 30px;
}

.secondary-btn:hover {
    background-color: #3f4d67;
}

/* Расположение кнопок по макету */

/* Горизонтальное расположение (для десктопа) */
.age-gate-actions.horizontal-layout {
    display: flex;
    flex-direction: column;
}

/* Вертикальное расположение (для мобильных) */
.age-gate-actions.vertical-layout {
    display: none;
    /* Скрыть на десктопе */
    flex-direction: column;
}

/* Медиа-запрос для мобильного отображения */
@media (max-width: 550px) {
    .age-gate-content {
        padding: 30px 20px;
    }

    .age-gate-actions.horizontal-layout {
        display: none;
        /* Скрыть горизонтальный вариант */
    }

    .age-gate-actions.vertical-layout {
        display: flex;
        /* Показать вертикальный вариант */
    }
}

.status {
    font-family: Audiowide;
    font-weight: 400;
    border-radius: 30px;
    margin-top: 15px;
    padding: 10px;
    background-color: green;
    display: none;
    /* скрыто по умолчанию */
    text-align: center;
}

/* Модальное окно-оверлей */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    /* Темный полупрозрачный фон */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    /* Очень высокий Z-index, чтобы быть над всем */
    backdrop-filter: blur(5px);
    /* Легкий блюр заднего фона */
}

.modal-container {
    width: 100%;
    max-width: 400px;
    /* Фиксированная ширина модалки */
    background: #C6E3FF1A;
    /* Темно-синий фон модалки */
    /* Glassmorphism эффект */
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0px 4px 10px 0px #0003101A;
    position: relative;
}

/* Заголовок модалки */
.modal-container h2 {
    font-family: 'Audiowide', cursive;
    font-size: 28px;
    text-align: center;
    margin-bottom: 30px;
}

/* Группа ввода с эффектом плавающего лейбла */
.input-group {
    position: relative;
    margin-bottom: 20px;
}

.input-group input {
    width: 100%;
    padding: 12px;
    box-shadow: 0px 4px 12px 0px #01010B26;
    border-radius: 12px;
    background: #C6E3FF1A;
    color: #fff;
    font-size: 16px;
    outline: none;
    transition: all 0.3s;
    box-sizing: border-box;
}

.input-group label {
    position: absolute;
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    color: #C6E3FF;
    font-size: 16px;
    pointer-events: none;
    transition: all 0.3s;
}

/* Эффект плавающего лейбла */
.input-group input:focus+label,
.input-group input:not(:placeholder-shown)+label {
    top: 5px;
    font-size: 12px;
    color: #4530FF;
    background: rgba(28, 33, 64, 0.9);
    padding: 0 5px;
    left: 10px;
    transform: translateY(0);
}

/* Кнопка с градиентом внутри модалки */
.gradient-btn.full-width {
    width: 100%;
    padding: 15px 0;
    margin-top: 20px;
    border-radius: 30px;
    background: #4530FF;
    box-shadow: 0px 0px 10px 7px #5A6DFF inset;
    font-family: Open Sans;
    font-weight: 600;
    font-size: 14px;
    line-height: 120%;
    vertical-align: middle;
    text-transform: capitalize;
    /* Немного меньше радиус для кнопки */
}

/* Ссылки под формой */
.forgot-password-link,
.switch-form-text {
    text-align: center;
    font-size: 14px;
    margin-top: 15px;
}

.forgot-password-link a,
.switch-form-text a {
    font-family: Open Sans;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.profile-modal-trigger {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.block-game {
    position: relative;
    width: 1240px;
    margin: 0 auto;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

.game-bl-g {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #07080D;
    max-width: 1140px;
    height: 692px;
    margin: 0 auto;
    margin-top: 90px;
    margin-bottom: 90px;
    border-radius: 30px;
}

/* Общие стили для контента */
.cookie-policy-section {
    max-width: 1240px;
    margin: 0 auto;
    padding: 40px 16px;
    /* Отступы 40px сверху/снизу, 16px по бокам для мобильных */
    color: #fff;
}

/* Стиль для главного заголовка H1 */
.cookie-policy-section h1 {
    font-family: Audiowide, cursive;
    font-weight: 400;
    font-size: 36px;
    line-height: 100%;
    text-transform: capitalize;
    margin-bottom: 20px;
    word-break: break-all;
}

/* Стиль для подзаголовков H2 */
.cookie-policy-section h2 {
    font-family: Audiowide, cursive;
    font-weight: 400;
    font-size: 22px;
    line-height: 100%;
    text-transform: capitalize;
    margin-top: 30px;
    margin-bottom: 15px;
}

/* Стиль для основного текста, параграфов и элементов списка */
.cookie-policy-section p,
.cookie-policy-section ul li,
.cookie-policy-section .date-info,
.cookie-policy-section .contact-info {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 160%;
    /* Увеличил line-height для лучшей читаемости */
    letter-spacing: 0%;
    margin-bottom: 15px;
}

.cookie-policy-section ul {
    list-style: disc;
    margin-left: 20px;
    padding-left: 0;
    margin-bottom: 20px;
}

.cookie-policy-section ul li {
    line-height: 160%;
    margin-bottom: 5px;
}

/* Дополнительные стили для контактной информации */
.cookie-policy-section .contact-info a {
    color: #4530FF;
    /* Цвет ссылки */
    text-decoration: none;
}