/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  background: #0a0a0a;
  color: #fafafa;
  overflow-x: hidden;
  cursor: default;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #0a0a0a; }
::-webkit-scrollbar-thumb { background: #c8ff00; border-radius: 3px; }

::selection { background: #c8ff00; color: #0a0a0a; }

/* === NEON COLOR SYSTEM === */
:root {
  --neon: #c8ff00;
  --neon-dim: rgba(200, 255, 0, 0.3);
  --neon-glow: 0 0 20px rgba(200, 255, 0, 0.4), 0 0 60px rgba(200, 255, 0, 0.1);
  --court-green: #1a3a1a;
  --glass: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.06);
}

/* === HERO: LA CANCHA === */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.court {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.court-lines {
  width: 80%;
  max-width: 600px;
  height: 70vh;
  position: relative;
  border: 2px solid var(--neon-dim);
  box-shadow: var(--neon-glow);
  opacity: 0.4;
}

.court-center-line {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--neon-dim);
}

.court-service-left {
  position: absolute;
  top: 25%;
  left: 0;
  right: 50%;
  bottom: 50%;
  border: 1px solid var(--neon-dim);
}

.court-service-right {
  position: absolute;
  top: 25%;
  left: 50%;
  right: 0;
  bottom: 50%;
  border: 1px solid var(--neon-dim);
}

.court-net {
  position: absolute;
  top: 48%;
  left: -5%;
  right: -5%;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--neon), transparent);
  box-shadow: var(--neon-glow);
}

/* === HERO CONTENT === */
.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
}

.hero-title {
  display: flex;
  flex-direction: column;
  line-height: 0.9;
}

.hero-donato {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(80px, 18vw, 200px);
  color: transparent;
  -webkit-text-stroke: 2px var(--neon);
  text-shadow: var(--neon-glow);
  letter-spacing: 0.05em;
  animation: flicker 4s infinite alternate;
}

.hero-padel {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(30px, 7vw, 80px);
  color: var(--neon);
  letter-spacing: 0.4em;
  margin-top: -10px;
}

.hero-sub {
  font-size: clamp(11px, 2vw, 16px);
  font-weight: 300;
  letter-spacing: 0.3em;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 24px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 48px;
  padding: 16px 32px;
  border: 1px solid var(--neon);
  border-radius: 50px;
  color: var(--neon);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.15em;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.hero-cta:hover {
  background: var(--neon);
  color: #0a0a0a;
  box-shadow: var(--neon-glow);
}

.cta-ball {
  font-size: 20px;
  transition: transform 0.3s;
}

.hero-cta:hover .cta-ball {
  transform: rotate(20deg) scale(1.2);
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0.4;
}

.scroll-indicator span {
  font-size: 10px;
  letter-spacing: 0.3em;
}

.scroll-ball {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--neon);
  animation: bounce 2s infinite;
}

/* === FLICKER ANIMATION === */
@keyframes flicker {
  0%, 95%, 100% { opacity: 1; }
  96% { opacity: 0.8; }
  97% { opacity: 1; }
  98% { opacity: 0.6; }
  99% { opacity: 1; }
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(12px); }
}

/* === PRODUCTS === */
.products {
  padding: 80px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 80px;
}

.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(48px, 10vw, 100px);
  color: var(--neon);
  letter-spacing: 0.1em;
}

.section-sub {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.1em;
  margin-top: 8px;
}

/* Zones */
.zone {
  margin-bottom: 80px;
  opacity: 0;
  transform: translateY(60px);
  transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.zone.visible {
  opacity: 1;
  transform: translateY(0);
}

.zone-label {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 14px;
  letter-spacing: 0.4em;
  color: var(--neon);
  opacity: 0.5;
  margin-bottom: 24px;
  padding-left: 4px;
  border-left: 2px solid var(--neon-dim);
  padding-left: 16px;
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

/* Product Card */
.product-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.product-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent 50%, rgba(200, 255, 0, 0.02));
  opacity: 0;
  transition: opacity 0.4s;
}

.product-card:hover {
  border-color: var(--neon-dim);
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4), 0 0 30px rgba(200, 255, 0, 0.05);
}

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

.product-card.open {
  border-color: var(--neon);
  box-shadow: var(--neon-glow);
}

/* Smash animation */
.product-card.anim-smash {
  animation: smash 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card.anim-vibora {
  animation: vibora 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card.anim-bandeja {
  animation: bandeja 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes smash {
  0% { transform: scale(1); }
  30% { transform: scale(0.95) rotate(-1deg); }
  60% { transform: scale(1.03) rotate(0.5deg); }
  100% { transform: scale(1); }
}

@keyframes vibora {
  0% { transform: translateX(0); }
  25% { transform: translateX(-8px) rotate(-1deg); }
  50% { transform: translateX(8px) rotate(1deg); }
  75% { transform: translateX(-4px); }
  100% { transform: translateX(0); }
}

@keyframes bandeja {
  0% { transform: translateY(0); }
  40% { transform: translateY(-12px); }
  70% { transform: translateY(4px); }
  100% { transform: translateY(0); }
}

.product-image {
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, rgba(200, 255, 0, 0.03), transparent);
  position: relative;
  padding: 16px;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

.product-image {
  background: #111 !important;
}

.product-placeholder {
  font-size: 64px;
  opacity: 0.6;
  transition: all 0.4s;
}

.product-card:hover .product-placeholder {
  transform: scale(1.15);
  opacity: 0.9;
}

.product-info {
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.product-info h3 {
  font-size: 16px;
  font-weight: 600;
}

.product-price {
  background: rgba(200, 255, 0, 0.08);
  border: 1px solid rgba(200, 255, 0, 0.15);
  border-radius: 8px;
  padding: 6px 14px;
}

.score {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 20px;
  color: var(--neon);
  letter-spacing: 0.05em;
}

.product-detail {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.16, 1, 0.3, 1), padding 0.5s;
  padding: 0 20px;
}

.product-card.open .product-detail {
  max-height: 200px;
  padding: 0 20px 20px;
}

.product-detail p {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.5);
}

/* === CONTACT === */
.contact {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 80px 24px;
}

.contact-content {
  text-align: center;
  position: relative;
}

.ball-contact {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 40%, rgba(200, 255, 0, 0.08), transparent 70%);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(60px);
  pointer-events: none;
}

.contact-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(48px, 12vw, 120px);
  line-height: 0.95;
  color: #fafafa;
  position: relative;
}

.contact-text {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.4);
  margin-top: 24px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 40px;
  padding: 18px 36px;
  background: #25D366;
  border-radius: 50px;
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.1em;
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

.whatsapp-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(37, 211, 102, 0.4);
}

.wa-icon {
  width: 24px;
  height: 24px;
}

.wa-ball {
  font-size: 20px;
  animation: pulse 1.5s infinite;
}

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

.contact-social {
  margin-top: 40px;
  display: flex;
  gap: 32px;
  justify-content: center;
}

.social-link {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.3);
  text-decoration: none;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: color 0.3s;
}

.social-link:hover { color: var(--neon); }

/* === FLOATING NAV === */
.floating-nav {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 4px;
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 50px;
  padding: 6px;
  z-index: 100;
  opacity: 0;
  transition: opacity 0.4s;
}

.floating-nav.visible { opacity: 1; }

.nav-link {
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.4);
  text-decoration: none;
  transition: all 0.3s;
}

.nav-link:hover { color: #fafafa; }
.nav-link.active {
  background: var(--neon);
  color: #0a0a0a;
}

/* === TRAILING BALL === */
.trailing-ball {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--neon);
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.3s;
  box-shadow: 0 0 10px var(--neon), 0 0 30px rgba(200, 255, 0, 0.2);
  mix-blend-mode: screen;
}

.trailing-ball.visible { opacity: 0.6; }

/* === MOBILE === */
@media (max-width: 768px) {
  .court-lines { width: 90%; height: 60vh; }
  .product-grid { grid-template-columns: 1fr; }
  .floating-nav { bottom: 16px; }
  .nav-link { padding: 8px 14px; font-size: 10px; }
  .whatsapp-btn { font-size: 14px; padding: 16px 28px; }
}

@media (max-width: 480px) {
  .hero-cta { padding: 14px 24px; font-size: 12px; }
  .product-image { height: 160px; }
}
