/* Style for Aura Spa Linktree - Luxury & Wellness */

/* Variables & Base Reset */
:root {
    --bg-dark: #0a050f;
    --gold: #d4af37;
    --gold-light: #f3e5ab;
    --gold-dark: #aa7c11;
    --white: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.7);
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --whatsapp-green: #25d366;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--white);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    overflow-x: hidden;
    position: relative;
    padding: 40px 20px;
}

/* Background & Overlays */
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/bg.jpg');
    background-size: cover;
    background-position: center;
    filter: blur(12px) scale(1.05); /* scale avoids white edges from blur */
    z-index: -2;
}

.bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(15, 8, 25, 0.75) 0%, rgba(10, 5, 15, 0.95) 100%);
    z-index: -1;
}

/* Container */
.container {
    width: 100%;
    max-width: 420px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    z-index: 1;
}

/* Language Switcher */
.lang-switcher-container {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    margin-bottom: 25px;
}

.lang-toggle-bg {
    display: inline-flex;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 30px;
    padding: 4px;
    position: relative;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.lang-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    font-family: 'Outfit', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 8px 16px;
    cursor: pointer;
    border-radius: 20px;
    transition: var(--transition);
    z-index: 2;
}

.lang-btn.active {
    color: #12091c;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    box-shadow: 0 4px 12px rgba(212, 175, 55, 0.2);
    font-weight: 600;
}

.lang-btn:hover:not(.active) {
    color: var(--white);
}

/* Profile Header */
.profile {
    margin-bottom: 35px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-wrapper {
    position: relative;
    width: 110px;
    height: 110px;
    margin-bottom: 20px;
}

.profile-logo {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gold);
    z-index: 2;
    position: relative;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.logo-pulse {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    border: 1px solid rgba(212, 175, 55, 0.3);
    animation: borderPulse 3s infinite linear;
    z-index: 1;
}

.profile-name {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 12px;
    background: linear-gradient(135deg, var(--gold-light) 0%, var(--gold) 50%, var(--gold-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: opacity 0.3s ease;
}

.profile-bio {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-muted);
    font-weight: 300;
    max-width: 90%;
    margin: 0 auto;
    transition: opacity 0.3s ease;
}

/* Links Container */
.links-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 40px;
    transition: opacity 0.3s ease;
}

/* Link Cards */
.link-card {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 16px;
    padding: 18px 20px;
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    font-size: 1rem;
    letter-spacing: 0.5px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

.link-card-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    z-index: 2;
    pointer-events: none; /* helps click tracking and smooth states */
}

.svg-icon {
    width: 20px;
    height: 20px;
    color: var(--gold);
    transition: var(--transition);
}

.link-card:hover {
    transform: translateY(-3px) scale(1.015);
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 12px 30px rgba(212, 175, 55, 0.1);
}

.link-card:hover .svg-icon {
    color: var(--gold-light);
    transform: scale(1.1);
}

/* Highlight Card Style */
.highlight-card {
    border: 1px solid rgba(212, 175, 55, 0.4);
    background: rgba(212, 175, 55, 0.04);
    animation: cardPulse 3s infinite ease-in-out;
}

.highlight-card:hover {
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.08);
    box-shadow: 0 12px 35px rgba(212, 175, 55, 0.2);
}

.highlight-card .link-card-content .text {
    font-weight: 600;
    background: linear-gradient(135deg, var(--white), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.icon-pulse {
    font-size: 1.1rem;
    animation: starPulse 1.5s infinite alternate;
}

/* Support Card (WhatsApp) */
.support-card {
    border: 1px solid rgba(37, 211, 102, 0.3);
    background: rgba(37, 211, 102, 0.03);
}

.support-card:hover {
    border-color: var(--whatsapp-green);
    background: rgba(37, 211, 102, 0.08);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.15);
}

.support-card .whatsapp-icon {
    color: var(--whatsapp-green);
}

.support-card:hover .whatsapp-icon {
    transform: scale(1.1) rotate(10deg);
}

/* Shimmer Animation Effect for Highlighted Link */
.shimmer-effect {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.08) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-25deg);
    transition: 0.75s;
    animation: shimmer 6s infinite;
}

/* Footer Section */
.footer {
    width: 100%;
    margin-top: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    transition: var(--transition);
}

.social-icon svg {
    width: 20px;
    height: 20px;
    stroke: currentColor;
    transition: var(--transition);
}

.social-icon:hover {
    color: var(--gold-light);
    border-color: var(--gold);
    background: rgba(212, 175, 55, 0.05);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.15);
}

.social-icon:hover svg {
    transform: scale(1.1);
}

.copyright {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.5px;
}

/* Keyframes Animations */
@keyframes borderPulse {
    0% {
        transform: scale(1) rotate(0deg);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.05) rotate(180deg);
        opacity: 0.6;
    }
    100% {
        transform: scale(1) rotate(360deg);
        opacity: 0.3;
    }
}

@keyframes cardPulse {
    0% {
        box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    }
    50% {
        box-shadow: 0 8px 32px 0 rgba(212, 175, 55, 0.08);
        border-color: rgba(212, 175, 55, 0.6);
    }
    100% {
        box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    }
}

@keyframes starPulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    100% {
        transform: scale(1.2);
        opacity: 1;
        text-shadow: 0 0 10px rgba(212, 175, 55, 0.8);
    }
}

@keyframes shimmer {
    0% {
        left: -150%;
    }
    100% {
        left: 150%;
    }
}

/* Helper Class for JS Transitions */
.fade-out {
    opacity: 0;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    body {
        padding: 25px 15px;
    }
    .profile-name {
        font-size: 1.9rem;
    }
    .link-card {
        padding: 16px 18px;
        font-size: 0.95rem;
    }
}
