:root {
  --bg: oklch(10% 0 0);
  --surface: oklch(18% 0.02 20);
  --fg: oklch(98% 0.005 20);
  --muted: oklch(55% 0.01 20);
  --border: oklch(25% 0.03 20);
  --accent: oklch(45% 0.16 28); /* Rojo Vinotinto */
  --accent-glow: oklch(45% 0.16 28 / 0.3);
  --font-display: 'Big Shoulders Display', sans-serif;
  --font-body: 'Montserrat', sans-serif;
  --nav-height: 80px;
  --transition: all 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  line-height: 1.6;
  overflow-x: hidden;
  cursor: none; /* Oculta cursor real */
}

h1, h2, h3 {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

a, button {
  cursor: none !important;
  text-decoration: none;
  color: inherit;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Cursor Personalizado */
#custom-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 15px;
  height: 15px;
  background-color: white;
  border-radius: 50%;
  pointer-events: none;
  z-index: 2000000; /* Asegurado por encima de todo */
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background-color 0.2s, border 0.2s;
  border: 2px solid transparent;
}

#custom-cursor .dot {
  width: 4px;
  height: 4px;
  background-color: white;
  border-radius: 50%;
  opacity: 0;
  transition: opacity 0.2s;
}

#custom-cursor.active {
  width: 40px;
  height: 40px;
  background-color: transparent;
  border: 2px solid white;
}

#custom-cursor.active .dot {
  opacity: 1;
}

/* Header & Nav */
header {
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  backdrop-filter: none;
  transition: height 0.3s ease, background 0.3s ease;
  font-family: var(--font-display);
}

.nav-links a {
  font-size: 18px !important;
}

header.shrunk {
  height: 60px;
  background: rgba(5, 5, 5, 0);
}


.logo img {
  height: 50px;
  width: auto;
  display: block;
}

/* Hero Carousel */
.carousel {
  height: 100vh;
  position: relative;
  overflow: hidden;
  background: #000;
  margin-top: 0;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-slide.active {
  opacity: 1;
}

.carousel-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.8));
}

.carousel-content {
  position: relative;
  z-index: 10;
  text-align: center;
  max-width: 900px;
  padding: 0 20px;
}

.carousel-content h2 {
  font-size: clamp(50px, 12vw, 120px);
  line-height: 0.85;
  margin-bottom: 25px;
  color: white;
}

.btn {
  display: inline-block;
  padding: 18px 36px;
  background: var(--accent);
  color: white;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: 1px;
  transition: var(--transition);
  border-radius: 2px;
}

#nosotros-teaser {
  padding-top: 50px;
}

.btn:hover {
  background: white;
  color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 15px 40px var(--accent-glow);
}

/* Nav links styles for header */
.nav-links {
  display: flex;
  gap: 30px;
}

.nav-links a {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: 0.6;
  transition: 0.3s;
}

.nav-links a:hover {
  opacity: 1;
  color: var(--accent);
}

.menu-toggle {
  display: none;
  font-size: 24px;
  color: var(--fg);
}

/* Promotions Section */
.promo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px; 
}

#promociones-teaser {
  padding-top: 60px;
}


.promo-card {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 40px;
  text-align: left;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 380px;
  border-radius: 8px;
}

.promo-card:hover {
  border-color: var(--accent);
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.promo-card::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, transparent 50%, var(--accent) 50%);
  opacity: 0.1;
}

.promo-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--accent);
  color: white;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
  align-self: flex-start;
}

.promo-card h3 {
  font-size: 32px;
  line-height: 0.9;
  margin-bottom: 15px;
  color: white;
}

.promo-card p {
  font-size: 14px;
  opacity: 0.7;
  margin-bottom: 30px;
}

.promo-card .btn-small {
  margin-top: auto;
  font-size: 14px;
  padding: 12px 24px;
  align-self: flex-start;
  background: var(--border);
  color: white;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 1px;
  transition: var(--transition);
  border-radius: 2px;
}

.promo-card .btn-small:hover {
  background: var(--accent);
  transform: translateY(-2px);
}

/* Animations - Reveal on Scroll */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

#club {
  padding-top: 60px;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.club-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
  border-radius: 12px;
}

/* Club Layout */
.club-layout {
  display: flex;
  gap: 60px;
  align-items: center;
  margin-top: 40px;
}

.club-left {
  flex: 1;
}

.club-right {
  flex: 1;
}

.benefits-box {
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

.benefits-box h3 {
  font-size: 32px;
  color: var(--accent);
  margin-bottom: 30px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}

.benefit-item {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
  align-items: flex-start;
}

.benefit-icon {
  color: var(--accent);
  font-size: 14px;
  margin-top: 5px;
}

.benefit-text h4 {
  font-size: 18px;
  font-family: var(--font-display);
  letter-spacing: 1px;
  margin-bottom: 5px;
}

.benefit-text p {
  font-size: 13px;
  color: var(--muted);
  font-weight: 500;
}

/* Club Cards Stack */
.club-stack {
  position: relative;
  height: 480px;
  width: 100%;
  max-width: 500px;
  margin: 0; /* Aligned to left */
  perspective: 2000px;
}

.club-card {
  position: absolute;
  width: 380px; /* Slightly larger */
  height: 230px; /* Slightly larger */
  background: linear-gradient(135deg, var(--surface), #000);
  border: 1px solid var(--border);
  border-radius: 12px;
  left: 0; /* Aligned to left */
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  padding: 30px;
  text-align: left;
  transition: var(--transition);
  box-shadow: 0 20px 50px rgba(0,0,0,0.8);
}

/* Adjust card stack positions for left alignment with rightward offsets */
.club-card[data-state="top"] { z-index: 3; transform: translate(0, -40%) scale(1); opacity: 1; }
.club-card[data-state="mid"] { z-index: 2; transform: translate(30px, -50%) scale(0.92); opacity: 0.5; }
.club-card[data-state="bot"] { z-index: 1; transform: translate(60px, -60%) scale(0.85); opacity: 0.2; }
body.modal-open {
  overflow: hidden;
}

/* Age Gate Modal - Refined VIP Style */
#age-gate {
  position: fixed;
  inset: 0;
  background-image: linear-gradient(135deg, oklch(15% 0.1 28 / 0.9), oklch(10% 0 0 / 0.8)), url('../imagenes/portada-advertencia.png');
  background-size: cover;
  background-position: center;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.age-gate-content {
  background: oklch(14% 0.08 28 / 0.96); /* Vinotinto profundo semi-transparente */
  width: 100%;
  max-width: 480px;
  padding: 50px 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  box-shadow: 0 60px 120px rgba(0,0,0,0.9);
  border-radius: 8px;
}

.age-gate-logo {
  font-family: var(--font-display);
  font-size: 42px;
  color: var(--accent);
  margin-bottom: 25px;
  letter-spacing: 3px;
  font-weight: 800;
}

.age-gate-header {
  color: white;
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 800;
  letter-spacing: 3px;
  margin-bottom: 20px;
  font-size: 10px;
  text-transform: uppercase;
  border-bottom: 2px solid var(--accent);
  padding-bottom: 4px;
}

.age-gate-title {
  font-family: var(--font-display);
  font-size: 42px;
  margin-bottom: 15px;
  line-height: 0.9;
  color: white;
  letter-spacing: 1px;
}

.age-gate-text {
  font-size: 11px;
  color: white;
  opacity: 0.6;
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
}

.age-gate-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.age-gate-btn {
  padding: 15px;
  font-family: var(--font-display);
  font-size: 18px;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: white;
  transition: var(--transition);
  border-radius: 4px;
}

.age-gate-btn.btn-yes {
  background: var(--accent);
  border-color: var(--accent);
}

.age-gate-btn:hover {
  background: white;
  color: var(--accent);
  border-color: white;
  transform: translateY(-4px);
  box-shadow: 0 15px 35px var(--accent-glow);
}

.age-gate-btn.btn-no:hover {
  background: rgba(255, 255, 255, 0.15);
  color: white;
  border-color: white;
}

/* Responsive */
@media (max-width: 968px) {
  .club-layout {
    flex-direction: column;
    gap: 40px;
    text-align: center;
  }
  .club-stack {
    margin: 0 auto;
    height: 380px;
    max-width: 400px;
  }
  .club-card {
    width: 320px;
    height: 200px;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  .club-card[data-state="top"] { transform: translate(-50%, -40%) scale(1); }
  .club-card[data-state="mid"] { transform: translate(-45%, -50%) scale(0.92); }
  .club-card[data-state="bot"] { transform: translate(-40%, -60%) scale(0.85); }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: var(--nav-height);
    left: 0;
    width: 100%;
    background: var(--bg);
    flex-direction: column;
    padding: 40px;
    border-bottom: 1px solid var(--border);
  }
  .nav-links.active { display: flex; }
  .menu-toggle { display: block; }
}

/* ACTIVIDADES DEL MES - SECCIÓN REFINADA */
.seccion-actividades {
  position: relative;
  min-height: 120vh;
  overflow: hidden;
  background: #000000;
  display: flex;
  align-items: center;
  padding: 120px 0;
  margin-top: 30px;
}

/* Transición suave desde la sección anterior */
.seccion-actividades::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 200px;
  background: linear-gradient(to bottom, var(--bg), transparent);
  z-index: 3;
  pointer-events: none;
}

/* Triángulos según especificación exacta del usuario */
.triangulos {
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 1;
  top: 0;
  left: 0;
  pointer-events: none;
}

.triangulos span {
  position: absolute;
  width: 0;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid #ff3b3b;
  opacity: 0.8;
  animation: flotar 10s linear infinite;
}

@keyframes flotar {
  0% {
    transform: translateX(-10vw) translateY(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  100% {
    transform: translateX(110vw) translateY(-20px);
    opacity: 0;
  }
}

.actividades-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.actividades-left {
  display: flex;
  flex-direction: column;
}

.actividades-title {
  font-size: clamp(50px, 7vw, 90px);
  line-height: 0.9;
  margin-bottom: 40px;
  color: white;
  font-weight: 800;
  letter-spacing: 12px; /* Letras más espaciadas */
  text-transform: uppercase;
}

/* Visual Principal (Lado Izquierdo) */
.actividad-visual-container {
  position: relative;
  width: 100%;
  max-width: 600px;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* Removido el brillo (glow) por solicitud del usuario */

.actividad-visual-img {
  max-width: 90%;
  max-height: 90%;
  object-fit: contain;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.6s ease;
  /* Shadow más discreto, sin brillo */
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.5));
}

.actividad-visual-container:hover .actividad-visual-img {
  transform: scale(1.02);
}

.actividades-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.detalle-box {
  background: rgba(10, 10, 10, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 60px 50px;
  border-radius: 2px;
  position: relative;
  transition: var(--transition);
  cursor: pointer;
  border-left: 4px solid #ff3b3b;
}

.detalle-box:hover {
  background: rgba(15, 15, 15, 1);
  transform: translateX(5px);
}

.detalle-box h3 {
  font-size: 48px;
  color: white;
  margin-bottom: 25px;
  line-height: 1;
  letter-spacing: 4px; /* Letras más espaciadas */
}

.detalle-box p {
  font-size: 16px;
  line-height: 1.8;
  color: #cccccc;
  margin-bottom: 40px;
}

.detalle-box .btn-small {
  background: #ff3b3b;
  color: white;
  display: inline-block;
  padding: 14px 35px;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 2px;
  transition: var(--transition);
  text-transform: uppercase;
}

.detalle-box .btn-small:hover {
  background: white;
  color: #ff3b3b;
}

@media (max-width: 968px) {
  .actividades-container {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .actividades-left {
    align-items: center;
  }
  .actividad-visual-container {
    height: 350px;
  }
  .detalle-box {
    text-align: center;
    border-left: none;
    border-top: 4px solid #ff3b3b;
  }
  .detalle-box:hover {
    transform: translateY(5px);
  }
}

@media (max-width: 768px) {
  .actividades-title {
    font-size: 40px;
    letter-spacing: 6px;
  }
  .detalle-box h3 {
    font-size: 32px;
  }
}

/* --- GALERÍA PAGE --- */
.gallery-section {
  padding: 120px 0;
  background: var(--bg);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  grid-auto-rows: 250px;
  grid-auto-flow: dense;
  gap: 20px;
  margin-top: 60px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: var(--surface);
  cursor: none !important;
  transition: var(--transition);
  border: 1px solid var(--border);
}

.gallery-item:hover {
  border-color: var(--accent);
  transform: translateY(-5px);
  z-index: 10;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5), 0 0 20px var(--accent-glow);
}

.gallery-item.horizontal {
  grid-column: span 2;
}

.gallery-item.vertical {
  grid-row: span 2;
}

.gallery-item img, 
.gallery-item video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
  filter: grayscale(0.5) contrast(1.1);
}

.gallery-item:hover img,
.gallery-item:hover video {
  transform: scale(1.05);
  filter: grayscale(0) contrast(1);
}

.gallery-item .item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  opacity: 0;
  transition: opacity 0.4s;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
}

.gallery-item:hover .item-overlay {
  opacity: 1;
}

.gallery-item .item-type {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--accent);
  margin-bottom: 5px;
  text-transform: uppercase;
}

.gallery-item .item-title {
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1;
}

/* Lightbox */
#lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.95);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
  padding: 40px;
}

#lightbox.active {
  display: flex;
}

#lightbox-content {
  max-width: 90%;
  max-height: 85vh;
  position: relative;
  box-shadow: 0 0 50px rgba(0,0,0,1);
}

#lightbox-content img,
#lightbox-content video {
  max-width: 100%;
  max-height: 85vh;
  display: block;
  border: 1px solid var(--border);
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: -40px;
  font-size: 30px;
  color: white;
  cursor: none !important;
  font-family: var(--font-body);
}

.lightbox-caption {
  position: absolute;
  bottom: -40px;
  left: 0;
  width: 100%;
  text-align: center;
  font-family: var(--font-display);
  font-size: 24px;
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  .gallery-item.horizontal,
  .gallery-item.vertical {
    grid-column: span 1;
    grid-row: span 1;
  }
  
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 300px;
  }
  
  .lightbox-close {
    right: 0;
    top: -50px;
  }
}

.marco-imagen {
  margin-top: 50px;
  padding: 8px;
  background: linear-gradient(135deg, var(--accent), oklch(30% 0.1 28));
  border-radius: 6px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.6), 0 0 30px var(--accent-glow);
  margin: 50px 40px 0;
}

.marco-imagen img {
  width: 100%;
  display: block;
  border-radius: 3px;
}

/* --- comentarios --- */
.modal-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}

.modal-overlay.active {
  display: flex;
}

.modal-box {
  background: linear-gradient(180deg, #1a0000 0%, #0a0a0a 100%);
  border: 1px solid #8b1a1a;
  border-radius: 4px;
  padding: 45px 35px;
  max-width: 420px;
  width: 90%;
  text-align: center;
  box-shadow: 0 0 0 1px rgba(220, 20, 20, 0.15), 0 25px 70px rgba(0, 0, 0, 0.7);
  position: relative;
}

.modal-icon-circle {
  width: 56px;
  height: 56px;
  border: 2px solid #d4af37;
  border-radius: 50%;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-icon-circle span {
  font-size: 26px;
  color: #d4af37;
}

.modal-brand {
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 12px;
  color: #8b1a1a;
  font-weight: 800;
  margin: 0 0 10px;
}

.modal-text {
  font-weight: 700;
  font-size: 17px;
  margin: 0 0 28px;
  color: #f4e4c1;
  line-height: 1.5;
}

.modal-close-btn {
  background: transparent;
  border: 1px solid #d4af37;
  color: #d4af37;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 13px;
  font-weight: 700;
  padding: 10px 35px;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.2s;
}

.modal-close-btn:hover {
  background: #d4af37;
  color: #0a0a0a;
}


/* ===== ALERTA DE MAYOR DE EDAD ===== */

#age-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  overflow: hidden;
}

/* imagen fondo */

.age-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

/* capa roja */

#age-overlay::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(104, 0, 0, 0.605);
  z-index: 2;
}

/* caja */

.age-box {
  position: relative;
  z-index: 3;   /* IMPORTANTE */
  background: rgba(0, 0, 0, 0);
  backdrop-filter: blur(6px);
  padding: 40px;
  border-radius: 15px;
  text-align: center;
  max-width: 400px;
  color: white;
  border: 2px solid white;
}

/* botones */

.age-box button {
  margin: 10px;
  padding: 12px 25px;
  cursor: pointer;
  border-radius: 30px;
  border: 2px solid white;
  background: transparent;
  color: white;
  transition: 0.3s;
}

.age-box button:hover {
  background: white;
  color: #900;
}

  :root {
    --color-iconos: #900;
  }
 
  .iconos-redes {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 27px;
    margin: 32px 0;
  }
  .iconos-redes a {
    display: inline-flex;
    background: transparent;
    line-height: 0;
    transition: transform 0.2s ease, opacity 0.2s ease;
  }
  .iconos-redes a:hover,
  .iconos-redes a:active {
    transform: scale(1.15);
    opacity: 0.85;
  }
  
  .reveal img {
    width: 100%;
    max-width: 500px;
    height: 450;
    object-fit: cover;
    padding: 12px;
    border-radius: 20px;
    box-sizing: border-box;
    display: block;
    margin: 0 auto;
}

.logo-club{
    width: 320px;
    max-width: 90%;
    height: auto;
    display: block;
    margin: 0 auto;
    margin-bottom: 40px; /* Espacio debajo del logo */
}

#creditToast{
    position:fixed;
    bottom:25px;
    right:25px;
    background:#111;
    color:#fff;
    padding:18px 22px;
    border-radius:16px;
    text-align:center;
    opacity:0;
    pointer-events:none;
    transform:translateY(20px);
    transition:.35s;
    z-index:999999;
    line-height:1.6;
    box-shadow:0 10px 35px rgba(0,0,0,.4);
}

#creditToast.show{
    opacity:1;
    transform:translateY(0);
}

#creditDot{
    opacity:.15;
    cursor:pointer;
    transition:.3s;
    user-select:none;
}

#creditDot:hover{
    opacity:.8;
}

#secret-signature{
    display:inline-block;
    margin-left:4px;
    font-size:8px;
    opacity:.15;
    cursor:pointer;
    user-select:none;
    transition:.3s;
}

#secret-signature:hover{
    opacity:.8;
    transform:scale(1.4);
}

#dev-credit{
    position:fixed;
    bottom:25px;
    right:25px;
    width:280px;
    padding:20px;
    border-radius:18px;
    background:rgba(18,18,18,.95);
    backdrop-filter:blur(10px);
    color:#fff;
    text-align:center;
    z-index:9999;

    opacity:0;
    pointer-events:none;
    transform:translateY(20px);
    transition:.4s;
    box-shadow:0 15px 45px rgba(0,0,0,.35);
}

#dev-credit.show{
    opacity:1;
    transform:translateY(0);
}

#dev-credit h3{
    margin:0 0 10px;
    color:#f3c969;
}

#dev-credit p{
    margin:0;
    font-size:16px;
}

#dev-credit small{
    display:block;
    margin-top:10px;
    opacity:.6;
}

.footer-bottom{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:30px;
    flex-wrap:wrap;
}

.footer-info{
    flex:1;
    min-width:280px;
}

/* Contenedor principal del footer */
.main-footer {
  width: 100%;
  border-top: 1px solid var(--border);
  background-color: #000; /* Aseguramos el fondo negro visualizado */
  padding: 40px 0;        /* Más espacio arriba y abajo para que respire en PC */
}

/* Caja que distribuye los bloques */
.footer-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* Bajamos de 1200px a 1000px para que en PC los logos no queden tan separados */
  max-width: 1000px;      
  margin: 0 auto;
  padding: 0 40px;        /* Espacio generoso a los bordes de la pantalla */
  box-sizing: border-box;
}

/* El contenedor con una altura fija más alta para PC */
.logo-container-fixed {
  height: 65px; /* Subimos a 65px para que el banner derecho se note nítido en PC */
  display: flex;
  align-items: center;
}

/* Las imágenes adaptan su altura al contenedor */
.footer-logo, .footer-img {
  height: 100%;     /* Que ocupe todo el alto disponible del contenedor */
  width: auto;      /* Evita distorsiones */
  display: block;
}

/* Estructura del bloque izquierdo */
.footer-left {
  display: flex;
  flex-direction: column;
  gap: 15px;        /* Separación entre el logo y el texto de copyright */
}

.footer-copyright {
  opacity: 0.4;
  font-size: 11px;
  letter-spacing: 1px;
  font-weight: 800;
  margin: 0;
  color: #fff;
}

/* --- RESPONSIVE: Ajustes exclusivos para Celulares --- */
@media (max-width: 768px) {
  .main-footer {
    padding: 25px 0;
  }

  /* En celulares reducimos la altura para que el banner horizontal no sature */
  .logo-container-fixed {
    height: 40px; 
  }

  .footer-box {
    flex-direction: column; /* Se apilan verticalmente */
    text-align: center;
    gap: 30px;              /* Espacio de separación entre los bloques */
    padding: 0 20px;
  }

  .footer-left {
    align-items: center;    /* Centra el logo y el texto en móvil */
  }
}

.dropdown{
  position:relative;
}

.dropdown-content{
  display:none;
  position:absolute;
  top:100%;
  left:0;
  min-width:220px;
  background:var(--surface);
  border:1px solid var(--border);
  padding:10px 0;
  z-index:999;
}

.dropdown-content a{
  display:block;
  padding:12px 20px;
  opacity:1;
  font-size:13px;
  white-space:nowrap;
}

.dropdown-content a:hover{
  background:var(--accent);
  color:#fff;
}

.dropdown:hover .dropdown-content{
  display:block;
}