@font-face {
    font-family: PlayB;
    font-style: Bold;
    font-weight: 700;
    font-display: swap;
    src: url('../socbest-fontsrPg/socbest-play-bold.woff2') format("woff2")
}

@font-face {
    font-family: PlayR;
    font-style: Regular;
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    src: url('../socbest-fontsrPg/socbest-play-regular.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;
}


/* Note: Using hardcoded colors as requested. 
   #00fff2 (Neon Cyan) used for accent, as no replacement was provided, and it's essential for the mockup's look.
   #0F1429 (Dark Blue/Black) and #080808 (Black) are used for background.
   #2C3A81 and #0A0C19 are used in the main gradient.
   #154687 (Dark Blue) is used for cards/packages for contrast.
*/

/* --- BASE & UTILITIES --- */
body {
    background-color: #0B1108;
    /* Main Dark Background */
    font-family: PlayR, sans-serif;
    line-height: 1.6;
    color: #fff;
    /* White Text */
}

a {
    text-decoration: none;
    color: #fff;
}

.container {
    max-width: 1236px;
    margin: 0 auto;
}

.container-battery {
    max-width: 1236px;
    margin: 0 auto;
    background: radial-gradient(100% 100% at 0% 0%, #19351E 0%, #0A150C 100%);
    border: 1px solid #19351E;
    border-radius: 10px;
    padding: 20px;
}

.section-padding {
    padding: 80px 12px;
}

/* Headings */
.top-head {
    text-align: center;
    padding: 10px 10px;
    font-family: PlayR;
    font-weight: 400;
    font-size: 14px;
    line-height: 120%;
    text-align: center;
    vertical-align: middle;
    text-transform: uppercase;
    color: #fff;
    background: #0B0B0B;
    max-width: 1236px;
    margin: 0 auto;
}

.section-title {
    font-family: PlayB;
    font-weight: 700;
    font-size: 28px;
    line-height: 120%;
    margin-bottom: 10px;
    color: #fff;
    text-align: center;
}

.section-subtitle {
    font-family: PlayR;
    font-weight: 400;
    font-size: 16px;
    line-height: 120%;
    padding-bottom: 40px;
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
    /* Dimmed Text */
}

.section-subtitle-battery {
    font-family: PlayR;
    font-weight: 400;
    font-size: 16px;
    line-height: 120%;
    padding-bottom: 20px;
    text-align: center;
    max-width: 820px;
    margin: 0 auto;
}




/* Buttons */
.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    height: 49px;
    padding: 0 30px;
    border: none;
    border-radius: 4px;
    font-family: PlayB;
    font-size: 14px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.btn--primary {
    background-color: #ECF955;
    border-top: 1px solid #FFCD3880;
    box-shadow: 0px 0px 10px 0px #C59D2480;
    border-radius: 10px;
    font-family: PlayB;
    font-weight: 700;
    font-size: 20px;
    line-height: 120%;
    text-align: center;
    color: #080808;
    border-radius: 10px;
}

.btn--secondary {
    background-color: #19351E;
    color: #FFFFFF;
    /* Neon Cyan Accent */
    border-top: 1px solid #19351E;
    width: 100%;
    box-shadow: 0px 0px 10px 0px #C59D244D;
    border-radius: 10px;
    box-sizing: border-box;
}

.btn--tertiary {
    background: #080808;
    /* Based on mockup's card button gradient */
    color: #FFFFFF;
    border-top: 1px solid #19351E;
    width: 100%;
    border-radius: 10px;
    box-shadow: 0px 0px 10px 0px #C59D244D;
}

.btn:hover {
    opacity: 0.85;
}


/* --- TOP BACKGROUND WRAPPER (HEADER & HERO) --- */
.top-bg-wrapper {
    background-image: url('../socbest-imgrPg/socbest-hero.webp');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    width: 100%;
    overflow: hidden;
}


/* --- HEADER --- */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #00000052;
    backdrop-filter: blur(10px);
    padding: 0px 12px;
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 19px 0px;
    gap: 10px;
    flex-wrap: wrap;
}

.topse-logo {
    font-family: PlayB;
    font-weight: 600;
    font-size: 16px;
    line-height: 120%;
    text-transform: uppercase;
    color: fff;
    display: flex;
    align-items: center;
    gap: 5px;
    width: 264px;
}

.header__menu {
    display: flex;
    gap: 40px;
    margin: 7px 0px;
}

.header__link {
    font-family: PlayR;
    font-weight: 400;
    font-style: Regular;
    font-size: 14px;
    line-height: 120%;
    color: #fff;
    transition: color 0.3s;
}

.header__link:hover {
    color: #00fff2;
}

.header__actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.lang-selector {
    display: flex;
    align-items: center;
    color: #fff;
    font-size: 14px;
    cursor: pointer;
}

.icon-arrow-down {
    margin-left: 5px;
    font-size: 10px;
}

/* Mobile Menu (Hidden by default on desktop) */
.header__nav--mobile {
    display: none;
}

.header__burger {
    display: none;
    /* Hidden on desktop */
    width: 30px;
    height: 20px;
    position: relative;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    z-index: 101;
}

.header__burger span {
    display: block;
    height: 2px;
    background: #fff;
    margin-bottom: 4px;
    border-radius: 1px;
    transition: all 0.3s ease;
}


/* --- HERO SECTION --- */
.hero {
    padding: 0px 12px 0px 12px;
    min-height: 430px;
}

.hero__container {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: center;
}

.hero__content {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 430px;
    justify-content: center;
}

.hero__title {
    font-family: PlayB;
    font-weight: 700;
    font-size: 48px;
    line-height: 120%;
    letter-spacing: 0%;
    text-align: center;
    text-transform: uppercase;
    color: #FFF;
    padding-bottom: 20px;
}

.hero__text {
    font-family: PlayR;
    font-weight: 400;
    font-size: 20px;
    line-height: 120%;
    vertical-align: middle;
    color: #fff;
    padding-bottom: 40px;
    text-align: center;
}

.hero__image-wrapper {
    flex-shrink: 0;
    width: 50%;
    max-width: 600px;
    position: relative;
}

/* --- GAME COLLECTION --- */
.game-collection {
    background-color: #080808;
}

.faq-collection {
    background-color: #0B0B0B;
}

.game-collection-gamepage {
    background: radial-gradient(100% 100% at 0% 0%, #19351E 0%, #0A150C 100%);
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.game-card {
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s;
    padding: 20px;
    gap: 20px;
    height: max-content;
}

.battery-card-cont {
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s;
    padding: 20px;
    gap: 20px;
    height: max-content;
}

.battery-card-cont:hover {
    transform: translateY(-5px);
    box-shadow: 0px 0px 20px 0px #3AA6FFA6;
}

.battery-card-cont h2 {
    font-family: PlayB;
    font-weight: 700;
    font-size: 14px;
    line-height: 120%;
    text-align: center;
    color: #ECF955;
}

.battery-card-cont p {
    font-family: PlayR;
    font-weight: 400;
    font-size: 14px;
    line-height: 120%;
    text-align: center;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 0px 20px 0px #3AA6FFA6;
}

/* Placeholder backgrounds for game cards */
.game-card--cyber-city {
    background: radial-gradient(100% 100% at 0% 0%, #19351E 0%, #0A150C 100%);

    border: 1px solid #19351E;
    box-shadow: 0px 0px 20px 0px #C59D243B;
}

.game-card--cyber-city-page {
    background: radial-gradient(100% 100% at 0% 0%, #19351E 0%, #0A150C 100%);
    border: 1px solid #19351E;
    box-shadow: 0px 0px 20px 0px #C59D243B;
}

.battery-card {
    background: radial-gradient(100% 100% at 0% 0%, #19351E 0%, #0A150C 100%);

    border: 1px solid #19351E;
    box-shadow: 0px 0px 20px 0px #C59D243B;
}


.game-card__info {
    width: 100%;
}

.game-card__title {
    font-family: PlayB;
    font-weight: 700;
    font-size: 16px;
    line-height: 120%;
    text-transform: uppercase;
    padding-bottom: 20px;
}

.game-card__descr {
    font-family: PlayR;
    font-weight: 400;
    font-size: 14px;
    line-height: 120%;
    padding-bottom: 20px;
}

.game-card__stats {
    display: flex;
    gap: 20px;
    font-size: 14px;
    justify-content: space-between;
    font-family: PlayR;
    font-weight: 300;
    line-height: 120%;
}

.game-card__rating {
    display: flex;
    align-items: center;
    gap: 5px;
}

.game-card__likes {
    display: flex;
    align-items: center;
    gap: 5px;
}


/* --- DEMO SECTION --- */
.demo-section {
    padding: 60px 12px;
    background-color: #0B0B0B;
}

.demo-box {
    height: 600px;
    background-color: #0B1108;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: PlayB;
    font-size: 40px;
    color: #333;
}

/* --- ABOUT SECTION (Controller) --- */
.about {
    background: #0B1108;
}

.about__container {
    background: radial-gradient(100% 100% at 0% 0%, #19351E 0%, #0A150C 100%);
    border: 1px solid #19351E;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    border-radius: 10px;
}

.about__content {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about__title {
    font-family: PlayB;
    font-weight: 700;
    font-size: 28px;
    line-height: 120%;
}

.about__text {
    font-family: PlayR;
    font-weight: 400;
    font-size: 16px;
    line-height: 120%;
}

.about__image-wrapper {
    flex-shrink: 0;
    width: 50%;
}

/* Image Placeholder */
.about__image-placeholder {
    background-image: url('../socbest-imgrPg/socbest-about.webp');
    height: 290px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* --- COIN SHOP SECTION --- */
.coin-shop {
    background-color: #0B1108;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.package-card {
    background-color: #0B0B0B;
    border: 1px solid #19351E;
    box-shadow: 0px 0px 20px 0px #C59D243B;
    /* Dark Blue for card BG */
    padding: 20px;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease;
    gap: 10px;
    justify-content: center;
}

.card-block-power-cont {
    display: flex;
    gap: 20px;
    align-items: center;
}

.package-card:hover {
    transform: scale(1.02);
    box-shadow: 0px 0px 20px 0px #3AA6FFA6;
}

.package-card__header {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.package-card__icon {
    font-size: 40px;
    display: block;
    margin-bottom: 10px;
}

.package-card__title {
    font-family: PlayB;
    font-weight: 700;
    font-size: 16px;
    line-height: 120%;
    text-align: center;
}

.package-card__desc {
    font-family: PlayR;
    font-weight: 400;
    font-size: 14px;
    line-height: 120%;
    text-align: center;
}

.package-card__price {
    font-family: PlayB;
    font-weight: 700;
    font-size: 20px;
    line-height: 120%;
    text-transform: uppercase;
    color: #3AA6FF;
}

.coin-shop__disclaimer {
    font-family: PlayR;
    font-weight: 400;
    font-size: 20px;
    line-height: 120%;
    margin-top: 40px;
    margin-bottom: 20px;
    color: #fff;
    text-align: center;
}

.battery-link {
    font-family: PlayR;
    font-weight: 400;
    font-size: 16px;
    line-height: 120%;
    text-align: center;
    text-decoration: underline;
    text-decoration-style: solid;
    text-decoration-thickness: 0%;
    text-decoration-skip-ink: auto;
    color: #3EF94F;
    display: flex;
    justify-content: center;
}

.coin-shop__disclaimer-bold {
    font-family: PlayB;
    color: #fff;
}

.coin-shop__btn {
    display: block;
    text-align: center;
    max-width: 200px;
    height: auto;
    padding: 15px;
}

/* --- FAQ SECTION (UPDATED TO SIMPLE BLOCKS) --- */
.faq {
    background-color: #0A0C19;
    /* Lighter background for contrast */
}

.faq-item {
    background: #080808;
    border: 1px solid #1F295B;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0px 0px 20px 0px #3AA6FFA6;
}

.faq-header {
    font-family: PlayB;
    font-weight: 700;
    font-size: 20px;
    line-height: 120%;
    color: #fff;
    padding-bottom: 10px;
    /* Neon Cyan Accent */
}

.faq-content {
    font-family: PlayR;
    font-weight: 400;
    font-size: 16px;
    line-height: 120%;
    color: #fff;
}


/* --- FOOTER --- */
.footer {
    background-color: #0B0B0B;
    /* Darkest background */
    padding: 50px 12px 30px;
}

.footer__grid {
    display: flex;
    gap: 24px;
}

.footer__heading {
    font-family: PlayB;
    font-weight: 700;
    font-size: 16px;
    line-height: 120%;
    vertical-align: middle;
}

.foot-block {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__section {
    margin-bottom: 20px;
}

.footer__text,
.footer__contact {
    font-family: PlayR;
    font-weight: 400;
    font-size: 16px;
    line-height: 120%;
}

.footer__link {
    color: #00fff2;
}

.footer__copyright {
    font-family: PlayR;
    font-weight: 400;
    font-size: 16px;
    line-height: 120%;
}

.footer__disclaimer-bottom {
    font-family: PlayR;
    font-weight: 400;
    font-size: 16px;
    line-height: 120%;
}

.footer__col {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 606px;
}

/* Right Column (Logos and Navigation) */
.footer__col--links {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer__logo-group {
    display: flex;
    gap: 20px;
    align-items: center;
    margin: 0;
    flex-wrap: wrap;
}

.footer__logo-item {
    padding: 5px 10px;
    border-radius: 4px;
    font-family: PlayB;
    font-size: 14px;
}

.footer__logo-item--primary {
    background-color: #2a3a5a;
    color: #fff;
}

.footer__logo-aware {
    color: #00fff2;
}

.logo-placeholder {
    color: #fff;
    border: 1px solid #909090;
    padding: 5px;
    display: inline-block;
    min-width: 50px;
    text-align: center;
}


.footer__nav-link {
    font-family: Play;
    font-weight: 400;
    font-size: 16px;
    line-height: 120%;
    text-align: center;
    text-decoration: underline;
    text-decoration-style: solid;
    text-decoration-thickness: 0%;
    text-decoration-skip-ink: auto;
    color: #3EF94F;
}

.footer__nav-link:hover {
    color: #00fff2;
}

.footer__nav-menu {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    margin: 0;
}

.icon-18 {
    width: 24px;
    height: 24px;
}

.left-cont {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.card-pic {
    width: 100%;
    height: auto;
}

/* --- CONTACT SECTION --- */
.contact-section {
    background-color: #0B1108;
    /* Темно-синий фон, как на макете */
}

.contact-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    justify-content: center;
    background: radial-gradient(100% 100% at 0% 0%, #19351E 0%, #0A150C 100%);
    border: 1px solid #19351E;
    padding: 20px;
    border-radius: 10px;
}

.contact-content {
    display: flex;
    flex-direction: column;
    max-width: 820px;
}

.contact-desc {
    color: #fff;
    padding-bottom: 20px;
    text-align: center;
}

.contact-form-wrapper {
    flex: 1;
    width: 100%;
    max-width: 600px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-input {
    width: 100%;
    background-color: #0B0B0B;
    /* Почти черный фон полей */
    border: 1px solid #19351E;
    /* Темно-синяя обводка */
    border-radius: 10px;
    padding: 20px;
    font-family: PlayR, sans-serif;
    font-size: 16px;
    color: #fff;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
    box-sizing: border-box;
    text-align: center;
    /* Важно для отступов */
}

.form-input::placeholder {
    color: #fff;
}

.form-input:focus {
    border-color: #3AA6FF;
    box-shadow: 0px 0px 10px 0px #3AA6FF40;
}

.form-textarea {
    resize: none;
}

.btn-cont {
    display: flex;
    justify-content: center;
}

.contact-btn {
    background-color: #19351E;
    border-top: 1px solid #19351E;
    box-shadow: 0px 0px 10px 0px #C59D244D;
    border-radius: 10px;
    font-family: PlayB;
    font-weight: 700;
    font-size: 14px;
    line-height: 120%;
    text-align: center;
    color: #fff;
    border-radius: 10px;
    margin-top: 20px;
}

.mob-btn-cont {
    display: none;
}

.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;
}

@media (max-width: 1245px) {
    .packages-grid {
        grid-template-columns: 1fr;
    }
}

/* Адаптив для планшетов и мобильных */
@media (max-width: 992px) {
    .contact-wrapper {
        flex-direction: column;
        /* Элементы друг под другом */
        align-items: stretch;
        gap: 20px;
    }

    .contact-content {
        max-width: 100%;
    }

    .contact-btn {
        width: 100%;
        /* Центрирование кнопки */
        display: flex;
    }

    .contact-form-wrapper {
        max-width: 100%;
    }

}


/* --- ADAPTIVE (MEDIA QUERIES) --- */

/* Tablet and Smaller (Max 992px) */
@media (max-width: 992px) {

    .hero__title {
        font-size: 40px;
    }

    .hero__image-placeholder {
        height: 450px;
        top: 0;
    }

    /* Game Grid */
    .game-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* About */
    .about__container {
        flex-direction: column-reverse;
    }

    .about__title {
        font-size: 36px;
    }

    .about__image-wrapper {
        margin-bottom: 30px;
    }

    /* Footer */
    .footer__grid {
        display: flex;
        gap: 24px;
        flex-direction: column;
    }

    .footer__col--links {
        align-items: flex-start;
        border-top: 1px solid #1a2538;
        padding-top: 30px;
        margin-top: 20px;
    }

    .about__image-wrapper {
        flex-shrink: 0;
        width: 100%;
    }

    .about__image-placeholder {
        height: 156px;
    }


}


/* Mobile Specific (Max 768px) */
/* Mobile Specific (Max 768px) */
@media (max-width: 768px) {

    .footer__nav-menu {
        flex-direction: column;
        align-items: flex-start;
    }

    .package-card {
        padding: 10px;
    }

    .coin-shop__disclaimer {
        font-size: 14px;
    }

    /* Header adjustments */
    .header__nav--desktop {
        display: none;
    }

    .header__burger {
        display: block;
    }

    .header__nav--mobile {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background-color: #0F1429;
        padding: 20px 0;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    }

    .header__nav--mobile.is-open {
        display: block;
    }

    .header__nav--mobile .header__menu {
        flex-direction: column;
        gap: 15px;
        padding: 0 20px;
    }

    .header__nav--mobile .header__link {
        display: block;
        padding: 10px 0;
        border-bottom: 1px solid #1a2538;
    }

    /* Hero */
    .hero__title {
        font-size: 22px;
    }

    .hero__text {
        font-size: 14px;
    }

    /* --- GAME GRID FIX (Всегда 2 колонки) --- */
    .game-grid {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .game-card {
        /* Убираем фиксированную высоту или делаем её автоматической */
        height: auto;
        /* Уменьшаем внутренние отступы, чтобы контенту было больше места */
        padding: 10px;
        gap: 10px;
    }

    /* Адаптируем заголовок игры */
    .game-card__title {
        font-size: 16px;
        padding-bottom: 10px;
        white-space: nowrap;
        /* Чтобы текст не переносился некрасиво, если длинный */
        overflow: hidden;
        text-overflow: ellipsis;
    }

    /* Адаптируем статистику (звезды и лайки) */
    .game-card__stats {
        font-size: 12px;
        gap: 5px;
        flex-wrap: wrap;
        /* Разрешаем перенос, если экраны совсем узкие */
    }

    .game-card__rating img,
    .game-card__likes img {
        width: 12px;
        /* Уменьшаем иконки */
        height: auto;
    }

    /* Уменьшаем кнопку Start Now */
    .game-card .btn {
        height: 36px;
        font-size: 14px;
        padding: 0 10px;
    }

    /* Titles */
    .section-title {
        font-size: 24px;
        /* Чуть меньше на мобильном */
    }

    /* FAQ adjustment for mobile */
    .faq-list {
        margin: 20px auto 0;
        padding: 0 5px;
    }

    .about__title {
        font-size: 26px;
    }

    .hero__content {
        min-height: auto;
    }

    .hero {
        padding: 40px 12px 40px 12px;
        min-height: auto;
    }

    .about__content {
        display: flex;
        flex-direction: column;
        gap: 10px;
        align-items: center;
        text-align: center;
    }

    .card-pic {
        width: auto;
        height: 137px;
    }
}

@media(max-width: 655px) {

    .card-pic {
        max-width: 153px;
        height: 137px;
    }

    .demo-section {
        padding: 20px 12px;
    }

    .container-battery {
        padding: 10px;
    }

    .about__title {
        font-size: 16px;
    }

    .card-block-power-cont img {
        width: 100%;
        height: 173px;
    }

    .section-subtitle {
        font-size: 10px;
        padding-bottom: 20px;
    }

    .about__text {
        font-size: 10px;
    }

    .package-card__header {
        display: flex;
        flex-direction: column;
        gap: 10px;
        max-width: 157px;
    }

    .package-card__title {
        font-size: 14px;
    }

    .package-card__desc {
        font-size: 10px;
    }

    .package-card__price {
        font-size: 14px;
    }

    .hero__image-placeholder {
        height: 225px;
    }

    /* Hero */
    .hero__title {
        font-size: 20px;
        padding-bottom: 10px;
    }

    .hero__text {
        font-size: 14px;
        padding-bottom: 10px;
    }

    .btn--primary {
        font-size: 12px;
    }

    .btn {
        height: 37px;
        font-size: 12px;
        padding: 0px 60px;
    }

    .section-padding {
        padding: 20px 12px;
    }

    .demo-box {
        height: 350px;
    }

    .section-title {
        font-size: 12px;
    }

    .hero__container {
        display: flex;
        gap: 5px;
        align-items: center;
    }

    .top-head {
        font-size: 6px;
    }

    .card-block-power-cont {
        display: flex;
        gap: 10px;
        align-items: center;
    }

    .btn-auth {
        font-size: 8px !important;
        padding: 4px 7px !important;
        border-radius: 10px !important;
    }

    .header__auth {
        gap: 5px !important;
    }

    .topse-logo {
        width: auto;
        font-size: 8px;
    }
}

@media(max-width: 350px) {
    .card-block-power-cont {
        width: 100%;
        display: flex;
        gap: 10px;
        box-sizing: border-box;
        align-items: center;
        flex-wrap: wrap;
        justify-content: center;
    }
}

/* --- RESPONSIBLE GAMING SECTION --- */
.responsible-section {
    background-color: #0B1108;
    /* Основной темный фон */
}

.responsible-content {
    max-width: 900px;
    /* Ограничиваем ширину текста для удобства чтения */
    color: #fff;
    font-family: PlayR, sans-serif;
    font-size: 18px;
    /* Размер шрифта текста */
    line-height: 1.6;
}

.responsible-text {
    margin-bottom: 25px;
}

.responsible-subtitle {
    margin-bottom: 15px;
    margin-top: 30px;
    /* Отступ сверху перед подзаголовками */
    font-family: PlayR, sans-serif;
    font-weight: 400;
    /* Regular, как на картинке */
    font-size: 20px;
    /* Чуть крупнее обычного текста */
}

.responsible-list {
    list-style-type: disc;
    /* Стандартные буллиты */
    padding-left: 25px;
    /* Отступ для буллитов */
    margin-bottom: 25px;
}

.responsible-list li {
    margin-bottom: 10px;
    padding-left: 5px;
}

/* Адаптив для мобильных устройств */
@media (max-width: 768px) {
    .responsible-content {
        font-size: 16px;
    }

    .responsible-subtitle {
        font-size: 18px;
    }
}

/* --- POPUP STYLES --- */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    /* Затемнение фона */
    backdrop-filter: blur(5px);
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.popup-card {
    background: radial-gradient(100% 100% at 0% 0%, #19351E 0%, #0A150C 100%);
    border: 1px solid #19351E;
    /* Темно-синий фон карточки */
    border-radius: 10px;
    padding: 40px;
    width: 100%;
    max-width: 440px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    /* Анимация появления */
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Специальный стиль для маленьких уведомлений (Success) */
.popup-card--message {
    padding: 20px 20px;
    justify-content: center;
    text-align: center;
    min-height: auto;
}

.popup-title {
    font-family: 'PlayB', sans-serif;
    /* Ваш жирный шрифт */
    font-size: 24px;
    font-weight: 700;
    color: #FFFFFF;
    /* Голубой заголовок */
    text-transform: uppercase;
    margin-bottom: 30px;
    text-align: center;
}

.popup-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.popup-input {
    width: 100%;
    background-color: #0B0B0B;
    /* Черный фон инпута */
    border: 1px solid #19351E;
    /* Темно-синяя рамка */
    border-radius: 10px;
    padding: 15px 20px;
    font-family: 'PlayR', sans-serif;
    font-size: 16px;
    color: #fff;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
    box-sizing: border-box;
    text-align: center;
}

.popup-input::placeholder {
    color: #999;
    opacity: 1;
}

.popup-input:focus {
    border-color: #3AA6FF;
    box-shadow: 0 0 10px rgba(58, 166, 255, 0.2);
}

.popup-btn {
    margin-top: 10px;
    cursor: pointer;
    /* Стили кнопки из вашего UI кита (btn--primary) */
    background-color: #ECF955;
    border-top: 1px solid #FFCD3880;
    box-shadow: 0px 0px 10px 0px #C59D2480;
    /* Свечение кнопки */
    border-radius: 10px;
    font-family: 'PlayB', sans-serif;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    color: #080808;
    padding: 10px 60px;
    transition: opacity 0.3s;
}

.popup-btn:hover {
    opacity: 0.9;
}

.popup-switch-text {
    margin-top: 20px;
    font-family: 'PlayR', sans-serif;
    font-size: 14px;
    color: #fff;
    text-align: center;
}

.popup-link {
    color: #fff;
    text-decoration: underline;
    cursor: pointer;
    margin-left: 5px;
    transition: color 0.3s;
}

.popup-link:hover {
    color: #3AA6FF;
}

.popup-message {
    font-family: 'PlayR', sans-serif;
    font-size: 18px;
    color: #fff;
    text-align: center;
    margin-bottom: 30px;
}

/* Close area outside click helper */
.popup-close-area {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: default;
}

/* Класс для ошибки валидации */
.form-input.input-error {
    border-color: #ff3333 !important;
    /* Красная рамка */
    box-shadow: 0 0 10px rgba(255, 51, 51, 0.2);
    /* Легкое красное свечение */
}

/* Сообщение об успехе (из прошлого шага) */
.success-message {
    color: #3AA6FF;
    font-family: 'PlayB', sans-serif;
    font-size: 16px;
    text-align: center;
    margin-top: 15px;
    opacity: 0;
    animation: fadeIn 0.5s forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- AGE VERIFICATION POPUP STYLES --- */
.age-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    /* Очень темный фон */
    backdrop-filter: blur(10px);
    z-index: 2000;
    /* Поверх всего, даже поверх авторизации */
    display: flex;
    /* Flex будет управляться через JS */
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.age-card {
    box-sizing: border-box;
    background-color: #080f08;
    background-image: linear-gradient(180deg, #19351E 0%, #050a05 100%);
    border: 1px solid #19351E;
    border-radius: 10px;
    padding: 40px;
    width: 80%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    box-shadow: 0 0 30px rgba(25, 53, 30, 0.5);
}

.age-icon {
    width: 60px;
    height: 60px;
    border: 2px solid #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.age-icon span {
    font-family: 'PlayB', sans-serif;
    font-size: 24px;
    color: #fff;
}

.age-title {
    font-family: 'PlayB', sans-serif;
    font-size: 22px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 40px;
    letter-spacing: 0.5px;
}

.age-buttons {
    display: flex;
    gap: 20px;
    width: 100%;
    justify-content: center;
}

.age-btn {
    flex: 1;
    padding: 15px 10px;
    border-radius: 10px;
    font-family: 'PlayB', sans-serif;
    font-size: 14px;
    cursor: pointer;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

/* Кнопка "НЕТ" */
.age-btn--no {
    background-color: #1a251a;
    border: 1px solid #19351E;
    color: #fff;
}

.age-btn--no:hover {
    background-color: #2a3a2a;
    border-color: #fff;
}

/* Кнопка "ДА" (Желтая) */
.age-btn--yes {
    background-color: #E8F748;
    /* Яркий лаймово-желтый */
    border: 1px solid #E8F748;
    color: #000;
    box-shadow: 0 0 15px rgba(232, 247, 72, 0.4);
}

.age-btn--yes:hover {
    background-color: #dbe835;
    transform: scale(1.02);
}

/* Адаптив для мобилок */
@media (max-width: 500px) {
    .age-buttons {
        flex-direction: column;
    }

    .age-card {
        padding: 30px 20px;
    }
}

/* --- КНОПКИ АВТОРИЗАЦИИ В ШАПКЕ --- */

/* Контейнер для кнопок на десктопе */
.header__auth {
    display: flex;
    gap: 20px;
    /* Отступ от меню */
    align-items: center;
}

/* Общий стиль кнопок (Зеленый фон, как на скрине) */
.btn-auth {
    background-color: #19351E;
    /* Темно-зеленый */
    border-top: 1px solid #19351E;
    box-shadow: 0px 0px 10px 0px #C59D244D;
    border: none;
    /* Чуть светлее обводка */
    color: #fff;
    font-family: Play;
    font-weight: 400;
    font-size: 14px;
    line-height: 120%;
    vertical-align: middle;
    padding: 7px 20px;
    border-radius: 10px;
    /* Скругление углов */
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

/* Эффект при наведении */
.btn-auth:hover {
    background-color: #234529;
    border-color: #4CAF50;
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.3);
}

.btn-auth--mobile {
    width: 100%;
    /* На мобильном кнопки на всю ширину */
    text-align: center;
    padding: 12px;
}

iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.block-game {
    position: relative;
    max-width: 1240px;
    margin: 0 auto;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}