/* Black Ops 2 PS5 Performance Suite - Styles */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  line-height: 1.6;
  color: #1a1a1a;
  background: #f8f9fa;
  min-height: 100vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.site-header {
  background: linear-gradient(135deg, #0a192f 0%, #172a45 100%);
  color: #fff;
  padding: 2rem 0;
  border-bottom: 3px solid #ea3927;
}

.tagline {
  opacity: 0.9;
  margin-top: 0.5rem;
  font-size: 1.1rem;
}

.nav {
  margin-top: 1.5rem;
  display: flex;
  gap: 2rem;
}

.nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: opacity 0.2s;
}

.nav a:hover {
  opacity: 0.8;
}

.hero-section {
  background: linear-gradient(135deg, #172a45 0%, #2c4a71 100%);
  color: #fff;
  padding: 3rem 0 2.5rem;
  margin-bottom: 2rem;
}

.hero-content h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.quick-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.stat-card {
  background: rgba(255,255,255,0.1);
  padding: 1rem;
  border-radius: 8px;
  text-align: center;
}

.stat-value {
  display: block;
  font-size: 1.8rem;
  font-weight: 700;
  color: #ea3927;
}

.stat-label {
  font-size: 0.85rem;
  opacity: 0.9;
}

.comparator-section, .presets-section, .benchmarks-section, .upgrade-section {
  margin-bottom: 2.5rem;
}

h2 {
  font-size: 1.8rem;
  margin-bottom: 1.5rem;
  color: #0a192f;
  border-bottom: 2px solid #ea3927;
  padding-bottom: 0.5rem;
}

.controls-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.control-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #333;
}

.control-group select {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid #ddd;
  border-radius: 6px;
  font-size: 1rem;
  background: #fff;
  cursor: pointer;
}

.control-group select:focus {
 outline: none;
  border-color: #ea3927;
}

.comparison-panel {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.platform-card {
  background: #fff;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border: 2px solid #e9ecef;
}

.ps5-card { border-color: #5c7cfa; }

.ps4-card { border-color: #6c757d; }

.platform-card h3 {
  font-size: 1.3rem;
  margin-bottom: 1rem;
  color: #333;
}

.ps5-card h3 { color: #5c7cfa; }

.ps4-card h3 { color: #6c757d; }

.platform-specs {
  margin-bottom: 1rem;
}

.spec-item {
  display: flex;
  justify-content: space-between;
  padding: 0.5rem 0;
  border-bottom: 1px solid #eee;
}

.spec-label {
  color: #666;
}

.spec-value {
  font-weight: 600;
  color: #333;
}

.recommendation {
  background: #f8f9fa;
  padding: 0.75rem;
  border-radius: 6px;
  font-size: 0.9rem;
  color: #555;
}

.presets-section .preset-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.preset-btn {
  background: #ea3927;
  color: #fff;
  border: none;
  padding: 0.75rem 1.25rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.2s, transform 0.1s;
}

.preset-btn:hover {
  background: #c95955;
}

.preset-btn:active {
  transform: scale(0.98);
}

.benchmark-table {
  overflow-x: auto;
}

.benchmark-table table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
}

.benchmark-table th,
.benchmark-table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid #eee;
}

.benchmark-table th {
  background: #0a192f;
  color: #fff;
  font-weight: 600;
}

.benchmark-table tr:last-child td {
  border-bottom: none;
}

.upgrade-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.upgrade-benefit, .upgrade-caution {
  background: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.upgrade-caution {
  background: #fff8e6;
  border-left: 4px solid #ffc107;
}

.upgrade-benefit h3, .upgrade-caution h3 {
  margin-bottom: 0.75rem;
  color: #333;
}

.share-section, .guide-section {
  background: #fff;
  padding: 1.75rem;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  margin-bottom: 2rem;
}

.share-controls {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.share-btn {
  background: #5c7cfa;
  color: #fff;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.2s;
}

.share-btn:hover {
  background: #4a60e0;
}

.feedback {
  margin-top: 1rem;
  padding: 0.75rem;
  background: #e8f5e9;
  border-radius: 6px;
  display: none;
}

.site-footer {
  background: #0a192f;
  color: #aaa;
  padding: 2rem 0 1.5rem;
  font-size: 0.9rem;
  border-top: 2px solid #172a45;
}

.site-footer a {
  color: #ea3927;
  text-decoration: none;
}

.site-footer a:hover {
  text-decoration: underline;
}

.small {
  opacity: 0.7;
  margin-top: 0.5rem;
}

@media (max-width: 768px) {
  .hero-content h2 { font-size: 1.8rem; }
  .quick-stats { grid-template-columns: repeat(3, 1fr); }
  .comparison-panel { grid-template-columns: 1fr; }
  .nav { justify-content: center; }
  .share-controls { flex-direction: column; }
  .preset-buttons { justify-content: center; }
}

@media (max-width: 480px) {
  .quick-stats { grid-template-columns: 1fr; }
  .container { padding: 0 1rem; }
}



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