/* Love Island Victory Playbook Styles */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; line-height: 1.6; color: #333; background: #fff; }
a { color: #2563eb; text-decoration: none; }
a:hover { text-decoration: underline; }
header { background: #dc2626; color: white; padding: 1rem 2rem; position: sticky; top: 0; z-index: 100; }
.logo { font-size: 1.5rem; font-weight: 700; color: white; }
nav { display: flex; justify-content: space-between; align-items: center; }
main { max-width: 1200px; margin: 0 auto; padding: 2rem; }
section { margin-bottom: 3rem; }
h1, h2, h3, h4 { color: #1f2937; margin-bottom: 1rem; }
h1 { font-size: 2.5rem; text-align: center; color: #dc2626; }
h2 { font-size: 1.8rem; border-bottom: 2px solid #fee2e2; padding-bottom: 0.5rem; }
.hero { text-align: center; background: linear-gradient(135deg, #fef2f2, #fee2e2); padding: 3rem; border-radius: 12px; margin-bottom: 2rem; }
.subtitle { font-size: 1.25rem; color: #6b7280; margin-bottom: 2rem; }
.controls { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
select, button { padding: 0.75rem 1.5rem; border-radius: 8px; border: 1px solid #d1d5db; font-size: 1rem; cursor: pointer; }
select { background: white; }
button { background: #2563eb; color: white; border: none; }
button:hover { background: #1d4ed8; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; margin: 2rem 0; }
.stat-card { background: #f9fafb; border-radius: 8px; padding: 1.5rem; text-align: center; border-left: 4px solid #2563eb; }
.stat-value { font-size: 2rem; font-weight: 700; color: #111827; }
.stat-card h3 { font-size: 0.9rem; color: #6b7280; margin-bottom: 0.5rem; }
.results-table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
.results-table th, .results-table td { padding: 1rem; text-align: left; border-bottom: 1px solid #e5e7eb; }
.results-table th { background: #f9fafb; font-weight: 600; }
.empty-state { text-align: center; color: #6b7280; font-style: italic; padding: 2rem; }
.comparison-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.5rem; margin: 1.5rem 0; }
.comparison-item { background: #f9fafb; border-radius: 8px; padding: 1.5rem; }
.comparison-item h4 { color: #1f2937; margin-bottom: 1rem; font-size: 1.1rem; }
.comparison-item ul { list-style: none; padding-left: 0; }
.comparison-item li { padding: 0.5rem 0; border-bottom: 1px solid #f3f4f6; display: flex; }
.comparison-item li:last-child { border-bottom: none; }
.comparison-item li strong { color: #374151; }
.insight-card { background: #fef2f2; border-radius: 8px; padding: 1.5rem; margin-bottom: 1rem; border-left: 4px solid #dc2626; }
.insight-card h3 { color: #7f1d1d; margin-bottom: 0.75rem; }
.footer-content { background: #f9fafb; padding: 2rem; border-radius: 8px; margin-top: 2rem; }
.site-note { color: #6b7280; font-size: 0.95rem; margin-bottom: 0.5rem; }
.last-updated { font-size: 0.85rem; color: #9ca3af; }
@media (max-width: 768px) { .hero { padding: 2rem; } h1 { font-size: 2rem; } .controls { flex-direction: column; } .comparison-grid { grid-template-columns: 1fr; } }
@media (max-width: 480px) { main { padding: 1rem; } section { margin-bottom: 1.5rem; } .stats-grid { grid-template-columns: 1fr; } }


/* Factory-injected deployment helpers. The AI owns the site design above this block. */
.ad-unit {
  width: min(100%, 720px);
  min-height: 120px;
  margin: 24px auto;
  display: block;
}

.legal-page {
  width: min(900px, calc(100% - 32px));
  margin: 40px auto;
}

.factory-fallback-nav {
  width: min(900px, calc(100% - 32px));
  margin: 24px auto 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  font-size: 0.95rem;
}

.factory-fallback-nav a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}
