/* Section 3 — Explore destinations (Netflix-style rows) */

.explore {
  position: relative;
  z-index: 1;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 40% at 80% 20%, rgba(37, 99, 235, 0.1), transparent 55%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(34, 211, 238, 0.06), transparent 50%);
}

.explore .section__head {
  text-align: center;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.explore-rows {
  display: flex;
  flex-direction: column;
  gap: 36px;
  margin-top: 44px;
}

.explore-row__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 14px;
  padding: 0 2px;
}

.explore-row__title {
  font-family: var(--font-display, Inter, sans-serif);
  font-size: 1.05rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
}

.explore-row__controls {
  display: flex;
  gap: 8px;
}

.explore-row__btn {
  width: 36px;
  height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(10, 18, 40, 0.55);
  color: rgba(255, 255, 255, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.explore-row__btn svg {
  width: 16px;
  height: 16px;
}

.explore-row__btn:hover {
  color: #fff;
  border-color: rgba(34, 211, 238, 0.35);
  background: rgba(34, 211, 238, 0.12);
}

.explore-row__track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 2px 18px;
  margin: 0 -2px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  cursor: grab;
}

.explore-row__track::-webkit-scrollbar {
  display: none;
}

.explore-row__track.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
}

.explore-card {
  flex: 0 0 min(78vw, 320px);
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
  background: rgba(10, 18, 40, 0.6);
  border: 1px solid rgba(148, 163, 184, 0.12);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  transition: border-color 0.3s, box-shadow 0.3s;
  transform-style: preserve-3d;
  will-change: transform;
}

.explore-card:hover {
  border-color: rgba(34, 211, 238, 0.3);
  box-shadow:
    0 28px 64px rgba(0, 0, 0, 0.45),
    0 0 40px rgba(34, 211, 238, 0.1);
}

.explore-card__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: #0A1228;
}

.explore-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
  filter: saturate(0.9) brightness(0.9);
  pointer-events: none;
}

.explore-card:hover .explore-card__media img {
  transform: scale(1.08);
}

.explore-card__sheen {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 40%, rgba(5, 10, 24, 0.75) 100%),
    linear-gradient(135deg, rgba(34, 211, 238, 0.08), transparent 40%);
  pointer-events: none;
}

.explore-card__live {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display, Inter, sans-serif);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: rgba(255, 255, 255, 0.9);
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(5, 10, 24, 0.55);
  border: 1px solid rgba(34, 211, 238, 0.25);
  backdrop-filter: blur(10px);
}

.explore-card__live i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22D3EE;
  box-shadow: 0 0 8px #22D3EE;
}

.explore-card__body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 18px 18px;
}

.explore-card__place {
  font-size: 0.6875rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(148, 163, 184, 0.85);
}

.explore-card__title {
  font-family: var(--font-display, Inter, sans-serif);
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: #fff;
  line-height: 1.25;
}

.explore-card__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 8px;
  align-self: flex-start;
  font-family: var(--font-display, Inter, sans-serif);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: #041018;
  padding: 10px 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #67E8F9 0%, #22D3EE 50%, #A3E635 100%);
  box-shadow: 0 0 24px rgba(34, 211, 238, 0.25);
  transition: transform 0.2s, box-shadow 0.2s;
}

.explore-card__cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 0 32px rgba(34, 211, 238, 0.4);
}

@media (min-width: 900px) {
  .explore-card {
    flex-basis: 300px;
  }
}

@media (min-width: 1200px) {
  .explore-card {
    flex-basis: 320px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .explore-card,
  .explore-card__media img {
    transition: none !important;
    transform: none !important;
  }
}
