/* --- THEME SYSTEM --- */

/* 1. TEMA DARK */
body.theme-dark {
    background-color: #0f172a !important;
    color: #f8fafc;
    font-family: 'Inter', sans-serif;
}

body.theme-dark .profile-avatar {
    border-color: #334155;
    box-shadow: 0 0 20px rgba(79, 70, 229, 0.3);
}

body.theme-dark .link-card {
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid #334155;
    color: #e2e8f0;
    border-radius: 12px;
}

body.theme-dark .link-card:hover {
    background: #1e293b;
    border-color: #4f46e5;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
}

/* 2. TEMA PASTEL */
body.theme-pastel {
    background-color: #fff1f2 !important;
    color: #881337;
    font-family: 'Outfit', sans-serif;
}

body.theme-pastel .profile-avatar {
    border: 4px dashed #fda4af;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

body.theme-pastel .link-card {
    background: #fff;
    border: 2px solid #fecdd3;
    color: #be123c;
    border-radius: 20px;
    box-shadow: 4px 4px 0px #fda4af;
    transition: all 0.2s;
}

body.theme-pastel .link-card:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px #fb7185;
}

/* 3. TEMA CYBER */
body.theme-cyber {
    background-color: #000000 !important;
    color: #00ff41;
    font-family: 'Courier New', monospace; 
    background-image: radial-gradient(#112211 15%, transparent 16%), radial-gradient(#112211 15%, transparent 16%);
    background-size: 20px 20px;
}

body.theme-cyber .profile-avatar {
    border: 2px solid #00ff41;
    border-radius: 0;
    filter: grayscale(100%) contrast(1.2);
}

body.theme-cyber .link-card {
    background: #000;
    border: 1px solid #00ff41;
    color: #00ff41;
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

body.theme-cyber .link-card:hover {
    background: #00ff41;
    color: #000;
    box-shadow: 0 0 15px #00ff41;
}

/* 4. TEMA SULTAN */
body.theme-gold {
    background-color: #000000 !important;
    background-image: radial-gradient(circle at top right, #333 0%, #000 40%);
    color: #FFD700;
    font-family: 'Outfit', sans-serif;
}

body.theme-gold .profile-avatar {
    border: 3px solid #FFD700;
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.4);
}

body.theme-gold .link-card {
    background: linear-gradient(145deg, #1a1a1a, #000);
    border: 1px solid #FFD700;
    color: #FFD700;
    border-radius: 8px;
}

body.theme-gold .link-card:hover {
    background: #FFD700;
    color: #000;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
    transform: translateY(-3px);
    font-weight: 800;
}

/* 5. TEMA OCEAN (Segar / Clean) */
body.theme-ocean {
    background: linear-gradient(180deg, #0f172a 0%, #0ea5e9 100%) !important;
    color: #f0f9ff;
    font-family: 'Inter', sans-serif;
    background-attachment: fixed;
}

body.theme-ocean .profile-avatar {
    border: 4px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

body.theme-ocean .link-card {
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: white;
}

body.theme-ocean .link-card:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.02);
}

/* 6. TEMA SUNSET */
body.theme-sunset {
    background: linear-gradient(45deg, #4c1d95, #c2410c) !important;
    color: #fff;
    font-family: 'Outfit', sans-serif;
    background-attachment: fixed;
}

body.theme-sunset .profile-avatar {
    border: 4px solid #fff;
    box-shadow: 6px 6px 0px rgba(0,0,0,0.2);
}

body.theme-sunset .link-card {
    background: rgba(255, 255, 255, 0.95);
    color: #c2410c;
    border-radius: 50px;
    border: none;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    font-weight: 700;
}

body.theme-sunset .link-card:hover {
    background: #fff;
    color: #4c1d95;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}