@font-face {
    font-family: BlinkerB;
    font-style: Bold;
    font-weight: 700;
    font-display: swap;
    src: url('../tpscass-fontsrPg/tpscass-blinker-bold.woff2') format("woff2")
}

@font-face {
    font-family: BlinkerR;
    font-style: Regular;
    font-weight: 400;
    font-style: normal;
    font-display: swap;
    src: url('../tpscass-fontsrPg/tpscass-blinker-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: #0F1429;
    /* Main Dark Background */
    font-family: BlinkerR, sans-serif;
    line-height: 1.6;
    color: #fff;
    /* White Text */
}

a {
    text-decoration: none;
    color: #fff;
}

.container {
    max-width: 1236px;
    margin: 0 auto;
}

.section-padding {
    padding: 80px 12px;
}

/* Headings */
.section-title {
    font-family: BlinkerB;
    font-weight: 700;
    font-size: 28px;
    line-height: 120%;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: #fff;
}

.section-title--left {
    text-align: left;
}

.section-subtitle {
    font-family: BlinkerR;
    font-weight: 400;
    font-size: 20px;
    line-height: 120%;
    padding-bottom: 40px;
    /* Dimmed Text */
}

.section-subtitle--left {
    text-align: left;
}


/* Buttons */
.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    height: 49px;
    padding: 0 30px;
    border: none;
    border-radius: 4px;
    font-family: BlinkerB;
    font-size: 14px;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.btn--primary {
    background-color: #3AA6FF;
    border: 1px solid #3AA6FF;
    box-shadow: 0px 0px 20px 0px #3AA6FF80;
    border-radius: 10px;
    font-family: BlinkerB;
    font-weight: 700;
    font-size: 16px;
    line-height: 120%;
    text-align: center;
    text-transform: uppercase;
    color: #080808;
    border-radius: 10px;
}

.btn--secondary {
    background-color: transparent;
    color: #008CFF;
    /* Neon Cyan Accent */
    border: 1px solid #3AA6FF;
    width: 100%;
    box-shadow: 0px 0px 20px 0px #3AA6FF80;
    border-radius: 10px;
    box-sizing: border-box;
}

.btn--tertiary {
    background: #080808;
    /* Based on mockup's card button gradient */
    color: #008CFF;
    border: 1px solid #3AA6FF;
    width: 100%;
    border-radius: 10px;
    box-shadow: 0px 0px 20px 0px #3AA6FF80;
}

.btn:hover {
    opacity: 0.85;
}


/* --- TOP BACKGROUND WRAPPER (HEADER & HERO) --- */
.top-bg-wrapper {
    /* Applying the complex radial gradient as requested */
    background: radial-gradient(26.53% 64.81% at 73.47% 67.84%, #2C3A81 0%, #0A0C19 100%);
    background-color: #0A0C19;
    /* Fallback */
    overflow: hidden;
}


/* --- HEADER --- */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #080808;
    backdrop-filter: blur(30px);
    padding: 0px 12px;
}

.header__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0px;
}

.topse-logo {
    font-family: BlinkerB;
    font-weight: 600;
    font-size: 16px;
    line-height: 120%;
    text-transform: uppercase;
    color: fff;
    display: flex;
    align-items: flex-end;
    gap: 5px;
}

.header__menu {
    display: flex;
    gap: 30px;
}

.header__link {
    font-family: BlinkerR;
    font-weight: 400;
    font-style: Regular;
    font-size: 14px;
    line-height: 120%;
    color: #3AA6FF;
    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: 40px 12px 0px 12px;
}

.hero__container {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: space-between;
}

.hero__title {
    font-family: BlinkerB;
    font-weight: 700;
    font-size: 48px;
    line-height: 120%;
    vertical-align: middle;
    text-transform: uppercase;
    color: #3AA6FF;
    padding-bottom: 20px;
}

.hero__text {
    font-family: BlinkerR;
    font-weight: 400;
    font-size: 20px;
    line-height: 120%;
    vertical-align: middle;
    color: #fff;
    padding-bottom: 40px;
}

.hero__image-wrapper {
    flex-shrink: 0;
    width: 50%;
    max-width: 600px;
    position: relative;
}

/* Image Placeholder */
.hero__image-placeholder {
    background-image: url('../tpscass-imgrPg/tpscass-girl.webp');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    width: 100%;
    max-width: 588px;
    height: 570px;
}

/* --- GAME COLLECTION --- */
.game-collection {
    background-color: #080808;
}

.game-collection-gamepage {
    background: #0F1429;
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.game-card {
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    background-size: cover;
    background-position: center;
    transition: transform 0.3s;
    padding: 20px;
    gap: 20px;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0px 0px 20px 0px #3AA6FFA6;
}

/* Placeholder backgrounds for game cards */
.game-card--cyber-city {
    background: #0F1429;
    border: 1px solid #1F295B;
}

.game-card--night-city-2 {
    background: #0F1429;
    border: 1px solid #1F295B;
}

.game-card--nebula-raiders {
    background: #0F1429;
    border: 1px solid #1F295B;
}

.game-card--cold-space {
    background: #0F1429;
    border: 1px solid #1F295B;
}

.game-card--night-city {
    background: #0F1429;
    border: 1px solid #1F295B;
}

.game-card--black-ninja {
    background: #0F1429;
    border: 1px solid #1F295B;
}

.game-card--cyber-city-page {
    background: #080808;
    border: 1px solid #1F295B;
}

.game-card--night-city-2-page {
    background: #080808;
    border: 1px solid #1F295B;
}

.game-card--nebula-raiders-page {
    background: #080808;
    border: 1px solid #1F295B;
}

.game-card--cold-space-page {
    background: #080808;
    border: 1px solid #1F295B;
}

.game-card--night-city-page {
    background: #080808;
    border: 1px solid #1F295B;
}

.game-card--black-ninja-page {
    background: #080808;
    border: 1px solid #1F295B;
}


.game-card__info {
    width: 100%;
}

.game-card__title {
    font-family: BlinkerB;
    font-weight: 700;
    font-size: 20px;
    line-height: 120%;
    text-transform: uppercase;
    padding-bottom: 20px;
}

.game-card__stats {
    display: flex;
    gap: 20px;
    font-size: 14px;
    justify-content: space-between;
    font-family: BlinkerR;
    font-weight: 300;
    font-size: 16px;
    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: #0F1429;
}

.demo-box {
    height: 600px;
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: BlinkerB;
    font-size: 40px;
    color: #333;
}

/* --- ABOUT SECTION (Controller) --- */
.about {
    background: radial-gradient(26.53% 64.81% at 73.47% 67.84%, #2C3A81 0%, #0A0C19 100%)
        /* warning: gradient uses a rotation that is not supported by CSS and may not behave as expected */
    ;
}

.about__container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.about__content {
    flex: 1;
    max-width: 628px;
}

.about__title {
    margin-bottom: 20px;
    font-family: BlinkerB;
    font-weight: 700;
    font-size: 28px;
    line-height: 120%;
    text-transform: uppercase;
    color: #3AA6FF;
}

.about__text {
    padding-bottom: 15px;
    font-family: BlinkerR;
    font-weight: 400;
    font-size: 20px;
    line-height: 120%;
    color: #FFFFFF;
}

.about__image-wrapper {
    flex-shrink: 0;
    width: 50%;
}

/* Image Placeholder */
.about__image-placeholder {
    background-image: url('../tpscass-imgrPg/tpscass-gamepad.webp');
    height: 420px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* --- COIN SHOP SECTION --- */
.coin-shop {
    background-color: #080808;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.package-card {
    background-color: #0F1429;
    border: 1px solid #1F295B;
    /* 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;
}

.card-block-power-cont {
    display: flex;
    gap: 20px;
}

.package-card:hover {
    transform: scale(1.1);
    box-shadow: 0px 0px 20px 0px #3AA6FFA6;
}

.package-card__header {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
}

.package-card__icon {
    font-size: 40px;
    display: block;
    margin-bottom: 10px;
}

.package-card__title {
    font-family: BlinkerB;
    font-weight: 700;
    font-size: 20px;
    line-height: 120%;
    text-transform: uppercase;
    /* Neon Cyan Accent */
    color: #3AA6FF;
}

.package-card__desc {
    font-family: BlinkerR;
    font-weight: 400;
    font-size: 16px;
    line-height: 120%;
    text-align: left;
}

.package-card__price {
    font-family: BlinkerB;
    font-weight: 700;
    font-size: 20px;
    line-height: 120%;
    text-transform: uppercase;
    color: #3AA6FF;
}

.coin-shop__disclaimer {
    font-family: BlinkerR;
    font-weight: 400;
    font-size: 20px;
    line-height: 120%;
    margin-top: 40px;
    margin-bottom: 20px;
    color: #fff;
}

.coin-shop__disclaimer-bold {
    font-family: BlinkerB;
    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: BlinkerB;
    font-weight: 700;
    font-size: 20px;
    line-height: 120%;
    color: #fff;
    padding-bottom: 10px;
    /* Neon Cyan Accent */
}

.faq-content {
    font-family: BlinkerR;
    font-weight: 400;
    font-size: 16px;
    line-height: 120%;
    color: #fff;
}


/* --- FOOTER --- */
.footer {
    background-color: #080808;
    /* Darkest background */
    padding: 50px 12px 30px;
    border-top: 1px solid #1a2538;
}

.footer__grid {
    display: flex;
    gap: 24px;
}

.footer__heading {
    font-family: BlinkerB;
    font-weight: 600;
    font-size: 16px;
    line-height: 120%;
    text-transform: uppercase;
    color: #3AA6FF;
}

.foot-block {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__section {
    margin-bottom: 20px;
}

.footer__text,
.footer__contact {
    font-family: BlinkerR;
    font-weight: 400;
    font-size: 16px;
    line-height: 120%;
}

.footer__link {
    color: #00fff2;
}

.footer__copyright {
    font-family: BlinkerR;
    font-weight: 400;
    font-size: 16px;
    line-height: 120%;
}

.footer__disclaimer-bottom {
    font-family: BlinkerR;
    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: BlinkerB;
    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: BlinkerB;
    font-weight: 700;
    font-size: 16px;
    line-height: 120%;
    text-align: center;
    text-transform: uppercase;
    transition: color 0.3s;
    color: #3AA6FF;
}

.footer__nav-link:hover {
    color: #00fff2;
}

.footer__nav-menu {
    display: flex;
    align-items: center;
    margin: 5px 0px;
    gap: 14px;
    flex-wrap: wrap;
}

.game-card img {
    width: 100%;
}

/* --- CONTACT SECTION --- */
.contact-section {
    background-color: #0F1429;
    /* Темно-синий фон, как на макете */
}

.contact-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /* Центрируем вертикально */
    gap: 60px;
    /* Отступ между колонками */
}

.contact-content {
    flex: 1;
    max-width: 500px;
}

.contact-desc {
    color: #fff;
}

.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: #050505;
    /* Почти черный фон полей */
    border: 1px solid #1F295B;
    /* Темно-синяя обводка */
    border-radius: 10px;
    padding: 18px 20px;
    font-family: BlinkerR, sans-serif;
    font-size: 16px;
    color: #fff;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
    box-sizing: border-box;
    /* Важно для отступов */
}

.form-input::placeholder {
    color: #a0a0a0;
}

.form-input:focus {
    border-color: #3AA6FF;
    box-shadow: 0px 0px 10px 0px #3AA6FF40;
}

.form-textarea {
    min-height: 120px;
    resize: none;
    /* Запрет растягивания */
}

.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: 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%;
    }

    .desc-btn-cont {
        display: none;
    }


}


/* --- 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;
    }

    .about__title {
        font-size: 36px;
        margin-bottom: 10px;
    }

    .about__image-wrapper {
        margin-bottom: 30px;
    }

    .packages-grid {
        grid-template-columns: 1fr;
    }

    /* 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: 238px;
    }


}


/* 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 {
        /* Принудительно 2 колонки */
        grid-template-columns: repeat(2, 1fr);
        /* Уменьшаем отступ между карточками, чтобы они влезли */
        gap: 10px;
    }

    .game-card {
        /* Убираем фиксированную высоту или делаем её автоматической */
        height: auto;
        /* Уменьшаем внутренние отступы, чтобы контенту было больше места */
        padding: 10px;
        gap: 10px;
    }

    /* Адаптируем заголовок игры */
    .game-card__title {
        font-size: 14px;
        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: 12px;
        padding: 0 10px;
    }

    /* Titles */
    .section-title {
        font-size: 24px;
        /* Чуть меньше на мобильном */
    }

    /* FAQ adjustment for mobile */
    .faq-list {
        margin: 20px auto 0;
        padding: 0 5px;
    }
}

@media(max-width: 655px) {
    .card-block-power-cont img {
        width: 46px;
        height: 65px;
    }

    .section-subtitle {
        font-size: 10px;
        padding-bottom: 0px;
    }

    .about__text {
        font-size: 10px;
    }

    .hero__content {
        padding: 0;
    }

    .package-card__header {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .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: 16px;
        padding-bottom: 10px;
    }

    .hero__text {
        font-size: 10px;
        padding-bottom: 10px;
    }

    .btn--primary {
        font-size: 12px;
    }

    .btn {
        height: 34px;
        width: 100%;
        font-size: 12px;
    }

    .demo-box {
        height: 350px;
    }

    .section-title {
        font-size: 12px;
    }

    .hero__container {
        display: flex;
        gap: 5px;
        align-items: center;
    }
}

/* --- RESPONSIBLE GAMING SECTION --- */
.responsible-section {
    background-color: #0F1429;
    /* Основной темный фон */
}

.responsible-content {
    max-width: 900px;
    /* Ограничиваем ширину текста для удобства чтения */
    color: #fff;
    font-family: BlinkerR, sans-serif;
    font-size: 18px;
    /* Размер шрифта текста */
    line-height: 1.6;
}

.responsible-text {
    margin-bottom: 25px;
}

.responsible-subtitle {
    margin-bottom: 15px;
    margin-top: 30px;
    /* Отступ сверху перед подзаголовками */
    font-family: BlinkerR, 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-color: #0F1429;
    /* Темно-синий фон карточки */
    border-radius: 10px;
    padding: 40px;
    width: 100%;
    max-width: 440px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    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: 50px 40px;
    justify-content: center;
    text-align: center;
    min-height: 200px;
}

.popup-title {
    font-family: 'BlinkerB', sans-serif;
    /* Ваш жирный шрифт */
    font-size: 24px;
    font-weight: 700;
    color: #3AA6FF;
    /* Голубой заголовок */
    text-transform: uppercase;
    margin-bottom: 30px;
    text-align: center;
}

.popup-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.popup-input {
    width: 100%;
    background-color: #050505;
    /* Черный фон инпута */
    border: 1px solid #1F295B;
    /* Темно-синяя рамка */
    border-radius: 8px;
    padding: 15px 20px;
    font-family: 'BlinkerR', sans-serif;
    font-size: 16px;
    color: #fff;
    outline: none;
    transition: border-color 0.3s, box-shadow 0.3s;
    box-sizing: border-box;
}

.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;
    width: 100%;
    cursor: pointer;
    /* Стили кнопки из вашего UI кита (btn--primary) */
    background-color: #3AA6FF;
    border: 1px solid #3AA6FF;
    box-shadow: 0px 0px 20px 0px #3AA6FF80;
    /* Свечение кнопки */
    border-radius: 10px;
    font-family: 'BlinkerB', sans-serif;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    color: #080808;
    height: 49px;
    transition: opacity 0.3s;
}

.popup-btn:hover {
    opacity: 0.9;
}

.popup-switch-text {
    margin-top: 20px;
    font-family: 'BlinkerR', 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: 'BlinkerR', 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: 'BlinkerB', 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);
    }
}

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;
}