/* Landing page (root "/"): same visual system as the redesigned Knowledge Base / Forum pages. */
.lp {
  --lp-bg: #0f0f12; --lp-card: #171718; --lp-inner: #111112; --lp-yellow: #FFDF00;
  --lp-text: #f4f4f6; --lp-muted: #a8a8ad; --lp-dim: #6e6e74; --lp-line: rgba(255, 255, 255, .08);
  --lp-ease: cubic-bezier(.16, 1, .3, 1);
  width: min(1180px, 100%);
  margin: 0 auto;
  padding: 34px 0 72px;
  color: var(--lp-text);
  font-family: "Outfit", sans-serif;
}
.lp * { box-sizing: border-box; font-family: "Outfit", sans-serif; }
.lp .bi { font-family: "bootstrap-icons" !important; }
.lp a { color: inherit; text-decoration: none; }
.lp h1, .lp h2, .lp h3, .lp p, .lp ul { margin: 0; }
.lp strong { font-weight: 800; }

.lp-kicker { display: inline-flex; flex-wrap: wrap; align-items: center; gap: 8px; color: var(--lp-yellow); font-size: .78rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.lp-live { display: inline-flex; align-items: center; gap: 7px; padding: 4px 10px; border: 1px solid rgba(255, 223, 0, .5); border-radius: 8px; background: rgba(255, 223, 0, .1); }
.lp-live__dot { position: relative; width: 7px; height: 7px; border-radius: 50%; background: var(--lp-yellow); }
.lp-live__dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--lp-yellow); animation: lp-ping 1.8s ease-out infinite; }
@keyframes lp-ping { to { opacity: 0; transform: scale(2.6); } }

/* Buttons */
.lp-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border: 1px solid transparent; border-radius: 10px; font-size: .95rem; font-weight: 800; white-space: nowrap; transition: transform .2s var(--lp-ease), background .2s ease, border-color .2s ease, color .2s ease, box-shadow .2s ease; }
.lp-btn i { transition: transform .25s var(--lp-ease); }
.lp-btn:hover i { transform: translateX(3px); }
.lp-btn--primary { background: var(--lp-yellow); color: #111 !important; }
.lp-btn--primary:hover { box-shadow: 0 10px 30px -8px rgba(255, 223, 0, .6); transform: translateY(-1px); }
.lp-btn--ghost { border-color: var(--lp-line); background: rgba(23, 23, 24, .7); color: var(--lp-muted) !important; }
.lp-btn--ghost:hover { border-color: rgba(255, 255, 255, .2); color: var(--lp-text) !important; }

/* Hero */
.lp-hero { --mx: 30%; --my: 30%; position: relative; isolation: isolate; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 34px; align-items: center; padding: 46px 40px; overflow: hidden; border: 1px solid var(--lp-line); border-radius: 18px; background: var(--lp-inner); }
.lp-hero__wash { position: absolute; inset: 0; z-index: -3; background: radial-gradient(60% 140% at 0% 20%, rgba(255, 223, 0, .14), transparent 60%), radial-gradient(50% 90% at 100% 100%, rgba(255, 223, 0, .05), transparent 70%); }
.lp-hero__spot { position: absolute; inset: 0; z-index: -2; background: radial-gradient(420px circle at var(--mx) var(--my), rgba(255, 223, 0, .08), transparent 60%); pointer-events: none; }
.lp-hero__ghost { position: absolute; left: -10px; bottom: -10px; z-index: -1; color: transparent; font-size: clamp(70px, 12vw, 160px); font-weight: 900; line-height: .9; letter-spacing: -.03em; text-transform: uppercase; white-space: nowrap; -webkit-text-stroke: 1px rgba(255, 255, 255, .06); pointer-events: none; user-select: none; animation: lp-ghost 40s linear infinite; }
@keyframes lp-ghost { to { transform: translateX(-15%); } }
.lp-hero__copy { position: relative; min-width: 0; }
.lp-hero h1 { margin: 16px 0 14px; color: var(--lp-text); font-size: clamp(2.3rem, 4.6vw, 3.9rem); font-weight: 900; line-height: 1.02; letter-spacing: -.02em; animation: lp-in-left .8s var(--lp-ease) both; }
.lp-hero h1 span { color: var(--lp-yellow); }
.lp-hero__copy > p { max-width: 520px; color: var(--lp-muted); font-size: 1.05rem; font-weight: 500; line-height: 1.6; animation: lp-in-left .8s var(--lp-ease) .08s both; }
.lp-hero__copy > p.lp-hero__tag { margin-top: 6px; color: var(--lp-text); font-weight: 700; }
.lp-hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; animation: lp-pop .6s var(--lp-ease) .3s both; }
@keyframes lp-in-left { from { opacity: 0; transform: translateX(-40px); } }
@keyframes lp-pop { from { opacity: 0; transform: translateY(8px) scale(.97); } }

/* Hero stats */
.lp-stats { position: relative; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.lp-stat { display: flex; flex-direction: column; gap: 4px; padding: 16px; border: 1px solid var(--lp-line); border-radius: 14px; background: rgba(23, 23, 24, .85); transition: border-color .2s ease, background .2s ease, transform .25s var(--lp-ease); animation: lp-pop .6s var(--lp-ease) both; animation-delay: calc(.35s + var(--i) * .1s); }
.lp-stat:hover { border-color: rgba(255, 223, 0, .45); background: rgba(255, 223, 0, .05); transform: translateY(-2px); }
.lp-stat__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.lp-stat__icon { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid rgba(255, 223, 0, .3); border-radius: 10px; background: rgba(255, 223, 0, .08); color: var(--lp-yellow); font-size: 1rem; }
.lp-stat b { color: var(--lp-text); font-size: 1.9rem; font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; }
.lp-stat strong { color: var(--lp-text); font-size: .98rem; }
.lp-stat small { color: var(--lp-dim); font-size: .8rem; font-weight: 600; line-height: 1.45; }
.lp-stat:hover strong { color: var(--lp-yellow); }

/* Intro + module strip */
.lp-intro { display: grid; gap: 18px; margin-top: 18px; padding: 28px; border: 1px solid var(--lp-line); border-radius: 18px; background: var(--lp-card); }
.lp-intro h2 { margin: 10px 0; color: var(--lp-text); font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 900; line-height: 1.1; letter-spacing: -.015em; }
.lp-intro p { max-width: 760px; color: var(--lp-muted); font-size: 1rem; line-height: 1.65; }
.lp-intro p strong { color: var(--lp-text); }
.lp-modules { display: flex; gap: 6px; padding: 6px; overflow-x: auto; border: 1px solid var(--lp-line); border-radius: 14px; background: var(--lp-inner); scrollbar-width: none; }
.lp-modules::-webkit-scrollbar { display: none; }
.lp-modules a { display: inline-flex; flex: 0 0 auto; align-items: center; gap: 8px; padding: 9px 14px; border: 1px solid transparent; border-radius: 10px; color: var(--lp-muted); font-size: .88rem; font-weight: 800; white-space: nowrap; transition: color .2s ease, background .2s ease, border-color .2s ease; }
.lp-modules a:hover { border-color: rgba(255, 223, 0, .5); background: rgba(255, 223, 0, .1); color: var(--lp-yellow); }

/* Section heads */
.lp-shelf { margin-top: 44px; scroll-margin-top: 20px; }
.lp-shelf__head { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.lp-shelf__head h2 { display: flex; align-items: center; gap: 12px; color: var(--lp-text); font-size: 1.35rem; font-weight: 900; letter-spacing: .01em; text-transform: uppercase; }
.lp-shelf__head h2::before { content: ""; width: 4px; height: 22px; border-radius: 4px; background: var(--lp-yellow); box-shadow: 0 0 14px rgba(255, 223, 0, .6); }
.lp-shelf__sub { max-width: 760px; margin: -6px 0 18px 16px; color: var(--lp-muted); font-size: .98rem; font-weight: 500; line-height: 1.6; }

/* Feature cards */
.lp-bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 18px; }
.lp-bento > .lp-card { grid-column: span 2; }
.lp-bento > .lp-card--wide { grid-column: span 4; flex-direction: row; align-items: stretch; gap: 22px; }
.lp-bento > .lp-card--full { grid-column: 1 / -1; }
.lp-card--wide .lp-card__body { display: flex; flex: 1 1 38%; flex-direction: column; gap: 16px; min-width: 0; }
.lp-card--wide .lp-prev { flex: 1 1 62%; }
.lp-card { --mx: 50%; --my: 0%; position: relative; isolation: isolate; display: flex; flex-direction: column; gap: 16px; padding: 20px; overflow: hidden; border: 1px solid var(--lp-line); border-radius: 16px; background: var(--lp-card); scroll-margin-top: 20px; transition: border-color .25s ease, box-shadow .35s ease, transform .3s var(--lp-ease); }
.lp-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(380px circle at var(--mx) var(--my), rgba(255, 223, 0, .08), transparent 60%); opacity: 0; transition: opacity .3s ease; pointer-events: none; }
.lp-card:hover::before { opacity: 1; }
.lp-card:hover { border-color: rgba(255, 223, 0, .45); box-shadow: 0 20px 44px -30px rgba(255, 223, 0, .4); transform: translateY(-3px); }
.lp-card:target { border-color: rgba(255, 223, 0, .6); }
.lp-card__head { display: flex; align-items: flex-start; gap: 14px; }
.lp-card__icon { display: grid; flex: none; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(255, 223, 0, .3); border-radius: 12px; background: rgba(255, 223, 0, .08); color: var(--lp-yellow); font-size: 1.2rem; transition: background .25s ease; }
.lp-card:hover .lp-card__icon { background: rgba(255, 223, 0, .16); }
.lp-card h3 { color: var(--lp-text); font-size: 1.15rem; font-weight: 900; }
.lp-card__head p { margin-top: 3px; color: var(--lp-muted); font-size: .88rem; font-weight: 500; line-height: 1.45; }
.lp-card__list { display: grid; gap: 8px; padding: 0; list-style: none; }
.lp-card__list li { display: flex; align-items: flex-start; gap: 9px; color: #cfcfd4; font-size: .88rem; font-weight: 500; line-height: 1.4; }
.lp-card__list li i { flex: none; margin-top: 1px; color: var(--lp-yellow); }
.lp-card__foot { display: flex; flex-direction: column; gap: 10px; margin-top: auto; }
.lp-card__foot > span { color: var(--lp-dim); font-size: .82rem; font-weight: 600; }
.lp-link { display: inline-flex; align-self: flex-start; align-items: center; gap: 7px; padding: 8px 13px; border: 1px solid rgba(255, 223, 0, .5); border-radius: 10px; background: rgba(255, 223, 0, .1); color: var(--lp-yellow) !important; font-size: .86rem; font-weight: 800; transition: background .2s ease; }
.lp-link i { transition: transform .25s var(--lp-ease); }
.lp-link:hover { background: rgba(255, 223, 0, .18); }
.lp-link:hover i { transform: translateX(3px); }

/* Feature previews: small mock-ups of each part of the site */
.lp-prev { position: relative; min-width: 0; min-height: 150px; padding: 14px; overflow: hidden; border: 1px solid var(--lp-line); border-radius: 12px; background-color: var(--lp-inner); background-image: radial-gradient(rgba(255, 255, 255, .055) 1px, transparent 1px); background-size: 14px 14px; transition: border-color .3s ease; }
.lp-card:hover .lp-prev { border-color: rgba(255, 223, 0, .22); }
.lp-prev strong { display: block; overflow: hidden; color: var(--lp-text); font-size: .82rem; font-weight: 800; text-overflow: ellipsis; white-space: nowrap; }
.lp-prev small { display: block; color: var(--lp-dim); font-size: .7rem; font-weight: 600; white-space: nowrap; }
.lp-prev small img { display: inline-block; width: 12px; height: 12px; margin-right: 3px; vertical-align: -2px; object-fit: contain; }
.lp-prev > div > span:not([class]) { min-width: 0; }
.lp-prev__tag { position: absolute; top: 12px; left: 14px; display: inline-flex; align-items: center; gap: 7px; padding: 4px 9px; border: 1px solid rgba(255, 223, 0, .5); border-radius: 8px; background: rgba(255, 223, 0, .1); color: var(--lp-yellow); font-size: .66rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.lp-logo { display: grid; flex: none; place-items: center; width: 22px; height: 22px; border: 1px solid var(--lp-line); border-radius: 6px; background: #1d1d20; color: var(--lp-muted); font-size: .58rem; font-weight: 900; }
.lp-logo--lg { width: 36px; height: 36px; border-radius: 10px; font-size: .76rem; }
.lp-chip { display: inline-flex; flex: none; align-items: center; gap: 5px; padding: 3px 8px; border: 1px solid var(--lp-line); border-radius: 8px; background: var(--lp-card); color: #cfcfd4; font-size: .7rem; font-weight: 800; white-space: nowrap; }
.lp-chip--on { border-color: rgba(255, 223, 0, .5); background: rgba(255, 223, 0, .1); color: var(--lp-yellow); }

/* Tournaments: bracket */
.lp-bracket { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 26px; align-items: center; align-content: center; padding: 56px 16px 20px; }
.lp-bracket__pair { position: relative; display: grid; gap: 14px; }
.lp-bracket__pair::after { content: ""; position: absolute; top: 25%; right: -13px; bottom: 25%; width: 12px; border: 1px solid rgba(255, 255, 255, .16); border-left: 0; border-radius: 0 6px 6px 0; }
.lp-bracket__final { position: relative; }
.lp-bracket__final::before { content: ""; position: absolute; top: 50%; left: -12px; width: 12px; border-top: 1px solid rgba(255, 255, 255, .16); }
.lp-bracket__final > small { position: absolute; bottom: 100%; left: 0; margin-bottom: 6px; color: var(--lp-yellow); font-weight: 800; }
.lp-match { overflow: hidden; border: 1px solid var(--lp-line); border-radius: 10px; background: var(--lp-card); }
.lp-team { display: flex; align-items: center; gap: 8px; padding: 7px 9px; color: var(--lp-muted); font-size: .78rem; font-weight: 700; }
.lp-team + .lp-team { border-top: 1px solid var(--lp-line); }
.lp-team em { flex: 1; min-width: 0; overflow: hidden; font-style: normal; text-overflow: ellipsis; white-space: nowrap; }
.lp-team b { color: var(--lp-dim); font-weight: 900; font-variant-numeric: tabular-nums; }
.lp-team.is-win { color: var(--lp-text); }
.lp-team.is-win b { color: var(--lp-yellow); }
.lp-match.is-live { border-color: rgba(255, 223, 0, .5); animation: lp-breathe 2.4s ease-in-out infinite; }
.lp-match.is-live .lp-team { color: var(--lp-text); }
.lp-match.is-live .lp-team b { color: var(--lp-yellow); }
@keyframes lp-breathe { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 223, 0, .0); } 50% { box-shadow: 0 0 0 4px rgba(255, 223, 0, .1); } }
.lp-bracket__cup { position: absolute; top: 10px; right: 12px; display: flex; align-items: center; gap: 8px; padding: 5px 10px; border: 1px dashed rgba(255, 223, 0, .35); border-radius: 10px; background: var(--lp-inner); }
.lp-bracket__cup i { color: var(--lp-yellow); font-size: 1rem; animation: lp-float 3s ease-in-out infinite; }
.lp-bracket__cup small { font-size: .66rem; }
.lp-bracket__cup strong { font-size: .76rem; }
@keyframes lp-float { 50% { transform: translateY(-4px); } }

/* Teams: roster */
.lp-roster { display: grid; gap: 14px; align-content: start; }
.lp-roster__head { display: flex; align-items: center; gap: 10px; }
.lp-roster__head .lp-chip { margin-left: auto; }
.lp-roster__avatars { display: flex; padding-left: 6px; }
.lp-roster__avatars span { position: relative; display: grid; place-items: center; width: 36px; height: 36px; margin-left: -6px; border: 2px solid var(--lp-inner); border-radius: 10px; background: #232327; color: var(--lp-muted); font-size: .68rem; font-weight: 900; transition: margin .35s var(--lp-ease); }
.lp-card:hover .lp-roster__avatars span { margin-left: 4px; }
.lp-roster__avatars .is-cap { background: rgba(255, 223, 0, .14); color: var(--lp-yellow); }
.lp-roster__avatars .is-cap i { position: absolute; top: -7px; right: -7px; display: grid; place-items: center; width: 16px; height: 16px; border-radius: 5px; background: var(--lp-yellow); color: #111; font-size: .5rem; }
.lp-roster__avatars .is-add { border: 1px dashed rgba(255, 255, 255, .2); background: none; color: var(--lp-dim); }
.lp-roster__roles { display: flex; flex-wrap: wrap; gap: 5px; }

/* Recruitment */
.lp-recruit { display: grid; gap: 8px; align-content: start; }
.lp-recruit__search { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border: 1px solid rgba(255, 223, 0, .35); border-radius: 10px; background: var(--lp-card); color: var(--lp-text); font-size: .78rem; font-weight: 700; }
.lp-recruit__search i { color: var(--lp-yellow); }
.lp-recruit__caret { width: 1px; height: 14px; margin-left: -4px; background: var(--lp-yellow); animation: lp-blink 1s steps(1) infinite; }
@keyframes lp-blink { 50% { opacity: 0; } }
.lp-recruit__row { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border: 1px solid var(--lp-line); border-radius: 10px; background: var(--lp-card); transition: transform .35s var(--lp-ease), border-color .25s ease; }
.lp-card:hover .lp-recruit__row:first-of-type { border-color: rgba(255, 223, 0, .35); transform: translateX(4px); }

/* Organisations */
.lp-org { display: grid; gap: 12px; align-content: start; }
.lp-org__head { display: flex; align-items: center; gap: 10px; }
.lp-org__head .lp-logo { color: var(--lp-yellow); font-size: 1rem; }
.lp-org__teams { display: flex; flex-wrap: wrap; gap: 6px; }
.lp-org__teams span { display: inline-flex; align-items: center; gap: 6px; padding: 5px 9px 5px 5px; border: 1px solid var(--lp-line); border-radius: 9px; background: var(--lp-card); color: #cfcfd4; font-size: .74rem; font-weight: 800; transition: transform .3s var(--lp-ease); }
.lp-org__teams img { width: 18px; height: 18px; border-radius: 5px; object-fit: contain; }
.lp-card:hover .lp-org__teams span { transform: translateY(-2px); }
.lp-card:hover .lp-org__teams span:nth-child(2) { transition-delay: .05s; }
.lp-card:hover .lp-org__teams span:nth-child(3) { transition-delay: .1s; }
.lp-org__tabs { display: flex; gap: 4px; padding: 4px; border: 1px solid var(--lp-line); border-radius: 10px; background: var(--lp-card); }
.lp-org__tabs span { flex: 1; padding: 5px 4px; border-radius: 7px; color: var(--lp-dim); font-size: .7rem; font-weight: 800; text-align: center; }
.lp-org__tabs .is-on { background: rgba(255, 223, 0, .1); color: var(--lp-yellow); }

/* Forum */
.lp-forum { display: grid; gap: 6px; align-content: start; }
.lp-thread { display: flex; align-items: center; gap: 10px; padding: 7px 10px 7px 7px; border: 1px solid var(--lp-line); border-radius: 10px; background: var(--lp-card); }
.lp-thread > span:nth-child(2) { flex: 1; min-width: 0; }
.lp-vote { display: grid; flex: none; place-items: center; width: 34px; padding: 3px 0; border-radius: 8px; background: var(--lp-inner); color: var(--lp-text); font-size: .72rem; font-weight: 900; line-height: 1.1; }
.lp-vote i { color: var(--lp-yellow); font-size: .7rem; transition: transform .3s var(--lp-ease); }
.lp-card:hover .lp-thread:first-child .lp-vote i { transform: translateY(-3px); }

/* Groups */
.lp-groups { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 12px; }
.lp-groups__side { display: flex; flex-direction: column; gap: 6px; }
.lp-groups__side span { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid var(--lp-line); border-radius: 10px; background: var(--lp-card); color: var(--lp-dim); font-size: .8rem; font-weight: 900; }
.lp-groups__side .is-on { border-color: rgba(255, 223, 0, .5); background: rgba(255, 223, 0, .1); color: var(--lp-yellow); }
.lp-groups__list { display: grid; gap: 3px; align-content: start; }
.lp-groups__list small { margin: 0 0 4px 8px; font-size: .62rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.lp-groups__list span { display: flex; align-items: center; gap: 6px; padding: 6px 8px; border-radius: 8px; color: var(--lp-dim); font-size: .8rem; font-weight: 700; white-space: nowrap; transition: background .25s ease, color .25s ease; }
.lp-groups__list .is-on, .lp-groups__list .has-new { color: var(--lp-text); }
.lp-groups__list .is-on { background: rgba(255, 255, 255, .06); }
.lp-groups__list b { margin-left: auto; padding: 1px 6px; border-radius: 6px; background: var(--lp-yellow); color: #111; font-size: .62rem; font-weight: 900; }
.lp-card:hover .lp-groups__list .has-new { background: rgba(255, 223, 0, .08); }

/* Posts */
.lp-post__head { display: flex; align-items: center; gap: 9px; }
.lp-post__head .lp-logo { width: 32px; height: 32px; border-radius: 9px; font-size: .66rem; }
.lp-post__head strong i { color: var(--lp-yellow); font-size: .7rem; }
.lp-prev.lp-post p { margin: 10px 0 12px; color: #cfcfd4; font-size: .82rem; line-height: 1.45; }
.lp-post__actions { display: flex; gap: 16px; padding-top: 10px; border-top: 1px solid var(--lp-line); color: var(--lp-muted); font-size: .78rem; font-weight: 800; }
.lp-post__actions span { display: inline-flex; align-items: center; gap: 6px; }
.lp-post__like { color: var(--lp-text); }
.lp-post__like i { color: var(--lp-yellow); }
.lp-card:hover .lp-post__like i { animation: lp-beat .8s var(--lp-ease); }
@keyframes lp-beat { 30% { transform: scale(1.35); } 60% { transform: scale(.95); } }

/* Profile */
.lp-profile { display: grid; gap: 12px; align-content: start; }
.lp-profile__head { display: flex; align-items: center; gap: 10px; }
.lp-profile__head small i { color: var(--lp-yellow); }
.lp-profile__avatar { position: relative; display: grid; flex: none; place-items: center; width: 42px; height: 42px; border: 1px solid rgba(255, 223, 0, .45); border-radius: 11px; background: #232327; color: var(--lp-text); font-size: .78rem; font-weight: 900; }
.lp-profile__avatar em { position: absolute; right: -6px; bottom: -6px; padding: 1px 5px; border-radius: 6px; background: var(--lp-yellow); color: #111; font-size: .58rem; font-style: normal; font-weight: 900; }
.lp-profile__xp > span { color: var(--lp-dim); font-size: .72rem; font-weight: 700; }
.lp-profile__xp b { color: var(--lp-text); }
.lp-xp { height: 6px; margin-top: 6px; overflow: hidden; border-radius: 6px; background: rgba(255, 255, 255, .08); }
.lp-xp i { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--lp-yellow); transition: width 1.4s var(--lp-ease) .4s; }
.lp:not(.is-ready) .lp-xp i, .lp-reveal.is-in .lp-xp i { width: 68%; }
.lp-profile__stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.lp-profile__stats span { display: grid; justify-items: center; gap: 1px; padding: 7px 4px; border: 1px solid var(--lp-line); border-radius: 10px; background: var(--lp-card); color: var(--lp-dim); font-size: .66rem; font-weight: 700; }
.lp-profile__stats i { color: var(--lp-yellow); font-size: .8rem; }
.lp-profile__stats b { color: var(--lp-text); font-size: .9rem; font-weight: 900; }

/* Marketplace */
.lp-market { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; align-content: center; }
.lp-listing { position: relative; display: grid; gap: 1px; min-width: 0; padding: 8px 8px 10px; border: 1px solid var(--lp-line); border-radius: 12px; background: var(--lp-card); transition: transform .35s var(--lp-ease), border-color .25s ease; transition-delay: calc(var(--i) * 40ms); }
.lp-listing__art { display: grid; place-items: center; aspect-ratio: 4 / 3; margin-bottom: 8px; border-radius: 9px; background: linear-gradient(160deg, #1d1d20, var(--lp-inner)); color: var(--lp-muted); font-size: 1.8rem; transition: color .25s ease; }
.lp-listing b { margin-top: 6px; color: var(--lp-text); font-size: .95rem; font-weight: 900; }
.lp-listing b small { display: inline; margin-right: 3px; font-size: .62rem; }
.lp-listing__save { position: absolute; top: 14px; right: 14px; color: var(--lp-yellow); font-size: .8rem; }
.lp-listing__flag { position: absolute; top: 14px; left: 14px; font-size: .62rem; }
.lp-card:hover .lp-listing { transform: translateY(-3px); }
.lp-listing:hover { border-color: rgba(255, 223, 0, .45); }
.lp-listing:hover .lp-listing__art { color: var(--lp-yellow); }

/* Games strip */
.lp-games { display: flex; align-items: center; gap: 16px; margin-top: 18px; padding: 10px 10px 10px 18px; overflow: hidden; border: 1px solid var(--lp-line); border-radius: 14px; background: var(--lp-card); }
.lp-games__label { display: inline-flex; flex: none; align-items: center; gap: 8px; color: var(--lp-dim); font-size: .74rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.lp-games__label i { color: var(--lp-yellow); font-size: .95rem; }
.lp-games__track { display: flex; flex: 1; min-width: 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.lp-games__row { display: flex; flex: none; gap: 10px; padding-right: 10px; animation: lp-marquee 40s linear infinite; }
.lp-games__track:hover .lp-games__row { animation-play-state: paused; }
@keyframes lp-marquee { to { transform: translateX(-100%); } }
.lp-game { display: inline-flex; align-items: center; gap: 9px; padding: 6px 12px 6px 6px; border: 1px solid var(--lp-line); border-radius: 10px; background: var(--lp-inner); color: var(--lp-muted); font-size: .84rem; font-weight: 800; white-space: nowrap; transition: color .2s ease, border-color .2s ease; }
.lp-game img { width: 26px; height: 26px; border-radius: 7px; object-fit: contain; }
.lp-game:hover { border-color: rgba(255, 223, 0, .45); color: var(--lp-text); }

/* Why it's different */
.lp-split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 18px; }
.lp-punch { display: grid; gap: 10px; padding: 0; list-style: none; }
.lp-punch li { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border: 1px solid var(--lp-line); border-radius: 14px; background: var(--lp-card); color: var(--lp-muted); font-size: 1.2rem; font-weight: 800; }
.lp-punch li i { display: grid; flex: none; place-items: center; width: 30px; height: 30px; border-radius: 8px; background: rgba(255, 255, 255, .05); color: var(--lp-dim); font-size: .8rem; transition: color .3s ease, background .3s ease; transition-delay: calc(.5s + var(--i) * .18s); }
.lp-punch li span { position: relative; transition: color .4s ease; transition-delay: calc(.5s + var(--i) * .18s); }
.lp-punch li span::after { content: ""; position: absolute; top: 54%; right: -3px; left: -3px; height: 2px; border-radius: 2px; background: var(--lp-yellow); transform: scaleX(0); transform-origin: left; transition: transform .55s var(--lp-ease); transition-delay: calc(.4s + var(--i) * .18s); }
.lp:not(.is-ready) .lp-punch li span, .lp-split.is-in .lp-punch li span { color: var(--lp-dim); }
.lp:not(.is-ready) .lp-punch li span::after, .lp-split.is-in .lp-punch li span::after { transform: scaleX(1); }
.lp:not(.is-ready) .lp-punch li i, .lp-split.is-in .lp-punch li i { background: rgba(255, 223, 0, .1); color: var(--lp-yellow); }
.lp-callout { position: relative; isolation: isolate; display: flex; flex-direction: column; gap: 14px; padding: 26px; overflow: hidden; border: 1px solid rgba(255, 223, 0, .25); border-radius: 16px; background: var(--lp-card); }
.lp-callout::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(70% 120% at 100% 0%, rgba(255, 223, 0, .08), transparent 60%); }
.lp-callout h3 { color: var(--lp-text); font-size: clamp(1.6rem, 2.8vw, 2.2rem); font-weight: 900; letter-spacing: -.015em; }
.lp-callout h3 span { color: var(--lp-yellow); }
.lp-callout > p { max-width: 560px; color: var(--lp-muted); font-size: 1rem; line-height: 1.6; }
.lp-callout__minis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: auto; }
.lp-mini { display: flex; flex-direction: column; gap: 4px; padding: 14px; border: 1px solid var(--lp-line); border-radius: 12px; background: var(--lp-inner); }
.lp-mini i { margin-bottom: 4px; color: var(--lp-yellow); font-size: 1.1rem; }
.lp-mini strong { color: var(--lp-text); font-size: .92rem; }
.lp-mini small { color: var(--lp-dim); font-size: .8rem; font-weight: 600; line-height: 1.4; }

/* Vision */
.lp-vision { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.lp-vcard { display: flex; flex-direction: column; gap: 6px; padding: 20px; border: 1px solid var(--lp-line); border-radius: 16px; background: var(--lp-card); transition: border-color .25s ease, background .25s ease; }
.lp-vcard:hover { border-color: rgba(255, 223, 0, .45); background: rgba(255, 223, 0, .04); }
.lp-vcard__n { margin-bottom: 8px; color: var(--lp-yellow); font-size: 1.6rem; font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; }
.lp-vcard strong { color: var(--lp-text); font-size: 1.02rem; }
.lp-vcard small { color: var(--lp-muted); font-size: .86rem; font-weight: 500; line-height: 1.5; }

/* Final CTA */
.lp-final { position: relative; isolation: isolate; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; margin-top: 44px; padding: 38px 36px; overflow: hidden; border: 1px solid rgba(255, 223, 0, .25); border-radius: 18px; background: var(--lp-inner); }
.lp-final::before { content: ""; position: absolute; inset: 0; z-index: -2; background: radial-gradient(60% 140% at 100% 50%, rgba(255, 223, 0, .12), transparent 60%); }
.lp-final__copy { min-width: 0; max-width: 620px; }
.lp-final h2 { margin: 10px 0; color: var(--lp-text); font-size: clamp(1.7rem, 3.2vw, 2.5rem); font-weight: 900; line-height: 1.05; letter-spacing: -.02em; }
.lp-final p { color: var(--lp-muted); font-size: 1rem; line-height: 1.6; }
.lp-final__actions { display: flex; flex-wrap: wrap; gap: 10px; }

/* Scroll reveal (only hidden once JS is running) */
.lp.is-ready .lp-reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--lp-ease), transform .7s var(--lp-ease); transition-delay: calc(var(--i, 0) * 70ms); }
.lp.is-ready .lp-reveal.is-in { opacity: 1; transform: none; }
.lp.is-ready .lp-card.lp-reveal.is-in:hover { transform: translateY(-3px); transition-delay: 0s; }

/* Responsive */
@media (max-width: 1100px) {
  .lp-vision { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 991.98px) {
  .lp { padding-top: 20px; }
  .lp-hero { grid-template-columns: minmax(0, 1fr); padding: 34px 26px; }
  .lp-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-bento > .lp-card { grid-column: span 1; }
  .lp-bento > .lp-card--wide { grid-column: 1 / -1; flex-direction: column; }
  .lp-split { grid-template-columns: minmax(0, 1fr); }
  .lp-punch { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575.98px) {
  .lp { padding-bottom: 48px; }
  .lp-hero { padding: 26px 18px; }
  .lp-hero__actions .lp-btn, .lp-final__actions .lp-btn { flex: 1 1 100%; }
  .lp-stat { padding: 13px; }
  .lp-stat b { font-size: 1.5rem; }
  .lp-stat small { display: none; }
  .lp-intro { padding: 20px 18px; }
  .lp-bento, .lp-vision, .lp-punch, .lp-callout__minis { grid-template-columns: minmax(0, 1fr); }
  .lp-bento > .lp-card, .lp-bento > .lp-card--wide { grid-column: 1 / -1; }
  .lp-bracket { grid-template-columns: minmax(0, 1fr); gap: 26px; padding-top: 48px; }
  .lp-bracket__pair::after, .lp-bracket__final::before { display: none; }
  .lp-market { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lp-games { padding-left: 10px; }
  .lp-games__label { display: none; }
  .lp-punch li { padding: 13px 15px; font-size: 1.05rem; }
  .lp-shelf__sub { margin-left: 0; }
  .lp-final { padding: 28px 18px; }
  .lp-final__actions { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  .lp *, .lp *::before, .lp *::after { animation: none !important; transition: none !important; }
  .lp.is-ready .lp-reveal { opacity: 1; transform: none; }
}
