/* Scoped: Lộ trình 8 tuần — extends Game Stream Rails */

.page-lotrinh {
    --lo-ink: #0f172a;
    --lo-muted: #334155;
    --lo-line: rgba(2, 132, 199, 0.18);
    --lo-session-1: #e0f2fe;
    --lo-session-2: #dcfce7;
    --lo-session-3: #fef9c3;
    --lo-session-4: #ffedd5;
}

.page-lotrinh .lo-main {
    max-width: 1080px;
    margin: 0 auto;
    padding: 8px 20px 72px;
}

.page-lotrinh .lo-hero {
    margin: 16px 0 28px;
    padding: clamp(28px, 5vw, 48px);
    border-radius: var(--stream-radius);
    background: var(--stream-banner);
    box-shadow: var(--stream-shadow);
    display: grid;
    gap: 18px;
    position: relative;
    overflow: hidden;
}

.page-lotrinh .lo-hero::after {
    content: "";
    position: absolute;
    inset: auto -10% -40% 40%;
    height: 70%;
    background: radial-gradient(circle, rgba(5, 150, 105, 0.12), transparent 65%);
    pointer-events: none;
}

.page-lotrinh .lo-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
    z-index: 1;
}

.page-lotrinh .lo-brand img {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.page-lotrinh .lo-brand-name {
    font-family: "Baloo 2", "Be Vietnam Pro", sans-serif;
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--stream-accent-dark);
    line-height: 1.1;
}

.page-lotrinh .lo-hero h1 {
    font-family: "Baloo 2", "Be Vietnam Pro", sans-serif;
    font-weight: 800;
    font-size: clamp(1.85rem, 4.2vw, 2.75rem);
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: var(--lo-ink);
    margin: 0;
    max-width: 22ch;
    position: relative;
    z-index: 1;
}

.page-lotrinh .lo-hero-copy {
    display: grid;
    gap: 12px;
    position: relative;
    z-index: 1;
    max-width: 58ch;
}

.page-lotrinh .lo-hero-lead {
    margin: 0;
    font-size: 1.05rem;
    line-height: 1.55;
    color: var(--lo-muted);
}

.page-lotrinh .lo-hero-lead strong {
    color: var(--lo-ink);
}

.page-lotrinh .lo-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.page-lotrinh .lo-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 0 22px;
    border-radius: 999px;
    background: var(--stream-accent);
    color: #fff !important;
    font-weight: 700;
    text-decoration: none !important;
    box-shadow: 0 10px 24px rgba(5, 150, 105, 0.28);
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.page-lotrinh .lo-cta:hover {
    background: var(--stream-accent-dark);
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(5, 150, 105, 0.32);
}

.page-lotrinh .lo-cta:focus-visible {
    outline: 3px solid #7dd3fc;
    outline-offset: 3px;
}

.page-lotrinh .lo-cta-secondary {
    display: inline-flex;
    align-items: center;
    min-height: 48px;
    padding: 0 18px;
    border-radius: 999px;
    border: 2px solid rgba(2, 132, 199, 0.35);
    color: var(--stream-blue) !important;
    font-weight: 700;
    text-decoration: none !important;
    background: rgba(255, 255, 255, 0.72);
}

.page-lotrinh .lo-cta-secondary:hover {
    border-color: var(--stream-blue);
    background: #fff;
}

.page-lotrinh .lo-structure {
    margin: 0 0 28px;
}

.page-lotrinh .lo-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin: 12px 0 0;
}

.page-lotrinh .lo-fact {
    padding: 16px 18px;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.page-lotrinh .lo-fact strong {
    display: block;
    font-family: "Baloo 2", "Be Vietnam Pro", sans-serif;
    font-size: 1.2rem;
    color: var(--lo-ink);
    margin-bottom: 4px;
}

.page-lotrinh .lo-fact span {
    color: var(--lo-muted);
    font-size: 0.92rem;
    line-height: 1.45;
}

.page-lotrinh .lo-section-title {
    font-family: "Baloo 2", "Be Vietnam Pro", sans-serif;
    font-size: clamp(1.4rem, 2.5vw, 1.75rem);
    font-weight: 800;
    color: var(--lo-ink);
    margin: 0 0 8px;
}

.page-lotrinh .lo-section-note {
    margin: 0 0 16px;
    color: var(--lo-muted);
    max-width: 55ch;
}

.page-lotrinh .lo-board-wrap {
    overflow-x: auto;
    margin-bottom: 36px;
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--stream-shadow);
    -webkit-overflow-scrolling: touch;
}

.page-lotrinh .lo-board {
    width: 100%;
    min-width: 720px;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.92rem;
}

.page-lotrinh .lo-board th,
.page-lotrinh .lo-board td {
    padding: 12px 14px;
    border-bottom: 1px solid var(--lo-line);
    text-align: left;
    vertical-align: top;
}

.page-lotrinh .lo-board thead th {
    background: #0f172a;
    color: #f8fafc;
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.02em;
}

.page-lotrinh .lo-board thead th:first-child {
    border-radius: 18px 0 0 0;
}

.page-lotrinh .lo-board thead th:last-child {
    border-radius: 0 18px 0 0;
}

.page-lotrinh .lo-board tbody tr {
    transition: background 0.18s ease;
}

.page-lotrinh .lo-board tbody tr:hover {
    background: #f8fbff;
}

.page-lotrinh .lo-board tbody tr:last-child td {
    border-bottom: none;
}

.page-lotrinh .lo-week-cell {
    white-space: nowrap;
}

.page-lotrinh .lo-week-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.1rem;
    height: 2.1rem;
    margin-right: 8px;
    border-radius: 10px;
    background: var(--stream-accent);
    color: #fff;
    font-family: "Baloo 2", sans-serif;
    font-weight: 800;
    font-size: 1.05rem;
}

.page-lotrinh .lo-week-name {
    font-weight: 700;
    color: var(--lo-ink);
}

.page-lotrinh .lo-board a {
    color: var(--stream-blue);
    font-weight: 600;
    text-decoration: none;
}

.page-lotrinh .lo-board a:hover {
    text-decoration: underline;
}

.page-lotrinh .lo-s1 { background: var(--lo-session-1); }
.page-lotrinh .lo-s2 { background: var(--lo-session-2); }
.page-lotrinh .lo-s3 { background: var(--lo-session-3); }
.page-lotrinh .lo-s4 { background: var(--lo-session-4); }

.page-lotrinh .lo-rules {
    margin: 0 0 36px;
    padding: 20px 22px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}

.page-lotrinh .lo-rules h2 {
    margin: 0 0 10px;
    font-family: "Baloo 2", sans-serif;
    font-size: 1.35rem;
    color: var(--lo-ink);
}

.page-lotrinh .lo-rules-intro {
    margin: 0 0 12px;
    color: var(--lo-muted);
    line-height: 1.55;
}

.page-lotrinh .lo-rules ol {
    margin: 0;
    padding-left: 1.2rem;
    color: var(--lo-muted);
    line-height: 1.55;
}

.page-lotrinh .lo-rules li {
    margin-bottom: 8px;
}

.page-lotrinh .lo-rules li:last-child {
    margin-bottom: 0;
}

.page-lotrinh .lo-rules strong {
    color: var(--lo-ink);
}

.page-lotrinh .lo-week {
    margin: 0 0 18px;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    overflow: hidden;
}

.page-lotrinh .lo-week > summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 16px 18px;
    font-family: "Baloo 2", sans-serif;
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--lo-ink);
}

.page-lotrinh .lo-week > summary::-webkit-details-marker {
    display: none;
}

.page-lotrinh .lo-week > summary::after {
    content: "+";
    margin-left: auto;
    font-size: 1.4rem;
    color: var(--stream-blue);
    font-weight: 700;
}

.page-lotrinh .lo-week[open] > summary::after {
    content: "–";
}

.page-lotrinh .lo-week-body {
    padding: 0 18px 20px;
    color: var(--lo-muted);
    line-height: 1.55;
    border-top: 1px solid var(--lo-line);
}

.page-lotrinh .lo-week-body h3 {
    font-family: "Be Vietnam Pro", sans-serif;
    font-size: 1rem;
    color: var(--lo-ink);
    margin: 16px 0 8px;
}

.page-lotrinh .lo-week-body p,
.page-lotrinh .lo-week-body ol,
.page-lotrinh .lo-week-body ul {
    margin: 0 0 10px;
}

.page-lotrinh .lo-download-band {
    margin: 36px 0 12px;
    padding: clamp(24px, 4vw, 36px);
    border-radius: var(--stream-radius);
    background: linear-gradient(135deg, #059669 0%, #0284c7 100%);
    color: #fff;
    box-shadow: var(--stream-shadow);
    display: grid;
    gap: 12px;
}

.page-lotrinh .lo-download-band h2 {
    margin: 0;
    font-family: "Baloo 2", sans-serif;
    font-size: clamp(1.4rem, 3vw, 1.85rem);
    font-weight: 800;
    color: #fff;
}

.page-lotrinh .lo-download-band p {
    margin: 0;
    max-width: 52ch;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.5;
}

.page-lotrinh .lo-download-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 4px;
}

.page-lotrinh .lo-download-band .lo-cta {
    background: #fff;
    color: var(--stream-accent-dark) !important;
    box-shadow: none;
    width: fit-content;
}

.page-lotrinh .lo-download-band .lo-cta:hover {
    background: #ecfdf5;
    transform: translateY(-1px);
}

.page-lotrinh .lo-download-band .lo-cta-on-band-secondary {
    background: transparent;
    color: #fff !important;
    border: 2px solid rgba(255, 255, 255, 0.72);
}

.page-lotrinh .lo-download-band .lo-cta-on-band-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
}

.page-lotrinh .lo-closing {
    margin: 28px 0 0;
    max-width: 58ch;
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--lo-muted);
}

.page-lotrinh .lo-back {
    margin: 20px 0 0;
}

.page-lotrinh .lo-back a {
    color: var(--stream-blue);
    font-weight: 600;
}

@media (max-width: 760px) {
    .page-lotrinh .lo-facts {
        grid-template-columns: 1fr;
    }

    .page-lotrinh .lo-hero h1 {
        max-width: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .page-lotrinh .lo-cta,
    .page-lotrinh .lo-board tbody tr {
        transition: none;
    }
}
