/* ====================== CONFIGURACIÓN GENERAL ====================== */
:root {
    --color-cabina-roja: rgb(0, 0, 0);
    --color-texto: rgba(255, 255, 255, 0.568);
    --color-fondo-pagina: #f4f4f4;
    --color-hover: rgb(202, 211, 202);
    --color-ximena-hover: #acffc1;     /* Verde intenso para Ximena */

    /* ====================== TAMAÑOS ====================== */
    --logo-icon-size: 38px;      
    --logo-text-size: 1.55em;    
    --ximena-name-size: 1.15em;  
    --album-title-size: 1.1em;     
    --nav-font-size: 0.85em;     
}

/* ====================== ESTILOS BASE ====================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--color-fondo-pagina);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding-top: 95px;
    margin: 0;
}

/* ====================== HEADER ====================== */
header {
    background-color: var(--color-cabina-roja);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
}

/* ====================== CONTENEDOR SUPERIOR ====================== */
.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    flex-wrap: wrap;
    gap: 15px;
}

/* ====================== LOGO CABINA ROJA CON HOVER ====================== */
header .logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    font-size: var(--logo-text-size);
    font-weight: 700;
    transition: all 0.4s ease;
    padding: 4px 8px;
    border-radius: 4px;
}

header .logo:hover {
    color: var(--color-hover);
    transform: scale(1.08);
}

header .EstiloIcono {
    width: var(--logo-icon-size);
    height: var(--logo-icon-size);
    margin-right: 10px;
    flex-shrink: 0;
    transition: all 0.4s ease;
}

header .logo:hover .EstiloIcono {
    transform: scale(1.2) rotate(15deg);
    filter: drop-shadow(0 0 10px #000000);
}

/* Colores del logo */
.logo-text.cabina { color: white; }
.logo-text.roja   { color: #ff0033; }

/* ====================== PACK - XIMENA + ÁLBUM ====================== */
.pack-container {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.pack-link {
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 4px 8px;
    border-radius: 4px;
    transition: all 0.4s ease;
    cursor: pointer;
}

.pack-link:hover {
    filter: drop-shadow(0 0 15px #00ff41) drop-shadow(0 0 28px #00ff80);
}

.fototecaTitulo-Header {
    font-size: var(--ximena-name-size);
    font-weight: 600;
    color: var(--color-texto);
    white-space: nowrap;
    line-height: 1;
    transition: all 0.4s ease;
}

.pack-link:hover .fototecaTitulo-Header {
    color: var(--color-ximena-hover);
    transform: scale(1.12);
    text-shadow: 0 0 16px #00ff41;
}

.pack-titulo {
    font-size: var(--album-title-size);
    font-weight: 600;
    color: #00ff00;
    white-space: nowrap;
    line-height: 1;
}

/* ====================== NAVEGACIÓN ====================== */
header nav {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    padding: 10px 0;
}

header nav a {
    position: relative;
    padding: 12px 8px;
    text-decoration: none;
    color: var(--color-texto);
    font-weight: 600;
    font-size: var(--nav-font-size);
}

/* ====================== EFECTO ARCOÍRIS ====================== */
/* Proteger la línea arcoíris para que no se mueva */
header::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, #FF0033, #FF33CC, #ff3377, #FF9900, #FF0033, transparent);
    background-size: 200% 100%;
    animation: sensual-pulse 5s linear infinite;
    z-index: 10;                    /* Asegura que quede arriba */
}

/* ====================== RESPONSIVIDAD ====================== */
@media (max-width: 768px) {
.header-top {
        justify-content: space-between;   /* Mantiene izquierda y derecha */
        padding: 0px;
        gap: 10px;
    }

    /*Tamaño Texto Cabina Roja*/
    header .logo {
        font-size: 1em;
    }
    /*Tamaño Icono Cabina Roja*/
    header .EstiloIcono {
        width: 32px;
        height: 32px;
    }

    /*Tamaño Nombre Perfil*/
    .fototecaTitulo-Header {
        font-size: 0.75em;
    }

    /*Tamaño Titulo Pack*/
    .pack-titulo {
        font-size: 0.75em;
    }
    /* Fotos Videos Detalles Precio Otros*/
    header nav {
        gap: 10px;
    }

    header nav a {
        padding: 1px 8px;
        font-size: 0.82em;
    }
}

@media (max-width: 480px) {
.header-top {
        justify-content: space-between;   /* Mantiene izquierda y derecha */
        padding: 0px;
        gap: 10px;
    }

    /*Tamaño Texto Cabina Roja*/
    header .logo {
        font-size: 1em;
    }
    /*Tamaño Icono Cabina Roja*/
    header .EstiloIcono {
        width: 32px;
        height: 32px;
    }

    /*Tamaño Nombre Perfil*/
    .fototecaTitulo-Header {
        font-size: 0.75em;
    }

    /*Tamaño Titulo Pack*/
    .pack-titulo {
        font-size: 0.75em;
    }
    /* Fotos Videos Detalles Precio Otros*/
    header nav {
        gap: 10px;
    }

    header nav a {
        padding: 1px 8px;
        font-size: 0.82em;
    }
}