body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  background: black;
  overflow: hidden;
  color: white;
}

#stars {
  position: fixed;
  inset: 0;
  background: black;
  overflow: hidden;
  z-index: 0;
}

.star {
  position: absolute;
  width: 2px;
  height: 2px;
  background: white;
  border-radius: 50%;
  opacity: 0.6;
  animation: fall linear infinite;
}

@keyframes fall {
  from { transform: translateY(-100vh); }
  to { transform: translateY(100vh); }
}

#gate {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.9);
  z-index: 10;
  cursor: pointer;
}

.gate-box {
  text-align: center;
}

#enterText {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.7);
  text-transform: lowercase;
  padding: 10px;
  text-align: center;
  transition: all 0.3s ease-in-out;
  position: relative;
  opacity: 0.9;
}

#enterText {
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.5), 0 0 10px rgba(255, 255, 255, 0.3);
}

#enterText:hover {
  color: white;
  transform: scale(1.05);
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.7), 0 0 20px rgba(255, 255, 255, 0.6);
}

#enterText::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 12px;
  background: radial-gradient(circle at center, rgba(255, 255, 255, 0.05), transparent 70%);
  opacity: 0;
  transition: 0.3s;
}

#enterText:hover::after {
  opacity: 1;
}

#main {
  position: relative;
  z-index: 2;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;

  opacity: 0;
  transform: scale(0.95) translateY(-20px);
  transition: 0.6s ease;
}

.widget {
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
  border-radius: 16px;

  padding: 34px 46px;
  width: 620px;
  max-width: 92vw;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  text-align: center;
  gap: 8px;
}

.pfp {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  margin-bottom: 10px;
}

.name {
  font-size: 34px;
  margin: 0;
  line-height: 1.1;
}

.bio {
  font-size: 13px;
  color: #aaa;

  margin-top: -2px;
  margin-bottom: 4px;
}

.discord-card {
  margin-top: 10px;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;

  padding: 10px 12px;
  border-radius: 16px;

  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);

  width: auto;
  max-width: 360px;
}

.dc-pfp {
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

.dc-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}

.dc-top {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dc-name {
  font-weight: 700;
  font-size: 15px;
  line-height: 1;
}

.dc-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  animation: bounce 1.2s infinite;
}

.dc-dot.online {
  background: #3ba55c;
  box-shadow: 0 0 10px #3ba55c, 0 0 18px rgba(59, 165, 92, 0.4);
}

.dc-dot.idle {
  background: #faa81a;
  box-shadow: 0 0 10px #faa81a, 0 0 18px rgba(250, 168, 26, 0.4);
}

.dc-dot.dnd {
  background: #ed4245;
  box-shadow: 0 0 10px #ed4245, 0 0 18px rgba(237, 66, 69, 0.4);
}

.dc-dot.offline {
  background: #747f8d;
  box-shadow: 0 0 10px #747f8d, 0 0 18px rgba(116, 127, 141, 0.4);
}

@keyframes bounce {
  0% { transform: scale(1); }
  50% { transform: scale(1.35); }
  100% { transform: scale(1); }
}

.badges {
  display: flex;
  gap: 6px;
  margin-left: 4px;
}

.badges img {
  width: 16px;
  height: 16px;
  filter: drop-shadow(0 0 6px rgba(255, 255, 255, 0.25));
}

.socials {
  display: flex;
  gap: 18px;
  margin-top: 18px;
}

.socials a {
  color: white;
  text-decoration: none;
  font-size: 18px;
}

#musicBtn {
  position: fixed;
  bottom: 15px;
  right: 15px;

  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  padding: 10px;
  border-radius: 10px;
}

.socials a svg {
  width: 22px;
  height: 22px;
  display: block;
  transition: transform 0.3s ease, width 0.3s ease, height 0.3s ease;
}

.socials a:hover svg {
  transform: scale(1.2);
}

#player {
  position: fixed;
  bottom: 18px;
  right: 18px;

  width: 340px;
  padding: 16px;

  display: flex;
  gap: 14px;

  align-items: center;

  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(14px);

  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;

  z-index: 9999;
}

#cover {
  width: 70px;
  height: 70px;
  border-radius: 2px;
  object-fit: cover;
}

.player-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
}

#song {
  font-size: 14px;
  font-weight: 600;
}

#artist {
  font-size: 12px;
  color: #aaa;
}

.progress-container {
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
}

#progress {
  height: 100%;
  width: 0%;
  background: white;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.4);
  transition: width 0.2s linear;
}

.time {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: #888;
}

#player {
  display: none;
}