*, *::before, *::after {
  box-sizing: border-box;
  user-select: none;
  -webkit-user-select: none;
}

*, *::before, *::after, html, body {
  margin: 0;
  padding: 0;
  cursor: url('/assets/Cursor/hello_kitty.png') 0 0, url('assets/Cursor/hello_kitty.png') 0 0, auto;
}

body, html {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #06060a;
  font-family: 'Inter', sans-serif;
  color: #ffffff;
}

a, button, [role="button"], .username-swap-container, #enter-screen, .social-link-item, .nav-btn, .audio-control-btn, .badge-item, .volume-slider-track, .volume-slider-thumb {
  cursor: url('/assets/Cursor/hello_kitty.png') 0 0, pointer;
}

input, textarea {
  cursor: text;
}

.crosshair-element {
  display: none !important;
  pointer-events: none !important;
}

.enter-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: #06060a;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 1;
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.5s ease;
  pointer-events: auto;
  will-change: opacity;
}

.enter-overlay.entered {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
}

.enter-content {
  text-align: center;
  pointer-events: none;
}

.enter-title {
  font-family: 'Outfit', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 4px;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.4);
  margin-bottom: 12px;
}

.enter-prompt {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 3px;
  background: linear-gradient(90deg, #ff3366 0%, #ffffff 50%, #ff3366 100%);
  background-size: 200% auto;
  color: transparent;
  -webkit-background-clip: text;
  background-clip: text;
  animation: promptShimmer 2.4s linear infinite;
}

@keyframes promptShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.bg-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.bg-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: translateZ(0);
  transition: opacity 0.5s ease;
  will-change: opacity;
}

.bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(6, 6, 10, 0.4) 0%, rgba(6, 6, 10, 0.88) 100%);
  pointer-events: none;
}

.top-audio-controls {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 100000;
  display: flex;
  align-items: center;
  gap: 10px;
}

.audio-equalizer {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 20px;
  padding: 0 4px;
  pointer-events: none;
}

.eq-bar {
  width: 3px;
  height: 4px;
  background: #ff3366;
  border-radius: 2px;
  box-shadow: 0 0 8px rgba(255, 51, 102, 0.7);
  transition: height 0.08s ease, opacity 0.15s ease;
  opacity: 0.35;
  will-change: height, opacity;
}

.audio-equalizer.playing .eq-bar {
  opacity: 0.95;
}

.audio-volume-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.audio-circle-btn {
  background: rgba(22, 22, 30, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
  transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  text-decoration: none;
}

.audio-circle-btn svg {
  width: 18px;
  height: 18px;
}

.audio-circle-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 51, 102, 0.45);
  color: #ff3366;
  transform: scale(1.1);
  box-shadow: 0 0 15px rgba(255, 51, 102, 0.4);
}

.audio-volume-panel {
  position: absolute;
  top: 48px;
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: rgba(18, 18, 26, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.16);
  padding: 10px 16px;
  border-radius: 14px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.65);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 110px;
  max-width: 110px;
  margin: 0;
  z-index: 100001;
}

.audio-volume-panel::before {
  content: '';
  position: absolute;
  top: -14px;
  left: 0;
  width: 100%;
  height: 16px;
}

.audio-volume-container:hover .audio-volume-panel,
.audio-volume-panel:hover,
.audio-volume-panel:focus-within {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.song-toast-notification {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 100000;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(14, 14, 22, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 10px 18px;
  border-radius: 14px;
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.65), 0 0 20px rgba(255, 51, 102, 0.18);
  transform: translateY(22px) scale(0.95);
  filter: blur(6px);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.42s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.32s ease, filter 0.32s ease, visibility 0.42s;
  pointer-events: none;
}

.song-toast-notification.show {
  transform: translateY(0) scale(1);
  filter: blur(0);
  opacity: 1;
  visibility: visible;
}

.toast-icon {
  display: none;
}

.toast-song-title {
  font-size: 0.85rem;
  font-weight: 600;
  color: #f3f3f6;
  letter-spacing: 0.3px;
  white-space: nowrap;
}

.custom-volume-track {
  position: relative;
  width: 80px;
  height: 6px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  display: flex;
  align-items: center;
}

.custom-volume-fill {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 50%;
  background: #c084fc;
  border-radius: 3px;
  pointer-events: none;
}

.custom-volume-thumb {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #c084fc;
  box-shadow: 0 0 10px rgba(192, 132, 252, 0.9);
  pointer-events: none;
  transition: transform 0.15s ease, background 0.15s ease;
}

.custom-volume-track:hover .custom-volume-thumb {
  transform: translate(-50%, -50%) scale(1.2);
  background: #d8b4fe;
}

.page-container {
  position: relative;
  z-index: 10;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.page-container.hidden {
  display: none !important;
}

.bio-card-wrapper {
  touch-action: none;
  perspective: 1000px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bio-card {
  position: relative;
  width: 540px;
  max-width: 95vw;
  height: 410px;
  background: rgba(12, 12, 18, 0.84);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 24px;
  padding: 22px 28px 18px 28px;
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  box-shadow: 0 25px 60px -10px rgba(0, 0, 0, 0.75), 0 0 30px rgba(255, 51, 102, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  transform-style: preserve-3d;
  will-change: transform;
  backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: border-color 0.4s ease, box-shadow 0.4s ease;
}

.bio-card-wrapper:hover .bio-card {
  border-color: rgba(255, 51, 102, 0.35);
  box-shadow: 0 30px 70px -10px rgba(0, 0, 0, 0.85), 0 0 45px rgba(255, 51, 102, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.bio-card.resetting {
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.4s ease, box-shadow 0.4s ease !important;
}

.card-views-badge {
  position: absolute;
  top: 16px;
  left: 18px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.09);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 0.76rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.5px;
  z-index: 10;
  pointer-events: auto;
  transform: translateZ(16px);
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease, transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.card-views-badge:hover {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  border-color: rgba(255, 51, 102, 0.45);
  box-shadow: 0 0 15px rgba(255, 51, 102, 0.35);
  transform: translateZ(22px) translateY(-2px) scale(1.04);
}

.profile-views-count.pop-in {
  animation: numberPopIn 0.45s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes numberPopIn {
  0% { transform: translateY(6px); filter: blur(3px); opacity: 0.3; }
  100% { transform: translateY(0); filter: blur(0); opacity: 1; }
}

.views-eye-icon {
  width: 14px;
  height: 14px;
  opacity: 0.85;
}

.profile-views-count {
  font-variant-numeric: tabular-nums;
}

.profile-header-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 0;
  transform: translateZ(22px);
  transform-style: preserve-3d;
}

.main-avatar-container {
  position: relative;
  width: 95px;
  height: 95px;
  margin-bottom: 6px;
}

.avatar-ring-glow {
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff3366, #ff0055, #990033);
  filter: blur(8px);
  opacity: 0.7;
  animation: pulseGlow 3s infinite ease-in-out;
  transition: opacity 0.35s ease, transform 0.35s ease, background 0.4s ease;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 0.5; transform: scale(0.98); }
  50% { opacity: 0.85; transform: scale(1.02); }
}

.main-avatar-img {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.3s ease;
}

.main-avatar-container:hover .main-avatar-img {
  transform: scale(1.12);
  border-color: rgba(255, 51, 102, 0.8);
}

.main-avatar-container:hover .avatar-ring-glow {
  opacity: 1;
  transform: scale(1.1);
}

.profile-title {
  font-size: 2.35rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-top: -2px;
  margin-bottom: 2px;
}

.red-nick {
  color: #ff3366;
  text-shadow: 0 0 16px rgba(255, 51, 102, 0.7), 0 0 30px rgba(255, 0, 85, 0.4);
}

.gothic-letter {
  font-family: serif;
  font-size: 1.15rem;
}

.profile-status-quote {
  font-size: 0.88rem;
  color: #aaaaaa;
  font-weight: 400;
  height: 18px;
  display: flex;
  align-items: center;
  margin-bottom: 0;
}

.typing-cursor {
  color: #ff3366;
  margin-left: 2px;
  animation: blinkCursor 0.8s infinite;
}

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

.discord-banner-card {
  background: rgba(30, 30, 42, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 14px 18px;
  margin-top: auto;
  margin-bottom: auto;
  position: relative;
  transform: translateZ(18px);
  transform-style: preserve-3d;
  transition: border-color 0.25s, background 0.25s, transform 0.25s ease;
}

.discord-banner-card:hover {
  background: rgba(35, 35, 50, 0.65);
  border-color: rgba(255, 51, 102, 0.3);
  transform: translateZ(22px);
}

.banner-inner-content {
  display: flex;
  align-items: center;
  gap: 14px;
}

.inner-avatar-wrapper {
  position: relative;
  width: 58px;
  height: 58px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #14141e;
}

.inner-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.15);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.inner-avatar-img.loaded {
  opacity: 1 !important;
}

.status-indicator {
  position: absolute;
  bottom: -2px;
  right: -2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #14141e;
  border: 3.5px solid #14141e;
  box-sizing: content-box;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 5;
  box-shadow: none;
  filter: none;
}

.status-svg-img, .status-png-img {
  width: 100%;
  height: 100%;
  display: block;
}

.inner-user-details {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.inner-username-row {
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1;
}

.username-swap-container {
  display: inline-grid;
  grid-template-columns: 1fr;
  align-items: center;
  height: 24px;
  position: relative;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.username-swap-container:hover {
  filter: drop-shadow(0 0 8px rgba(255, 51, 102, 0.65));
}

.username-swap-container:active {
  transform: scale(0.96);
}

.username-swap-container .main-name,
.username-swap-container .hover-handle {
  grid-area: 1 / 1;
  white-space: nowrap;
  font-size: 1.05rem;
  font-weight: 600;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1), transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.username-swap-container .main-name {
  color: #ffffff;
  opacity: 1;
  transform: translateY(0);
}

.username-swap-container .hover-handle {
  color: #ff3366;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
}

.discord-banner-card:hover .main-name {
  opacity: 0;
  transform: translateY(-8px);
}

.discord-banner-card:hover .hover-handle {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.badges-inline-container {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 2px;
  height: 24px;
}

.badge-item {
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  transition: transform 0.28s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.28s ease;
}

.badge-item:hover {
  transform: translateY(-3px) scale(1.22);
  filter: drop-shadow(0 4px 10px rgba(255, 51, 102, 0.65));
}

.badge-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.status-activity-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  flex-wrap: nowrap;
  min-width: 0;
  width: 100%;
}

.inner-status-text {
  font-size: 0.68rem;
  font-weight: 700;
  color: #a0a0b8;
  letter-spacing: 0.5px;
  background: rgba(8, 8, 14, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 2px 6px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  margin-top: 0;
  flex-shrink: 0;
}

.spotify-activity {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-top: 0;
  font-size: 0.68rem;
  font-weight: 700;
  color: #1DB954;
  background: none;
  border: none;
  padding: 0;
  letter-spacing: 0.5px;
  white-space: nowrap;
  line-height: 1;
  min-width: 0;
  flex: 1;
  overflow: hidden;
}

#activity-icon-container {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  flex-shrink: 0;
}

#spotify-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  min-width: 0;
}

.spotify-mini-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  display: block;
}

.discord-logo-corner {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 22px;
  height: 22px;
  color: #ffffff;
  opacity: 0.5;
  transition: opacity 0.2s, transform 0.2s, color 0.2s;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.discord-logo-corner:hover {
  opacity: 1;
  color: #ff3366;
  transform: scale(1.15);
}

.discord-corner-icon {
  width: 100%;
  height: 100%;
}

.social-links-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  padding: 8px 18px 4px 18px;
  margin-top: auto;
  margin-bottom: auto;
  transform: translateZ(20px);
}

.social-link-item {
  color: rgba(255, 255, 255, 0.55);
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.25s ease, transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.25s ease;
}

.social-link-item svg {
  width: 30px;
  height: 30px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
  transition: filter 0.25s ease;
}

.social-link-item:hover {
  color: #ff3366;
  transform: translateZ(10px) translateY(-4px) scale(1.18);
  filter: drop-shadow(0 0 10px rgba(255, 51, 102, 0.95));
}

@media (max-width: 640px) {
  .profile-picker-container {
    transform: translateY(-2vh);
  }

  .picker-main-title {
    font-size: clamp(3rem, 14vw, 4.5rem);
    letter-spacing: clamp(6px, 2vw, 12px);
    text-indent: clamp(6px, 2vw, 12px);
    margin-bottom: 6px;
  }

  .picker-subtitle {
    font-size: 0.7rem;
    letter-spacing: 3px;
    text-indent: 3px;
    margin-bottom: 24px;
  }

  .profile-circles-row {
    gap: 24px;
  }

  .circle-avatar-box {
    width: 78px;
    height: 78px;
  }

  .circle-nick-label {
    font-size: 0.95rem;
    margin-top: 8px;
  }

  .page-container {
    min-height: 100dvh;
    padding: 16px 10px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .top-audio-controls {
    top: 14px;
    right: 14px;
    transform: none;
    width: auto;
    gap: 6px;
  }

  .audio-circle-btn {
    width: 34px;
    height: 34px;
  }

  .audio-circle-btn svg {
    width: 14px;
    height: 14px;
  }

  .audio-equalizer {
    display: none;
  }

  .audio-volume-panel {
    top: 42px;
    left: 50%;
    transform: translateX(-50%) translateY(-4px);
    width: 100px;
    padding: 8px 12px;
  }

  .audio-volume-panel.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }

  .song-toast-notification {
    bottom: 14px;
    right: 14px;
    top: auto;
    left: auto;
    max-width: calc(100vw - 28px);
    padding: 6px 12px;
    gap: 6px;
    border-radius: 10px;
  }

  .bio-card-wrapper {
    padding: 8px;
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .bio-card {
    width: 94vw;
    max-width: 400px;
    height: auto;
    min-height: 390px;
    padding: 18px 16px 16px 16px;
    border-radius: 24px;
  }

  .card-views-badge {
    top: 14px;
    left: 14px;
    font-size: 0.72rem;
    padding: 3px 8px;
  }

  .social-links-row {
    gap: 14px;
  }

  .social-link-item {
    width: 34px;
    height: 34px;
  }

  .social-link-item svg {
    width: 26px;
    height: 26px;
  }
}

@media (hover: none) or (pointer: coarse) {
  .crosshair-element {
    display: none !important;
  }

  *, *::before, *::after, html, body, a, button, input, div, span, img {
    cursor: auto !important;
  }
}