:root {
    /* Core Colors - Sleek Corporate Dark Mode */
    --bg-color: #0b0f19;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.08);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    
    /* Premium Accents */
    --accent-primary: #3b82f6;
    --accent-secondary: #0ea5e9;
    --whatsapp-color: #25D366;
    --whatsapp-dark: #128C7E;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
    -webkit-tap-highlight-color: transparent;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    position: relative;
}

/* Background Atmospheric Glow */
.bg-shape {
    position: absolute;
    filter: blur(90px);
    border-radius: 50%;
    z-index: 0;
    animation: floatingGlow 12s infinite alternate ease-in-out;
}

.shape-1 {
    width: 350px;
    height: 350px;
    background: rgba(59, 130, 246, 0.15); /* Blue */
    top: -10%;
    left: -15%;
}

.shape-2 {
    width: 450px;
    height: 450px;
    background: rgba(14, 165, 233, 0.12); /* Cyan */
    bottom: -15%;
    right: -10%;
    animation-delay: -4s;
}

.shape-3 {
    width: 300px;
    height: 300px;
    background: rgba(168, 85, 247, 0.1); /* Purple/Premium accent */
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -8s;
}

/* Subtle noise texture */
.noise-overlay {
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.03;
    pointer-events: none;
    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");
}

@keyframes floatingGlow {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(40px, -40px) scale(1.15); }
}

.container {
    width: 100%;
    max-width: 500px;
    padding: 3rem 1.5rem;
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Profile Area */
.profile-section {
    text-align: center;
    margin-bottom: 2.5rem;
    animation: fadeInDown 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.logo-wrapper {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    background-color: #ffffff; /* Contrast background for logo */
    padding: 6px;
    position: relative;
    z-index: 2;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 3px solid rgba(255, 255, 255, 0.1);
}

.pulse-ring {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary), #8b5cf6);
    background-size: 200% 200%;
    z-index: 1;
    animation: gradientShift 4s linear infinite, ringPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite alternate;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; transform: rotate(0deg); }
    100% { background-position: 100% 50%; transform: rotate(360deg); }
}

@keyframes ringPulse {
    0% { opacity: 0.6; transform: scale(0.98); }
    100% { opacity: 1; transform: scale(1.05); }
}

.brand-name {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
    background: linear-gradient(to right, #fff, #cbd5e1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.brand-desc {
    font-size: 1.05rem;
    color: var(--text-muted);
    font-weight: 400;
}

/* Link Cards */
.links-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex-grow: 1;
}

.link-card {
    display: flex;
    align-items: center;
    padding: 1.1rem 1.25rem;
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    text-decoration: none;
    color: var(--text-main);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: calc(var(--animation-order) * 0.1s + 0.2s);
}

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

.link-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.5);
    background: rgba(255, 255, 255, 0.05);
}

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

.link-icon {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-right: 1.25rem;
    position: relative;
    z-index: 2;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    color: white;
}

.link-card:hover .link-icon {
    transform: scale(1.15) rotate(5deg);
}

/* Specific Icons Gradients */
.link-icon.instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    box-shadow: 0 5px 15px rgba(225, 48, 108, 0.2);
}

.link-icon.website {
    background: linear-gradient(135deg, #0ea5e9, #3b82f6);
    box-shadow: 0 5px 15px rgba(14, 165, 233, 0.2);
}

.link-icon.review {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    box-shadow: 0 5px 15px rgba(245, 158, 11, 0.2);
}

.link-icon.map {
    background: linear-gradient(135deg, #ef4444, #f43f5e);
    box-shadow: 0 5px 15px rgba(239, 68, 68, 0.2);
}

.link-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    z-index: 2;
}

.link-text {
    font-size: 1.05rem;
    font-weight: 500;
    flex-grow: 1;
    z-index: 2;
}

.link-subtext {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.link-arrow {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.2);
    z-index: 2;
    transition: all 0.3s ease;
}

.link-card:hover .link-arrow {
    color: #fff;
    transform: translateX(4px);
}

/* WhatsApp Highlight Card */
.whatsapp-card {
    border: 1px solid rgba(37, 211, 102, 0.3);
    background: rgba(37, 211, 102, 0.05); /* very light green tint */
    margin-top: 0.5rem;
}

.link-icon.whatsapp {
    background: linear-gradient(135deg, var(--whatsapp-color), var(--whatsapp-dark));
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.2);
}

.whatsapp-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--whatsapp-color);
    background: rgba(37, 211, 102, 0.1);
    padding: 4px 10px;
    border-radius: 20px;
    margin-right: 15px;
    z-index: 2;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background-color: var(--whatsapp-color);
    border-radius: 50%;
    animation: blinkDot 1.5s infinite;
}

@keyframes blinkDot {
    0% { opacity: 1; box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { opacity: 0.5; box-shadow: 0 0 0 4px rgba(37, 211, 102, 0); }
    100% { opacity: 1; box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

.whatsapp-card:hover {
    border-color: rgba(37, 211, 102, 0.6);
    background: rgba(37, 211, 102, 0.1);
    box-shadow: 0 15px 35px -10px rgba(37, 211, 102, 0.3);
}

/* Footer */
.footer {
    text-align: center;
    margin-top: 3rem;
    padding-bottom: 2.5rem;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.85rem;
    animation: fadeInUp 1s ease forwards;
    animation-delay: 1s;
    opacity: 0;
}

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

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

/* Mobile Adjustments */
@media (max-width: 480px) {
    .container {
        padding: 2.5rem 1.25rem;
    }
    
    .link-card {
        padding: 1rem 1rem;
    }
    
    .link-icon {
        width: 42px;
        height: 42px;
        font-size: 1.2rem;
        margin-right: 1rem;
    }
    
    .brand-name {
        font-size: 1.6rem;
    }
}
