/* 2024-12-28 - linktree feature: Modern mobile-first linktree styling */
/* 2025-01-08 - design system: Updated to use FabSEI design system variables */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    color: #ffffff;
}

/* Main Container */
.linktree-container {
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
}

.linktree-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    animation: fadeIn 0.6s ease-in;
}

/* Profile Image */
.profile-image-wrapper {
    margin-bottom: 8px;
}

.profile-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.3);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
}

.profile-image:hover {
    transform: scale(1.05);
    box-shadow: var(--shadow-xl);
}

/* Bio Text */
.bio-text {
    text-align: center;
    font-size: 16px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    max-width: 500px;
    padding: 0 16px;
}

.bio-text p {
    margin-bottom: 8px;
}

/* Links Container */
.links-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 8px;
}

/* Link Buttons */
.link-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 18px 24px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: all var(--transition-base);
    box-shadow: var(--shadow-md);
    cursor: pointer;
}

.link-button:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.link-button:active {
    transform: translateY(0);
    box-shadow: var(--shadow-md);
}

.link-button i {
    font-size: 20px;
    min-width: 24px;
}

.link-button span {
    flex: 1;
    text-align: center;
}

/* No Links Message */
.no-links {
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    padding: 32px 16px;
}

/* Footer */
.linktree-footer {
    margin-top: 32px;
    text-align: center;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

/* Disabled Message */
.disabled-message {
    text-align: center;
    padding: 48px 24px;
}

.disabled-message h2 {
    font-size: 28px;
    margin-bottom: 16px;
    color: #ffffff;
}

.disabled-message p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 480px) {
    body {
        padding: 16px;
    }
    
    .profile-image {
        width: 100px;
        height: 100px;
    }
    
    .bio-text {
        font-size: 15px;
    }
    
    .link-button {
        padding: 16px 20px;
        font-size: 15px;
    }
    
    .link-button i {
        font-size: 18px;
    }
}

@media (min-width: 768px) {
    .linktree-content {
        gap: 32px;
    }
    
    .profile-image {
        width: 140px;
        height: 140px;
    }
    
    .bio-text {
        font-size: 18px;
    }
    
    .link-button {
        padding: 20px 32px;
        font-size: 17px;
    }
    
    .links-container {
        gap: 18px;
    }
}

/* Touch Device Optimization */
@media (hover: none) and (pointer: coarse) {
    .link-button {
        padding: 20px 24px;
        min-height: 60px;
    }
}
