@font-face {
    font-family: 'Averta';
    src: url('../fonts/Averta-Regular.ttf');
}

@font-face {
    font-family: 'Averta ExTraBold';
    src: url('../fonts/Averta ExtraBold.ttf');
    font-weight: bold;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #000;
    overflow-x: hidden;
}

.main-header {
    background-color: #f5f5f5;
    padding: 10px 0;
}

.container {
    width: 90%;
    margin: 0 auto;
    align-items: center;
    display: flex;
    justify-content: space-between;
}

.logo {
    object-fit: contain;
    user-select: none;
}

.menu {
    display: flex;
    gap: 50px;
}

.menu a {
    font-weight: 600;
    font-size: 20px;
    position: relative;
    font-family: 'Averta', sans-serif;
    text-decoration: none;
    color: #000000;
}

.overlay {
    display: none;
}

.hamburger {
    display: none;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.language-select {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 20px;
    padding: 4px 10px;
    cursor: pointer;
    user-select: none;
}

.language-select img {
    height: 20px;
    margin-right: 5px;
}

.language-icon {
    width: 25px;
    height: 25px;
    border-radius: 50%;
}

.contact-btn {
    background-color: #FF3B3B;
    color: white;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: background 0.3s ease;
    font-family: 'Averta', sans-serif;
    text-decoration: none;
}

.contact-btn:hover {
    background-color: #e63636;
}

.phone-icon {
    width: 20px;
    height: 20px;
    user-select: none;
}

.main-container {
    display: flex;
    justify-content: center;
    background: #f5f5f5;
}

.page-wrapper {
    width: 100%;
    max-width: 1600px;


}

.hero-section {
    position: relative;
    background-color: #f5f5f5;
    padding: 60px 200px 0px 200px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    text-align: left;
    overflow: hidden;
}

.hero-content {
    width: 100%;
    z-index: 2;
    position: relative;
    user-select: none;
}

.hero-title {
    font-size: clamp(48px, 10vw, 128px);
    font-weight: bold;
    color: #000;
    margin: 0;
    line-height: 1;
    font-family: 'Averta ExtraBold', sans-serif;
    font-style: bold;
    user-select: none;
}

.hero-subtitle {
    font-size: clamp(18px, 3vw, 36px);
    font-weight: 600;
    color: #0077cc;
    margin-top: 20px;
    line-height: 1.5;
    font-family: 'Averta', sans-serif;
}

.hero-bg-text {
    font-size: clamp(48px, 8vw, 120px);
    font-weight: 900;
    color: rgba(0, 123, 255, 0.08);
    position: absolute;
    z-index: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    user-select: none;
    -webkit-user-select: none;
}

.bg-score {
    position: absolute;
    top: -30%;
    left: 22%;
    font-size: clamp(120px, 22vw, 280px);
    font-weight: 900;
    color: rgba(0, 123, 255, 0.08);
    margin: 0;
}

.bg-board {
    position: absolute;
    top: 80%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: clamp(180px, 32vw, 420px);
    font-weight: 900;
    color: rgba(0, 123, 255, 0.08);
    margin: 0;
    white-space: nowrap;
    z-index: -1;
}

.hero-buttons {
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 2;
}

.action-buttons {
    position: fixed;
    bottom: 20px;
    /* khoảng cách từ dưới */
    right: 20px;
    /* khoảng cách từ phải */
    display: flex;
    flex-direction: column;
    gap: 10px;
    /* khoảng cách giữa các nút */
    z-index: 9999;
    /* đảm bảo nằm trên các phần tử khác */
    align-items: flex-end;
    /* đẩy tất cả phần tử con sát mép phải */
}

.action-buttons a {
    padding: 8px;
    animation: shake 1s infinite ease-in-out;
}

/* Tạo keyframes rung */
@keyframes shake {

    0%,
    100% {
        transform: rotate(0deg);
    }

    20% {
        transform: rotate(-5deg);
    }

    40% {
        transform: rotate(5deg);
    }

    60% {
        transform: rotate(-5deg);
    }

    80% {
        transform: rotate(5deg);
    }
}


.zalo-icon {
    width: 50px;
    height: 50px;
    user-select: none;
}

.hotline-icon {
    width: 150px;
    height: 80px;
    user-select: none;
}

.hero-image img {
    max-width: 140%;
    right: 14%;
    margin-top: -30px;
    z-index: 2;
    position: relative;
    user-select: none;
}

.ambassador-section {
    position: relative;
    overflow: hidden;
}

.ambassador-bg {
    position: absolute;
    inset: 0;
    background: url('./../../images/images/flaming-8-ball.png') no-repeat center center;
    background-size: cover;
    z-index: 0;
}

.ambassador-content {
    position: relative;
    height: 1200px;
    max-width: 1200px;
    margin: 0 auto;
    z-index: 1;
    text-align: center;
}

.ambassador-title {
    font-size: 48px;
    font-weight: bolder;
    color: #00b0ff;
    font-family: 'Averta', sans-serif;
}

.ambassador-subtitle {
    font-size: 48px;
    font-family: 'Averta', sans-serif;
    margin-top: -20px;
    color: #ffffff;
}

.ambassador-names {
    position: relative;
    width: 100%;
    height: 100%;
}

.ambassador-name {
    position: absolute;
    text-align: left;
    font-weight: bold;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.8);
    font-family: 'Averta', sans-serif;
}

.ambassador-icon {
    width: 15px;
    height: 15px;
}

.ambassador-row {
    flex-direction: row;
    justify-items: center;
}

.ambassador-name .role {
    color: #ff3b3b;
    font-size: 16px;
    font-family: 'Averta', sans-serif;
}

.ambassador-name .name-top {
    font-size: 20px;
    color: white;
    margin-left: 16px;
    font-family: 'Averta', sans-serif;

}

.ambassador-name .name-bottom {
    font-size: 40px;
    width: 180px;
    height: 40px;
    background: #ff3b3b;
    padding: 2px 12px;
    display: inline-block;
    color: white;
    margin-top: 12px;
    text-transform: uppercase;
    font-weight: bold;
    text-align: center;
    font-family: 'Averta', sans-serif;

    transform: skew(-20deg);
    position: relative;
}

.ambassador-name .name-bottom::before {
    content: attr(data-text);
    display: block;
    transform: skew(20deg);
}

#ambassador-hoang {
    top: 19%;
    left: 9%;
}

#ambassador-seoa {
    top: 32%;
    left: 45%;
}

#ambassador-thai {
    top: 8%;
    right: 11%;
}

/* .features-split */

.features-split {
    margin-top: -400px;
    position: relative;
    z-index: 10;
}

.features-split .feature-container {
    margin: 0 auto;
}

.feature-dark .feature-title {
    text-align: center;
    color: #00bfff;
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 40px;
    font-family: 'Averta', sans-serif;
}

.feature-wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 40px;
    justify-content: space-between;

}

.feature-wrapper .feature-image img {
    width: auto;
    max-width: 1000px;
    height: auto;
    max-height: 800px;
    user-select: none;

}

.feature-wrapper .feature-image {
    flex: 1 1 15%;
    max-width: 200px;

}

.feature-wrapper .feature-list {
    list-style: none;
    padding-left: 0;
    padding-right: 100px;
    line-height: 1.8;
}

.feature-wrapper .feature-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 12px;
    font-family: 'Averta', sans-serif;
    font-weight: bold;
    font-size: large;
    color: white;
}

.feature-wrapper .feature-list li::before {
    content: "●";
    position: absolute;
    left: 0;
}

.feature-light {
    background: #f5f5f5;

}

.features-split .feature-container {
    margin: 0;
}

.upcoming-title {
    margin: 20px 100px;
    text-align: left;
    font-size: 22px;
    font-weight: bold;
    color: #222;
    margin-bottom: 40px;
}

.upcoming-title .highlight {
    color: #007bff;
}

.upcoming-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.feature-box {
    background: #ffffff;
    border-radius: 12px;
    padding: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    width: 500px;
    height: 150px;
    display: flex;
    margin: 0px 20px;
    justify-content: center;
    flex-direction: column;
}

.box-inner {
    display: flex;
    align-items: center;

}

.box-icon {
    background: #00aaff;
    width: 120px;
    height: 250px;
    max-width: 120px;
    min-width: 120px;
    max-height: 250px;
    min-height: 80px;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: visible;
}

.box-icon img {
    width: 40px;
    height: 40px;
    z-index: 1;
    user-select: none;
}

.new-badge {
    background: red;
    color: white;
    font-size: 12px;
    font-weight: bold;
    padding: 3px 8px;
    position: absolute;
    left: 0px;
    top: 30%;
    z-index: 2;
}

.box-text {
    padding: 0px 10px;

}

.box-text h4 {
    font-size: 18px;
    color: #222;
    font-family: 'Averta ExtraBold', sans-serif;
}

.box-text p {
    font-size: 14px;
    color: #555;
}

/* .reason-section */
.reason-section {
    background: #f5f5f5;
    padding: 20px 100px;
}

.reason-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.reason-header h2 {
    font-size: 36px;
    color: #111;
    font-family: 'Averta ExtraBold', sans-serif;
}

.reason-header .highlight {
    color: #007bff;
    font-size: 48px;
}

.buy-link {
    color: red;
    font-weight: 600;
    text-decoration: none;
    margin-top: 80px;
    font-family: 'Averta', sans-serif;
}

.reason-items {
    display: flex;
    gap: 16px;
    align-items: stretch;
    margin: 0px 0px 20px 0px;
}

.reason-box {
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    padding: 20px;
    flex: 1 1 180px;
    max-width: 200px;
    text-align: left;
    font-family: 'Averta', sans-serif;
    font-weight: 600;
}

.reason-box img {
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
}

.reason-icon-group {
    position: relative;
    display: inline-block;
    width: 40px;
    height: 40px;
    margin-bottom: 10px;
    user-select: none;
}

.reason-icon-group .circle-icon {
    width: 40px;
    height: 40px;
    display: block;
}

.reason-icon-group .center-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 18px;
    height: 18px;
    pointer-events: none;
}

.reason-box p {
    font-size: 14px;
    color: #333;
    text-align: left;
}

.reason-video {
    display: flex;
    justify-content: center;
}

.reason-video-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 900px;
    user-select: none;
}

.reason-video-wrapper img {
    width: 100%;
    display: block;
    border-radius: 0px;
}

.reason-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    border-radius: 16px;
    z-index: 1;
    transition: background 0.3s;
}

.reason-video-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reason-video img {
    width: 100%;
    max-width: 900px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    align-self: center;
}

/* .testimonial-section */
.testimonial-section {
    background: #f5f5f5;
}

.testimonial-title {
    text-align: center;
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 40px;
    font-family: 'Averta', sans-serif;
}

.testimonial-title .highlight {
    color: #007bff;
}

.carousel {
    position: relative;
    overflow: hidden;
    max-width: 100%;
    margin: auto;
    padding: 0 40px;
}

.carousel-track {
    display: flex;
    justify-content: flex-start;
    gap: 20px;
    transition: transform 0.4s ease;
    width: fit-content;
    user-select: none;
}

.custom-carousel {
    position: relative;
    overflow: hidden;
    padding: 0 50px;
}

.carousel-image {
    width: 400px;
    height: 600px;
    object-fit: cover;
    border-radius: 16px;
    flex-shrink: 0;
}

.carousel-image:nth-child(n) {
    position: relative;
}

.carousel-image.clone {
    pointer-events: none;
}

.carousel-image.center {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 30px;
    background: none;
    border: none;
    cursor: pointer;
    color: #f9f9f9;
    z-index: 1;
}

.carousel-btn.prev {
    left: 0;
}

.carousel-btn.next {
    right: 0;
}

.testimonial-comments {
    margin-top: 40px;
    max-width: 700px;
    margin-inline: auto;
    text-align: center;
}

.testimonial-comment {
    display: none;
    animation: slideInRight 0.4s ease-in-out;
}

.testimonial-comment.active {
    display: block;
}


.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    user-select: none;
}

.testimonial-comment h4 {
    margin: 10px 0 5px;
    font-weight: bold;
}

.testimonial-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.position {
    font-size: 14px;
    color: #888;
}

.comment-text {
    height: 100px;
    margin-top: 10px;
    font-size: 16px;
    color: #333;
    line-height: 1.5;
    font-family: 'Averta', sans-serif;

}


.dot-indicators {
    margin-top: 20px;
    text-align: center;
    user-select: none;
}

.dot {
    height: 10px;
    width: 10px;
    margin: 0 4px;
    background-color: #ccc;
    border-radius: 50%;
    display: inline-block;
    transition: background-color 0.3s;
}

.dot.active {
    background-color: #007bff;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* .offer-content */
.special-offer {
    background: #f5f5f5;
    color: white;
    padding: 40px 0;
    position: relative;
}

.offer-content {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.offer-group {
    position: relative;
    display: inline-block;
}

.offer-img {
    width: 100%;
    max-width: 100%;
    display: block;
    user-select: none;
}

.offer-text {
    position: absolute;
    top: 67%;
    right: 2%;
    justify-items: center;
    transform: translate(-50%, -50%);
    text-align: center;
    font-family: 'Averta', sans-serif;
    z-index: 2;
}

.offer-text p {
    font-size: clamp(18px, 2vw, 28px);
    font-weight: 600;
    font-family: 'Averta', sans-serif;
}

.offer-text h2 {
    font-size: clamp(32px, 5vw, 56px);
    color: #00aaff;
    font-weight: bold;
    margin-bottom: 20px;
    font-family: 'Averta ExtraBold', sans-serif;
}

.offer-buttons {
    display: flex;
    gap: 20px;
    align-items: center;
}

/* .faq-section */
.faq-section {
    background: #f5f5f5;
    padding: 20px 100px;
}

.faq-container {
    margin: auto;
    display: flex;
    gap: 40px;
    padding-bottom: 40px;
}

.faq-title h2 {
    font-size: 48px;
    color: #0084ff;
    font-weight: 700;
    line-height: 1.4;
    max-width: 400px;
    font-family: 'Averta', sans-serif;
}

.faq-list {
    flex: 1;
}

.faq-item {
    border-bottom: 1px solid #ccc;
    padding: 16px 0;
    cursor: pointer;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    font-size: 16px;
    font-family: 'Averta', sans-serif;
}

.toggle {
    transition: transform 0.3s;
    color: #555;
}

.faq-answer {
    margin-top: 10px;
    color: #555;
    font-size: 14px;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-item.active .toggle {
    transform: rotate(180deg);
}

.footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    background-color: #f5f5f5;
    border-top: 1px solid #ccc;
    font-size: 14px;
    font-family: 'Averta', sans-serif;
}

.footer-left a {
    color: #000;
    text-decoration: none;
    margin-left: 4px;
    font-family: 'Averta', sans-serif;
}

.footer-right {
    text-align: center;
    font-family: 'Averta', sans-serif;
}

.experience-now {
    font-weight: bold;
    margin-bottom: 8px;
    font-family: 'Averta', sans-serif;
}

.app-buttons img {
    height: 32px;
    user-select: none;
}

@media (max-width: 1300px) {
    .feature-wrapper {
        flex-direction: column;
    }

    .feature-wrapper .feature-image,
    .feature-wrapper .feature-list {
        flex: 1 1 100%;
        max-width: 100%;
    }

    .feature-wrapper .feature-list li {
        margin-bottom: 0px;
        color: #000;
    }

    .offer-text {
        width: 400px;
        top: 67%;
        left: 70%;
    }

    .offer-text p {
        font-size: 24px;
    }

    .offer-text h2 {
        font-size: 48px;
        margin: 0;
        padding: 0;
    }
}

@media (max-width: 1400px) {
    .offer-text {
        width: 400px;
        top: 67%;
        left: 70%;
    }

    .offer-text p {
        font-size: 24px;
    }

    .offer-text h2 {
        font-size: 48px;
    }

}

html { scroll-behavior: smooth; }

/* Khi cuộn tới anchor, chừa khoảng bằng chiều cao header (ước chừng 80px) */
#gioi-thieu, #tinh-nang, #uu-dai { scroll-margin-top: 80px; }

.reason-video-wrapper{
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;     /* hoặc padding-top:56.25% */
  border-radius: 16px;     /* chỉnh bán kính tùy ý */
  overflow: hidden;        /* quan trọng để cắt iframe theo bo góc */
  /* optional: shadow */
  box-shadow: 0 6px 24px rgba(0,0,0,.12);
}
.reason-video-wrapper iframe{
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0; display: block;
}
