* {
  box-sizing: border-box;
  font-family: Poppins, sans-serif;
}

body {
  margin: 0;
  min-height: 100vh;
  background: linear-gradient(
    120deg,
    #7a1fa2,
    #b33b6a,
    #6b2fd8,
    #9146ff
  );
  background-size: 300% 300%;
  animation: gradientMove 14s ease infinite;

  display: flex;
  justify-content: center;
  align-items: center;
  color: #fff;
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.container {
  width: 100%;
  max-width: 420px;
  padding: 20px;
}

.card {
  background: rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 30px 22px;
  text-align: center;
  backdrop-filter: blur(10px);
}

.avatar {
  width: 120px;
  height: 120px;
  margin: 0 auto 15px;
  border-radius: 50%;
  border: 4px solid rgba(255, 255, 255, 0.4);
  overflow: hidden;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

h1 {
  margin: 10px 0 4px;
  font-size: 28px;
}

.subtitle {
  font-size: 14px;
  opacity: 0.9;
}

.bio {
  font-size: 13px;
  line-height: 1.6;
  margin: 20px 0;
}

.links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  border-radius: 14px;
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: transform 0.2s;
}

.btn:hover {
  transform: scale(1.03);
}

.discord { background: linear-gradient(135deg, #5865f2, #7b83ff); }
.instagram { background: linear-gradient(135deg, #f77737, #e1306c); }
.twitter { background: linear-gradient(135deg, #1da1f2, #0d8ddb); }
.twitch { background: linear-gradient(135deg, #9146ff, #6b2fd8); }
.bluesky { background: linear-gradient(135deg, #38bdf8, #2563eb); }

/* TOS Button */
.tos {
  background: linear-gradient(135deg, #22c55e, #16a34a);
}

footer {
  margin-top: 15px;
  font-size: 12px;
  opacity: 0.8;
}

/* Location */
.location {
  margin-top: 18px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  opacity: 0.85;
}

.location img {
  width: 14px;
  height: 14px;
}

/* TOS Modal */
.tos-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  justify-content: center;
  align-items: center;
  z-index: 999;
  padding: 20px;
}

.tos-content {
  background: #fff;
  border-radius: 16px;
  max-width: 800px;
  width: 100%;
  max-height: 90vh;
  overflow: auto;
  position: relative;
  padding: 15px;
}

.tos-content img {
  width: 100%;
  height: auto;
  border-radius: 12px;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 14px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  color: #000;
}