/* HBO Max Content Discovery Wheel - Styles */
* { box-sizing: border-box; }
html { font-size: 16px; }
body { margin: 0; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif; background: linear-gradient(135deg, #0f0f23 0%, #1a1a2e 100%); color: #e0e0e0; min-height: 100vh; }
.container { max-width: 1200px; margin: 0 auto; padding: 1rem; }
.site-header { background: rgba(0,0,0,0.3); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255,255,255,0.1); }
.site-header h1 { margin: 0.5rem 0 0.25rem; font-size: 1.75rem; color: #fff; }
.site-header .tagline { margin: 0 0 0.75rem; font-size: 0.9rem; color: #a0a0a0; font-weight: 300; }
.site-header nav a { margin-right: 1.5rem; color: #4a90d9; text-decoration: none; font-size: 0.95rem; transition: color 0.2s; }
.site-header nav a:hover { color: #6ab3ff; }
.site-footer { background: rgba(0,0,0,0.4); border-top: 1px solid rgba(255,255,255,0.1); padding: 1rem 0; margin-top: 2rem; }
.site-footer a { color: #4a90d9; text-decoration: none; font-size: 0.85rem; }
.site-footer a:hover { text-decoration: underline; }
.intro { padding: 1.5rem 0; }
.intro h2 { font-size: 1.5rem; margin-bottom: 0.75rem; color: #fff; }
.intro p { line-height: 1.6; max-width: 700px; }
.wheel-section { display: flex; flex-direction: column; align-items: center; gap: 1.5rem; padding: 1rem 0; }
.wheel-container { position: relative; }
.wheel-visual { cursor: pointer; border-radius: 50%; padding: 1rem; background: rgba(255,255,255,0.05); }
.wheel-center { font-size: 11px; }
.segment-label { font-size: 9px; }
.selection-overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; }
.selector { position: absolute; display: flex; align-items: center; gap: 0.5rem; background: rgba(255,255,255,0.1); padding: 0.4rem 0.8rem; border-radius: 20px; font-size: 0.85rem; transition: all 0.2s; pointer-events: auto; }
.selector:hover { background: rgba(255,255,255,0.2); }
.selector.active { background: #e94560; box-shadow: 0 0 0 3px #e94560; }
.selector-dot { width: 10px; height: 10px; background: #fff; border-radius: 50%; }
.controls-section { display: flex; gap: 2rem; flex-wrap: wrap; justify-content: center; }
.control-group label { display: block; font-size: 0.8rem; color: #a0a0a0; margin-bottom: 0.25rem; }
.time-slider-container { display: flex; align-items: center; gap: 0.75rem; }
#timeSlider { width: 120px; }
.time-value { font-size: 0.9rem; font-weight: 500; color: #4a90d9; min-width: 60px; text-align: center; }
.viewing-options { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.view-btn { padding: 0.4rem 0.8rem; border: 1px solid #333; border-radius: 15px; background: rgba(255,255,255,0.1); color: #e0e0e0; cursor: pointer; transition: all 0.2s; font-size: 0.8rem; }
.view-btn:hover { background: rgba(255,255,255,0.2); }
.view-btn.active { background: #e94560; border-color: #e94560; color: #fff; }
.results-section { padding: 1.5rem 0; }
.results-section h2 { font-size: 1.4rem; margin-bottom: 1rem; color: #fff; }
.pathway-display { display: flex; gap: 1rem; overflow-x: auto; padding: 0.5rem 0; margin-bottom: 1rem; }
.path-step { background: rgba(255,255,255,0.1); padding: 0.5rem 1rem; border-radius: 10px; font-size: 0.85rem; white-space: nowrap; }
.path-step.active { background: #e94560; color: #fff; }
.step-number { font-weight: bold; margin-right: 0.5rem; }
.content-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.card { background: rgba(255,255,255,0.05); border-radius: 12px; padding: 1rem; border: 1px solid rgba(255,255,255,0.1); transition: all 0.2s; }
.card:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,0.3); }
.card h3 { margin: 0 0 0.25rem; font-size: 1.1rem; color: #fff; }
.card-genre { margin: 0.1rem 0 0.5rem; font-size: 0.8rem; color: #4a90d9; }
.card-desc { font-size: 0.85rem; line-height: 1.4; color: #b0b0b0; margin-bottom: 0.75rem; }
.add-bookmark { background: none; border: none; color: #666; cursor: pointer; font-size: 1.1rem; position: absolute; top: 0.75rem; right: 0.75rem; transition: color 0.2s; }
.add-bookmark:hover { color: #ffd700; }
.pathway-footer { display: flex; gap: 0.75rem; justify-content: center; margin-top: 1rem; }
.save-pathway, .share-pathway, .print-pathway { padding: 0.6rem 1.2rem; border: none; border-radius: 8px; cursor: pointer; font-size: 0.9rem; transition: all 0.2s; }
.save-pathway { background: #4a90d9; color: #fff; }
.share-pathway { background: #845ec2; color: #fff; }
.print-pathway { background: #2d2d44; color: #fff; }
.save-pathway:hover, .share-pathway:hover, .print-pathway:hover { transform: translateY(-1px); }
presets-section, .tips-section, .faq-section { padding: 1.5rem 0; }
presets-section h2, .tips-section h2, .faq-section h2 { font-size: 1.3rem; margin-bottom: 0.75rem; color: #fff; }
.section-intro { color: #a0a0a0; font-size: 0.95rem; margin-bottom: 1.5rem; }
preset-cards, .tip-grid, .faq-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1rem; }
.preset-card, .tip-card, .faq-item { background: rgba(255,255,255,0.05); border-radius: 10px; padding: 1rem; border: 1px solid rgba(255,255,255,0.1); }
.preset-card h3, .tip-card h3, .faq-item h4 { margin: 0 0 0.5rem; font-size: 1rem; color: #fff; }
.preset-desc, .tip-card p, .faq-item p { font-size: 0.85rem; line-height: 1.5; color: #b0b0b0; }
.preset-card ul { margin: 0.5rem 0 0; padding-left: 1.2rem; }
.legal-notice { text-align: center; padding: 1rem; margin-top: 2rem; color: #666; font-size: 0.75rem; }
@media (min-width: 768px) { 
  .wheel-section { flex-direction: row; align-items: flex-start; }
  .controls-section { flex-direction: row; }
  .time-slider-container { width: auto; }
  #timeSlider { width: 150px; }
  .content-cards { grid-template-columns: repeat(3, 1fr); }
  .preset-cards, .tip-grid, .faq-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) { 
  .content-cards { grid-template-columns: repeat(4, 1fr); }
  .preset-cards, .tip-grid, .faq-grid { grid-template-columns: repeat(4, 1fr); }
  .site-header h1 { font-size: 2rem; }
}


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