@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;
}


/* --- BASE & UTILITIES --- */
body {
    background-color: #0F1429;
    font-family: BlinkerR, sans-serif;
    line-height: 1.6;
    color: #fff;
}

a {
    text-decoration: none;
    color: #fff;
}

.container-kUix {
    max-width: 1236px;
    margin: 0 auto;
}

.section-padding-kUix {
    padding: 80px 12px;
}

/* Headings */
.section-title-kUix {
    font-family: BlinkerB;
    font-weight: 700;
    font-size: 28px;
    line-height: 120%;
    text-transform: uppercase;
    margin-bottom: 10px;
    color: #fff;
}

.section-title--left-kUix {
    text-align: left;
}

.section-subtitle-kUix {
    font-family: BlinkerR;
    font-weight: 400;
    font-size: 20px;
    line-height: 120%;
    padding-bottom: 40px;
}

.section-subtitle--left-kUix {
    text-align: left;
}


/* Buttons */
.btn-kUix {
    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-kUix {
    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-kUix {
    background-color: transparent;
    color: #008CFF;
    border: 1px solid #3AA6FF;
    width: 100%;
    box-shadow: 0px 0px 20px 0px #3AA6FF80;
    border-radius: 10px;
    box-sizing: border-box;
}

.btn--tertiary-kUix {
    background: #080808;
    color: #008CFF;
    border: 1px solid #3AA6FF;
    width: 100%;
    border-radius: 10px;
    box-shadow: 0px 0px 20px 0px #3AA6FF80;
}

.btn-kUix:hover {
    opacity: 0.85;
}


/* --- TOP BACKGROUND WRAPPER (HEADER & HERO) --- */
.top-bg-wrapper-kUix {
    background: radial-gradient(26.53% 64.81% at 73.47% 67.84%, #2C3A81 0%, #0A0C19 100%);
    background-color: #0A0C19;
    overflow: hidden;
}


/* --- HEADER --- */
.header-kUix {
    position: sticky;
    top: 0;
    z-index: 100;
    background: #080808;
    backdrop-filter: blur(30px);
    padding: 0px 12px;
}

.header__container-kUix {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0px;
}

.topse-logo-kUix {
    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-kUix {
    display: flex;
    gap: 30px;
}

.header__link-kUix {
    font-family: BlinkerR;
    font-weight: 400;
    font-style: Regular;
    font-size: 14px;
    line-height: 120%;
    color: #3AA6FF;
    transition: color 0.3s;
}

.header__link-kUix:hover {
    color: #00fff2;
}

.header__actions-kUix {
    display: flex;
    align-items: center;
    gap: 20px;
}

/* Mobile Menu */
.header__nav--mobile-kUix {
    display: none;
}

.header__burger-kUix {
    display: none;
    width: 30px;
    height: 20px;
    position: relative;
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    z-index: 101;
}

.header__burger-kUix span {
    display: block;
    height: 2px;
    background: #fff;
    margin-bottom: 4px;
    border-radius: 1px;
    transition: all 0.3s ease;
}


/* --- HERO SECTION --- */
.hero-kUix {
    padding: 40px 12px 0px 12px;
}

.hero__container-kUix {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: space-between;
}

.hero__title-kUix {
    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-kUix {
    font-family: BlinkerR;
    font-weight: 400;
    font-size: 20px;
    line-height: 120%;
    vertical-align: middle;
    color: #fff;
    padding-bottom: 40px;
}

.hero__image-wrapper-kUix {
    flex-shrink: 0;
    width: 50%;
    max-width: 600px;
    position: relative;
}

/* Image Placeholder */
.hero__image-placeholder-kUix {
    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-kUix {
    background-color: #080808;
}

.game-collection-gamepage-kUix {
    background: #0F1429;
}

.game-grid-kUix {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.game-card-kUix {
    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-kUix:hover {
    transform: translateY(-5px);
    box-shadow: 0px 0px 20px 0px #3AA6FFA6;
}

/* Placeholder backgrounds for game cards */
.game-card--cyber-city-kUix {
    background: #0F1429;
    border: 1px solid #1F295B;
}

.game-card--night-city-2-kUix {
    background: #0F1429;
    border: 1px solid #1F295B;
}

.game-card--nebula-raiders-kUix {
    background: #0F1429;
    border: 1px solid #1F295B;
}

.game-card--cold-space-kUix {
    background: #0F1429;
    border: 1px solid #1F295B;
}

.game-card--night-city-kUix {
    background: #0F1429;
    border: 1px solid #1F295B;
}

.game-card--black-ninja-kUix {
    background: #0F1429;
    border: 1px solid #1F295B;
}

.game-card--cyber-city-page-kUix {
    background: #080808;
    border: 1px solid #1F295B;
}

.game-card--night-city-2-page-kUix {
    background: #080808;
    border: 1px solid #1F295B;
}

.game-card--nebula-raiders-page-kUix {
    background: #080808;
    border: 1px solid #1F295B;
}

.game-card--cold-space-page-kUix {
    background: #080808;
    border: 1px solid #1F295B;
}

.game-card--night-city-page-kUix {
    background: #080808;
    border: 1px solid #1F295B;
}

.game-card--black-ninja-page-kUix {
    background: #080808;
    border: 1px solid #1F295B;
}


.game-card__info-kUix {
    width: 100%;
}

.game-card__title-kUix {
    font-family: BlinkerB;
    font-weight: 700;
    font-size: 20px;
    line-height: 120%;
    text-transform: uppercase;
    padding-bottom: 20px;
}

.game-card__stats-kUix {
    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-kUix {
    display: flex;
    align-items: center;
    gap: 5px;
}

.game-card__likes-kUix {
    display: flex;
    align-items: center;
    gap: 5px;
}


/* --- DEMO SECTION --- */
.demo-section-kUix {
    padding: 60px 12px;
    background-color: #0F1429;
}

.demo-box-kUix {
    height: 600px;
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: BlinkerB;
    font-size: 40px;
    color: #333;
}

/* --- ABOUT SECTION --- */
.about-kUix {
    background: radial-gradient(26.53% 64.81% at 73.47% 67.84%, #2C3A81 0%, #0A0C19 100%);
}

.about__container-kUix {
    display: flex;
    align-items: center;
    gap: 20px;
}

.about__content-kUix {
    flex: 1;
    max-width: 628px;
}

.about__title-kUix {
    margin-bottom: 20px;
    font-family: BlinkerB;
    font-weight: 700;
    font-size: 28px;
    line-height: 120%;
    text-transform: uppercase;
    color: #3AA6FF;
}

.about__text-kUix {
    padding-bottom: 15px;
    font-family: BlinkerR;
    font-weight: 400;
    font-size: 20px;
    line-height: 120%;
    color: #FFFFFF;
}

.about__image-wrapper-kUix {
    flex-shrink: 0;
    width: 50%;
}

/* Image Placeholder */
.about__image-placeholder-kUix {
    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-kUix {
    background-color: #080808;
}

.packages-grid-kUix {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.package-card-kUix {
    background-color: #0F1429;
    border: 1px solid #1F295B;
    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-kUix {
    display: flex;
    gap: 20px;
}

.package-card-kUix:hover {
    transform: scale(1.01);
    box-shadow: 0px 0px 20px 0px #3AA6FFA6;
}

.package-card__header-kUix {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
}

.package-card__icon-kUix {
    font-size: 40px;
    display: block;
    margin-bottom: 10px;
}

.package-card__title-kUix {
    font-family: BlinkerB;
    font-weight: 700;
    font-size: 20px;
    line-height: 120%;
    text-transform: uppercase;
    color: #3AA6FF;
}

.package-card__desc-kUix {
    font-family: BlinkerR;
    font-weight: 400;
    font-size: 16px;
    line-height: 120%;
    text-align: left;
}

.package-card__price-kUix {
    font-family: BlinkerB;
    font-weight: 700;
    font-size: 20px;
    line-height: 120%;
    text-transform: uppercase;
    color: #3AA6FF;
}

.coin-shop__disclaimer-kUix {
    font-family: BlinkerR;
    font-weight: 400;
    font-size: 20px;
    line-height: 120%;
    margin-top: 40px;
    margin-bottom: 20px;
    color: #fff;
}

.coin-shop__disclaimer-bold-kUix {
    font-family: BlinkerB;
    color: #fff;
}

.coin-shop__btn-kUix {
    display: block;
    text-align: center;
    max-width: 200px;
    height: auto;
    padding: 15px;
}

/* --- FAQ SECTION --- */
.faq-kUix {
    background-color: #0A0C19;
}

.faq-item-kUix {
    background: #080808;
    border: 1px solid #1F295B;
    border-radius: 10px;
    padding: 20px;
    margin-bottom: 20px;
    transition: box-shadow 0.3s ease;
}

.faq-item-kUix:hover {
    box-shadow: 0px 0px 20px 0px #3AA6FFA6;
}

.faq-header-kUix {
    font-family: BlinkerB;
    font-weight: 700;
    font-size: 20px;
    line-height: 120%;
    color: #fff;
    padding-bottom: 10px;
}

.faq-content-kUix {
    font-family: BlinkerR;
    font-weight: 400;
    font-size: 16px;
    line-height: 120%;
    color: #fff;
}


/* --- FOOTER --- */
.footer-kUix {
    background-color: #080808;
    padding: 50px 12px 30px;
    border-top: 1px solid #1a2538;
}

.footer__grid-kUix {
    display: flex;
    gap: 24px;
    justify-content: space-between;
}

.footer__heading-kUix {
    font-family: BlinkerB;
    font-weight: 600;
    font-size: 16px;
    line-height: 120%;
    text-transform: uppercase;
    color: #3AA6FF;
}

.foot-block-kUix {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer__section-kUix {
    margin-bottom: 20px;
}

.footer__text-kUix,
.footer__contact-kUix {
    font-family: BlinkerR;
    font-weight: 400;
    font-size: 16px;
    line-height: 120%;
}

.footer__link-kUix {
    color: #00fff2;
}

.footer__copyright-kUix {
    font-family: BlinkerR;
    font-weight: 400;
    font-size: 16px;
    line-height: 120%;
}

.footer__disclaimer-bottom-kUix {
    font-family: BlinkerR;
    font-weight: 400;
    font-size: 16px;
    line-height: 120%;
}

.footer__col-kUix {
    display: flex;
    flex-direction: column;
    gap: 20px;
    max-width: 606px;
}

/* Right Column (Logos and Navigation) */
.footer__col--links-kUix {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer__logo-group-kUix {
    display: flex;
    gap: 20px;
    align-items: center;
    margin: 0;
    flex-wrap: wrap;
}

.footer__logo-item-kUix {
    padding: 5px 10px;
    border-radius: 4px;
    font-family: BlinkerB;
    font-size: 14px;
}

.footer__logo-item--primary-kUix {
    background-color: #2a3a5a;
    color: #fff;
}

.footer__logo-aware-kUix {
    color: #00fff2;
}

.footer-down-links-kUix {
    max-width: 1240px;
    margin: 0 auto;
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
}

.logo-placeholder-kUix {
    color: #fff;
    border: 1px solid #909090;
    padding: 5px;
    display: inline-block;
    min-width: 50px;
    text-align: center;
}


.footer__nav-link-kUix {
    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-kUix:hover {
    color: #00fff2;
}

.footer__nav-menu-kUix {
    display: flex;
    align-items: center;
    margin: 5px 0px;
    gap: 14px;
    flex-wrap: wrap;
}

.game-card-kUix img {
    width: 100%;
}

/* --- CONTACT SECTION --- */
.contact-section-kUix {
    background-color: #0F1429;
}

.contact-wrapper-kUix {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 60px;
}

.contact-content-kUix {
    flex: 1;
    max-width: 500px;
}

.contact-desc-kUix {
    color: #fff;
}

.contact-form-wrapper-kUix {
    flex: 1;
    width: 100%;
    max-width: 600px;
}

.contact-form-kUix {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-input-kUix {
    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-kUix::placeholder {
    color: #a0a0a0;
}

.form-input-kUix:focus {
    border-color: #3AA6FF;
    box-shadow: 0px 0px 10px 0px #3AA6FF40;
}

.form-textarea-kUix {
    min-height: 120px;
    resize: none;
}

.mob-btn-cont-kUix {
    display: none;
}

.visually-hiddenrPg-kUix {
    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-kUix {
        flex-direction: column;
        align-items: stretch;
        gap: 20px;
    }

    .contact-content-kUix {
        max-width: 100%;
    }

    .contact-btn-kUix {
        width: 100%;
        display: flex;
    }

    .contact-form-wrapper-kUix {
        max-width: 100%;
    }

    .desc-btn-cont-kUix {
        display: none;
    }
}


/* --- ADAPTIVE (MEDIA QUERIES) --- */

/* Tablet and Smaller (Max 992px) */
@media (max-width: 992px) {

    .hero__title-kUix {
        font-size: 40px;
    }

    .hero__image-placeholder-kUix {
        height: 450px;
        top: 0;
    }

    /* Game Grid */
    .game-grid-kUix {
        grid-template-columns: repeat(2, 1fr);
    }

    /* About */
    .about__container-kUix {
        flex-direction: column;
    }

    .about__title-kUix {
        font-size: 36px;
        margin-bottom: 10px;
    }

    .about__image-wrapper-kUix {
        margin-bottom: 30px;
    }

    .packages-grid-kUix {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    /* Footer */
    .footer__grid-kUix {
        display: flex;
        gap: 24px;
        flex-direction: column;
    }

    .footer__col--links-kUix {
        align-items: flex-start;
        border-top: 1px solid #1a2538;
    }

    .about__image-wrapper-kUix {
        flex-shrink: 0;
        width: 100%;
    }

    .about__image-placeholder-kUix {
        height: 238px;
    }
}


/* Mobile Specific (Max 768px) */
@media (max-width: 768px) {

    .footer__nav-menu-kUix {
        flex-direction: column;
        align-items: flex-start;
    }

    .package-card-kUix {
        padding: 10px;
    }

    .coin-shop__disclaimer-kUix {
        font-size: 14px;
    }

    /* Header adjustments */
    .header__nav--desktop-kUix {
        display: none;
    }

    .header__burger-kUix {
        display: block;
    }

    .header__nav--mobile-kUix {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background-color: #0F1429;
        padding: 0px 0;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    }

    .header__nav--mobile-kUix.is-open-kUix {
        display: block;
    }

    .header__nav--mobile-kUix .header__menu-kUix {
        flex-direction: column;
        gap: 15px;
        padding: 0 20px;
    }

    .header__nav--mobile-kUix .header__link-kUix {
        display: block;
        padding: 10px 0;
        border-bottom: 1px solid #1a2538;
    }

    /* Hero */
    .hero__title-kUix {
        font-size: 22px;
    }

    .hero__text-kUix {
        font-size: 14px;
    }

    /* --- GAME GRID FIX (Всегда 2 колонки) --- */
    .game-grid-kUix {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .game-card-kUix {
        height: auto;
        padding: 10px;
        gap: 10px;
    }

    .game-card__title-kUix {
        font-size: 14px;
        padding-bottom: 10px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .game-card__stats-kUix {
        font-size: 12px;
        gap: 5px;
        flex-wrap: wrap;
    }

    .game-card__rating-kUix img,
    .game-card__likes-kUix img {
        width: 12px;
        height: auto;
    }

    .game-card-kUix .btn-kUix {
        height: 36px;
        font-size: 12px;
        padding: 0 10px;
    }

    /* Titles */
    .section-title-kUix {
        font-size: 24px;
    }

    /* FAQ adjustment for mobile */
    .faq-list-kUix {
        margin: 20px auto 0;
        padding: 0 5px;
    }

    .footer-down-links-kUix {
        max-width: 1240px;
        margin: 0 auto;
        padding-top: 20px;
        display: flex;
        justify-content: space-between;
        flex-direction: column;
    }
}

@media(max-width: 655px) {
    .card-block-power-cont-kUix img {
        width: 46px;
        height: 65px;
    }

    .section-subtitle-kUix {
        font-size: 10px;
        padding-bottom: 10px;
    }

    .about__text-kUix {
        font-size: 10px;
    }

    .hero__content-kUix {
        padding: 0;
    }

    .package-card__header-kUix {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .package-card__title-kUix {
        font-size: 14px;
    }

    .package-card__desc-kUix {
        font-size: 10px;
    }

    .package-card__price-kUix {
        font-size: 14px;
    }

    .hero__image-placeholder-kUix {
        height: 225px;
    }

    .footer-down-links-kUix {
        display: flex;
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }

    /* Hero */
    .hero__title-kUix {
        font-size: 16px;
        padding-bottom: 10px;
    }

    .hero__text-kUix {
        font-size: 10px;
        padding-bottom: 10px;
    }

    .btn--primary-kUix {
        font-size: 12px;
    }

    .btn-kUix {
        width: 100%;
        font-size: 12px;
    }

    .demo-box-kUix {
        height: 350px;
    }

    .section-title-kUix {
        font-size: 12px;
    }

    .hero__container-kUix {
        display: flex;
        gap: 5px;
        align-items: center;
    }
}

/* --- RESPONSIBLE GAMING SECTION --- */
.responsible-section-kUix {
    background-color: #0F1429;
}

.responsible-content-kUix {
    max-width: 900px;
    color: #fff;
    font-family: BlinkerR, sans-serif;
    font-size: 18px;
    line-height: 1.6;
}

.responsible-text-kUix {
    margin-bottom: 25px;
}

.responsible-subtitle-kUix {
    margin-bottom: 15px;
    margin-top: 30px;
    font-family: BlinkerR, sans-serif;
    font-weight: 400;
    font-size: 20px;
}

.responsible-list-kUix {
    list-style-type: disc;
    padding-left: 25px;
    margin-bottom: 25px;
}

.responsible-list-kUix li {
    margin-bottom: 10px;
    padding-left: 5px;
}

/* Адаптив для мобильных устройств */
@media (max-width: 768px) {
    .responsible-content-kUix {
        font-size: 16px;
    }

    .responsible-subtitle-kUix {
        font-size: 18px;
    }
}

/* --- POPUP STYLES --- */
.popup-overlay-kUix {
    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;
}

.popup-card-kUix {
    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;
    margin: 10px;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Специальный стиль для маленьких уведомлений (Success) */
.popup-card--message-kUix {
    padding: 50px 40px;
    justify-content: center;
    text-align: center;
    min-height: 200px;
}

.popup-title-kUix {
    font-family: 'BlinkerB', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #3AA6FF;
    text-transform: uppercase;
    margin-bottom: 30px;
    text-align: center;
}

.popup-form-kUix {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.popup-input-kUix {
    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-kUix::placeholder {
    color: #999;
    opacity: 1;
}

.popup-input-kUix:focus {
    border-color: #3AA6FF;
    box-shadow: 0 0 10px rgba(58, 166, 255, 0.2);
}

.popup-btn-kUix {
    margin-top: 10px;
    width: 100%;
    cursor: pointer;
    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-kUix:hover {
    opacity: 0.9;
}

.popup-switch-text-kUix {
    margin-top: 20px;
    font-family: 'BlinkerR', sans-serif;
    font-size: 14px;
    color: #fff;
    text-align: center;
}

.popup-link-kUix {
    color: #fff;
    text-decoration: underline;
    cursor: pointer;
    margin-left: 5px;
    transition: color 0.3s;
}

.popup-link-kUix:hover {
    color: #3AA6FF;
}

.popup-message-kUix {
    font-family: 'BlinkerR', sans-serif;
    font-size: 18px;
    color: #fff;
    text-align: center;
    margin-bottom: 30px;
}

/* Close area outside click helper */
.popup-close-area-kUix {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    cursor: default;
}

.form-input-kUix.input-error-kUix {
    border-color: #ff3333 !important;
    box-shadow: 0 0 10px rgba(255, 51, 51, 0.2);
}

.success-message-kUix {
    color: #3AA6FF;
    font-family: 'BlinkerB', sans-serif;
    font-size: 16px;
    text-align: center;
    margin-top: 15px;
    opacity: 0;
    animation: fadeIn 0.5s forwards;
}

iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.block-game-kUix {
    position: relative;
    max-width: 1240px;
    margin: 0 auto;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}

/* Styles for Age Gate buttons */
.popup-btn-group-kUix {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

.popup-btn-group-kUix .btn-kUix {
    width: 100%;
    margin-top: 0;
}

.js-age-no-kUix {
    border-color: #ff3333;
    color: #ff3333;
    box-shadow: none;
}

.js-age-no-kUix:hover {
    background-color: rgba(255, 51, 51, 0.1);
}


/* Language Selector Styles */
.language-selector-kUix {
    position: relative;
    margin-left: 20px;
    font-family: 'BlinkerB', sans-serif;
    cursor: pointer;
    z-index: 1001;
}

.selected-lang-kUix {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
}

.lang-flag-kUix {
    width: 24px;
    height: auto;
    border-radius: 2px;
    object-fit: cover;
}

.arrow-down-kUix {
    transition: transform 0.3s ease;
}

/* Dropdown */
.lang-dropdown-kUix {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #080808;
    border: 1px solid #1F295B;
    border-radius: 8px;
    padding: 10px 0;
    min-width: 100px;
    display: none;
    flex-direction: column;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    margin-top: 0;
    padding-top: 10px;
}

/* Добавляем псевдоэлемент, чтобы перекрыть возможный микро-зазор */
.language-selector-kUix::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 10px;
}

/* ИЗМЕНЕНИЕ: Открываем по классу active, который добавим JS-ом */
.language-selector-kUix.active .lang-dropdown-kUix {
    display: flex;
}

.language-selector-kUix.active .arrow-down-kUix {
    transform: rotate(180deg);
}

.lang-dropdown-kUix li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 15px;
    color: #fff;
    transition: background 0.3s;
    cursor: pointer;
}

.lang-dropdown-kUix li:hover {
    background-color: #1F295B;
    color: #3AA6FF;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .language-selector-kUix {
        margin-left: auto;
        margin-right: 20px;
    }
}