.result-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
  animation: fadeInUp 0.6s ease-out;
}

.card-header {
  background: linear-gradient(135deg, var(--secondary) 0%, #0891b2 100%);
  padding: 2rem;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
}

.grade-circle {
  width: 160px;
  height: 160px;
  margin: 0 auto 1.5rem;
  position: relative;
}

.circle-bg {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border: 8px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.grade-value {
  font-size: 3.5rem;
  font-weight: 700;
  color: white;
  z-index: 2;
}

.grade-value .small {
  font-size: 1.5rem;
  opacity: 0.9;
}

.card-header h2 {
  color: white;
  font-size: 1.8rem;
  font-weight: 600;
}

.card-body {
  padding: 2.5rem;
}

.appreciation-box p {
  color: var(--dark);
  font-size: 1.2rem;
  position: relative;
  z-index: 1;
}

.progress-section {
  margin-bottom: 2rem;
}

.progress-section h4 {
  color: var(--dark);
  font-size: 1rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.progress-bar {
  width: 100%;
  height: 40px;
  background: var(--light);
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.details-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
}

.detail-box {
  background: var(--light);
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
  border: 2px solid var(--border);
  transition: all 0.3s ease;
}

.detail-box .label {
  color: var(--gray);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.detail-box .value {
  color: var(--dark);
  font-size: 1.5rem;
  font-weight: 700;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--secondary);
  color: white;
  padding: 1rem 2rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
  width: 100%;
  justify-content: center;
}

.btn:hover {
  background: #0891b2;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(6, 182, 212, 0.4);
}

.btn i {
  transition: transform 0.3s ease;
}

.btn:hover i {
  transform: translateX(-4px);
}

/* ANIMATIONS */
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.1);
    opacity: 0.8;
  }
}

/* RESPONSIVE */
@media (max-width: 768px) {
  header h1 {
    font-size: 2rem;
    flex-direction: column;
    gap: 0.5rem;
  }

  .card-header {
    padding: 1.5rem;
  }

  .grade-circle {
    width: 140px;
    height: 140px;
  }

  .grade-value {
    font-size: 3rem;
  }

  .card-body {
    padding: 1.5rem;
  }

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

  .appreciation-box {
    padding: 1.5rem;
  }

  .appreciation-icon {
    width: 70px;
    height: 70px;
    font-size: 2rem;
  }
}
