/* ==========================================================================
   NXVOfficial - Phone-First SPA Stylesheet
   ========================================================================== */

@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Oswald:wght@400;500;600;700&display=swap');

:root {
  --bg-dark: #070709;
  --bg-card: rgba(255, 255, 255, 0.07);
  --bg-card-border: rgba(255, 255, 255, 0.16);
  --bg-card-highlight: rgba(255, 255, 255, 0.08);
  --primary-accent: #ff3366;
  --primary-gradient: linear-gradient(135deg, #ff3366 0%, #ff6b3d 50%, #f9a825 100%);
  --accent-glow: rgba(255, 51, 102, 0.35);
  --text-main: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.7);
  --text-subtle: rgba(255, 255, 255, 0.45);
  --card-radius: 24px;
  --transition-smooth: cubic-bezier(0.22, 1, 0.36, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

html,
body {
  width: 100%;
  height: 100%;
  height: 100dvh;
  overflow: hidden;
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  position: fixed;
}

/* Custom Scrollbars */
::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.25);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.45);
}

/* ==========================================================================
   App Shell & Desktop Center Frame
   ========================================================================== */
#app {
  width: 100%;
  height: 100%;
  height: 100dvh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: radial-gradient(circle at 50% 30%, #151520 0%, #060608 100%);
}

.spa-container {
  position: relative;
  width: 100%;
  max-width: 480px;
  height: 100%;
  height: 100dvh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #000000;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.8), 0 0 80px rgba(255, 255, 255, 0.05);
}

@media (min-width: 481px) {
  .spa-container {
    height: min(94dvh, 880px);
    border-radius: 36px;
    border: 1px solid rgba(255, 255, 255, 0.1);
  }
}

/* Background Atmosphere */
.bg-ambient {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: floatOrb 14s ease-in-out infinite alternate;
}

.ambient-orb-1 {
  width: 280px;
  height: 280px;
  background: #f5e8d8;
  opacity: 0.18;
  top: -40px;
  right: -40px;
}

.ambient-orb-2 {
  width: 320px;
  height: 320px;
  background: #d8e4f8;
  opacity: 0.16;
  bottom: -60px;
  left: -60px;
  animation-duration: 18s;
  animation-delay: -5s;
}

@keyframes floatOrb {
  0% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(20px, 30px) scale(1.1);
  }

  100% {
    transform: translate(-20px, -20px) scale(0.95);
  }
}

/* ==========================================================================
   Header Bar (Badge centered)
   ========================================================================== */
.top-nav {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 16px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 30;
  pointer-events: none;
}

.card-badge {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  background: rgba(0, 0, 0, 0.45);
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
}

/* ==========================================================================
   Cards Viewport & Horizontal Transitions
   ========================================================================== */
.cards-viewport {
  position: relative;
  width: 100%;
  height: 100%;
  z-index: 10;
  touch-action: pan-x pan-y;
}

.card-stage {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 56px 20px 80px;
}

/* Horizontal Transition Animations (Slide Left / Slide Right) */
.slide-left-enter-active,
.slide-left-leave-active,
.slide-right-enter-active,
.slide-right-leave-active {
  transition: transform 0.45s var(--transition-smooth), opacity 0.4s ease;
}

.slide-left-enter-from {
  transform: translateX(100%);
  opacity: 0.2;
}

.slide-left-leave-to {
  transform: translateX(-100%);
  opacity: 0.2;
}

.slide-right-enter-from {
  transform: translateX(-100%);
  opacity: 0.2;
}

.slide-right-leave-to {
  transform: translateX(100%);
  opacity: 0.2;
}

/* ==========================================================================
   1. Intro Card (Center) - Lake Waves on Water Surface & Pure White Title
   ========================================================================== */
.intro-card {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
}

.logo-wave-container {
  position: relative;
  width: 290px;
  height: 290px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.intro-logo {
  width: 210px;
  height: auto;
  z-index: 5;
  filter: drop-shadow(0 0 25px rgba(255, 255, 255, 0.4));
  animation: logoBreath 4s ease-in-out infinite alternate;
}

@keyframes logoBreath {
  0% {
    transform: scale(0.98);
  }

  100% {
    transform: scale(1.025);
  }
}

/* 1.1 Gray lake water wave ripples */
.wave-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px solid rgba(190, 195, 205, 0.4);
  box-shadow: 0 0 14px rgba(255, 255, 255, 0.08), inset 0 0 10px rgba(200, 210, 225, 0.04);
  pointer-events: none;
  animation: waterRipple 3.8s cubic-bezier(0.15, 0.6, 0.25, 1) infinite;
  animation-fill-mode: backwards;
}

.wave-ring-1 {
  animation-delay: 0s;
}

.wave-ring-2 {
  animation-delay: 0.95s;
}

.wave-ring-3 {
  animation-delay: 1.9s;
}

.wave-ring-4 {
  animation-delay: 2.85s;
}

@keyframes waterRipple {
  0% {
    transform: scale(0.62);
    opacity: 0;
    border-color: rgba(220, 225, 235, 0.6);
  }

  12% {
    opacity: 0.75;
    border-color: rgba(190, 195, 205, 0.55);
  }

  50% {
    border-color: rgba(150, 155, 165, 0.3);
  }

  100% {
    transform: scale(1.7);
    opacity: 0;
    border-color: rgba(120, 125, 135, 0);
  }
}

/* 1.2 Pure White Band Name */
.intro-tagline {
  margin-top: 32px;
  font-family: 'Oswald', sans-serif;
  font-size: clamp(22px, 6.2vw, 26px);
  font-weight: 700;
  letter-spacing: 3px;
  color: #ffffff;
  text-shadow: 0 0 18px rgba(255, 255, 255, 0.4), 0 2px 8px rgba(0, 0, 0, 0.8);
  text-transform: uppercase;
  text-align: center;
  animation: fadeIn 1.2s ease;
}

/* ==========================================================================
   Shared Card Glass Box Style
   ========================================================================== */
.glass-box {
  width: 100%;
  max-width: 420px;
  max-height: 100%;
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--card-radius);
  padding: 24px 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  overflow: hidden;
}

/* Header Typography */
.band-title-heading {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(20px, 6vw, 26px);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 16px;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.6);
  line-height: 1.25;
}

/* ==========================================================================
   2. Description Card (Left)
   ========================================================================== */
.description-card {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.scroll-text-box {
  width: 100%;
  max-height: clamp(220px, 48vh, 390px);
  overflow-y: auto;
  padding-right: 6px;
  margin-bottom: 18px;
}

.scroll-text-box p {
  font-size: clamp(13px, 3.6vw, 15px);
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 12px;
  text-align: justify;
}

.scroll-text-box p:last-child {
  margin-bottom: 0;
}

.social-strip {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  width: 100%;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.social-btn {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.social-btn:hover,
.social-btn:active {
  background: rgba(255, 255, 255, 0.24);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   3. Player Card (Left) - Modern Top-3 Audio Player
   ========================================================================== */
.player-card {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.player-glass-box {
  padding: 22px 20px;
  gap: 12px;
}

/* 1. Cover on the top-center of the box */
.player-cover-top {
  width: clamp(100px, 26vw, 125px);
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  overflow: hidden;
  border: 1.5px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  cursor: pointer;
  position: relative;
  transition: all 0.25s ease;
  margin: 0 auto;
}

.player-cover-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.player-cover-top:hover {
  transform: scale(1.03);
  border-color: rgba(255, 255, 255, 0.4);
}

.player-cover-top.pulse-playing {
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 255, 255, 0.2);
  animation: coverFloat 3s ease-in-out infinite alternate;
}

@keyframes coverFloat {
  0% {
    transform: translateY(0) scale(1);
  }
  100% {
    transform: translateY(-3px) scale(1.02);
  }
}

/* 2. Progress Bar below Cover */
.player-progress-section {
  width: 100%;
  margin: 2px 0 4px;
}

.progress-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  padding: 6px 0;
}

.progress-bar-track {
  position: relative;
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.16);
  border-radius: 3px;
  display: flex;
  align-items: center;
}

.progress-bar-fill {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  background: linear-gradient(90deg, #d8d8d8 0%, #ffffff 100%);
  border-radius: 3px;
  pointer-events: none;
}

/* Ring pointer thumb */
.progress-ring-thumb {
  position: absolute;
  top: 50%;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #ffffff;
  border: 2.5px solid #1a1a24;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.8), 0 2px 4px rgba(0, 0, 0, 0.5);
  transform: translate(-50%, -50%);
  pointer-events: none;
  transition: transform 0.1s ease;
}

.progress-container:hover .progress-ring-thumb {
  transform: translate(-50%, -50%) scale(1.2);
}

.progress-time-row {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  font-weight: 500;
  color: var(--text-muted);
  padding: 0 2px;
}

/* 3. Tracks List below Progress Bar */
.track-list-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin: 4px 0 6px;
}

.track-item {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.track-item:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

.track-item.active {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}

.track-item-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.track-index {
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-subtle);
  width: 14px;
}

.track-item.active .track-index {
  color: #ffffff;
}

.track-item-title {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.3px;
}

.track-item.active .track-item-title {
  color: #ffffff;
  font-weight: 700;
}

.track-item-right {
  display: flex;
  align-items: center;
  font-size: 12px;
}

/* 3.1 Self Play/Stop Button inside Track */
.track-play-indicator {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ffffff;
  color: #070709;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
  transition: transform 0.15s ease;
}

.track-item:hover .track-play-indicator {
  transform: scale(1.12);
}

.track-inactive-icon {
  font-size: 12px;
  color: var(--text-subtle);
  opacity: 0.4;
  transition: all 0.2s ease;
  padding-right: 6px;
}

.track-item:hover .track-inactive-icon {
  opacity: 0.9;
  color: #ffffff;
}

/* 4. Platforms at the Bottom of the Box */
.platforms-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.platforms-section-title {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-subtle);
  margin-bottom: 8px;
}

.platforms-icons-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.platform-link {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  text-decoration: none;
}

.platform-link img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  filter: invert(1);
  transition: filter 0.2s ease;
}

.platform-link:hover,
.platform-link:active {
  background: rgba(255, 255, 255, 0.22);
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.4);
}

/* ==========================================================================
   2.4 Universal Horizontal Swipe Indicators
   ========================================================================== */
.swipe-indicator-horizontal {
  position: absolute;
  bottom: 14px;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 25;
  pointer-events: auto;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.swipe-indicator-horizontal.delayed-show {
  animation: swipeFadeIn 0.8s ease forwards;
}

.swipe-prompt-split {
  display: flex;
  align-items: center;
  gap: 16px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  padding: 6px 16px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.swipe-arrow-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 4px 6px;
  transition: all 0.2s ease;
}

.swipe-arrow-btn:hover,
.swipe-arrow-btn:active {
  color: #ffffff;
  transform: scale(1.05);
}

.swipe-center-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
}

.swipe-prompt-single {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  padding: 6px 18px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
}

.swipe-prompt-single:hover,
.swipe-prompt-single:active {
  color: #ffffff;
  transform: scale(1.05);
}

.swipe-chevron-left {
  animation: nudgeLeft 1.6s ease-in-out infinite;
}

.swipe-chevron-right {
  animation: nudgeRight 1.6s ease-in-out infinite;
}

@keyframes nudgeLeft {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(-4px);
  }
}

@keyframes nudgeRight {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(4px);
  }
}

@keyframes swipeFadeIn {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Global Fade In */
@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}