:root {
    --primary: #ff2d55;
    --secondary: #ff6b8a;
    --accent: #ff9f43;
    --bg: #0f0f1a;
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-bg-hover: rgba(255, 255, 255, 0.1);
    --text: #ffffff;
    --text-light: #b3b3b3;
    --text-muted: #808080;
    --border: rgba(255, 255, 255, 0.1);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 20px 50px rgba(0, 0, 0, 0.5);
    --radius: 16px;
    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
    color: var(--text);
}

/* Background Decoration */
.background-decoration {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
}

.blob-1 {
    width: 400px;
    height: 400px;
    background: var(--primary);
    top: -100px;
    right: -100px;
    animation: float 20s infinite;
}

.blob-2 {
    width: 300px;
    height: 300px;
    background: var(--accent);
    bottom: -50px;
    left: -50px;
    animation: float 25s infinite reverse;
}

.blob-3 {
    width: 200px;
    height: 200px;
    background: var(--secondary);
    top: 50%;
    left: 50%;
    animation: float 15s infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -30px) scale(1.1); }
    66% { transform: translate(-20px, 20px) scale(0.9); }
}

/* Main Container */
.linktree-container {
    max-width: 560px;
    width: 100%;
    margin: 0 auto;
    padding: 40px 20px;
    animation: fadeInUp 0.8s ease;
}

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

/* Profile Section */
.profile-section {
    margin-bottom: 40px;
    text-align: center;
}

.logo-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
}

.profile-logo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary);
    box-shadow: 0 0 40px rgba(255, 45, 85, 0.5);
    transition: var(--transition);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 40px rgba(255, 45, 85, 0.5); }
    50% { box-shadow: 0 0 60px rgba(255, 45, 85, 0.8); }
}

.profile-logo:hover {
    transform: scale(1.05) rotate(5deg);
    animation: none;
    box-shadow: 0 0 80px rgba(255, 45, 85, 0.9);
}

.verified-badge {
    position: absolute;
    bottom: 5px;
    right: 5px;
    background: var(--primary);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    animation: badgePulse 2s infinite;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.profile-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 15px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
}

.profile-description {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 10px;
    line-height: 1.6;
}

.location-info {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 10px;
    background: var(--card-bg);
    padding: 8px 15px;
    border-radius: 20px;
    border: 1px solid var(--border);
    backdrop-filter: blur(10px);
}

/* Social Icons */
.social-section {
    margin-bottom: 30px;
}

.social-icons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.social-icon {
    width: 55px;
    height: 55px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 50%;
    color: var(--text);
    font-size: 1.5rem;
    transition: var(--transition);
    text-decoration: none;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--primary);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.5s;
    z-index: -1;
}

.social-icon:hover::before {
    width: 100%;
    height: 100%;
}

.social-icon:hover {
    transform: translateY(-5px) scale(1.1);
    border-color: var(--primary);
    color: white;
    box-shadow: 0 10px 30px rgba(255, 45, 85, 0.4);
}

/* Link Cards */
.links-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.link-card {
    display: flex;
    align-items: center;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 15px 20px;
    text-decoration: none;
    color: var(--text);
    transition: var(--transition);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.link-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: 0.5s;
}

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

.link-card:hover {
    background: var(--card-bg-hover);
    border-color: var(--primary);
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.link-image-wrapper {
    flex-shrink: 0;
    margin-right: 15px;
}

.link-image {
    width: 55px;
    height: 55px;
    border-radius: 12px;
    object-fit: contain;
    border: 2px solid var(--border);
    background: white;
}

.link-image-placeholder {
    width: 55px;
    height: 55px;
    border-radius: 12px;
    background: var(--card-bg);
    border: 2px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 1.5rem;
}

.link-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
    min-width: 0;
}

.link-title {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.link-description {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.link-action {
    flex-shrink: 0;
    margin-left: 15px;
    color: var(--text-muted);
    font-size: 1.2rem;
    transition: var(--transition);
}

.link-card:hover .link-action {
    color: var(--primary);
    transform: scale(1.2) rotate(5deg);
}

/* Footer */
.footer-section {
    margin-top: 40px;
    text-align: center;
}

.footer-divider {
    width: 50px;
    height: 2px;
    background: var(--border);
    margin: 0 auto 15px;
}

.footer-text {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-link {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}

.footer-link:hover {
    color: var(--secondary);
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 576px) {
    .linktree-container {
        padding: 20px 15px;
    }
    
    .profile-logo {
        width: 100px;
        height: 100px;
    }
    
    .profile-title {
        font-size: 2rem;
    }
    
    .social-icon {
        width: 48px;
        height: 48px;
        font-size: 1.3rem;
    }
    
    .link-card {
        padding: 12px 15px;
    }
    
    .link-image {
        width: 45px;
        height: 45px;
    }
    
    .link-image-placeholder {
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .location-info {
        font-size: 0.8rem;
        padding: 6px 12px;
    }
}

@media (max-width: 380px) {
    .profile-title {
        font-size: 1.8rem;
    }
    
    .social-icons {
        gap: 10px;
    }
    
    .social-icon {
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
    }
}