* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

body {
    height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
}

.logo-principal {
    width: 400px;
    max-width: 80%;
    margin-top: 20px;
}

.video-container {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;

    z-index: -2;
    overflow: hidden;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero {
    text-align: center;
    padding: 30px 20px;
}


.hero h2 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 100;
        color: #dfdfdf;

}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 40px;
    color: #c7c7c7;
        font-weight: 100;
}

.hero-buttons {
    display: flex;
    flex-direction: column;

    align-items: center;
    gap: 15px;
    margin-top: 50px;
    margin-bottom: 20px;
}

.btn {
    width: 300px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    background: transparent;
    color: white;

    border: 2px solid rgba(255, 255, 255, 0.373);
    border-radius: 5px;

    padding: 10px;

    text-decoration: none;

    position: relative;
    overflow: hidden;

    transition: color 0.3s ease;
}

.btn::before {
    content: "";

    position: absolute;
    top: 0;
    left: -100%;

    width: 100%;
    height: 100%;

    background: white;

    transition: left 0.35s ease;

    z-index: 0;
}

.btn:hover::before {
    left: 0;
}

.btn:hover {
    color: black;
}

.btn i,
.btn span {
    position: relative;
    z-index: 1;
}

.valores {
    display: flex;
    justify-content: center;
    gap: 20px;

    margin: 30px 0;
    flex-wrap: wrap;
}

.valor {
    display: flex;
    align-items: center;
    gap: 10px;

    color: white;
    font-size: 1.1rem;
}

.valor i {
    font-size: 1.3rem;
        color: #c7c7c7;
}

.footer {
    position: relative;
    z-index: 1;

    text-align: center;
    color: white;

    padding: 20px 20px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 25px;

    margin-bottom: 5px;
}

.social-icons a {
    color: white;
    font-size: 1.5rem;

    transition: 0.3s;
}

.social-icons a:hover {
    transform: translateY(-3px);
    opacity: 0.8;
}

.footer p {
    font-size: 0.9rem;
    letter-spacing: 1px;
}



.registro{
    position: fixed;
    bottom: -150%;
    left: 0;
    width: 100%;
    height: 100vh;
    background: #111;
    z-index: 9999;
    transition: 0.5s ease;
}

.form-publicacion{
    width: 100%;
    max-width: 500px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 40px 25px;
}

.form-publicacion h2{
    color: white;
    text-align: center;
    font-size: 2rem;
}

.form-publicacion p{
    color: rgba(255,255,255,.7);
    text-align: center;
    margin-bottom: 15px;
}

.form-publicacion input,
.form-publicacion textarea{
    width: 100%;
    padding: 16px;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 12px;
    background: rgba(255,255,255,.05);
    color: white;
    font-size: 1rem;
    outline: none;
}

.form-publicacion textarea{
    resize: vertical;
    min-height: 120px;
}

.form-publicacion input:focus,
.form-publicacion textarea:focus{
    border-color: #c89b3c;
}

.upload-label{
    padding: 16px;
    border: 2px dashed rgba(255,255,255,.2);
    border-radius: 12px;
    text-align: center;
    color: white;
    cursor: pointer;
}

.btn-enviar{
    padding: 16px;
    border: none;
    border-radius: 12px;
    background: #c89b3c;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
}

.btn-volver{
    padding: 16px;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 12px;
    background: transparent;
    color: white;
    cursor: pointer;
}

.registro.activo{
    bottom: 0;
}

.cerrar-formulario{
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
}

.registro{
    overflow-y: auto;
}

.linea-form{
    width: 100%;
    height: 1px;
    background: rgba(255,255,255,.18);
    margin: 10px 0;
}

.campo-grupo{
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.campo-grupo > label{
    color: white;
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
}

.opciones{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.opcion{
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 8px;

    color: white;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;

    transition: .25s ease;
}

.opciones input[type="radio"]:checked + .opcion{
    background: rgba(255,255,255,.14);
    border-color: rgba(255,255,255,.85);
    box-shadow: 0 0 0 2px rgba(255,255,255,.25);
}

.check-terminos{
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: white;
    font-size: 1rem;
    line-height: 1.4;
    text-align: left;
}

.check-terminos input{
    width: 28px;
    height: 28px;
    accent-color: #c89b3c;
    flex-shrink: 0;
}

.check-terminos a,
.login-texto a{
    color: #248cff;
    text-decoration: none;
    font-weight: 500;
}

.btn-enviar{
    background: white;
    color: black;
    border: 1px solid #c89b3c;
}

.login-texto{
    color: white !important;
    text-align: center;
    margin-top: 18px;
}


.registro-header{
    text-align: center;
    margin-bottom: 30px;
}

.registro-header h1{
    color: white;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.2;
}

.registro-header p{
    color: rgba(255,255,255,.7);
    font-size: 0.9rem;
    line-height: 1.5;
    max-width: 500px;
    margin: 0 auto;
}


.input-group{
    position: relative;
    width: 100%;
}

.input-group i{
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255,255,255,.6);
    font-size: 1rem;
}

.input-group input{
    padding-left: 50px !important;
}

.upload-fotos{
    width: 100%;
    min-height: 70px;

    border: 2px dashed rgba(255,255,255,.2);
    border-radius: 12px;

    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    color: white;
    cursor: pointer;

    transition: .3s;
}

.upload-fotos:hover{
    border-color: #c89b3c;
}

.preview-fotos{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.preview-fotos img{
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
}


.titulo-logo{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.titulo-logo span{
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
}

.titulo-logo img{
    width: 220px;
    max-width: 80%;
}

.input-group select{
    width: 100%;
    padding: 16px 16px 16px 50px;
    border: 1px solid rgba(255,255,255,.15);
    border-radius: 12px;
    background: rgba(255,255,255,.05);
    color: white;
    font-size: 1rem;
    outline: none;
}

.input-group select option{
    background: #111;
    color: white;
}


.preview-fotos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.preview-fotos img {
    width: 100%;
    height: 110px;
    object-fit: cover;
    border-radius: 12px;
}


.hero{
    position: relative;
}

.btn-login{
    position: absolute;
    top: 30px;
    right: 30px;
    width: auto;
    min-width: 220px;
    z-index: 1000;
}



.login-container {
    margin-top: 80px;
}

.login-error {
    color: #ff5c5c;
    font-size: 14px;
    text-align: center;
    margin-top: 12px;
}

.forgot-password {
    display: block;
    text-align: center;
    margin-top: 14px;
    color: #fff;
    opacity: 0.8;
    text-decoration: none;
    font-size: 14px;
}

.forgot-password:hover {
    opacity: 1;
    text-decoration: underline;
}


.acciones-usuario {
    position: fixed;
    left: 22px;
    bottom: 22px;
    display: flex;
    gap: 12px;
    z-index: 9999;
}

.accion-usuario {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: rgba(20, 20, 20, 0.85);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(0,0,0,.35);
    transition: .25s ease;
}

.accion-usuario:hover {
    transform: translateY(-3px);
    background: #e91e63;
}

.accion-usuario:active {
    transform: scale(.95);
}

.anuncio-home {
    display: block;
    width: 280px;
    margin: 24px auto 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0,0,0,.25);
    transition: transform .25s ease;
    border: 2px solid rgba(255, 255, 255, 0.268);
}

.anuncio-home:hover {
    transform: scale(1.03);
}

.anuncio-home img {
    width: 100%;
    display: block;
}


@media (max-width: 768px) {

    .acciones-usuario {
        position: static;
        display: flex;
        justify-content: center;
        gap: 14px;
        margin-top: 20px;
    }

    .hero-buttons {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

}



.footer p{
    color: #9a9a9a;
    font-size: .9rem;
    margin-bottom: 12px;
}

.footer-links{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.footer-links span{
    color: #555;
}

.footer-links a{
    color: #9a9a9a;
    text-decoration: none;
    font-size: .92rem;
    transition: .2s;
}

.footer-links a:hover{
    color: #fff;
}




