:root {
    --bg-color: #0d0f14;
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    
    /* Social Brand Colors */
    --c-whatsapp: #25D366;
    --c-instagram: #E1306C;
    --c-facebook: #1877F2;
    --c-email: #f43f5e;
    --c-products: #d4af37; /* Gold/Premium accent */

    /* Glass Panels */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-hover: rgba(255, 255, 255, 0.06);
    
    /* Shadows */
    --shadow-subtle: 0 8px 32px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 20px rgba(255, 255, 255, 0.1);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    position: relative;
}

/* --- Animated Background Elements --- */
.mesh-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    background: radial-gradient(circle at center, #111422 0%, #0d0f14 100%);
}

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

.blob-1 {
    width: 400px;
    height: 400px;
    background: rgba(139, 92, 246, 0.3); /* Purple */
    top: -100px;
    left: -100px;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background: rgba(59, 130, 246, 0.3); /* Blue */
    bottom: -150px;
    right: -100px;
    animation-delay: -5s;
    animation-duration: 25s;
}

.blob-3 {
    width: 300px;
    height: 300px;
    background: rgba(16, 185, 129, 0.2); /* Emerald */
    top: 40%;
    left: 40%;
    animation-delay: -10s;
    animation-duration: 18s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(50px, -50px) scale(1.1); }
    66% { transform: translate(-30px, 40px) scale(0.9); }
    100% { transform: translate(0, 0) scale(1); }
}

/* --- Layout --- */
.container {
    width: 100%;
    max-width: 600px;
    padding: 3rem 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    z-index: 1;
}

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

.avatar-container {
    position: relative;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(135deg, rgba(255,255,255,0.4), rgba(255,255,255,0.1));
    box-shadow: var(--shadow-subtle), 0 0 0 1px var(--glass-border);
}

.avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    background-color: #2a2d36; /* fallback */
}

.status-indicator {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 18px;
    height: 18px;
    background-color: #10b981;
    border-radius: 50%;
    border: 3px solid var(--bg-color);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

.name {
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.bio {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 400;
}

/* --- Links Section --- */
.links-grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.link-card {
    display: flex;
    align-items: center;
    padding: 1.25rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 16px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: var(--shadow-subtle);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
}

.link-card.animate-in {
    animation: slideUpFade 0.6s ease forwards;
}

.link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: currentColor;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.link-card:hover {
    background: var(--glass-hover);
    transform: translateY(-4px) scale(1.01);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: var(--shadow-subtle), var(--shadow-glow);
}

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

.icon-wrapper {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    margin-right: 1.25rem;
    transition: all 0.3s ease;
}

.link-info {
    flex: 1;
}

.link-info h2 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.link-info p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.arrow {
    color: var(--text-secondary);
    transition: transform 0.3s ease, color 0.3s ease;
}

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

/* Brand Colors Application */
.whatsapp { --shadow-glow: 0 4px 20px rgba(37, 211, 102, 0.2); }
.whatsapp::before { background: var(--c-whatsapp); }
.whatsapp .icon-wrapper { color: var(--c-whatsapp); }
.whatsapp:hover .icon-wrapper { background: rgba(37, 211, 102, 0.1); }

.instagram { --shadow-glow: 0 4px 20px rgba(225, 48, 108, 0.2); }
.instagram::before { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); }
.instagram .icon-wrapper { color: var(--c-instagram); }
.instagram:hover .icon-wrapper { background: rgba(225, 48, 108, 0.1); }

.facebook { --shadow-glow: 0 4px 20px rgba(24, 119, 242, 0.2); }
.facebook::before { background: var(--c-facebook); }
.facebook .icon-wrapper { color: var(--c-facebook); }
.facebook:hover .icon-wrapper { background: rgba(24, 119, 242, 0.1); }

.email { --shadow-glow: 0 4px 20px rgba(244, 63, 94, 0.2); }
.email::before { background: var(--c-email); }
.email .icon-wrapper { color: var(--c-email); }
.email:hover .icon-wrapper { background: rgba(244, 63, 94, 0.1); }

/* Products Button */
.products-btn { --shadow-glow: 0 4px 20px rgba(212, 175, 55, 0.3); border-color: rgba(212, 175, 55, 0.3); background: rgba(212, 175, 55, 0.05); }
.products-btn::before { background: var(--c-products); }
.products-btn .icon-wrapper { color: var(--c-products); background: rgba(212, 175, 55, 0.1); }
.products-btn:hover .icon-wrapper { background: rgba(212, 175, 55, 0.2); }

/* --- Footer --- */
footer {
    text-align: center;
    margin-top: 1rem;
    color: var(--text-secondary);
    font-size: 0.875rem;
    opacity: 0.5;
    animation: fadeUp 0.8s ease 0.6s backwards;
}

/* --- Products Page Gallery --- */
.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    margin-bottom: 1rem;
    align-self: flex-start;
}

.back-btn:hover {
    color: var(--text-primary);
}

.gallery-header {
    text-align: center;
    margin-bottom: 2rem;
    animation: fadeUp 0.8s ease backwards;
}

.gallery-header h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    width: 100%;
}

.product-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0;
    transform: translateY(20px);
}

.product-card.animate-in {
    animation: slideUpFade 0.6s ease forwards;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3), 0 0 15px rgba(212, 175, 55, 0.1);
    border-color: rgba(212, 175, 55, 0.3);
}

.product-img-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .product-img {
    transform: scale(1.05);
}

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

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