body {
  margin: 0;
  font-family: Arial, sans-serif;
}

.wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

h1 {
  margin-bottom: 5px;
}

.subtitle {
  color: #94a3b8;
  margin-bottom: 20px;
}

.card {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  padding: 30px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.08);
  width: 420px;
}

.subject {
  display: flex;
  gap: 10px;
  margin-bottom: 12px;
}

select, input {
  flex: 1;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.08);
  background: #020617;
  color: white;
}

button {
  padding: 10px;
  border-radius: 10px;
  border: none;
  font-weight: bold;
  cursor: pointer;
  transition: 0.2s;
}

.btn-row {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.btn-row button {
  flex: 1;
  background: #1e293b;
  color: white;
}

.btn-row button:hover {
  background: #334155;
}

.danger {
  background: #7f1d1d !important;
}

.danger:hover {
  background: #991b1b !important;
}

.calculate {
  width: 100%;
  margin-top: 15px;
  background: #2563eb;
  color: white;
}

.calculate:hover {
  background: #1d4ed8;
}

.result-section {
  margin-top: 25px;
  text-align: center;
}

.circle {
  width: 140px;
  height: 140px;
  margin: auto;
  border-radius: 50%;
  background: conic-gradient(#3b82f6 0deg, #1e293b 0deg);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 28px;
  font-weight: bold;
  transition: 0.6s ease;
}

.stats {
  margin-top: 15px;
  font-size: 14px;
  color: #cbd5e1;
}

.back {
  display: inline-block;
  margin-top: 20px;
  color: #3b82f6;
  text-decoration: none;
}

.back:hover {
  text-decoration: underline;
}

/* SAME FLOAT ANIMATIONS AS MAIN PAGE */
@keyframes float1 {
  0%,100% { transform: translate(0,0); }
  50% { transform: translate(80px,60px); }
}

@keyframes float2 {
  0%,100% { transform: translate(0,0); }
  50% { transform: translate(-100px,40px); }
}

@keyframes float3 {
  0%,100% { transform: translate(0,0); }
  50% { transform: translate(60px,-80px); }
}

.animate-float1 { animation: float1 18s ease-in-out infinite; }
.animate-float2 { animation: float2 22s ease-in-out infinite; }
.animate-float3 { animation: float3 26s ease-in-out infinite; }
