:root {
    --bg-dark: #050505;
    --text-main: #ffffff;
    --text-muted: #aaaaaa;
    
    /* Imperial Silver Palette */
    --silver-light: #f5f5f5;
    --silver-main: #c0c0c0;
    --silver-dark: #707070;
    --silver-gradient: linear-gradient(135deg, #c0c0c0, #f5f5f5, #707070);
    
    --glass-bg: rgba(20, 20, 20, 0.4);
    --glass-hover: rgba(30, 30, 30, 0.6);
    --glass-border: rgba(192, 192, 192, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* 1. Photo Background with Fade to Black Gradient */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-image: url('assets/loja.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
    opacity: 0.45;
    /* Create a gradient mask that fades from 100% visible at the top to 0% at the bottom */
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 80%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 0%, rgba(0,0,0,0) 80%);
}

/* 2. Luxury Grain Overlay */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    opacity: 0.04;
    z-index: -1;
    pointer-events: none;
}

/* Subtle Silver Ambient Glows */
.bg-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(140px);
    z-index: -3;
    opacity: 0.35;
    pointer-events: none;
}

.bg-glow-1 {
    width: 600px;
    height: 600px;
    top: -200px;
    left: -200px;
    background: rgba(192, 192, 192, 0.15);
    animation: float 10s ease-in-out infinite alternate;
}

.bg-glow-2 {
    width: 500px;
    height: 500px;
    bottom: -150px;
    right: -150px;
    background: rgba(245, 245, 245, 0.1);
    animation: float 12s ease-in-out infinite alternate-reverse;
}

@keyframes float {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(30px) scale(1.05); }
}

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

/* Header */
.header {
    text-align: center;
    margin-bottom: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.avatar-container {
    position: relative;
    margin-bottom: 1.5rem;
    width: 130px;
    height: 130px;
}

.avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--silver-main);
    z-index: 2;
    position: relative;
    box-shadow: 0 0 35px rgba(192, 192, 192, 0.3);
}

.avatar-pulse {
    position: absolute;
    top: -5px;
    left: -5px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 1px solid var(--silver-light);
    animation: pulse 3s infinite cubic-bezier(0.2, 0.8, 0.2, 1);
    z-index: 1;
    opacity: 0.4;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.25); opacity: 0; }
}

.brand-name {
    font-size: 1.9rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    color: #fff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.9);
}

.brand-bio {
    color: #f7f3e8;
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    text-shadow: 0 1px 5px rgba(0,0,0,0.8);
}

/* Links */
.links-grid {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    width: 100%;
}

.link-card {
    display: flex;
    align-items: center;
    padding: 1.2rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    text-decoration: none;
    color: var(--text-main);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: fadeInUp 0.8s forwards cubic-bezier(0.25, 1, 0.5, 1), idleFloat 5s ease-in-out infinite 0.8s;
}

.link-card:before {
    content: '';
    position: absolute;
    top: 0; left: -100%; width: 100%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(192, 192, 192, 0.15), transparent);
    transition: left 0.7s ease;
    z-index: 1;
}

.link-card:after {
    content: '';
    position: absolute;
    top: 0; left: -150%; width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: skewX(-25deg);
    animation: sweepShine 6s infinite;
    z-index: 1;
    pointer-events: none;
}

.link-card:hover {
    transform: translateY(-4px) scale(1.02);
    background: var(--glass-hover);
    border-color: var(--silver-main);
    box-shadow: 0 15px 40px rgba(192, 192, 192, 0.15);
}

.link-card:hover:before {
    left: 100%;
}

.link-icon {
    font-size: 1.5rem;
    color: var(--silver-light);
    background: rgba(0, 0, 0, 0.6);
    width: 50px;
    height: 50px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1.2rem;
    border: 1px solid rgba(192, 192, 192, 0.2);
    z-index: 2;
    transition: all 0.3s ease;
}

.link-card:hover .link-icon {
    background: var(--silver-gradient);
    color: #000;
    transform: scale(1.1) rotate(5deg);
    border-color: transparent;
}

.link-title {
    flex-grow: 1;
    font-weight: 500;
    font-size: 1.1rem;
    z-index: 2;
    letter-spacing: 0.5px;
}

.link-arrow {
    font-size: 1.3rem;
    color: var(--silver-dark);
    opacity: 0;
    transform: translateX(-15px);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 2;
}

.link-card:hover .link-arrow {
    opacity: 1;
    transform: translateX(0);
    color: var(--silver-light);
}

/* Main Highlight Link */
.link-card.main-highlight {
    background: rgba(192, 192, 192, 0.08);
    border: 1px solid rgba(192, 192, 192, 0.4);
    animation: fadeInUp 0.8s forwards cubic-bezier(0.25, 1, 0.5, 1), pulseGlow 3s infinite alternate 0.8s;
}
.link-card.main-highlight .link-icon {
    background: var(--silver-gradient);
    color: #000;
    border: none;
}

/* Secondary Highlight Link (Grupo VIP) */
.link-card.highlight {
    background: rgba(255, 255, 255, 0.03);
    border-left: 3px solid var(--silver-main);
}
.link-card.highlight:hover {
    background: rgba(192, 192, 192, 0.1);
    border-color: var(--silver-main);
}

/* Footer Section */
.footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 4rem;
    opacity: 0;
    animation: fadeIn 1s forwards cubic-bezier(0.25, 1, 0.5, 1);
    animation-delay: 1s;
}

.social-row {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1.2rem;
}

.social-row a {
    color: var(--silver-main);
    font-size: 1.8rem;
    transition: all 0.3s ease;
    filter: drop-shadow(0 2px 5px rgba(0,0,0,0.8));
}

.social-row a:hover {
    color: var(--silver-light);
    transform: translateY(-4px) scale(1.1);
}

.footer p {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 300;
    letter-spacing: 1px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}

/* Animations */
.slide-down {
    opacity: 0;
    animation: slideDown 0.8s forwards cubic-bezier(0.25, 1, 0.5, 1);
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-40px); }
    to { opacity: 1; transform: translateY(0); }
}

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

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

@keyframes idleFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 2px 10px rgba(192, 192, 192, 0.1);
        border-color: rgba(192, 192, 192, 0.3);
    }
    100% {
        box-shadow: 0 5px 25px rgba(192, 192, 192, 0.5);
        border-color: var(--silver-light);
    }
}

@keyframes sweepShine {
    0%, 60% { left: -150%; }
    100% { left: 200%; }
}

/* Responsive constraints */
@media (max-width: 400px) {
    .container { padding: 2rem 1.2rem; }
    .avatar-container { width: 110px; height: 110px; }
    .brand-name { font-size: 1.6rem; }
    .link-card { padding: 1rem; }
    .link-icon { width: 42px; height: 42px; font-size: 1.3rem; }
}
