/* ========== SPOTS SECTION - MODERN CARDS DESIGN ========== */

/* Background y Overlay de Sección */
.spots-section {
  position: relative;
  overflow: hidden;
}

.spots-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('../uploads/fond3.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 0;
  animation: fadeIn 1.2s ease both;
}

.spots-section::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}

.spots-section:not(.dark-mode)::after {
  background: linear-gradient(
    160deg,
    oklch(96% 0.02 78 / 0.50) 0%,
    oklch(93% 0.028 76 / 0.60) 100%
  );
}

.spots-section.dark-mode::after {
  background: linear-gradient(
    160deg,
    oklch(16% 0.03 58 / 0.65) 0%,
    oklch(12% 0.025 55 / 0.75) 100%
  );
}

.spots-container {
  position: relative;
  z-index: 2;
}

/* Visual de Cupos Mejorado */
.spots-availability {
  text-align: center;
  margin-bottom: 60px;
  animation: fadeUp 0.6s ease 0.3s both;
}

.spots-availability-label {
  font-family: 'Lato';
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 24px;
  color: var(--gold);
}

.spots-circles {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.spot-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Lato';
  font-weight: 700;
  font-size: 16px;
  transition: all 0.3s ease;
}

.spot-circle.taken {
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: white;
  box-shadow: 0 4px 12px oklch(72% 0.11 75 / 0.3);
}

.spot-circle.available {
  background: transparent;
  border: 2px dashed var(--gold);
  color: var(--gold-dark);
  animation: pulse-ring 2s infinite;
}

/* Grid de Tarjetas Modernas */
.spots-info-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-bottom: 60px;
}

.spots-card {
  position: relative;
  padding: 40px 32px;
  border-radius: 20px;
  text-align: center;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
}

.spots-section:not(.dark-mode) .spots-card {
  background: oklch(97% 0.015 80);
  box-shadow: 0 8px 24px oklch(20% 0.04 60 / 0.08);
  border: 1px solid oklch(72% 0.11 75 / 0.15);
}

.spots-section.dark-mode .spots-card {
  background: oklch(18% 0.035 58 / 0.5);
  box-shadow: 0 8px 24px oklch(0% 0 0 / 0.3);
  border: 1px solid oklch(72% 0.11 75 / 0.1);
}

.spots-card:nth-child(1) {
  animation: fadeUp 0.6s ease 0.4s both;
}

.spots-card:nth-child(2) {
  animation: fadeUp 0.6s ease 0.5s both;
}

.spots-card:nth-child(3) {
  animation: fadeUp 0.6s ease 0.6s both;
}

.spots-card:nth-child(4) {
  animation: fadeUp 0.6s ease 0.7s both;
}

.spots-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold));
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.spots-card:hover::before {
  transform: scaleX(1);
}

.spots-card:hover {
  transform: translateY(-8px);
}

.spots-section:not(.dark-mode) .spots-card:hover {
  box-shadow: 0 20px 40px oklch(20% 0.04 60 / 0.15);
  background: oklch(98% 0.015 80);
}

.spots-section.dark-mode .spots-card:hover {
  box-shadow: 0 20px 40px oklch(0% 0 0 / 0.4);
  background: oklch(18% 0.035 58 / 0.7);
}

.spots-card-icon {
  font-size: 48px;
  margin-bottom: 20px;
  display: inline-block;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.spots-card-title {
  font-family: 'Playfair Display';
  font-weight: 600;
  font-size: 26px;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.spots-section:not(.dark-mode) .spots-card-title {
  color: var(--espresso);
}

.spots-section.dark-mode .spots-card-title {
  color: oklch(95% 0.02 78);
}

.spots-card-description {
  font-family: 'Lato';
  font-weight: 400;
  font-size: 17px;
  line-height: 1.6;
}

.spots-section:not(.dark-mode) .spots-card-description {
  color: oklch(20% 0.02 60);
}

.spots-section.dark-mode .spots-card-description {
  color: oklch(80% 0.025 78);
}

/* CTA Mejorado */
.spots-cta-wrapper {
  text-align: center;
  animation: fadeUp 0.6s ease 0.8s both;
}

.spots-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px 48px;
  font-family: 'Lato';
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.03em;
  text-decoration: none;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  color: white;
  box-shadow: 0 8px 24px oklch(72% 0.11 75 / 0.35);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.spots-cta-button::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.spots-cta-button:hover::before {
  opacity: 1;
}

.spots-cta-button span {
  position: relative;
  z-index: 1;
}

.spots-cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px oklch(72% 0.11 75 / 0.45);
}

.spots-cta-note {
  margin-top: 16px;
  font-family: 'Lato';
  font-size: 16px;
  font-weight: 400;
}

.spots-section:not(.dark-mode) .spots-cta-note {
  color: oklch(20% 0.02 60);
}

.spots-section.dark-mode .spots-cta-note {
  color: oklch(80% 0.025 78);
}

/* Responsive */
@media (max-width: 1024px) {
  .spots-info-cards {
    gap: 28px;
    margin-bottom: 50px;
  }

  .spots-card {
    padding: 36px 28px;
  }

  .spots-card-icon {
    font-size: 44px;
  }

  .spots-card-title {
    font-size: 24px;
  }

  .spots-availability {
    margin-bottom: 50px;
  }

  .spot-circle {
    width: 45px;
    height: 45px;
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  /* Reducir overlay en móvil para ver mejor el fondo */
  .spots-section:not(.dark-mode)::after {
    background: linear-gradient(
      160deg,
      oklch(96% 0.02 78 / 0.35) 0%,
      oklch(93% 0.028 76 / 0.45) 100%
    );
  }

  .spots-section.dark-mode::after {
    background: linear-gradient(
      160deg,
      oklch(16% 0.03 58 / 0.50) 0%,
      oklch(12% 0.025 55 / 0.60) 100%
    );
  }

  /* Hacer tarjetas más transparentes en móvil */
  .spots-section:not(.dark-mode) .spots-card {
    background: oklch(97% 0.015 80 / 0.85);
    backdrop-filter: blur(10px);
  }

  .spots-section.dark-mode .spots-card {
    background: oklch(18% 0.035 58 / 0.70);
    backdrop-filter: blur(10px);
  }

  .spots-info-cards {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 40px;
  }

  .spots-card {
    padding: 32px 24px;
  }

  .spots-card-icon {
    font-size: 40px;
    margin-bottom: 16px;
  }

  .spots-card-title {
    font-size: 22px;
    margin-bottom: 10px;
  }

  .spots-card-description {
    font-size: 14px;
  }

  .spots-availability {
    margin-bottom: 40px;
  }

  .spots-availability-label {
    font-size: 14px;
    margin-bottom: 20px;
  }

  .spots-circles {
    gap: 12px;
  }

  .spot-circle {
    width: 40px;
    height: 40px;
    font-size: 13px;
  }

  .spots-cta-button {
    width: 100%;
    padding: 18px 36px;
    font-size: 16px;
  }

  .spots-cta-note {
    font-size: 13px;
    margin-top: 14px;
  }
}
