body,
html {
  margin: 0;
  padding: 0;
  height: 100%;
  background: linear-gradient(
    135deg,
    #ffd6f6 0%,
    #e0cfff 40%,
    #d6f0ff 80%,
    #e0fff9 100%
  );
  overflow-x: hidden;
  overflow-y: auto;
  display: block;
}

.container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  gap: 30px;
  position: relative;
  padding: 20px 0;
}

.floating-image {
  position: absolute;
  width: clamp(90px, 18vw, 150px);
  height: auto;
  animation: float 3s ease-in-out infinite;
}

.left-image {
  left: 2vw;
  top: 50%;
  transform: translateY(-50%);
}

.right-image {
  right: 2vw;
  top: 50%;
  transform: translateY(-50%);
}

@media (max-width: 768px) {
  .floating-image {
    width: clamp(70px, 15vw, 120px);
  }

  .left-image {
    left: 1vw;
  }

  .right-image {
    right: 1vw;
  }
}

@media (max-width: 480px) {
  .floating-image {
    width: clamp(60px, 12vw, 100px);
  }

  .left-image {
    left: 0.5vw;
  }

  .right-image {
    right: 0.5vw;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(-50%) translateY(0);
  }
  50% {
    transform: translateY(-50%) translateY(-20px);
  }
}

h1 {
  font-size: 2.8em;
  color: #ff7eb9;
  margin: 0;
  text-shadow: 1px 1px 3px #fff;
  z-index: 1;
}

.buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
  align-items: center;
  z-index: 1;
}

button {
  background-color: #ffb3ec;
  color: #fff;
  font-size: 1.2em;
  border: none;
  border-radius: 12px;
  padding: 12px 30px;
  cursor: pointer;
  transition: 0.3s;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

button:hover {
  background-color: #cfa5ff;
  transform: scale(1.05);
}

.stats-section {
  margin-top: 40px;
  text-align: center;
  max-width: 600px;
  width: 100%;
}

.stats-section h3 {
  font-size: 1.5em;
  color: #ff7eb9;
  margin-bottom: 25px;
  text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.8);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
  margin-bottom: 30px;
}

.stat-card {
  background: rgba(255, 255, 255, 0.6);
  border-radius: 15px;
  padding: 20px 15px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.5);
  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.stat-icon {
  font-size: 2em;
  margin-bottom: 10px;
}

.stat-number {
  font-size: 1.8em;
  font-weight: bold;
  color: #ff7eb9;
  margin-bottom: 5px;
}

.stat-label {
  font-size: 0.9em;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.user-stats {
  background: rgba(255, 255, 255, 0.6);
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.5);
}

.user-stat-row {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  gap: 20px;
}

.user-stat-row:last-child {
  margin-bottom: 0;
}

.user-name {
  font-weight: bold;
  font-size: 1.1em;
  min-width: 80px;
  padding: 8px 15px;
  border-radius: 20px;
  text-align: center;
}

.user-name.mei {
  background: linear-gradient(135deg, #a259ff, #d1b3ff);
  color: white;
  box-shadow: 0 2px 10px rgba(162, 89, 255, 0.3);
}

.user-name.zobby {
  background: linear-gradient(135deg, #ff4d6d, #ffb3c6);
  color: white;
  box-shadow: 0 2px 10px rgba(255, 77, 109, 0.3);
}

.user-stat-bars {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stat-bar {
  display: flex;
  align-items: center;
  gap: 15px;
}

.stat-bar .stat-label {
  min-width: 60px;
  text-align: left;
  font-size: 0.9em;
  color: #333;
  text-transform: none;
  letter-spacing: normal;
}

.bar-container {
  flex: 1;
  height: 12px;
  background: rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  overflow: hidden;
}

.bar-fill {
  height: 100%;
  border-radius: 6px;
  transition: width 1s ease;
  min-width: 0;
}

.bar-fill.mei {
  background: linear-gradient(90deg, #a259ff, #d1b3ff);
}

.bar-fill.zobby {
  background: linear-gradient(90deg, #ff4d6d, #ffb3c6);
}

.stat-count {
  min-width: 30px;
  text-align: right;
  font-weight: bold;
  color: #333;
  font-size: 0.9em;
}

@media (max-width: 768px) {
  .container {
    padding: 15px 0;
    gap: 20px;
  }

  .stats-section {
    margin-top: 20px;
    padding: 0 15px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .stat-card {
    padding: 15px 10px;
  }

  .stat-icon {
    font-size: 1.5em;
  }

  .stat-number {
    font-size: 1.5em;
  }

  .user-stat-row {
    flex-direction: column;
    align-items: stretch;
    gap: 15px;
  }

  .user-name {
    align-self: center;
  }

  .user-stats {
    margin: 0 15px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 10px 0;
    gap: 15px;
  }

  .stats-section {
    margin-top: 15px;
    padding: 0 10px;
  }

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

  .user-stats {
    padding: 20px;
    margin: 0 10px;
  }

  h1 {
    font-size: 2.2em;
    margin-bottom: 15px;
  }
}

.heart::before,
.heart::after {
  content: "";
  position: absolute;
  width: 30px;
  height: 30px;
  background: rgb(255, 255, 255);
  border-radius: 50%;
}

.heart::before {
  top: -15px;
  left: 0;
}

.heart::after {
  left: 15px;
  top: 0;
}

@keyframes pulse {
  0%,
  100% {
    transform: rotate(-45deg) scale(1);
  }
  50% {
    transform: rotate(-45deg) scale(1.2);
  }
}

@media (max-width: 600px) {
  h1 {
    font-size: 2em;
  }

  button {
    font-size: 1em;
    padding: 10px 20px;
  }

  .floating-image {
    width: clamp(80px, 28vw, 120px);
  }
  .left-image {
    left: 3vw;
  }
  .right-image {
    right: 3vw;
  }
}
