.warning-domain {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    z-index: 100;
    background-color: rgba(0, 0, 0, .7);
}

.warning-domain>div {
    text-align: center;
    position: relative;
    font: 12pt Arial;
    color: white;
    padding: 5px 20px 15px 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.warning-domain>div>div {
    padding-right: 10px;
}

.warning-domain__close {
    position: absolute;
    right: 5px;
    top: 5px;
}

.warning-domain__close::after {
    background-color: #128e12;
    border-radius: 3px;
    padding: 2px 6px 4px 6px;
    content: 'x';
    display: inline-block;
    color: #EEE;
    line-height: 15px;
    font-size: 11pt;
}

.warning-domain__close01 {
    text-align: right;
    padding-right: 9px;
}

.row {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}

.demo {
    background: linear-gradient(to right, #4e42b9, #e98223)
}

a:hover,
a:focus {
    text-decoration: none;
    outline: none;
}

#accordion .panel {
    border: none;
    border-radius: 5px;
    box-shadow: none;
    margin-bottom: 10px;
    background: transparent;
}

#accordion .panel-heading {
    padding: 0;
    border: none;
    border-radius: 5px;
    background: transparent;
    position: relative;
}

#accordion .panel-title a {
    display: block;
    padding: 20px 30px;
    margin: 0;
    background: rgba(0, 0, 0, 0.4);
    font-size: 17px;
    font-weight: bold;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    border-radius: 5px;
    position: relative;
}

#accordion .panel-title a.collapsed {
    border: none;
}

/* Hide icon on video headings (links without data-toggle) - fixes empty box */
#accordion .panel-title a:before {
    content: "";
    display: none;
}

/* FAQ accordion: use inline SVG chevron so icon always shows (no icon font needed) */
#accordion .panel-title a[data-toggle="collapse"]:before {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    right: 30px;
    width: 24px;
    height: 24px;
    margin-top: -12px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 1;
    transform: rotate(180deg);
    transition: transform .4s cubic-bezier(0.080, 1.090, 0.320, 1.275);
}

#accordion .panel-title a[data-toggle="collapse"].collapsed:before {
    opacity: 0.7;
    transform: rotate(0deg);
}

#accordion .panel-body {
    padding: 20px 30px;
    background: rgba(0, 0, 0, 0.1);
    font-size: 15px;
    color: #fff;
    line-height: 28px;
    letter-spacing: 1px;
    border-top: none;
    border-radius: 5px;
}

.faq-table {
    width: 100%;
    border-collapse: collapse;
    text-align: center;
    margin: 10px 0 20px;
}


.carousel {
    height: 700px !important;
}

.carousel .carousel-item {
    visibility: hidden;
    width: 300px;
    height: auto;
    position: absolute;
    top: 0;
    left: 0;
}

/* set to flexbox to center the images with the indicator icons */
.carousel-item {
    display: flex;
    align-items: start;
    justify-content: center;
}

.carousel-item img {
    width: auto !important;
    height: 50px !important;
}

/* ========== Responsive home page ========== */
.hero-logo {
    max-width: 100%;
    width: 400px;
    height: auto;
}

.hero-title {
    font-weight: bolder;
    font-size: clamp(1.5rem, 5vw, 40px);
    line-height: 1.2;
    padding-left: 10px;
    padding-right: 10px;
}

.hero-btns-wrap {
    padding-top: 24px;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.hero-btn {
    white-space: nowrap;
    background: black !important;
    border: dotted !important;
    height: 56px !important;
    font-size: clamp(1rem, 4vw, 30px) !important;
    padding-left: 20px !important;
    padding-right: 20px !important;
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

@media (min-width: 576px) {
    .hero-btn {
        height: 64px !important;
    }
}

@media (min-width: 768px) {
    .hero-btn {
        height: 80px !important;
    }
}

/* Stats row: stack on small screens */
.advantages-number-responsive .advantages-number-wrap {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.advantages-number-responsive .advantages-number__item {
    min-width: 140px;
}

/* Responsive videos - no horizontal overflow */
.video-wrapper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.responsive-video {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
}

/* FAQ accordion: readable on small screens and icon fits */
#accordion .panel-title a {
    padding-right: 50px;
}

#accordion .panel-title a[data-toggle="collapse"]:before {
    right: 16px;
}

@media (max-width: 767px) {
    #accordion .panel-title a {
        padding: 14px 16px;
        padding-right: 48px;
        font-size: 14px;
    }

    #accordion .panel-title a[data-toggle="collapse"]:before {
        right: 12px;
        width: 20px;
        height: 20px;
        margin-top: -10px;
        background-size: 20px 20px;
    }

    #accordion .panel-body {
        padding: 14px 16px;
        font-size: 14px;
    }
}

/* ========== FULLY RESPONSIVE HOME PAGE (mobile / tablet / desktop) ========== */

/* Prevent horizontal scroll on any device */
.home-page {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

.home-midd {
    max-width: 100%;
    overflow-x: hidden;
}

/* Hero: fluid background and padding */
.home-hero {
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    min-height: 280px;
    padding: 20px 0 30px !important;
}

.home-hero .container {
    max-width: 100%;
    padding-left: 12px;
    padding-right: 12px;
}

/* Logo: scale down on small screens */
.hero-logo {
    max-width: min(400px, 85vw);
    width: 100%;
    height: auto;
}

/* Title: fluid typography */
.hero-title {
    font-weight: bolder;
    font-size: clamp(1.25rem, 4.5vw + 0.5rem, 40px);
    line-height: 1.25;
    padding-left: 8px;
    padding-right: 8px;
    word-break: break-word;
}

/* Buttons: full-width on tiny screens, then inline */
.hero-btns-wrap {
    padding-top: 16px;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    width: 100%;
    max-width: 100%;
}

.hero-btn {
    min-width: 0;
    flex: 1 1 auto;
}

/* Stats: responsive numbers and labels */
.advantages-number-responsive .advantages-number__item-title {
    font-size: clamp(0.875rem, 2.5vw, 20px);
}

.advantages-number-responsive .advantages-number__item-content {
    font-size: clamp(1.5rem, 6vw, 55px) !important;
    word-break: break-all;
}

/* Content area: safe padding */
.home-content-container {
    max-width: 100%;
    padding-left: 12px;
    padding-right: 12px;
}

.how-it-works-title {
    font-size: clamp(1.5rem, 5vw, 40px);
    margin: 0;
    color: inherit;
    font-weight: 700;
}

/* Video section spacing */
.home-content-container .video-wrapper {
    margin-left: 0;
    margin-right: 0;
}

.home-content-container .panel-title a span {
    font-size: inherit;
    word-break: break-word;
}

/* Footer: responsive padding and text */
.home-footer .footer-widget-area {
    padding: 40px 0 !important;
}

.home-footer-title {
    font-size: clamp(1.125rem, 3vw, 1.5rem);
    margin-bottom: 12px;
}

.home-socials ul {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    padding-left: 0;
    list-style: none;
}

.home-socials .telegram-icon {
    width: 40px;
    height: 40px;
}

/* ---- Mobile (320px - 575px) ---- */
@media (max-width: 575px) {
    .home-hero {
        min-height: 240px;
        padding: 16px 0 24px !important;
    }

    .home-hero .container {
        padding-left: 10px;
        padding-right: 10px;
    }

    .hero-title {
        font-size: 1.2rem;
    }

    .hero-btns-wrap {
        flex-direction: column;
        padding-top: 12px;
        gap: 8px;
    }

    .hero-btn {
        width: 100%;
        max-width: 280px;
        height: 48px !important;
        font-size: 1rem !important;
    }

    .advantages-number-responsive .advantages-number-wrap {
        gap: 12px;
        padding: 16px 10px;
    }

    .advantages-number-responsive .advantages-number__item {
        min-width: 0;
        width: 100%;
    }

    .advantages-number-responsive .advantages-number__item-content {
        font-size: 1.75rem !important;
    }

    .home-content-container {
        padding-left: 10px;
        padding-right: 10px;
        margin-top: 1rem !important;
    }

    .how-it-works-title {
        font-size: 1.5rem;
    }

    #accordion .panel-title a {
        padding: 12px 12px 12px 14px;
        padding-right: 44px;
        font-size: 12px;
        letter-spacing: 0.5px;
    }

    #accordion .panel-title a[data-toggle="collapse"]:before {
        right: 10px;
        width: 18px;
        height: 18px;
        margin-top: -9px;
        background-size: 18px 18px;
    }

    #accordion .panel-body {
        padding: 12px 14px;
        font-size: 13px;
        line-height: 1.5;
    }

    .home-footer .footer-widget-area {
        padding: 28px 0 !important;
    }

    .home-footer .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .home-socials .telegram-icon {
        width: 36px;
        height: 36px;
    }
}

/* ---- Mobile landscape / large phone (576px - 767px) ---- */
@media (min-width: 576px) and (max-width: 767px) {
    .home-hero {
        min-height: 260px;
        padding: 18px 0 26px !important;
    }

    .home-hero .container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .hero-logo {
        max-width: 320px;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-btn {
        height: 56px !important;
        font-size: 1.125rem !important;
    }

    .home-content-container {
        padding-left: 16px;
        padding-right: 16px;
    }

    .advantages-number-responsive .advantages-number__item-content {
        font-size: 2.25rem !important;
    }
}

/* ---- Tablet (768px - 991px) ---- */
@media (min-width: 768px) and (max-width: 991px) {
    .home-hero {
        min-height: 320px;
        padding: 24px 0 36px !important;
    }

    .home-hero .container {
        padding-left: 24px;
        padding-right: 24px;
    }

    .hero-logo {
        max-width: 360px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-btn {
        height: 64px !important;
        font-size: 1.25rem !important;
    }

    .home-content-container {
        padding-left: 24px;
        padding-right: 24px;
    }

    .how-it-works-title {
        font-size: 2rem;
    }

    #accordion .panel-title a {
        padding: 16px 20px;
        padding-right: 52px;
        font-size: 15px;
    }

    .home-footer .footer-widget-area {
        padding: 50px 0 !important;
    }
}

/* ---- Desktop (992px+) ---- */
@media (min-width: 992px) {
    .home-hero {
        min-height: 380px;
        padding: 30px 0 50px !important;
    }

    .home-hero .container {
        padding-left: 24px;
        padding-right: 24px;
        max-width: 1140px;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-logo {
        max-width: 400px;
    }

    .hero-title {
        font-size: 40px;
    }

    .hero-btn {
        height: 80px !important;
        font-size: 30px !important;
    }

    .home-content-container {
        max-width: 1140px;
        margin-left: auto;
        margin-right: auto;
        padding-left: 24px;
        padding-right: 24px;
    }

    .home-footer-container {
        max-width: 1140px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ---- Large desktop (1200px+) ---- */
@media (min-width: 1200px) {
    .home-hero .container {
        max-width: 1200px;
    }

    .home-content-container {
        max-width: 1200px;
    }

    .home-footer-container {
        max-width: 1200px;
    }
}

/* How It Works section: responsive background */
.home-how-section {
    width: 100%;
    overflow-x: hidden;
}

.home-how-bg {
    width: 100%;
    min-height: 200px;
    background-repeat: no-repeat;
    background-position: center top;
    background-size: cover;
}

@media (max-width: 767px) {
    .home-how-bg {
        background-size: cover;
        background-position: center;
    }
}

/* Touch-friendly: ensure tap targets on mobile */
@media (hover: none) and (pointer: coarse) {
    .hero-btn {
        min-height: 48px;
    }

    #accordion .panel-title a {
        min-height: 44px;
        display: flex;
        align-items: center;
    }
}