/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
}

/* Grey Theme Colors */
:root {
  --bg: #1f1f1f;
  --surface: #2c2c2c;
  --light-grey: #aaa;
  --grey: #444;
  --white: #fff;
  --accent: #888;
}

/* Body */
body {
  background-color: var(--bg);
  color: var(--white);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

/* Header & Footer */
header, footer {
  background: var(--grey);
  color: var(--white);
  text-align: center;
  padding: 1rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.3);
}

/* Main Container */
.container {
  flex: 1;
  max-width: 900px;
  margin: 2rem auto;
  background: var(--surface);
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 0 12px rgba(0,0,0,0.4);
  animation: fadeIn 0.8s ease;
}

/* User Input */
.container-user {
  text-align: center;
}
.user-input {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 15px;
}
input#user {
  padding: 10px;
  border-radius: 8px;
  border: 1px solid var(--accent);
  background: #333;
  color: var(--white);
  width: 60%;
}
button#btn {
  padding: 10px 20px;
  background: var(--light-grey);
  border: none;
  border-radius: 8px;
  color: var(--bg);
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}
button#btn:hover {
  background: var(--white);
  color: var(--bg);
}

/* Progress Circles */
.progress-container {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  margin-top: 2rem;
}
.progress-circle {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: conic-gradient(var(--light-grey) var(--progress, 0%), #555 0%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 600;
  transition: all 0.4s ease-in-out;
  animation: popIn 0.6s ease;
}

/* Cards */
.card-container {
  margin-top: 2rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
}
.cards {
  background: #3a3a3a;
  padding: 1rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  transition: transform 0.3s;
  color: var(--white);
}
.cards:hover {
  transform: scale(1.03);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(15px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes popIn {
  0% { transform: scale(0.9); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
