/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", "Segoe UI", sans-serif;
}

body {
  min-height: 100vh;
  background: radial-gradient(circle at center, #0b1220, #020409);
  color: #e5e7eb;
}

/* ================= NAVBAR ================= */
.navbar {
  height: 72px;
  padding: 0 64px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(10,15,30,0.85);
  backdrop-filter: blur(18px);
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 700;
}

.logo small {
  font-size: 10px;
  letter-spacing: 3px;
  opacity: 0.7;
}

.logo-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ff3b3b;
  box-shadow: 0 0 20px #ff3b3b;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 28px;
}

.nav-links a {
  text-decoration: none;
  color: #e5e7eb;
}

.nav-btn {
  background: linear-gradient(135deg, #ff3b3b, #ff6a6a);
  padding: 10px 18px;
  border-radius: 12px;
}

/* ================= MATCH PAGE ================= */
.match-page {
  position: relative;
  padding: 110px 20px;
  display: flex;
  justify-content: center;
}

/* GLOWS */
.bg-glow {
  position: absolute;
  filter: blur(140px);
  opacity: 0.35;
}

.bg-glow.blue {
  width: 520px;
  height: 520px;
  background: #3b82f6;
  left: 8%;
  top: 20%;
}

.bg-glow.red {
  width: 380px;
  height: 380px;
  background: #ff3b3b;
  right: 12%;
  bottom: 20%;
}

/* ================= CONTENT ================= */
.container {
  position: relative;
  z-index: 2;
  max-width: 900px;
  width: 100%;
}

/* HEADER */
.header {
  text-align: center;
  margin-bottom: 60px;
}

.header h1 {
  font-size: 42px;
  font-weight: 800;
}

.header h1 span {
  color: #93c5fd;
  text-shadow: 0 0 18px rgba(147,197,253,0.8);
}

.header p {
  margin-top: 16px;
  max-width: 680px;
  margin-inline: auto;
  color: #cbd5f5;
  font-size: 16px;
  line-height: 1.6;
}

/* ================= UPLOAD CARD ================= */
.upload-card {
  background: rgba(10,15,30,0.75);
  border-radius: 22px;
  padding: 44px;
  border: 1px solid rgba(147,197,253,0.25);
  box-shadow: 0 0 35px rgba(147,197,253,0.25);
  text-align: center;
}

.upload-box {
  border: 2px dashed rgba(147,197,253,0.5);
  border-radius: 18px;
  padding: 44px;
  margin-bottom: 32px;
}

.upload-icon {
  font-size: 42px;
  margin-bottom: 12px;
}

.upload-text {
  font-size: 15px;
  color: #cbd5f5;
}

.upload-box input {
  margin-top: 18px;
  color: #cbd5f5;
}

/* BUTTON */
.analyze-btn {
  padding: 16px 40px;
  font-size: 16px;
  font-weight: 700;
  border-radius: 14px;
  border: none;
  background: linear-gradient(135deg, #ff3b3b, #ff6a6a);
  color: white;
  cursor: pointer;
  box-shadow: 0 0 30px rgba(255,59,59,0.9);
}

/* INFO */
.info {
  margin-top: 28px;
  font-size: 13px;
  color: #cbd5f5;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
/* ================= RESULTS ================= */
.results {
  margin-top: 90px;
  animation: fadeIn 0.6s ease;
}

.results h2 {
  font-size: 30px;
  margin-bottom: 30px;
  text-align: center;
}

.result-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.result-card {
  background: rgba(10,15,30,0.7);
  border-radius: 18px;
  padding: 20px;
  border: 1px solid rgba(147,197,253,0.25);
  text-align: center;
}

.result-img {
  height: 250px;
  border-radius: 12px;
  background: linear-gradient(135deg, #1e293b, #020409);
  margin-bottom: 16px;
}

.percent {
  font-size: 34px;
  font-weight: 800;
}

.percent.high {
  color: #22c55e;
  text-shadow: 0 0 18px rgba(34,197,94,0.6);
}

.percent.medium {
  color: #facc15;
  text-shadow: 0 0 18px rgba(250,204,21,0.6);
}

.percent.low {
  color: #ef4444;
  text-shadow: 0 0 18px rgba(239,68,68,0.6);
}

.disclaimer {
  margin-top: 30px;
  text-align: center;
  font-size: 13px;
  color: #cbd5f5;
}

/* ================= HIDDEN STATE ================= */
.hidden {
  display: none;
}

/* OPTIONAL SMOOTH ENTRY */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
