
/* HEADER PRINCIPAL */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 60px;
  backdrop-filter:blur(10px);

   background: #f2f2f2;

color:#333;
 /* background:rgba(0,0,0,0.4);*/
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-sizing: border-box;
    padding: 10px 10px;
   /* border: 1px solid black;*/
    z-index: 1000;
}

/* BLOQUE IZQUIERDO */
.header-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ICONO IZQUIERDO */
.icon-hover {
    width: 24px;
    height: 24px;
    cursor: pointer;
}

.icon-hover:hover {
    background: #f2f2f2;
    border-radius: 50%;
    padding: 8px;
}

/* LOGO CUADRADO */
.logo1 {
    width: 40px;
    height: 40px;
    background: #ddd;
}
/* IMG dentro de logo1 */
.logo1 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* VIDEO dentro de logo1 */
.logo1 video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
/* TITULO */
.title {
    position: relative;
    font-size: 16px;
}

.title p {
    position: absolute;
    top: -10px;
    right: -15px;
    font-size: 10px;
}

/* CENTRO BUSCADOR */
.buscador {
    width: 40%;
    height: 40px;
    border-radius: 20px;
    border: 1px solid black;
    display: flex;
    align-items: center;
    overflow: hidden;
    position: relative;
   background: rgba(255, 255, 255, 0.08); /* base glass */

    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    border: 1px solid rgba(255, 255, 255, 0.2);

    box-shadow:
        0 4px 20px rgba(0,0,0,0.1),
        inset 0 0 10px rgba(255,255,255,0.1);
  
}
/* BRILLO SUPERIOR */
.buscador::before {
    content: "";
    position: absolute;
    top: 0;
    left: 10%;
    width: 80%;
    height: 50%;

    background: linear-gradient(
        to bottom,
        rgba(255,255,255,0.25),
        transparent
    );

    border-radius: 20px;
    pointer-events: none;
}


/* INPUT BUSCADOR */
.buscador input {
    width: 70%;
    border: none;
    outline: none;
    padding-left: 10px;
 /* backdrop-filter:blur(10px);*/
/*  background:rgba(0,0,0,0.4);*/
background: none;

}

/* HR DIVISOR */
.divisor {
    height: 60%;
}

/* ICONO BUSCAR */
.icon-search {
    width: 24px;
    height: 24px;
    margin-right: 10px;
    cursor: pointer;
        transition: all 0.2s ease;
    border-radius: 50%;
    padding: 6px;
}
.icon-search:hover {
    background: rgba(0, 0, 0, 0.08);
    transform: scale(1.1);
}
.icon-search:active {
    transform: scale(0.95);
    background: rgba(0, 0, 0, 0.15);
}




/* ICONO DERECHO PEQUEÑO */
.circle-small {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #f2f2f2;

    display: flex;
    align-items: center;
    justify-content: center;
}

/* IMG dentro del círculo pequeño */
.circle-small img {
    width: 60%;
    height: 60%;
    object-fit: contain;
    display: block;
}
/* HOVER círculo */
.circle-small:hover {
    background: rgba(0, 0, 0, 0.08);
    transform: scale(1.1);
    cursor: pointer;
    transition: all 0.2s ease;
}

/* CLICK (presionado) */
.circle-small:active {
    transform: scale(0.95);
    background: rgba(0, 0, 0, 0.15);
}
/* transición suave también en reposo */
.circle-small {
    transition: all 0.2s ease;
}




/* BLOQUE DERECHO */
.header-right {
    display: flex;
    align-items: center;
    gap: 30px;
}

/* VIDEO CIRCULAR */
.video-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #ccc;
    position:relative;
    overflow:hidden;
}
/* IMG dentro de logo1 */
.video-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* VIDEO dentro de logo1 */
.video-circle video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
/* ICONO DERECHO */
.icon-hover-right {
    width: 24px;
    height: 24px;
    cursor: pointer;
}

.icon-hover-right:hover {
    background: #f2f2f2;
    border-radius: 50%;
    padding: 8px;
}













/* BOTÓN CREAR */
/* BOTÓN CREAR */
.crear {
    display: flex;
    align-items: center;
    border-radius: 20px;
    border: 1px solid black;
    padding: 5px 10px;

    gap: 6px; /* 🔥 separa icono y texto */

    font-size: 14px;
    font-family: Arial, sans-serif;
    font-weight: 500;

    cursor: pointer;
    transition: all 0.2s ease;
}
.crear:hover {
    background: rgba(0, 0, 0, 0.08);
    transform: scale(1.05);
}


.crear:active {
    transform: scale(0.95);
    background: rgba(0, 0, 0, 0.15);
}
.crear img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.crear:hover {
    background: rgba(0, 150, 255, 0.15);
    border: 1px solid rgba(0, 150, 255, 0.3);
}


/* MINI MODAL */
.que-vamos-hacer {
    position: absolute;
    top: 60px;
    right: 10px;

    width: 280px;
    border-radius: 12px;
background: #ddd;
   /* background: rgba(255,255,255,0.1);*/
    backdrop-filter: blur(15px);

    border: 1px solid rgba(255,255,255,0.2);
    box-shadow:
        0 10px 30px rgba(0,0,0,0.25),
        inset 0 0 15px rgba(255,255,255,0.08);
    display: none;
    flex-direction: column;
    padding: 5px;
}
/* BORDE ENERGÉTICO */
.que-vamos-hacer::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 12px;
    padding: 1px;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(0, 150, 255, 0.8),
        rgba(255, 255, 255, 0.6),
        rgba(0, 150, 255, 0.8),
        transparent
    );

    background-size: 200% 200%;
    animation: energia-borde 3s linear infinite;

    -webkit-mask:
        linear-gradient(#000 0 0) content-box,
        linear-gradient(#000 0 0);

    -webkit-mask-composite: xor;
    mask-composite: exclude;

    pointer-events: none;
}
@keyframes energia-borde {
    0% {
        background-position: 0% 50%;
    }
    100% {
        background-position: 200% 50%;
    }
}




.que-vamos-hacer.active {
    display: flex;
}



.opcion {
    display: flex;
    align-items: center;
    padding: 10px;
    border-radius: 10px;
    cursor: pointer;
    gap: 10px;
}

.opcion img {
    width: 18px;
    height: 18px;
}

.opcion:hover {
    background: rgba(255,255,255,0.2);
}


.modal-media-video-uploads {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: 400px;
    height: 300px;

    border-radius: 20px;

    background: linear-gradient(
        135deg,
        rgba(0,150,255,0.2),
        rgba(255,255,255,0.1)
    );

    backdrop-filter: blur(20px);

    border: 1px solid rgba(255,255,255,0.3);

    box-shadow:
        0 10px 40px rgba(0,0,0,0.3),
        inset 0 0 20px rgba(255,255,255,0.2);

    display: none;
    z-index: 2000;
}

.media-en-vivo {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    width: 400px;
    height: 300px;

    border-radius: 20px;

    background: linear-gradient(
        135deg,
        rgba(255,0,100,0.2),
        rgba(255,255,255,0.1)
    );

    backdrop-filter: blur(20px);

    border: 1px solid rgba(255,255,255,0.3);

    box-shadow:
        0 10px 40px rgba(0,0,0,0.3),
        inset 0 0 20px rgba(255,255,255,0.2);

    display: none;
    z-index: 2000;
}

.body-blur {
    backdrop-filter: blur(5px);
}


@media (max-width: 768px) {

    .modal-media-video-uploads,
    .media-en-vivo {
        width: 90%;
        height: 250px;
    }

    .que-vamos-hacer {
        right: 5px;
    }
}

@media (max-width: 768px) {

    /* HEADER */
    .header {
        height: 60px;
        padding: 8px;
    }

    /* IZQUIERDA */
    .header-left {
        gap: 6px;
    }

    /* ICONO IZQUIERDO */
    .icon-hover {
        width: 20px;
        height: 20px;
    }

    /* LOGO */
    .logo1 {
        width: 32px;
        height: 32px;
    }

    /* TITULO */
    .title-p {
        font-size: 12px;
    }

    .title-p p {
        font-size: 8px;
        top: -8px;
        right: -10px;
    }

    /* BUSCADOR */
    .buscador {
        width: 45%;
        height: 34px;
        border-radius: 16px;
    }

    .buscador input {
        width: 60%;
        font-size: 12px;
    }

    /* ICONO BUSCAR */
    .icon-search {
        width: 20px;
        height: 20px;
        padding: 4px;
    }

    /* CENTRO ICONO */
    .circle-small {
      /*  width: 26px;
        height: 26px;*/
      display:none;
    }

    /* DERECHA */
    .header-right {
        gap: 20px;
    }

    /* VIDEO */
    .video-circle {
        width: 32px;
        height: 32px;
    }

    /* ICONOS */
    .icon-hover-right {
        width: 20px;
        height: 20px;
    }

    /* BOTÓN CREAR */
    .crear {
     /*   padding: 4px 8px;
        font-size: 12px;
        gap: 4px;*/
        display:none;
    }

    .crear img {
       /* width: 16px;
        height: 16px;*/
    }
}




@media (min-width: 769px) and (max-width: 1024px) {

    /* HEADER */
    .header {
        padding: 10px;
    }

    /* IZQUIERDA */
    .header-left {
        gap: 8px;
    }

    /* LOGO */
    .logo1 {
        width: 36px;
        height: 36px;
    }

    /* BUSCADOR */
    .buscador {
        width: 50%;
        height: 38px;
    }

    .buscador input {
        width: 65%;
    }

    /* ICONO CENTRO */
    .circle-small {
        width: 28px;
        height: 28px;
    }

    /* DERECHA */
    .header-right {
        gap: 20px;
    }

    /* VIDEO */
    .video-circle {
        width: 36px;
        height: 36px;
    }

    /* BOTÓN CREAR */
    .crear {
        padding: 5px 10px;
        font-size: 13px;
    }
}













/* MODAL RESULTADOS */
.resultados-buscador{
  position:absolute;
  top:70px;
  left:50%;
  transform:translateX(-50%);
  width:20%;
  max-height:300px;
  color:#333;
  background:rgba(255,255,255,0.15);
  backdrop-filter:blur(15px);
  border-radius:12px;
  border:1px solid rgba(255,255,255,0.3);

  display:none;
  overflow:hidden;
  z-index:1000;
}
/* SOMBRA MODAL PRO */
.resultados-buscador{
  box-shadow:
    0 8px 30px rgba(0,0,0,0.15),   /* sombra principal */
    0 2px 10px rgba(0,0,0,0.08),   /* detalle cercano */
    inset 0 1px 0 rgba(255,255,255,0.2); /* brillo superior glass */
}
/* SCROLL */
.resultados-lista{
  overflow-y:auto;
  max-height:300px;
  scrollbar-width:none;
}
.resultados-lista::-webkit-scrollbar{
  display:none;
}

/* ITEM */
.resultados-lista a{
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px;
  text-decoration:none;
  color:#333;
}

span {
    color:#333;
}
/* HOVER */
.resultados-lista a:hover{
  background:rgba(255,255,255,0.3);
  color:#333;
}

/* ICONO */
.resultados-lista img{
  width:20px;
  height:20px;
  border-radius:50%;
}

@media (max-width:768px){
  .resultados-buscador{
    width:90%;
  }
}

@media (min-width:769px) and (max-width:1024px){
  .resultados-buscador{
    width:60%;
  }
}








/* MODAL IDIOMAS */
.lenguajes{
  position:absolute;
  top:70px; /* 10px debajo del icono (header 60px) */
  right:10px;

  width:180px;
  border-radius:12px;

  background:rgba(255,255,255,0.12);
  backdrop-filter:blur(15px);

  border:1px solid rgba(255,255,255,0.3);

  display:none;
  flex-direction:column;
  padding:5px;

  z-index:1000;
  color:#333;
  box-shadow:
    0 8px 30px rgba(0,0,0,0.2),
    inset 0 1px 0 rgba(255,255,255,0.2);
}

/* OPCIONES */
.lang-opcion{
  padding:10px;
  cursor:pointer;
  border-radius:8px;
  font-size:14px;
  color:#333;
}

/* HOVER */
.lang-opcion:hover{
  background:rgba(255,255,255,0.25);
}

@media (max-width:768px){
  .lenguajes{
    width:90%;
    right:5%;
  }
}


@media (min-width:769px) and (max-width:1024px){
  .lenguajes{
    width:200px;
  }
}
