/* Landing: Thể lệ Vòng quay may mắn "Back to School – Back tiền vào túi" (slug: the-le-vong-quay-may-man-thang-11-2026)
   View: resources/views/landing-page/children/the-le-vong-quay-may-man-thang-11-2026.blade.php
   JS:   public/js/pages/the-le-vong-quay-may-man-thang-11-2026.js
   Dùng design token của site (css/core/variables.css) + font SVN-Gilroy từ layout; mọi selector nằm dưới .tl-langgo. */

html {
    scroll-behavior: smooth;
}

/* Trang dùng menu riêng (LDP_NAV_CONFIG): tắt thanh top-bar (hotline/tìm kiếm/mạng xã hội) của header chung. */
.lg-top-bar {
    display: none !important;
}

.tl-langgo {
    --tl-red: var(--color-primary, #d72229);
    --tl-red-dark: var(--color-primary-dark, #b01b21);
    --tl-cam: var(--Cam, #faa61a);
    --tl-box: var(--box, #fdf7f7);
    --tl-click: var(--click, #ffd2d2);
    --tl-ink: var(--color-text-dark, #1e1e1e);
    --tl-text: var(--color-text-base, #333);
    --tl-muted: var(--color-text-light, #666);
    --tl-line: #f0dcdc;
    --tl-radius: 20px;
    --tl-radius-sm: 10px;
    --tl-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    color: var(--tl-text);
    font-size: 17px;
    line-height: 1.65;
    padding-bottom: 56px;
    /* Chữ sắc nét: Gilroy chỉ nạp các độ đậm 400-700 dạng thẳng, nên cấm trình duyệt tự giả đậm/nghiêng (gây nhòe) */
    font-synthesis: none;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Không có bản Gilroy nghiêng -> thay italic bằng chữ thẳng, màu xám để vẫn phân biệt ghi chú */
.tl-langgo em {
    font-style: normal;
    color: var(--tl-muted);
}

.tl-langgo *,
.tl-langgo *::before,
.tl-langgo *::after {
    box-sizing: border-box;
}

.tl-langgo a {
    color: var(--tl-red-dark);
    text-underline-offset: 3px;
}

.tl-langgo a:hover {
    color: var(--tl-red);
}

.tl-wrap {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 16px;
}

/* ---------- Nút ---------- */
.tl-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 51px;
    padding: 0 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 17px;
    text-decoration: none !important;
    border: 2px solid transparent;
    transition: background-color 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}

.tl-btn:hover {
    transform: translateY(-1px);
}

.tl-btn--primary {
    background: var(--tl-red);
    color: #fff !important;
}

.tl-btn--primary:hover {
    background: var(--tl-red-dark);
}

.tl-btn--ghost {
    background: #fff;
    color: var(--tl-red) !important;
    border-color: var(--tl-red);
}

.tl-btn--ghost:hover {
    background: var(--tl-box);
}

.tl-btn--light {
    background: #fff;
    color: var(--tl-red) !important;
}

/* ---------- Hero (tràn viền như các landing khác) ---------- */
.tl-hero {
    position: relative;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 56px 0 72px;
    background: linear-gradient(180deg, var(--tl-box) 0%, #fff 100%);
    overflow: hidden;
}

.tl-hero::before,
.tl-hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: var(--tl-click);
    opacity: 0.45;
    pointer-events: none;
}

.tl-hero::before {
    width: 420px;
    height: 420px;
    top: -180px;
    right: -120px;
}

.tl-hero::after {
    width: 220px;
    height: 220px;
    bottom: -110px;
    left: -70px;
}

.tl-hero__grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 0.65fr);
    gap: 48px;
    align-items: center;
}

.tl-eyebrow {
    display: inline-block;
    margin: 0 0 16px;
    padding: 6px 16px;
    border-radius: 50px;
    background: var(--tl-click);
    color: var(--tl-red-dark);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

/* Tiêu đề hero: nhãn "Vòng quay may mắn" + 2 dòng nhấn "Back to School" / "Back tiền vào túi" */
.tl-langgo h1.tl-title {
    margin: 0 0 20px;
    font-weight: 700;
    line-height: 1.1;
}

.tl-title__pre {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 10px;
    color: var(--tl-ink);
    font-size: clamp(17px, 2.1vw, 24px);
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.tl-title__pre::before {
    content: "";
    flex: none;
    width: 44px;
    height: 4px;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--tl-red), var(--tl-cam));
}

.tl-title__main {
    display: block;
    font-size: clamp(38px, 5.4vw, 66px);
    letter-spacing: -0.01em;
}

.tl-title__a,
.tl-title__b {
    display: block;
    width: fit-content;
    max-width: 100%;
}

/* Dòng 1: chữ gradient đỏ -> cam, kèm ngôi sao nhỏ */
.tl-title__a {
    position: relative;
    padding-right: 0.7em;
    background: linear-gradient(90deg, var(--tl-red-dark) 0%, var(--tl-red) 55%, var(--tl-cam) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.tl-title__a::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0.04em;
    width: 0.52em;
    height: 0.52em;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23FAA61A' d='M12 0l2.6 8.4L24 12l-9.4 3.6L12 24l-2.6-8.4L0 12l9.4-3.6z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* Dòng 2: nền dạ quang cam dưới chữ */
.tl-title__b {
    margin-top: 0.06em;
    /* thụt vào bằng bề rộng dấu “ ở đầu dòng 1 để chữ "Back" hai dòng thẳng hàng */
    margin-left: 0.32em;
    padding: 0 0.1em;
    color: var(--tl-red);
    background: linear-gradient(transparent 62%, rgba(250, 166, 26, 0.42) 62%, rgba(250, 166, 26, 0.42) 92%, transparent 92%);
}

/* Dấu "–" giữ cho trình đọc màn hình, ẩn trên giao diện */
.tl-title__dash {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.tl-lead {
    margin: 0 0 26px;
    font-size: 19px;
    line-height: 1.6;
}

.tl-hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 22px;
}

.tl-confirm {
    margin: 0;
    color: var(--tl-muted);
    font-size: 15px;
    font-weight: 500;
}

/* Thẻ giải thưởng */
.tl-prize {
    padding: 28px 24px;
    border-radius: var(--tl-radius);
    background: linear-gradient(0deg, #fff 6.73%, var(--tl-box) 100%);
    box-shadow: 0 -5px 5px 0 rgba(0, 0, 0, 0.08), var(--tl-shadow);
    text-align: center;
}

.tl-prize__icon {
    width: 150px;
    height: auto;
    margin: 0 auto 6px;
    display: block;
}

.tl-prize__count {
    margin: 0;
    color: var(--tl-muted);
    font-size: 18px;
}

.tl-prize__count strong {
    color: var(--tl-red);
    font-size: 56px;
    line-height: 1;
    margin-right: 4px;
}

.tl-prize__name {
    margin: 6px 0 14px;
    color: var(--tl-ink);
    font-size: 21px;
    font-weight: 700;
    line-height: 1.3;
}

.tl-prize__meta {
    margin: 0;
    padding-top: 14px;
    border-top: 1px dashed var(--tl-click);
    font-size: 16px;
}

/* ---------- Mốc thời gian ---------- */
.tl-facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin-top: -36px;
    position: relative;
    z-index: 2;
}

.tl-fact {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding: 20px;
    border-radius: var(--tl-radius);
    background: #fff;
    border: 1px solid var(--tl-line);
    box-shadow: var(--tl-shadow);
}

.tl-fact__label {
    color: var(--tl-muted);
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.tl-fact__value {
    color: var(--tl-red);
    font-size: 26px;
    font-weight: 700;
    line-height: 1.25;
}

.tl-fact__sub {
    font-size: 15px;
    font-weight: 500;
    text-wrap: balance;
    color: var(--tl-text);
}

/* ---------- Tiêu đề khối ---------- */
.tl-block-title {
    margin: 0 0 24px;
    color: var(--tl-ink);
    font-size: 30px;
    line-height: 1.25;
    font-weight: 700;
}

.tl-block-title--center {
    text-align: center;
    font-size: 26px;
    color: var(--tl-red);
    text-transform: uppercase;
    margin-bottom: 28px;
}

/* ---------- 3 bước ---------- */
.tl-steps {
    margin-top: 56px;
    scroll-margin-top: 90px;
}

.tl-steps__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    counter-reset: none;
}

.tl-steps__list li {
    position: relative;
    padding: 26px 24px 24px;
    border-radius: var(--tl-radius);
    background: var(--tl-box);
    border: 1px solid var(--tl-line);
}

.tl-steps__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 12px;
    border-radius: 50%;
    background: var(--tl-red);
    color: #fff;
    font-size: 22px;
    font-weight: 700;
}

.tl-steps__list h3 {
    margin: 0 0 8px;
    color: var(--tl-ink);
    font-size: 20px;
    line-height: 1.3;
}

.tl-steps__list p {
    margin: 0;
    font-size: 16px;
}

/* ---------- Thông tin chính ---------- */
.tl-info {
    margin-top: 24px;
    padding: 24px 28px;
    border-radius: var(--tl-radius);
    border: 1px solid var(--tl-line);
}

.tl-info dl {
    display: grid;
    grid-template-columns: 170px minmax(0, 1fr);
    gap: 10px 20px;
    margin: 0;
}

.tl-info dt {
    color: var(--tl-red-dark);
    font-weight: 700;
}

.tl-info dd {
    margin: 0;
}

/* ---------- Bố cục: mục lục + nội dung ---------- */
.tl-layout {
    display: grid;
    grid-template-columns: 270px minmax(0, 1fr);
    gap: 32px;
    align-items: start;
    margin-top: 56px;
}

.tl-toc {
    position: sticky;
    top: 20px;
    padding: 18px 18px 14px;
    border-radius: var(--tl-radius);
    background: var(--tl-box);
    border: 1px solid var(--tl-line);
    max-height: calc(100vh - 40px);
    overflow-y: auto;
}

.tl-toc summary {
    margin-bottom: 8px;
    color: var(--tl-ink);
    font-size: 17px;
    font-weight: 700;
    cursor: pointer;
    list-style: none;
}

.tl-toc summary::-webkit-details-marker {
    display: none;
}

.tl-toc ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

.tl-toc li {
    margin: 0;
}

.tl-toc a {
    display: block;
    padding: 7px 10px;
    border-left: 3px solid transparent;
    border-radius: 0 var(--tl-radius-sm) var(--tl-radius-sm) 0;
    color: var(--tl-text);
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
    text-decoration: none;
}

.tl-toc a:hover {
    background: var(--tl-click);
    color: var(--tl-red-dark);
}

.tl-toc a[aria-current="true"] {
    border-left-color: var(--tl-red);
    background: #fff;
    color: var(--tl-red);
    font-weight: 700;
}

/* ---------- Các mục thể lệ ---------- */
.tl-content {
    min-width: 0;
}

.tl-sec {
    margin-bottom: 20px;
    padding: 28px 32px;
    border-radius: var(--tl-radius);
    background: #fff;
    border: 1px solid var(--tl-line);
    box-shadow: var(--shadow-sm, 0 2px 8px rgba(0, 0, 0, 0.06));
    scroll-margin-top: 90px;
}

.tl-sec__title {
    display: flex;
    align-items: center;
    gap: 14px;
    margin: 0 0 16px;
    color: var(--tl-ink);
    font-size: 22px;
    line-height: 1.3;
    font-weight: 700;
}

.tl-num {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 10px;
    border-radius: 50px;
    background: var(--tl-red);
    color: #fff;
    font-size: 17px;
    font-weight: 700;
}

.tl-sec--phuluc .tl-num {
    background: var(--tl-cam);
    color: var(--tl-ink);
}

.tl-sec__body > :first-child {
    margin-top: 0;
}

.tl-sec__body > :last-child {
    margin-bottom: 0;
}

.tl-sec__body p {
    margin: 0 0 12px;
}

.tl-sec__body h3 {
    margin: 26px 0 10px;
    padding: 10px 14px;
    border-left: 4px solid var(--tl-red);
    border-radius: 0 var(--tl-radius-sm) var(--tl-radius-sm) 0;
    background: var(--tl-box);
    color: var(--tl-red-dark);
    font-size: 18px;
    line-height: 1.4;
    scroll-margin-top: 90px;
}

.tl-sec__body strong {
    color: var(--tl-ink);
}

/* Danh sách: chấm tròn đỏ theo màu thương hiệu */
.tl-sec__body ul {
    list-style: none;
    margin: 6px 0 14px;
    padding-left: 0;
}

.tl-sec__body li {
    position: relative;
    margin: 8px 0;
    padding-left: 24px;
}

.tl-sec__body li::before {
    content: "";
    position: absolute;
    left: 4px;
    top: 0.72em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--tl-red);
}

.tl-sec__body li ul {
    margin: 8px 0 4px;
}

.tl-sec__body li li::before {
    background: transparent;
    border: 2px solid var(--tl-red);
    width: 9px;
    height: 9px;
    top: 0.68em;
}

/* Danh sách đánh số kiểu (i) (ii) (iii): kênh gửi testimonial, điều kiện hợp lệ */
.tl-sec__body ul.tl-channels {
    margin: 10px 0 12px;
}

.tl-sec__body ul.tl-channels > li {
    display: flex;
    gap: 12px;
    align-items: baseline;
    margin: 8px 0;
    padding: 10px 14px;
    border-radius: var(--tl-radius-sm);
    background: var(--tl-box);
}

.tl-sec__body ul.tl-channels > li::before {
    display: none;
}

.tl-tag {
    flex: none;
    min-width: 34px;
    color: var(--tl-red);
    font-weight: 700;
}

/* Câu xuống dòng trong cùng một ý: thêm nhịp thở giữa các câu */
.tl-sec__body li > br,
.tl-sec__body p > br {
    display: block;
    content: "";
    margin-top: 6px;
}

/* Lưu ý quan trọng */
.tl-note {
    padding: 14px 18px;
    border-radius: var(--tl-radius-sm);
    background: #fff8e8;
    border-left: 4px solid var(--tl-cam);
    font-size: 16px;
}

/* ---------- Bảng ---------- */
.tl-table {
    overflow-x: auto;
    margin: 12px 0 18px;
    border: 1px solid var(--tl-line);
    border-radius: var(--tl-radius-sm);
}

.tl-table table {
    width: 100%;
    min-width: 640px;
    border-collapse: collapse;
    font-size: 16px;
}

.tl-table th,
.tl-table td {
    padding: 11px 12px;
    border-bottom: 1px solid var(--tl-line);
    text-align: center;
    vertical-align: middle;
}

.tl-table th {
    background: var(--tl-red);
    color: #fff;
    font-weight: 700;
}

.tl-table th strong {
    color: #fff;
}

.tl-table td:nth-child(3) {
    text-align: left;
}

.tl-table tbody tr:last-child td {
    border-bottom: 0;
}

.tl-table tbody tr:nth-child(even):not(.tl-group) td {
    background: #fffafa;
}

.tl-table tr.tl-group td {
    background: var(--tl-click);
    color: var(--tl-red-dark);
    text-align: left;
    font-weight: 700;
}

.tl-table td:last-child {
    white-space: nowrap;
    font-weight: 700;
    color: var(--tl-red-dark);
}

/* ---------- Mẫu vé ---------- */
.tl-ticket {
    margin: 8px 0 18px;
    padding: 14px;
    border-radius: var(--tl-radius);
    background: var(--tl-box);
    border: 1px dashed var(--tl-click);
    text-align: center;
}

.tl-ticket figcaption {
    margin-bottom: 10px;
    color: var(--tl-red-dark);
    font-weight: 700;
}

.tl-ticket img {
    display: block;
    width: 100%;
    max-width: 640px;
    height: auto;
    aspect-ratio: 1063 / 638;
    margin: 0 auto;
    border-radius: var(--tl-radius-sm);
    background: #fff;
    box-shadow: var(--tl-shadow);
}

/* ---------- Chữ ký ---------- */
.tl-sign {
    margin-top: 24px !important;
    text-align: right;
    font-weight: 700;
    color: var(--tl-ink);
}

/* ---------- Khối liên hệ cuối trang ---------- */
.tl-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 40px;
    padding: 32px 36px;
    border-radius: var(--tl-radius);
    background: linear-gradient(135deg, var(--tl-red) 0%, var(--tl-red-dark) 100%);
    color: #fff;
}

.tl-cta h2 {
    margin: 0 0 6px;
    color: #fff;
    font-size: 26px;
    line-height: 1.25;
}

.tl-cta p {
    margin: 0;
    max-width: 640px;
    opacity: 0.95;
}

.tl-cta__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* ---------- Tablet / mobile ---------- */
@media (max-width: 991px) {
    .tl-hero {
        padding: 36px 0 60px;
    }

    .tl-hero__grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 28px;
    }

    .tl-prize {
        max-width: 420px;
    }

    .tl-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .tl-steps__list {
        grid-template-columns: minmax(0, 1fr);
    }

    .tl-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 20px;
        margin-top: 40px;
    }

    .tl-toc {
        position: static;
        max-height: none;
        overflow: visible;
    }

    .tl-toc summary {
        position: relative;
        margin-bottom: 0;
        padding-right: 28px;
    }

    .tl-toc summary::after {
        content: "";
        position: absolute;
        right: 6px;
        top: 50%;
        width: 9px;
        height: 9px;
        margin-top: -6px;
        border-right: 2px solid var(--tl-red);
        border-bottom: 2px solid var(--tl-red);
        transform: rotate(45deg);
        transition: transform 0.2s;
    }

    .tl-toc[open] summary {
        margin-bottom: 8px;
    }

    .tl-toc[open] summary::after {
        margin-top: -2px;
        transform: rotate(-135deg);
    }
}

@media (max-width: 600px) {
    .tl-langgo {
        font-size: 16px;
    }

    .tl-eyebrow {
        font-size: 13px;
        padding: 6px 14px;
    }

    .tl-title__pre {
        letter-spacing: 0.1em;
    }

    .tl-lead {
        font-size: 17px;
    }

    .tl-btn {
        flex: 1 1 100%;
        padding: 0 20px;
    }

    .tl-facts {
        grid-template-columns: minmax(0, 1fr);
        margin-top: -28px;
    }

    .tl-fact__value {
        font-size: 24px;
    }

    .tl-block-title {
        font-size: 24px;
    }

    .tl-block-title--center {
        font-size: 21px;
    }

    .tl-info {
        padding: 18px;
    }

    .tl-info dl {
        grid-template-columns: 1fr;
        gap: 2px;
    }

    .tl-info dd {
        margin-bottom: 10px;
    }

    .tl-sec {
        padding: 20px 16px;
    }

    .tl-sec__title {
        align-items: flex-start;
        font-size: 19px;
        gap: 10px;
    }

    .tl-num {
        min-width: 34px;
        height: 34px;
        font-size: 15px;
    }

    .tl-sec__body h3 {
        font-size: 17px;
    }

    .tl-cta {
        padding: 24px 20px;
    }

    .tl-cta h2 {
        font-size: 22px;
    }

    .tl-cta__actions,
    .tl-cta__actions .tl-btn {
        width: 100%;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    .tl-btn,
    .tl-toc summary::after {
        transition: none;
    }
}
