@font-face {
    font-family: 'Kanit';
    src: url('../fonts/Kanit-Light.ttf') format('truetype');
    font-weight: 300 900;
    font-display: swap;
}

/* RESET GENERAL Y VARIABLES */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    height: 100%;
}

body {
    background-color: #031414;
    color: #fff0de;
    font-family: 'Kanit', system-ui, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* NAVEGACIÓN PRINCIPAL */
nav {
    width: 100%;
    height: 90px;
    background-color: #062424;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 40px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9998;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.logo-container .logo {
    height: 55px;
    width: auto;
    object-fit: contain;
}

/* LISTAS DE NAVEGACIÓN */
.nav-container {
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 15px;
    list-style: none;
}

.nav-list li {
    font-size: 1.1rem;
    font-weight: 600;
}

.linea {
    color: #0e5050;
    user-select: none;
}

a, .genero-label {
    text-decoration: none;
    color: #fff0de;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s ease;
    cursor: pointer;
}

a:hover, .genero-label:hover {
    color: #d25525;
}

/* MENÚ DESPLEGABLE DE GÉNERO */
.nav-list-item-genero {
    position: relative;
}

.genero-list {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: #062424;
    border: 1px solid #0e5050;
    border-radius: 8px;
    padding: 10px 0;
    min-width: 140px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.5);
    display: none;
    flex-direction: column;
    z-index: 9999;
}

.genero-list-item {
    list-style: none;
    text-align: center;
    padding: 5px 0;
}

.genero-list-item a {
    font-size: 1rem;
    display: block;
    width: 100%;
}

.nav-list-item-genero:hover .genero-list {
    display: flex;
}

/* CONTENEDOR DE USUARIO */
.user-container .user-list {
    display: flex;
    align-items: center;
    gap: 10px;
    list-style: none;
}

.user-container div {
    display: flex;
    align-items: center;
    gap: 10px;
}
.user-container .img-usuario{
    width: 50px;
    
}

/* OCULTAR ELEMENTOS MÓVILES EN ESCRITORIO */
.btn-nav, .btn-genero, .menu-icon {
    display: none !important;
}

/* HERO / INTRO */
.intro {
    background-color: #031414;
    text-align: center;
    color: #fff0de;
    padding: 160px 20px 60px 20px;
}

.intro h1 {
    font-size: 2.8rem;
    color: #d25525;
    margin-bottom: 10px;
}

.intro h3 {
    font-size: 1.2rem;
    font-weight: 300;
    max-width: 700px;
    margin: 0 auto;
    color: #fff0de;
}

/* SECCIONES DE GÉNERO (CARDS) */
.indie-container, .pop-container, .rock-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 80px 10%;
    background-size: cover;
    background-position: center;
    position: relative;
}

.indie-container {
    background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url("../images/indie/00-bg.png");
}

.pop-container {
    flex-direction: row-reverse;
    background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url("../images/inicio/pop-bg.png");
}

.rock-container {
    background-image: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url("../images/inicio/rock-bg.png");
}

.indie-img, .pop-img, .rock-img {
    width: 45%;
    max-width: 480px;
    height: 320px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.6);
}

.indie-description, .pop-description, .rock-description {
    width: 50%;
    background-color: rgba(6, 36, 36, 0.85);
    border: 1px solid #0e5050;
    border-radius: 12px;
    padding: 30px;
    backdrop-filter: blur(4px);
}

.indie-description h2, .pop-description h2, .rock-description h2 {
    color: #d25525;
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.indie-description p, .pop-description p, .rock-description p {
    color: #fff0de;
    font-size: 0.95rem;
    font-weight: 300;
    text-align: justify;
}

hr {
    border: none;
    height: 1px;
    background: linear-gradient(90deg, transparent, #0e5050, transparent);
}

/* SOBRE NOSOTROS */
.about-us {
    background-color: #031414;
    text-align: center;
    padding: 100px 20px;
    max-width: 900px;
    margin: 0 auto;
}

.about-us h2 {
    font-size: 2.2rem;
    color: #409595;
    margin: 30px 0 10px 0;
}

.about-us p {
    color: #fff0de;
    font-size: 1.1rem;
    font-weight: 300;
}

/* FOOTER */
footer {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
    width: 100%;
    background-color: #062424;
    padding: 40px 20px;
    border-top: 1px solid #003b3b;
}

footer p {
    color: #fff0de;
    font-size: 0.9rem;
    font-weight: 300;
}

.btn-participar, .btn-agregar {
    padding: 12px 30px;
    background-color: #0e5050;
    border: none;
    border-radius: 8px;
    color: #fff0de;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-participar:hover, .btn-agregar:hover {
    background-color: #d25525;
    color: #ffffff;
    transform: translateY(-3px);
}

/* SCROLLBAR */
::-webkit-scrollbar {
    width: 10px;
    background-color: #031414;
}

::-webkit-scrollbar-thumb {
    background-color: #0e5050;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background-color: #d25525;
}
.user-container-mobile{
    display: none;
}
@media screen and (max-width: 900px) {
    nav {
        height: 70px;
        padding: 0 20px;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 9998;
    }

    .logo-container .logo {
        height: 45px;
    }

    /* ICONO HAMBURGUESA */
    .menu-icon {
        display: flex !important;
        align-items: center;
        justify-content: center;
        color: #fff0de;
        font-size: 32px;
        cursor: pointer;
        z-index: 10000;
    }

    /* OCULTAR CONTENEDOR DE ESCRITORIO EN MÓVIL */
    nav > .user-container {
        display: none;
    }

    /* MENÚ DESPLEGABLE FULL-SCREEN MÓVIL */
    .nav-container {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: #062424;
        flex-direction: column;
        align-items: center;
        padding: 30px 20px;
        gap: 25px;
        z-index: 9999;
        overflow-y: auto;
    }

    /* MOSTRAR TODO EL CONTENEDOR AL ACTIVAR HAMBURGUESA */
    .btn-nav:checked ~ .nav-container {
        display: flex;
    }

    .nav-list {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        gap: 15px;
    }

    /* ÁREA DE USUARIO INTEGRADA EN EL MENÚ MÓVIL */
    .nav-container .user-container-mobile {
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding-top: 20px;
        border-top: 1px solid #0e5050;
        gap: 10px;
    }

    .nav-container .user-container-mobile .user-list,
    .nav-container .user-container-mobile div{
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 12px;
        list-style-type: none;
    }
    /* AJUSTE DE IMAGEN EN MENÚ MÓVIL */
    .nav-container .user-container-mobile .img-usuario {
        width: 60px;
        height: 60px;
        border-color: #d25525;
        margin-bottom: 5px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    }
    .linea {
        display: none;
    }

    .intro {
        padding-top: 120px;
    }

    .indie-container, .pop-container, .rock-container {
        flex-direction: column;
        padding: 60px 20px;
    }

    .indie-img, .pop-img, .rock-img,
    .indie-description, .pop-description, .rock-description {
        width: 100%;
        max-width: 100%;
    }

    .indie-img, .pop-img, .rock-img {
        height: 220px;
    }

    .btn-participar, .btn-agregar {
        width: 80%;
    }
}