:root {
    --bg-dark: #000000;
    --text-main: #ffffff;
    --text-muted: #aaaaaa;
    
    /* Neon Cyan Palette */
    --cyan-light: #66e0ff;
    --cyan-main: #00B8FF;
    --cyan-dark: #007ea8;
    --cyan-gradient: linear-gradient(135deg, #00B8FF, #66e0ff, #007ea8);
    
    --glass-bg: rgba(20, 20, 20, 0.4);
    --glass-hover: rgba(30, 30, 30, 0.6);
    --glass-border: rgba(0, 184, 255, 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('real_site.webp');
    background-size: cover;
    background-position: top center;
    background-repeat: no-repeat;
    z-index: -2;
    opacity: 0.6;
    /* 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.05;
    z-index: -1;
    pointer-events: none;
}

/* Subtle Cyan Ambient Glows */
.bg-glow {
    position: fixed;
    border-radius: 50%;
    filter: blur(140px);
    z-index: -3; /* Kept behind the faded image */
    opacity: 0.4;
    pointer-events: none;
}

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

.bg-glow-2 {
    width: 500px;
    height: 500px;
    bottom: -150px;
    right: -150px;
    background: rgba(102, 224, 255, 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: 120px;
    height: 120px;
}

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

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

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

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

.brand-name span {
    color: var(--cyan-main);
}

.brand-bio {
    color: #ffd;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-shadow: 0 1px 5px rgba(0,0,0,0.8);
}

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

/* Site Thumbnail Feature */
.site-thumbnail-link {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    opacity: 0;
    animation: fadeInUp 0.8s forwards cubic-bezier(0.25, 1, 0.5, 1), idleFloat 5s ease-in-out infinite 0.8s;
    border: 1px solid rgba(0, 184, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    background: var(--glass-bg);
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

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

.site-thumbnail-link:hover {
    transform: translateY(-5px);
    border-color: var(--cyan-main);
    box-shadow: 0 15px 40px rgba(0, 184, 255, 0.3);
}

.thumbnail-image-container {
    width: 100%;
    height: 180px;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid var(--glass-border);
}

.thumbnail-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.site-thumbnail-link:hover .thumbnail-image-container img {
    transform: scale(1.08);
}

.thumbnail-bar {
    display: flex;
    align-items: center;
    padding: 1.2rem;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.thumbnail-bar .link-icon {
    margin-right: 1.2rem;
}

.thumbnail-bar .link-title {
    color: #fff;
    flex-grow: 1;
    font-weight: 500;
    font-size: 1.1rem;
}

.thumbnail-bar .link-arrow {
    color: var(--cyan-main);
}

.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(0, 184, 255, 0.1), transparent);
    transition: left 0.7s ease;
    z-index: 1;
}

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

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

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

.link-card:hover .link-icon {
    background: var(--cyan-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(--cyan-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(--cyan-light);
}

/* Highlight Link (Grupo VIP) */
.link-card.highlight {
    background: rgba(0, 184, 255, 0.1);
    border: 1px solid rgba(0, 184, 255, 0.4);
    animation: fadeInUp 0.8s forwards cubic-bezier(0.25, 1, 0.5, 1), pulseGlow 2.5s infinite alternate 0.8s;
}

.link-card.highlight .link-icon {
    background: var(--cyan-gradient);
    color: #000;
}

.link-card.highlight:hover {
    background: rgba(0, 184, 255, 0.2);
    border-color: var(--cyan-light);
    box-shadow: 0 15px 40px rgba(0, 184, 255, 0.3);
}

/* 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(--cyan-dark);
    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(--cyan-main);
    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(0, 184, 255, 0.1);
        border-color: rgba(0, 184, 255, 0.3);
    }
    100% {
        box-shadow: 0 5px 25px rgba(0, 184, 255, 0.6);
        border-color: var(--cyan-light);
    }
}

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

/* Responsive constraints */
@media (max-width: 400px) {
    .container { padding: 2rem 1.2rem; }
    .avatar-container { width: 100px; height: 100px; }
    .brand-name { font-size: 1.5rem; }
    .link-card, .thumbnail-bar { padding: 1rem; }
    .link-icon { width: 42px; height: 42px; font-size: 1.3rem; }
    .thumbnail-image-container { height: 140px; }
}

/* Artwork Section */
.artwork-card {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    opacity: 0;
    animation: fadeInUp 0.8s forwards cubic-bezier(0.25, 1, 0.5, 1), idleFloat 5s ease-in-out infinite 0.5s;
    border: 1px solid rgba(0, 184, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    background: var(--glass-bg);
    margin-top: 0.5rem;
    transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}

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

.artwork-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

.artwork-card:hover .artwork-image {
    transform: scale(1.05);
}

.artwork-card:hover {
    border-color: var(--cyan-main);
    box-shadow: 0 15px 40px rgba(0, 184, 255, 0.3);
    transform: translateY(-5px);
}
