#loi-ich .section-title-balance {
    letter-spacing: 0.06em;
}

#loi-ich .section-lead {
    font-family: 'Montserrat', 'SVN-HC Marvin Visions', 'Be Vietnam Pro', sans-serif;
}

#loi-ich .card-title {
    letter-spacing: 0.06em;
    font-family: 'Montserrat', 'SVN-HC Marvin Visions', 'Be Vietnam Pro', sans-serif;
    text-transform: uppercase;
    font-weight: 800;
    line-height: 1.15;
}

#loi-ich .card-text {
    font-family: 'Montserrat', 'SVN-HC Marvin Visions', 'Be Vietnam Pro', sans-serif;
}

#loi-ich .benefit-icon {
    width: 110%;
    height: 110%;
    object-fit: contain;
    display: block;
}

/* Unify icon circle background color to match the drink icon */
#loi-ich .rounded-circle {
    background-color: #fffbeb !important;
}

@font-face {
    font-family: 'SVN-HC Marvin Visions';
    src: url('/fonts/SVN-HC Marvin Visions.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

:root {
    /* --- Bảng màu chính từ Poster --- */
    --c-background: #FAF3E3;
    /* Màu nền kem/giấy */
    --c-red: #DA251D;
    /* Màu đỏ cờ */
    --c-green: #134724;
    /* Màu xanh lá đậm */
    --c-yellow: #FFD700;
    /* Màu vàng sao */
    --c-text: #3D2B1F;
    /* Màu chữ nâu đậm */

    --bs-body-bg: var(--c-background);
    --bs-body-font-family: 'SVN-HC Marvin Visions', 'Be Vietnam Pro', sans-serif;
    --bs-body-color: var(--c-text);

    /* Tracking for Marvin font */
    --marvin-letter-spacing: 0.1em;
}

/* Smooth anchor scrolling for friendlier navigation */
html {
    scroll-behavior: smooth;
    font-size: 106%;
}

/* Prevent overscaling on small screens */
@media (max-width: 576px) {
    html {
        font-size: 100%;
    }
}

.backdrop-blur {
    backdrop-filter: saturate(180%) blur(8px);
}

/* --- Nền giấy cũ nhẹ như poster --- */
body {
    /* Background image + subtle paper overlay for readability */
    background:
        linear-gradient(rgba(250, 243, 227, 0.88), rgba(250, 243, 227, 0.88)),
        radial-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px) 0 0/12px 12px,
        radial-gradient(rgba(0, 0, 0, 0.015) 1px, transparent 1px) 6px 6px/12px 12px,
        url('/assets/images/background.png');
    /* Đổi tên file theo ảnh của bạn trong thư mục img */
    background-size: auto, 12px 12px, 12px 12px, cover;
    background-repeat: no-repeat, repeat, repeat, no-repeat;
    background-position: center, 0 0, 0 0, center;
    background-attachment: fixed, fixed, fixed, fixed;
    font-family: var(--bs-body-font-family);
    letter-spacing: var(--marvin-letter-spacing);
}

/* Subtle header divider */
.navbar {
    border-bottom: 1px solid rgba(0, 0, 0, .06);
    font-family: 'Montserrat', 'SVN-HC Marvin Visions', 'Be Vietnam Pro', sans-serif;
}

/* Force brand text to uppercase in navbar and footer */
.navbar .navbar-brand,
footer .navbar-brand {
    text-transform: uppercase;
}

/* Use normal spacing for Montserrat areas so only SVN-HC Marvin Visions looks more spaced */
.navbar,
footer {
    letter-spacing: normal;
}

/* Better accessibility focus ring */
.btn:focus-visible,
.form-control:focus-visible,
.form-select:focus-visible,
.nav-link:focus-visible {
    outline: 3px solid rgba(19, 71, 36, .35);
    outline-offset: 2px;
}

/* Giảm chuyển động cho người dùng chọn reduce motion */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
    }
}

.font-handwritten {
    font-family: 'SVN-HC Marvin Visions', 'Patrick Hand', cursive;
    letter-spacing: var(--marvin-letter-spacing);
}

/* --- Tiêu đề đậm kiểu poster --- */
.title-display {
    font-family: 'SVN-HC Marvin Visions', 'Alfa Slab One', system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--c-red);
    text-shadow: 0 2px 0 rgba(0, 0, 0, 0.05);
}

/* Hero title image (replace text WORKSHOP) */
.hero-title-img {
    display: inline-block;
    width: clamp(12rem, 40vw, 32rem);
    height: auto;
    filter: drop-shadow(0 2px 0 rgba(0, 0, 0, 0.05));
}

/* Hero subtitle image replacing Vietnamese main title */
.hero-subtitle-img {
    display: inline-block;
    width: clamp(16rem, 55vw, 36rem);
    height: auto;
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .12));
}

/* Tighten vertical spacing between hero elements (more compact) */
#top .title-display {
    margin: 0 0 .1rem 0;
    line-height: 1;
}

#top .hero-main-title {
    margin: 0 0 .12rem 0;
    line-height: 1;
}

#top .hero-ribbon-wrap {
    margin-top: .12rem;
}

/* Micro-interaction chung */
.btn {
    transition: transform .2s ease, box-shadow .2s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, .12);
}

.card {
    transition: transform .3s ease, box-shadow .3s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 32px rgba(0, 0, 0, .12) !important;
}

/* Group button spacing in hero */
.hero-actions .btn+.btn {
    margin-left: .5rem;
}

/* --- Custom Buttons --- */
.btn-brand-red {
    background-color: #134724;
    border-color: #134724;
    color: white;
    font-weight: bold;
}

.btn-brand-red:hover {
    background-color: #134724;
    border-color: #134724;
    color: white;
}

.btn-brand-yellow {
    background-color: var(--c-yellow);
    border-color: var(--c-yellow);
    color: var(--c-text);
    font-weight: bold;
}

.btn-brand-yellow:hover {
    background-color: #e6c300;
    border-color: #e6c300;
    color: var(--c-text);
}

/* --- Custom Text & BG Colors --- */
.text-brand-red {
    color: var(--c-red) !important;
}

.text-brand-green {
    color: var(--c-green) !important;
}

.bg-brand-red {
    background-color: var(--c-red) !important;
}

.bg-brand-green {
    background-color: var(--c-green) !important;
}

.bg-brand-yellow {
    background-color: var(--c-yellow) !important;
}

.text-brand-yellow {
    color: var(--c-yellow) !important;
}

.bg-light-green {
    background-color: rgba(0, 104, 55, 0.05);
}

/* Logo border */
.logo-img {
    border: 2px solid var(--c-green);
    border-radius: 8px;
    background: #fff;
}

.nav-link {
    color: var(--c-green);
}

.nav-link:hover {
    color: #0c2f19;
}

/* Animated underline on navbar links */
.navbar .nav-link {
    position: relative;
    transition: color .2s ease;
}

.navbar .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -4px;
    height: 2px;
    background: var(--c-red);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s ease;
}

.navbar .nav-link:hover::after,
.navbar .nav-link:focus-visible::after,
.navbar .nav-link.active::after {
    transform: scaleX(1);
}

/* --- Typography balance for large headings/leads --- */
.section-title-balance {
    line-height: 1.1;
    letter-spacing: 0.2px;
    text-wrap: balance;
}

.section-lead {
    text-wrap: balance;
}

/* --- Ribbon khẩu hiệu --- */
.ribbon {
    position: relative;
    display: inline-block;
    background: var(--c-red);
    color: #fff;
    padding: 0.6rem 1.5rem;
    font-weight: 700;
    border-radius: 999px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    transform: rotate(-2deg);
}

.ribbon::before,
.ribbon::after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%) rotate(25deg);
    width: 18px;
    height: 18px;
    background: var(--c-red);
}

.ribbon::before {
    left: -6px;
    border-bottom-left-radius: 4px;
}

.ribbon::after {
    right: -6px;
    border-top-right-radius: 4px;
}

@keyframes sway {

    0%,
    100% {
        transform: rotate(-2deg);
    }

    50% {
        transform: rotate(-4deg);
    }
}

.ribbon.sway {
    animation: sway 5s ease-in-out infinite;
}

/* --- Thẻ giá giống tem giấy --- */
.price-tag {
    display: inline-flex;
    align-items: baseline;
    gap: .6rem;
    background: #fff4f4;
    color: var(--c-red);
    border: 2px dashed rgba(218, 37, 29, 0.55);
    border-radius: .75rem;
    padding: .4rem .8rem;
    box-shadow: 0 6px 0 rgba(218, 37, 29, 0.15);
    position: relative;
    overflow: hidden;
    transition: transform .2s ease;
}

/* Hero ribbon image replacing text ribbon */
.hero-ribbon-img {
    display: inline-block;
    height: auto;
    width: clamp(14rem, 56vw, 32rem);
    filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.15));
}

.price-tag del {
    color: #a8a29e;
}

.price-tag .now {
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 900;
    line-height: 1;
}

.price-tag:hover {
    transform: rotate(-1deg) scale(1.02);
}

.price-tag::after {
    content: "";
    position: absolute;
    top: -100%;
    left: -40%;
    width: 40%;
    height: 300%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, .55), transparent);
    transform: rotate(25deg);
    animation: shine 5s linear infinite;
}

@keyframes shine {
    0% {
        left: -40%;
    }

    100% {
        left: 120%;
    }
}

/* --- Card giấy --- */
.paper-card {
    background: #fffdf5;
    border: 1px solid #f4e6bf;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
    border-radius: 1.25rem;
}

/* --- CTA cuối trang màu xanh như poster --- */
.cta-bottom {
    background: var(--c-green);
    color: #fff;
    position: relative;
}

.cta-bottom .date-big {
    font-weight: 900;
    font-size: clamp(1.75rem, 4.5vw, 3rem);
    letter-spacing: 1px;
}

.cta-bottom .bullets li {
    margin: .25rem 0;
}

.cta-bottom .bullets li::marker {
    color: var(--c-yellow);
}

/* --- Hiệu ứng reveal khi cuộn --- */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .7s ease, transform .7s ease;
}

.reveal.show {
    opacity: 1;
    transform: none;
}

/* --- Hero floating --- */
@keyframes floatY {
    0% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-6px);
    }

    100% {
        transform: translateY(0);
    }
}

.hero-char.float-1 {
    animation: floatY 6s ease-in-out infinite;
}

.hero-char.float-2 {
    animation: floatY 7s ease-in-out .5s infinite;
}

.hero-scene {
    will-change: transform;
    position: relative;
}

/* Hero section background image (replace with your own) */
#top {
    background-image: url('/assets/images/background.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

/* Optional: subtle overlay for better text contrast (enable if needed) */
/*
#top::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.10), rgba(0,0,0,0.06));
    pointer-events: none;
}
*/

/* Make benefits section background match hero */
#loi-ich {
    background-image: url('/assets/images/background.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

/* Thông Tin Workshop section background */
#dang-ky {
    background-image: url('/assets/images/background.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

/* Use Montserrat for notes and address in Thông Tin Workshop section */
#dang-ky .text-muted {
    font-family: 'Montserrat', 'SVN-HC Marvin Visions', 'Be Vietnam Pro', sans-serif;
}

/* Style the primary CTA button in Thông Tin Workshop */
#dang-ky .open-register.btn {
    background-color: #164523 !important;
    border-color: #164523 !important;
    color: #ffffff !important;
    letter-spacing: 0.06em;
}

#dang-ky .open-register.btn:hover {
    filter: brightness(1.05);
}

/* Make event date bigger in Thông Tin Workshop */
#dang-ky .text-brand-red.fw-semibold.fs-5 {
    font-size: clamp(1.8rem, 4.5vw, 2.6rem) !important;
    line-height: 1.1;
    letter-spacing: 0.02em;
}

/* Increase tracking for taglines in Thông Tin Workshop */
#dang-ky h2.fw-bold {
    letter-spacing: 0.06em;
}

#dang-ky h3.fs-4.fw-semibold {
    letter-spacing: 0.06em;
}

.hero-lead {
    max-width: 48rem;
    margin: 0 auto;
}

/* Slightly wider tracking for main Vietnamese title */
.hero-main-title {
    letter-spacing: 0.05em;
}

.hero-date-pill {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: #ffffff;
    color: var(--c-text);
    border: 2px solid var(--c-green);
    border-radius: 999px;
    padding: .35rem .9rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, .08);
    font-weight: 700;
    font-size: .98rem;
}

/* Hero calendar actions */
.hero-calendar-actions {
    margin-top: .5rem;
    display: inline-flex;
    gap: .5rem;
}

.btn-ghost {
    background: #fff;
    color: var(--c-green);
    border: 1px solid var(--c-green);
}

.btn-ghost:hover {
    background: var(--c-green);
    color: #fff;
}

/* Countdown tick micro animation */
.countdown .num.tick {
    animation: numTick .3s ease;
}

@keyframes numTick {
    0% {
        transform: translateY(-2px);
        filter: drop-shadow(0 0 0 rgba(0, 0, 0, 0));
    }

    70% {
        transform: translateY(0);
        filter: drop-shadow(0 6px 8px rgba(0, 0, 0, .08));
    }

    100% {
        transform: none;
        filter: drop-shadow(0 0 0 rgba(0, 0, 0, 0));
    }
}

/* --- Countdown --- */
.countdown {
    display: inline-flex;
    gap: .75rem;
}

/* Giữ tiêu đề trên 1 hàng từ màn hình >= md */
@media (min-width: 768px) {
    .text-nowrap-md {
        white-space: nowrap !important;
    }
}

.countdown .time-box {
    background: #fffef6;
    border: 2px solid var(--c-green);
    border-radius: .75rem;
    padding: .5rem .75rem;
    min-width: 4.5rem;
    text-align: center;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .08);
}

.countdown .time-box .num {
    font-family: 'Alfa Slab One', system-ui, sans-serif;
    color: var(--c-red);
    font-size: clamp(1.25rem, 3.5vw, 2rem);
    line-height: 1;
}

.countdown .time-box .label {
    font-size: .75rem;
    color: var(--c-green);
    opacity: .9;
}

.countdown+#eventDateText {
    text-wrap: balance;
}

/* Prominent time section */
.time-section {
    background: #164523;
    color: #f7e9c4;
}

/* Ensure the section heading uses the new light color */
.time-section .text-brand-green,
.time-section .section-title-balance {
    color: #f7e9c4 !important;
    letter-spacing: 0.08em;
}

.countdown.lg .time-box {
    padding: .75rem 1rem;
    min-width: 5.75rem;
}

.countdown.lg .num {
    font-size: clamp(1.6rem, 5vw, 2.4rem);
}

.time-section .event-date-pill {
    background: transparent;
    color: #f7e9c4;
    border-color: #f7e9c4;
}

.time-section .event-date-pill .bi {
    color: #f7e9c4;
}

.time-section .status-text {
    color: #f7e9c4;
}

/* Make countdown boxes and text match the new time-section colors */
.time-section .countdown .time-box {
    background: rgba(247, 233, 196, 0.06);
    border-color: var(--c-red);
}

.time-section .countdown .time-box .num {
    color: #f7e9c4;
}

.time-section .countdown .time-box .label {
    color: #f7e9c4;
    opacity: 1;
}

.time-section .event-date-subtle {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: #fffbeb;
    color: var(--c-text);
    border: 1px dashed var(--c-green);
    border-radius: 999px;
    padding: .3rem .8rem;
    font-weight: 600;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .06);
    font-size: .95rem;
}

.status-text {
    font-weight: 700;
    color: var(--c-red);
}

/* Highlight the days portion in red within the status line */
.time-section .status-text .status-days {
    color: var(--c-red);
}

/* Availability bar */
.availability.progress {
    height: 8px;
    background-color: #f1f5f9;
}

.availability .progress-bar {
    background-color: var(--c-red);
}

/* Event date pill highlight */
.event-date-pill {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    background: #fffbeb;
    color: var(--c-text);
    border: 2px solid var(--c-green);
    border-radius: 999px;
    padding: .4rem .9rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, .08);
    font-weight: 700;
    font-size: .98rem;
}

.event-date-pill .bi {
    color: var(--c-green);
    font-size: 1.1rem;
}

/* Twinkle stars */
.twinkle-star {
    color: var(--c-yellow);
    display: inline-block;
    animation: twinkle 2s ease-in-out infinite;
}

.twinkle-delay {
    animation-delay: .6s;
}

/* Payment countdown pill */
.pay-countdown {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 5.5rem;
    padding: .4rem .8rem;
    border: 2px solid var(--c-red);
    border-radius: 999px;
    background: #fff4f4;
    color: var(--c-red);
    font-weight: 800;
}

@keyframes twinkle {

    0%,
    100% {
        transform: rotate(-6deg) scale(1);
        opacity: .85;
        text-shadow: 0 0 0 rgba(255, 215, 0, 0);
    }

    50% {
        transform: rotate(0) scale(1.06);
        opacity: 1;
        text-shadow: 0 0 12px rgba(255, 215, 0, .55);
    }
}

/* --- Hero images (replaceable) --- */
.hero-img {
    width: clamp(12rem, 35vw, 28rem);
    height: auto;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .15));
}

.hero-img.small {
    width: clamp(10rem, 28vw, 20rem);
    height: auto;
}

.hero-img.lg {
    width: clamp(18rem, 50vw, 36rem);
}

/* --- Hero price sticker --- */
.price-sticker {
    display: inline-flex;
    align-items: baseline;
    gap: .6rem;
    background: #fff4f4;
    color: var(--c-red);
    border: 2px dashed rgba(218, 37, 29, 0.55);
    border-radius: .75rem;
    padding: .35rem .8rem;
    box-shadow: 0 8px 0 rgba(218, 37, 29, 0.18), 0 12px 24px rgba(0, 0, 0, .12);
}

.price-sticker .old {
    color: #a8a29e;
    font-weight: 700;
    text-decoration: line-through;
}

.price-sticker .now {
    font-weight: 900;
    font-size: clamp(2rem, 7vw, 4.5rem);
    line-height: 1;
}

.price-sticker .per {
    font-weight: 700;
}

.price-sticker.tilt {
    transform: rotate(-6deg);
}

/* fixed position for hero sticker */
.price-sticker-fixed {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 5;
}

@media (max-width: 576px) {
    .price-sticker-fixed {
        top: .5rem;
        right: .5rem;
    }
}

/* Anchor price sticker to image bottom-right */
.hero-price-anchor {
    position: relative;
    display: inline-block;
}

.hero-price-anchor .price-sticker {
    position: absolute;
    bottom: -0.4rem;
    right: -0.4rem;
}

/* Mobile sticky CTA */
.mobile-cta {
    position: sticky;
    bottom: 0;
    left: 0;
    right: 0;
    padding: calc(10px + env(safe-area-inset-bottom)) 16px 16px;
    background: rgba(250, 243, 227, 0.92);
    backdrop-filter: saturate(160%) blur(8px);
    border-top: 1px solid rgba(0, 0, 0, .06);
    box-shadow: 0 -8px 24px rgba(0, 0, 0, .08);
    z-index: 1040;
}

.mobile-cta .inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
}

.mobile-cta .price {
    display: flex;
    align-items: baseline;
    gap: .4rem;
    color: var(--c-red);
    font-weight: 900;
}

.mobile-cta .price small {
    color: #6b7280;
    font-weight: 600;
}

/* --- Steps section highlight --- */
.steps-section {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(0, 104, 55, 0.04) 100%);
}

#cac-buoc {
    background: #164523;
    color: #ffffff;
}

#cac-buoc .text-brand-green,
#cac-buoc .section-title-balance {
    color: #ffffff !important;
}

/* Restore original heading color inside step cards */
#cac-buoc .step-card h3 {
    color: var(--c-text);
    font-family: 'Montserrat', 'SVN-HC Marvin Visions', 'Be Vietnam Pro', sans-serif;
    text-transform: uppercase;
    font-weight: 800;
}

/* Steps section tagline: increased tracking and specific color */
#cac-buoc h2.section-title-balance {
    letter-spacing: 0.06em;
    color: #f7e9c4 !important;
}

/* Overlap numbered badge onto the top of each card (all screens) */
#cac-buoc .steps-row .mb-3 {
    margin-bottom: -1.6rem !important;
}

#cac-buoc .step-card {
    padding-top: 2.6rem;
    position: relative;
}

/* Use Montserrat for muted texts inside steps section */
#cac-buoc .text-muted {
    font-family: 'Montserrat', 'SVN-HC Marvin Visions', 'Be Vietnam Pro', sans-serif;
}

.steps-section .steps-row {
    margin-top: 0.75rem;
}

/* Pull the entire steps section up slightly */
#cac-buoc.section-even {
    padding-top: clamp(2rem, 4vw, 3.5rem) !important;
    min-height: 64vh;
    align-items: flex-start;
}

@media (max-width: 576px) {
    #cac-buoc.section-even {
        padding-top: 1.25rem !important;
        min-height: 48vh;
    }
}


.steps-row {
    position: relative;
}

@media (min-width: 768px) {
    .steps-row::before {
        content: "";
        position: absolute;
        left: 8%;
        right: 8%;
        top: 35px;
        border-top: 2px dashed var(--c-red);
        z-index: 0;
    }
}

/* Remove the dashed connector line in steps section */
#cac-buoc .steps-row::before {
    content: none !important;
    border: 0 !important;
}

/* Reduce title sizes on small screens to prevent wrapping */
@media (max-width: 576px) {

    #loi-ich .section-title-balance,
    #cac-buoc .section-title-balance {
        font-size: 1.35rem !important;
    }
}

.steps-badge {
    position: relative;
    z-index: 1;
    width: 4.25rem;
    height: 4.25rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--c-red);
    color: #fff;
    border-radius: 999px;
    font-weight: 800;
    font-size: 1.5rem;
    box-shadow: 0 10px 20px rgba(218, 37, 29, .18), 0 0 0 6px rgba(218, 37, 29, .15);
}

.step-card {
    background: #fffdf8;
    border: 1px solid #f6e7c2;
    border-radius: 1rem;
    padding: 1rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, .06);
    height: 100%;
}

.step-icon {
    font-size: 2.25rem;
    line-height: 1;
    margin-bottom: .5rem;
    display: inline-block;
}

/* --- Modal stepper --- */
.modal-stepper {
    gap: .75rem;
    align-items: center;
}

.modal-stepper .dot {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 2px solid var(--c-green);
    color: var(--c-green);
    font-weight: 800;
}

.modal-stepper .dot.active {
    background: var(--c-green);
    color: #fff;
}

.modal-stepper .dot.done {
    background: var(--c-yellow);
    border-color: var(--c-yellow);
    color: #000;
}

.modal-stepper .line {
    flex: 1;
    height: 2px;
    background: rgba(0, 0, 0, .08);
}

.modal-footer .btn+.btn {
    margin-left: .5rem;
}

/* Modal typography spacing */
#registerModal .modal-title,
#registerModal h6,
#registerModal .form-label,
#registerModal .list-group-item,
#registerModal .btn,
#registerModal .form-control,
#registerModal .form-select,
#registerModal input,
#registerModal select,
#registerModal textarea {
    letter-spacing: 0.08em;
}

#registerModal .form-control::placeholder {
    letter-spacing: 0.08em;
}

/* Footer link hover */
footer a:hover {
    opacity: .85;
}

footer {
    font-family: 'Montserrat', 'SVN-HC Marvin Visions', 'Be Vietnam Pro', sans-serif;
}

/* Mobile responsiveness tweaks for benefits and steps */
@media (max-width: 576px) {

    /* Benefits section cards */
    #loi-ich .card {
        padding: 1rem;
    }

    #loi-ich .rounded-circle {
        width: 4rem !important;
        height: 4rem !important;
    }

    #loi-ich .card-title {
        font-size: 1.05rem;
    }

    #loi-ich .card-text {
        font-size: .95rem;
    }

    /* Steps section items */
    #cac-buoc .steps-badge {
        width: 3.25rem;
        height: 3.25rem;
        font-size: 1.15rem;
        box-shadow: 0 8px 14px rgba(218, 37, 29, .16), 0 0 0 4px rgba(218, 37, 29, .12);
    }

    /* Move badge visually on top of card and increase top padding */
    #cac-buoc .steps-row .mb-3 {
        margin-bottom: -1.15rem !important;
    }

    #cac-buoc .step-card {
        padding: 2.1rem .85rem .85rem .85rem;
    }

    #cac-buoc .step-icon {
        font-size: 1.6rem;
        margin-bottom: .25rem;
    }
}

/* Mobile tweaks for time section and overall spacing */
@media (max-width: 576px) {

    /* Reduce global section vertical spacing on mobile */
    section.py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }

    /* Time section container padding */
    #thoi-gian .container {
        padding-top: 1.25rem !important;
        padding-bottom: 1.25rem !important;
    }

    /* Countdown compaction */
    #thoi-gian .countdown {
        gap: .5rem;
    }

    #thoi-gian .countdown.lg .time-box {
        min-width: 4rem;
        padding: .45rem .6rem;
    }

    #thoi-gian .countdown.lg .num {
        font-size: clamp(1.2rem, 6vw, 1.6rem);
    }

    #thoi-gian .countdown .label {
        font-size: .7rem;
    }

    /* Pills and status */
    #thoi-gian .event-date-pill {
        padding: .3rem .7rem;
        font-size: .9rem;
    }

    #thoi-gian .status-text {
        font-size: .95rem;
    }

    /* Availability bar smaller */
    #thoi-gian .availability.progress {
        height: 6px;
    }
}

/* Even vertical padding for sections */
.section-even {
    padding-top: clamp(3rem, 6vw, 5rem) !important;
    padding-bottom: clamp(3rem, 6vw, 5rem) !important;
    min-height: 72vh;
    display: flex;
    align-items: center;
}

@media (max-width: 576px) {
    .section-even {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
        min-height: 56vh;
    }
}

/* Tighter hero vertical spacing */
#top.section-even {
    padding-top: clamp(1rem, 3vw, 2rem) !important;
    padding-bottom: clamp(1rem, 3vw, 2rem) !important;
    min-height: 60vh;
}

#top .hero-scene {
    padding-top: 1rem !important;
    padding-bottom: .5rem !important;
}

#top .mt-5 {
    margin-top: 1rem !important;
}

#top .hero-actions {
    margin-top: .75rem !important;
}

@media (max-width: 576px) {
    #top.section-even {
        min-height: 50vh;
        padding-top: 1rem !important;
        padding-bottom: 1rem !important;
    }
}