* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.splash {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0e0e0e;
  background-image: radial-gradient(ellipse at 50% 50%, rgba(255, 255, 255, 0.04) 0%, transparent 70%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  cursor: pointer;
  gap: 20px;
}

.splash-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.08);
  animation: splashPulse 3s ease-in-out infinite;
  opacity: 0;
  animation: splashFadeIn 1s ease forwards, splashPulse 3s ease-in-out 1s infinite;
}

.splash-name {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 1px;
  opacity: 0;
  animation: splashFadeIn 1s ease 0.3s forwards;
}

.splash-text {
  font-size: 13px;
  color: #444;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  transition: color 0.3s;
  opacity: 0;
  animation: splashFadeIn 1s ease 0.6s forwards, splashBlink 2s ease-in-out 1.6s infinite;
}

.splash:hover .splash-text {
  color: #666;
}

.splash-line {
  width: 40px;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.15), transparent);
  opacity: 0;
  animation: splashFadeIn 1s ease 0.5s forwards;
}

@keyframes splashFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes splashPulse {
  0%, 100% { border-color: rgba(255, 255, 255, 0.08); }
  50% { border-color: rgba(255, 255, 255, 0.2); }
}

@keyframes splashBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.scroll-reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.splash.fade-out {
  opacity: 0;
  transition: opacity 0.8s ease;
  pointer-events: none;
}

body {
  min-height: 100vh;
  overflow-y: auto;
  background: #0e0e0e;
  background-image: radial-gradient(ellipse at 50% 40%, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.04) 30%, transparent 60%);
  display: flex;
  justify-content: center;
  align-items: flex-start;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #fff;
}

.page {
  width: 100%;
  max-width: 420px;
  padding: 16px;
  padding-top: 60px;
  padding-bottom: 40px;
  position: relative;
}

.card {
  position: relative;
  z-index: 1;
  background: linear-gradient(180deg, #161616 0%, #101010 30%, #0a0a0a 60%, #080808 100%);
  border-radius: 0;
  padding: 16px 20px 14px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow:
    0 -20px 60px -10px rgba(255, 255, 255, 0.04),
    0 0 1px rgba(255, 255, 255, 0.1);
}

.card::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.25), transparent);
  z-index: 2;
}

.card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 80px;
  background: radial-gradient(ellipse at 50% 0%, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.view-count {
  display: flex;
  align-items: center;
  gap: 7px;
  color: #d0d0d0;
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.avatar-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #2a2a2a;
}

.username {
  text-align: center;
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: -0.5px;
  position: relative;
  z-index: 1;
}

.badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 4px;
  position: relative;
  z-index: 1;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 6px 16px;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.badge-icon {
  opacity: 0.6;
}

.role {
  text-align: center;
  color: #999;
  font-size: 14px;
  margin-bottom: 10px;
  font-style: italic;
  position: relative;
  z-index: 1;
}

.social-icons {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.icon-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 2px solid #3a3a3a;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.2s;
  background: transparent;
  text-decoration: none;
}

.icon-circle:hover {
  border-color: #888;
}

.location {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 8px;
  margin-bottom: 8px;
}

.location span {
  font-size: 13px;
  color: #555;
  letter-spacing: 0.5px;
}

.divider {
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.08), transparent);
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.discord-section {
  background: rgba(10, 10, 10, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 12px;
  position: relative;
  z-index: 1;
}

.discord-user {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.discord-avatar-container {
  position: relative;
  flex-shrink: 0;
}

.discord-avatar-img {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 6px;
}

.status-dot {
  width: 12px;
  height: 12px;
  background: #747f8d;
  border-radius: 50%;
  border: 3px solid #0b0b0b;
  position: absolute;
  bottom: -3px;
  left: 50%;
  transform: translateX(-50%);
}

.discord-name {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
}

.discord-btn {
  display: block;
  text-align: center;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  transition: background 0.2s, border-color 0.2s;
}

.discord-btn:hover {
  background: #1a1a1a;
  border-color: #444;
}

.arrow {
  margin-left: 4px;
}

.music-card {
  background: linear-gradient(180deg, #161616 0%, #101010 30%, #0a0a0a 60%, #080808 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0;
  padding: 16px 20px;
  margin-top: 8px;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 1px rgba(255, 255, 255, 0.1);
}

.divider-music {
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.08), transparent);
  margin-bottom: 14px;
}

.music-inner {
  background: rgba(10, 10, 10, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
  padding: 12px;
}

.music-user {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.music-icon-container {
  flex-shrink: 0;
  position: relative;
  width: 44px;
  height: 44px;
}

.song-cover {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  object-fit: cover;
}

.music-btn-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 44px;
  height: 44px;
  border-radius: 6px;
  border: none;
  background: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}

.music-btn-overlay:hover {
  background: rgba(0, 0, 0, 0.6);
}

.music-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.music-label {
  font-size: 11px;
  color: #666;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.music-name {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.music-progress-bar {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 2px;
  position: relative;
  cursor: pointer;
  padding: 6px 0;
  background-clip: content-box;
}

.music-bar {
  height: 4px;
  width: 0%;
  background: #fff;
  border-radius: 2px;
  position: absolute;
  top: 6px;
  left: 0;
  pointer-events: none;
  transition: width 0.1s linear;
}

.music-thumb {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #fff;
  position: absolute;
  top: 3px;
  left: 0%;
  transform: translateX(-50%);
  opacity: 0;
  transition: opacity 0.2s, left 0.1s linear;
  pointer-events: none;
}

.music-progress-bar:hover .music-thumb,
.music-progress-bar:active .music-thumb {
  opacity: 1;
}
