@import url("https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700&family=Exo+2:wght@400;600&display=swap");

body {
  font-family: "Exo 2", sans-serif;
  background: radial-gradient(circle at 20% 20%, rgba(34, 211, 238, 0.08), transparent 28%),
    radial-gradient(circle at 80% 15%, rgba(168, 85, 247, 0.12), transparent 22%),
    linear-gradient(180deg, #020617 0%, #050a16 35%, #090f1f 100%);
  color: #e2e8f0;
}

.stars {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.08) 1px, transparent 0),
    radial-gradient(circle at 50% 70%, rgba(255, 255, 255, 0.06) 1px, transparent 0),
    radial-gradient(circle at 80% 20%, rgba(255, 255, 255, 0.07) 1px, transparent 0);
  background-size: 120px 120px;
  pointer-events: none;
  z-index: -1;
  animation: twinkle 8s infinite alternate;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(34, 211, 238, 0.12), transparent 18%),
    radial-gradient(circle at bottom right, rgba(168, 85, 247, 0.12), transparent 20%);
  pointer-events: none;
  z-index: -1;
}

.glass-card {
  background: rgba(10, 18, 36, 0.72);
  backdrop-filter: blur(22px);
  border: 1px solid rgba(103, 232, 249, 0.24);
  border-radius: 32px;
  box-shadow: 0 0 50px rgba(103, 232, 249, 0.18);
}

.input-cosmic {
  width: 100%;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(103, 232, 249, 0.65);
  color: white;
  padding: 14px 18px;
  border-radius: 16px;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.input-cosmic:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(103, 232, 249, 0.4);
  border-color: #a855f7;
}

.tab-btn {
  transition: all 0.3s ease;
}

.tab-btn.active {
  background: linear-gradient(135deg, #67e8f9, #c084fc);
  color: #020617;
  font-weight: 700;
  box-shadow: 0 0 25px rgba(103, 232, 249, 0.6);
}

@keyframes twinkle {
  from { opacity: 0.5; }
  to { opacity: 1; }
}

.glass-card {
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(103, 232, 249, 0.2);
  border-radius: 24px;
  box-shadow: 0 0 40px rgba(103, 232, 249, 0.15);
}

.input-cosmic {
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid #67e8f9;
  color: white;
  padding: 14px 16px;
  border-radius: 12px;
  font-size: 1.1rem;
  transition: all 0.3s;
}

.input-cosmic:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(103, 232, 249, 0.5);
  border-color: #a855f7;
}

.tab-btn {
  transition: all 0.3s;
}

.tab-btn.active {
  background: linear-gradient(to right, #67e8f9, #c084fc);
  color: black;
  font-weight: 700;
  box-shadow: 0 0 25px #67e8f9;
}

table {
  border-collapse: collapse;
  width: 100%;
}

th {
  background: rgba(103, 232, 249, 0.1);
  color: #67e8f9;
  padding: 14px;
  font-weight: 600;
}

td {
  padding: 14px;
  border-bottom: 1px solid rgba(103, 232, 249, 0.1);
  text-align: center;
}

tr:hover {
  background: rgba(103, 232, 249, 0.08);
}

#compareSelect {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid #67e8f9;
  color: white;
  font-family: "Exo 2", sans-serif;
}

#compareSelect option {
  padding: 8px;
  background: #0f172a;
  color: white;
}

#compareSelect option:checked {
  background: #67e8f9;
  color: black;
}
