/* ===================================================
   guns.lol Bio Page Styles - kyrox
   =================================================== */

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

:root {
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --bg-dark: #09090b;
  --text-white: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.7);
  --card-bg: rgba(18, 18, 22, 0.45);
  --card-border: rgba(255, 255, 255, 0.12);
  --discord-dnd: #f23f43;
  --discord-purple: #5865f2;
  --yt-red: #ff0000;
}

html, body {
  width: 100%;
  height: 100%;
  overflow: hidden;
  font-family: var(--font-family);
  background-color: #000000;
  color: var(--text-white);
  user-select: none;
  -webkit-user-select: none;
}

/* ===================================================
   Full Screen Background Video
   =================================================== */
#bg-video {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  object-fit: cover;
  z-index: 1;
  pointer-events: none;
  filter: brightness(0.9) contrast(1.05);
}

.video-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 2;
  background: radial-gradient(circle at center, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0.45) 100%);
  pointer-events: none;
}

/* ===================================================
   Click to Enter Screen (Screenshot 1)
   =================================================== */
.enter-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  background-color: rgba(5, 5, 5, 0.65);
  backdrop-filter: blur(28px) brightness(0.35);
  -webkit-backdrop-filter: blur(28px) brightness(0.35);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), 
              backdrop-filter 0.7s ease, 
              visibility 0.7s;
}

.enter-overlay.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  backdrop-filter: blur(0px);
  -webkit-backdrop-filter: blur(0px);
}

.enter-content {
  text-align: center;
}

.enter-text {
  font-size: 1.15rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: #ffffff;
  opacity: 0.95;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.35);
  animation: pulseGlow 2.5s infinite ease-in-out;
}

@keyframes pulseGlow {
  0%, 100% {
    opacity: 0.75;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
  }
  50% {
    opacity: 1;
    text-shadow: 0 0 22px rgba(255, 255, 255, 0.6);
  }
}

/* ===================================================
   Top Left Controls (guns.lol media controller)
   =================================================== */
.top-left-controls {
  position: fixed;
  top: 24px;
  left: 28px;
  z-index: 100;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  background: rgba(18, 18, 22, 0.45);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid var(--card-border);
  border-radius: 40px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
  transition: transform 0.25s ease, background 0.25s ease;
  opacity: 0;
  transform: translateY(-8px);
}

.top-left-controls.active {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.control-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  border-radius: 50%;
  transition: color 0.2s, transform 0.2s;
}

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

.ctrl-icon {
  width: 18px;
  height: 18px;
}

.ctrl-icon.hidden {
  display: none;
}

/* Volume Slider on hover */
.volume-slider-container {
  display: flex;
  align-items: center;
  width: 0;
  overflow: hidden;
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1), margin 0.3s;
}

.top-left-controls:hover .volume-slider-container {
  width: 70px;
  margin: 0 4px;
}

#volume-slider {
  width: 70px;
  height: 4px;
  -webkit-appearance: none;
  appearance: none;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}

#volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ffffff;
  cursor: pointer;
  box-shadow: 0 0 6px rgba(255, 255, 255, 0.5);
}

/* Sound Bars Visualizer */
.sound-bars {
  display: flex;
  align-items: flex-end;
  gap: 2.5px;
  height: 14px;
  padding-left: 2px;
}

.bar {
  width: 2.5px;
  background: #ffffff;
  border-radius: 2px;
  transition: height 0.15s ease;
}

.sound-bars.playing .bar-1 {
  animation: barBounce 0.7s infinite alternate ease-in-out;
}
.sound-bars.playing .bar-2 {
  animation: barBounce 0.5s infinite alternate ease-in-out 0.15s;
}
.sound-bars.playing .bar-3 {
  animation: barBounce 0.8s infinite alternate ease-in-out 0.3s;
}
.sound-bars.playing .bar-4 {
  animation: barBounce 0.6s infinite alternate ease-in-out 0.2s;
}

.sound-bars.paused .bar {
  height: 3px !important;
  animation: none !important;
}

@keyframes barBounce {
  0% { height: 3px; }
  100% { height: 14px; }
}

/* ===================================================
   Main Content Wrapper (Screenshot 2)
   =================================================== */
.main-wrapper {
  position: relative;
  width: 100vw;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 10;
  opacity: 0;
  transform: translateY(12px) scale(0.97);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.main-wrapper.entered {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

/* Title / Top Username */
.profile-title {
  font-size: 2.75rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  color: #ffffff;
  margin-bottom: 20px;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.8), 0 0 16px rgba(255, 255, 255, 0.12);
  transition: transform 0.25s ease;
}

.profile-title:hover {
  transform: scale(1.03);
}

/* Glassmorphism Profile Card */
.profile-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--card-bg);
  backdrop-filter: blur(18px) saturate(170%);
  -webkit-backdrop-filter: blur(18px) saturate(170%);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 16px 28px 16px 20px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5), inset 0 1px 1px rgba(255, 255, 255, 0.15);
  min-width: 320px;
  max-width: 90vw;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease;
}

.profile-card:hover {
  border-color: rgba(255, 255, 255, 0.22);
  box-shadow: 0 20px 55px rgba(0, 0, 0, 0.65), 0 0 25px rgba(255, 255, 255, 0.08);
}

/* Avatar & Discord Status Badge */
.avatar-container {
  position: relative;
  width: 78px;
  height: 78px;
  flex-shrink: 0;
}

.avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: transform 0.3s ease;
}

.profile-card:hover .avatar-img {
  transform: rotate(3deg) scale(1.02);
}

/* Discord Do Not Disturb (DND) Badge */
.status-badge.dnd {
  position: absolute;
  bottom: 0px;
  right: 0px;
  width: 22px;
  height: 22px;
  background-color: var(--discord-dnd);
  border-radius: 50%;
  border: 3.5px solid #16161a;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.dnd-dash {
  width: 9px;
  height: 2.5px;
  background-color: #ffffff;
  border-radius: 2px;
}

/* User Details */
.user-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

.username-row {
  display: flex;
  align-items: center;
  gap: 7px;
}

.username {
  font-size: 1.35rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.2px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
}

/* guns.lol style badge */
.badge-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.verified-badge-icon {
  width: 18px;
  height: 18px;
  filter: drop-shadow(0 0 6px rgba(59, 130, 246, 0.6));
  animation: badgeSpinPulse 6s infinite linear;
}

@keyframes badgeSpinPulse {
  0% { transform: rotate(0deg); }
  50% { transform: rotate(180deg) scale(1.08); }
  100% { transform: rotate(360deg); }
}

.user-status {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.2px;
}

/* ===================================================
   Socials Row (Discord & YouTube)
   =================================================== */
.socials-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 24px;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  color: #ffffff;
  text-decoration: none;
  background: rgba(18, 18, 22, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--card-border);
  border-radius: 50%;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
  cursor: pointer;
}

.social-btn:hover {
  transform: translateY(-4px) scale(1.12);
  border-color: rgba(255, 255, 255, 0.3);
}

.discord-btn:hover {
  background: rgba(88, 101, 242, 0.3);
  box-shadow: 0 8px 24px rgba(88, 101, 242, 0.45);
  color: #ffffff;
}

/* ===================================================
   Toast Notification for Discord Copy
   =================================================== */
.toast {
  position: fixed;
  top: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(-25px);
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 20px;
  background: rgba(18, 18, 24, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(88, 101, 242, 0.5);
  border-radius: 40px;
  color: #ffffff;
  font-size: 0.92rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 20px rgba(88, 101, 242, 0.35);
  opacity: 0;
  visibility: hidden;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.toast-check {
  width: 18px;
  height: 18px;
  color: #5865f2;
}

.youtube-btn:hover {
  background: rgba(255, 0, 0, 0.25);
  box-shadow: 0 8px 24px rgba(255, 0, 0, 0.45);
  color: #ffffff;
}

.social-icon {
  width: 22px;
  height: 22px;
}

/* ===================================================
   Views Counter (Bottom Left)
   =================================================== */
.views-counter {
  position: fixed;
  bottom: 24px;
  left: 28px;
  z-index: 50;
  display: flex;
  align-items: center;
  gap: 7px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.92rem;
  font-weight: 500;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.75);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.views-counter.active {
  opacity: 1;
  transform: translateY(0);
}

.eye-icon {
  width: 17px;
  height: 17px;
  opacity: 0.9;
}

.views-count {
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.4px;
}

/* ===================================================
   Responsive Mobile Adjustments
   =================================================== */
@media (max-width: 600px) {
  .profile-title {
    font-size: 2.2rem;
    margin-bottom: 16px;
  }

  .profile-card {
    min-width: 280px;
    padding: 14px 20px 14px 16px;
    gap: 14px;
  }

  .avatar-container {
    width: 64px;
    height: 64px;
  }

  .username {
    font-size: 1.15rem;
  }

  .user-status {
    font-size: 0.85rem;
  }

  .top-left-controls {
    top: 16px;
    left: 16px;
    padding: 6px 12px;
  }

  .views-counter {
    bottom: 16px;
    left: 16px;
    font-size: 0.85rem;
  }
}

/* ===================================================
   Click Sparkle Animation
   =================================================== */
.click-sparkle {
  position: fixed;
  width: 8px;
  height: 8px;
  background: #ffffff;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%, -50%) scale(1);
  box-shadow: 0 0 10px #ffffff, 0 0 20px rgba(59, 130, 246, 0.8);
  animation: sparkleDisappear 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes sparkleDisappear {
  0% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(2.8);
  }
}

