/* ==========================================================================
   ESTILOS GENERALES: DMENS DISCOBAR (GRUPO ARENA)
   Estética: Neon Nightpulse (Rosa Neón #ff007f, Púrpura Eléctrico #a800ff, Amatista Profundo #09070a)
   ========================================================================== */

:root {
  /* Color Tokens - Dmens Neon Branding */
  --bg-main: #09070a;
  --bg-surface: #120d18;
  --bg-card: #181120;
  --bg-card-hover: #231830;

  --brand-pink: #ff007f;
  --brand-pink-light: #ff66c4;
  --brand-pink-dark: #cc0066;
  --brand-pink-glow: rgba(255, 0, 127, 0.4);

  --brand-purple: #a800ff;
  --brand-purple-light: #bd33ff;
  --brand-purple-glow: rgba(168, 0, 255, 0.35);

  --border-pink: rgba(255, 0, 127, 0.3);
  --border-purple: rgba(168, 0, 255, 0.3);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-highlight: rgba(255, 0, 127, 0.65);

  --status-open-bg: rgba(46, 125, 50, 0.2);
  --status-open-text: #66bb6a;
  --status-open-border: rgba(102, 187, 106, 0.4);

  --status-info-bg: rgba(255, 0, 127, 0.15);
  --status-info-text: #ff66c4;
  --status-info-border: rgba(255, 0, 127, 0.35);

  --text-title: #fdf7fa;
  --text-body: #d5c8db;
  --text-muted: #9c8ea3;

  /* Typography */
  --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout & Spacing */
  --max-width: 1240px;
  --header-height: 84px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;

  /* Transitions & Shadows */
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --shadow-card: 0 12px 32px rgba(0, 0, 0, 0.55);
  --shadow-pink-glow: 0 0 30px rgba(255, 0, 127, 0.3);
  --shadow-purple-glow: 0 0 30px rgba(168, 0, 255, 0.3);
}

/* Reset & Global */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--bg-main);
  color: var(--text-body);
}

body {
  font-family: var(--font-body);
  line-height: 1.65;
  background-color: var(--bg-main);
  color: var(--text-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography Helpers */
h1,
h2,
h3,
h4,
.font-heading {
  font-family: var(--font-heading);
  color: var(--text-title);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.text-pink {
  color: var(--brand-pink-light);
}

.text-purple {
  color: var(--brand-purple-light);
}

.text-gradient-pink {
  background: linear-gradient(135deg, #ffffff 0%, var(--brand-pink-light) 50%, var(--brand-purple-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Section Header Component */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px auto;
}

.section-subtitle {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--brand-pink-light);
  margin-bottom: 12px;
  display: block;
}

.section-title {
  font-size: 2.3rem;
  line-height: 1.25;
  margin-bottom: 16px;
}

.section-description {
  color: var(--text-muted);
  font-size: 1.05rem;
}

/* Buttons & Interactive Elements (Adaptados a Neón Rosa & Púrpura) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: var(--transition-smooth);
  cursor: pointer;
  border: 1px solid transparent;
}

.btn-primary {
  background: linear-gradient(135deg, #ff007f 0%, #a800ff 100%);
  color: #ffffff;
  box-shadow: 0 4px 22px rgba(255, 0, 127, 0.45);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #ff3399 0%, #bd33ff 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(255, 0, 127, 0.65);
  color: #ffffff;
}

.btn-secondary {
  background: rgba(24, 17, 32, 0.85);
  color: var(--text-title);
  border: 1px solid var(--border-pink);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover {
  background: rgba(255, 0, 127, 0.15);
  border-color: var(--brand-pink-light);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Badge Status (Información de estado Dmens) */
.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 20px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.status-badge.open {
  background: var(--status-open-bg);
  color: var(--status-open-text);
  border: 1px solid var(--status-open-border);
}

.status-badge.closed-info {
  background: var(--status-info-bg);
  color: var(--status-info-text);
  border: 1px solid var(--status-info-border);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  position: relative;
}

.status-badge.open .status-dot {
  background-color: var(--status-open-text);
  box-shadow: 0 0 10px var(--status-open-text);
  animation: pulse-green 2s infinite;
}

.status-badge.closed-info .status-dot {
  background-color: var(--brand-pink-light);
  box-shadow: 0 0 8px var(--brand-pink-light);
}

@keyframes pulse-green {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(102, 187, 106, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 8px rgba(102, 187, 106, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(102, 187, 106, 0);
  }
}

/* Header & Nav */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  z-index: 1000;
  transition: var(--transition-smooth);
  background: rgba(9, 7, 10, 0.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 0, 127, 0.15);
}

.site-header.scrolled {
  background: rgba(9, 7, 10, 0.96);
  border-bottom: 1px solid var(--border-pink);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.7);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(255, 0, 127, 0.5));
  transition: var(--transition-smooth);
}

.brand-logo:hover .brand-logo-img {
  transform: scale(1.05);
  filter: drop-shadow(0 0 16px rgba(255, 0, 127, 0.8));
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-body);
  text-decoration: none;
  transition: var(--transition-smooth);
  position: relative;
  padding: 6px 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-pink), var(--brand-purple));
  transition: var(--transition-smooth);
}

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

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

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-title);
  font-size: 1.6rem;
  cursor: pointer;
}

/* HERO SECTION - INSPIRADO EN DEMO_PORTADA (Split Design / Neon Glam) */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--header-height) + 40px) 0 80px 0;
  background-color: var(--bg-main);
  overflow: hidden;
}

/* Fondo decorativo con resplandores en degradado animado */
.hero-bg-glow {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 20% 40%, rgba(255, 0, 127, 0.22) 0%, transparent 50%),
    radial-gradient(circle at 80% 60%, rgba(168, 0, 255, 0.22) 0%, transparent 50%),
    url('../images/dmens-dancefloor.jpg') center/cover no-repeat;
  filter: contrast(1.1) brightness(0.65);
  z-index: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(9, 7, 10, 0.85) 0%,
    rgba(9, 7, 10, 0.75) 50%,
    var(--bg-main) 100%
  );
  z-index: 2;
}

.hero-content-split {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
  width: 100%;
}

/* Columna Izquierda: Emblema & Texto Marca */
.hero-brand-panel {
  background: rgba(24, 17, 32, 0.7);
  border: 1px solid var(--border-pink);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-lg);
  padding: 50px 40px;
  text-align: center;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), var(--shadow-pink-glow);
}

.hero-emblem-circle {
  width: 150px;
  height: 150px;
  margin: 0 auto 28px auto;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #ff3399 0%, #ff007f 60%, #99004d 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 0 50px rgba(255, 0, 127, 0.6), inset 0 2px 8px rgba(255, 255, 255, 0.5);
  border: 3px solid rgba(255, 255, 255, 0.3);
  transition: var(--transition-smooth);
}

.hero-emblem-circle:hover {
  transform: scale(1.06) rotate(3deg);
  box-shadow: 0 0 70px rgba(255, 0, 127, 0.8), inset 0 2px 10px rgba(255, 255, 255, 0.7);
}

.hero-emblem-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transform: scale(1.58);
  transition: var(--transition-smooth);
}

.hero-title {
  font-size: 3rem;
  line-height: 1.1;
  text-transform: uppercase;
  margin-bottom: 16px;
  letter-spacing: 0.06em;
}

.hero-tagline {
  font-size: 1.15rem;
  color: var(--text-body);
  margin-bottom: 32px;
  font-weight: 300;
}

.hero-badge-tag {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(168, 0, 255, 0.2);
  border: 1px solid var(--border-purple);
  border-radius: var(--radius-full);
  color: var(--brand-purple-light);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* Columna Derecha: Tarjeta de Vista Previa del Club */
.hero-visual-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border-purple);
  box-shadow: var(--shadow-card), var(--shadow-purple-glow);
  aspect-ratio: 4 / 3;
}

.hero-visual-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: var(--transition-smooth);
}

.hero-visual-card:hover img {
  transform: scale(1.05);
}

.hero-visual-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(9, 7, 10, 0.9) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
}

.hero-visual-title {
  font-size: 1.4rem;
  color: #ffffff;
  margin-bottom: 6px;
}

.hero-visual-desc {
  font-size: 0.92rem;
  color: var(--brand-pink-light);
}

/* AGENDA SECTION */
.agenda-section {
  padding: 100px 0;
  background-color: var(--bg-main);
  position: relative;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
}

.event-card {
  background: var(--bg-card);
  border: 1px solid var(--border-pink);
  border-radius: var(--radius-md);
  transition: var(--transition-smooth);
  position: relative;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.event-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-pink), var(--brand-purple));
  z-index: 3;
}

.event-card:hover {
  transform: translateY(-6px);
  background: var(--bg-card-hover);
  border-color: var(--border-highlight);
  box-shadow: var(--shadow-card), var(--shadow-pink-glow);
}

.event-image-container {
  position: relative;
  width: 100%;
  height: 300px;
  overflow: hidden;
  background-color: var(--bg-card);
}

.event-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: var(--transition-smooth);
}

.event-card:hover .event-image-container img {
  transform: scale(1.06);
}

.event-image-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(24, 17, 32, 0) 0%,
    rgba(24, 17, 32, 0.3) 60%,
    var(--bg-card) 100%
  );
  z-index: 2;
}

.event-date-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-pink-light);
  background: rgba(9, 7, 10, 0.88);
  border: 1px solid var(--border-pink);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 6px 14px;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.6);
}

.event-card-body {
  position: relative;
  padding: 24px 28px 28px 28px;
  background: var(--bg-card);
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  z-index: 3;
}

.event-title {
  font-size: 1.4rem;
  margin-bottom: 12px;
  color: var(--text-title);
}

.event-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 24px;
  flex-grow: 1;
}

.event-actions {
  display: flex;
  gap: 12px;
}

.btn-sm {
  padding: 10px 18px;
  font-size: 0.78rem;
}

/* EXPERIENCIA & ZONAS SECTION */
.experiencia-section {
  padding: 110px 0;
  background: linear-gradient(180deg, var(--bg-main) 0%, var(--bg-surface) 50%, var(--bg-main) 100%);
  position: relative;
}

.experiencia-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.experiencia-text h2 {
  font-size: 2.6rem;
  margin-bottom: 24px;
  line-height: 1.2;
}

.experiencia-text p {
  color: var(--text-body);
  font-size: 1.05rem;
  margin-bottom: 20px;
}

.features-list {
  list-style: none;
  margin-top: 32px;
}

.features-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(255, 0, 127, 0.12);
  border: 1px solid var(--border-pink);
  color: var(--brand-pink-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
  box-shadow: 0 0 15px rgba(255, 0, 127, 0.2);
}

.feature-content h4 {
  font-size: 1.1rem;
  margin-bottom: 4px;
  color: var(--text-title);
}

.feature-content p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 0;
}

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

.gallery-img-wrapper {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-pink);
  box-shadow: var(--shadow-card);
}

.gallery-img-wrapper.large {
  grid-column: span 2;
}

.gallery-img-wrapper img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  transition: var(--transition-smooth);
}

.gallery-img-wrapper.large img {
  height: 320px;
}

.gallery-img-wrapper:hover img {
  transform: scale(1.05);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 16px 20px;
  background: linear-gradient(0deg, rgba(9, 7, 10, 0.9) 0%, transparent 100%);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* INSTAGRAM SECTION */
.instagram-section {
  padding: 100px 0;
  background-color: var(--bg-main);
}

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

.insta-card {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-pink);
  background: var(--bg-card);
  transition: var(--transition-smooth);
  text-decoration: none;
}

.insta-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.insta-overlay {
  position: absolute;
  inset: 0;
  background: rgba(9, 7, 10, 0.82);
  backdrop-filter: blur(4px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--text-title);
  opacity: 0;
  transition: var(--transition-smooth);
}

.insta-card:hover .insta-overlay {
  opacity: 1;
}

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

.insta-icon {
  font-size: 2.4rem;
  color: var(--brand-pink-light);
  filter: drop-shadow(0 0 10px var(--brand-pink));
}

/* FOOTER & MAP SECTION */
.footer-section {
  background-color: #050406;
  border-top: 1px solid var(--border-pink);
  padding: 80px 0 30px 0;
  color: var(--text-muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 50px;
  margin-bottom: 60px;
}

.footer-brand p {
  margin-top: 16px;
  font-size: 0.95rem;
  max-width: 320px;
}

.footer-title {
  font-size: 1.1rem;
  text-transform: uppercase;
  color: var(--text-title);
  margin-bottom: 24px;
  letter-spacing: 0.08em;
}

.hours-list {
  list-style: none;
  font-size: 0.92rem;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.hours-list li span.day {
  color: var(--text-title);
}

.hours-list li span.time {
  color: var(--brand-pink-light);
  font-weight: 600;
}

.map-wrapper {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-pink);
  height: 220px;
}

.map-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(70%) invert(90%) hue-rotate(280deg) contrast(120%);
}

.footer-bottom {
  border-top: 1px solid var(--border-subtle);
  padding-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
}

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

.social-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-pink);
  color: var(--text-body);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.social-icon:hover {
  background: var(--brand-pink);
  color: #ffffff;
  border-color: var(--brand-pink);
  box-shadow: 0 0 15px var(--brand-pink);
}

/* RESPONSIVE MEDIA QUERIES */
@media (max-width: 992px) {
  .hero-content-split {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .experiencia-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-title {
    font-size: 2.4rem;
  }
}

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

  .mobile-menu-toggle {
    display: block;
  }

  .insta-grid {
    grid-template-columns: 1fr;
  }

  .events-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 2rem;
  }

  .section-title {
    font-size: 1.8rem;
  }
}
