/* ==========================================================================
   Respawn Radar - Professional Dark Gaming Theme Styles
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Orbitron:wght@500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  --bg-primary: #0a0c10;
  --bg-secondary: #11151e;
  --bg-card: #151a26;
  --bg-card-hover: #1b2232;
  --border-color: #232c3f;
  --border-glow: rgba(0, 255, 102, 0.25);
  --accent-neon: #00ff66;
  --accent-neon-glow: rgba(0, 255, 102, 0.4);
  --accent-cyan: #00d9ff;
  --accent-purple: #9d4edd;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --ps-blue: #00439c;
  --xbox-green: #107c10;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: #232c3f;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-neon);
}

/* Base Styles */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  selection-background-color: var(--accent-neon);
  selection-color: #000;
}

::selection {
  background-color: var(--accent-neon);
  color: #05070a;
}

.font-heading {
  font-family: 'Orbitron', sans-serif;
  letter-spacing: 0.04em;
}

.font-mono {
  font-family: 'JetBrains Mono', monospace;
}

/* Glow & Neon Effects */
.glow-neon {
  text-shadow: 0 0 10px rgba(0, 255, 102, 0.5), 0 0 20px rgba(0, 255, 102, 0.2);
}

.glow-cyan {
  text-shadow: 0 0 10px rgba(0, 217, 255, 0.5), 0 0 20px rgba(0, 217, 255, 0.2);
}

.box-glow-neon {
  box-shadow: 0 0 15px rgba(0, 255, 102, 0.2), inset 0 0 15px rgba(0, 255, 102, 0.05);
}

.border-glow-neon {
  border-color: rgba(0, 255, 102, 0.4);
  box-shadow: 0 0 12px rgba(0, 255, 102, 0.25);
}

/* Radar Sweep Animation */
@keyframes radarSweep {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.radar-sweep {
  animation: radarSweep 4s linear infinite;
}

@keyframes pulseRadar {
  0%, 100% {
    opacity: 0.2;
    transform: scale(0.95);
  }
  50% {
    opacity: 0.6;
    transform: scale(1.05);
  }
}

.radar-pulse {
  animation: pulseRadar 3s ease-in-out infinite;
}

/* Background Cyber Grid */
.bg-cyber-grid {
  background-size: 40px 40px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
}

/* Controller Button Styling */
.gamepad-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  border-radius: 6px;
  padding: 2px 7px;
  font-size: 0.75rem;
  line-height: 1.2;
  margin: 1px 3px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transition: all 0.15s ease;
  user-select: none;
}

.gamepad-btn:hover {
  transform: translateY(-1px);
}

.btn-ps-action {
  background: #192033;
  color: #60a5fa;
  border-color: rgba(96, 165, 250, 0.4);
}
.btn-ps-action.triangle { color: #34d399; border-color: rgba(52, 211, 153, 0.5); }
.btn-ps-action.circle { color: #f87171; border-color: rgba(248, 113, 113, 0.5); }
.btn-ps-action.cross { color: #60a5fa; border-color: rgba(96, 165, 250, 0.5); }
.btn-ps-action.square { color: #e879f9; border-color: rgba(232, 121, 249, 0.5); }

.btn-xbox-action {
  background: #16201a;
  border-color: rgba(16, 185, 129, 0.3);
}
.btn-xbox-action.y { color: #fbbf24; border-color: rgba(251, 191, 36, 0.5); }
.btn-xbox-action.b { color: #ef4444; border-color: rgba(239, 68, 68, 0.5); }
.btn-xbox-action.a { color: #22c55e; border-color: rgba(34, 197, 94, 0.5); }
.btn-xbox-action.x { color: #38bdf8; border-color: rgba(56, 189, 248, 0.5); }

.btn-dpad {
  background: #1e2532;
  color: #cbd5e1;
  border-color: #334155;
}

.btn-shoulder {
  background: #232b3b;
  color: #f1f5f9;
  border-color: #475569;
  padding: 2px 8px;
}

/* Status Badges */
.badge-confirmed {
  background-color: rgba(0, 255, 102, 0.12);
  color: #00ff66;
  border: 1px solid rgba(0, 255, 102, 0.3);
}

.badge-reported {
  background-color: rgba(234, 179, 8, 0.12);
  color: #fbbf24;
  border: 1px solid rgba(234, 179, 8, 0.3);
}

.badge-not-discovered {
  background-color: rgba(148, 163, 184, 0.12);
  color: #94a3b8;
  border: 1px solid rgba(148, 163, 184, 0.3);
}

/* Reading Progress Bar */
#reading-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, #00ff66, #00d9ff);
  z-index: 100;
  width: 0%;
  transition: width 0.1s ease-out;
  box-shadow: 0 0 10px rgba(0, 255, 102, 0.7);
}

/* Callout Boxes */
.callout-box {
  border-left: 4px solid var(--accent-neon);
  background: linear-gradient(90deg, rgba(0, 255, 102, 0.08) 0%, rgba(21, 26, 38, 0.6) 100%);
  border-radius: 0 8px 8px 0;
}

.callout-warning {
  border-left: 4px solid #ef4444;
  background: linear-gradient(90deg, rgba(239, 68, 68, 0.1) 0%, rgba(21, 26, 38, 0.6) 100%);
  border-radius: 0 8px 8px 0;
}

.callout-info {
  border-left: 4px solid #00d9ff;
  background: linear-gradient(90deg, rgba(0, 217, 255, 0.1) 0%, rgba(21, 26, 38, 0.6) 100%);
  border-radius: 0 8px 8px 0;
}

.callout-tip {
  border-left: 4px solid #fbbf24;
  background: linear-gradient(90deg, rgba(251, 191, 36, 0.1) 0%, rgba(21, 26, 38, 0.6) 100%);
  border-radius: 0 8px 8px 0;
}

/* Article Typography */
.article-content h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #f8fafc;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border-color);
  letter-spacing: 0.02em;
}

@media (min-width: 768px) {
  .article-content h2 {
    font-size: 1.85rem;
  }
}

.article-content h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #e2e8f0;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.article-content p {
  color: #cbd5e1;
  line-height: 1.8;
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
}

.article-content ul, .article-content ol {
  color: #cbd5e1;
  margin-bottom: 1.25rem;
  padding-left: 1.5rem;
  line-height: 1.75;
}

.article-content li {
  margin-bottom: 0.5rem;
}

/* Responsive Table Wrappers */
.table-responsive-wrapper {
  overflow-x: auto;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  background-color: var(--bg-card);
  margin: 1.5rem 0 2rem 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.cheat-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.925rem;
}

.cheat-table th {
  background-color: #1a2130;
  color: #f1f5f9;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  padding: 12px 16px;
  border-bottom: 2px solid var(--border-color);
  white-space: nowrap;
}

.cheat-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #1c2434;
  vertical-align: middle;
}

.cheat-table tr:hover td {
  background-color: rgba(255, 255, 255, 0.02);
}

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

/* Ad Slot Placeholders */
.ad-slot-container {
  background: rgba(18, 23, 33, 0.6);
  border: 1px dashed #2a354c;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 2rem 0;
  padding: 1.25rem;
  position: relative;
  overflow: hidden;
}

.ad-label {
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #64748b;
  margin-bottom: 6px;
  font-family: 'Orbitron', sans-serif;
}

/* Copy Notification Toast */
.toast-notification {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #111827;
  color: #00ff66;
  border: 1px solid rgba(0, 255, 102, 0.4);
  padding: 12px 20px;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6), 0 0 15px rgba(0, 255, 102, 0.2);
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  z-index: 9999;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toast-notification.show {
  transform: translateY(0);
  opacity: 1;
}

/* Quick Answer Box */
.quick-answer-card {
  background: linear-gradient(135deg, rgba(0, 255, 102, 0.08) 0%, rgba(20, 26, 38, 0.9) 100%);
  border: 1px solid rgba(0, 255, 102, 0.35);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  border-radius: 12px;
  padding: 1.5rem;
  margin: 1.5rem 0 2rem 0;
}
