/* 
    Tipografías: Asegúrate de descomprimir los archivos de tus fuentes 
    en la carpeta assets/fonts/ para que funcionen localmente.
*/
@font-face {
    font-family: 'Delight';
    src: url('../fonts/delight/Delight-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Creato Display';
    src: url('../fonts/creato/CreatoDisplay-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

:root {
    --cream: #f0e6da; /* Crema OAT */
    --olive: #415b06; /* Verde Oliva */
    
    /* Variables de diseño Luxury */
    --bg-dark: #121901; /* Verde oliva ultra oscuro casi negro */
    --accent-glow: rgba(65, 91, 6, 0.4);
    --border-color: rgba(240, 230, 218, 0.15); /* Crema muy sutil para bordes */
    --glass-bg: rgba(240, 230, 218, 0.03); /* Fondo de botón translúcido */
    
    --font-heading: 'Delight', 'Playfair Display', 'Georgia', serif;
    --font-body: 'Creato Display', 'Montserrat', 'Helvetica', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    /* Fondo oscuro lujoso basado en tu Verde Oliva */
    background: linear-gradient(135deg, var(--bg-dark) 0%, #1a2403 100%);
    color: var(--cream);
    font-family: var(--font-body);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 2rem 1rem;
    -webkit-font-smoothing: antialiased;
    position: relative;
    overflow-x: hidden;
}

/* Brillo sutil de fondo para dar profundidad (efecto luxury) */
.background-accent {
    position: fixed;
    top: -20%;
    left: -10%;
    width: 60vh;
    height: 60vh;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    z-index: 0;
    pointer-events: none;
    filter: blur(60px);
}

.container {
    width: 100%;
    max-width: 440px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    z-index: 1; /* Por encima del brillo de fondo */
}

/* Header & Profile */
.profile {
    margin-bottom: 3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fadeInDown 0.8s ease forwards;
}

.profile-image {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    padding: 4px; /* Efecto de doble borde elegante */
    margin-bottom: 1.5rem;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}

.profile-image svg {
    width: 50%;
    height: 50%;
    color: var(--cream);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.name {
    font-family: var(--font-heading);
    font-size: 2.8rem;
    font-weight: normal;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    background: linear-gradient(to right, #ffffff, var(--cream));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 0.85rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: rgba(240, 230, 218, 0.7);
}

/* Links Container */
.links-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.link-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    padding: 1.1rem 1.5rem;
    background-color: var(--glass-bg);
    color: var(--cream);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    text-decoration: none;
    font-size: 1rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.6s ease forwards;
}

/* Animaciones en cascada para los botones */
.link-btn:nth-child(1) { animation-delay: 0.2s; }
.link-btn:nth-child(2) { animation-delay: 0.3s; }
.link-btn:nth-child(3) { animation-delay: 0.4s; }
.link-btn:nth-child(4) { animation-delay: 0.5s; }

/* Icon Position */
.link-btn .icon {
    position: absolute;
    left: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.link-btn .icon svg {
    width: 20px;
    height: 20px;
}

/* Hover Effects - Luxury glow */
.link-btn:hover {
    background-color: rgba(240, 230, 218, 0.08);
    border-color: rgba(240, 230, 218, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3), 0 0 20px rgba(240, 230, 218, 0.05);
    color: #ffffff;
}

.link-btn:hover .icon {
    opacity: 1;
}

/* Active/Click Effects */
.link-btn:active {
    transform: translateY(0);
}

/* Footer */
.footer {
    margin-top: 4rem;
    font-size: 0.7rem;
    letter-spacing: 4px;
    color: rgba(240, 230, 218, 0.4);
    animation: fadeIn 1s ease 1s forwards;
    opacity: 0;
}

/* Keyframes para animaciones de entrada suaves */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
