/* Nueva paleta de colores basada en el logo retro */
:root {
  --rojo-intenso: #BF2121;
  --verde-apagado: #4A6B57;
  --color-crema: #faf6f0;
  --marron: #8C5E45;
  --negro: #222;
  --gris: #f1f1f1;
  --blanco: #fff;
  --rojo-claro: #D93D3D;
  --neon-red: #ff3131;
  --neon-red2: #fff;
  --neon-blue: #00ffff;
  --neon-yellow: #ffff00;
  --neon-pink: #ff44cc;
  --neon-text-glow: 0 0 5px #fff, 0 0 10px #000, 0 0 15px var(--neon-red),
                  0 0 20px var(--neon-yellow), 0 0 25px var(--neon-yellow);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Oswald', sans-serif;
  background: var(--color-crema);
  color: var(--negro);
  overflow-x: hidden;
  line-height: 1.6;
}

/* Efecto de scanlines retro para el fondo */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(transparent 95%, rgba(0, 0, 0, 0.03) 95%);
  background-size: 100% 4px;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.2;
  animation: scanline 10s linear infinite;
}

@keyframes scanline {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 0 100%;
  }
}

a {
  text-decoration: none;
  color: inherit;
}

/* Navegación fija con estilo retro */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: var(--marron);
  padding: 0.5rem 2rem;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  animation: fadeInDown 1s ease;
  border-bottom: 3px solid var(--rojo-intenso);
  box-shadow: 0 2px 10px rgba(0,0,0,0.3), 
              0 0 10px rgba(191, 33, 33, 0.5);
}

nav .logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

nav .logo img {
  height: 60px;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,0.3));
}

nav .logo-text {
  font-family: 'Yellowtail', cursive;
  font-size: 1.8rem;
  color: var(--blanco);
  letter-spacing: 1px;
  text-shadow: 2px 2px 0 var(--rojo-intenso),
               0 0 10px rgba(255, 255, 255, 0.7);
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

nav ul li a {
  color: var(--blanco);
  font-weight: 700;
  padding: 0.5rem;
  position: relative;
  transition: all 0.3s;
}

nav ul li a:hover {
  color: var(--rojo-intenso);
}

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--rojo-intenso);
  transition: width 0.3s;
}

nav ul li a:hover::after {
  width: 100%;
}

/* Hero section con estilo retro */
header {
  height: 100vh;
  background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.7)), url('img/headercb.webp') center/cover;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-bottom: 5px solid var(--rojo-intenso);
}

header .hero-content {
  position: relative;
  text-align: center;
  color: var(--blanco);
  animation: zoomIn 1s ease;
  text-shadow: 2px 2px 5px rgba(0,0,0,0.8);
  padding: 0 1rem;
}

header .hero-content h1 {
  font-family: 'Yellowtail', cursive;
  font-size: 5rem;
  margin-bottom: 0.5rem;
  letter-spacing: 3px;
  color: var(--neon-red2);
  text-shadow: var(--negro);
  animation: flicker 1.5s infinite alternate;
}

/* Animación de parpadeo neón */
@keyframes flicker {
  0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
    text-shadow: var(--neon-text-glow);
    opacity: 1;
  }
  20%, 24%, 55% {
    text-shadow: none;
    opacity: 0.8;
  }
}

header .hero-content p {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

header .hero-content .btn {
  background: var(--rojo-intenso);
  color: var(--blanco);
  padding: 1rem 2rem;
  border: none;
  font-size: 1.1rem;
  cursor: pointer;
  animation: pulse 2s infinite, neon-border 1.5s infinite alternate;
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 2px;
  box-shadow: 0 4px 0 rgba(139, 0, 0, 0.8),
              0 0 5px var(--rojo-intenso), 
              0 0 10px var(--rojo-intenso),
              inset 0 0 10px rgba(255, 255, 255, 0.5);
  transition: all 0.3s;
  position: relative;
  overflow: hidden;
}

/* Efecto de borde neón */
@keyframes neon-border {
  0%, 100% {
    box-shadow: 0 4px 0 rgba(139, 0, 0, 0.8),
                0 0 5px var(--rojo-intenso), 
                0 0 10px var(--rojo-intenso),
                inset 0 0 10px rgba(255, 255, 255, 0.5);
  }
  50% {
    box-shadow: 0 4px 0 rgba(139, 0, 0, 0.8),
                0 0 10px var(--rojo-intenso), 
                0 0 20px var(--rojo-intenso),
                0 0 30px var(--rojo-intenso),
                inset 0 0 15px rgba(255, 255, 255, 0.7);
  }
}

/* Efecto de luz intermitente en el botón */
header .hero-content .btn::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: rgba(255, 255, 255, 0.1);
  transform: rotate(45deg);
  animation: reflect 3s linear infinite;
}

@keyframes reflect {
  0% {
    top: -50%;
    left: -50%;
  }
  100% {
    top: 150%;
    left: 150%;
  }
}

header .hero-content .btn:hover {
  background: var(--rojo-claro);
  transform: translateY(2px);
  box-shadow: 0 2px 0 rgba(139, 0, 0, 0.8),
              0 0 10px var(--rojo-intenso), 
              0 0 20px var(--rojo-intenso);
}

/* Secciones con estilo retro */
section {
  padding: 5rem 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

section h2 {
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
  font-family: 'Yellowtail', cursive;
  font-size: 2.5rem;
  letter-spacing: 2px;
  color: var(--blanco);
  text-shadow: 0 0 5px var(--negro), 0 0 10px var(--negro), 
               0 0 15px var(--rojo-intenso), 0 0 20px var(--rojo-intenso);
  animation: pulsate 2s infinite alternate;
}

@keyframes pulsate {
  0%, 18%, 22%, 25%, 53%, 57%, 100% {
    text-shadow: 0 0 5px var(--negro), 0 0 10px var(--negro), 
                 0 0 15px var(--rojo-intenso), 0 0 20px var(--rojo-intenso);
  }
  20%, 24%, 55% {
    text-shadow: 0 0 2px var(--negro), 0 0 5px var(--negro), 
                 0 0 7px var(--rojo-intenso), 0 0 10px var(--rojo-intenso);
  }
}

section h2::after {
  content: '';
  width: 100px;
  height: 4px;
  background: var(--rojo-intenso);
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
}

hr {
  border: 0;
  height: 3px;
  background: linear-gradient(to right, transparent, var(--rojo-intenso), transparent);
  margin: 2rem auto;
  max-width: 1000px;
}

/* Animaciones de aparición */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s forwards;
}

.delay-1 { animation-delay: 0.3s; }
.delay-2 { animation-delay: 0.6s; }
.delay-3 { animation-delay: 0.9s; }

/* About */
#nosotros p {
  line-height: 2;
  font-size: 1.8rem;
  text-align: center;
  max-width: 100%;
  margin: 0 auto;
}

/* Ubicación */
#ubicacion iframe {
  width: 100%;
  height: 350px;
  border: none;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  border: 3px solid var(--marron);
}

/* Horarios */
#horarios ul {
  list-style: none;
  font-size: 1.1rem;
  line-height: 2;
  text-align: center;
  background: var(--blanco);
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  border-left: 5px solid var(--rojo-intenso);
  max-width: 500px;
  margin: 0 auto;
}

#horarios ul li {
  padding: 0.5rem 0;
  border-bottom: 1px dashed var(--marron);
}

#horarios ul li:last-child {
  border-bottom: none;
}

/* Menú rápido */
#menu .items {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

#menu .item {
  background: var(--blanco);
  border-top: 5px solid var(--rojo-intenso);
  padding: 1.5rem;
  width: calc(33% - 2rem);
  text-align: center;
  font-size: 0.9rem;
  animation: fadeInUp 0.8s forwards;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  border-radius: 4px;
  transition: transform 0.3s;
  position: relative;
  overflow: hidden;
}

#menu .item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, 
    transparent, 
    var(--neon-red), 
    var(--neon-yellow), 
    var(--neon-blue), 
    transparent);
  animation: slide 3s linear infinite;
}

@keyframes slide {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

#menu .item:hover {
  transform: translateY(-5px);
}

#menu .item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 1rem;
  border: 2px solid var(--marron);
}

#menu .item h3 {
  color: var(--rojo-intenso);
  margin-bottom: 0.5rem;
  font-family: 'Yellowtail', cursive;
  font-size: 1.5rem;
  letter-spacing: 1px;
}

#menu .btn {
  display: block;
  margin: 3rem auto 0;
  background: var(--verde-apagado);
  padding: 1rem 2rem;
  color: var(--blanco);
  border: none;
  cursor: pointer;
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 2px;
  transition: all 0.3s;
  box-shadow: 0 4px 0 rgba(55, 85, 65, 0.8);
}

#menu .btn:hover {
  background: #5B8265;
  transform: translateY(2px);
  box-shadow: 0 2px 0 rgba(55, 85, 65, 0.8);
}

/* Modal menú completo */
#full-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.9);
  color: var(--blanco);
  padding: 3rem;
  overflow: auto;
  z-index: 2000;
}

#full-menu h2 {
  color: var(--blanco);
  margin-bottom: 2rem;
}

#full-menu button {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--rojo-intenso);
  border: none;
  padding: 0.7rem 1.2rem;
  cursor: pointer;
  color: var(--blanco);
  font-family: 'Oswald', sans-serif;
  border-radius: 2px;
}

/* Estilos adicionales para la galería */
#gallery {
  padding: 5rem 2rem;
  max-width: 1000px;
  margin: 0 auto;
}

#gallery h2 {
  text-align: center;
  margin-bottom: 2.5rem;
  position: relative;
  font-family: 'Yellowtail', cursive;
  font-size: 2.5rem;
  letter-spacing: 2px;
  color: var(--blanco);
  text-shadow: 0 0 5px var(--negro), 0 0 10px var(--negro), 
               0 0 15px var(--neon-yellow), 0 0 20px var(--neon-yellow);
  animation: pulsate 2s infinite alternate;
}

#gallery h2::after {
  content: '';
  width: 100px;
  height: 4px;
  background: var(--rojo-intenso);
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
}

.gallery-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  border: 3px solid var(--marron);
  cursor: pointer;
  height: 200px;
  transition: transform 0.3s, box-shadow 0.3s;
}

.gallery-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, 
              rgba(255, 49, 49, 0.1) 0%, 
              rgba(255, 255, 0, 0.1) 50%, 
              rgba(0, 255, 255, 0.1) 100%);
  z-index: 1;
  opacity: 0;
  transition: opacity 0.3s;
}

.gallery-item:hover::before {
  opacity: 1;
}

.gallery-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  color: var(--blanco);
  padding: 0.8rem;
  transform: translateY(100%);
  transition: transform 0.3s;
  text-align: center;
  font-size: 0.9rem;
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
}

/* Modal para imagen ampliada - ESTILOS ACTUALIZADOS */
.gallery-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  z-index: 2000;
  overflow: auto;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 20px;
}

.modal-container {
  display: flex;
  max-width: 90%;
  max-height: 80vh;
  background: var(--blanco);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5),
              0 0 20px var(--neon-red),
              0 0 30px var(--neon-blue);
  animation: modal-appear 0.5s ease-out;
}

@keyframes modal-appear {
  0% {
    opacity: 0;
    transform: scale(0.8) rotate(-5deg);
  }
  100% {
    opacity: 1;
    transform: scale(1) rotate(0);
  }
}

.modal-image {
  flex: 1 1 70%;
  max-width: 70%;
}

.modal-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.modal-info {
  flex: 1 1 30%;
  padding: 20px;
  background: var(--blanco);
  display: flex;
  flex-direction: column;
  max-width: 30%;
}

.modal-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
  padding-bottom: 15px;
  border-bottom: 1px solid var(--gris);
}

.modal-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 12px;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
}

.modal-avatar img{
  width: 40px;
  height: auto;
}

.modal-username {
  font-weight: bold;
  font-size: 1.1rem;
}

.modal-caption {
  flex-grow: 1;
  padding: 5px 0;
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.5;
  color: var(--negro);
  text-align: left;
  width: 100%;
}

.modal-actions {
  display: flex;
  gap: 15px;
  padding: 15px 0;
  border-top: 1px solid var(--gris);
  margin-top: 15px;
}

.modal-actions i {
  font-size: 1.2rem;
  cursor: pointer;
  color: var(--negro);
  transition: color 0.3s;
}

.modal-actions i:hover {
  color: var(--rojo-intenso);
}

.close-modal {
  position: absolute;
  top: 25px;
  right: 30px;
  color: var(--blanco);
  font-size: 40px;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s;
  z-index: 2001;
  background: rgba(0,0,0,0.5);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

.close-modal:hover {
  color: var(--rojo-intenso);
  background: rgba(255,255,255,0.2);
}

/* Footer con botones */
footer {
  background: var(--marron);
  color: var(--blanco);
  text-align: center;
  padding: 3rem 2rem;
  border-top: 5px solid var(--rojo-intenso);
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Crect width='100' height='100' fill='%238C5E45'/%3E%3Cpath d='M0 0L100 100M100 0L0 100' stroke='%23644A3C' stroke-width='1'/%3E%3C/svg%3E");
  opacity: 0.1;
  z-index: 0;
}

/* Efecto de bombilla parpadeante */
footer::after {
  content: '';
  position: absolute;
  top: -20px;
  right: 10%;
  width: 40px;
  height: 60px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 60'%3E%3Cpath d='M20 0Q25 0 25 5L25 20Q25 25 20 25Q15 25 15 20L15 5Q15 0 20 ZM10 30L30 30L30 55L25 60L15 60L10 55Z' fill='%23FFCC00'/%3E%3C/svg%3E") center/contain no-repeat;
  animation: bulb-flicker 4s infinite;
  opacity: 0.7;
}

@keyframes bulb-flicker {
  0%, 32%, 34%, 36%, 70%, 72%, 100% {
    opacity: 0.7;
  }
  33%, 35%, 71% {
    opacity: 0.2;
  }
}

footer img {
  height: 80px;
  margin-bottom: 1.5rem;
  filter: drop-shadow(0 2px 3px rgba(0,0,0,0.3));
  position: relative;
  z-index: 1;
}

footer .socials {
  margin-bottom: 1.5rem;
  position: relative;
  z-index: 1;
}

footer .socials a {
  display: inline-block;
  margin: 0 0.7rem;
  color: var(--blanco);
  font-size: 1.5rem;
  transition: all 0.3s;
  width: 45px;
  height: 45px;
  line-height: 45px;
  background: rgba(0,0,0,0.2);
  border-radius: 50%;
}

footer .socials a:hover {
  color: var(--rojo-intenso);
  transform: translateY(-3px);
  background: var(--blanco);
}

footer .botones {
  margin-top: 1.5rem;
  position: relative;
  z-index: 1;
}

footer .botones a {
  display: inline-block;
  margin: 0.5rem;
  background: var(--rojo-intenso);
  color: var(--blanco);
  padding: 0.8rem 1.2rem;
  font-size: 0.9rem;
  border-radius: 4px;
  transition: all 0.3s;
}

footer .botones a:hover {
  background: var(--rojo-claro);
  transform: translateY(-2px);
}

footer p {
  margin-top: 2rem;
  font-size: 0.85rem;
  opacity: 0.8;
  position: relative;
  z-index: 1;
}

/* Keyframes */
@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px) }
  to   { opacity: 1; transform: translateY(0) }
}

@keyframes fadeInUp {
  to { opacity: 1; transform: translateY(0) }
}

@keyframes zoomIn {
  from { opacity: 0; transform: scale(0.8) }
  to   { opacity: 1; transform: scale(1) }
}

@keyframes pulse {
  0%, 100% { transform: scale(1) }
  50%      { transform: scale(1.05) }
}

/* Elementos decorativos de luces retro */
.retro-lights {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9998;
}

.light {
  position: absolute;
  border-radius: 50%;
  opacity: 0.3;
  filter: blur(10px);
}

.light-1 {
  width: 200px;
  height: 200px;
  background: var(--neon-red);
  top: 10%;
  left: 10%;
  animation: float 15s infinite ease-in-out;
}

.light-2 {
  width: 150px;
  height: 150px;
  background: var(--neon-blue);
  top: 70%;
  right: 15%;
  animation: float 12s infinite ease-in-out reverse;
}

.light-3 {
  width: 180px;
  height: 180px;
  background: var(--neon-yellow);
  bottom: 20%;
  left: 20%;
  animation: float 18s infinite ease-in-out;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0) translateX(0);
  }
  25% {
    transform: translateY(-40px) translateX(30px);
  }
  50% {
    transform: translateY(20px) translateX(60px);
  }
  75% {
    transform: translateY(40px) translateX(30px);
  }
}

/* Overlay vintage */
.vintage-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 20% 30%, rgba(255, 255, 0, 0.05) 0%, transparent 20%),
    radial-gradient(circle at 80% 70%, rgba(255, 0, 0, 0.05) 0%, transparent 20%);
  pointer-events: none;
  z-index: 9997;
  opacity: 0.5;
}

/* Responsive */
@media (max-width: 768px) {
  nav {
    /* Mantiene los elementos en una fila, pero con espacio entre ellos */
    flex-direction: row;
    justify-content: space-around;
    padding: 1rem 0.5rem; /* Ajusta el padding para dar más espacio horizontal */
  }

  nav .logo {
    /* Ajusta el tamaño del logo para que quepa en la misma línea */
    flex-basis: 30%;
    margin-right: 10px;
  }

  nav .logo img {
    height: 40px; /* Reduce el tamaño del logo */
  }

  nav .logo-text {
    display: none; /* Oculta el texto "CLAYTON BOWLING" para ahorrar espacio */
  }

  nav ul {
    /* Distribuye los enlaces del menú en una sola fila */
    flex-direction: row;
    justify-content: space-around;
    gap: 0.5rem; /* Reduce el espacio entre los enlaces */
    flex-grow: 1; /* Permite que los enlaces del menú ocupen el espacio restante */
    margin-top: 0;
  }

  nav ul li a {
    padding: 0.3rem; /* Reduce el padding de los enlaces */
    font-size: 0.9rem; /* Reduce el tamaño de la fuente */
  }
  
  header .hero-content h1 {
    font-size: 3rem;
    text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px var(--neon-red);
  }
  
  #menu .item {
    width: 100%;
    margin-bottom: 1.5rem;
  }
  
  section {
    padding: 3rem 1.5rem;
  }
  
  section h2 {
    font-size: 2rem;
    text-shadow: 0 0 5px var(--blanco), 0 0 10px var(--rojo-intenso);
  }
  
  .modal-container {
    flex-direction: column;
    max-width: 95%;
    max-height: 90vh;
  }
  
  .modal-image, .modal-info {
    max-width: 100%;
    flex: 1 1 100%;
  }
  
  .modal-image {
    max-height: 50vh;
  }
  
  .modal-info {
    max-height: 40vh;
    overflow-y: auto;
  }
  
  footer::after {
    display: none; /* Ocultar efecto de bombilla en móviles */
  }
}

/* === LOADER DE INICIO === */
#loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 99999;
  color: white;
  font-family: 'Yellowtail', cursive;
  font-size: 2.2rem;
  text-align: center;
  opacity: 1;
  transition: opacity 5s ease;
}

.bowling-ball {
  width: 80px;
  height: 80px;
  background: radial-gradient(circle at 30% 30%, #333, #000);
  border-radius: 50%;
  margin-bottom: 20px;
  position: relative;
  animation: roll 5s ease-in-out infinite;
}

.bowling-ball::before,
.bowling-ball::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 12px;
  background: #222;
  border-radius: 50%;
}

.bowling-ball::before {
  top: 20px;
  left: 25px;
}

.bowling-ball::after {
  top: 35px;
  left: 45px;
}

@keyframes roll {
  0% {
    transform: translateX(-100vw) rotate(0deg);
  }
  50% {
    transform: translateX(50vw) rotate(360deg);
  }
  100% {
    transform: translateX(100vw) rotate(720deg);
  }
}

/* === SKIP LINK ACCESIBLE === */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--rojo-intenso);
  color: white;
  padding: 8px 12px;
  text-decoration: none;
  border-radius: 4px;
  z-index: 10000;
  font-family: 'Oswald', sans-serif;
}

.skip-link:focus {
  top: 6px;
  outline: 2px solid white;
}

/* Asegurar que el loader desaparezca suavemente */
body {
  overflow-x: hidden;
}

/* === MENÚ HAMBURGUESA === */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-around;
  width: 30px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
}

.hamburger span {
  width: 100%;
  height: 3px;
  background: var(--blanco);
  border-radius: 2px;
  transition: all 0.3s;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
}

/* En móviles */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  nav ul {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--marron);
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    gap: 1.2rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transform: translateY(-150%);
    transition: transform 0.4s ease;
    z-index: 999;
  }

  nav ul.show {
    transform: translateY(0);
  }

  /* Animación del botón hamburguesa */
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }
}

/* Botón flotante para reservas */
.floating-btn {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--rojo-intenso);
  color: var(--blanco);
  padding: 15px 20px;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3),
              0 0 10px rgba(255, 49, 49, 0.5);
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: bold;
  font-family: 'Oswald', sans-serif;
  z-index: 1000;
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
  border: 2px solid var(--blanco);
}

.floating-btn:hover {
  background: var(--rojo-claro);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.4),
              0 0 15px rgba(255, 49, 49, 0.7);
}

.floating-btn:focus {
  outline: 3px solid var(--neon-yellow);
  outline-offset: 2px;
}

.floating-btn i {
  font-size: 1.5rem;
  animation: spin 3s linear infinite;
}

.floating-btn span {
  font-size: 1rem;
  letter-spacing: 0.5px;
}

/* Animación de giro para la bola de boliche */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Responsive para el botón flotante */
@media (max-width: 768px) {
  .floating-btn {
    bottom: 15px;
    right: 15px;
    padding: 12px 18px;
    min-width: auto;
  }
  
  .floating-btn span {
    display: inline; /* Muestra el texto siempre en móviles */
    font-size: 0.9rem;
  }
  
  .floating-btn i {
    font-size: 1.3rem;
  }
  
  /* Ajusta el tamaño del botón para que quepa el texto */
  .floating-btn {
    padding: 12px 18px;
  }
}

/* Para pantallas muy pequeñas */
@media (max-width: 480px) {
  .floating-btn {
    padding: 10px 15px;
  }
  
  .floating-btn span {
    font-size: 0.8rem;
  }
  
  .floating-btn i {
    font-size: 1.2rem;
  }
}
.strike-pass-link {
  color: #FFD700 !important;
  font-weight: bold;
}