/* =========================
   🎨 GLOBAL STYLES
========================= */
body{
margin:0;
font-family:Arial, sans-serif;
background:#0f0f0f;
color:white;
}

a{
color:white;
text-decoration:none;
}

/* TEXTURA PRO */
body::before {
    content: "";
    position: fixed;
    inset: 0;

    background:
        repeating-linear-gradient(
            0deg,
            rgba(255,255,255,0.015) 0px,
            rgba(255,255,255,0.015) 1px,
            transparent 1px,
            transparent 8px
        ),
        repeating-linear-gradient(
            90deg,
            rgba(255,255,255,0.01) 0px,
            rgba(255,255,255,0.01) 1px,
            transparent 1px,
            transparent 12px
        );

    pointer-events: none;
    z-index: 0;
}

/* =========================
   🧭 banner
========================= */
.welcome-banner {
    background: none;
    color: #aaa;
    padding: 20px;
    font-size: 12px;
    text-align: center;
    max-width: 900px;
    margin: auto;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* =========================
   🧭 HEADER MEJORADO
========================= */
.header{
display:flex;
align-items:center;
justify-content:space-between;
padding:10px 25px;
background:#000;
position:sticky;
top:0;
z-index:1000;
}

.logo{
height:60px; /* 🔥 MÁS GRANDE */
}

#buscador{
flex:1;
margin:0 20px;
padding:12px 15px;
border-radius:25px;
border:none;
background:#1c1c1c;
color:white;
text-align:center;
}

/* REDES HEADER */
.social-header{
display:flex;
gap:12px;
}

.social-header a{
color:white;
font-size:18px;
background:#1c1c1c;
padding:8px;
border-radius:50%;
transition:0.2s;
}

.social-header a:hover{
background:#333;
}

/* =========================
   🧭 HEADER
========================= */
.header{
display:flex;
align-items:center;
gap:20px;
padding:15px 25px;
background:#000;
position:sticky;
top:0;
z-index:1000;
border-bottom:1px solid #222;
}

.header-total{
text-align:center;
font-size:9px;
color:#aaa;
line-height:1.3;
white-space:nowrap;
margin-left:10px;
}

.header-total span{
display:block;
font-size:12px;
font-weight:bold;
color:#ff3b3b;   /* 🔥 rojo fijo */
margin:3px 0;
}

#buscador{
flex:1;
min-width: 150px;
max-width: 400px;s
padding:10px 15px;
border-radius:25px;
border:none;
border-radius:8px;
background:#3a3a3a;
color:white;
text-align:left;
}

#buscador:focus{
background:#262626;
}



/* =========================
   🎬 TOTAL INFO BAR
========================= */
.total{
padding:10px 25px;
color:#aaa;
font-size:13px;
}


/* =========================
   🎥 SECTIONS (CATEGORIES)
========================= */

.section{
padding:1px 1px;
margin-bottom:8px;
}

.section-title{
font-size:16px;
color:#ddd;
margin-bottom:10px;
text-align:center;   /* 🔥 CENTRADO */
width:100%;
}


/* =========================
   🆕 SECCIÓN RECIEN SUBIDOS
   (FONDO DIFERENCIADO)
========================= */

.section.recent-section{
background:rgba(255,255,255,0.04); /* gris con opacidad */
border-radius:12px;
padding:20px;
margin-bottom:25px;
backdrop-filter: blur(4px);
border:1px solid rgba(255,255,255,0.05);
}

/* =========================
   🆕 RECIEN SUBIDOS - REDONDOS
========================= */

.recent-row .card-small{
min-width:110px;
text-align:center;
cursor:pointer;
transition:0.25s;
}

.recent-row .card-small:hover{
opacity:0.7;
transform:scale(1.05);
}

/* 🔵 imagen totalmente redonda */
.recent-row .card-small img{
width:90px;
height:90px;
border-radius:50%;   /* 🔥 círculo perfecto */
object-fit:cover;
margin:0 auto;
display:block;
border:2px solid #222;
}

/* texto abajo centrado */
.recent-row .card-name{
font-size:11px;
margin-top:6px;
color:#ddd;
text-align:center;
}

/* =========================
   🎞 VIDEO ROW (NETFLIX SCROLL)
========================= */

.video-row{
display:flex;
gap:20px;
overflow-x:auto;
scroll-behavior:smooth;
padding:10px 5px 15px 5px;
align-items:flex-start;

/* 🔥 OCULTAR SCROLLBAR */
scrollbar-width: none;       /* Firefox */
-ms-overflow-style: none;    /* IE/Edge */
}

/* Chrome, Safari */
.video-row::-webkit-scrollbar{
display:none;
}

.section{
padding:20px 25px;
}

.section-title{
margin-bottom:14px;
}



/* =========================
   🃏 TARJETAS PRO ESTILO CARD
========================= */
.card{
min-width:180px;
height:150px
cursor:pointer;
border-radius:12px;
overflow:hidden;
background:#111;
position:relative;
transition:0.25s;

/* 🔥 borde tipo cromo */
border:3px solid rgba(255,255,255,0.08);
box-shadow:0 5px 20px rgba(0,0,0,0.4);
}

/* HOVER */
.card:hover{
transform:translateY(-6px) scale(1.03);
box-shadow:0 15px 40px rgba(0,0,0,0.7);
}

/* IMAGEN */
.card img{
width:100%;
height:110px;
object-fit:cover;
display:block;
}

/* =========================
   🎬 OVERLAY (INFO SOBRE IMAGEN)
========================= */
.card::after{
content:"";
position:absolute;
bottom:0;
left:0;
width:100%;
height:60%;
background:linear-gradient(to top, rgba(0,0,0,0.9), transparent);
}

/* =========================
   🏷 CONTENIDO
========================= */
.card-name{
font-size:12px;
text-align:center;
padding:8px 6px 2px;
color:#a3a3a3;
position:relative;
z-index:2;
}

/* 👥 VISTAS */
.views{
font-size:11px;
color:#aaaaaa;
text-align:center;
margin-bottom:6px;
position:relative;
z-index:2;
}

/* =========================
   🔥 BADGE (TIPO CARD)
========================= */
.card-badge{
position:absolute;
top:6px;
left:6px;
background:#ff3b3b;
color:white;
font-size:10px;
padding:3px 6px;
border-radius:6px;
z-index:3;
}

/* =========================
   📊 MINI STATS (ESTILO DEPORTIVO)
========================= */
.card-stats{
position:absolute;
bottom:5px;
right:8px;
font-size:10px;
color:#aaa;
z-index:3;
}

/* =========================
   ⬅️➡️ mini cards
========================= */

.card-small{
min-width:120px;   /* 🔥 más pequeñas */
}

.card-small img{
height:80px;       /* 🔥 más compactas */
}

.card-small .card-name{
font-size:11px;
}


/* =========================
   ⬅️➡️ SCROLL BUTTONS
========================= */
.rail-container{
position:relative;
display:flex;
align-items:center;
}

.rail-btn{
position:absolute;
top:40%;
transform:translateY(-50%);
width:42px;
height:42px;           /* 🔥 círculo perfecto */
border-radius:50%;     /* 🔥 completamente redondo */
display:flex;
align-items:center;
justify-content:center;

background:rgba(0,0,0,0.6);
border:none;
color:white;
font-size:20px;
cursor:pointer;
z-index:10;

transition:0.25s;
}

.rail-btn:hover{
background:#ff3b3b;    /* 🔥 hover rojo */
transform:translateY(-50%) scale(1.1);
}

.rail-btn.left{ left:0; }
.rail-btn.right{ right:0; }




/* =========================
   ▶️ PLAYER OVERLAY PRO
========================= */
.player{
position:fixed;
inset:0;
background:rgba(0,0,0,0.92);
backdrop-filter: blur(10px); /* 🔥 efecto moderno */
display:none;
flex-direction:column;
align-items:center;
justify-content:center;
z-index:9999;
padding:20px;
animation:fadeIn 0.25s ease-in-out;
}

/* animación suave */
@keyframes fadeIn{
from{opacity:0; transform:scale(0.98);}
to{opacity:1; transform:scale(1);}
}


/* =========================
   ❌ BOTÓN CERRAR
========================= */
.close-player{
position:absolute;
top:20px;
right:25px;
width:45px;
height:45px;
border-radius:50%;
border:none;
background:rgba(255,255,255,0.1);
color:white;
font-size:28px;
cursor:pointer;
transition:0.2s;
display:flex;
align-items:center;
justify-content:center;
}

.close-player:hover{
background:#ff3b3b;
transform:scale(1.1);
}


/* =========================
   🎬 TITULO
========================= */
#playerTitle{
margin-bottom:10px;
color:white;
font-size:15px;
text-align:center;
max-width:80vw;
opacity:0.9;
}


/* =========================
   🎥 VIDEO PLAYER
========================= */
#playerContent{
width:80vw;
height:75vh;
max-width:1200px;
}

#playerContent iframe{
width:100%;
height:100%;
border:none;
border-radius:12px;
box-shadow:0 10px 40px rgba(0,0,0,0.6);
}


/* =========================
   ⬇ BOTÓN DESCARGA PRO
========================= */
#downloadBtn{
margin-top:15px;
background:linear-gradient(45deg,#ff3b3b,#ff1f1f);
padding:14px 28px;
border-radius:30px;
color:white;
font-size:14px;
font-weight:bold;
text-decoration:none;
transition:0.2s;
box-shadow:0 5px 20px rgba(255,0,0,0.3);
}

#downloadBtn:hover{
transform:scale(1.05);
opacity:0.9;
}

/* =========================
   🔘 BOTONES GLOBALES
========================= */
button{
cursor:pointer;
transition:0.2s;
}

button:hover{
opacity:0.8;
}

#downloadBtn{
background:#ff3b3b;
padding:10px 15px;
border-radius:20px;
margin-top:10px;
display:inline-block;
}


/* =========================
   📞 FOOTER
========================= */
.footer{
background:#000;
padding:40px 25px;
margin-top:40px;
border-top:1px solid #222;
}

.footer-container{
display:flex;
flex-wrap:wrap;
justify-content:space-between;
gap:30px;
}

.footer-box{
flex:1;
min-width:200px;
}

.footer-title{
font-size:14px;
margin-bottom:10px;
color:#fff;
}

.footer-text{
font-size:13px;
color:#aaa;
line-height:1.6;
}


/* =========================
   🌐 REDES SOCIALES
========================= */
.socials{
display:flex;
gap:10px;
margin-top:10px;
}

.socials a{
background:#1c1c1c;
padding:8px 10px;
border-radius:8px;
font-size:12px;
transition:0.2s;
}

.socials a:hover{
background:#333;
}


/* =========================
   📩 FORM CONTACTO
========================= */
.contact-form input,
.contact-form textarea{
width:100%;
margin-top:8px;
padding:10px;
border:none;
border-radius:8px;
background:#1c1c1c;
color:white;
font-size:13px;
}

.contact-form textarea{
resize:none;
height:80px;
}

.contact-form button{
margin-top:10px;
background:#ff3b3b;
border:none;
padding:10px 15px;
border-radius:20px;
color:white;
width:100%;
}



/* =========================
   📞 FOOTER 3 COLUMNAS
========================= */


.footer{
background:#000;
padding:50px 25px;
border-top:1px solid #222;
text-align:center;
}

.footer-container{
display:flex;
justify-content:center;   /* 🔥 centra todo el bloque */
gap:60px;
flex-wrap:wrap;
max-width:1100px;
margin:0 auto;            /* 🔥 centra el contenedor */
}

/* =========================
   📦 COLUMNAS
========================= */
.footer-box{
flex:1;
min-width:250px;
text-align:center;        /* 🔥 centra contenido */
}

.footer-box h3{
margin-bottom:12px;
color:#fff;
font-size:15px;
}

.footer-box p{
color:#aaa;
font-size:13px;
line-height:1.6;
}

/* =========================
   📩 FORMULARIO
========================= */
.footer-box form{
display:flex;
flex-direction:column;
align-items:center;
}

.footer-box input,
.footer-box textarea{
width:90%;
max-width:300px;
padding:10px;
margin-top:8px;
border:none;
border-radius:8px;
background:#3a3a3a;
color:white;
text-align:left;
}

.footer-box textarea{
height:80px;
resize:none;
}

.footer-box button{
margin-top:10px;
width:90%;
max-width:300px;
padding:10px;
background:#ff3b3b;
border:none;
color:white;
border-radius:25px;
cursor:pointer;
transition:0.2s;
}

.footer-box button:hover{
opacity:0.8;
transform:scale(1.03);
}



/* =========================
   👁 CONTADOR FLOTANTE FIX
========================= */
.visitor-float{
position:fixed !important;
bottom:20px !important;
right:20px !important;
z-index:999999 !important;

background:rgba(0,0,0,0.75);
backdrop-filter:blur(6px);
color:white;

padding:10px 14px;
border-radius:25px;

font-size:13px;
display:flex;
align-items:center;
gap:6px;

box-shadow:0 5px 20px rgba(0,0,0,0.4);
}

.visitor-float span{
color:#ff3b3b;
font-weight:bold;
}


/* =========================
   📱 TABLET (hasta 1024px)
========================= */
@media (max-width: 1024px){

.header{
gap:10px;
}

.logo{
height:50px;
}

#buscador{
margin:0 10px;
}

.card{
min-width:150px;
}

#playerContent{
width:90vw;
height:70vh;
}
}

/* =========================
   📱 cel (768px)
========================= */

@media (max-width: 768px){

/* =========================
   🧭 HEADER EN COLUMNA
========================= */
.header{
flex-direction:column;
align-items:center;
gap:10px;
}

/* LOGO OK (NO CAMBIA) */
.logo{
height:45px;
}

/* =========================
   🔍 BUSCADOR CENTRADO PERFECTO
========================= */
.header-search{
width:100%;
display:flex;
justify-content:center; /* 🔥 centra el input */
}

#buscador{
width:85%;              /* 🔥 centrado visual */
max-width:400px;
text-align:center;
}

/* =========================
   🌐 REDES MÁS PEQUEÑAS
========================= */
.social-header{
display:flex;
justify-content:center;
gap:8px;
margin-top:5px;
}

.social-header a{
font-size:14px;        /* 🔥 más pequeño */
padding:6px;           /* 🔥 reduce tamaño */
width:30px;
height:30px;
display:flex;
align-items:center;
justify-content:center;
}

@media (max-width:768px){
.visitor-float{
bottom:15px;
right:15px;
font-size:12px;
padding:8px 12px;
}



/* =========================
   📱 CELULAR PEQUEÑO (480px)
========================= */
@media (max-width: 480px){

.card{
min-width:120px;
}

.card img{
height:90px;
}

.section-title{
font-size:13px;
}

.rail-btn{
width:35px;
height:35px;
font-size:18px;
}

#downloadBtn{
width:90%;
text-align:center;
}
}