:root {
    /* Brand Colors - Kept vibrant */
    --primary: #7f5af0;
    --secondary: #2cb67d;
    
    /* Light Mode Palette */
    --background: #f4f6f8; /* Soft grey-blue tint */
    --card-bg: #ffffff;
    --text-primary: #1a202c; /* Deep charcoal for contrast */
    --text-secondary: #718096; /* Cool grey */
    --hover-bg: #f7fafc;
    --border-color: rgba(0, 0, 0, 0.06);
    
    /* Design Tokens */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --card-shadow: 0 10px 40px -10px rgba(0,0,0,0.08);
    --hover-shadow: 0 20px 40px -10px rgba(0,0,0,0.12);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--background);
    /* Added a subtle background pattern/gradient for depth */
    background-image: radial-gradient(circle at 10% 20%, rgba(127, 90, 240, 0.03) 0%, transparent 20%);
    color: var(--text-primary);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    padding: 40px 20px;
    line-height: 1.6;
}

.container {
    background: var(--card-bg);
    width: 100%;
    max-width: 480px;
    padding: 3rem 2.5rem;
    border-radius: 32px; /* Softer corners */
    box-shadow: var(--card-shadow);
    margin: 0 auto;
    position: relative;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.container:hover {
    transform: translateY(-4px);
    box-shadow: var(--hover-shadow);
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(1deg); }
}

header {
    position: relative;
    text-align: left;
    margin-bottom: 2.5rem;
}

/* Decorative divider */
header::after {
    content: '';
    position: absolute;
    bottom: -1.5rem;
    left: 0; /* Aligned left to match text */
    width: 60px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

.profile-pic {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    margin: 0 0 1.5rem;
    object-fit: cover;
    /* Cleaner border for light mode */
    border: 4px solid var(--card-bg);
    outline: 2px solid rgba(127, 90, 240, 0.2); 
    box-shadow: 0 10px 30px rgba(127, 90, 240, 0.15);
    transition: var(--transition);
    animation: float 6s ease-in-out infinite;
}

header h1 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
    color: var(--text-primary);
    letter-spacing: -0.03em;
}

header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    font-weight: 400;
    margin-bottom: 2rem;
}

.link-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.link-item {
    position: relative;
    padding: 1.2rem 1.5rem;
    font-size: 1.05rem;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 16px;
    overflow: hidden;
    transition: var(--transition);
    text-decoration: none;
    background: var(--card-bg);
    box-shadow: 0 2px 5px rgba(0,0,0,0.02);
}

/* The shine effect on hover */
.link-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(127, 90, 240, 0.05),
        transparent
    );
    transition: 0.5s;
}

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

.link-item i {
    font-size: 1.4rem;
    min-width: 28px;
    transition: transform 0.3s ease;
    color: var(--text-secondary); /* Default icon color */
}

.link-item span {
    position: relative;
    z-index: 1;
}

/* Specific Brand Colors - Light Mode adjustments */
/* In light mode, we color the icon instead of a heavy border */

.instagram:hover { border-color: #e1306c; background: rgba(225, 48, 108, 0.03); }
.instagram:hover i { color: #e1306c; }

.whatsapp:hover { border-color: #25d366; background: rgba(37, 211, 102, 0.03); }
.whatsapp:hover i { color: #25d366; }

.linkedin:hover { border-color: #0a66c2; background: rgba(10, 102, 194, 0.03); }
.linkedin:hover i { color: #0a66c2; }

.email:hover { border-color: #ea4335; background: rgba(234, 67, 53, 0.03); }
.email:hover i { color: #ea4335; }

.blog:hover { border-color: var(--secondary); background: rgba(44, 182, 125, 0.03); }
.blog:hover i { color: var(--secondary); }

.forsova:hover { border-color: #00bfff; background: rgba(0, 191, 255, 0.03); }
.forsova:hover i { color: #00bfff; }

.snapchat:hover { border-color: #FFFC00; background: rgba(255, 252, 0, 0.1); }
.snapchat:hover i { color: #e6e200; }

/* General hover state */
.link-item:hover {
    transform: translateX(4px) translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    /* Note: border-left is removed for a cleaner look, replaced by border-color on hover above */
}

.link-item:hover i {
    transform: scale(1.15);
}

footer {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

footer p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

@media (max-width: 480px) {
    body {
        background: #ffffff; /* Pure white on mobile looks cleaner */
        padding: 0;
        align-items: stretch;
    }
    
    .container {
        box-shadow: none;
        border: none;
        padding: 2rem 1.5rem;
        border-radius: 0;
        max-width: 100%;
    }
    
    .profile-pic {
        margin: 10px auto 1.5rem;
    }
    
    header {
        text-align: center; /* Center align looks better on mobile */
    }
    
    header::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .link-item {
        padding: 1.1rem;
        background: #f8f9fa; /* Slight contrast against white body */
    }
}

/* Animation */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.container {
    animation: fadeIn 0.6s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}