:root {
  --font-main: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --card-bg: rgba(14, 14, 20, 0.72);
  --card-border: rgba(255, 255, 255, 0.12);
  --card-glow: rgba(168, 85, 247, 0.25);
  --accent-purple: #a855f7;
  --accent-pink: #ec4899;
  --text-main: #ffffff;
  --text-muted: #9ca3af;
}

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

body {
  font-family: var(--font-main);
  background-color: #08080c;
  color: var(--text-main);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

/* ========================================================
   CLICK TO ENTER OVERLAY (guns.lol signature)
   ======================================================== */
.enter-screen {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(5, 5, 8, 0.95);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s;
}

.enter-screen.hidden {
  opacity: 0;
  visibility: hidden;
  transform: scale(1.06);
  pointer-events: none;
}

.enter-box {
  padding: 16px 32px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  backdrop-filter: blur(12px);
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.15);
  animation: enterPulse 2.4s infinite ease-in-out;
}

.enter-text {
  font-family: var(--font-mono);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 3px;
  color: #e2e8f0;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.5);
  text-transform: lowercase;
}

@keyframes enterPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 0 25px rgba(168, 85, 247, 0.2);
  }
  50% {
    transform: scale(1.03);
    box-shadow: 0 0 45px rgba(236, 72, 153, 0.35);
  }
}

/* ========================================================
   FULLSCREEN LOOPING VIDEO BACKGROUND
   ======================================================== */
.video-background {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  overflow: hidden;
}

#bgVideo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: brightness(0.7) contrast(1.1) saturate(1.1);
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(10, 10, 16, 0.4) 0%, rgba(6, 6, 10, 0.85) 100%);
}

/* ========================================================
   GUNS.LOL PROFILE CONTAINER & CARD
   ======================================================== */
.profile-container {
  position: relative;
  z-index: 10;
  width: 90%;
  max-width: 460px;
  opacity: 0;
  transform: translateY(20px) scale(0.96);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.profile-container.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.guns-card {
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* Avatar Area */
.avatar-area {
  position: relative;
  width: 124px;
  height: 124px;
  margin-bottom: 16px;
}

.avatar-glow {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: conic-gradient(from 0deg, #ec4899, #a855f7, #3b82f6, #06b6d4, #ec4899);
  filter: blur(10px);
  opacity: 0.7;
  animation: rotateSpin 6s linear infinite;
}

@keyframes rotateSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.avatar-border {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  padding: 3px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.2));
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
}

.avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

/* Name Row */
.name-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.profile-name {
  font-size: 2.1rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #ffffff 40%, #e9d5ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 20px rgba(168, 85, 247, 0.35);
}

.verified-badge {
  width: 22px;
  height: 22px;
  color: #a855f7;
  filter: drop-shadow(0 0 8px rgba(168, 85, 247, 0.6));
  display: flex;
  align-items: center;
  justify-content: center;
}

.pronouns {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 2px;
  margin-bottom: 12px;
}

/* Badges Row */
.badges-row {
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.badge-item {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

.badge-item:hover {
  transform: translateY(-2px) scale(1.1);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 15px rgba(168, 85, 247, 0.4);
}

/* Bio */
.bio-text {
  font-size: 0.95rem;
  font-weight: 500;
  color: #f1f5f9;
  line-height: 1.5;
  margin-bottom: 22px;
}

.bio-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Social Links Pills - Liquid Glass Effect */
.social-links {
  display: flex;
  gap: 10px;
  width: 100%;
  margin-bottom: 24px;
}

.social-pill {
  flex: 1;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.03) 50%, rgba(255, 255, 255, 0.08) 100%);
  backdrop-filter: blur(18px) saturate(180%);
  -webkit-backdrop-filter: blur(18px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 16px;
  color: #ffffff;
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35),
              inset 0 1px 1px rgba(255, 255, 255, 0.35),
              inset 0 -1px 2px rgba(0, 0, 0, 0.3);
}

/* Liquid reflection shimmer sweep on hover */
.social-pill::before {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 80%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: skewX(-25deg);
  transition: left 0.75s ease;
  pointer-events: none;
}

.social-pill:hover::before {
  left: 140%;
}

.social-pill:hover {
  transform: translateY(-2px) scale(1.02);
  border-color: rgba(255, 255, 255, 0.35);
}

.social-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.discord-pill:hover {
  background: linear-gradient(135deg, rgba(88, 101, 242, 0.3) 0%, rgba(88, 101, 242, 0.08) 100%);
  border-color: rgba(88, 101, 242, 0.65);
  box-shadow: 0 10px 30px rgba(88, 101, 242, 0.35),
              inset 0 1px 2px rgba(255, 255, 255, 0.45);
}

.spotify-pill:hover {
  background: linear-gradient(135deg, rgba(29, 185, 84, 0.3) 0%, rgba(29, 185, 84, 0.08) 100%);
  border-color: rgba(29, 185, 84, 0.65);
  box-shadow: 0 10px 30px rgba(29, 185, 84, 0.35),
              inset 0 1px 2px rgba(255, 255, 255, 0.45);
}

.instagram-pill:hover {
  background: linear-gradient(135deg, rgba(225, 48, 108, 0.3) 0%, rgba(225, 48, 108, 0.08) 100%);
  border-color: rgba(225, 48, 108, 0.65);
  box-shadow: 0 10px 30px rgba(225, 48, 108, 0.35),
              inset 0 1px 2px rgba(255, 255, 255, 0.45);
}

.youtube-pill:hover {
  background: linear-gradient(135deg, rgba(255, 0, 0, 0.3) 0%, rgba(255, 0, 0, 0.08) 100%);
  border-color: rgba(255, 0, 0, 0.65);
  box-shadow: 0 10px 30px rgba(255, 0, 0, 0.35),
              inset 0 1px 2px rgba(255, 255, 255, 0.45);
}

/* ========================================================
   MINIMALIST MUSIC CONTROLS (No background panel)
   ======================================================== */
.music-controls {
  width: 100%;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  box-shadow: none !important;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.controls-top {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4px;
}

/* Play/Pause Button */
.music-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #ffffff;
  color: #000000;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.4);
}

.music-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.7);
}

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

/* Classy Frosted Volume Pill */
.volume-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px 5px 8px;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 999px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25), inset 0 1px 1px rgba(255, 255, 255, 0.2);
  transition: border-color 0.2s, background 0.2s;
}

.volume-pill:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
}

.vol-btn {
  background: transparent;
  border: none;
  color: #e2e8f0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3px;
  border-radius: 50%;
  transition: color 0.2s, transform 0.2s;
}

.vol-btn:hover {
  color: #ffffff;
  transform: scale(1.1);
}

.vol-svg {
  width: 15px;
  height: 15px;
}

.vol-slider-wrap {
  display: flex;
  align-items: center;
  width: 70px;
}

.vol-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  outline: none;
  cursor: pointer;
  transition: background 0.2s;
}

.vol-slider:hover {
  background: rgba(255, 255, 255, 0.32);
}

/* Webkit thumb */
.vol-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.9), 0 1px 3px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  transition: transform 0.15s ease;
}

.vol-slider::-webkit-slider-thumb:hover {
  transform: scale(1.25);
}

/* Firefox thumb */
.vol-slider::-moz-range-thumb {
  width: 11px;
  height: 11px;
  border: none;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.9), 0 1px 3px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  transition: transform 0.15s ease;
}

.vol-slider::-moz-range-thumb:hover {
  transform: scale(1.25);
}

.vol-pct {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  color: #94a3b8;
  min-width: 28px;
  text-align: right;
  letter-spacing: 0.5px;
}

/* Progress Track */
.progress-track {
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  margin-top: 4px;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #ec4899, #a855f7);
  border-radius: 999px;
  transition: width 0.1s linear;
}

.time-row {
  width: 100%;
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  padding: 0 2px;
}

.copy-toast {
  margin-top: 14px;
  background: rgba(88, 101, 242, 0.25);
  border: 1px solid #5865f2;
  color: #c7d2fe;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 999px;
  box-shadow: 0 0 15px rgba(88, 101, 242, 0.3);
}


.hidden {
  display: none !important;
}

/* Sparkle Particle on Click (Aesthetic glowing stars) */
.sparkle-particle {
  position: fixed;
  pointer-events: none;
  font-size: 15px;
  color: #f8fafc;
  text-shadow: 0 0 10px rgba(168, 85, 247, 0.9), 0 0 20px rgba(236, 72, 153, 0.6);
  z-index: 999999;
  animation: floatSparkle 0.85s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes floatSparkle {
  0% {
    opacity: 1;
    transform: translate(0, 0) scale(0.5);
  }
  100% {
    opacity: 0;
    transform: translate(var(--dx), var(--dy)) scale(1.3);
  }
}

/* Responsive */
@media (max-width: 480px) {
  .guns-card {
    padding: 24px 18px 18px 18px;
    border-radius: 24px;
  }
  .avatar-area {
    width: 105px;
    height: 105px;
  }
  .profile-name {
    font-size: 1.8rem;
  }
  .social-links {
    flex-direction: column;
    gap: 8px;
  }
}
