/* ---------- GLOBAL ---------- */
body {
  margin: 0;
  padding: 0;
  font-family: "Inter", sans-serif;
  background: linear-gradient(180deg, #0ea5e9, #0284c7);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ---------- MAIN CARD ---------- */
.profile-card {
  margin-top: 110px;
  width: 400px;
  padding: 22px 26px;
  background: rgba(255,255,255,0.18);
  backdrop-filter: blur(12px);
  border-radius: 18px;
  border: 1px solid rgba(255,255,255,0.32);
  box-shadow: 0 10px 32px rgba(0,0,0,0.15);
  text-align: center;
}

/* ---------- TITLE ---------- */
.title {
  font-size: 2.2rem;
  margin-top: 14px;
  margin-bottom: 18px;
  font-weight: 700;
}

.title .light { color: #eef3f8; }
.title .blue { color: #1e3a8a; }

/* ---------- STATUS ---------- */
.status-box {
  background: rgba(0,0,0,0.35);
  padding: 8px 14px;
  border-radius: 10px;
  color: white;
  font-size: 0.95rem;
  font-weight: 500;
}

/* ---------- AVATAR ---------- */
.profile-section {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.avatar-wrap {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  padding: 4px;
  background: rgba(255,255,255,0.18);
  border: 2px solid rgba(255,255,255,0.45);
  backdrop-filter: blur(6px);
  position: relative;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.avatar-wrap:hover {
  transform: translateY(-1.5px) scale(1.025);
  border-color: rgba(255,255,255,0.65);
  box-shadow: 
    0 0 10px rgba(255,255,255,0.28),
    0 0 18px rgba(255,255,255,0.16);
}

.avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  transition: transform 0.18s ease;
}

.avatar-wrap:hover .avatar {
  transform: scale(1.015);
}

/* ---------- STATUS DOT ---------- */
.status-dot {
  position: absolute;
  bottom: -3px;
  right: -3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 3px solid rgba(0,0,0,0.35);
}

.online {
  background: #22c55e;
  animation: pulse 1.8s infinite ease-in-out;
}

.idle { background: #fde047; }
.dnd { background: #ef4444; }
.offline { background: #64748b; }

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

/* ---------- GAME STATUS ---------- */
.gametext {
  background: rgba(0,0,0,0.35);
  padding: 8px 12px;
  margin-top: 12px;
  border-radius: 10px;
  color: #f0f0f0;
  font-size: 0.88rem;
}

/* ---------- BUTTONS ---------- */
.links {
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.btn {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 13px 16px;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  transition: transform 0.22s ease, background-color 0.22s ease;
}

.btn img {
  width: 20px;
  height: 20px;
  transition: transform 0.18s ease;
}

/* Button Farben */
.discord { background: linear-gradient(135deg, #3b4de0, #6576ff); }
.tiktok { background: linear-gradient(135deg, #111, #2a2a2a); }
.eldoria { background: linear-gradient(135deg, #0b6b82, #1aa3be); }

/* Hover */
.btn:hover {
  transform: translateY(-3px);
}

.btn:hover img {
  transform: scale(1.1);
}

/* Licht-Swipe */
.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -120%;
  width: 55%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255,255,255,0),
    rgba(255,255,255,0.33),
    rgba(255,255,255,0)
  );
  transform: skewX(-20deg);
  transition: left 0.45s ease;
}

.btn:hover::after {
  left: 130%;
}

/* ---------- FOOTER ---------- */
.footer {
  margin-top: 100px;
}

.footer a {
  color: white;
  text-decoration: none;
  background: rgba(0,0,0,0.38);
  padding: 8px 18px;
  border-radius: 10px;
  font-size: 0.9rem;
  transition: 0.2s ease;
}

.footer a:hover {
  background: rgba(0,0,0,0.52);
}

/* -------------------------------------------------- */
/* ---------------------- MOBILE -------------------- */
/* -------------------------------------------------- */

@media (max-width: 600px) {

  .profile-card {
    width: 86%;
    padding: 18px;
    margin-top: 60px;
  }

  .title {
    font-size: 1.7rem;
    margin-bottom: 14px;
  }

  .avatar-wrap {
    width: 72px;
    height: 72px;
  }

  .status-box {
    font-size: 0.85rem;
    padding: 6px 10px;
  }

  .gametext {
    font-size: 0.78rem;
    padding: 6px 8px;
  }

  .btn {
    padding: 11px 12px;
    font-size: 0.9rem;
    border-radius: 10px;
  }

  .btn img {
    width: 18px;
    height: 18px;
  }

  .footer {
    margin-top: 70px;
  }
}