* {
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body {
  margin: 0;
  height: 100vh;
  background: linear-gradient(135deg, #ff006a, #ff8c00);
  display: flex;
  justify-content: center;
  align-items: center;
}

.container {
  width: 100%;
  max-width: 420px;
  padding: 20px;
  text-align: center;
}

/* PROFILE */
.profile {
  margin-bottom: 15px;
}

.avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  margin-bottom: 10px;
}

.profile h2 {
  margin: 0;
  font-weight: 800;
}

.bio {
  font-weight: 600;
  color: #555;
  font-size: 14px;
}

/* CARD */
.card {
  background: #fff;
  padding: 15px;
  border-radius: 16px;
  box-shadow: 0 20px 40px rgba(0,0,0,.25);
}

textarea {
  width: 100%;
  height: 110px;
  border-radius: 12px;
  border: 1px solid #ddd;
  padding: 12px;
  font-size: 15px;
}

button {
  margin-top: 12px;
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  border: none;
  background: #ff006a;
  color: white;
  font-weight: 700;
  font-size: 16px;
}

/* FOOTER */
.footer {
  margin-top: 10px;
  font-size: 13px;
  color: #eee;
}

.footer a {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
}

/* 🎲 DICE */
.dice {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  box-shadow: 0 10px 20px rgba(0,0,0,.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  cursor: pointer;
}

/* POPUP */
.popup {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.4);
  display: none;
  align-items: center;
  justify-content: center;
}

.popup-box {
  background: #fff;
  padding: 20px;
  border-radius: 16px;
  width: 80%;
  max-width: 300px;
}

/* LOADING BAR */
.loading {
  margin-top: 15px;
  width: 100%;
  height: 6px;
  background: #eee;
  border-radius: 10px;
  overflow: hidden;
}

.loading span {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #ff006a, #ff8c00);
  transition: width 1.5s linear;
}