/* Trang chủ — BÓNG BÀN VIỆT 2026 */

/* ---------- Preloader ---------- */
.loader { position: fixed; inset: 0; z-index: 500; display: grid; place-items: center; color: #fff; pointer-events: none; }
.loader__half { position: absolute; left: 0; right: 0; height: 50.5%; background: var(--deep); }
.loader__half--t { top: 0; }
.loader__half--b { bottom: 0; }
.loader__line { position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px; background: rgba(255,255,255,.85); transform-origin: center; }
.loader__inner { position: relative; text-align: center; }
.loader__ball { width: 26px; height: 26px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #fff 0 40%, #DDE3EA 75%); margin: 0 auto 1.2rem; box-shadow: 0 6px 18px rgba(0,0,0,.35); animation: lb .55s cubic-bezier(.5,0,.5,1) infinite alternate; }
@keyframes lb { from { transform: translateY(-46px); } to { transform: translateY(0) scaleY(.9); } }
.loader__count { font-family: var(--f-display); font-variation-settings: 'wdth' 125; font-weight: 800; font-size: 3.4rem; line-height: 1; font-variant-numeric: tabular-nums; }
.loader__label { font-size: .85rem; opacity: .7; margin-top: .5rem; }
html.loaded .loader { display: none; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; color: #fff; overflow: hidden; isolation: isolate; display: flex; flex-direction: column; justify-content: flex-end; background: var(--table); }
.hero__img { position: absolute; inset: -8% 0; z-index: -3; }
.hero__img img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 45%; }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -2; background: linear-gradient(100deg, rgba(10,30,60,.86) 0%, rgba(10,30,60,.55) 42%, rgba(10,30,60,.05) 75%), linear-gradient(0deg, rgba(10,30,60,.75), transparent 45%); }
.hero__rally { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; pointer-events: none; }
.hero__rally .trail { fill: none; stroke: rgba(255,255,255,.55); stroke-width: 2.2; stroke-dasharray: 2 12; stroke-linecap: round; }
.hero__content { padding-top: calc(var(--header-h) + 3rem); padding-bottom: clamp(2rem, 5vw, 3.5rem); position: relative; }
.hero__kicker { display: inline-flex; align-items: center; gap: .6rem; font-size: .92rem; font-weight: 500; color: #D6E4F5; margin-bottom: 1.4rem; }
.hero__kicker::before { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--rubber); box-shadow: 0 0 0 4px rgba(214,43,43,.25); }
.hero h1 { font-size: min(var(--step-5), 7.3vw); line-height: .92; letter-spacing: -.035em; font-weight: 900; }
.hero h1 .l1 { display: block; }
.hero h1 .l2 { display: block; color: transparent; -webkit-text-stroke: 2px #fff; }
.hero__sub { margin-top: 1.6rem; max-width: 46ch; font-size: var(--step-1); line-height: 1.5; color: #DCE7F5; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

.scoreboard { position: relative; border-top: 1px solid rgba(255,255,255,.22); background: rgba(10,30,60,.35); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.scoreboard__in { display: grid; grid-template-columns: repeat(4, 1fr); }
.score { padding: 1.1rem 0 1.2rem; padding-left: clamp(.8rem, 2vw, 1.6rem); border-left: 1px solid rgba(255,255,255,.18); }
.score:first-child { border-left: 0; padding-left: 0; }
.score b { display: block; font-family: var(--f-display); font-variation-settings: 'wdth' 125; font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.4rem); line-height: 1; font-variant-numeric: tabular-nums; }
.score span { font-size: .82rem; color: #C3D4EA; }
.scroll-cue { position: absolute; right: var(--gutter); bottom: calc(100% + 1.5rem); font-size: .8rem; color: #D6E4F5; display: flex; align-items: center; gap: .6rem; writing-mode: vertical-rl; }
.scroll-cue::after { content: ''; width: 1px; height: 56px; background: linear-gradient(#fff, transparent); animation: cue 2s var(--ease-io) infinite; transform-origin: top; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }
@media (max-width: 720px) {
  .scoreboard__in { grid-template-columns: repeat(2, 1fr); }
  .score:nth-child(3) { border-left: 0; padding-left: 0; }
  .score:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.18); }
  .scroll-cue { display: none; }
  .hero h1 { font-size: 12.5vw; }
  .hero h1 .l2 { -webkit-text-stroke-width: 1.4px; }
}

/* ---------- Brand marquee ---------- */
.brands { background: #fff; border-bottom: 1px solid var(--rule); overflow: hidden; padding: clamp(1.4rem, 3vw, 2.2rem) 0; }
.marquee__track { display: flex; width: max-content; will-change: transform; }
.marquee__item { display: flex; align-items: center; gap: clamp(1.4rem, 3vw, 2.8rem); padding-right: clamp(1.4rem, 3vw, 2.8rem); font-family: var(--f-display); font-variation-settings: 'wdth' 125; font-weight: 900; font-size: clamp(2rem, 5.5vw, 4.6rem); line-height: 1; letter-spacing: -.03em; color: var(--ink); white-space: nowrap; }
.marquee__item:nth-child(even) { color: transparent; -webkit-text-stroke: 1.5px var(--ink); }
.marquee__item::after { content: ''; width: .32em; height: .32em; border-radius: 50%; background: var(--rubber); flex: none; }

/* ---------- Section heads ---------- */
.sec { padding: clamp(4.5rem, 10vw, 8rem) 0; position: relative; }
.sec-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1.2rem 2rem; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.sec-head h2 { max-width: 16ch; }
.sec-head p { color: var(--mute); max-width: 44ch; margin: 0; }
.court-rule { height: 2px; background: var(--ink); margin-bottom: clamp(2rem, 4vw, 3rem); transform-origin: left center; }

/* ---------- Categories: pinned horizontal ---------- */
.cats { background: var(--deep); color: #fff; overflow: hidden; }
.cats__pin { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; padding: calc(var(--header-h) + 1rem) 0 2.5rem; }
.cats .sec-head { margin-bottom: 2rem; }
.cats .sec-head p { color: #B9CBE2; }
.cats__track { display: flex; gap: clamp(1rem, 2vw, 1.6rem); padding-inline: var(--gutter); width: max-content; will-change: transform; }
.cat-panel { position: relative; width: clamp(280px, 30vw, 440px); height: min(62svh, 560px); border-radius: 18px; overflow: hidden; flex: none; display: flex; flex-direction: column; justify-content: flex-end; padding: 1.5rem; isolation: isolate; color: #fff; }
.cat-panel__img { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.cat-panel__img img { width: 120%; max-width: none; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.cat-panel:hover .cat-panel__img img { transform: scale(1.06); }
.cat-panel::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10,30,60,0) 30%, rgba(10,30,60,.88)); }
.cat-panel__count { position: absolute; top: 1.3rem; left: 1.5rem; font-size: .82rem; font-weight: 600; background: rgba(255,255,255,.16); backdrop-filter: blur(8px); padding: .35em .85em; border-radius: 999px; }
.cat-panel h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); font-variation-settings: 'wdth' 125; font-weight: 900; letter-spacing: -.03em; }
.cat-panel p { color: #D6E2F2; font-size: .95rem; margin: .6rem 0 1rem; }
.cat-panel__go { display: inline-flex; align-items: center; gap: .5rem; font-weight: 700; font-size: .92rem; }
.cat-panel__go i { width: 34px; height: 34px; border-radius: 50%; background: #fff; color: var(--ink); display: grid; place-items: center; font-style: normal; transition: transform .5s var(--ease-out), background-color .3s; }
.cat-panel:hover .cat-panel__go i { transform: rotate(-45deg); background: var(--rubber); color: #fff; }
.cats__bar { margin: 2rem var(--gutter) 0; height: 2px; background: rgba(255,255,255,.15); position: relative; }
.cats__bar i { position: absolute; inset: 0; background: #fff; transform-origin: left; transform: scaleX(0); }
@media (max-width: 899px) {
  .cats__pin { min-height: 0; padding-top: clamp(4.5rem, 10vw, 6rem); }
  .cats__track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: .8rem; scrollbar-width: none; }
  .cats__track::-webkit-scrollbar { display: none; }
  .cat-panel { scroll-snap-align: start; width: 78vw; height: 64vh; }
  .cats__bar { display: none; }
}

/* ---------- Featured with Flip filter ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.8rem; position: relative; isolation: isolate; }
.tab { border: 0; background: #fff; padding: .62em 1.15em; border-radius: 999px; font-weight: 600; font-size: .92rem; color: var(--ink); position: relative; transition: color .3s; isolation: isolate; }
.tab[aria-selected="true"] { color: #fff; background: transparent; }
.tab-ind { position: absolute; z-index: -1; background: var(--ink); border-radius: 999px; pointer-events: none; transition: none; }
.tab span { font-size: .75em; opacity: .6; margin-left: .3em; }
.feat-more { margin-top: 2rem; display: flex; justify-content: center; }
.pgrid--feat .pcard[hidden] { display: none; }

/* ---------- Combos: sticky stack ---------- */
.combos { background: #fff; }
.combo-stack { display: grid; gap: 1.5rem; }
.combo { position: sticky; top: calc(var(--header-h) + 1rem); display: grid; grid-template-columns: 1fr 1.1fr; min-height: min(70svh, 560px); border-radius: 22px; overflow: hidden; background: var(--paper); transform-origin: center top; box-shadow: 0 -1px 0 var(--rule); }
.combo:nth-child(2) { background: #E3ECF7; }
.combo:nth-child(3) { background: var(--table); color: #fff; }
.combo:nth-child(4) { background: var(--deep); color: #fff; }
.combo__media { position: relative; overflow: hidden; }
.combo__media img { width: 100%; height: 100%; object-fit: cover; }
.combo__body { padding: clamp(1.5rem, 4vw, 3.2rem); display: flex; flex-direction: column; }
.combo__level { display: flex; align-items: center; gap: .7rem; font-weight: 600; font-size: .9rem; margin-bottom: 1rem; }
.combo__step { font-family: var(--f-display); font-variation-settings: 'wdth' 125; font-weight: 900; font-size: .85rem; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid currentColor; }
.combo h3 { font-size: var(--step-3); font-weight: 900; letter-spacing: -.03em; line-height: 1; }
.combo__desc { margin: 1rem 0 1.4rem; opacity: .85; }
.combo__parts { display: grid; gap: 0; margin: 0 0 1.6rem; padding: 0; list-style: none; border-top: 1px solid currentColor; border-color: rgba(127,140,160,.35); }
.combo__parts li { display: grid; grid-template-columns: 7.5em 1fr; gap: 1rem; padding: .7rem 0; border-bottom: 1px solid rgba(127,140,160,.35); font-size: .95rem; }
.combo__parts span { opacity: .65; }
.combo__foot { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.combo__price { font-family: var(--f-display); font-variation-settings: 'wdth' 112; font-weight: 800; font-size: 1.5rem; }
.combo:nth-child(-n+2) .combo__price { color: var(--rubber); }
@media (max-width: 820px) {
  .combo { grid-template-columns: 1fr; position: relative; top: auto; }
  .combo__media { aspect-ratio: 16/9; }
}

/* ---------- Promise table (4 quadrants of a table top) ---------- */
.promise__table { position: relative; aspect-ratio: 1.8; max-height: 640px; width: 100%; background: var(--table); border-radius: 6px; color: #fff; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; overflow: hidden; box-shadow: 0 40px 80px -40px rgba(14,42,79,.6); }
.pl { position: absolute; background: #fff; pointer-events: none; z-index: 0; }
.pl--t, .pl--b, .pl--mid { left: 10px; right: 10px; height: 3px; }
.pl--t { top: 10px; } .pl--b { bottom: 10px; } .pl--mid { top: calc(50% - 1.5px); height: 2px; opacity: .9; }
.pl--l, .pl--r, .pl--net { top: 10px; bottom: 10px; width: 3px; }
.pl--l { left: 10px; } .pl--r { right: 10px; }
.pl--net { left: calc(50% - 4px); top: 0; bottom: 0; width: 8px; background: repeating-linear-gradient(0deg, rgba(255,255,255,.95) 0 3px, rgba(255,255,255,.35) 3px 6px); box-shadow: 0 0 0 1px rgba(14,42,79,.25); }
.promise__q { padding: clamp(1.2rem, 3.4vw, 2.8rem); display: flex; flex-direction: column; justify-content: center; position: relative; z-index: 1; }
.promise__q h3 { font-size: clamp(1.15rem, 2.2vw, 1.8rem); font-weight: 800; margin-bottom: .5rem; }
.promise__q p { color: #D3E2F4; font-size: clamp(.86rem, 1.2vw, .98rem); margin: 0; max-width: 34ch; }
.promise__q:nth-child(odd) { padding-right: clamp(1.6rem, 4vw, 3.6rem); }
.promise__q:nth-child(even) { padding-left: clamp(1.6rem, 4vw, 3.6rem); }
@media (max-width: 760px) {
  .promise__table { aspect-ratio: auto; grid-template-columns: 1fr; grid-template-rows: none; }
  .pl { display: none; }
  .promise__q { border-bottom: 2px solid rgba(255,255,255,.8); padding: 1.6rem !important; }
  .promise__q:last-child { border-bottom: 0; }
}

/* ---------- Knowledge accordion ---------- */
.kt { display: grid; grid-template-columns: .9fr 1.4fr; gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.kt__aside { position: sticky; top: calc(var(--header-h) + 2rem); }
.kt__aside p { color: var(--mute); margin: 1.2rem 0 1.6rem; }
.qa { border-top: 2px solid var(--ink); }
.qa__item { border-bottom: 1px solid var(--rule); }
.qa__btn { width: 100%; display: grid; grid-template-columns: 1fr auto; gap: 1.2rem; align-items: center; text-align: left; background: none; border: 0; padding: 1.25rem 0; font-weight: 700; font-size: clamp(1rem, 1.4vw, 1.15rem); line-height: 1.35; color: var(--ink); }
.qa__btn:hover .qa__title { color: var(--table); }
.qa__title { transition: color .25s; text-transform: none; }
.qa__ico { width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--rule); position: relative; transition: background-color .35s, border-color .35s, transform .5s var(--ease-out); }
.qa__ico::before, .qa__ico::after { content: ''; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.8px; background: currentColor; transform: translate(-50%, -50%); transition: transform .45s var(--ease-out); }
.qa__ico::after { transform: translate(-50%, -50%) rotate(90deg); }
.qa__item.is-open .qa__ico { background: var(--rubber); border-color: var(--rubber); color: #fff; transform: rotate(180deg); }
.qa__item.is-open .qa__ico::after { transform: translate(-50%, -50%) rotate(0); }
.qa__panel { height: 0; overflow: hidden; }
.qa__content { padding: 0 0 1.5rem; color: #34425A; font-size: .98rem; }
.qa__content p { margin-bottom: .7em; }
.qa__content ol, .qa__content ul { padding-left: 1.2rem; margin: 0 0 .8em; }
.qa__more { display: inline-block; margin-top: .4rem; font-weight: 700; color: var(--table); }
@media (max-width: 860px) { .kt { grid-template-columns: 1fr; } .kt__aside { position: static; } }

/* ---------- Visit ---------- */
.visit { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.visit__img { border-radius: 22px; overflow: hidden; aspect-ratio: 4/3; }
.visit__img img { width: 100%; height: 115%; object-fit: cover; }
.visit dl { display: grid; grid-template-columns: auto 1fr; gap: .9rem 1.6rem; margin: 1.8rem 0 2rem; }
.visit dt { color: var(--mute); font-size: .9rem; }
.visit dd { margin: 0; font-weight: 600; }
.visit__act { display: flex; flex-wrap: wrap; gap: .8rem; }
@media (max-width: 860px) { .visit { grid-template-columns: 1fr; } }
