/* ═══════════════════════════════════════
   BASE.CSS — Reset, Fonts, Layout
════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Nunito:wght@400;600;700;800;900&display=swap');

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Nunito', sans-serif;
  background: #0f0f1a;
  color: #f0f0f0;
  min-height: 100vh;
}

.main {
  padding: 30px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Pages */
.page { display: none; }
.page.active { display: block; }

/* Section Title */
.sct {
  font-family: 'Bebas Neue', cursive;
  font-size: 1.6rem;
  letter-spacing: 3px;
  color: #e94560;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.sct::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, #e94560, transparent);
}

/* Animations */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes pulse {
  0%,100% { transform: scale(1); opacity: 1; }
  50%      { transform: scale(1.05); opacity: 0.7; }
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Spinner */
.spin-wrap { text-align: center; padding: 30px; display: none; }
.spin-wrap.show { display: block; }
.spinner {
  display: inline-block;
  width: 28px; height: 28px;
  border: 3px solid #1e2d4a;
  border-top-color: #e94560;
  border-radius: 50%;
  animation: spin .7s linear infinite;
}

/* Back button */
.back-btn {
  background: transparent;
  border: 1.5px solid #2a3a5a;
  color: #a0a8c0;
  border-radius: 8px;
  padding: 7px 16px;
  font-family: 'Nunito', sans-serif;
  font-size: .85rem;
  cursor: pointer;
  transition: all .2s;
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.back-btn:hover { border-color: #e94560; color: #fff; }

/* Condition badges */
.cM  { background: #ffd700; color: #000; }
.cNM { background: #4ecdc4; color: #000; }
.cLP { background: #a8e063; color: #000; }
.cMP { background: #f7971e; color: #000; }
.cHP { background: #e94560; color: #fff; }

/* Divider */
.hdiv { border: none; border-top: 1px solid #1e2d4a; margin: 10px 0; }

/* Empty state */
.empt { color: #4a5a7a; text-align: center; padding: 30px; font-size: .9rem; }
/* ═══════════════════════════════════════
   MOBILE RESPONSIVE — Base
════════════════════════════════════════ */
@media (max-width: 768px) {
  .main {
    padding: 16px 12px;
  }
  .sct {
    font-size: 1.3rem;
    letter-spacing: 2px;
  }
}

@media (max-width: 768px) {
  body { overflow-x: hidden !important; }
  .main { overflow-x: hidden !important; max-width: 100vw !important; }
}
@import url("modal-additions-base.css");
