@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700;900&display=swap');

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  min-height: 100vh;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at top left, rgba(212, 175, 55, 0.22), transparent 34%),
    radial-gradient(circle at bottom right, rgba(106, 13, 173, 0.22), transparent 38%),
    radial-gradient(circle at center, rgba(139, 0, 0, 0.18), transparent 45%),
    linear-gradient(135deg, #050505, #120404, #2a0000, #070707);
  color: #f5f5f5;
  padding: 20px;
}

.container {
  width: min(1100px, 95%);
  background:
    linear-gradient(145deg, rgba(5, 5, 5, 0.88), rgba(30, 0, 0, 0.78));
  border: 1px solid rgba(212, 175, 55, 0.45);
  border-radius: 26px;
  padding: 34px;
  box-shadow:
    0 0 45px rgba(0, 0, 0, 0.75),
    0 0 28px rgba(212, 175, 55, 0.12),
    inset 0 0 25px rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
}

.profile {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-bottom: 22px;
}

.profile img {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  border: 3px solid #d4af37;
  object-fit: cover;
  box-shadow:
    0 0 18px rgba(212, 175, 55, 0.45),
    0 0 35px rgba(139, 0, 0, 0.35);
}

.tag {
  margin: 0 0 4px;
  color: #d4af37;
  font-size: 0.9rem;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

h1 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: #d4af37;
  text-shadow:
    0 0 12px rgba(212, 175, 55, 0.4),
    0 0 30px rgba(139, 0, 0, 0.55);
}

.live-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  margin: 16px 0 30px;
  font-weight: 700;
  color: #c0c0c0;
}

.dot {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  display: inline-block;
}

.online {
  background: #d4af37;
  box-shadow: 0 0 16px #d4af37;
}

.offline {
  background: #8b0000;
  box-shadow: 0 0 16px #8b0000;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(280px, 1fr));
  gap: 20px;
}

.stat-card {
  background:
    linear-gradient(145deg, rgba(139, 0, 0, 0.22), rgba(255, 255, 255, 0.045));
  padding: 28px 18px;
  border-radius: 20px;
  text-align: center;
  border: 1px solid rgba(212, 175, 55, 0.22);
  box-shadow:
    inset 0 0 18px rgba(255, 255, 255, 0.03),
    0 10px 25px rgba(0, 0, 0, 0.28);
  transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}

.stat-card:hover {
  transform: translateY(-6px);
  background:
    linear-gradient(145deg, rgba(139, 0, 0, 0.34), rgba(106, 13, 173, 0.12));
  box-shadow:
    0 0 24px rgba(212, 175, 55, 0.16),
    0 14px 30px rgba(0, 0, 0, 0.38);
}

.label {
  font-size: 0.95rem;
  margin-bottom: 10px;
  color: #c0c0c0;
}

.number {
  font-size: clamp(1.15rem, 2vw, 2rem);
  font-weight: 900;
  color: #d4af37;
  line-height: 1.1;
  overflow-wrap: anywhere;
  word-break: break-word;
  text-shadow: 0 0 12px rgba(212, 175, 55, 0.25);
}

.footer {
  margin-top: 26px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #c0c0c0;
  font-size: 0.95rem;
}

.clock {
  color: #d4af37;
  font-weight: 700;
}

.milestone {
  margin-top: 24px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.055), rgba(139,0,0,0.15));
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(212, 175, 55, 0.16);
}

.milestone-top {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
  color: #c0c0c0;
}

.milestone-top strong {
  color: #d4af37;
}

.bar {
  height: 14px;
  background: rgba(255,255,255,0.12);
  border-radius: 999px;
  overflow: hidden;
}

#goalBar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #8b0000, #d4af37, #6a0dad);
  box-shadow: 0 0 14px rgba(212, 175, 55, 0.45);
  transition: width 0.8s ease;
}

.actions {
  margin-top: 24px;
  text-align: center;
}

.actions a {
  display: inline-block;
  color: #080808;
  background: linear-gradient(135deg, #d4af37, #f5f5f5, #c0c0c0);
  padding: 12px 24px;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
  box-shadow:
    0 0 18px rgba(212, 175, 55, 0.35),
    inset 0 0 10px rgba(255, 255, 255, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.actions a:hover {
  transform: translateY(-3px);
  box-shadow:
    0 0 26px rgba(212, 175, 55, 0.55),
    0 0 12px rgba(106, 13, 173, 0.25);
}

.small-number {
  font-size: 1.3rem;
  line-height: 1.2;
}

.goal-box {
  margin-top: 30px;
  background:
    linear-gradient(145deg, rgba(255,255,255,0.055), rgba(139,0,0,0.15));
  padding: 20px;
  border-radius: 16px;
  border: 1px solid rgba(212, 175, 55, 0.16);
}

.goal-top {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 12px;
  color: #c0c0c0;
}

.goal-top strong {
  color: #d4af37;
}

.goal-bar {
  width: 100%;
  height: 16px;
  background: rgba(255,255,255,0.14);
  border-radius: 999px;
  overflow: hidden;
}

#goalFill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #8b0000, #d4af37, #6a0dad);
  box-shadow: 0 0 14px rgba(212, 175, 55, 0.45);
  transition: width 0.8s ease;
}

@media (max-width: 900px) {
  .stats {
    grid-template-columns: repeat(2, minmax(240px, 1fr));
  }
}

@media (max-width: 700px) {
  .container {
    padding: 24px;
  }

  .profile {
    flex-direction: column;
    text-align: center;
  }

  .stats {
    grid-template-columns: 1fr;
  }

  .footer {
    flex-direction: column;
    text-align: center;
  }

  .milestone-top,
  .goal-top {
    flex-direction: column;
    text-align: center;
  }
}