/* Links Module Block Styles */
.lwp-links-module {
    
    margin: 0 auto;
    padding: 2rem 1rem;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    text-align: center;
    min-height: 100vh;
    box-sizing: border-box;
    position: relative;
}

/* Ensure background covers the full module */
.lwp-links-module::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    background: inherit;
}

/* Profile Section */
.lwp-profile-section {
    margin-bottom: 3rem;
    text-align: center;
}

.lwp-profile-avatar {
    margin-bottom: 1.5rem;
}

.lwp-profile-avatar img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    display: block;
    margin: 0 auto;
}

.lwp-profile-bio {
    max-width: 400px;
    margin: 0 auto;
    font-size: 1rem;
    line-height: 1.5;
    color: #333333;
    opacity: 0.9;
}

.lwp-profile-bio p {
    margin: 0;
    padding: 0;
}

/* Social Links */
.lwp-social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.lwp-social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    color: inherit;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.lwp-social-link:hover {
    transform: translateY(-2px);
    background-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.lwp-social-link i {
    font-size: 1.2rem;
}

/* Links Container */
.lwp-links-container {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 80%;
    margin: 0 auto;
    max-width: 600px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

/* Links List */
.lwp-links-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.lwp-link-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    background-color: var(--lwp-button-bg, #007cba);
    color: var(--lwp-button-text, white);
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    min-height: 60px;
    position: relative;
    overflow: hidden;
}

.lwp-link-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.lwp-link-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    background-color: var(--lwp-button-hover-bg, #005a87);
    color: var(--lwp-button-text, white);
    text-decoration: none;
}

.lwp-link-item:hover::before {
    opacity: 1;
}

.lwp-link-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.lwp-link-icon {
    flex-shrink: 0;
}

.lwp-link-icon i {
    font-size: 1.2rem;
}

.lwp-link-text {
    text-align: left;
    flex: 1;
}

.lwp-link-title {
    font-weight: 600;
    font-size: 1rem;
    line-height: 1.2;
    margin-bottom: 0.25rem;
}

.lwp-link-description {
    font-size: 0.875rem;
    opacity: 0.8;
    line-height: 1.2;
}

.lwp-link-arrow {
    flex-shrink: 0;
    opacity: 0.7;
    transition: transform 0.3s ease;
}

.lwp-link-item:hover .lwp-link-arrow {
    transform: translateX(4px);
}

.lwp-link-arrow i {
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .lwp-links-module {
        padding: 1.5rem 1rem;
    }
    
    .lwp-profile-avatar img {
        width: 100px;
        height: 100px;
    }
    
    .lwp-profile-name {
        font-size: 1.25rem;
    }
    
    .lwp-social-link {
        width: 45px;
        height: 45px;
    }
    
    .lwp-social-link i {
        font-size: 1.1rem;
    }
    
    .lwp-link-item {
        padding: 0.875rem 1.25rem;
        min-height: 55px;
    }
}

@media (max-width: 480px) {
    .lwp-links-module {
        padding: 1rem 0.75rem;
    }
    
    .lwp-links-container {
        width: 95%;
        padding: 1.5rem;
    }
    
    .lwp-social-links {
        gap: 0.75rem;
    }
    
    .lwp-link-item {
        padding: 0.75rem 1rem;
    }
    
    .lwp-link-content {
        gap: 0.75rem;
    }
}
