/* Lottery Combination Calculator Styles */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif; line-height: 1.6; color: #333; background: #fff; } 
a { color: #2563eb; text-decoration: none; } 
a:hover { text-decoration: underline; }

.nav { display: flex; justify-content: space-between; align-items: center; padding: 1rem 2rem; background: #f8fafc; border-bottom: 1px solid #e2e8f0; position: sticky; top: 0; z-index: 100; }
.nav-logo { font-weight: 700; font-size: 1.5rem; color: #1e293b; }
.nav-links { list-style: none; display: flex; gap: 1.5rem; }
.nav-links a { color: #64748b; font-weight: 500; }
.nav-links a:hover { color: #2563eb; }

.hero { padding: 2rem; max-width: 800px; margin: 0 auto; }
.hero h1 { font-size: 2.5rem; margin-bottom: 1rem; color: #1e293b; }
.hero p { color: #64748b; margin-bottom: 2rem; font-size: 1.1rem; }

.preset-selector { margin-bottom: 2rem; }
.preset-selector label { font-weight: 600; margin-right: .5rem; }
.preset-selector select { padding: .5rem 1rem; border: 1px solid #cbd5e1; border-radius: 6px; font-size: 1rem; }

.game-settings { display: flex; gap: 2rem; margin-bottom: 2rem; }
.setting-group { flex: 1; }
.setting-group label { display: block; margin-bottom: .5rem; font-weight: 600; color: #475569; }
.setting-group input { width: 100%; padding: .75rem; border: 1px solid #cbd5e1; border-radius: 6px; font-size: 1rem; }

.numbers-input { background: #f8fafc; padding: 2rem; border-radius: 12px; margin-bottom: 2rem; }
.numbers-input h2 { margin-bottom: 1.5rem; color: #1e293b; }

.number-grid { display: grid; grid-template-columns: repeat(10, 1fr); gap: .5rem; max-width: 500px; margin-bottom: 1.5rem; }
.number-btn { aspect-ratio: 1; display: flex; align-items: center; justify-content: center; border: 2px solid #cbd5e1; border-radius: 8px; font-size: 1.1rem; font-weight: 600; cursor: pointer; background: #fff; transition: all .2s; }
.number-btn:hover { background: #eff6ff; border-color: #93c5fd; }
.number-btn.selected { background: #2563eb; color: #fff; border-color: #2563eb; }
.number-btn.disabled { background: #f1f5f9; border-color: #e2e8f0; cursor: not-allowed; }

.number-display { display: flex; align-items: center; gap: .5rem; font-size: 1.1rem; }
.number-display input { width: 3rem; text-align: center; padding: .25rem; border: 1px solid #cbd5e1; border-radius: 4px; font-weight: 600; }
.number-display span { color: #64748b; }

.results { padding: 0 2rem 2rem; }
.results h2 { font-size: 1.8rem; margin-bottom: 1.5rem; color: #1e293b; }

.result-card { background: #f8fafc; padding: 2rem; border-radius: 12px; margin-bottom: 2rem; }
.result-item { display: flex; justify-content: space-between; padding: .75rem 0; border-bottom: 1px solid #e2e8f0; }
.result-item:last-child { border-bottom: none; }
.result-label { color: #64748b; font-weight: 500; }
.result-value { font-weight: 700; color: #1e293b; font-size: 1.2rem; }

.export-actions { display: flex; gap: 1rem; margin-top: 1.5rem; }
.btn { padding: .75rem 1.5rem; border: none; border-radius: 6px; cursor: pointer; font-weight: 600; transition: all .2s; }
.btn-primary { background: #2563eb; color: #fff; }
.btn-primary:hover { background: #1d4ed8; }
.btn-secondary { background: #e2e8f0; color: #475569; }
.btn-secondary:hover { background: #cbd5e1; }

.strategy-guide { padding: 0 2rem 2rem; }
.strategy-guide h2 { font-size: 1.8rem; margin-bottom: 1rem; color: #1e293b; }
.strategy-guide h3 { font-size: 1.3rem; margin: 1.5rem 0 .75rem; color: #334155; }
.strategy-guide p { margin-bottom: 1rem; color: #475569; }
.strategy-list { margin-left: 1.5rem; margin-bottom: 1rem; }
.strategy-list li { margin-bottom: .5rem; }

.example-box { background: #fff; border: 1px solid #cbd5e1; border-radius: 8px; padding: 1.5rem; margin: 1rem 0; }
.example-box h3 { margin-bottom: .5rem; }

.footer-note { text-align: center; color: #64748b; font-size: .9rem; margin-bottom: .5rem; }
.footer-meta { text-align: center; color: #94a3b8; font-size: .85rem; }
.footer-meta a { color: #94a3b8; }

@media (max-width: 768px) { 
  .nav { flex-direction: column; gap: 1rem; padding: 1rem; }
  .nav-links { flex-direction: column; gap: .75rem; }
  .hero { padding: 1rem; }
  .hero h1 { font-size: 2rem; }
  .game-settings { flex-direction: column; gap: 1rem; }
  .number-grid { grid-template-columns: repeat(5, 1fr); }
  .results, .strategy-guide { padding: 0 1rem 1rem; }
  .export-actions { flex-direction: column; }
}

@media (max-width: 480px) { 
  .number-grid { grid-template-columns: repeat(4, 1fr); }
  .nav-logo { font-size: 1.25rem; }
}


/* 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;
}
