/* Home presentation only. Shared colors come from design-system.css. */
.betscore-home-page {
  --home-divider: #2b3c4e;
  --home-radius: 14px;
}
.betscore-home-page .home-main { padding-top: 24px; }
.betscore-home-page > nav { box-shadow: 0 1px 0 rgb(0 0 0 / 12%); }
.betscore-home-page .betscore-vip-button {
  background: transparent;
  color: var(--bs-secondary);
}
.betscore-home-page :is(#desktopLoginBtn, #mobileLoginBtn) {
  align-items: center;
  justify-content: center;
  min-height: 40px;
  background: transparent;
  color: var(--bs-blue);
  border: 1px solid #41618a;
  border-radius: 8px;
}
.betscore-home-page :is(#desktopLoginBtn, #mobileLoginBtn):not(.hidden) { display: inline-flex; }
.betscore-home-page :is(#desktopLoginBtn, #mobileLoginBtn):hover {
  background: #1b304a;
}
.betscore-home { font-size: 15px; }
.betscore-home > * { min-width: 0; }
.betscore-home :is(h1, h2, h3) { color: var(--bs-text); }
.betscore-home h2 { font-size: 24px; line-height: 1.4; letter-spacing: -.025em; }
.betscore-home :is(.text-gray-200, .text-gray-300) { color: var(--bs-secondary); }
.betscore-home :is(.text-blue-400, .text-blue-300) { color: var(--bs-blue); }
.betscore-home a { text-underline-offset: 4px; }
.betscore-home .card-dark { border-color: var(--home-divider); }

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  align-items: center;
  gap: 28px;
  padding: 32px;
  margin-bottom: 32px;
  border: 1px solid #2a4566;
  border-radius: var(--home-radius);
  background: linear-gradient(115deg, #142b50, #172638);
}
.home-hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--bs-blue);
  font-size: 13px;
  font-weight: 600;
}
.home-hero-icon { font-size: 22px; line-height: 1; }
.home-hero h1 {
  margin: 0 0 12px;
  font-size: 32px;
  line-height: 1.35;
  font-weight: 750;
  letter-spacing: -.035em;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.home-hero-description {
  max-width: 680px;
  margin-bottom: 22px;
  color: var(--bs-secondary);
  font-size: 15px;
  line-height: 1.75;
  word-break: keep-all;
  overflow-wrap: anywhere;
}
.home-hero-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.home-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}
.home-action-secondary {
  border-color: #50657c;
  color: var(--bs-text);
  background: rgb(11 17 25 / 12%);
}
.home-action-secondary:hover { background: #233d58; border-color: var(--bs-secondary); }
.home-stats { padding-left: 28px; border-left: 1px solid #39516a; }
.home-stats-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 16px; }
.home-stats-grid > div { text-align: left; }
.home-stats-grid .text-2xl { font-size: 26px; line-height: 1.3; font-variant-numeric: tabular-nums; }
.home-stats-grid .text-xs { margin-top: 5px; color: var(--bs-secondary); font-size: 13px; }

.home-case-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); gap: 16px; }
.home-case-card { border-radius: var(--home-radius); }
.home-case-card > a { display: flex; flex-direction: column; height: 100%; }
.home-case-card:hover { border-color: #627b94; }
.home-case-cover { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.home-case-copy { padding: 20px; }
.home-case-card h3 { font-size: 18px; line-height: 1.5; overflow-wrap: anywhere; }
.home-case-card p { font-size: 14px; line-height: 1.75; }
#prediction-case-studies > div:first-child { margin-bottom: 16px; }
#prediction-case-studies > div:first-child > div > p:first-child { font-size: 13px; margin-bottom: 6px; }
#prediction-case-studies > div:first-child h2 { margin-bottom: 8px; }

.home-briefing { margin-bottom: 32px; border-radius: var(--home-radius); overflow: hidden; }
.home-briefing-header { padding: 20px 24px; border-bottom: 1px solid var(--home-divider); }
.home-briefing-header > div { flex-wrap: wrap; gap: 12px; }
.home-briefing-header h2 { gap: 10px; }
.home-briefing-header h2 > span { font-size: 22px; }
.home-briefing-date { color: var(--bs-muted); font-size: 13px; font-variant-numeric: tabular-nums; }
.home-briefing-body { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; padding: 24px; }
.home-briefing-body > div { min-width: 0; }
.home-briefing-body h3 { margin-bottom: 12px; font-size: 16px; line-height: 1.5; }
.home-briefing-body h3 > span { font-size: 18px; }
.home-briefing-body p, .home-briefing-body li { font-size: 15px; line-height: 1.75; overflow-wrap: anywhere; }
.home-briefing-summary, .home-high-confidence, .home-briefing-fallback { grid-column: 1 / -1; }
.home-briefing-summary { padding-bottom: 20px; border-bottom: 1px solid var(--home-divider); }
.home-briefing-summary h3 { color: var(--bs-blue); }
.home-briefing-body:not(:has(.home-recommendations)) .home-insights,
.home-briefing-body:not(:has(.home-insights)) .home-recommendations { grid-column: 1 / -1; }
.home-insight { display: flex; align-items: flex-start; gap: 10px; }
.home-insight > span { margin-top: 1px; }
.home-recommendation-list { padding: 16px; border: 1px solid var(--home-divider); background: #172535; border-radius: 10px; }
.home-recommendation-list li + li { margin-top: 12px; }
.home-confidence-card { padding: 16px; border: 1px solid #36594f; border-radius: 10px; background: #142d2b; }
.home-confidence-value { padding: 3px 8px; border-radius: 6px; color: #a8ead7; background: #23473e; font-size: 13px; font-weight: 700; }
.home-confidence-card p { font-size: 13px; }
.home-briefing-footer { padding: 14px 24px; border-top: 1px solid var(--home-divider); }

.home-features { margin: 32px 0; }
.home-features > h2 { text-align: left; margin-bottom: 16px; }
.home-features > .grid { gap: 16px; }
.home-features .card-dark { border-radius: var(--home-radius); }
.home-features .card-dark > div:first-child {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 20px 0;
  background: transparent;
  border: 0;
}
.home-features .card-dark > div:first-child > div { font-size: 26px; margin: 0; }
.home-features h3 { margin: 0; font-size: 17px; line-height: 1.5; }
.home-features .card-dark > div:last-child { padding: 16px 20px 20px; }
.home-features p { line-height: 1.75; }
.home-features .text-xs { font-size: 13px; }
.home-features .text-green-400 { color: var(--bs-muted); }
.home-features .rounded-full { background: #1e3044; color: var(--bs-secondary); border-radius: 6px; }

@media (min-width: 768px) {
  .home-case-card:only-child:has(img) > a { display: grid; grid-template-columns: 240px minmax(0, 1fr); align-items: center; }
  .home-case-card:only-child .home-case-cover { height: 100%; min-height: 160px; }
}
@media (max-width: 1023px) {
  .home-hero { grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 28px; }
  .home-stats { border-left: 0; border-top: 1px solid #39516a; padding: 20px 0 0; }
  .home-stats-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
}
@media (max-width: 767px) {
  .betscore-home-page .home-main { padding-top: 20px; }
  .betscore-home h2 { font-size: 21px; }
  .home-hero { padding: 22px; }
  .home-hero h1 { font-size: 26px; }
  .home-briefing-header, .home-briefing-footer { padding: 16px; }
  .home-briefing-body { grid-template-columns: minmax(0, 1fr); gap: 20px; padding: 16px; }
  .home-case-copy { padding: 16px; }
  .home-case-cover { max-height: 220px; }
  .home-features .card-dark > div:first-child { padding: 16px 16px 0; }
  .home-features .card-dark > div:last-child { padding: 12px 16px 16px; }
}
@media (max-width: 480px) {
  .home-hero { padding: 20px; }
  .home-hero-actions { flex-direction: column; }
  .home-action { width: 100%; }
  .home-stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .home-stats-grid .text-2xl { font-size: 24px; }
}
