* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Orbitron', sans-serif;
}

body {
    min-height: 100vh;
    background: black;
    color: white;
    overflow-y: auto;
    overflow-x: hidden;
}

/* Fondo Parallax */
#parallax {
    position: fixed;
    width: 120%;
    height: 120%;
    background: url("fondo.jpg") center/cover no-repeat;
    filter: brightness(0.4);
    z-index: 0;
}

/* Contenedor principal */
.overlay {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: auto;
    text-align: center;
}

.titulo {
    font-size: 8rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    text-shadow: 
      0 0 5px red,
      0 0 20px red,
      0 0 40px crimson;
    animation: glow 2s infinite alternate;
}

.titulo span {
    color: red;
}

.subtitulo {
    margin: 15px 0 40px;
    font-size: 2rem;
    opacity: 0.8;
}



.botones {
    margin-top: 40px;
    position: relative;
    z-index: 20;
}

.btn {
    padding: 30px 50px;
    border-radius: 36px;
    border: 2px solid red;
    background: rgba(80, 0, 0, 0.8);
    color: white;
    text-decoration: none;
    font-size: 1.2rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 15px red;
    transition: 0.4s ease;
    position: relative;
}

.btn:hover {
    transform: scale(1.1);
    box-shadow: 
        0 0 20px red,
        0 0 50px red,
        0 0 80px red;
}

/* Animación neón */
@keyframes glow {
    from { text-shadow: 0 0 8px red; }
    to { text-shadow: 0 0 25px red, 0 0 60px crimson; }
}

/* Responsive */
@media (max-width: 768px) {
    .titulo { font-size: 2.5rem; }
    .botones { flex-direction: column; gap: 20px; }
}

/* LOADER */
#loader {
    position: fixed;
    inset: 0;
    background: black;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.logo-loader {
    width: 120px;
    margin-bottom: 20px;
    animation: spin 3s linear infinite;
}

.barra {
    width: 250px;
    height: 8px;
    border: 2px solid red;
    margin-top: 20px;
    overflow: hidden;
}

.barra span {
    display: block;
    height: 100%;
    width: 0%;
    background: red;
    animation: cargar 2.5s linear forwards;
}

@keyframes cargar {
    to { width: 100%; }
}

@keyframes spin {
    from { transform: rotate(0); }
    to { transform: rotate(360deg); }
}

.seccion-pro {
    text-align: center;
    padding: 60px 40px 120px;
    min-height: auto;
}

.video-banner {
    width: 100%;
    height: 60vh;     /* NUNCA 100vh */
    max-height: 520px;
    object-fit: cover;
    border-radius: 16px;
    margin: 30px auto;
    display: block;
}
.galeria {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
}

.galeria img {
    width: 250px;
    border: 2px solid red;
    box-shadow: 0 0 20px red;
    transition: 0.3s;
}

.galeria img:hover {
    transform: scale(1.1);
}
#contador {
    position: fixed;
    bottom: 20px;
    left: 20px;
    color: red;
    font-size: 14px;
}
.logo-spm {
    width: 180px;
    margin-bottom: 20px;
    animation: flotar 3s ease-in-out infinite;
}

@keyframes flotar {
    0% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0); }
}

#particulas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none; /* CLAVE: ya no bloquea clics */
}

.overlay {
    margin-top: 150px;
    position: relative;
    z-index: 10;
}

.botones {
    position: relative;
    z-index: 20;
    display: flex;
    gap: 20px;
    margin-top: 40px;
}
.btn {
    padding: 30px 80px;
    border: 2px solid #a50000;
    color: #c20101;
    text-decoration: none;
    font-size: 30px;
    border-radius: 40px;
    transition: 0.3s ease;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
}

.btn:hover {
    background: #f10101;
    color: black;
    box-shadow: 0 0 20px #cf0000;
    transform: scale(1.05);
}
/* Luces de estadio */
.luces-estadio {
    position: fixed;
    top: 0;
    width: 100%;
    height: 300px;
    pointer-events: none;
    z-index: 2;
    background: radial-gradient(circle at center, rgba(255,0,0,0.3), transparent 70%);
    animation: moverLuces 8s linear infinite;
}

@keyframes moverLuces {
    0% { background-position: 0% 0%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 0%; }
}
.btn {
    animation: pulseDeporte 2s infinite;
}
.btnCar {
    position: fixed;
    bottom: 20px;      /* distancia desde arriba */
    right: 20px;    /* distancia desde el borde derecho */

    padding: 30px 60px;
    border: 2px solid #a50000;
    color: #c20101;
    text-decoration: none;
    font-size: 18px;
    border-radius: 40px;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
    transition: 0.3s ease;
    animation: pulseDeporte 2s infinite;
    z-index: 1000;  /* asegura que esté arriba de todo */
}

.btnCar:hover {
    transform: scale(1.1);
    box-shadow: 
        0 0 20px red,
        0 0 50px red,
        0 0 80px red;
}

@keyframes pulseDeporte {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Contenedor luces estadio */
.estadio-luces {
    position: fixed;
    top: -200px;
    left: 0;
    width: 100%;
    height: 700px;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
}

/* Luz base */
.luz {
    position: absolute;
    top: 0;
    width: 400px;
    height: 1200px;
    background: linear-gradient(to bottom, 
        rgba(255,0,0,0.4),
        rgba(255,0,0,0.05),
        transparent);
    filter: blur(50px);
    opacity: 0.6;
    transform-origin: top center;
    animation: barridoLuz 10s linear infinite;
}

/* Luces individuales */
.luz1 {
    left: 10%;
    animation-delay: 0s;
}

.luz2 {
    left: 40%;
    animation-delay: -3s;
}

.luz3 {
    left: 70%;
    animation-delay: -6s;
}

/* Movimiento tipo estadio */
@keyframes barridoLuz {
    0% {
        transform: rotate(-20deg) translateX(-100px);
        opacity: 0.3;
    }
    50% {
        transform: rotate(20deg) translateX(200px);
        opacity: 0.6;
    }
    100% {
        transform: rotate(-20deg) translateX(-100px);
        opacity: 0.3;
    }
}

.spm{
    text-align: center;
     font-size: 4rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    text-shadow: 
      0 0 5px red,
      0 0 20px red,
      0 0 40px crimson;
    animation: glow 2s infinite alternate;
}
.spm span {
    
    color: #f10101;
}
nav .btn{
        padding: 15px 40px;
    position: fixed;
    top: 20px;
    left: 77%;
    font-size: 18px;
    
}

/* =========================
   CARRUSEL 3D PRO AJUSTADO
   MÁS ANCHO / MENOS ALTO
   ========================= */

.carousel-container {
    position: relative;
    width: 100%;
    margin: 100px auto 60px;
    perspective: 1700px;
}

/* Carrusel */
.carousel {
    width: 640px;        /* MÁS ANCHO */
    height: 460px;       /* MENOS VERTICAL */
    margin: auto;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 1s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Items */
.carousel-item {
    position: absolute;
    inset: 0;
    transform-style: preserve-3d;
}

/* Imágenes */
.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 24px;
    box-shadow:
        0 0 25px rgba(255,0,0,0.4),
        0 0 70px rgba(255,0,0,0.85);
}

/* Posiciones 3D (más abiertas en horizontal) */
.carousel-item:nth-child(1) {
    transform: rotateY(0deg) translateZ(500px);
}
.carousel-item:nth-child(2) {
    transform: rotateY(120deg) translateZ(500px);
}
.carousel-item:nth-child(3) {
    transform: rotateY(240deg) translateZ(500px);
}

/* Flechas */
.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.65);
    border: 2px solid red;
    color: red;
    font-size: 2.6rem;
    width: 65px;
    height: 65px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    box-shadow: 0 0 18px red;
    transition: 0.3s ease;
    backdrop-filter: blur(8px);
}

.arrow:hover {
    background: red;
    color: black;
    box-shadow: 0 0 40px red;
    transform: translateY(-50%) scale(1.15);
}

.arrow.left { left: 6%; }
.arrow.right { right: 6%; }


/* ===== PÁGINAS INTERNAS (FÍSICO / DIGITAL) ===== */

body.pagina-pro {
    overflow-y: auto;
    overflow-x: hidden;
}

/* Apagar efectos de home */
body.pagina-pro #parallax,
body.pagina-pro .luces-estadio,
body.pagina-pro .estadio-luces,
body.pagina-pro #particulas {
    display: none;
}

/* El overlay NO debe centrar todo */
body.pagina-pro .overlay {
    height: auto;
    min-height: auto;
}

.overlay img 
{
    width: 25px;
    height: 25px;
}
.RoboKeeperindex {
    width: 100%;
    display: flex;
    justify-content: center;   
    margin-top: 60px;          
}

.RoboKeeperindex img {
    width: 80%;
    max-width: 900px;
    height: auto;

    border-radius: 30px;
    border: 3px solid red;
    box-shadow:
        0 0 15px red,
        0 0 40px crimson,
        0 0 80px rgba(255,0,0,0.7);
    animation: glowImg 2s infinite alternate;
}

@keyframes glowImg {
    from {
        box-shadow: 0 0 10px red;
    }
    to {
        box-shadow: 0 0 30px crimson, 0 0 70px red;
    }
}

/* =========================
   FOOTER
========================= */
.footer {
    margin-top: 120px;
    padding: 50px 20px;
    background: linear-gradient(
        to top,
        rgba(120,0,0,0.6),
        rgba(0,0,0,0.95)
    );
    border-top: 2px solid red;
    box-shadow: 0 -10px 40px rgba(255,0,0,0.3);
}

.footer-content {
    max-width: 1200px;
    margin: auto;

    display: flex;
    gap: 40px;
    justify-content: space-between;
    align-items: flex-start;
}

.footer-logo {
    width: 140px;
    margin-bottom: 15px;
}

.footer-left p {
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-title {
    margin-bottom: 10px;
    color: red;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.footer-center img {
    width: 18px;
    vertical-align: middle;
    margin-right: 6px;
}

.footer-center p {
    font-size: 0.95rem;
}

.footer-right a {
    display: block;
    color: white;
    text-decoration: none;
    margin-bottom: 8px;
    font-size: 0.95rem;
    transition: 0.3s ease;
}

.footer-right a:hover {
    color: red;
    text-shadow: 0 0 10px red;
}
.titulo small {
    display: block;
    font-size: 1.4rem;
    letter-spacing: 2px;
    opacity: 0.8;
}

.claim {
    margin-top: 10px;
    font-size: 1.6rem;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #fff;
    opacity: 0.75;
    text-shadow: 0 0 10px rgba(255,0,0,0.4);
}

/* Puro Celular */
@media (max-width: 768px) {

    .titulo {
        font-size: 5.5rem;
        
    }

    .botones {
        flex-direction: column;
        gap: 20px;
    }

    .carousel {
        width: 70vw;
        height: 180px;
    }

    .carousel-item:nth-child(1) {
        transform: rotateY(0deg) translateZ(270px);
    }
    .carousel-item:nth-child(2) {
        transform: rotateY(120deg) translateZ(360px);
    }
    .carousel-item:nth-child(3) {
        transform: rotateY(240deg) translateZ(360px);
    }

    .arrow {
        width: 50px;
        height: 50px;
        font-size: 2rem;
    }

    .arrow.left { left: -12%; }
    .arrow.right { right: -12%; }
}

.whatsapp-link {
    text-decoration: none;
    color: inherit;
}

















