/* ═══════════════════════════════════════════════════════
   scoreblox — Sub-page components (about, contact, league, blog)
   Loaded in addition to styles.css
   ═══════════════════════════════════════════════════════ */

/* ── PAGE HERO (compact, for sub-pages) ── */
.page-hero { position: relative; overflow: hidden; padding: 150px 0 70px; }
.page-hero .orb { z-index: 0; }
.page-hero-inner { position: relative; z-index: 1; max-width: 820px; }
.page-hero.center .page-hero-inner { margin: 0 auto; text-align: center; }
.page-hero h1 { font-size: clamp(38px, 5vw, 64px); margin: 20px 0 0; text-wrap: balance; }
.page-hero .lead { font-size: 18px; color: var(--text2); line-height: 1.7; margin-top: 20px; text-wrap: pretty; }
.page-hero.center .lead { margin-left: auto; margin-right: auto; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--text3); margin-bottom: 6px; }
.breadcrumb a { color: var(--text3); text-decoration: none; }
.breadcrumb a:hover { color: var(--text2); }

/* ── PROSE / RICH TEXT ── */
.prose { max-width: 720px; }
.prose p { font-size: 17px; line-height: 1.8; color: var(--text2); margin-bottom: 22px; }
.prose h2 { font-size: 28px; margin: 44px 0 16px; }
.prose h3 { font-size: 21px; margin: 32px 0 12px; }
.prose ul, .prose ol { margin: 0 0 22px; padding-left: 4px; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.prose ul li { position: relative; padding-left: 30px; font-size: 16px; line-height: 1.7; color: var(--text2); }
.prose ul li::before { content: ''; position: absolute; left: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--accent-dim); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.2 2.2 4.8-5' stroke='%23c79bff' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; }
.prose blockquote { margin: 28px 0; padding: 4px 0 4px 24px; border-left: 3px solid var(--accent); font-family: var(--font-display); font-size: 21px; line-height: 1.5; color: var(--text); font-weight: 500; }
.prose blockquote cite { display: block; margin-top: 12px; font-family: var(--font-body); font-size: 14px; font-weight: 400; color: var(--text3); font-style: normal; }
.prose img, .prose figure img { width: 100%; border-radius: var(--radius); margin: 8px 0; border: 1px solid var(--border); }
.prose figure { margin: 28px 0; }
.prose figcaption { font-size: 13px; color: var(--text3); text-align: center; margin-top: 10px; }
.prose hr { border: none; border-top: 1px solid var(--border); margin: 40px 0; }
.prose a { color: var(--accent2); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: oklch(58% 0.25 300 / 0.4); }
.prose a:hover { text-decoration-color: var(--accent2); }

/* ── FEATURE SPLIT ROWS (league management) ── */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.split + .split { margin-top: 88px; }
.split.flip .split-media { order: 2; }
.split-text .eyebrow { display: inline-flex; align-items: center; gap: 8px; color: var(--accent2); font-family: var(--font-display); font-weight: 600; font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 14px; }
.split-text .eyebrow .num { width: 26px; height: 26px; border-radius: 7px; background: var(--accent-dim); display: inline-flex; align-items: center; justify-content: center; font-size: 12px; }
.split-text h3 { font-size: clamp(24px, 2.6vw, 34px); margin-bottom: 14px; text-wrap: balance; }
.split-text p { font-size: 16px; color: var(--text2); line-height: 1.7; max-width: 460px; }
.split-text .feat-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-top: 18px; }
.split-text .feat-list li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; color: var(--text2); }
.split-text .feat-list li::before { content: ''; width: 19px; height: 19px; border-radius: 50%; flex-shrink: 0; margin-top: 1px; background: var(--accent-dim); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.2 2.2 4.8-5' stroke='%23c79bff' stroke-width='1.6' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: center; }

/* ── BROWSER WINDOW MOCKUP (platform UI) ── */
.win { border-radius: 14px; overflow: hidden; border: 1px solid var(--border2); background: var(--bg2); box-shadow: 0 40px 90px -34px oklch(0 0 0 / 0.8); position: relative; }
.win::after { content: ''; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 1px 0 oklch(100% 0 0 / 0.05); border-radius: inherit; }
.win-bar { display: flex; align-items: center; gap: 8px; padding: 11px 15px; background: var(--bg3); border-bottom: 1px solid var(--border); }
.win-dot { width: 11px; height: 11px; border-radius: 50%; }
.win-dot.r { background: #ff5f57; } .win-dot.y { background: #febc2e; } .win-dot.g { background: #28c840; }
.win-url { flex: 1; margin-left: 10px; background: var(--bg); border: 1px solid var(--border); border-radius: 7px; padding: 5px 12px; font-size: 12px; color: var(--text3); font-family: var(--font-body); display: flex; align-items: center; gap: 7px; }
.win-url svg { width: 11px; height: 11px; opacity: 0.6; }
.win-body { display: grid; grid-template-columns: 190px 1fr; min-height: 430px; }
.win-side { background: var(--bg); border-right: 1px solid var(--border); padding: 18px 12px; }
.win-side .sec { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text3); padding: 6px 12px; margin-top: 8px; }
.win-side-item { display: flex; align-items: center; gap: 10px; padding: 9px 12px; border-radius: 9px; font-size: 13px; color: var(--text2); margin-bottom: 2px; cursor: default; }
.win-side-item.active { background: var(--accent-dim); color: var(--text); }
.win-side-item .ic { width: 8px; height: 8px; border-radius: 2px; background: var(--text3); }
.win-side-item.active .ic { background: var(--accent2); box-shadow: 0 0 8px var(--accent2); }
.win-main { padding: 22px 24px; }
.win-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.win-h h4 { font-size: 17px; }
.win-badge { font-size: 10px; font-weight: 700; letter-spacing: 0.09em; text-transform: uppercase; color: var(--green); display: inline-flex; align-items: center; gap: 5px; }
.win-badge::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--green); box-shadow: 0 0 6px var(--green); }
.win-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; margin-bottom: 16px; }
.win-stat { background: var(--bg); border: 1px solid var(--border); border-radius: 11px; padding: 14px 16px; }
.win-stat .v { font-family: var(--font-display); font-weight: 700; font-size: 22px; letter-spacing: -0.02em; }
.win-stat .l { font-size: 11px; color: var(--text3); margin-top: 3px; }
.win-row { background: var(--bg); border: 1px solid var(--border); border-radius: 11px; padding: 13px 16px; display: flex; align-items: center; justify-content: space-between; margin-bottom: 9px; }
.win-team { display: flex; align-items: center; gap: 11px; }
.win-team .tg { width: 30px; height: 30px; border-radius: 8px; background: var(--bg3); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 700; font-size: 11px; color: var(--accent2); }
.win-team .nm { font-family: var(--font-display); font-weight: 600; font-size: 14px; }
.win-team .sb { font-size: 11px; color: var(--text3); }
.win-score { font-family: var(--font-display); font-weight: 700; font-size: 18px; }
.win-score small { font-size: 11px; color: var(--text3); font-weight: 400; }

/* ── ROLE / VALUE CARDS ── */
.cards-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.cards-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.vcard { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; transition: border-color .25s, transform .25s var(--ease); }
.vcard:hover { border-color: var(--border2); transform: translateY(-3px); }
.vcard .vico { width: 46px; height: 46px; border-radius: 12px; background: var(--accent-dim); border: 1px solid oklch(58% 0.25 300 / 0.2); display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 16px; }
.vcard h3 { font-size: 18px; margin-bottom: 8px; }
.vcard p { font-size: 14px; color: var(--text2); line-height: 1.65; }

/* ── STAT STRIP ── */
.stat-strip { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.stat-strip .s { text-align: center; padding: 24px 16px; background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius); }
.stat-strip .s strong { display: block; font-family: var(--font-display); font-weight: 700; font-size: clamp(30px,3.4vw,44px); letter-spacing: -0.03em; background: linear-gradient(135deg, var(--text), var(--accent2)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat-strip .s span { font-size: 13px; color: var(--text3); margin-top: 6px; display: block; }

/* ── CONTACT ── */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 56px; align-items: start; }
.contact-aside h2 { font-size: clamp(26px,3vw,38px); margin-bottom: 16px; text-wrap: balance; }
.contact-aside p { font-size: 16px; color: var(--text2); line-height: 1.7; margin-bottom: 28px; }
.contact-methods { display: flex; flex-direction: column; gap: 14px; }
.cmethod { display: flex; gap: 14px; align-items: center; padding: 16px; background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius-sm); text-decoration: none; transition: border-color .2s, transform .2s var(--ease); }
.cmethod:hover { border-color: var(--accent2); transform: translateY(-2px); }
.cmethod .cm-ico { width: 42px; height: 42px; border-radius: 10px; background: var(--accent-dim); display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.cmethod .cm-ico svg { width: 20px; height: 20px; color: var(--accent2); }
.cmethod .cm-t { font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--text); }
.cmethod .cm-s { font-size: 13px; color: var(--text3); }

.form-card { background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius); padding: 34px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 7px; margin-bottom: 18px; }
.field label { font-size: 13px; font-weight: 500; color: var(--text2); font-family: var(--font-display); }
.field label .req { color: var(--pink); }
.field input, .field textarea { background: var(--bg); border: 1px solid var(--border2); border-radius: 10px; padding: 12px 14px; font-family: var(--font-body); font-size: 15px; color: var(--text); transition: border-color .2s, box-shadow .2s; width: 100%; }
.field input::placeholder, .field textarea::placeholder { color: var(--text3); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--accent2); box-shadow: 0 0 0 3px oklch(58% 0.25 300 / 0.15); }
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 12px; color: var(--text3); margin-top: 4px; }
.form-success { display: none; text-align: center; padding: 30px 20px; }
.form-success.show { display: block; }
.form-success .ok { width: 56px; height: 56px; border-radius: 50%; background: oklch(72% 0.19 150 / 0.15); border: 1px solid oklch(72% 0.19 150 / 0.4); display: flex; align-items: center; justify-content: center; margin: 0 auto 16px; }
.form-success h3 { font-size: 20px; margin-bottom: 8px; }
.form-success p { font-size: 14px; color: var(--text2); }

/* ── BLOG ── */
.blog-toolbar { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 44px; }
.blog-filter { font-family: var(--font-display); font-size: 13px; font-weight: 600; color: var(--text2); background: var(--bg2); border: 1px solid var(--border2); padding: 9px 17px; border-radius: 100px; cursor: pointer; transition: all .2s; min-height: 40px; }
.blog-filter:hover { color: var(--text); border-color: var(--accent2); }
.blog-filter.active { color: #fff; background: var(--accent); border-color: var(--accent); }

.blog-featured { margin-bottom: 48px; }
.blog-featured a { display: grid; grid-template-columns: 1.1fr 1fr; gap: 0; background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; text-decoration: none; transition: border-color .25s, transform .25s var(--ease); }
.blog-featured a:hover { border-color: var(--border2); transform: translateY(-3px); }
.blog-featured .bf-media { position: relative; min-height: 320px; overflow: hidden; background: var(--bg3); }
.blog-featured .bf-media img { width: 100%; height: 100%; object-fit: cover; }
.blog-featured .bf-body { padding: 40px; display: flex; flex-direction: column; justify-content: center; }
.blog-featured .bf-body h2 { font-size: clamp(24px,2.6vw,34px); margin: 14px 0 12px; text-wrap: balance; }
.blog-featured .bf-body p { font-size: 16px; color: var(--text2); line-height: 1.65; margin-bottom: 20px; }

.blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.bcard { display: flex; flex-direction: column; background: var(--bg2); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; text-decoration: none; transition: border-color .25s, transform .25s var(--ease); }
.bcard:hover { border-color: var(--border2); transform: translateY(-4px); }
.bcard .bc-media { aspect-ratio: 16/10; overflow: hidden; background: var(--bg3); }
.bcard .bc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.bcard:hover .bc-media img { transform: scale(1.04); }
.bcard .bc-body { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.bcard h3 { font-size: 19px; line-height: 1.3; margin: 12px 0 10px; text-wrap: balance; }
.bcard p { font-size: 14px; color: var(--text2); line-height: 1.6; margin-bottom: 18px; flex: 1; }
.bmeta { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--text3); }
.bmeta .cat { color: var(--accent2); font-weight: 600; font-family: var(--font-display); letter-spacing: 0.04em; text-transform: uppercase; }
.bmeta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--text3); }
.bcard .bc-foot { display: flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; font-size: 13px; color: var(--accent2); }
.bcard .bc-foot svg { transition: transform .25s var(--ease); }
.bcard:hover .bc-foot svg { transform: translateX(4px); }

/* ── BLOG POST ── */
.post-hero { max-width: 760px; margin: 0 auto; text-align: center; }
.post-hero h1 { font-size: clamp(32px,4.4vw,52px); margin: 18px 0; text-wrap: balance; }
.post-meta { display: flex; align-items: center; justify-content: center; gap: 12px; font-size: 14px; color: var(--text3); flex-wrap: wrap; }
.post-meta .cat { color: var(--accent2); font-weight: 600; font-family: var(--font-display); letter-spacing: 0.05em; text-transform: uppercase; }
.post-cover { max-width: 940px; margin: 44px auto 0; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.post-cover img { width: 100%; height: auto; }
.post-body { max-width: 720px; margin: 0 auto; padding-top: 8px; }
.post-share { max-width: 720px; margin: 48px auto 0; padding-top: 28px; border-top: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.post-nav-back { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-display); font-weight: 600; font-size: 14px; color: var(--text2); text-decoration: none; }
.post-nav-back:hover { color: var(--text); }
.loading { text-align: center; padding: 80px 20px; color: var(--text3); font-size: 15px; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .win-body { grid-template-columns: 160px 1fr; }
}
@media (max-width: 920px) {
  .page-hero { padding: 120px 0 50px; }
  .split { grid-template-columns: 1fr; gap: 30px; }
  .split.flip .split-media { order: 0; }
  .split + .split { margin-top: 56px; }
  .cards-3, .cards-4, .blog-grid { grid-template-columns: 1fr 1fr; }
  .stat-strip { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .blog-featured a { grid-template-columns: 1fr; }
  .blog-featured .bf-media { min-height: 220px; }
  .win-body { grid-template-columns: 1fr; }
  .win-side { display: none; }
}
@media (max-width: 560px) {
  .cards-3, .cards-4, .blog-grid { grid-template-columns: 1fr; }
  .stat-strip { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .win-grid { grid-template-columns: 1fr 1fr; }
  .blog-featured .bf-body { padding: 26px; }
  .form-card { padding: 24px; }
}
