:root {
    /* --- Paleta de Colores Solicitada --- */
    --color-brown: #36251D;    /* Marrón Profundo */
    --color-beige: #D0C3B5;    /* Beige Elegante */
    
    /* Variaciones para degradados */
    --bg-gradient-start: #cfb89f;
    --bg-gradient-end: #D0C3B5;
    
    /* Textos */
    --text-dark: var(--color-brown);
    --text-light: #ffffff;
    
    /* Tipografías */
    /* Usamos Pinyon Script como fallback si no tienes Sloop activada arriba */
    --font-script: 'Pinyon Script', cursive; 
    --font-serif: 'Noto Serif Display', serif;
}

/* --- Reset --- */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-serif);
    background: linear-gradient(180deg, var(--bg-gradient-start) 0%, var(--bg-gradient-end) 100%);
    color: var(--text-dark);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    padding: 3rem 1rem;
}

.container {
    width: 100%;
    max-width: 500px;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

/* --- Perfil --- */
.profile-section {
    text-align: center;
    animation: fadeIn 1.2s ease;
}

.image-wrapper {
    margin-bottom: 1.5rem;
}

.profile-pic {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center 26%;
    /* Borde doble delgado para elegancia */
    border: 1px solid var(--color-brown);
    outline: 4px solid rgba(208, 195, 181, 0.5); /* Beige translúcido */
    padding: 3px;
}

.name {
    /*font-family: var(--font-script);*/
    font-family: var(--font-serif);
    font-size: 2.5rem; /* Tamaño grande para fuente script */
    font-weight: 400;
    color: var(--text-dark);
    margin-bottom: 0.2rem;
    line-height: 1.1;
}

.title {
    font-family: var(--font-serif);
    font-size: 0.9rem;
    color: var(--color-brown);
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.9;
    font-weight: 400;
}

/* --- Banners Minimalistas --- */
.links-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.banner-link {
    display: block;
    position: relative;
    height: auto; /* Se ajusta automáticamente a la imagen */
    text-decoration: none;
    border-radius: 8px; /* Bordes menos redondos, más editorial/clásico */
    overflow: hidden;
    
    box-shadow: 0 4px 6px rgba(54, 37, 29, 0.1);
    transition: all 0.4s ease;
}

/* Nueva clase para la imagen real */
.banner-img {
    width: 100%;
    height: auto;
    display: block;
}

/* Contenedor interno para el texto y efecto */
.banner-content {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute; /* Se superpone a la imagen */
    top: 0;
    left: 0;
    z-index: 2;
    
    /* Estado Normal: Oscurecimiento muy sutil para que se lea el texto blanco */
    /*background: rgba(54, 37, 29, 0.25); */
    transition: all 0.4s ease;
}

.link-text {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    color: var(--color-beige); /* Beige claro para contraste */
    text-shadow: 0 2px 4px rgba(0,0,0,0.6); /* Sombra para legibilidad */
    text-align: center;
    transition: color 0.3s ease;
}

.icon-indicator {
    position: absolute;
    right: 20px;
    font-size: 1.2rem;
    color: #25D366;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

/* --- Efecto HOVER (El Destaque) --- */
.banner-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(54, 37, 29, 0.2);
}

.banner-link:hover .banner-content {
    /* Aquí ocurre la magia del vidrio al pasar el mouse */
    background: rgba(255, 255, 255, 0.1); /* Capa blanca translúcida */
    backdrop-filter: blur(0.1px);            /* Desenfoque de la imagen */
    -webkit-backdrop-filter: blur(0.1px);
}

.banner-link:hover .link-text {
    /* El texto cambia a Marrón oscuro para contrastar con el vidrio claro */
    color: var(--color-brown);
    text-shadow: none;
    font-weight: 600;
}

/* --- Footer --- */
.footer {
    text-align: center;
    font-size: 0.75rem;
    color: var(--color-brown);
    opacity: 0.6;
    letter-spacing: 1px;
}

/* Animación de entrada */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}