/* Directivas de Tailwind CSS */
@tailwind base;
@tailwind components;
@tailwind utilities;

/* Premium color system inspired by modern design */
:root {
  --bg-primary: #0a0a0a;
  --bg-secondary: #111111;
  --bg-card: #161616;
  --text-primary: #ffffff;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
  --accent-primary: #ff3b5b;
  --accent-glow: rgba(255, 59, 91, 0.5);
  --border-subtle: rgba(255, 255, 255, 0.1);
  --radius: 16px;
}

* {
  box-sizing: border-box;
}

body {
  font-family: "Oswald", sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.6;
}

/* Improved logo styling for consistent brightness */
.logo-bright,
.hero-logo-main {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  mix-blend-mode: lighten;
}

.logo-bright:hover,
.hero-logo-main:hover {
  transform: scale(1.05);
  filter: brightness(0) invert(1) brightness(3.5) drop-shadow(0 0 25px rgba(255, 255, 255, 0.6)) !important;
}

/* Logo always white and glowing */
.logo-filter-white {
  filter: brightness(0) invert(1) brightness(2.8) drop-shadow(0 0 20px rgba(255, 255, 255, 0.3)) !important;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  mix-blend-mode: lighten;
}

.logo-filter-white:hover {
  filter: brightness(0) invert(1) brightness(3.2) drop-shadow(0 0 30px rgba(255, 255, 255, 0.5)) !important;
  transform: scale(1.05);
}

/* Store logo wrapper with proper styling */
.store-logo-wrapper {
  padding: 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 12px;
  background: rgba(22, 22, 22, 0.4);
  backdrop-filter: blur(10px);
}

.store-logo-wrapper:hover {
  background: rgba(22, 22, 22, 0.8);
  transform: scale(1.1);
}

.store-logo-wrapper svg {
  transition: all 0.3s ease;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.store-logo-wrapper:hover svg {
  filter: drop-shadow(0 6px 12px rgba(255, 59, 91, 0.4));
}

/* Premium animations with easing */
@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes slideUpFade {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes glowPulse {
  0%,
  100% {
    filter: drop-shadow(0 0 20px var(--accent-glow)) drop-shadow(0 0 40px var(--accent-glow));
    text-shadow: 0 0 30px var(--accent-primary), 0 0 60px var(--accent-primary), 0 0 90px rgba(255, 59, 91, 0.6);
  }
  50% {
    filter: drop-shadow(0 0 40px var(--accent-glow)) drop-shadow(0 0 80px var(--accent-glow));
    text-shadow: 0 0 50px var(--accent-primary), 0 0 80px var(--accent-primary), 0 0 120px rgba(255, 59, 91, 0.8);
  }
}

@keyframes shimmerSlide {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }
  50% {
    transform: translateY(-30px) rotate(5deg);
  }
}

@keyframes gradientWave {
  0%,
  100% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
}

@keyframes borderGlow {
  0%,
  100% {
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 20px rgba(255, 59, 91, 0.2);
  }
  50% {
    border-color: rgba(255, 59, 91, 0.4);
    box-shadow: 0 0 40px rgba(255, 59, 91, 0.4), 0 0 80px rgba(255, 59, 91, 0.2);
  }
}

/* Hero section with premium animations */
.hero-logo {
  animation: fadeInScale 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
  filter: brightness(0) invert(1) brightness(2.8) drop-shadow(0 0 30px rgba(255, 255, 255, 0.4)) !important;
  mix-blend-mode: lighten;
}

.hero-subtitle {
  animation: slideUpFade 1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s both, glowPulse 3s ease-in-out 1s infinite;
  color: var(--accent-primary) !important;
  letter-spacing: 0.5em;
  font-weight: 300;
  font-size: 3rem;
  text-shadow: 0 0 30px var(--accent-primary), 0 0 60px var(--accent-primary), 0 0 90px rgba(255, 59, 91, 0.6) !important;
}

.hero-cta {
  animation: slideUpFade 1s cubic-bezier(0.16, 1, 0.3, 1) 0.6s both;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--accent-primary), #ff1744);
  color: white !important;
  font-weight: 800;
  letter-spacing: 0.08em;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 50px;
  padding: 1.2rem 3rem;
  box-shadow: 0 10px 40px rgba(255, 59, 91, 0.4);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
}

.hero-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  animation: shimmerSlide 3s infinite;
}

.hero-cta:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 15px 50px rgba(255, 59, 91, 0.6);
  background: linear-gradient(135deg, #ff1744, var(--accent-primary));
}

.hero-cta:active {
  transform: translateY(-2px) scale(1.02);
}

/* Cards with premium glass morphism and animations */
.service-card {
  opacity: 0;
  animation: slideUpFade 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  background: rgba(22, 22, 22, 0.6);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.service-card:hover::before {
  opacity: 1;
}

.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 59, 91, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(255, 59, 91, 0.2);
  background: rgba(22, 22, 22, 0.8);
}

.service-card:nth-child(1) {
  animation-delay: 0.1s;
}
.service-card:nth-child(2) {
  animation-delay: 0.2s;
}
.service-card:nth-child(3) {
  animation-delay: 0.3s;
}

.service-card h4 {
  color: var(--text-primary);
  font-weight: 700;
  margin-bottom: 1rem;
  font-size: 1.75rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  transition: all 0.3s ease;
}

.service-card:hover h4 {
  color: var(--accent-primary);
  text-shadow: 0 0 20px rgba(255, 59, 91, 0.5);
}

.service-card p {
  color: var(--text-secondary);
  line-height: 1.8;
  font-weight: 300;
  margin-bottom: 1.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.service-card a {
  color: var(--text-primary);
  font-weight: 600;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.service-card a:hover {
  color: var(--accent-primary);
  transform: translateX(8px);
  text-shadow: 0 0 15px rgba(255, 59, 91, 0.6);
}

/* Section titles with glow */
section h3 {
  color: var(--text-primary);
  font-weight: 800;
  letter-spacing: -0.02em;
  font-size: 3rem;
  margin-bottom: 3rem;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.7);
  animation: slideUpFade 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Music cards with premium effects */
.music-card {
  opacity: 0;
  animation: slideUpFade 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(22, 22, 22, 0.6);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}

.music-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 59, 91, 0.1), transparent);
  opacity: 0;
  transition: opacity 0.4s ease;
}

.music-card:hover::after {
  opacity: 1;
}

.music-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: rgba(255, 59, 91, 0.4);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), 0 0 40px rgba(255, 59, 91, 0.3);
}

.music-card h5 {
  color: var(--text-primary);
  font-weight: 700;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.music-card p {
  color: var(--text-secondary);
  line-height: 1.7;
  font-weight: 300;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.music-card:nth-child(1) {
  animation-delay: 0.1s;
}
.music-card:nth-child(2) {
  animation-delay: 0.2s;
}
.music-card:nth-child(3) {
  animation-delay: 0.3s;
}

/* Navigation with premium underline effect */
.nav-link {
  color: var(--text-secondary);
  font-weight: 600;
  position: relative;
  transition: color 0.3s ease;
  letter-spacing: 0.05em;
  padding: 0.5rem 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-primary), #ff1744);
  box-shadow: 0 0 10px var(--accent-primary);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover {
  color: var(--text-primary);
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

.nav-link:hover::after {
  width: 100%;
}

/* Animated grid background */
.hero-grid {
  background-image: linear-gradient(rgba(255, 59, 91, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 59, 91, 0.05) 1px, transparent 1px);
  background-size: 100px 100px;
  animation: gradientWave 20s ease infinite;
}

/* Particles visible and animated */
.particles-container {
  display: block;
  pointer-events: none;
}

.particle {
  position: absolute;
  width: 4px;
  height: 4px;
  background: radial-gradient(circle, rgba(255, 59, 91, 0.8), transparent);
  border-radius: 50%;
  animation: float 15s infinite ease-in-out;
  box-shadow: 0 0 10px rgba(255, 59, 91, 0.5);
}

.particle:nth-child(1) {
  top: 20%;
  left: 20%;
  animation-duration: 12s;
  animation-delay: 0s;
}
.particle:nth-child(2) {
  top: 40%;
  left: 60%;
  animation-duration: 15s;
  animation-delay: 2s;
}
.particle:nth-child(3) {
  top: 60%;
  left: 30%;
  animation-duration: 18s;
  animation-delay: 4s;
}
.particle:nth-child(4) {
  top: 80%;
  left: 70%;
  animation-duration: 14s;
  animation-delay: 1s;
}
.particle:nth-child(5) {
  top: 30%;
  left: 80%;
  animation-duration: 16s;
  animation-delay: 3s;
}
.particle:nth-child(6) {
  top: 70%;
  left: 15%;
  animation-duration: 13s;
  animation-delay: 5s;
}
.particle:nth-child(7) {
  top: 50%;
  left: 50%;
  animation-duration: 17s;
  animation-delay: 2.5s;
}
.particle:nth-child(8) {
  top: 15%;
  left: 45%;
  animation-duration: 19s;
  animation-delay: 1.5s;
}
.particle:nth-child(9) {
  top: 85%;
  left: 40%;
  animation-duration: 14.5s;
  animation-delay: 3.5s;
}
.particle:nth-child(10) {
  top: 25%;
  left: 75%;
  animation-duration: 16.5s;
  animation-delay: 4.5s;
}

/* Contact form with premium styling */
.contact-form-wrapper {
  animation: fadeIn 0.6s ease-out;
}

.form-group {
  animation: slideUp 0.5s cubic-bezier(0.16, 1, 0.3, 1) backwards;
  margin-bottom: 1.5rem;
}

.form-group:nth-child(1) {
  animation-delay: 0.05s;
}
.form-group:nth-child(2) {
  animation-delay: 0.1s;
}
.form-group:nth-child(3) {
  animation-delay: 0.15s;
}
.form-group:nth-child(4) {
  animation-delay: 0.2s;
}

.contact-form-wrapper label {
  color: var(--text-primary);
  font-weight: 600;
  display: block;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.contact-form-wrapper input,
.contact-form-wrapper textarea {
  background: rgba(22, 22, 22, 0.8);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  transition: all 0.3s ease;
  border-radius: 12px;
  padding: 0.9rem 1.2rem;
  width: 100%;
  font-family: inherit;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.contact-form-wrapper input::placeholder,
.contact-form-wrapper textarea::placeholder {
  color: var(--text-muted);
}

.contact-form-wrapper input:focus,
.contact-form-wrapper textarea:focus {
  border-color: var(--accent-primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(255, 59, 91, 0.2), 0 0 30px rgba(255, 59, 91, 0.1);
  background: rgba(22, 22, 22, 1);
}

/* v0-style swiper - minimal dots */
.swiper {
  width: 100%;
  padding-bottom: 50px;
}

.swiper-slide {
  text-align: center;
  background: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.swiper-slide:hover {
  transform: scale(1.1);
  filter: brightness(1.2);
}

.swiper-pagination-bullet {
  background: var(--text-secondary) !important;
  opacity: 0.4 !important;
  width: 10px !important;
  height: 10px !important;
  transition: all 0.3s ease !important;
}

.swiper-pagination-bullet-active {
  opacity: 1 !important;
  background: var(--accent-primary) !important;
  width: 30px !important;
  border-radius: 5px !important;
  box-shadow: 0 0 15px var(--accent-primary) !important;
}

/* v0-style header - subtle glass effect */
#main-header {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

#main-header.scrolled {
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(30px) saturate(180%);
  border-bottom: 1px solid var(--border-subtle);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

/* Minimal scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--accent-primary), #ff1744);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #ff1744, var(--accent-primary));
  box-shadow: 0 0 10px var(--accent-primary);
}

/* Clean selection */
::selection {
  background: var(--accent-primary);
  color: white;
}

/* Social icon links with proper colors */
.social-icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-footer-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem;
  border-radius: 50%;
  background: rgba(22, 22, 22, 0.6);
  backdrop-filter: blur(10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.social-footer-link:hover {
  background: rgba(255, 59, 91, 0.2);
  box-shadow: 0 0 20px rgba(255, 59, 91, 0.3);
}

/* v0-style smooth transitions */
a,
button,
input,
textarea {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Footer - minimal style */
footer {
  color: var(--text-secondary);
  border-top: 1px solid var(--border-subtle);
  padding: 3rem 0;
}

footer a {
  color: var(--text-secondary);
  transition: color 0.3s ease;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

footer a:hover {
  color: var(--accent-primary);
  text-shadow: 0 0 15px rgba(255, 59, 91, 0.5);
}

/* Remove ripple effect - too flashy for v0 style */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  transform: scale(0);
  animation: rippleEffect 0.6s ease-out;
  pointer-events: none;
}

@keyframes rippleEffect {
  to {
    transform: scale(4);
    opacity: 0;
  }
}

/* Bounce animation for scroll indicator */
@keyframes bounce-slow {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

.animate-bounce-slow {
  animation: bounce-slow 2.5s infinite ease-in-out;
}

/* Mobile optimizations */
@media (max-width: 768px) {
  .hero-logo {
    max-width: 220px !important;
  }

  .hero-subtitle {
    font-size: 2rem;
    letter-spacing: 0.3em;
  }

  section h3 {
    font-size: 2.25rem;
  }

  .service-card,
  .music-card {
    margin-bottom: 1.5rem;
    padding: 2rem;
  }
}

@media (max-width: 640px) {
  .hero-subtitle {
    font-size: 1.5rem;
    letter-spacing: 0.2em;
  }

  section h3 {
    font-size: 1.85rem;
  }

  .service-card,
  .music-card {
    padding: 1.75rem;
  }
}
