/* ==========================================================================
   EXPLICACIÓN: CONFIGURACIÓN GLOBAL (BASE.CSS)
   Este archivo establece los cimientos visuales de toda la web.
   - Define el fondo de logos, tipografía y colores base.
   - Gestiona el "pasillo" traslúcido de 1340px que envuelve el contenido.
   - Aplica el margen superior global para que el contenido no quede 
     oculto tras el menú fijo (navbar).
   ========================================================================== */

body {
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', sans-serif !important;
    color: #1a1a1a;
    background-image: url('../Imagenes/backgrounftuxuniverseweb.png') !important; 
    background-repeat: repeat !important; 
    background-size: 400px;
    background-attachment: fixed;
    background-color: #f2f3f7 !important; 
}

/* Espaciado global para evitar que el menú pise el contenido */
main {
    padding-top: 100px; /* Ajusta este valor según la altura de tu menú */
    display: block;
    width: 100%;
    
    /* --- INICIO EFECTO TRASLÚCIDO --- */
    max-width: 1360px; 
    margin: 0 auto; 
    position: relative;
    overflow: hidden; /* Corta el degradado del blur */
    border-left: 1px solid rgba(255, 255, 255, 0.5);
    border-right: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.05);
    /* --- FIN EFECTO --- */
}

/* LA CAPA TRASLÚCIDA (Añadido único) */
main::before {
    content: "";
    position: absolute;
    top: 0;
    left: -20px;
    right: -20px;
    bottom: 0;
    z-index: -1;
    background-image: url('../Imagenes/backgrounftuxuniverseweb.png') !important;
    background-repeat: repeat !important;
    background-size: 400px;
    background-attachment: fixed;
    background-color: rgba(255, 255, 255, 0.7) !important;
    filter: blur(10px);
}

.contenedor-centrado {
    max-width: 1280px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

/* Títulos y Párrafos dentro de contenedores */
.contenido-tab h2 {
    font-size: 32px;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 20px;
    color: #1a1a1a;
}

/* Títulos y Párrafos dentro de contenedores */
.contenido-tab h3 {
    font-size: 20px;
    margin-top: 40px;
    margin-bottom: 20px;
    color: #1a1a1a;
}


.contenido-tab p {
    font-size: 16px;
    line-height: 1.5;
    margin-bottom: 20px;
    color: #1a1a1a;
}

/* ==========================================================================
   CONTENEDOR HORIZONTAL PRINCIPAL DE LAS SECCIONES
   ========================================================================== */

/* Contenedor principal: Mantiene tus 1280x600 y la imagen */
.highlight-section {
    width: 1280px;
    height: 600px;
    margin: 40px auto;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center; /* Centra el cuadro de cristal verticalmente */
    justify-content: flex-start; /* Lo alinea a la izquierda */
    position: relative;
    border-radius: 18px;
    overflow: hidden; 
}

/* El cuadro de texto convertido en CRISTAL */
.highlight-content {
    /* Dimensiones y Margen del Carrusel */
    width: 480px;
    padding: 30px;
    margin-left: 30px; /* El "left: 60px" que pedías */
    
    /* Efecto Glassmorphism EXACTO del carrusel */
    background: rgba(0, 0, 0, 0.45); 
    backdrop-filter: blur(15px);    
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    
    /* Tipografía y Layout interno */
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 15px;
    color: white;
    z-index: 20;
}

/* Estilos de texto heredados del estilo de cristal */
.highlight-content .titulo {
    font-family: 'Audiowide', cursive;
    font-size: 1.8rem;
    margin-bottom: 12px;
    color: #ffffff;
    text-transform: uppercase;
}

.highlight-content .texto {
    font-family: 'Open Sans', sans-serif; 
    font-size: 1rem;
    line-height: 1.5;
    margin-bottom: 25px;
    color: #e0e0e0;
}

/* Ajuste del botón para que no se estire */
.highlight-content .btn-tux-base {
    width: 180px;
    justify-content: center;
    display: flex;
    align-items: center;
    text-decoration: none;
}

/* ==========================================================================
   COMPONENTE: TARJETAS TUXUNIVERSE (tux-card)
   ========================================================================== */
.tux-card {
    /* Transparencia para que se vea el fondo de logos */
    background: rgba(255, 255, 255, 0.15) !important;
    background-image: none !important; /* IMPORTANTE: Para que no se vea blanca */
    
    /* Efecto Cristal */
    backdrop-filter: blur(20px) saturate(160%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(160%) !important;

    /* Estructura */
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    border-radius: 18px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    
    /* Animación base */
    transition: all 0.4s ease;
}