:root {
    --bg-color: #000000;
    --card-bg: rgba(20, 20, 20, 0.8);
    --card-border: rgba(212, 175, 55, 0.4);
    --card-hover-bg: rgba(30, 30, 30, 0.9);
    --card-hover-border: rgba(212, 175, 55, 1);
    --text-primary: #ffffff;
    --text-secondary: #c0c0c0;
    --gold: #dbb351;
    --gold-glow: rgba(219, 179, 81, 0.3);
}

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

body {
    background-color: var(--bg-color);
    background-image: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.85)), url('bg-bio.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    position: relative;
    overflow-x: hidden;
}

/* Dynamic Background */
.background-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.blob {
    position: absolute;
    filter: blur(80px);
    opacity: 0.4;
    border-radius: 50%;
    animation: float 10s ease-in-out infinite alternate;
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
}

.blob-2 {
    bottom: -10%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, #2a2a35 0%, transparent 70%);
    animation-delay: -5s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, 30px) scale(1.1); }
}

.container {
    width: 100%;
    max-width: 500px;
    padding: 3rem 1.5rem;
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

/* Profile Section */
.profile {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
    animation: fadeDown 0.8s ease-out;
}

.profile-image-wrapper {
    position: relative;
    width: 150px;
    height: 150px;
    margin-bottom: 1.5rem;
}

.profile-rings {
    position: absolute;
    top: -10px; left: -10px; right: -10px; bottom: -10px;
    border: 2px solid var(--gold);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--gold-glow), inset 0 0 20px var(--gold-glow);
    animation: pulse 3s infinite alternate;
}

@keyframes pulse {
    0% { box-shadow: 0 0 15px var(--gold-glow), inset 0 0 15px var(--gold-glow); }
    100% { box-shadow: 0 0 30px var(--gold-glow), inset 0 0 30px var(--gold-glow); }
}

.profile-image {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    position: relative;
    z-index: 2;
    border: 2px solid var(--gold);
    background-color: var(--bg-color);
}

.profile-name-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: -30px;
    z-index: 3;
}

.profile-name-cursive {
    font-family: 'Alex Brush', cursive;
    color: var(--gold);
    font-size: 4rem;
    line-height: 0.6;
    transform: rotate(-5deg);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    margin-bottom: -15px;
    margin-right: 20px;
}

.profile-name-main {
    font-size: 2.8rem;
    font-weight: 900;
    letter-spacing: 2px;
    color: #fff;
    text-transform: uppercase;
    text-shadow: 0 4px 10px rgba(0,0,0,0.5), 0 0 20px rgba(255,255,255,0.1);
}

.profile-bio {
    font-size: 0.95rem;
    color: #ffffff;
    font-weight: 400;
    max-width: 90%;
    line-height: 1.4;
    margin-top: 0.5rem;
    text-shadow: 0 2px 4px rgba(0,0,0,0.8);
}

/* Links Section */
.links-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.link-card {
    display: flex;
    align-items: center;
    padding: 1.25rem;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-primary);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5), inset 0 0 20px rgba(219,179,81,0.05);
    animation: fadeUp 0.8s ease-out backwards;
}

.link-card:nth-child(1) { animation-delay: 0.1s; }
.link-card:nth-child(2) { animation-delay: 0.2s; }
.link-card:nth-child(3) { animation-delay: 0.3s; }
.link-card:nth-child(4) { animation-delay: 0.4s; }
.featured-card { animation-delay: 0.5s; animation: fadeUp 0.8s ease-out backwards; }

.link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
    transform: translateX(-100%);
    transition: transform 0.5s;
}

.link-card:hover {
    transform: translateY(-4px);
    background: var(--card-hover-bg);
    border-color: var(--gold);
    box-shadow: 0 8px 25px rgba(0,0,0,0.6), inset 0 0 30px rgba(219,179,81,0.1), 0 0 15px var(--gold-glow);
}

.link-card:hover::before {
    transform: translateX(100%);
}

.link-icon-container {
    flex-shrink: 0;
    width: 40px;
    font-size: 1.8rem;
    color: var(--gold);
    text-align: center;
    margin-right: 1rem;
    transition: transform 0.3s ease;
}

.link-card:hover .link-icon-container {
    transform: scale(1.1);
}

.link-content {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.link-title {
    font-size: 1.05rem;
    font-weight: 800;
    text-transform: uppercase;
    line-height: 1.2;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5);
}

.link-subtitle {
    font-size: 0.75rem;
    color: #e0e0e0;
    font-weight: 400;
    line-height: 1.3;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

.link-action {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
    gap: 0.5rem;
    flex-shrink: 0;
    min-width: 60px;
    height: 100%;
}

.badge {
    background-color: var(--gold);
    color: #000;
    font-size: 0.55rem;
    font-weight: 800;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.link-action i {
    color: var(--gold);
    font-size: 0.9rem;
}

/* Highlighted Link */
.link-card.highlight {
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.95), rgba(212, 175, 55, 0.15));
    border-color: rgba(212, 175, 55, 0.6);
}

.link-card.highlight:hover {
    background: linear-gradient(135deg, rgba(40, 40, 40, 0.95), rgba(212, 175, 55, 0.25));
    border-color: var(--gold);
}

/* Featured Card */
.featured-card {
    display: block;
    margin-top: 0.5rem;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    text-decoration: none;
    border: 1px solid var(--card-border);
    box-shadow: 0 4px 15px rgba(0,0,0,0.5), inset 0 0 30px rgba(219,179,81,0.1);
    transition: all 0.3s ease;
    background-image: url('capa-bio.webp');
    background-size: cover;
    background-position: center;
}

.featured-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.9) 100%);
    z-index: 1;
}

.featured-card:hover {
    border-color: var(--gold);
    box-shadow: 0 8px 25px rgba(0,0,0,0.6), inset 0 0 30px rgba(219,179,81,0.2), 0 0 15px var(--gold-glow);
    transform: translateY(-4px);
}

.featured-content {
    position: relative;
    z-index: 2;
    padding: 2.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.8rem;
}

.featured-label {
    color: var(--gold);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
}

.featured-title {
    font-size: 1.4rem;
    font-weight: 800;
    line-height: 1.2;
    color: #fff;
}

.featured-title span {
    color: var(--gold);
}

.featured-btn {
    margin-top: 0.5rem;
    background-color: var(--gold);
    color: #000;
    font-weight: 800;
    font-size: 0.85rem;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.featured-card:hover .featured-btn {
    background-color: #fff;
    color: #000;
}

/* Social Section */
.social-section-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
    width: 100%;
    animation: fadeUp 0.8s ease-out backwards;
    animation-delay: 0.6s;
}

.social-title {
    font-size: 0.75rem;
    color: var(--text-secondary);
    letter-spacing: 2px;
    font-weight: 600;
}

.social-section {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    width: 100%;
}

.social-link-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(0,0,0,0.5);
    border: 1px solid var(--card-border);
    color: #fff;
    font-size: 1.4rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.social-link-wrapper:hover {
    transform: translateY(-4px);
}

.social-link-wrapper:hover .social-icon {
    background: var(--card-hover-bg);
    border-color: var(--gold);
    color: var(--gold);
    box-shadow: 0 5px 15px var(--gold-glow);
}

.social-label {
    font-size: 0.6rem;
    color: #fff;
    font-weight: 700;
    letter-spacing: 1px;
}

/* Footer Quote */
.footer-quote {
    text-align: center;
    margin-top: 1rem;
    padding: 0 1rem;
    animation: fadeUp 0.8s ease-out backwards;
    animation-delay: 0.7s;
}

.footer-quote p {
    font-family: 'Outfit', sans-serif;
    font-style: italic;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
    position: relative;
    display: inline-block;
}

.quote-icon {
    color: var(--gold);
    font-size: 1rem;
    margin: 0 0.4rem;
    opacity: 0.8;
}

/* Animations */
@keyframes fadeDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

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

@media (max-width: 480px) {
    .container {
        padding: 2rem 1.25rem;
    }
    
    .profile-name-main {
        font-size: 2.2rem;
    }
    
    .profile-name-cursive {
        font-size: 3rem;
        margin-bottom: -10px;
    }

    .link-card {
        padding: 1.1rem 1rem;
    }
    
    .link-title {
        font-size: 0.95rem;
    }
    
    .link-subtitle {
        font-size: 0.7rem;
    }
    
    .featured-title {
        font-size: 1.15rem;
    }
    
    .social-section {
        gap: 1rem;
    }
    
    .social-icon {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
}
