/* ==========================================
   SISTEMA DE DISEÑO - ESCOBAR ENTERTAINMENT STYLE
   ========================================== */

:root {
  --font-title: 'Syne', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-accent: 'Caveat', cursive;

  --color-bg-dark: #070707;
  --color-bg-deep: #020202;
  --color-bg-card: rgba(18, 18, 18, 0.75);
  --color-border: rgba(255, 255, 255, 0.07);

  --color-neon-fuchsia: #ff007f;
  --color-neon-fuchsia-glow: rgba(255, 0, 127, 0.35);
  --color-neon-purple: #8b5cf6;
  --color-neon-purple-glow: rgba(139, 92, 246, 0.25);
  --color-neon-cyan: #06b6d4;

  --text-primary: #f3f4f6; /* high legibility off-white */
  --text-secondary: #9ca3af; /* elegant gray */
  --text-dimmed: #6b7280;

  --glass-blur: blur(16px);
  --transition-smooth: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset y Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
}

html, body {
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-bg-dark);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.65;
}

/* Cinematic background video */
.site-bg-video-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  overflow: hidden;
  background-color: #000;
}

.site-bg-video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.site-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(13, 13, 13, 0.4) 0%, rgba(5, 5, 5, 0.82) 85%);
  z-index: 1;
}

/* Layout y Contenedores */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 140px 0;
  position: relative;
}

/* Headers de sección estilo disquera */
.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-tag {
  font-family: var(--font-body);
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  color: var(--color-neon-fuchsia);
  text-shadow: 0 0 10px var(--color-neon-fuchsia-glow);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-family: var(--font-title);
  font-size: 3.2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
  text-transform: uppercase;
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2.3rem;
  }
}

/* Botones Premium */
.btn, .btn-primary, .btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 36px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 50px;
  transition: var(--transition-smooth);
  cursor: pointer;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.btn-primary {
  background: #ffffff;
  color: #000000 !important;
  border: 1px solid #ffffff;
}

.btn-primary:hover {
  background: var(--color-neon-fuchsia);
  border-color: var(--color-neon-fuchsia);
  color: #ffffff !important;
  box-shadow: 0 0 25px var(--color-neon-fuchsia-glow);
  transform: translateY(-3px);
}

.btn-secondary {
  background: transparent;
  color: #ffffff !important;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-3px);
}

/* Floating Audio / Equalizer Button */
.global-audio-btn {
  position: fixed;
  bottom: 40px;
  left: 40px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: rgba(20, 20, 20, 0.8);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 3px;
  cursor: pointer;
  z-index: 100;
  transition: var(--transition-smooth);
}

.global-audio-btn:hover {
  border-color: var(--color-neon-fuchsia);
  box-shadow: 0 0 20px var(--color-neon-fuchsia-glow);
  transform: scale(1.08);
}

.global-audio-btn .bar {
  width: 3px;
  height: 15px;
  background: #ffffff;
  border-radius: 2px;
  transition: height 0.3s ease, background-color 0.3s ease;
}

.global-audio-btn.playing .bar {
  background: var(--color-neon-fuchsia);
  animation: bounceEq 1.2s ease-in-out infinite alternate;
}

.global-audio-btn.playing .bar-1 { animation-delay: 0.1s; }
.global-audio-btn.playing .bar-2 { animation-delay: 0.4s; }
.global-audio-btn.playing .bar-3 { animation-delay: 0.2s; }
.global-audio-btn.playing .bar-4 { animation-delay: 0.5s; }

@keyframes bounceEq {
  0% { transform: scaleY(0.3); }
  100% { transform: scaleY(1.3); }
}

/* Header & Menu */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 90;
  background: rgba(5, 5, 5, 0.3);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  transition: var(--transition-smooth);
}

.header.scrolled {
  background: rgba(5, 5, 5, 0.9);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  padding: 12px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo-img {
  height: 48px;
  max-width: 160px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.15));
  transition: var(--transition-smooth);
}

.nav-logo-img:hover {
  transform: scale(1.05);
}

.nav-menu ul {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--text-secondary);
  transition: var(--transition-smooth);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.nav-link:hover, .nav-link.active {
  color: #ffffff;
}

.nav-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 10px 24px;
  border-radius: 30px;
}

.nav-btn:hover {
  background: var(--color-neon-fuchsia);
  border-color: var(--color-neon-fuchsia);
  box-shadow: 0 0 15px var(--color-neon-fuchsia-glow);
}

/* Burger menu for Mobile */
.burger-menu {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 26px;
  height: 18px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 101;
}

.burger-bar {
  width: 100%;
  height: 2px;
  background-color: #ffffff;
  transition: all 0.3s ease;
}

/* Preloader styles & Scroll Lock */
html.preloader-active,
body.preloader-active {
  overflow: hidden !important;
  height: 100% !important;
}

.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  width: 100dvw;
  height: 100vh;
  height: 100dvh;
  background: #000;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

.preloader-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  filter: saturate(30%);
}

.preloader-bg-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, transparent 40%, rgba(0, 0, 0, 0.9) 100%);
  z-index: 1;
}

.preloader-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  height: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.preloader-logo-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 900px; /* Elegant centered scale, 20% smaller than the 1200px maximum */
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 3;
  pointer-events: none;
}

.preloader-bottom-container {
  position: absolute;
  bottom: 80px; /* Ergonomic bottom placement */
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  z-index: 4;
}

.preloader-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  width: 100%;
  margin-top: 35px;
}

.preloader-logo-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  transition: transform 0.12s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.preloader-official-logo {
  max-width: 100%;
  width: 85%;
  height: auto;
  margin-bottom: 0px;
  filter: drop-shadow(0 0 45px rgba(255, 255, 255, 0.5)) drop-shadow(0 0 80px rgba(255, 255, 255, 0.35));
  animation: logoPulse 3s ease-in-out infinite;
  will-change: transform, filter;
}

/* Compass visual vibration */
.compass-vibrate {
  animation: compassShake 0.15s ease-in-out infinite !important;
}

@keyframes compassShake {
  0% { transform: translate3d(0, 0, 0) rotate(0deg); }
  20% { transform: translate3d(-3px, 2px, 0) rotate(-0.8deg); }
  40% { transform: translate3d(3px, -2px, 0) rotate(0.8deg); }
  60% { transform: translate3d(-2px, -1px, 0) rotate(-0.5deg); }
  80% { transform: translate3d(2px, 1px, 0) rotate(0.5deg); }
  100% { transform: translate3d(0, 0, 0) rotate(0deg); }
}

@keyframes logoPulse {
  0% { transform: scale(1); filter: drop-shadow(0 0 35px rgba(255, 255, 255, 0.45)) drop-shadow(0 0 60px rgba(255, 255, 255, 0.25)); }
  50% { transform: scale(1.04); filter: drop-shadow(0 0 50px rgba(255, 255, 255, 0.65)) drop-shadow(0 0 80px rgba(255, 255, 255, 0.4)); }
  100% { transform: scale(1); filter: drop-shadow(0 0 35px rgba(255, 255, 255, 0.45)) drop-shadow(0 0 60px rgba(255, 255, 255, 0.25)); }
}

.preloader-logo-tagline {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--color-neon-fuchsia);
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.preloader-loading-text {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-secondary);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-top: 30px;
  margin-bottom: -15px;
  animation: pulseText 1.5s ease-in-out infinite;
}

@keyframes pulseText {
  0% { opacity: 0.5; }
  50% { opacity: 1; }
  100% { opacity: 0.5; }
}

.preloader-controls-overlay {
  display: flex;
  gap: 16px;
  margin-top: 50px;
}

.preloader-audio-btn, .preloader-skip-btn {
  background: rgba(10, 10, 10, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  padding: 12px 28px;
  border-radius: 40px;
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.preloader-audio-btn:hover, .preloader-skip-btn:hover {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
  transform: translateY(-2px);
}

.preloader-bar-container {
  width: 280px;
  height: 2px;
  background: rgba(255, 255, 255, 0.15);
  margin-top: 40px;
  border-radius: 1px;
  overflow: hidden;
}

.preloader-bar {
  width: 0%;
  height: 100%;
  background: var(--color-neon-fuchsia);
  box-shadow: 0 0 10px var(--color-neon-fuchsia);
}

/* Side Navigation dots */
.side-nav {
  position: fixed;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.side-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  transition: var(--transition-smooth);
  position: relative;
}

.side-dot:hover, .side-dot.active {
  background: var(--color-neon-fuchsia);
  box-shadow: 0 0 10px var(--color-neon-fuchsia);
  transform: scale(1.3);
}

.side-dot::after {
  content: attr(data-tooltip);
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%) translateX(10px);
  background: rgba(10, 10, 10, 0.9);
  border: 1px solid var(--color-border);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 4px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.side-dot:hover::after {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

@media (max-width: 900px) {
  .side-nav {
    display: none;
  }
}

/* ==========================================
   SECCIÓN: HERO
   ========================================== */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 100px;
}

.hero-content {
  max-width: 800px;
  padding: 0 24px;
  margin-left: 10%;
  position: relative;
  z-index: 10;
}

.hero-tagline {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  color: var(--color-neon-fuchsia);
  text-shadow: 0 0 10px var(--color-neon-fuchsia-glow);
  text-transform: uppercase;
  display: block;
  margin-bottom: 20px;
}

.hero-title {
  font-family: var(--font-title);
  font-size: 5.6rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 0.95;
  color: #ffffff;
  text-transform: uppercase;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #ffffff 40%, #bbbbbb 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.05));
}

.hero-subtitle {
  font-family: var(--font-body);
  font-size: 1.4rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 24px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.15);
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 600px;
  margin-bottom: 48px;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 20px;
}

/* Hero gradient spotlights */
.hero-bg-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  filter: blur(150px);
  z-index: 1;
  pointer-events: none;
  opacity: 0.15;
}

.glow-1 {
  background: var(--color-neon-fuchsia);
  top: -100px;
  right: -100px;
  animation: driftGlow1 25s ease-in-out infinite alternate;
}

.glow-2 {
  background: var(--color-neon-purple);
  bottom: -150px;
  left: 20%;
  animation: driftGlow2 20s ease-in-out infinite alternate;
}

@keyframes driftGlow1 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-100px, 100px) scale(1.2); }
}

@keyframes driftGlow2 {
  0% { transform: translate(0, 0) scale(1.1); }
  100% { transform: translate(150px, -50px) scale(0.9); }
}

/* Scroll indicator dot animation */
.scroll-indicator {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 48px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  z-index: 10;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}

.scroll-indicator .scroll-dot {
  width: 6px;
  height: 6px;
  background-color: #ffffff;
  border-radius: 50%;
  animation: scrollAnim 1.8s ease-in-out infinite;
}

@keyframes scrollAnim {
  0% { transform: translateY(0); opacity: 1; }
  50% { transform: translateY(18px); opacity: 0.1; }
  100% { transform: translateY(0); opacity: 1; }
}

@media (max-width: 900px) {
  .hero-content {
    margin-left: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .hero-title {
    font-size: 4rem;
  }
  .hero-actions {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 3rem;
  }
  .hero-actions {
    flex-direction: column;
    width: 100%;
  }
  .hero-actions .btn {
    width: 100%;
  }
}

/* ==========================================
   SECCIÓN: BIOGRAFÍA
   ========================================== */
.bio-section {
  background: var(--color-bg-deep);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.bio-container-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.bio-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.bio-content h3 {
  font-family: var(--font-title);
  font-size: 2.8rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.bio-content h3::before, .bio-content h3::after {
  content: '';
  width: 30px;
  height: 2px;
  background: var(--color-neon-fuchsia);
  box-shadow: 0 0 8px var(--color-neon-fuchsia);
}

.bio-text {
  font-family: var(--font-body) !important;
  color: var(--text-secondary) !important;
  font-size: 1.15rem !important;
  line-height: 1.85 !important;
  margin-bottom: 30px;
  font-weight: 300 !important;
  text-align: center !important;
}

.bio-text strong {
  font-weight: 600 !important;
  color: #ffffff !important;
}

.bio-highlights {
  display: flex;
  flex-direction: column;
  align-items: center;
  list-style: none;
  margin-bottom: 50px;
  padding: 0;
}

.bio-highlights li {
  font-family: var(--font-body) !important;
  position: relative;
  padding-left: 0 !important;
  margin-bottom: 20px;
  font-size: 1.1rem !important;
  line-height: 1.7 !important;
  color: var(--text-secondary) !important;
  font-weight: 300 !important;
  text-align: center !important;
}

.bio-highlights li strong {
  font-weight: 600 !important;
  color: #ffffff !important;
}

.bio-highlights li::before {
  content: '✦' !important;
  position: static !important;
  display: inline-block;
  margin-right: 12px;
  color: var(--color-neon-fuchsia);
  font-size: 1.1rem;
}

/* Handwritten Quote Accent */
.bio-signature-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 50px;
  margin-bottom: 40px;
  border-top: 1px dashed rgba(255, 255, 255, 0.1);
  padding-top: 35px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.bio-signature-text {
  font-family: var(--font-accent) !important;
  font-size: 1.8rem !important;
  font-style: italic;
  color: var(--text-secondary) !important;
  text-align: center !important;
  margin-bottom: 12px;
}

.bio-signature-name {
  font-family: var(--font-accent) !important;
  font-size: 3.4rem !important;
  font-weight: 700 !important;
  color: var(--color-neon-fuchsia) !important;
  transform: rotate(-3deg);
  display: inline-block;
  letter-spacing: -0.02em;
  text-shadow: 0 0 15px var(--color-neon-fuchsia-glow);
}

.bio-btn-wrapper {
  text-align: center;
  margin-bottom: 60px;
}

/* Statistics row */
.bio-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  width: 100%;
  max-width: 1100px;
  margin-top: 60px;
}

.stat-box {
  background: var(--color-bg-card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--color-border);
  padding: 36px 20px;
  text-align: center;
  transition: var(--transition-smooth);
  position: relative;
  will-change: transform;
}

.stat-box:hover {
  border-color: var(--color-neon-fuchsia);
  box-shadow: 0 0 25px var(--color-neon-fuchsia-glow);
  transform: translateY(-8px);
}

.stat-val {
  font-family: var(--font-title);
  font-size: 2.8rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
  letter-spacing: -0.03em;
}

.stat-lbl {
  font-size: 0.8rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
}

@media (max-width: 900px) {
  .bio-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 550px) {
  .bio-stats {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .stat-box {
    padding: 28px 16px;
  }
}

/* ==========================================
   SECCIÓN: GALLERY
   ========================================== */
.gallery-section {
  background: var(--color-bg-dark);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 60px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  cursor: pointer;
  aspect-ratio: 2 / 3;
  background: #111;
  transition: var(--transition-smooth);
}

.gallery-image-wrapper {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(60%) brightness(90%);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), 
              filter 0.6s ease;
}

.gallery-hover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.4) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  padding: 30px;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
}

.gallery-hover-icon {
  font-size: 1.5rem;
  color: var(--color-neon-fuchsia);
  margin-bottom: auto;
  margin-top: 20px;
  transform: translateY(-20px);
  transition: transform 0.4s ease;
}

.gallery-card-title {
  font-family: var(--font-title);
  font-size: 1.6rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
  transform: translateY(15px);
  transition: transform 0.4s ease;
  letter-spacing: -0.02em;
}

.gallery-card-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transform: translateY(15px);
  transition: transform 0.4s ease;
}

/* Hover effects */
.gallery-item:hover {
  transform: translateY(-8px);
  border-color: var(--color-neon-fuchsia);
  box-shadow: 0 15px 35px var(--color-neon-fuchsia-glow);
  z-index: 10;
}

.gallery-item:hover img {
  transform: scale(1.1);
  filter: saturate(100%) brightness(100%);
}

.gallery-item:hover .gallery-hover-overlay {
  opacity: 1;
}

.gallery-item:hover .gallery-hover-icon,
.gallery-item:hover .gallery-card-title,
.gallery-item:hover .gallery-card-desc {
  transform: translateY(0);
}

@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  /* Prevent text collision/hidden caption overlay issues on mobile */
  .gallery-hover-overlay {
    opacity: 1 !important;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%) !important;
    padding: 16px !important;
  }
  
  .gallery-hover-icon {
    display: none !important;
  }
  
  .gallery-card-title {
    transform: translateY(0) !important;
    font-size: 1.25rem !important;
  }
  
  .gallery-card-desc {
    transform: translateY(0) !important;
    font-size: 0.75rem !important;
  }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ==========================================
   SECCIÓN: MÚSICA & DISCOGRAFÍA
   ========================================== */
.music-section {
  background: var(--color-bg-deep);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.music-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: flex-start;
}

.music-info h3 {
  font-family: var(--font-title);
  font-size: 2.8rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: -0.03em;
}

.music-panel-tag {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--color-neon-fuchsia);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 10px;
  display: block;
}

.music-info p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  line-height: 1.75;
  margin-bottom: 40px;
  font-weight: 300;
}

.spotify-wrapper {
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--color-border);
}

/* Music Release Grid */
.music-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.music-card {
  background: var(--color-bg-card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 16px;
  transition: var(--transition-smooth);
  text-decoration: none;
  color: inherit;
  display: block;
}

.music-card:hover {
  border-color: var(--color-neon-fuchsia);
  box-shadow: 0 10px 25px var(--color-neon-fuchsia-glow);
  transform: translateY(-5px);
  color: inherit;
}

.music-cover-wrapper {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 1;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.music-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.music-play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.play-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #ffffff;
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.play-btn:hover,
.music-card:hover .play-btn {
  background: var(--color-neon-fuchsia);
  color: #ffffff;
  transform: scale(1.1);
  box-shadow: 0 0 15px var(--color-neon-fuchsia-glow);
}

.music-card:hover .music-cover {
  transform: scale(1.05);
}

.music-card:hover .music-play-overlay {
  opacity: 1;
}

.music-card-info {
  margin-top: 16px;
  text-align: left;
}

.music-card-info h4 {
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.music-card-info p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .music-layout {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

@media (max-width: 480px) {
  .music-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================
   SECCIÓN: CONTACTO & BOOKING
   ========================================== */
.booking-section {
  background: var(--color-bg-dark);
}

.booking-container {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 60px;
  align-items: center;
  margin-top: 60px;
}

.booking-info h3 {
  font-family: var(--font-title);
  font-size: 2.5rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: linear-gradient(135deg, #ffffff 40%, var(--color-neon-fuchsia) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.booking-info p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 40px;
  font-weight: 300;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-bottom: 40px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 20px;
}

.contact-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-neon-fuchsia);
  font-size: 1.2rem;
}

.contact-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-dimmed);
}

.contact-value {
  color: #ffffff;
  font-size: 1.05rem;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.contact-value:hover {
  color: var(--color-neon-fuchsia);
}

.social-links-container {
  display: flex;
  gap: 16px;
}

.social-link {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.15rem;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.social-link:hover {
  background: var(--color-neon-fuchsia);
  border-color: var(--color-neon-fuchsia);
  box-shadow: 0 0 15px var(--color-neon-fuchsia-glow);
  transform: translateY(-3px) scale(1.05);
}

/* Booking Form */
.booking-form-card {
  background: var(--color-bg-card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 20px;
}

.form-group label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  margin-bottom: 8px;
  font-weight: 600;
}

.form-group input, .form-group textarea {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-border);
  color: #ffffff;
  padding: 14px 18px;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  outline: none;
  transition: all 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus {
  border-color: var(--color-neon-fuchsia);
  box-shadow: 0 0 10px rgba(255, 0, 127, 0.15);
  background: rgba(255, 255, 255, 0.06);
}

.btn-submit {
  width: 100%;
  border: none;
  background: #ffffff;
  color: #000000 !important;
}

.btn-submit:hover {
  background: var(--color-neon-fuchsia);
  color: #ffffff !important;
  box-shadow: 0 0 20px var(--color-neon-fuchsia-glow);
}

@media (max-width: 900px) {
  .booking-container {
    grid-template-columns: 1fr;
    gap: 50px;
  }
}

@media (max-width: 550px) {
  .booking-form-card {
    padding: 24px;
  }
  .form-group-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
}

/* ==========================================
   SECCIÓN: FOOTER
   ========================================== */
.footer {
  background: #030303;
  border-top: 1px solid var(--color-border);
  padding: 50px 0;
}

.footer-layout {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-logo-img {
  height: 60px;
  max-width: 180px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.15));
  transition: var(--transition-smooth);
}

.footer-logo-img:hover {
  transform: scale(1.05);
}

.footer-copyright {
  font-size: 0.85rem;
  color: var(--text-dimmed);
  margin-bottom: 0;
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--text-dimmed);
}

.footer-tagline a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.footer-tagline a:hover {
  color: var(--color-neon-fuchsia);
}

@media (max-width: 768px) {
  .footer-layout {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }
}

/* ==========================================
   SCROLL REVEAL ANIMATIONS (GPU ACCELERATED)
   ========================================== */
.scroll-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

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

.delay-1 { transition-delay: 0.1s; }
.delay-2 { transition-delay: 0.2s; }
.delay-3 { transition-delay: 0.3s; }
.delay-4 { transition-delay: 0.4s; }

/* Word reveal animation inside bio text */
.word-reveal {
  display: inline-block;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.3s cubic-bezier(0.25, 1, 0.5, 1), 
              transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  transition-delay: calc(var(--word-index) * 0.01s);
  will-change: opacity, transform;
}

.bio-layout.revealed .word-reveal,
.bio-content.revealed .word-reveal {
  opacity: 1;
  transform: translateY(0);
}

/* Lightbox Modal styles */
.lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.95);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.lightbox[aria-hidden="false"] {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-content {
  position: relative;
  width: 100%;
  max-width: 800px;
  max-height: 80vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 20px;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
}

.lightbox-caption {
  font-family: var(--font-accent);
  font-size: 2rem;
  color: #ffffff;
  margin-top: 15px;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 30px;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 2.5rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

.lightbox-close:hover {
  color: var(--color-neon-fuchsia);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-border);
  color: #ffffff;
  font-size: 1.5rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.lightbox-nav:hover {
  background: var(--color-neon-fuchsia);
  border-color: var(--color-neon-fuchsia);
  box-shadow: 0 0 15px var(--color-neon-fuchsia-glow);
}

.lightbox-nav.prev { left: 40px; }
.lightbox-nav.next { right: 40px; }

@media (max-width: 768px) {
  .lightbox-nav.prev { left: 15px; }
  .lightbox-nav.next { right: 15px; }
}

/* ==========================================
   HIGHLIGHT BUTTON & FAN CLUB LAYOUTS
   ========================================== */
.nav-btn-highlight {
  background: rgba(255, 0, 127, 0.08);
  border: 1px solid var(--color-neon-fuchsia);
  color: #ffffff !important;
  padding: 10px 24px;
  border-radius: 30px;
  text-shadow: 0 0 5px var(--color-neon-fuchsia-glow);
  box-shadow: 0 0 10px var(--color-neon-fuchsia-glow);
}

.nav-btn-highlight:hover {
  background: var(--color-neon-fuchsia);
  color: #ffffff !important;
  box-shadow: 0 0 20px var(--color-neon-fuchsia);
}

/* Fan Club CTA Section on Homepage */
.fan-club-cta-section {
  padding: 100px 0;
  background: var(--color-bg-dark);
  border-top: 1px solid var(--color-border);
}

.fan-club-cta-card {
  position: relative;
  background: rgba(18, 18, 18, 0.7);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: 70px 40px;
  text-align: center;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.fan-club-cta-card:hover {
  border-color: var(--color-neon-fuchsia);
  box-shadow: 0 15px 40px var(--color-neon-fuchsia-glow);
}

.fan-club-cta-content {
  position: relative;
  z-index: 2;
  max-width: 650px;
  margin: 0 auto;
}

.fan-club-cta-tag {
  font-size: 0.85rem;
  letter-spacing: 0.25em;
  color: var(--color-neon-fuchsia);
  text-shadow: 0 0 10px var(--color-neon-fuchsia-glow);
  font-weight: 600;
  text-transform: uppercase;
  margin-bottom: 18px;
  display: block;
}

.fan-club-cta-content h2 {
  font-family: var(--font-title);
  font-size: 2.8rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.fan-club-cta-content p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 36px;
}

.fan-club-cta-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--color-neon-fuchsia-glow) 0%, transparent 70%);
  opacity: 0.5;
  filter: blur(50px);
  z-index: 1;
  pointer-events: none;
}

/* Fan Page Subpage Styles */
.fan-page-section {
  padding: 180px 0 100px 0;
  min-height: calc(100vh - 120px);
  display: flex;
  justify-content: center;
  align-items: center;
}

.fan-page-card {
  position: relative;
  background: rgba(10, 10, 10, 0.7);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--color-border);
  border-radius: 24px;
  padding: 60px 40px;
  text-align: center;
  overflow: hidden;
  width: 100%;
}

.fan-page-glow {
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(circle, var(--color-neon-fuchsia-glow) 0%, transparent 70%);
  opacity: 0.6;
  filter: blur(60px);
  z-index: 1;
  pointer-events: none;
}

.fan-page-header {
  position: relative;
  z-index: 2;
  margin-bottom: 60px;
}

.fan-page-tag {
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  color: var(--color-neon-fuchsia);
  text-shadow: 0 0 10px var(--color-neon-fuchsia-glow);
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: block;
}

.fan-page-title {
  font-family: var(--font-title);
  font-size: 3.4rem;
  font-weight: 800;
  color: #ffffff;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.fan-page-subtitle {
  color: var(--text-secondary);
  font-size: 1.15rem;
  font-weight: 400;
}

.fan-socials-container {
  position: relative;
  z-index: 2;
  margin-bottom: 70px;
}

.fan-socials-container h3 {
  font-family: var(--font-title);
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.1em;
  margin-bottom: 30px;
  text-transform: uppercase;
}

.fan-socials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.fan-social-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 30px 20px;
  text-decoration: none;
  color: #ffffff;
  transition: var(--transition-smooth);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.fan-social-item:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-5px);
}

.fan-social-item.instagram:hover {
  border-color: #e1306c;
  box-shadow: 0 10px 25px rgba(225, 48, 108, 0.15);
}

.fan-social-item.spotify:hover {
  border-color: #1ed760;
  box-shadow: 0 10px 25px rgba(30, 215, 96, 0.15);
}

.fan-social-item.youtube:hover {
  border-color: #ff0000;
  box-shadow: 0 10px 25px rgba(255, 0, 0, 0.15);
}

.social-icon-wrapper {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
  transition: var(--transition-smooth);
}

.fan-social-item.instagram .social-icon-wrapper { color: #e1306c; }
.fan-social-item.spotify .social-icon-wrapper { color: #1ed760; }
.fan-social-item.youtube .social-icon-wrapper { color: #ff0000; }

.fan-social-item:hover .social-icon-wrapper {
  background: #ffffff;
}
.fan-social-item.instagram:hover .social-icon-wrapper { background: #e1306c; color: #ffffff; }
.fan-social-item.spotify:hover .social-icon-wrapper { background: #1ed760; color: #ffffff; }
.fan-social-item.youtube:hover .social-icon-wrapper { background: #ff0000; color: #ffffff; }

.fan-social-item h4 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.fan-social-item p {
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.fan-exclusive-cta {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--color-border);
  padding-top: 50px;
  max-width: 600px;
  margin: 0 auto;
}

.fan-exclusive-cta h2 {
  font-family: var(--font-title);
  font-size: 2.2rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.fan-exclusive-cta p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 30px;
}

.btn-exclusive-chat {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 40px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 50px;
  background: #25d366;
  color: #ffffff !important;
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.3);
  transition: var(--transition-smooth);
  cursor: pointer;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.btn-exclusive-chat i {
  font-size: 1.3rem;
  margin-right: 10px;
}

.btn-exclusive-chat:hover {
  background: #20ba5a;
  transform: translateY(-3px);
  box-shadow: 0 0 30px rgba(37, 211, 102, 0.5);
}

@media (max-width: 768px) {
  .fan-page-title {
    font-size: 2.3rem;
  }
  .fan-exclusive-cta h2 {
    font-size: 1.7rem;
  }
}

@media (max-width: 600px) {
  .fan-socials-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

/* ==========================================================================
   INSTAGRAM BROADCAST CHANNEL SIMULATOR
   ========================================================================== */
.fan-broadcast-section {
  position: relative;
  z-index: 2;
  margin: 60px auto;
  max-width: 600px;
  text-align: left;
}

.broadcast-section-title {
  font-family: var(--font-title);
  font-size: 1.6rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
}

.broadcast-section-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 24px;
}

.instagram-widget {
  background: rgba(20, 20, 20, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(225, 48, 108, 0.05);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  transition: var(--transition-smooth);
}

.instagram-widget:hover {
  border-color: rgba(225, 48, 108, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 40px rgba(225, 48, 108, 0.1);
}

/* Header styling */
.ig-widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  background: rgba(30, 30, 30, 0.6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.ig-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ig-avatar-wrapper {
  position: relative;
  width: 44px;
  height: 44px;
}

.ig-header-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #e1306c;
  padding: 2px;
}

.ig-status-dot {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 10px;
  height: 10px;
  background: #1ed760;
  border: 2px solid #141414;
  border-radius: 50%;
  animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
  0% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(30, 215, 96, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(30, 215, 96, 0); }
  100% { transform: scale(0.9); box-shadow: 0 0 0 0 rgba(30, 215, 96, 0); }
}

.ig-header-info {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.ig-header-name {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ig-header-name h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.ig-verified {
  color: #3897f0;
  font-size: 0.85rem;
}

.ig-member-count {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 2px;
}

.ig-join-header-btn {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #ffffff !important;
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 30px;
  transition: transform 0.2s ease;
}

.ig-join-header-btn:hover {
  transform: scale(1.05);
}

/* Chat Messages styling */
.ig-widget-messages {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-height: 400px;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.1) transparent;
}

.ig-widget-messages::-webkit-scrollbar {
  width: 4px;
}

.ig-widget-messages::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

.ig-msg-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  max-width: 85%;
  position: relative;
}

.ig-msg-bubble {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: #e6e6e6;
  padding: 12px 16px;
  border-radius: 18px 18px 18px 4px;
  font-size: 0.9rem;
  line-height: 1.4;
  position: relative;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  text-align: left;
}

.ig-msg-time {
  display: block;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 6px;
  text-align: left;
}

/* Reactions */
.ig-reactions {
  display: flex;
  gap: 6px;
  margin-top: -6px;
  margin-left: 12px;
  z-index: 2;
}

.ig-reaction-btn {
  background: rgba(20, 20, 20, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 4px 8px;
  color: #cccccc;
  font-size: 0.75rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
}

.ig-reaction-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.2);
  transform: scale(1.05);
}

.ig-reaction-btn.reacted {
  background: rgba(225, 48, 108, 0.15) !important;
  border-color: rgba(225, 48, 108, 0.4) !important;
  color: #ffffff;
}

/* Interactive Poll styling */
.ig-poll-question {
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 8px;
}

.ig-poll-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 260px;
  margin-bottom: 6px;
}

.ig-poll-option {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 10px 14px;
  color: #dddddd;
  font-family: inherit;
  font-size: 0.85rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  text-align: left;
  overflow: hidden;
  transition: all 0.2s ease;
}

.ig-poll-option:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
}

.ig-option-text {
  position: relative;
  z-index: 2;
}

.ig-option-percent {
  position: relative;
  z-index: 2;
  font-weight: 700;
  color: #ffffff;
  opacity: 0; /* hidden before voting */
  transition: opacity 0.3s ease;
}

.ig-option-bar {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: rgba(255, 255, 255, 0.12);
  z-index: 1;
  width: 0;
  transition: width 0.8s cubic-bezier(0.1, 0.8, 0.25, 1);
}

/* Voted state */
.ig-poll-options.voted .ig-option-percent {
  opacity: 1;
}

.ig-poll-options.voted .ig-poll-option {
  cursor: default;
  pointer-events: none;
}

.ig-poll-option.user-voted .ig-option-bar {
  background: rgba(225, 48, 108, 0.25);
}

.ig-poll-option.user-voted {
  border-color: rgba(225, 48, 108, 0.4);
}

/* Audio Player styling */
.ig-msg-audio {
  width: 250px;
}

.ig-audio-container {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ig-audio-play-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #ffffff;
  border: none;
  color: #141414;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.8rem;
  transition: transform 0.2s ease;
}

.ig-audio-play-btn:hover {
  transform: scale(1.1);
}

.ig-audio-wave {
  display: flex;
  align-items: center;
  gap: 3px;
  flex-grow: 1;
  height: 24px;
}

.wave-line {
  display: inline-block;
  width: 2px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  transition: all 0.2s ease;
}

.wl-1 { height: 10px; }
.wl-2 { height: 14px; }
.wl-3 { height: 8px; }
.wl-4 { height: 18px; }
.wl-5 { height: 12px; }
.wl-6 { height: 6px; }
.wl-7 { height: 16px; }
.wl-8 { height: 10px; }
.wl-9 { height: 14px; }
.wl-10 { height: 8px; }

/* Animated wave when playing */
.ig-audio-wave.playing .wave-line {
  background: #e1306c;
  animation: wave-bounce 0.6s ease-in-out infinite alternate;
}

.ig-audio-wave.playing .wl-1 { animation-delay: 0.05s; }
.ig-audio-wave.playing .wl-2 { animation-delay: 0.15s; }
.ig-audio-wave.playing .wl-3 { animation-delay: 0.25s; }
.ig-audio-wave.playing .wl-4 { animation-delay: 0.10s; }
.ig-audio-wave.playing .wl-5 { animation-delay: 0.20s; }
.ig-audio-wave.playing .wl-6 { animation-delay: 0.30s; }
.ig-audio-wave.playing .wl-7 { animation-delay: 0.05s; }
.ig-audio-wave.playing .wl-8 { animation-delay: 0.15s; }
.ig-audio-wave.playing .wl-9 { animation-delay: 0.25s; }
.ig-audio-wave.playing .wl-10 { animation-delay: 0.10s; }

@keyframes wave-bounce {
  0% { transform: scaleY(0.4); }
  100% { transform: scaleY(1.4); }
}

.ig-audio-dur {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

/* Footer CTA styling */
.ig-widget-footer {
  padding: 16px 20px;
  background: rgba(30, 30, 30, 0.4);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  text-align: center;
}

.btn-ig-widget-join {
  display: block;
  width: 100%;
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  color: #ffffff !important;
  text-decoration: none;
  font-weight: 700;
  text-align: center;
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 0.95rem;
  box-shadow: 0 4px 15px rgba(225, 48, 108, 0.25);
  transition: all 0.3s ease;
}

.btn-ig-widget-join:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(225, 48, 108, 0.4);
}

/* Typing Indicator Animation */
.ig-typing-indicator {
  margin-top: 5px;
}

.typing-dot {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  margin-right: 3px;
  animation: typing-bounce 1s infinite alternate;
}
.typing-dot:nth-child(2) { animation-delay: 0.2s; }
.typing-dot:nth-child(3) { animation-delay: 0.4s; }

@keyframes typing-bounce {
  0% { transform: translateY(0); opacity: 0.4; }
  100% { transform: translateY(-5px); opacity: 1; }
}

.msg-new-animation {
  animation: msg-slide-in 0.4s cubic-bezier(0.1, 0.8, 0.25, 1) forwards;
}

@keyframes msg-slide-in {
  0% { opacity: 0; transform: translateY(15px); }
  100% { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
  .fan-broadcast-section {
    margin: 40px auto;
  }
  .broadcast-section-title {
    font-size: 1.3rem;
  }
  .ig-widget-messages {
    max-height: 350px;
  }
  .ig-msg-group {
    max-width: 95%;
  }
  .ig-poll-options {
    width: 100%;
  }
}

/* ==========================================================================
   FAN LAYOUT GRID & STORY WIDGET
   ========================================================================== */
.fan-layout-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: start;
  text-align: left;
  margin-bottom: 50px;
}

.fan-main-column {
  width: 100%;
}

.fan-story-column {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Story Phone-Frame Mockup */
.story-widget {
  width: 100%;
  max-width: 300px;
  aspect-ratio: 9/16;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #000000;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 30px rgba(225, 48, 108, 0.05);
  position: relative;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.story-widget:hover {
  border-color: rgba(225, 48, 108, 0.3);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 40px rgba(225, 48, 108, 0.12);
}

.story-widget-inner {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 16px;
  box-sizing: border-box;
  z-index: 2;
}

/* Video inside phone frame */
.story-video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.story-video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Gradient Overlays for Story UI legibility */
.story-widget::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 25%;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.65) 0%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

.story-widget::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 25%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

/* Progress indicator bars */
.story-progress-container {
  position: relative;
  width: 100%;
  height: 3px;
  z-index: 3;
  margin-bottom: 12px;
}

.story-progress-bar {
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 2px;
  overflow: hidden;
}

.story-progress-fill {
  height: 100%;
  width: 0%;
  background: #ffffff;
}

/* Profile header */
.story-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 3;
  width: 100%;
}

.story-profile {
  display: flex;
  align-items: center;
  gap: 10px;
}

.story-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid #e1306c;
  object-fit: cover;
  padding: 1px;
}

.story-profile-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.story-username {
  font-size: 0.85rem;
  font-weight: 700;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 4px;
}

.story-time {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.7);
}

.story-audio-toggle {
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.15);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.75rem;
  transition: var(--transition-smooth);
}

.story-audio-toggle:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: #ffffff;
}

.story-audio-toggle.unmuted {
  border-color: var(--color-neon-fuchsia);
  color: var(--color-neon-fuchsia);
  box-shadow: 0 0 10px rgba(255, 0, 127, 0.3);
}

/* Footer elements */
.story-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  z-index: 3;
  width: 100%;
}

.story-reply-mock {
  flex-grow: 1;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 8px 16px;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.8rem;
  text-align: left;
}

.story-like-mock {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1.3rem;
  cursor: pointer;
  padding: 4px;
  transition: transform 0.2s ease;
}

.story-like-mock:hover {
  transform: scale(1.15);
}

.story-like-mock.liked {
  animation: heart-pulse 0.3s ease-out;
}

@keyframes heart-pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.3); }
  100% { transform: scale(1); }
}

/* ==========================================================================
   PERSONALIZED GREETINGS FORM
   ========================================================================== */
.fan-greetings-section {
  position: relative;
  z-index: 2;
  margin: 60px auto;
  max-width: 900px;
  text-align: center;
  background: rgba(20, 20, 20, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(225, 48, 108, 0.03);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  transition: var(--transition-smooth);
}

.fan-greetings-section:hover {
  border-color: rgba(225, 48, 108, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 40px rgba(225, 48, 108, 0.08);
}

.greetings-layout-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: start;
}

.greetings-form-side {
  width: 100%;
}

.greetings-video-side {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.demo-story-label {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-neon-fuchsia);
  text-shadow: 0 0 10px var(--color-neon-fuchsia-glow);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: inline-flex;
  align-items: center;
}

.greetings-title {
  font-family: var(--font-title);
  font-size: 1.6rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.greetings-desc {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 30px;
  text-align: center;
}

.greeting-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.greeting-form .form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.greeting-form .form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.greeting-form label {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: center;
}

.greeting-form input,
.greeting-form select,
.greeting-form textarea {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 14px;
  color: #ffffff;
  font-family: inherit;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
  text-align: center;
}

.greeting-form input:focus,
.greeting-form select:focus,
.greeting-form textarea:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--color-neon-fuchsia);
  box-shadow: 0 0 15px rgba(255, 0, 127, 0.15);
}

.greeting-form select {
  text-align-last: center;
}

.greeting-form select option {
  background: #141414;
  color: #ffffff;
  text-align: center;
}

.greeting-form textarea {
  resize: vertical;
}

.btn-greeting-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 30px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  text-decoration: none;
  border-radius: 50px;
  border: none;
  background: #25d366;
  color: #ffffff !important;
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.25);
  transition: var(--transition-smooth);
  cursor: pointer;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 10px;
  width: 100%;
}

.btn-greeting-submit i {
  font-size: 1.3rem;
  margin-right: 10px;
}

.btn-greeting-submit:hover {
  background: #20ba5a;
  transform: translateY(-3px);
  box-shadow: 0 0 30px rgba(37, 211, 102, 0.45);
}

/* Responsive Overrides */
@media (max-width: 900px) {
  .fan-layout-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .fan-story-column {
    order: -1; /* Story mode appears first on mobile layouts */
    margin-bottom: 20px;
  }
  .story-widget {
    max-width: 280px;
  }
  .fan-greetings-section {
    padding: 30px 20px;
  }
  .greetings-layout-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .greetings-video-side {
    order: -1; /* Demo greeting story player appears first on mobile greeting card */
    margin-bottom: 10px;
  }
  .greeting-form .form-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ==========================================
   MOBILE MENU DRAWER & RESPONSIVE REFINEMENTS
   ========================================== */
@media (max-width: 900px) {
  .burger-menu {
    display: flex;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(5, 5, 5, 0.98);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    z-index: 99;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
  }

  .nav-menu.active {
    right: 0;
  }

  .nav-menu ul {
    flex-direction: column;
    gap: 30px;
    align-items: center;
  }

  .nav-menu ul li a {
    font-size: 1.4rem;
  }

  .burger-menu.active .burger-bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .burger-menu.active .burger-bar:nth-child(2) {
    opacity: 0;
  }

  .burger-menu.active .burger-bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  /* TAGLINE AND HERO ADJUSTMENTS TO PREVENT FIXED HEADER OVERLAP AND BLUR */
  .hero-section {
    padding-top: 140px !important;
  }

  .hero-content {
    margin-top: 40px !important;
  }

  /* HIDE SCROLL INDICATOR ON MOBILE/TABLET TO PREVENT HERO BUTTONS COLLISION */
  .scroll-indicator {
    display: none !important;
  }

  /* CENTER HEADERS ON MOBILE/TABLET LAYOUT STACK */
  .fan-page-header {
    text-align: center !important;
  }

  .fan-socials-container h3 {
    text-align: center !important;
  }

  .fan-broadcast-section {
    text-align: center !important;
  }

  .greetings-form-side {
    text-align: center !important;
  }

  .greetings-title {
    justify-content: center !important;
  }
}

@media (max-width: 768px) {
  section {
    padding: 80px 0 !important;
  }
  
  .bio-signature-name {
    font-size: 2.6rem !important;
  }
  
  .bio-signature-text {
    font-size: 1.4rem !important;
  }

  /* FAN CLUB CTA ADJUSTMENTS */
  .fan-club-cta-card {
    padding: 40px 20px !important;
  }

  .fan-club-cta-content h2 {
    font-size: 1.8rem !important;
  }

  .fan-club-cta-content p {
    font-size: 0.95rem !important;
    margin-bottom: 24px !important;
  }

  /* CLUB DE FANS SUBPAGE MOBILE OPTIMIZATIONS */
  .fan-page-section {
    padding-top: 130px !important;
    padding-bottom: 60px !important;
  }

  .fan-page-card {
    padding: 40px 16px !important;
  }
}

@media (max-width: 480px) {
  .fan-page-title {
    font-size: 1.8rem !important;
  }
}

/* ==========================================================================
   MOBILE DEVICE MOTION INTERACTIVE PRELOADER STYLES
   ========================================================================== */
.preloader-device-motion-prompt {
  position: absolute;
  top: 25%; /* Shifted lower, positioned intermediate between the top and the logo */
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 4;
  opacity: 0;
  animation: fadeInPrompt 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  pointer-events: none;
}

@keyframes fadeInPrompt {
  to { opacity: 1; }
}

/* 3D phone tilt animation components */
.device-motion-icon-wrapper {
  position: relative;
  width: 70px;
  height: 45px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.device-motion-phone-icon {
  width: 22px;
  height: 38px;
  border: 2px solid var(--color-neon-fuchsia);
  border-radius: 5px;
  position: relative;
  box-shadow: 0 0 12px rgba(225, 48, 108, 0.5);
  animation: tiltDevice 2.2s infinite ease-in-out;
}

.device-motion-phone-icon::after {
  content: '';
  position: absolute;
  bottom: 3px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-neon-fuchsia);
}

.device-motion-arrows {
  position: absolute;
  width: 100%;
  display: flex;
  justify-content: space-between;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.motion-arrow {
  color: var(--color-neon-cyan);
  font-size: 1.6rem;
  font-weight: 700;
  text-shadow: 0 0 8px rgba(0, 243, 255, 0.6);
  animation: arrowPulse 1.1s infinite alternate ease-in-out;
}

.motion-arrow.left {
  animation-delay: 0s;
}

.motion-arrow.right {
  animation-delay: 0.55s;
}

@keyframes tiltDevice {
  0% { transform: rotate(0deg); }
  25% { transform: rotate(-22deg); }
  50% { transform: rotate(0deg); }
  75% { transform: rotate(22deg); }
  100% { transform: rotate(0deg); }
}

@keyframes arrowPulse {
  from { opacity: 0.15; transform: scale(0.85); }
  to { opacity: 1; transform: scale(1.15); }
}

/* High frequency haptic tick simulator */
.compass-tick-shake {
  animation: tickShake 0.12s cubic-bezier(.36,.07,.19,.97) both;
}

@keyframes tickShake {
  0% { transform: translate3d(0, 0, 0); filter: brightness(1.2) contrast(1.15) drop-shadow(0 0 50px rgba(255, 255, 255, 0.7)); }
  20% { transform: translate3d(-3px, 2px, 0); }
  40% { transform: translate3d(3px, -2px, 0); }
  60% { transform: translate3d(-2px, 1px, 0); }
  80% { transform: translate3d(2px, -1px, 0); }
  100% { transform: translate3d(0, 0, 0); filter: brightness(1) contrast(1) drop-shadow(0 0 45px rgba(255, 255, 255, 0.5)); }
}

/* Preloader Mobile & Thumb Comfort Zone Layout */
@media (max-width: 768px) {
  .preloader-content {
    padding: 0;
  }
  .preloader-logo-container {
    position: absolute;
    top: 45%; /* Vertically balanced center on mobile */
    left: 50%;
    transform: translate(-50%, -50%);
    width: 95%;
    max-width: 550px;
    height: auto;
    padding-bottom: 0;
  }
  .preloader-official-logo {
    width: 100% !important; /* Full width of container */
    max-width: 500px !important; /* Enlarged but fits beautifully without edge clipping */
    flex-shrink: 0;
    margin-bottom: 0px;
  }
  .preloader-bottom-container {
    bottom: 95px; /* Optimal thumb comfort height on mobile */
  }
  .preloader-actions {
    gap: 12px;
    margin-top: 45px;
  }
  .preloader-audio-btn, .preloader-skip-btn {
    padding: 14px 24px !important; /* Slightly taller buttons for easy tapping */
    font-size: 0.95rem !important;
  }
  .preloader-device-motion-prompt {
    top: 22% !important; /* Shifted lower on mobile, intermediate above logo */
    margin-top: 0;
    padding: 0;
  }
  .preloader-bar-container {
    margin-top: 0;
  }
}


