/* My Links Page Specific Styles */

.mylinks-hero {
    min-height: 100vh;
    padding: 120px 0 80px;
    position: relative;
    z-index: 1;
}

.mylinks-header {
    text-align: center;
    margin-bottom: 48px;
}

.mylinks-title {
    font-size: clamp(36px, 6vw, 56px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 16px;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, var(--accent) 0%, #7c3aed 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mylinks-description {
    font-size: clamp(16px, 2vw, 18px);
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.mylinks-stats {
    display: flex;
    justify-content: center;
    margin-bottom: 48px;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px 32px;
    box-shadow: var(--shadow-md);
}

.stat-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-light);
    border-radius: var(--radius-md);
    color: var(--accent);
}

.stat-info {
    text-align: left;
}

.stat-value {
    font-size: 32px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
}

.links-container {
    display: grid;
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
}

.link-card {
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    animation: slideIn 0.3s ease-out;
}

.link-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
}

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

.link-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
    gap: 16px;
}

.link-urls {
    flex: 1;
    min-width: 0;
}

.link-short {
    font-size: 18px;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 8px;
    word-break: break-all;
    display: flex;
    align-items: center;
    gap: 8px;
}

.link-short a {
    color: var(--accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

.link-short a:hover {
    color: var(--accent-hover);
}

.link-long {
    font-size: 14px;
    color: var(--text-secondary);
    word-break: break-all;
    line-height: 1.5;
}

.link-stats {
    display: flex;
    gap: 24px;
    padding: 16px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin-bottom: 16px;
}

.link-stat {
    text-align: center;
}

.link-stat-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent);
    line-height: 1;
    margin-bottom: 4px;
}

.link-stat-label {
    font-size: 12px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.link-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.link-action-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.link-action-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
    transform: translateY(-1px);
}

.link-action-btn.delete-btn:hover {
    border-color: #ef4444;
    color: #ef4444;
}

.link-action-btn svg {
    width: 16px;
    height: 16px;
}

.empty-state {
    display: none;
    text-align: center;
    padding: 80px 20px;
    max-width: 500px;
    margin: 0 auto;
}

.empty-state.show {
    display: block;
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.empty-state svg {
    color: var(--text-tertiary);
    margin-bottom: 24px;
}

.empty-state h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.empty-state p {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.nav-links a.active {
    color: var(--accent);
}

.nav-links a.active::after {
    width: 100%;
}

/* Responsive */
@media (max-width: 768px) {
    .mylinks-hero {
        padding: 100px 0 60px;
    }

    .stat-card {
        padding: 20px 24px;
    }

    .link-card {
        padding: 20px;
    }

    .link-card-header {
        flex-direction: column;
    }

    .link-stats {
        gap: 16px;
    }

    .link-stat-value {
        font-size: 20px;
    }

    .link-actions {
        flex-direction: column;
    }

    .link-action-btn {
        width: 100%;
        justify-content: center;
    }
}
