/* The inline <style> blocks of the original ceo-do-hao-8xbet page, in order */

/* ===== <style> ===== */

html {
    scroll-behavior: smooth;
    overflow-x: clip
}

body {
    overflow-x: clip
}

body.menu-open {
    overflow: hidden
}

*,
*::before,
*::after {
    box-sizing: border-box
}

img,
svg,
video {
    max-width: 100%;
    height: auto
}

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s ease, transform .7s ease
}

.reveal.is-visible {
    opacity: 1;
    transform: none
}

.faq-panel {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height .45s ease, opacity .35s ease
}

@keyframes pulseSoft {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(56, 189, 248, .35)
    }

    50% {
        transform: scale(1.035);
        box-shadow: 0 0 0 12px rgba(56, 189, 248, 0)
    }
}

@keyframes shakeSoft {

    0%,
    100% {
        transform: translateX(0)
    }

    20% {
        transform: translateX(-2px)
    }

    40% {
        transform: translateX(2px)
    }

    60% {
        transform: translateX(-1px)
    }

    80% {
        transform: translateX(1px)
    }
}

@keyframes borderFlow {
    0% {
        background-position: 0% 50%
    }

    100% {
        background-position: 200% 50%
    }
}

@keyframes gradientFlow {
    0% {
        background-position: 0% 50%
    }

    50% {
        background-position: 100% 50%
    }

    100% {
        background-position: 0% 50%
    }
}

@keyframes floatY {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-12px)
    }
}

@keyframes twinkle {

    0%,
    100% {
        opacity: .2;
        transform: scale(.8)
    }

    50% {
        opacity: .9;
        transform: scale(1.2)
    }
}

.cta-pulse {
    animation: pulseSoft 1.9s ease-in-out infinite
}

.cta-shake:hover {
    animation: shakeSoft .35s linear 2
}

.cta-gradient {
    background-size: 200% 200%;
    animation: gradientFlow 3.4s ease infinite
}

.cta-border {
    position: relative;
    isolation: isolate
}

.cta-border::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: inherit;
    background: linear-gradient(90deg, #38bdf8, #fde047, #38bdf8, #ffffff, #38bdf8);
    background-size: 200% 100%;
    animation: borderFlow 2.2s linear infinite;
    z-index: -2
}

.cta-border::after {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    background: #071a3c;
    z-index: -1
}

@media (prefers-reduced-motion:reduce) {

    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: .001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .001ms !important
    }
}

/* ===== <style> ===== */

.m-bg {
    background: linear-gradient(135deg, #031126 0%, #052b5a 50%, #031126 100%)
}

.m-nav {
    box-shadow: 0 14px 50px rgba(0, 0, 0, .24)
}

.float-card {
    animation: floatY 5s ease-in-out infinite
}

.m-hero {
    position: relative;
    overflow: hidden;
}

.m-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 18% 20%, rgba(20, 158, 231, .18), transparent 28%), radial-gradient(circle at 82% 12%, rgba(250, 204, 21, .24), transparent 26%);
    pointer-events: none
}

.m-hero-media {
    box-shadow: 0 24px 70px rgba(8, 67, 118, .18)
}

/* ===== <style id="light-theme"> ===== */

body {
    background: linear-gradient(135deg, #f7fcff 0%, #e8f6ff 50%, #ffffff 100%) !important;
    color: #102b45 !important
}

header>div {
    background: rgba(255, 255, 255, .94) !important;
    border-color: #d8eaf5 !important;
    box-shadow: 0 14px 45px rgba(15, 63, 104, .10) !important
}

header a,
header button {
    color: #17344f !important
}

[class*="bg-[#04142f]"],
[class*="bg-[#052b5a]"] {
    background: #edf8ff !important
}

.bg-white\/\[\.035\],
.bg-white\/\[\.04\],
.bg-white\/\[\.045\],
.bg-white\/10 {
    background: rgba(255, 255, 255, .9) !important
}

[class*="text-white/"] {
    color: #5e7285 !important
}

.text-white {
    color: #17344f
}

footer {
    background: linear-gradient(90deg, #ecf8ff, #dbf0ff, #f7fcff) !important;
    color: #17344f;
    border-color: #d6ebf6 !important
}

footer [class*="text-white/"] {
    color: #63788a !important
}

a.cta-border {
    color: #fff !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .35)
}

a.cta-border::after {
    background: #063a72
}

a.cta-gradient,
a.bg-sky-500 {
    color: #fff !important
}

a.cta-shake:not(.bg-yellow-300),
a.cta-pulse:not(.bg-yellow-300) {
    background: #0b6fc7 !important;
    border-color: #0b6fc7 !important;
    color: #fff !important
}

a.bg-yellow-300,
a.text-\[\#031126\],
a.text-\[\#04142f\] {
    color: #04142f !important;
    text-shadow: none
}

main section:first-of-type h1,
main section:first-of-type p {
    max-width: calc(100vw - 2rem);
    overflow-wrap: anywhere;
    word-break: normal
}

@media(max-width:640px) {
    main section:first-of-type h1 {
        font-size: 2rem !important;
        line-height: 1.12 !important
    }
}

/* ===== <style id="floating-ad-style"> ===== */

body {
    padding-bottom: clamp(78px, 12vw, 112px)
}

.floating-ad {
    position: fixed;
    left: 50%;
    bottom: max(10px, env(safe-area-inset-bottom));
    transform: translateX(-50%);
    z-index: 90;
    width: min(728px, calc(100vw - 20px));

    filter: drop-shadow(0 12px 26px rgba(4, 36, 79, .22));
}

.floating-ad img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 92px;
    object-fit: contain;
    border-radius: 12px;
}

@media(max-width:640px) {
    body {
        padding-bottom: 84px
    }

    .floating-ad {
        width: calc(100vw - 14px);
        bottom: max(7px, env(safe-area-inset-bottom))
    }

    .floating-ad img {
        max-height: 72px;
        border-radius: 10px
    }
}

.mobile-cta-fab {
    display: none
}

@media(max-width:767px) {
    .mobile-cta-fab {
        position: fixed;
        right: 12px;
        bottom: calc(96px + env(safe-area-inset-bottom));
        z-index: 65;
        display: grid;
        gap: 10px;
        width: 122px;
    }

    .mobile-cta-fab a {
        display: grid;
        min-height: 46px;
        place-items: center;
        border-radius: 999px;
        padding: 0 14px;
        font-size: 13px;
        font-weight: 900;
        line-height: 1;
        text-align: center;
        box-shadow: 0 14px 30px rgba(4, 36, 79, .28);
    }

    .mobile-cta-fab a:first-child {
        background: #fff;
        color: #0b4f8f;
        border: 1px solid #7dd3fc
    }

    .mobile-cta-fab a:last-child {
        background: linear-gradient(135deg, #0ea5e9, #2563eb);
        color: #fff
    }
}

/* ===== <style id="professional-layout-fixes"> ===== */

main section:not(:first-child) h2,
main section:not(:first-child) h3,
main section:not(:first-child) h4,
main section:not(:first-child) [data-faq] button {
    color: inherit !important;
}

main section:not(:first-child) [data-faq] button span:first-child {
    color: inherit !important;
}

.section-banner-fix {
    display: block;
    height: auto;
    object-fit: contain;
}

@media (min-width:1024px) {

    [data-section-grid="true"]>.section-banner-fix,
    [data-section-grid="true"]>div:has(> .section-banner-fix) {
        position: sticky;
        top: 7rem;
        align-self: start;
        z-index: 1;
    }

    [data-section-grid="true"]>.section-banner-fix {
        max-height: calc(100vh - 9rem);
        object-fit: contain;
    }
}

@media (max-width:1023px) {
    .section-banner-fix {
        position: relative !important;
        top: auto !important;
        max-height: none !important;
    }
}

body[data-site="j"] .j-hero-shell {
    width: 100%;
    padding: 0 0 4.5rem;
}

body[data-site="j"] .j-hero-image-wrap {
    width: 100%;
    border: 0 !important;
    border-radius: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

body[data-site="j"] .j-hero-image {
    display: block;
    width: 100%;
    height: auto;
    max-height: 720px;
    object-fit: cover;
    border-radius: 0 !important;
}

body[data-site="j"] .j-hero-content {
    max-width: 920px;
    margin: 0 auto;
    padding: 3.25rem 1.25rem 0;
    text-align: center;
}

body[data-site="j"] .j-hero-content p {
    margin-left: auto;
    margin-right: auto;
}

body[data-site="j"] .j-hero-content .flex {
    justify-content: center;
}

body[data-site="j"] main section:not(:first-child) {
    color: #0f2742;
}

body[data-site="j"] main section.bg-\[\#061a38\],
body[data-site="j"] main section.bg-\[\#062150\],
body[data-site="j"] main section.bg-\[\#031026\] {
    color: #f8fafc;
}

body[data-site="j"] main section:not(:first-child) p[class*="text-white"] {
    color: #475569 !important;
}

body[data-site="j"] main section.bg-\[\#061a38\] p[class*="text-white"],
body[data-site="j"] main section.bg-\[\#062150\] p[class*="text-white"],
body[data-site="j"] main section.bg-\[\#031026\] p[class*="text-white"] {
    color: rgba(255, 255, 255, .72) !important;
}

body[data-site="k"] .hero-polish-k {
    padding-top: 3.5rem !important;
}

body[data-site="k"] [data-hero-fix] .k-card {
    box-shadow: 0 24px 70px rgba(14, 116, 144, .14);
}

body[data-site="k"] main section:not(:first-child) {
    color: #0f172a;
}

body[data-site="k"] main section:not(:first-child) p[class*="text-white"] {
    color: #475569 !important;
}

body[data-site="l"] .hero-polish-l {
    align-items: center !important;
}

body[data-site="l"] .hero-polish-l>div:last-child {
    align-self: center;
}

body[data-site="l"] .hero-polish-l img {
    max-height: 620px;
    object-fit: cover;
}

body[data-site="m"] .hero-polish-m {
    align-items: center !important;
    gap: 3rem !important;
}

body[data-site="m"] .hero-polish-m>div:first-child {
    width: auto !important;
    max-width: none !important;
}

body[data-site="m"] .hero-polish-m img {
    max-height: 620px;
    object-fit: cover;
}

@media(max-width:1023px) {
    body[data-site="m"] .hero-polish-m {
        text-align: center;
    }

    body[data-site="m"] .hero-polish-m .flex {
        justify-content: center;
    }
}

body[data-site="n"] .hero-polish-n>img {
    min-height: 440px;
    max-height: 700px;
    object-position: center;
}

body[data-site="n"] .hero-polish-n>div:last-child {
    padding-bottom: 2.25rem;
}

body[data-site="n"] .hero-polish-n h1 {
    text-shadow: 0 3px 18px rgba(0, 0, 0, .48);
}

[data-mobile-menu] {
    will-change: transform, opacity;
}

body.menu-open [data-menu-backdrop] {
    opacity: 1 !important;
    pointer-events: auto !important;
}

body:not(.menu-open) [data-menu-backdrop] {
    opacity: 0 !important;
    pointer-events: none !important;
}

[data-drawer-variant="right-glass"][data-mobile-menu] {
    right: 0 !important;
    left: auto !important;
    top: 0 !important;
    bottom: auto !important;
    width: min(88%, 380px) !important;
    height: 100dvh !important;
    border-radius: 28px 0 0 28px !important;
    background: rgba(255, 255, 255, .96) !important;
    backdrop-filter: blur(18px);
    transform: translateX(105%) !important;
    opacity: 1 !important;
}

body.menu-open [data-drawer-variant="right-glass"][data-mobile-menu] {
    transform: translateX(0) !important;
    pointer-events: auto !important;
}

[data-drawer-variant="left-panel"][data-mobile-menu] {
    left: 0 !important;
    right: auto !important;
    top: 0 !important;
    width: min(84%, 360px) !important;
    height: 100dvh !important;
    border-radius: 0 28px 28px 0 !important;
    background: linear-gradient(180deg, #f8fdff, #e8f7ff) !important;
    border-right: 1px solid #bae6fd !important;
    border-left: 0 !important;
    transform: translateX(-105%) !important;
    opacity: 1 !important;
}

body.menu-open [data-drawer-variant="left-panel"][data-mobile-menu] {
    transform: translateX(0) !important;
    pointer-events: auto !important;
}

[data-drawer-variant="top-sheet"][data-mobile-menu] {
    left: 1rem !important;
    right: 1rem !important;
    top: 1rem !important;
    width: auto !important;
    max-width: none !important;
    height: auto !important;
    max-height: calc(100dvh - 2rem) !important;
    border-radius: 26px !important;
    background: #06152d !important;
    color: white !important;
    border: 1px solid rgba(255, 255, 255, .12) !important;
    transform: translateY(-120%) scale(.97) !important;
    opacity: 0 !important;
    overflow: auto;
}

body.menu-open [data-drawer-variant="top-sheet"][data-mobile-menu] {
    transform: translateY(0) scale(1) !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

[data-drawer-variant="bottom-sheet"][data-mobile-menu] {
    left: 0 !important;
    right: 0 !important;
    top: auto !important;
    bottom: 0 !important;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    max-height: 78dvh !important;
    border-radius: 30px 30px 0 0 !important;
    background: #071a38 !important;
    color: white !important;
    border: 1px solid rgba(255, 255, 255, .12) !important;
    transform: translateY(105%) !important;
    opacity: 1 !important;
    overflow: auto;
}

body.menu-open [data-drawer-variant="bottom-sheet"][data-mobile-menu] {
    transform: translateY(0) !important;
    pointer-events: auto !important;
}

[data-drawer-variant="fullscreen"][data-mobile-menu] {
    inset: 0 !important;
    width: 100% !important;
    max-width: none !important;
    height: 100dvh !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: radial-gradient(circle at top right, #0b3f7e, #04142f 58%) !important;
    color: white !important;
    transform: scale(1.06) !important;
    opacity: 0 !important;
}

body.menu-open [data-drawer-variant="fullscreen"][data-mobile-menu] {
    transform: scale(1) !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

[data-drawer-variant="top-sheet"][data-mobile-menu] a,
[data-drawer-variant="top-sheet"][data-mobile-menu] button,
[data-drawer-variant="bottom-sheet"][data-mobile-menu] a,
[data-drawer-variant="bottom-sheet"][data-mobile-menu] button,
[data-drawer-variant="fullscreen"][data-mobile-menu] a,
[data-drawer-variant="fullscreen"][data-mobile-menu] button {
    color: #fff !important;
}

body[data-site="n"] [data-hero-fix] h1,
body[data-site="n"] [data-hero-fix] p {
    color: #fff !important;
}

@media(min-width:768px) {

    [data-mobile-menu],
    [data-menu-backdrop] {
        display: none !important;
    }
}

/* ===== <style id="final-layout-fixes"> ===== */

html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    min-width: 0;
}

img,
svg,
video,
canvas {
    max-width: 100%;
    height: auto;
}

section,
header,
footer,
nav,
main,
div {
    max-width: 100%;
}

p,
h1,
h2,
h3,
h4,
a,
button,
li,
td,
th {
    overflow-wrap: anywhere;
    word-break: normal;
}

.table-scroll {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: 16px;
}

.table-scroll table {
    min-width: 620px;
    width: 100%;
}

th,
thead th,
table th {
    color: #0f172a !important;
    background: #eaf4ff !important;
    border-color: rgba(15, 23, 42, .10) !important;
}

@media (max-width: 767px) {
    body {
        overflow-x: hidden !important;
    }

    section {
        overflow-x: clip;
    }

    section>div,
    header>div,
    footer>div {
        width: 100% !important;
        max-width: 100% !important;
    }

    [class*="w-[calc(100vw"] {
        width: 100% !important;
    }

    [class*="translate-x"],
    [class*="-translate-x"] {
        max-width: 100vw;
    }

    .table-scroll {
        margin-left: 0;
        margin-right: 0;
    }

    .table-scroll table {
        min-width: 560px;
    }

    h1 {
        font-size: clamp(2rem, 10vw, 3rem) !important;
        line-height: 1.08 !important;
    }
}

.hero-banner-first {
    overflow: hidden;
}

.hero-banner-first .hero-banner-frame {
    width: min(1440px, 100%);
    margin: 0 auto;
    padding: clamp(12px, 2vw, 24px) clamp(12px, 2vw, 24px) 0;
}

.hero-banner-first .hero-banner-frame img {
    display: block;
    width: 100%;
    max-height: 680px;
    object-fit: contain;
    object-position: center;
    border-radius: clamp(18px, 2vw, 30px);
}

.hero-banner-first .hero-copy-card {
    width: min(980px, calc(100% - 32px));
    margin: clamp(20px, 3vw, 36px) auto clamp(48px, 6vw, 80px);
    text-align: center;
}

.hero-banner-first .hero-copy-card p {
    margin-left: auto;
    margin-right: auto;
    max-width: 860px;
}

.hero-banner-first .hero-copy-card .hero-actions {
    justify-content: center !important;
}

@media (max-width: 767px) {
    .hero-banner-first .hero-banner-frame {
        padding: 10px 10px 0;
    }

    .hero-banner-first .hero-banner-frame img {
        border-radius: 16px;
        max-height: none;
        object-fit: contain !important;
    }

    .hero-banner-first .hero-copy-card {
        width: calc(100% - 28px);
        margin-top: 20px;
        margin-bottom: 44px;
    }

    .hero-banner-first .hero-copy-card p {
        line-height: 1.75 !important;
    }

    .hero-banner-first .hero-copy-card .hero-actions {
        width: 100%;
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        gap: 10px !important;
    }

    .hero-banner-first .hero-copy-card .hero-actions a {
        width: 100%;
        text-align: center;
        padding-left: 12px !important;
        padding-right: 12px !important;
    }
}

#faq [data-faq] {
    transition: border-color .25s ease, background .25s ease, box-shadow .25s ease, transform .25s ease;
}

#faq [data-faq]:hover {
    transform: translateY(-2px);
}

#faq [data-faq-icon] {
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    font-weight: 900;
    line-height: 1;
}

body[data-site="m"] #faq {
    background: #eef8ff !important;
}

body[data-site="m"] #faq h2 {
    color: #0f172a !important;
}

body[data-site="m"] #faq p {
    color: #475569 !important;
}

body[data-site="m"] #faq [data-faq] {
    border: 1px solid rgba(20, 184, 166, .28) !important;
    background: linear-gradient(135deg, #ffffff, #ecfeff) !important;
    border-radius: 24px 8px 24px 8px !important;
    box-shadow: 0 16px 38px rgba(15, 23, 42, .08);
}

body[data-site="m"] #faq [data-faq][data-open="true"] {
    background: #ccfbf1 !important;
    border-color: #14b8a6 !important;
}

body[data-site="m"] #faq [data-faq] button,
body[data-site="m"] #faq [data-faq-panel] div {
    color: #0f172a !important;
}

body[data-site="m"] #faq [data-faq-icon] {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    background: #0f766e;
    color: white !important;
}

@media (min-width:1024px) {
    main section {
        overflow: visible !important;
    }

    [data-section-grid="true"] {
        align-items: start !important;
        overflow: visible !important;
    }

    [data-section-grid="true"]>.section-banner-fix,
    [data-section-grid="true"]>div:has(> .section-banner-fix) {
        position: sticky !important;
        top: 92px !important;
        align-self: start !important;
        z-index: 2;
    }

    [data-section-grid="true"] .section-banner-fix {
        max-height: calc(100vh - 116px) !important;
        object-fit: contain !important;
        transform: none !important;
        opacity: 1 !important;
        will-change: auto !important;
    }
}

@media (min-width:1024px) {

    html,
    body {
        overflow-x: visible !important;
    }

    .section-banner-fix.reveal {
        transform: none !important;
        opacity: 1 !important;
    }
}
