/* -------------------------------------------------------------
 * DESIGN SYSTEM TOKENS & RESET
 * ------------------------------------------------------------- */
:root {
    /* Color Palette - Desaturated luxury neutrals & warm golds */
    --color-bg-base: #FAF8F5;          /* Very light warm cream background */
    --color-bg-card: rgba(255, 255, 255, 0.75); /* Frosted glass white */
    --color-text-primary: #2C2A25;     /* Soft warm charcoal (no pure black) */
    --color-text-secondary: #6E6A62;   /* Warm slate for subtitles/taglines */
    --color-accent: #C5A880;           /* Elegant desaturated gold */
    --color-accent-hover: #B8976C;     /* Deeper warm gold for hover states */
    --color-border-glass: rgba(197, 168, 128, 0.18); /* Thin golden-tinted border */
    --color-border-glow: rgba(197, 168, 128, 0.35);  /* Hover state border glow */
    --color-shadow-tint: rgba(44, 42, 37, 0.04);     /* Soft shadow base */

    /* Typography */
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    /* Spacing & Borders */
    --radius-button: 16px;
    --radius-logo: 50%;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-tactile: transform 0.15s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s ease, border-color 0.2s ease;
}

/* Reset & Base Rules */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-sans);
    background-color: var(--color-bg-base);
    color: var(--color-text-primary);
    min-height: 100dvh; /* Viewport stability for mobile to prevent scroll jump */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* -------------------------------------------------------------
 * AMBIENT BACKGROUND (Perfume Vapors / Energy Concept)
 * ------------------------------------------------------------- */
.ambient-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100dvh;
    z-index: 1;
    overflow: hidden;
    pointer-events: none;
}

.glow-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.45;
    mix-blend-mode: multiply;
    animation: rotateAndFloat 25s infinite ease-in-out;
}

.glow-1 {
    top: -10%;
    left: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(197, 168, 128, 0.35) 0%, rgba(250, 248, 245, 0) 70%);
}

.glow-2 {
    bottom: -15%;
    right: -10%;
    width: 70vw;
    height: 70vw;
    background: radial-gradient(circle, rgba(220, 205, 180, 0.3) 0%, rgba(250, 248, 245, 0) 75%);
    animation-delay: -5s;
}

@keyframes rotateAndFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    33% {
        transform: translate(5%, 7%) scale(1.1) rotate(120deg);
    }
    66% {
        transform: translate(-3%, -5%) scale(0.9) rotate(240deg);
    }
}

/* -------------------------------------------------------------
 * MOBILE-FIRST CONTAINER
 * ------------------------------------------------------------- */
.bio-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 480px; /* Limits width on desktop */
    min-height: 100dvh;
    padding: 48px 24px 32px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between; /* Stretches header, content, and footer */
}

/* -------------------------------------------------------------
 * HEADER: LOGO, TITLE, SUBTITLES
 * ------------------------------------------------------------- */
.bio-header {
    text-align: center;
    margin-bottom: 24px;
    width: 100%;
}

.logo-wrapper {
    position: relative;
    width: 110px;
    height: 110px;
    margin: 0 auto 20px auto;
    border-radius: var(--radius-logo);
    background: var(--color-bg-base);
    padding: 4px;
    box-shadow: 0 8px 30px rgba(197, 168, 128, 0.12);
    border: 1px solid rgba(197, 168, 128, 0.15);
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: var(--radius-logo);
}

.brand-title {
    font-family: 'Open Sans', var(--font-sans);
    font-size: 2.3rem;
    font-weight: 700; /* Bold / Negrito */
    letter-spacing: -0.015em;
    color: var(--color-text-primary);
    line-height: 1.15;
    margin-bottom: 8px;
}

.brand-subtitle {
    font-family: var(--font-sans);
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.22em;
    margin-bottom: 8px;
    line-height: 1.2;
}

.brand-tagline {
    font-family: var(--font-serif);
    font-size: 1.18rem;
    font-style: italic;
    color: var(--color-text-secondary);
    line-height: 1.3;
}

.brand-tagline strong {
    font-weight: 700;
    color: var(--color-text-primary);
}

/* -------------------------------------------------------------
 * SOCIAL ICONS ROW
 * ------------------------------------------------------------- */
.social-links {
    display: flex;
    gap: 16px;
    margin-bottom: 36px;
    justify-content: center;
    width: 100%;
}

.social-icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background-color: var(--color-bg-card);
    border: 1px solid var(--color-border-glass);
    color: var(--color-text-secondary);
    box-shadow: 0 4px 15px var(--color-shadow-tint);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: var(--transition-tactile);
    cursor: pointer;
}

.social-icon-btn .svg-icon {
    width: 18px;
    height: 18px;
    transition: var(--transition-smooth);
}

/* Social States */
.social-icon-btn:hover {
    color: var(--color-text-primary);
    border-color: var(--color-accent);
    transform: translateY(-2px);
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 6px 20px rgba(197, 168, 128, 0.15);
}

.social-icon-btn:active {
    transform: translateY(0) scale(0.96);
}

/* -------------------------------------------------------------
 * MAIN BUTTONS LIST (Link cards)
 * ------------------------------------------------------------- */
.buttons-list {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 48px;
    flex-grow: 1; /* Pushes footer downwards */
    justify-content: center;
}

/* Link card base style */
.bio-link-card {
    position: relative;
    width: 100%;
    padding: 18px 24px;
    background-color: var(--color-bg-card);
    border-radius: var(--radius-button);
    border: 1px solid var(--color-border-glass);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 20px var(--color-shadow-tint),
                inset 0 1px 0 rgba(255, 255, 255, 0.5); /* Inner border light refraction */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: var(--transition-tactile);
    cursor: pointer;
    overflow: hidden; /* Important for shimmer shine effect */
}

/* Spotlight radial highlight tracking the cursor */
.bio-link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(
        220px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(197, 168, 128, 0.08),
        transparent 80%
    );
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

.bio-link-card:hover::before {
    opacity: 1;
}

/* Button Text and Arrow */
.btn-text {
    font-family: var(--font-sans);
    font-size: 0.94rem;
    font-weight: 500;
    color: var(--color-text-primary);
    letter-spacing: 0.03em;
    position: relative;
    z-index: 2;
}

.btn-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--color-accent);
    width: 20px;
    height: 20px;
    transition: var(--transition-smooth);
    position: relative;
    z-index: 2;
}

.btn-arrow svg {
    width: 100%;
    height: 100%;
}

/* Link Cards Hover States */
.bio-link-card:hover {
    transform: translateY(-2px);
    border-color: var(--color-accent);
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 25px rgba(197, 168, 128, 0.15),
                inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.bio-link-card:hover .btn-arrow {
    color: var(--color-text-primary);
    transform: translateX(4px);
}

.bio-link-card:active {
    transform: translateY(1px) scale(0.985); /* Tactile click feedback */
}

/* Shimmer shine effect on hover */
.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.4) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    transition: none;
    z-index: 1;
}

.bio-link-card:hover .btn-shine {
    animation: shineSweep 1s forwards ease-out;
}

@keyframes shineSweep {
    0% {
        left: -100%;
    }
    100% {
        left: 200%;
    }
}

/* -------------------------------------------------------------
 * FOOTER
 * ------------------------------------------------------------- */
.bio-footer {
    text-align: center;
    width: 100%;
    padding-top: 16px;
    border-top: 1px solid rgba(197, 168, 128, 0.08);
}

.copyright {
    font-family: var(--font-sans);
    font-size: 0.76rem;
    color: var(--color-text-secondary);
    margin-bottom: 6px;
    letter-spacing: 0.02em;
    line-height: 1.4;
}

.developer {
    font-family: var(--font-sans);
    font-size: 0.66rem;
    color: #9C988F;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.developer a {
    color: var(--color-accent);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-smooth);
    margin-left: 2px;
}

.developer a:hover {
    color: var(--color-text-primary);
    text-decoration: underline;
}

/* -------------------------------------------------------------
 * SEQUENCE LOAD ANIMATIONS (Fades elements in elegantly on page load)
 * ------------------------------------------------------------- */
.animate-fade-in {
    opacity: 0;
    transform: translateY(12px);
    animation: fadeUpIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeUpIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* -------------------------------------------------------------
 * HIGHLIGHT SPECIAL EFFECT (Pulsing Link Buttons)
 * ------------------------------------------------------------- */
.bio-link-card {
    background-color: rgba(255, 255, 255, 0.88);
    border-color: rgba(197, 168, 128, 0.5);
    animation: goldGlowPulse 2.4s infinite ease-in-out;
}

@keyframes goldGlowPulse {
    0% {
        box-shadow: 0 4px 15px rgba(197, 168, 128, 0.05),
                    inset 0 1px 0 rgba(255, 255, 255, 0.5);
        border-color: rgba(197, 168, 128, 0.25);
    }
    50% {
        box-shadow: 0 8px 24px rgba(197, 168, 128, 0.28),
                    inset 0 1px 0 rgba(255, 255, 255, 0.6);
        border-color: rgba(197, 168, 128, 0.75);
    }
    100% {
        box-shadow: 0 4px 15px rgba(197, 168, 128, 0.05),
                    inset 0 1px 0 rgba(255, 255, 255, 0.5);
        border-color: rgba(197, 168, 128, 0.25);
    }
}

