/**
 * CTDT Landing Page Styles
 * Based on Figma Design - Homepage
 * Prefix: .ctdt- (scoped, no conflict with theme)
 *
 * @package BSC_CaoThuDauTu
 */

/* ============================================
   CSS Variables - Design Tokens
   ============================================ */
:root {
    /* Background */
    --ctdt-bg-primary: #011434;
    --ctdt-bg-secondary: #021842;
    --ctdt-bg-card: rgba(255, 255, 255, 0.1);

    /* Primary - Yellow/Gold */
    --ctdt-primary: #ffb81c;
    --ctdt-primary-dark: #fdb525;
    --ctdt-primary-light: #ffdf99;
    --ctdt-primary-50: #fff9e6;
    --ctdt-primary-100: #fff0bf;
    --ctdt-primary-200: #ffe099;
    --ctdt-primary-300: #ffd066;
    --ctdt-primary-400: #ffc640;
    --ctdt-primary-500: #ffb81c;
    --ctdt-primary-600: #cc9329;
    --ctdt-primary-700: #996d1f;
    --ctdt-primary-800: #664914;
    --ctdt-primary-900: #33240a;
    --ctdt-primary-hover: #e6a519;

    /* Blue palette */
    --ctdt-blue-dark: #122d54;
    --ctdt-blue: #1a447f;
    --ctdt-blue-light: #80aae5;
    --ctdt-blue-50: #e6eff8;
    --ctdt-blue-100: #b8d4ed;
    --ctdt-blue-200: #8bb7e1;
    --ctdt-blue-300: #5e9ad6;
    --ctdt-blue-400: #4080c8;
    --ctdt-blue-500: #1a447f;
    --ctdt-blue-600: #163966;
    --ctdt-blue-700: #112e4d;
    --ctdt-blue-800: #0d2233;
    --ctdt-blue-900: #08171a;

    /* Teal/Green (Success) */
    --ctdt-teal: #009e87;
    --ctdt-teal-50: #e6f5f3;
    --ctdt-teal-100: #b3e4df;
    --ctdt-teal-200: #80d3cb;
    --ctdt-teal-300: #4dc3b7;
    --ctdt-teal-400: #26b3a3;
    --ctdt-teal-500: #009e87;
    --ctdt-teal-600: #007e6d;
    --ctdt-teal-700: #005f54;
    --ctdt-teal-800: #003f36;
    --ctdt-teal-900: #00201b;
    --ctdt-teal-hover: #007d6c;

    /* Text */
    --ctdt-text: #ffffff;
    --ctdt-text-muted: rgba(255, 255, 255, 0.5);
    --ctdt-text-dark: #011434;
    --ctdt-text-secondary: #31333f;

    /* Border */
    --ctdt-border: rgba(255, 255, 255, 0.2);
    --ctdt-border-light: rgba(255, 255, 255, 0.1);

    /* Spacing & Border Radius */
    --ctdt-radius: 8px;
    --ctdt-radius-lg: 16px;
    --ctdt-radius-sm: 4px;

    /* Shadow */
    --ctdt-shadow: 0 4px 5px rgba(0, 0, 0, 0.05);

    /* Danger/Alert */
    --ctdt-danger: #ff3737;
    --ctdt-danger-dark: #f00000;

    /* CTA Glow */
    --ctdt-glow-orange: #ffc197;
    --ctdt-glow-red: #c75305;
    --ctdt-glow-border: #FFD373;

    /* Gradient Colors */
    --ctdt-gradient-light: #eed2a9;
    --ctdt-gradient-dark: #ddbf93;

    /* Transition */
    --ctdt-transition: 0.2s ease;

    /* Container tokens - Pixel Perfect Specs per Breakpoint */
    --ctdt-container-gutter: 6px;
    --ctdt-container-max: 1458px;

    /* Typography scale */
    --ctdt-font-family: 'Barlow', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --ctdt-font-size-xs: 12px;
    --ctdt-font-size-sm: 14px;
    --ctdt-font-size-base: 16px;
    --ctdt-font-size-lg: 18px;
    --ctdt-font-size-xl: 20px;
    --ctdt-font-size-2xl: 24px;
    --ctdt-font-size-3xl: 32px;
    --ctdt-font-size-4xl: 40px;
    --ctdt-font-size-5xl: 48px;
}

/* ============================================
   Base
   ============================================ */
.ctdt-hidden {
    display: none !important;
}

body.ctdt-no-scroll {
    overflow: hidden !important;
}

.ctdt-page {
    background: url('../images/homepage/bg-page.webp') lightgray 0px 0px / cover no-repeat;
    background-color: var(--ctdt-bg-primary);
    min-height: 100vh;
    position: relative;
}

/* Background overlay from Figma - image 103 */
.ctdt-page::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../images/homepage/bg-page.webp') var(--ctdt-bg-primary) center / cover no-repeat;
    opacity: 0.1;
    pointer-events: none;
    z-index: 0;
}

.ctdt-page>* {
    position: relative;
    z-index: 1;
}

/* ============================================
   Container
   ============================================ */
.ctdt-container {
    max-width: var(--ctdt-container-max);
    margin: 0 auto;
    padding-left: var(--ctdt-container-gutter);
    padding-right: var(--ctdt-container-gutter);
    width: 100%;
}

/* ============================================
   Flexbox & Grid Utilities
   ============================================ */
.ctdt-flex {
    display: flex;
}

.ctdt-flex-center {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ctdt-flex-between {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.ctdt-flex-col {
    display: flex;
    flex-direction: column;
}

.ctdt-grid {
    display: grid;
}

.ctdt-gap-4 {
    gap: 4px;
}

.ctdt-gap-8 {
    gap: 8px;
}

.ctdt-gap-12 {
    gap: 12px;
}

.ctdt-gap-16 {
    gap: 16px;
}

.ctdt-gap-24 {
    gap: 24px;
}

.ctdt-gap-32 {
    gap: 32px;
}

.ctdt-gap-40 {
    gap: 40px;
}

/* ============================================
   Button Base Styles
   ============================================ */
.ctdt-btn {
    font-family: var(--ctdt-font-family);
    font-size: var(--ctdt-font-size-base);
    font-weight: 600;
    padding: 8px 24px;
    border-radius: var(--ctdt-radius);
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all var(--ctdt-transition);
    white-space: nowrap;
    flex-shrink: 0;
}

.ctdt-btn--primary {
    background: var(--ctdt-teal);
    color: var(--ctdt-text);
}

.ctdt-btn--primary:hover {
    background: var(--ctdt-teal-600);
}

.ctdt-btn--secondary {
    background: var(--ctdt-primary);
    color: var(--ctdt-text-dark);
}

.ctdt-btn--secondary:hover {
    background: var(--ctdt-primary-600);
}

.ctdt-btn--outline {
    background: transparent;
    border: 1px solid var(--ctdt-border);
    color: var(--ctdt-text);
}

.ctdt-btn--outline:hover {
    background: var(--ctdt-bg-card);
    border-color: var(--ctdt-text);
}

/* ============================================
   Card Base Styles
   ============================================ */
.ctdt-card {
    background: var(--ctdt-bg-card);
    border: 1px solid var(--ctdt-border);
    border-radius: var(--ctdt-radius-lg);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
}

.ctdt-card--hover:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    transition: all var(--ctdt-transition);
}

/* ============================================
   Typography Base
   ============================================ */
.ctdt-text-xs {
    font-size: var(--ctdt-font-size-xs);
}

.ctdt-text-sm {
    font-size: var(--ctdt-font-size-sm);
}

.ctdt-text-base {
    font-size: var(--ctdt-font-size-base);
}

.ctdt-text-lg {
    font-size: var(--ctdt-font-size-lg);
}

.ctdt-text-xl {
    font-size: var(--ctdt-font-size-xl);
}

.ctdt-text-2xl {
    font-size: var(--ctdt-font-size-2xl);
}

.ctdt-text-3xl {
    font-size: var(--ctdt-font-size-3xl);
}

.ctdt-text-4xl {
    font-size: var(--ctdt-font-size-4xl);
}

.ctdt-text-5xl {
    font-size: var(--ctdt-font-size-5xl);
}

.ctdt-text-bold {
    font-weight: 700;
}

.ctdt-text-semibold {
    font-weight: 600;
}

.ctdt-text-medium {
    font-weight: 500;
}

.ctdt-text-regular {
    font-weight: 400;
}

.ctdt-text-center {
    text-align: center;
}

.ctdt-text-left {
    text-align: left;
}

.ctdt-text-right {
    text-align: right;
}

.ctdt-text-primary {
    color: var(--ctdt-primary);
}

.ctdt-text-muted {
    color: var(--ctdt-text-muted);
}

.ctdt-text-dark {
    color: var(--ctdt-text-dark);
}

/* ============================================
   Navigation / Header (Figma Design)
   ============================================ */
.ctdt-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: 64px;
    background: var(--ctdt-blue-dark);
    box-shadow: 0px 4px 5px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--ctdt-container-gutter);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), background 0.35s ease, backdrop-filter 0.35s ease;
    will-change: transform;
}

.ctdt-nav--hidden {
    transform: translateY(-100%);
}

.ctdt-nav--scrolled {
    background: rgba(18, 45, 84, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

.ctdt-nav__left {
    display: flex;
    align-items: center;
    gap: 40px;
    height: 64px;
}

.ctdt-nav__right {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
}

.ctdt-nav__actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.ctdt-nav__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: var(--ctdt-container-max);
    margin: 0 auto;
    padding-left: var(--ctdt-container-gutter);
    padding-right: var(--ctdt-container-gutter);
}

.ctdt-nav__logo {
    height: 48px;
    width: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ctdt-nav__logo img,
.ctdt-nav__logo svg {
    max-height: 100%;
    width: auto;
}

.ctdt-nav__menu {
    display: flex;
    gap: 32px;
    align-items: center;
}

.ctdt-nav__item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--ctdt-text);
    font-family: var(--ctdt-font-family);
    font-size: var(--ctdt-font-size-base);
    font-weight: 700;
    text-decoration: none;
    transition: opacity 0.2s ease;
    cursor: pointer;
}

.ctdt-nav__item:hover {
    opacity: 0.8;
}

.ctdt-nav__item-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ctdt-nav__item-icon svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.ctdt-nav__item-home-text {
    display: none;
}

.ctdt-nav__btn {
    font-family: var(--ctdt-font-family);
    font-size: var(--ctdt-font-size-base);
    font-weight: 600;
    padding: 8px 24px;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all var(--ctdt-transition);
}

.ctdt-nav__btn--primary {
    background: var(--ctdt-teal);
    color: var(--ctdt-text);
}

.ctdt-nav__btn--primary:hover {
    background: var(--ctdt-teal-hover);
}

.ctdt-nav__btn--secondary {
    background: var(--ctdt-primary);
    color: var(--ctdt-text-secondary);
}

.ctdt-nav__btn--secondary:hover {
    background: var(--ctdt-primary-hover);
}

.ctdt-nav__login-wrapper {
    position: relative;
}

/* Premium User Dropdown */
.ctdt-nav__user {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 44px;
    padding: 4px 12px;
    cursor: pointer;
    position: relative;
    user-select: none;
    transition: background 0.3s ease, border-color 0.3s ease;
}

.ctdt-nav__user:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.ctdt-nav__user-avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--ctdt-primary), var(--ctdt-primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ctdt-blue-dark);
}

.ctdt-nav__user-avatar svg {
    width: 16px;
    height: 16px;
    stroke: var(--ctdt-blue-dark);
}

.ctdt-nav__user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.ctdt-nav__user-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
}

.ctdt-nav__user-name {
    font-family: var(--ctdt-font-family);
    font-size: 13px;
    font-weight: 700;
    color: var(--ctdt-text);
    line-height: 1.2;
}

.ctdt-nav__user-account {
    font-family: var(--ctdt-font-family);
    font-size: 11px;
    font-weight: 500;
    color: var(--ctdt-text-muted);
    line-height: 1.2;
    margin-top: 1px;
}

.ctdt-nav__user-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    transition: transform 0.3s ease;
}

.ctdt-nav__user--open .ctdt-nav__user-arrow {
    transform: rotate(180deg);
}

/* Dropdown Menu styling */
.ctdt-nav__user-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    width: 152px;
    background: rgba(18, 45, 84, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 6px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
    z-index: 1100;
    transform-origin: top right;
    animation: ctdt-dropdown-show 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes ctdt-dropdown-show {
    0% {
        opacity: 0;
        transform: scale(0.95) translateY(-8px);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.ctdt-nav__user-dropdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    color: rgba(255, 255, 255, 0.8);
    font-family: var(--ctdt-font-family);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    transition: background 0.2s ease, color 0.2s ease;
}

.ctdt-nav__user-dropdown-item:hover {
    background: rgba(255, 255, 255, 0.08);
    color: var(--ctdt-primary) !important;
}

.ctdt-nav__user-dropdown-item svg {
    color: inherit;
}

/* ============================================
   Hero QR Panel - Positioned below login button
   ============================================ */
.ctdt-hero__qr {
    position: absolute;
    top: calc(100% + 11px);
    right: 0;
    transform: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: clamp(112px, 7vw, 124px);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-top: none;
    border-radius: 0 0 16px 16px;
    padding: 10px;
    text-align: center;
    backdrop-filter: blur(40px);
    z-index: 999;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

@media (max-width: 1800px) {
    .ctdt-hero__qr {
        top: calc(100% + 15px);
    }
}


.ctdt-hero__qr--hidden {
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
}

/* ============================================
   Hero Section
   ============================================ */
.ctdt-hero {
    position: relative;
    height: 968px;
    width: 100%;
    margin-top: 64px;
    overflow: visible;
}
@media (min-width: 1280px) and (max-width: 1800px) {
    .ctdt-hero {
        height: 100vh;
    }
}

.ctdt-hero__bg,
.ctdt-hero__bg--mobile {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.ctdt-hero__bg img,
.ctdt-hero__bg--mobile img {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ctdt-hero__bg--mobile {
    display: none;
}

.ctdt-hero__content {
    position: relative;
    z-index: 1;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ctdt-hero__banner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.ctdt-hero__banner-inner {
    position: relative;
}

.ctdt-hero__subtitle {
    font-family: var(--ctdt-font-family);
    font-size: var(--ctdt-font-size-3xl);
    font-weight: 900;
    font-style: italic;
    color: var(--ctdt-text);
    text-shadow: 0.695px 3.127px 4.065px rgba(0, 0, 0, 0.25);
    transform: rotate(-3.45deg);
    margin-bottom: 8px;
}

.ctdt-hero__dates {
    font-family: var(--ctdt-font-family);
    font-size: var(--ctdt-font-size-lg);
    font-weight: 500;
    font-style: italic;
    color: var(--ctdt-primary-light);
    transform: rotate(-4.82deg);
    margin-top: 12px;
}

.ctdt-hero__qr-text {
    font-family: var(--ctdt-font-family);
    font-size: 16px;
    font-weight: 500;
    color: var(--ctdt-text);
    line-height: 1.25;
    text-align: center;
    margin: 0;
}

.ctdt-hero__qr-icon {
    display: block;
    width: 7px;
    height: 17px;
    object-fit: contain;
}

.ctdt-hero__qr-box {
    width: 100%;
    aspect-ratio: 1;
    height: auto;
    background: var(--ctdt-primary);
    border: 2px solid var(--ctdt-primary-light);
    border-radius: 4px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    /* mix-blend-mode: hard-light; */
}

.ctdt-hero__qr-box::before {
    content: '';
    position: absolute;
    width: 191px;
    height: 191px;
    background: url('data:image/svg+xml,...') center/cover;
    top: -81px;
    left: -2px;
    opacity: 0.3;
    pointer-events: none;
}

.ctdt-hero__qr-box img {
    width: min(91px, calc(100% - 14px));
    height: auto;
    aspect-ratio: 1;
    background: white;
    padding: 3px;
}

.ctdt-hero__scroll {
    position: absolute;
    bottom: 120px;
    right: 240px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--ctdt-text);
    font-size: 14px;
    font-weight: 500;
    opacity: 0.5;
}



/* scroll down */
.ctdt-hero__scroll-down {
    position: absolute;
    bottom: 10%;
    right: clamp(40px, 12vw, 240px);
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 10;
    opacity: 0.8;
    cursor: pointer;
    transition: opacity var(--ctdt-transition), transform var(--ctdt-transition);
}

.ctdt-hero__scroll-down:hover {
    opacity: 1;
}

.ctdt-hero__scroll-text {
    color: #FFF;
    font-family: var(--ctdt-font-family);
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.ctdt-hero__scroll-icon {
    width: 6px;
    height: 21px;
    object-fit: contain;
    /* animation: ctdt-scroll-down 2s ease-in-out infinite; */
}

@media (min-width: 1025px) and (max-width: 1279px) {
    .ctdt-hero__qr {
        top: calc(100% + 16px);
        width: 112px;
        padding: 8px;
        gap: 8px;
    }

    .ctdt-hero__qr-text {
        font-size: 12px;
    }
}

@media (max-width: 1024px) {
    .ctdt-hero__scroll-down {
        right: 24px;
        bottom: 16%;
        gap: 4px;
    }

    .ctdt-hero__scroll-text {
        font-size: 14px;
    }

}

@media (max-width: 639px) {
    .ctdt-hero__scroll-down {
        right: 50%;
        bottom: 24px;
        width: calc(100% - 32px);
        justify-content: center;
        transform: translateX(50%);
    }

    .ctdt-hero__scroll-text {
        font-size: 12px;
        line-height: 1.2;
    }

    .ctdt-hero__scroll-icon {
        flex: 0 0 auto;
    }
}


@keyframes ctdt-scroll-down {

    0%,
    100% {
        transform: translateY(0);
        opacity: 0.8;
    }

    50% {
        transform: translateY(6px);
        opacity: 0.4;
    }
}





/* ============================================
   CTA + Countdown (inside Hero)
   ============================================ */
.ctdt-hero__cta {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    z-index: 10;
}

.ctdt-hero__reward-banner {
    display: block;
    width: min(307px, calc(100vw - 32px));
    height: auto;
    margin: 0 auto 18px;
}

.ctdt-cta {
    position: relative;
    text-align: center;
    margin-bottom: 25px;
}

.ctdt-cta::before {
    content: '';
    position: absolute;
    width: 366px;
    height: 56px;
    background: var(--ctdt-glow-orange);
    filter: blur(13.05px);
    border-radius: 8px;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    /* mix-blend-mode: hard-light; */
    z-index: 0;
}

.ctdt-cta::after {
    content: '';
    position: absolute;
    width: 366px;
    height: 56px;
    background: var(--ctdt-glow-red);
    filter: blur(8.4px);
    border-radius: 8px;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    /* mix-blend-mode: hard-light; */
    z-index: 0;
}

@keyframes ctdt-cta-glow-pulse {

    0%,
    100% {
        opacity: var(--ctdt-cta-glow-opacity-min, 0.72);
        scale: 0.98;
    }

    50% {
        opacity: var(--ctdt-cta-glow-opacity-max, 1);
        scale: 1.04;
    }
}

.ctdt-cta::before,
.ctdt-cta::after,
.ctdt-guide__cta::before,
.ctdt-guide__cta::after,
.ctdt-modal__submit-wrapper::before,
.ctdt-modal__submit-wrapper::after {
    animation: ctdt-cta-glow-pulse 2.8s ease-in-out infinite;
    will-change: opacity, scale;
}

.ctdt-cta::after,
.ctdt-guide__cta::after,
.ctdt-modal__form-btn--primary::after {
    animation-delay: -1.4s;
}

@media (prefers-reduced-motion: reduce) {

    .ctdt-cta::before,
    .ctdt-cta::after,
    .ctdt-guide__cta::before,
    .ctdt-guide__cta::after,
    .ctdt-modal__submit-wrapper::before,
    .ctdt-modal__submit-wrapper::after {
        animation: none;
    }
}

.ctdt-cta__btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    /* background-color: var(--ctdt-primary); */
    background-image:

        url('../images/homepage/line-png.webp');
    background-blend-mode: multiply, normal;
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--ctdt-text-dark);
    font-family: var(--ctdt-font-family);
    font-size: var(--ctdt-font-size-xl);
    font-weight: 700;
    text-transform: uppercase;
    width: 366px;
    height: 56px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    z-index: 1;
    overflow: hidden;
}

.ctdt-cta__btn span {
    position: relative;
    z-index: 1;
}

/* ============================================
   Countdown
   ============================================ */
.ctdt-countdown {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.ctdt-countdown__wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 366px;
    height: 81px;
    position: relative;
    z-index: 2;
    background: rgba(217, 217, 217, 0.10);
    border-radius: 8px;

}

.ctdt-countdown__wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 10px;
    background: rgba(217, 217, 217, 0.10);
    backdrop-filter: blur(10.100000381469727px);
    -webkit-backdrop-filter: blur(10.1px);
    z-index: -1;
}

.ctdt-countdown__wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 10px;
    background-image: url(../images/homepage/line-cta-hero.webp);
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
    pointer-events: none;
}



.ctdt-countdown__content {
    display: flex;
    gap: 28px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.ctdt-countdown__label {
    position: absolute;
    top: -13px;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--ctdt-font-family);
    font-size: var(--ctdt-font-size-base);
    font-weight: 500;
    color: var(--ctdt-text);
    white-space: nowrap;
    z-index: 2;
}

@media (max-width: 1800px) {
    .ctdt-countdown__label {
        top: -11%;
    }
}

.ctdt-countdown__number {
    font-family: var(--ctdt-font-family);
    font-size: var(--ctdt-font-size-2xl);
    font-weight: 700;
    color: var(--ctdt-danger);
    text-shadow: 0 0 3.1px var(--ctdt-danger-dark);
    text-align: center;
    display: block;
}

.ctdt-countdown__unit {
    font-family: var(--ctdt-font-family);
    font-size: var(--ctdt-font-size-base);
    font-weight: 500;
    color: var(--ctdt-text);
    text-align: center;
    display: block;
}

.ctdt-countdown__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 36px;
    position: relative;
    z-index: 2;
}

.ctdt-countdown__separator {
    width: 1px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    background: linear-gradient(180deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.5) 50%,
            rgba(255, 255, 255, 0) 100%);
}



/* ============================================
   Stats Section
   ============================================ */
.ctdt-stats {
    padding: 74px 0 100px;
}

.ctdt-stats__title {
    font-family: var(--ctdt-font-family);
    font-size: var(--ctdt-font-size-5xl);
    font-weight: 900;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 60px;
    background: linear-gradient(180deg, var(--ctdt-gradient-light) 29.75%, var(--ctdt-gradient-dark) 114.95%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


.ctdt-stats__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    align-items: center;
}

.ctdt-stats-card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-height: 144px;
    padding: 32px 24px;
    background: var(--ctdt-bg-card);
    border: 1px solid var(--ctdt-border);
    border-radius: var(--ctdt-radius-lg);
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    position: relative;
    overflow: hidden;
}

.ctdt-stats-card__content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.ctdt-stats-card__row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.ctdt-stats-card__number {
    font-family: var(--ctdt-font-family);
    font-size: var(--ctdt-font-size-4xl);
    font-weight: 900;
    color: var(--ctdt-primary-light);
    line-height: 1;
    white-space: nowrap;
}

.ctdt-stats-card__label {
    font-family: var(--ctdt-font-family);
    font-size: var(--ctdt-font-size-2xl);
    font-weight: 900;
    color: var(--ctdt-text);
    text-transform: uppercase;
}

.ctdt-stats-card__desc {
    font-family: var(--ctdt-font-family);
    font-size: var(--ctdt-font-size-xl);
    font-weight: 500;
    color: var(--ctdt-text);
}

/* Highlight Card (Yellow Background) */
.ctdt-stats-card--highlight {
    min-height: 180px;
    /* background: var(--ctdt-primary); */
    background-image:

        url('../images/homepage/bg-ss2.webp');
    background-blend-mode: multiply, normal;
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    border-color: var(--ctdt-border);
}

.ctdt-stats-card--highlight .ctdt-stats-card__number {
    color: var(--ctdt-blue);
}

.ctdt-stats-card--highlight .ctdt-stats-card__label {
    color: var(--ctdt-text-dark);
}

.ctdt-stats-card--highlight .ctdt-stats-card__desc {
    color: var(--ctdt-text-dark);
}

.ctdt-stats-card__image {
    position: absolute;
    right: 0;
    top: 55%;
    transform: translateY(-50%);
    width: 222px;
    height: 175px;
    pointer-events: none;

}

.ctdt-stats-card__image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ============================================
   Responsive - Stats Section
   ============================================ */

/* 1440-1919px */
@media (min-width: 1440px) and (max-width: 1919px) {
    .ctdt-stats {
        padding: 60px 0 80px;
    }
}




/* Placeholder color: white for inputs only (skip readonly) */
.ctdt-modal__form-group input:not([readonly])::placeholder {
    color: #ffffff !important;
    opacity: 1 !important;
}

/* Vendor prefixes for broader browser support */
.ctdt-modal__form-group input:not([readonly])::-webkit-input-placeholder {
    color: #ffffff !important;
    opacity: 1 !important;
}

.ctdt-modal__form-group input:not([readonly]):-ms-input-placeholder {
    color: #ffffff !important;
    opacity: 1 !important;
}

.ctdt-modal__form-group input:not([readonly])::-ms-input-placeholder {
    color: #ffffff !important;
    opacity: 1 !important;
}

/* 1280-1439px */
@media (min-width: 1280px) and (max-width: 1439px) {
    .ctdt-stats {
        padding: 50px 0 70px;
    }
}

/* 1024-1279px */
@media (min-width: 1025px) and (max-width: 1279px) {
    .ctdt-stats {
        padding: 40px 0 60px;
    }

    .ctdt-stats__grid {
        gap: 16px;
    }

    .ctdt-stats-card {
        min-height: 120px;
        padding: 24px 20px;
    }

    .ctdt-stats-card--highlight {
        min-height: 140px;
    }

    .ctdt-stats-card__number {
        font-size: var(--ctdt-font-size-3xl);
    }

    .ctdt-stats-card__label {
        font-size: var(--ctdt-font-size-xl);
    }
}

/* <=1024px - Tablet/Mobile */
@media (max-width: 1024px) {
    .ctdt-stats {
        padding: 50px 0;
    }

    .ctdt-stats__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .ctdt-stats-card {
        min-height: auto;
        padding: 24px 20px;
    }

    .ctdt-stats-card--highlight {
        min-height: auto;
    }
}

/* <=639px - Mobile */
@media (max-width: 639px) {
    .ctdt-stats {
        padding-top: 40px;
        padding-bottom: 10px;
    }

    .ctdt-stats-card {
        padding: 20px 16px;
    }

    .ctdt-stats-card__number {
        font-size: var(--ctdt-font-size-3xl);
    }

    .ctdt-stats-card__label {
        font-size: var(--ctdt-font-size-lg);
    }

    .ctdt-stats-card__desc {
        font-size: var(--ctdt-font-size-base);
    }

    .ctdt-stats-card__image {
        display: none;
    }
}

/* ============================================
   Prizes Section
   ============================================ */
/* .ctdt-prizes {
    padding: 60px 0;
} */

.ctdt-prizes__title {
    font-family: var(--ctdt-font-family);
    font-size: var(--ctdt-font-size-4xl);
    font-weight: 900;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 60px;
    background: linear-gradient(180deg, var(--ctdt-gradient-light) 29.75%, var(--ctdt-gradient-dark) 114.95%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.ctdt-prizes__top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

/* Category Tabs */
.ctdt-prizes__tabs {
    display: flex;
    gap: 8px;
    padding-top: 4px;
    padding-bottom: 4px;
    margin-top: -4px;
    margin-bottom: -4px;
    overflow: visible;
}

.ctdt-prizes__tab {
    position: relative;
    /* height: 48px; */
    padding: 12px 24px;
    background: var(--ctdt-bg-card);
    border: 1px solid var(--ctdt-border);
    border-radius: 12px;
    backdrop-filter: blur(40px);
    -webkit-backdrop-filter: blur(40px);
    cursor: pointer;
    transition: all var(--ctdt-transition);
    overflow: hidden;
}

.ctdt-prizes__tab.active {
    background: white;
    border-color: rgba(255, 255, 255, 0.2);
}

.ctdt-prizes__tab-text {
    position: relative;
    z-index: 1;
    font-family: var(--ctdt-font-family);
    font-size: var(--ctdt-font-size-base);
    font-weight: 700;
    color: var(--ctdt-text);
    white-space: nowrap;
}

.ctdt-prizes__tab.active .ctdt-prizes__tab-text {
    color: var(--ctdt-text-dark);
}

/* Navigation Arrows */
.ctdt-prizes__arrows {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
}

.ctdt-prizes__arrow {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    cursor: pointer;
    transition: transform var(--ctdt-transition);
}

.ctdt-prizes__arrow:hover {
    transform: scale(1.1);
}

.ctdt-prizes__arrow svg {
    width: 25.333px;
    height: 32px;
}



/* Content List - hidden by default */
.ctdt-prizes__content {
    display: none;
}

.ctdt-prizes__content.active {
    display: block;
}

/* Swiper Container */
.ctdt-prizes__swiper {
    width: 100%;
    overflow: hidden;
    padding-top: 24px;
    padding-bottom: 24px;
    margin-top: -24px;
    margin-bottom: -24px;
}

.ctdt-prizes__swiper .swiper-slide {
    width: calc(33.333% - 16px);
    flex-shrink: 0;
}

/* 2560px+ - Show exactly 3 cards */
@media (min-width: 1980px) {
    .ctdt-prizes__swiper .swiper-slide {
        width: calc(33.333% - 24px);
    }
}

/* Prize Card */
.ctdt-prizes__card {
    position: relative;
    height: 468px;
    border-radius: 16px;
    overflow: hidden;
    background: url('../images/homepage/back_card_prize.webp') center/cover no-repeat;
}

.ctdt-prizes__card-bg {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.ctdt-prizes__card-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ctdt-prizes__card-border {
    position: absolute;
    inset: 0;
    border-radius: 16px;
    border: 2px solid #235BA8;
    mix-blend-mode: color-dodge;
    pointer-events: none;
    z-index: 3;
}

.ctdt-prizes__card-border-blur {
    position: absolute;
    inset: 0;
    border-radius: 16px;
    border: 2px solid #80AAE5;
    mix-blend-mode: color-dodge;
    filter: blur(4.2px);
    pointer-events: none;
    z-index: 2;
}

.ctdt-prizes__card-content {
    position: relative;
    z-index: 4;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    height: 100%;
}

.ctdt-prizes__card-content figure {
    width: 240px;
    height: 240px;
    /* scale: 1.2; */
}

.ctdt-prizes__product {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.ctdt-prizes__price {
    color: #FFDF99;
    text-align: center;
    font-family: var(--ctdt-font-family);
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 36px;
    /* 150% */
}

.ctdt-prizes__reward-text {
    width: 163px;
    height: 48px;
    white-space: nowrap;
    display: inline-flex;
    padding: 12px 16px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.20);
    background: rgba(255, 255, 255, 0.10);
    backdrop-filter: blur(40px);

    /* text */
    color: #FFF;
    font-family: var(--ctdt-font-family);
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: 24px;
    /* 150% */
}

/* 
<div class="ctdt-prizes__header">
                    <div class="ctdt-prizes__header-line">
                      <img src="<?php echo CTDT_PLUGIN_URL . 'assets/images/khung.svg'; ?>" alt="Ribbon">
                    </div>
                    <span> Giải nhất</span>
                  </div>
*/
.ctdt-prizes__header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    position: relative;
    margin-top: 20px;
}

.ctdt-prizes__header span {
    color: #EAF1FB;
    text-align: center;
    font-family: var(--ctdt-font-family);
    font-size: 20px;
    font-style: normal;
    font-weight: 700;
    line-height: 32px;
    text-transform: uppercase;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    white-space: nowrap;
}

/* Prize rank gradient text colors */
.ctdt-prizes__header span.prize--nhat {
    background: linear-gradient(188deg, #EED2A9 29.75%, #DDBF93 114.95%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.ctdt-prizes__header span.prize--nhi {
    background: none;
    -webkit-text-fill-color: #99FFF0;
    color: #99FFF0;
}

.ctdt-prizes__header span.prize--ba {
    background: none;
    -webkit-text-fill-color: #EAF1FB;
    color: #EAF1FB;
}

.ctdt-prizes__header-line {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 242px;
}

.ctdt-prizes__header-line img {
    width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   Guide/How To Section
   ============================================ */
.ctdt-guide {
    padding: 100px 0;
}

.ctdt-guide__title {
    font-family: var(--ctdt-font-family);
    font-size: var(--ctdt-font-size-5xl);
    font-weight: 900;
    line-height: 65px;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 60px;
    background: linear-gradient(180deg, #eed2a9 29.75%, #ddbf93 114.95%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Guide Section Grid */
.ctdt-guide__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 60px;
}

.ctdt-guide__card {
    width: 100%;
    height: 375px;
    background: var(--ctdt-bg-card);
    border: 1px solid var(--ctdt-border);
    border-radius: var(--ctdt-radius-lg);
    overflow: hidden;
    backdrop-filter: blur(40px);
    position: relative;
    flex-shrink: 0;
}

.ctdt-guide__card-image {
    width: 100%;
    height: 251px;
    overflow: hidden;
}

.ctdt-guide__card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ctdt-guide__badge-number {
    font-family: var(--ctdt-font-family);
    font-size: 24px;
    font-weight: 900;
    background: linear-gradient(190.5deg, #eed2a9 29.75%, #ddbf93 114.95%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: normal;
}

.ctdt-guide__card-title {
    font-family: var(--ctdt-font-family);
    font-size: 24px;
    font-weight: 900;
    color: var(--ctdt-text);
    line-height: normal;
    white-space: nowrap;
}

.ctdt-guide__card-desc {
    font-family: var(--ctdt-font-family);
    font-size: 16px;
    font-weight: 500;
    color: var(--ctdt-text);
    opacity: 0.5;
    max-width: 250px;
    line-height: normal;
}

.ctdt-guide__card-inner {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
}

.ctdt-guide__badge {
    position: relative;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.ctdt-guide__badge::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 69px;
    height: 80px;
    transform: translate(-50%, -50%);
    background: url('../images/polygon_2.webp') center / cover no-repeat;
}

.ctdt-guide__card-content {
    background: #021842;
    height: 124px;
    padding: 24px;
    display: flex;
    align-items: end;
    gap: 20px;
    flex-shrink: 0;
}

.ctdt-guide__card-content--left {
    display: flex;
    align-items: center;
    gap: 24px;
}

.ctdt-guide__card-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ctdt-guide__card-steps {
    display: flex;
    align-items: center;
}

.ctdt-guide__card-steps img {
    width: 57px;
    height: 24px;

}

.ctdt-guide__cta {
    --ctdt-cta-glow-opacity-min: 0.38;
    --ctdt-cta-glow-opacity-max: 0.62;
    text-align: center;
    position: relative;
    display: flex;
    justify-content: center;
}

.ctdt-guide__cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 366px;
    height: 56px;
    background: var(--ctdt-glow-orange);
    filter: blur(13px);
    border-radius: 8px;
    opacity: 0.5;
    z-index: -1;
}

.ctdt-guide__cta::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 366px;
    height: 56px;
    background: var(--ctdt-glow-red);
    filter: blur(8px);
    border-radius: 8px;
    opacity: 0.5;
    z-index: -1;
}

.ctdt-guide__cta-btn {
    position: relative;
    display: inline-block;
    width: 366px;
    height: 56px;
    /* background: var(--ctdt-primary); */
    background-image:

        url('../images/homepage/line-png.webp');
    background-blend-mode: multiply, normal;
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--ctdt-text-dark);
    font-family: var(--ctdt-font-family);
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    line-height: 56px;
    text-align: center;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    overflow: hidden;
    z-index: 1;
}

.ctdt-cta__btn::before,
.ctdt-guide__cta-btn::before,
.ctdt-modal__form-btn--primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('../images/homepage/bg-btn-glow.webp') center / cover no-repeat;
    mix-blend-mode: hard-light;
    opacity: 0.3;
    pointer-events: none;
    z-index: 1;
}

.ctdt-cta__btn::after,
.ctdt-guide__cta-btn::after,
.ctdt-modal__form-btn--primary::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid var(--ctdt-glow-border);
    border-radius: 8px;
    mix-blend-mode: color-dodge;
    pointer-events: none;
    z-index: 2;
}

/* ============================================
   Guide Section - Responsive
   ============================================ */

/* 1440-1919px */
@media (min-width: 1440px) and (max-width: 1919px) {
    .ctdt-guide {
        padding: 80px 0;
    }

    .ctdt-guide__title {
        font-size: 40px;
    }

    .ctdt-guide__grid {
        gap: 20px;
    }

    .ctdt-guide__card {
        height: 340px;
    }

    .ctdt-guide__card-image {
        height: 220px;
    }

    .ctdt-guide__card-content {
        height: 120px;
        padding: 20px;
    }

    .ctdt-guide__badge {
        width: 70px;
        height: 70px;
    }

    .ctdt-guide__badge::before {
        width: 60px;
        height: 70px;
    }

    .ctdt-guide__badge-number {
        font-size: 22px;
    }

    .ctdt-guide__card-title {
        font-size: 22px;
    }

    .ctdt-guide__card-desc {
        font-size: 15px;
    }
}

/* 1280-1439px */
@media (min-width: 1280px) and (max-width: 1439px) {
    .ctdt-guide {
        padding: 70px 0;
    }

    .ctdt-guide__title {
        font-size: 36px;
    }

    .ctdt-guide__grid {
        gap: 20px;
    }

    .ctdt-guide__card {
        height: 340px;
    }

    .ctdt-guide__card-image {
        height: 220px;
    }

    .ctdt-guide__card-content {
        height: 120px;
        padding: 20px;
    }

    .ctdt-guide__badge {
        width: 70px;
        height: 70px;
    }

    .ctdt-guide__badge::before {
        width: 60px;
        height: 70px;
    }

    .ctdt-guide__badge-number {
        font-size: 22px;
    }

    .ctdt-guide__card-title {
        font-size: 22px;
    }

    .ctdt-guide__card-desc {
        font-size: 15px;
    }
}

/* 1024-1279px */
@media (min-width: 1025px) and (max-width: 1279px) {
    .ctdt-guide {
        padding: 60px 0;
    }

    .ctdt-guide__title {
        font-size: 32px;
        margin-bottom: 40px;
    }

    .ctdt-guide__grid {
        gap: 16px;
    }

    .ctdt-guide__card {
        height: 320px;
    }

    .ctdt-guide__card-image {
        height: 200px;
    }

    .ctdt-guide__card-content {
        height: 120px;
        padding: 16px 20px;
    }

    .ctdt-guide__badge {
        width: 64px;
        height: 64px;
    }

    .ctdt-guide__badge::before {
        width: 55px;
        height: 64px;
    }

    .ctdt-guide__badge-number {
        font-size: 20px;
    }

    .ctdt-guide__card-title {
        font-size: 20px;
    }

    .ctdt-guide__card-desc {
        font-size: 14px;
        max-width: 200px;
    }

    .ctdt-guide__card-content--left {
        gap: 16px;
    }
}

/* <=1024px - Tablet */
@media (max-width: 1024px) {
    .ctdt-guide__card-steps img {
        width: 30px;
        height: 22px;
    }

    .ctdt-guide {
        padding: 50px 0;
    }

    .ctdt-guide__title {
        font-size: 28px;
        margin-bottom: 32px;
    }

    .ctdt-guide__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-bottom: 40px;
    }

    .ctdt-guide__card {
        height: auto;
        max-width: 464px;
        margin: 0 auto;
    }

    .ctdt-guide__card-image {
        height: 220px;
    }

    .ctdt-guide__card-content {
        height: auto;
        min-height: 100px;
        padding: 16px 20px;
    }

    .ctdt-guide__badge {
        width: 60px;
        height: 60px;
    }

    .ctdt-guide__badge::before {
        width: 52px;
        height: 60px;
    }

    .ctdt-guide__badge-number {
        font-size: 18px;
    }

    .ctdt-guide__card-title {
        font-size: 18px;
    }

    .ctdt-guide__card-desc {
        font-size: 14px;
        max-width: none;
    }

    .ctdt-guide__card-content--left {
        gap: 16px;
    }

    .ctdt-guide__card-steps {
        display: flex;
        align-items: center;
        flex-shrink: 0;
    }

    .ctdt-guide__cta {
        margin-top: 40px;
    }
}

/* <=767px - Mobile Landscape */
@media (max-width: 767px) {
    .ctdt-guide {
        padding: 40px 0;
    }

    .ctdt-guide__title {
        font-size: 24px;
        margin-bottom: 24px;
    }

    .ctdt-guide__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .ctdt-guide__card {
        max-width: 100%;
    }

    .ctdt-guide__card-image {
        height: 180px;
    }

    .ctdt-guide__card-content {
        padding: 12px 16px;
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .ctdt-guide__badge {
        width: 56px;
        height: 56px;
    }

    .ctdt-guide__badge::before {
        width: 48px;
        height: 56px;
    }

    .ctdt-guide__badge-number {
        font-size: 16px;
    }

    .ctdt-guide__card-title {
        font-size: 16px;
    }

    .ctdt-guide__card-desc {
        font-size: 13px;
    }

    .ctdt-guide__card-content--left {
        gap: 12px;
    }

    .ctdt-guide__card-info {
        gap: 2px;
    }

    .ctdt-guide__card-steps {
        display: flex;
        align-items: center;
        align-self: flex-end;
        flex-shrink: 0;
    }

    .ctdt-guide__cta {
        margin-top: 32px;
    }

    .ctdt-guide__cta-btn {
        font-size: 16px;
        height: 48px;
        line-height: 48px;
    }
}

/* <=639px - Mobile */
@media (max-width: 639px) {
    .ctdt-guide {
        padding: 32px 0;
    }

    .ctdt-guide__title {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .ctdt-guide__grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .ctdt-guide__card-image {
        height: 160px;
    }

    .ctdt-guide__card-content {
        padding: 12px 14px;
        gap: 10px;
    }

    .ctdt-guide__badge {
        width: 48px;
        height: 48px;
    }

    .ctdt-guide__badge::before {
        width: 42px;
        height: 48px;
    }

    .ctdt-guide__badge-number {
        font-size: 14px;
    }

    .ctdt-guide__card-title {
        font-size: 14px;
    }

    .ctdt-guide__card-desc {
        font-size: 12px;
    }

    .ctdt-guide__card-content--left {
        gap: 10px;
    }

    .ctdt-guide__card-info {
        gap: 2px;
    }

    .ctdt-guide__cta {
        margin-top: 24px;
    }

    .ctdt-guide__cta-btn {
        font-size: 14px;
        height: 44px;
        line-height: 44px;
        width: 100%;
        max-width: 300px;
    }
}

/* ============================================
   Responsive - UI Standards Breakpoints
   ============================================ */


/* 1440-1919px */
@media (min-width: 1440px) and (max-width: 1919px) {
    :root {
        --ctdt-container-gutter: 72px;
    }
}

/* 1280-1439px */
@media (min-width: 1280px) and (max-width: 1439px) {
    :root {
        --ctdt-container-gutter: 60px;
    }
}

/* 1024-1279px */
@media (min-width: 1025px) and (max-width: 1279px) {
    :root {
        --ctdt-container-gutter: 48px;
    }

    .ctdt-stats__row {
        flex-wrap: wrap;
    }

    .ctdt-stats__card {
        width: calc(50% - 12px);
    }

    .ctdt-prizes__grid {
        flex-wrap: wrap;
    }

    .ctdt-prizes__card {
        flex: 1 0 calc(50% - 12px);
        min-width: 300px;
    }
}

/* <=1024px - Tablet/Mobile */
@media (max-width: 1024px) {
    :root {
        --ctdt-container-gutter: 24px;
    }

    .ctdt-nav {
        padding: 0 var(--ctdt-container-gutter);
    }

    .ctdt-nav__menu {
        gap: 16px;
    }

    .ctdt-nav__item span {
        display: none;
    }

    .ctdt-stats__quote,
    .ctdt-prizes__title {
        font-size: 32px;
    }

    .ctdt-stats__row {
        flex-direction: column;
        align-items: center;
    }

    .ctdt-stats__card {
        width: 100%;
        max-width: 464px;
    }

    .ctdt-guide__cta-btn {
        width: 100%;
        max-width: 366px;
    }

    .ctdt-guide__cta::before,
    .ctdt-guide__cta::after {
        width: 100%;
        max-width: 366px;
    }

    .ctdt-prizes__grid {
        flex-direction: column;
    }

    .ctdt-hero {
        height: 100vh;
    }

    .ctdt-hero__bg {
        display: none;
    }

    .ctdt-hero__bg--mobile {
        display: block;
    }

    .ctdt-hero__qr {
        display: none;
    }

    .ctdt-hero__cta {
        width: 100%;
        padding: 0 24px;
    }

    .ctdt-cta {
        width: 100%;
        max-width: 366px;
    }

    .ctdt-cta::before,
    .ctdt-cta::after {
        width: 100%;
        max-width: 366px;
    }

    .ctdt-cta__btn {
        width: 100%;
        max-width: 366px;
        font-size: 18px;
    }

    .ctdt-countdown__wrapper {
        gap: 16px;
        padding: 0 20px;
    }
}

/* <=639px - Mobile */
@media (max-width: 639px) {
    :root {
        --ctdt-container-gutter: 16px;
    }

    .ctdt-nav__btn span {
        display: none;
    }

    .ctdt-nav__btn {
        padding: 10px 16px;
    }

    .ctdt-stats__quote,
    .ctdt-prizes__title {
        font-size: 24px;
    }

    .ctdt-stats__number {
        font-size: 32px;
    }

    .ctdt-hero {
        height: 85vh;
    }

    .ctdt-hero__cta {
        width: 100%;
        padding: 0 16px;
        bottom: 80px;
    }

    .ctdt-cta {
        width: 100%;
        max-width: 366px;
    }

    .ctdt-cta::before,
    .ctdt-cta::after {
        width: 100%;
        max-width: 366px;
    }

    .ctdt-cta__btn {
        width: 100%;
        font-size: 16px;
    }

    .ctdt-countdown__wrapper {
        flex-wrap: wrap;
        justify-content: center;
        gap: 16px;
        padding: 16px 20px;
        height: auto;
        min-height: 81px;
        overflow: visible;
    }

}

/* ============================================
   Navigation Mobile + Text Responsive Overrides
   ============================================ */
.ctdt-nav__mobile-toggle {
    display: none;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--ctdt-text);
    cursor: pointer;
    padding: 0;
    transition: background var(--ctdt-transition), border-color var(--ctdt-transition);
}

.ctdt-nav__mobile-toggle:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.36);
}

.ctdt-nav__mobile-toggle-line {
    width: 20px;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transition: transform var(--ctdt-transition), opacity var(--ctdt-transition);
}

.ctdt-nav--mobile-open .ctdt-nav__mobile-toggle-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.ctdt-nav--mobile-open .ctdt-nav__mobile-toggle-line:nth-child(2) {
    opacity: 0;
}

.ctdt-nav--mobile-open .ctdt-nav__mobile-toggle-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.ctdt-guide__cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.2;
}

@media (max-width: 1919px) {
    :root {
        --ctdt-font-size-xs: clamp(11px, 0.63vw, 12px);
        --ctdt-font-size-sm: clamp(12px, 0.73vw, 14px);
        --ctdt-font-size-base: clamp(14px, 0.84vw, 16px);
        --ctdt-font-size-lg: clamp(16px, 0.94vw, 18px);
        --ctdt-font-size-xl: clamp(18px, 1.05vw, 20px);
        --ctdt-font-size-2xl: clamp(20px, 1.25vw, 24px);
        --ctdt-font-size-3xl: clamp(24px, 1.67vw, 32px);
        --ctdt-font-size-4xl: clamp(30px, 2.08vw, 40px);
        --ctdt-font-size-5xl: clamp(34px, 2.5vw, 48px);
    }

    .ctdt-page :where(.ctdt-nav__item, .ctdt-nav__btn, .ctdt-cta__btn, .ctdt-guide__cta-btn,
        .ctdt-countdown__label, .ctdt-countdown__number, .ctdt-countdown__unit,
        .ctdt-stats-card__number, .ctdt-stats-card__label, .ctdt-stats-card__desc,
        .ctdt-prizes__tab-text, .ctdt-prizes__header-title, .ctdt-prizes__price,
        .ctdt-prizes__reward-text, .ctdt-guide__badge-number, .ctdt-guide__card-title,
        .ctdt-guide__card-desc) {
        line-height: 1.25;
    }

    .ctdt-page :where(.ctdt-stats-card__label, .ctdt-stats-card__desc,
        .ctdt-prizes__tab-text, .ctdt-prizes__price, .ctdt-prizes__reward-text,
        .ctdt-guide__card-title, .ctdt-guide__card-desc) {
        overflow-wrap: anywhere;
    }

    .ctdt-nav__left,
    .ctdt-nav__right,
    .ctdt-nav__actions {
        gap: clamp(20px, 2vw, 32px);
    }

    .ctdt-nav__menu {
        gap: clamp(18px, 1.7vw, 32px);
    }
}

@media (min-width: 1440px) and (max-width: 1919px) {

    .ctdt-nav__item,
    .ctdt-nav__btn {
        font-size: 15px;
    }

    .ctdt-cta__btn,
    .ctdt-guide__cta-btn {
        font-size: 19px;
    }

    .ctdt-stats__title,
    .ctdt-prizes__title,
    .ctdt-guide__title {
        font-size: clamp(36px, 2.2vw, 40px);
        line-height: 1.15;
    }

    .ctdt-stats-card__number {
        font-size: 36px;
    }

    .ctdt-stats-card__label,
    .ctdt-prizes__price {
        font-size: 22px;
    }

    .ctdt-guide__card-title,
    .ctdt-guide__badge-number {
        font-size: 21px;
    }
}

@media (min-width: 1025px) and (max-width: 1439px) {

    .ctdt-nav__item,
    .ctdt-nav__btn {
        font-size: 14px;
    }

    .ctdt-nav__btn {
        padding: 8px 18px;
    }

    .ctdt-stats__title,
    .ctdt-prizes__title,
    .ctdt-guide__title {
        font-size: clamp(30px, 2.5vw, 36px);
        line-height: 1.15;
    }

    .ctdt-stats-card__number {
        font-size: 30px;
    }

    .ctdt-stats-card__label,
    .ctdt-prizes__price {
        font-size: 20px;
    }

    .ctdt-stats-card__desc,
    .ctdt-guide__card-desc {
        font-size: 14px;
    }

    .ctdt-guide__card-title,
    .ctdt-guide__badge-number {
        font-size: 19px;
    }
}

@media (max-width: 1024px) {
    body.ctdt-mobile-menu-open {
        overflow: hidden;
    }

    .ctdt-nav {
        padding: 0;
    }

    .ctdt-nav__container {
        padding-left: var(--ctdt-container-gutter);
        padding-right: var(--ctdt-container-gutter);
    }

    .ctdt-nav__left {
        gap: 0;
    }

    .ctdt-nav__mobile-toggle {
        display: inline-flex;
        flex-shrink: 0;
    }

    .ctdt-nav__menu,
    .ctdt-nav__right {
        position: fixed;
        left: var(--ctdt-container-gutter);
        right: var(--ctdt-container-gutter);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transform: translateY(-12px);
        transition: opacity var(--ctdt-transition), transform var(--ctdt-transition),
            visibility var(--ctdt-transition);
    }

    .ctdt-nav__menu {
        top: 76px;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 4px;
        padding: 12px;
        background: rgba(18, 45, 84, 0.98);
        border: 1px solid rgba(255, 255, 255, 0.16);
        border-radius: 12px 12px 0 0;
        box-shadow: 0 18px 36px rgba(0, 0, 0, 0.24);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
    }

    .ctdt-nav__right {
        top: 225px;
        display: grid;
        grid-template-columns: 1fr;
        align-items: start;
        gap: 10px;
        padding: 0 12px 14px;
        background: rgba(18, 45, 84, 0.98);
        border: 1px solid rgba(255, 255, 255, 0.16);
        border-top: 0;
        border-radius: 0 0 12px 12px;
        box-shadow: 0 18px 36px rgba(0, 0, 0, 0.24);
        backdrop-filter: blur(18px);
        -webkit-backdrop-filter: blur(18px);
    }

    .ctdt-nav__actions {
        order: 2;
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: stretch;
        gap: 10px;
        width: 100%;
    }

    .ctdt-nav--mobile-open .ctdt-nav__menu,
    .ctdt-nav--mobile-open .ctdt-nav__right {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .ctdt-nav__item {
        min-height: 42px;
        justify-content: flex-start;
        padding: 10px 12px;
        border-radius: 8px;
        font-size: 15px;
    }

    .ctdt-nav__item::after {
        display: none !important;
    }

    .ctdt-nav__item:hover {
        background: rgba(255, 255, 255, 0.08);
    }

    .ctdt-nav__item span,
    .ctdt-nav__btn span {
        display: inline;
    }

    .ctdt-nav__item--home .ctdt-nav__item-icon {
        display: none;
    }

    .ctdt-nav__item--home .ctdt-nav__item-home-text {
        display: inline;
    }

    .ctdt-nav__btn {
        width: 100%;
        min-height: 42px;
        padding: 10px 12px;
        font-size: 14px;
        line-height: 1.2;
        text-align: center;
    }

    .ctdt-nav__login-wrapper {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        min-width: 0;
        width: 100%;
    }

    .ctdt-nav__login-wrapper .ctdt-nav__btn--secondary {
        white-space: normal;
    }

    .ctdt-nav__right>.ctdt-hero__qr {
        order: 1;
        position: static;
        display: grid;
        grid-template-columns: minmax(0, 1fr) 68px;
        align-items: center;
        width: 100%;
        padding: 8px;
        gap: 8px;
        transform: none;
        opacity: 1;
        pointer-events: auto;
        border: 1px solid rgba(255, 255, 255, 0.2);
        border-radius: 10px;
        background: rgba(255, 255, 255, 0.1);
        box-shadow: 0 8px 18px rgba(0, 0, 0, 0.22);
        backdrop-filter: blur(40px);
        -webkit-backdrop-filter: blur(40px);
    }

    .ctdt-nav__right>.ctdt-hero__qr--hidden {
        transform: none;
        opacity: 1;
        pointer-events: auto;
    }

    .ctdt-nav__right>.ctdt-hero__qr .ctdt-hero__qr-text {
        color: rgba(255, 255, 255, 0.9);
        font-size: 12px;
        font-weight: 700;
        line-height: 1.2;
        text-align: left;
        text-shadow: none;
    }

    .ctdt-nav__right>.ctdt-hero__qr .ctdt-hero__qr-icon {
        display: none;
    }

    .ctdt-nav__right>.ctdt-hero__qr .ctdt-hero__qr-box {
        width: 68px;
        height: 68px;
        border: 2px solid rgba(1, 20, 52, 0.18);
        background: #fff;
        box-shadow: inset 0 0 0 3px rgba(255, 255, 255, 0.7);
    }

    .ctdt-nav__right>.ctdt-hero__qr .ctdt-hero__qr-box::before {
        display: none;
    }

    .ctdt-nav__right>.ctdt-hero__qr .ctdt-hero__qr-box img {
        width: 58px;
        padding: 0;
    }

    .ctdt-stats__title,
    .ctdt-prizes__title,
    .ctdt-guide__title {
        font-size: clamp(26px, 4vw, 32px);
        line-height: 1.15;
        margin-bottom: 24px;
    }

    .ctdt-countdown__label,
    .ctdt-countdown__unit,
    .ctdt-stats-card__desc,
    .ctdt-prizes__tab-text,
    .ctdt-guide__card-desc {
        font-size: 14px;
    }

    .ctdt-countdown__label {
        background: rgba(1, 20, 52, 0.65);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        padding: 3px 14px;
        border-radius: 99px;
        border: 1px solid rgba(255, 184, 28, 0.25);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
        top: -11%;
    }

    .ctdt-countdown__number,
    .ctdt-stats-card__number {
        font-size: 28px;
    }

    .ctdt-stats-card__label,
    .ctdt-prizes__price,
    .ctdt-guide__card-title {
        font-size: 18px;
    }

    .ctdt-guide__cta-btn {
        font-size: 16px;
    }
}

@media (max-width: 639px) {
    .ctdt-nav__logo {
        width: 64px;
        height: 40px;
    }

    .ctdt-nav__mobile-toggle {
        width: 40px;
        height: 40px;
    }

    .ctdt-nav__menu {
        top: 72px;
        padding: 10px;
    }

    .ctdt-nav__right {
        top: 215px;
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 0 10px 12px;
    }

    .ctdt-nav__actions {
        grid-template-columns: 1fr;
        gap: 8px;
    }

    .ctdt-nav__item {
        min-height: 40px;
        font-size: 14px;
    }

    .ctdt-nav__btn {
        min-height: 40px;
        font-size: 13px;
    }

    .ctdt-nav__right>.ctdt-hero__qr {
        grid-template-columns: minmax(0, 1fr) 74px;
        padding: 10px;
    }

    .ctdt-nav__right>.ctdt-hero__qr .ctdt-hero__qr-text {
        font-size: 13px;
    }

    .ctdt-nav__right>.ctdt-hero__qr .ctdt-hero__qr-box {
        width: 74px;
        height: 74px;
    }

    .ctdt-nav__right>.ctdt-hero__qr .ctdt-hero__qr-box img {
        width: 64px;
    }

    .ctdt-stats__title,
    .ctdt-prizes__title,
    .ctdt-guide__title {
        font-size: clamp(22px, 6vw, 26px);
    }

    .ctdt-cta__btn,
    .ctdt-guide__cta-btn {
        font-size: 14px;
    }

    .ctdt-countdown__label,
    .ctdt-countdown__unit,
    .ctdt-stats-card__desc,
    .ctdt-prizes__tab-text,
    .ctdt-prizes__reward-text,
    .ctdt-guide__card-desc {
        font-size: 12px;
    }

    .ctdt-countdown__label {
        background: rgba(1, 20, 52, 0.7);
        backdrop-filter: blur(6px);
        -webkit-backdrop-filter: blur(6px);
        padding: 2px 10px;
        border-radius: 99px;
        border: 1px solid rgba(255, 184, 28, 0.2);
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
        top: -11%;
    }

    .ctdt-countdown__number,
    .ctdt-stats-card__number {
        font-size: 24px;
    }

    .ctdt-stats-card__label,
    .ctdt-prizes__price,
    .ctdt-guide__card-title {
        font-size: 15px;
    }

    .ctdt-prizes__price {
        white-space: nowrap;
    }
}



/* MODAL CAO THU DAU TU */

.ctdt-modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 12px;
    padding: 8px;
    background: var(--ctdt-bg-card) url('../images/homepage/bg-modal.webp') center / cover no-repeat;
    width: 952px;
    height: auto;
    display: flex;
    /* align-items: center; */
    justify-content: center;
    z-index: 1000;

    padding: 40px 122px;

    @media (max-width: 1024px) {
        width: 90%;
        height: auto;
    }

    @media (max-width: 639px) {
        width: 100%;
        height: auto;
    }

    @media (max-width: 1024px) {
        padding: 30px 20px;
    }

    @media (max-width: 639px) {
        padding: 20px 16px;
    }
}

.ctdt-modal--notification {
    width: 708px;
    background-image: url('../images/homepage/bg-modal-notification.webp');
}

.ctdt-modal:has(.ctdt-modal__registration:not(.hidden)) {
    width: 952px;
}

.ctdt-modal:has(.ctdt-modal__notification:not(.hidden)) {
    width: 708px;
    background-image: url('../images/homepage/bg-modal-notification.webp');
}

.ctdt-modal.hidden,
.ctdt-modal__overlay.hidden,
.ctdt-modal .hidden {
    display: none !important;
}

@media (max-width: 1024px) {

    .ctdt-modal--notification,
    .ctdt-modal:has(.ctdt-modal__registration:not(.hidden)),
    .ctdt-modal:has(.ctdt-modal__notification:not(.hidden)) {
        width: 90%;
    }
}

@media (max-width: 639px) {

    .ctdt-modal--notification,
    .ctdt-modal:has(.ctdt-modal__registration:not(.hidden)),
    .ctdt-modal:has(.ctdt-modal__notification:not(.hidden)) {
        width: 85%;
        padding: 30px;
    }
}

.ctdt-modal::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    padding: 8px;
    background: linear-gradient(180deg, #00C0F5 0%, #002F6D 50%);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.ctdt-modal__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.40);
    border-radius: 12px;
}

.ctdt-modal__close {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 48px;
    height: 48px;
    border-radius: 100px;
    border: 2px solid rgba(255, 255, 255, 0.20);
    background: var(--B-B, linear-gradient(259deg, #1B468D 37.82%, #252D69 68.93%));
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background var(--ctdt-transition);
}

.ctdt-modal__registration {
    width: 100%;
}

.ctdt-modal__registration-title {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding-bottom: 20px;
}



.ctdt-modal__registration-title h2 {
    position: relative;
    font-family: var(--ctdt-font-family);
    font-size: 48px;
    font-weight: 900;
    line-height: 60px;
    text-transform: uppercase;
    white-space: nowrap;
    /* 125% */
    background: linear-gradient(180deg, #FBE29F 0%, #C68C2E 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ctdt-modal__registration-title h2::before {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 418px;
    height: 2px;
    background: linear-gradient(90deg, rgba(217, 210, 183, 0.00) 0.07%, #E6C073 50%, rgba(217, 210, 183, 0.00) 100%);
    filter: blur(1.35px);
    z-index: 1;
}

.ctdt-modal__registration-title .line1 {
    display: inline-block;
    flex: 0 0 40px;
    width: 40px;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.00) 0%, #E6C073 100%);
}

.ctdt-modal__registration-title .line2 {
    display: inline-block;
    flex: 0 0 40px;
    width: 100%;
    max-width: 40px;
    height: 1px;
    background: linear-gradient(90deg, #E6C073 0%, rgba(255, 255, 255, 0.00) 100%);
}

.ctdt-modal__registration-desc {
    font-family: var(--ctdt-font-family);
    font-size: 16px;
    font-weight: 500;
    color: var(--ctdt-text);
    text-align: center;
    line-height: normal;
    max-width: 361px;
    margin: 0 auto;

    span {
        background: linear-gradient(188deg, #EED2A9 29.75%, #DDBF93 114.95%);
        background-clip: text;
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
    }
}

@media (max-width: 639px) {
    .ctdt-modal__registration-title {
        gap: 10px;
    }

    .ctdt-modal__registration-title h2 {
        font-size: clamp(28px, 9vw, 36px);
        line-height: 1.15;
    }

    .ctdt-modal__registration-title h2::before {
        width: min(100%, 300px);
    }

    .ctdt-modal__registration-title .line1,
    .ctdt-modal__registration-title .line2 {
        flex-basis: 24px;
        width: 24px;
        max-width: 24px;
    }
}

@media (max-width: 374px) {

    .ctdt-modal__registration-title .line1,
    .ctdt-modal__registration-title .line2 {
        display: none;
    }
}


.ctdt-modal__registration-form {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    align-self: stretch;
}

.ctdt-modal__form-group {
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: 100%;

    /* label */
    label {
        font-family: var(--ctdt-font-family);
        font-size: var(--ctdt-font-size-lg);
        font-style: normal;
        font-weight: 700;
        line-height: 26px;
        color: #FFFFFF;
        text-transform: uppercase;


    }

    /* input */
    input {
        width: 100%;
        display: flex;
        height: 52px;
        padding: 25px 24px;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        gap: 8px;
        align-self: stretch;
        border-radius: 16px;
        border: 1px solid rgba(255, 255, 255, 0.20);
        background: rgba(255, 255, 255, 0.10);
        backdrop-filter: blur(40px);
        color: #FFF;
        font-family: var(--ctdt-font-family);
        font-size: 16px;
        font-style: normal;
        font-weight: 500;
        line-height: normal;

        &:focus {
            border-color: rgba(255, 255, 255, 0.36);
            outline: none;
        }

        &[readonly] {
            color: rgba(255, 255, 255, 0.50);
            cursor: not-allowed;
        }
    }
}

.ctdt-modal__form-validate {
    font-family: var(--ctdt-font-family);
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    color: #FF3737;
}


/* checkbox */
.ctdt-modal__form-checkbox {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    width: 100%;
    margin-top: 16px;
    margin-bottom: 16px;

    input {
        width: 20px;
        height: 20px;
        accent-color: #FBE29F !important;
        border-radius: 4px;
        border: 1px solid #FFF;
        background: transparent;
    }

    /* input[type='checkbox']:checked {
        background: #FBE29F;
        border-color: #FBE29F;
    } */

    label {
        font-family: var(--ctdt-font-family);
        font-size: 16px;
        font-style: normal;
        font-weight: 500;
        line-height: normal;
        color: #FFFFFF;

        a {
            color: #FFB81C;
            text-decoration: underline;
        }
    }
}


.ctdt-modal__form-actions {
    display: flex;
    align-items: center;
    gap: 34px;
    margin-top: 16px;
}

.ctdt-modal__form-btn {
    position: relative;
    width: 50%;
    display: flex;
    height: 56px;
    padding: 12px 24px;
    justify-content: center;
    align-items: center;
    flex: 1 0 0;
    border-radius: 8px;
}

.ctdt-modal__form-btn--primary {
    overflow: hidden;
    border: none;
    /* background: var(--ctdt-primary); */
    background-image:

        url('../images/homepage/line-png.webp');
    background-blend-mode: multiply, normal;
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    color: var(--csk-235-ba-8950, #040B15);
    font-family: var(--ctdt-font-family);
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
    text-transform: uppercase;
    cursor: pointer;
}

.ctdt-modal__submit-wrapper {
    position: relative;
    width: 50%;
    height: 56px;
    flex: 1 0 0;
    display: flex;
}

.ctdt-modal__submit-wrapper .ctdt-modal__form-btn--primary {
    width: 100%;
    height: 100%;
}

.ctdt-modal__submit-wrapper::before,
.ctdt-modal__submit-wrapper::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 8px;
    pointer-events: none;
    z-index: -1;
}

.ctdt-modal__submit-wrapper::before {
    background: var(--ctdt-glow-orange);
    filter: blur(13.05px);
}

.ctdt-modal__submit-wrapper::after {
    background: var(--ctdt-glow-red);
    filter: blur(8.4px);
}

.ctdt-modal__form-btn--secondary {
    border: 1px solid rgba(255, 255, 255, 0.20);
    background: #FFF;
    backdrop-filter: blur(40px);
    text-transform: uppercase;
    color: var(--csk-235-ba-8950, #040B15);

    font-family: var(--ctdt-font-family);
    font-size: 16px;
    font-style: normal;
    font-weight: 700;
    line-height: 24px;
    /* 150% */

    &:hover {
        background: rgba(255, 255, 255, 0.80);
    }
}

@media (max-width: 639px) {
    .ctdt-modal__form-actions {
        gap: 12px;
        margin-top: 12px;
    }

    .ctdt-modal__form-btn {
        height: 48px;
        padding: 8px 10px;
        white-space: nowrap;
    }

    .ctdt-modal__form-btn--primary,
    .ctdt-modal__form-btn--secondary {
        font-size: 14px;
        line-height: 20px;
    }

    .ctdt-modal__submit-wrapper {
        height: 48px;
    }
}


.ctdt-modal__notification,
.ctdt-modal__notification-content,
.ctdt-modal__notification-body {
    width: 100%;

}

.ctdt-modal__notification-content {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ctdt-modal__notification-success,
.ctdt-modal__notification-error {
    width: 100%;
    max-width: 474px;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin: 0 auto;
}

.ctdt-modal__notification-success img,
.ctdt-modal__notification-error img {
    width: 128px;
    height: 128px;
    object-fit: contain;
    flex: 0 0 auto;
}

.ctdt-modal__notification-title {
    text-align: center;
    font-family: var(--ctdt-font-family);
    font-size: 32px;
    font-style: normal;
    font-weight: 900;
    line-height: 48px;
    /* 150% */
    text-transform: uppercase;
    background: linear-gradient(180deg, #FBE29F 0%, #C68C2E 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

}

.ctdt-modal__notification-error .ctdt-modal__notification-title {
    color: var(--Red, #FF3737);
    text-shadow: 0 0 3.1px #F00000;
    text-align: center;
}

.ctdt-modal__notification-desc {
    width: 100%;
    text-align: center;
    font-family: var(--ctdt-font-family);
    font-size: 16px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    color: var(--ctdt-text);

    a {
        color: #FFB81C;
        text-decoration: underline;
    }
}

/* ==========================================================================
   PREMIUM CUSTOM EFFECTS & INTERACTIVE ANIMATIONS
   ========================================================================== */

/* 1. CINEMATIC ENTRANCE ANIMATION ON PAGE LOAD */
@keyframes ctdtCinematicZoom {
    0% {
        transform: scale(1.08);
        filter: blur(10px);
        opacity: 0;
    }

    100% {
        transform: scale(1);
        filter: blur(0);
        opacity: 1;
    }
}

@keyframes ctdtFadeInUp {
    0% {
        transform: translate(-50%, 30px);
        opacity: 0;
    }

    100% {
        transform: translate(-50%, 0);
        opacity: 1;
    }
}

@keyframes ctdtScrollFadeIn {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 0.8;
        transform: translateY(0);
    }
}

/* Applying Cinematic entrance effects to the Hero Banner & elements */
.ctdt-landing-page .ctdt-hero__bg img,
.ctdt-landing-page .ctdt-hero__bg--mobile img {
    animation: ctdtCinematicZoom 2.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    will-change: transform, filter, opacity;
}


@media (min-width: 1023px) {
    .ctdt-landing-page .ctdt-hero__scroll-down {
        animation: ctdtScrollFadeIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) 1.5s both;
        will-change: transform, opacity;
    }
}


/* 2. PREMIUM HOVER EFFECTS FOR BUTTONS & LINKS */

/* Nav Links hover underline effect */
.ctdt-nav__item {
    position: relative;
    transition: color 0.35s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.35s ease !important;
}

.ctdt-nav__item:hover,
.ctdt-nav__item--active {
    color: var(--ctdt-primary) !important;
    opacity: 1 !important;
}

.ctdt-nav__item::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--ctdt-primary), var(--ctdt-primary-light));
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.ctdt-nav__item:hover::after,
.ctdt-nav__item--active::after {
    transform: scaleX(1) !important;
    transform-origin: left !important;
}

.ctdt-nav__item:hover .ctdt-nav__item-icon svg path,
.ctdt-nav__item--active .ctdt-nav__item-icon svg path {
    fill: var(--ctdt-primary) !important;
    transition: fill 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Nav Logo glow effect */
.ctdt-nav__logo {
    transition: filter 0.3s ease, transform 0.3s ease;
}

.ctdt-nav__logo:hover {
    filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.5));
    transform: scale(1.02);
}

/* General button scale and glow effects */
.ctdt-nav__btn,
.ctdt-cta__btn,
.ctdt-guide__cta-btn,
.ctdt-modal__form-btn,
.ctdt-prizes__arrow {
    transition: transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1),
        box-shadow 0.35s cubic-bezier(0.25, 0.8, 0.25, 1),
        background 0.35s cubic-bezier(0.25, 0.8, 0.25, 1),
        border-color 0.35s cubic-bezier(0.25, 0.8, 0.25, 1),
        filter 0.35s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

/* Primary nav button (Teal) hover */
.ctdt-nav__btn--primary:hover {
    transform: translateY(-2px);
    background: var(--ctdt-teal-hover) !important;
    box-shadow: 0 4px 15px rgba(0, 158, 135, 0.5);
}

/* Secondary nav button (Gold) hover */
.ctdt-nav__btn--secondary:hover {
    transform: translateY(-2px);
    background: var(--ctdt-primary-hover) !important;
    box-shadow: 0 4px 15px rgba(255, 184, 28, 0.5);
}

/* Main Hero CTA Button hover */
/* .ctdt-cta__btn:hover:not(:disabled) {
    transform: scale(1.04);
    box-shadow: 0 0 25px rgba(255, 184, 28, 0.6);
    border-color: var(--ctdt-primary-light) !important;
    filter: brightness(1.1);
} */

/* Guide Section CTA Button hover */
.ctdt-guide__cta-btn:hover {
    transform: scale(1.04);
    box-shadow: 0 0 25px rgba(255, 184, 28, 0.6);
    filter: brightness(1.1);
}

/* Prizes Navigation Arrow buttons hover */
.ctdt-prizes__arrow:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: var(--ctdt-primary) !important;
    transform: scale(1.15);
    box-shadow: 0 0 12px rgba(255, 255, 255, 0.15);
}

/* Prizes Category Tabs hover */
.ctdt-prizes__tab {
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease !important;
}

.ctdt-prizes__tab:not(.active):hover {
    background: rgba(255, 255, 255, 0.15) !important;
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.3) !important;
}


/* 3. GUIDE / INSTRUCTIONS: ARROW LEFT-TO-RIGHT PREMIUM ANIMATION */

@keyframes ctdtArrowSlide {
    0% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(6px);
    }

    100% {
        transform: translateX(0);
    }
}

@keyframes ctdtArrowSwipe {
    0% {
        transform: translateX(-8px);
        opacity: 0;
    }

    30% {
        transform: translateX(0);
        opacity: 1;
    }

    75% {
        transform: translateX(12px);
        opacity: 1;
    }

    100% {
        transform: translateX(20px);
        opacity: 0;
    }
}

/* Base Arrow styling in Guide section cards */
.ctdt-guide__card-steps img {
    animation: ctdtArrowSlide 2s infinite ease-in-out;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Premium Card hover effects and arrow swipe trigger */
.ctdt-guide__card {
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.ctdt-guide__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(1, 20, 52, 0.6);
    border-color: rgba(255, 184, 28, 0.4) !important;
}

.ctdt-guide__card:hover .ctdt-guide__card-steps img {
    animation: ctdtArrowSwipe 1.6s infinite linear;
}

/* ==========================================================================
   Sophisticated Uniform Button Effects (Non-3D & Non-Dazzling)
   ========================================================================== */

/* Unified target buttons sharing the line-png background image */
.ctdt-cta__btn,
.ctdt-guide__cta-btn,
.ctdt-modal__form-btn--primary {
    transition: none !important;
    /* Force disable CSS transitions to prevent fight with GSAP */
    position: relative;
    overflow: hidden !important;
    /* Clip the inner shimmer sweep perfectly */
    will-change: transform, box-shadow, filter;
}

/* Submit button is now wrapped in .ctdt-modal__submit-wrapper to decouple outer glows,
   enabling overflow: hidden !important uniform styling. */

/* Disabled button overrides */
/* .ctdt-cta__btn:disabled,
.ctdt-guide__cta-btn:disabled,
.ctdt-modal__form-btn--primary:disabled,
.ctdt-cta__btn.disabled,
.ctdt-guide__cta-btn.disabled,
.ctdt-modal__form-btn--primary.disabled {
    opacity: 0.6;
    filter: grayscale(0.8) brightness(0.7) !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
    transform: none !important;
    box-shadow: none !important;
} */

.ctdt-modal__submit-wrapper.disabled::before,
.ctdt-modal__submit-wrapper.disabled::after {
    opacity: 0 !important;
    display: none !important;
}

/* Clean text label above shimmer layer */
.ctdt-btn-label {
    display: inline-block;
    position: relative;
    z-index: 3;
    pointer-events: none;
}

/* Shimmer wrapper clipping container */
.ctdt-btn-shimmer-wrapper {
    position: absolute;
    inset: 0;
    overflow: hidden;
    border-radius: inherit;
    pointer-events: none;
    z-index: 2;
}

/* Soft glassmorphic diagonal shimmer reflection line */
.ctdt-btn-shimmer-line {
    position: absolute;
    top: 0;
    left: -150%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.18) 30%,
            rgba(255, 255, 255, 0.3) 50%,
            rgba(255, 255, 255, 0.18) 70%,
            rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    pointer-events: none;
    opacity: 0.75;
    will-change: left;
}

/* Soft constant ambient shimmer sweep loop */
.ctdt-cta__btn .ctdt-btn-shimmer-line,
.ctdt-guide__cta-btn .ctdt-btn-shimmer-line,
.ctdt-modal__form-btn--primary .ctdt-btn-shimmer-line {
    animation: ctdt-shimmer-sweep-soft 4.2s infinite linear;
}

@keyframes ctdt-shimmer-sweep-soft {
    0% {
        left: -150%;
    }

    25% {
        left: 150%;
    }

    100% {
        left: 150%;
    }
}

/* Animation nhấp nháy cho nút Tham gia ngay khi click Hướng dẫn 2 */
@keyframes ctdt-button-flash {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 184, 28, 0);
    }

    50% {
        transform: scale(1.03);
        box-shadow: 0 0 15px 4px rgba(255, 184, 28, 0.5);
    }
}

.ctdt-cta-flash {
    animation: ctdt-button-flash 0.8s ease-in-out 1 !important;
    position: relative;
    z-index: 10;
}

/* ============================================
   Prizes Section - Responsive Cards (<1920px)
   ============================================ */
@media (max-width: 1919px) {
    .ctdt-prizes__card {
        height: 440px;
    }

    .ctdt-prizes__card-content figure {
        width: 200px;
        height: 200px;
    }

    .ctdt-prizes__product {
        gap: 20px;
    }

    .ctdt-prizes__price {
        font-size: 20px;
        line-height: 30px;
    }

    .ctdt-prizes__header {
        margin-top: 15px;
    }
}

@media (max-width: 1439px) {
    .ctdt-prizes__card {
        height: 400px;
    }

    .ctdt-prizes__card-content figure {
        width: 180px;
        height: 180px;
    }

    .ctdt-prizes__product {
        gap: 16px;
    }

    .ctdt-prizes__price {
        font-size: 18px;
        line-height: 26px;
    }

    .ctdt-prizes__header span {
        font-size: 18px;
    }

    .ctdt-prizes__header-line {
        max-width: 210px;
    }

    .ctdt-prizes__reward-text {
        height: 40px;
        font-size: 14px;
        padding: 8px 12px;
    }
}

@media (max-width: 1279px) {
    .ctdt-prizes__card {
        height: 380px;
    }

    .ctdt-prizes__card-content {
        gap: 14px;
    }

    .ctdt-prizes__card-content figure {
        width: 160px;
        height: 160px;
    }

    .ctdt-prizes__product {
        gap: 12px;
    }

    .ctdt-prizes__price {
        font-size: 16px;
        line-height: 24px;
    }

    .ctdt-prizes__header span {
        font-size: 16px;
    }

    .ctdt-prizes__header-line {
        max-width: 190px;
    }

    .ctdt-prizes__reward-text {
        height: 36px;
        font-size: 13px;
        padding: 6px 10px;
    }
}

@media (max-width: 1024px) {
    .ctdt-prizes__tabs {
        display: flex;
        gap: 8px;
        overflow-x: auto;
        white-space: nowrap;
        width: 100%;
        padding-top: 4px;
        padding-bottom: 8px;
        margin-top: -4px;
        margin-bottom: -8px;
        -webkit-overflow-scrolling: touch;
    }

    .ctdt-prizes__tabs::-webkit-scrollbar {
        height: 4px;
    }

    .ctdt-prizes__tabs::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.05);
        border-radius: 2px;
    }

    .ctdt-prizes__tabs::-webkit-scrollbar-thumb {
        background: rgba(128, 170, 229, 0.4);
        border-radius: 2px;
    }

    .ctdt-prizes__tabs::-webkit-scrollbar-thumb:hover {
        background: rgba(128, 170, 229, 0.6);
    }

    .ctdt-prizes__tab {
        /* flex: 0 0 auto; */
        padding: 6px 13px 8px 12px;
    }

    .ctdt-prizes__card {
        height: 360px;
    }

    .ctdt-prizes__card-content {
        gap: 12px;
    }

    .ctdt-prizes__card-content figure {
        width: 140px;
        height: 140px;
    }

    .ctdt-prizes__product {
        gap: 8px;
    }

    .ctdt-prizes__price {
        font-size: 15px;
        line-height: 22px;
    }

    .ctdt-prizes__header span {
        font-size: 15px;
    }

    .ctdt-prizes__header-line {
        max-width: 160px;
    }

    .ctdt-prizes__reward-text {
        height: 32px;
        font-size: 12px;
        padding: 4px 8px;
    }
}

@media (max-width: 639px) {
    .ctdt-prizes{
        margin-top: 20px;
    }
    .ctdt-prizes__card {
        height: 350px;
        margin: 0 auto;
    }

    .ctdt-prizes__card-content figure {
        width: 150px;
        height: 150px;
    }

    .ctdt-prizes__header-line {
        max-width: 170px;
    }
}

/* ==========================================================================
   BACK TO TOP BUTTON
   ========================================================================== */
.back-to-top {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: translateY(20px) scale(0.8);
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                visibility 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                transform 0.4s cubic-bezier(0.16, 1, 0.3, 1),
                background-color 0.3s ease,
                color 0.3s ease,
                box-shadow 0.3s ease !important;
}

.back-to-top.show {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: translateY(0) scale(1);
}