/* ========================================
   LINK PAGE SPECIFIC STYLES
   Common styles are in common.css
   ======================================== */

/* Body - Link page specific */
body {
    display: flex;
    flex-direction: column;
}

/* Container - Link page specific */
.container {
    max-width: 680px;
    margin: 0 auto;
    padding: 60px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Profile Section */
.profile-section {
    text-align: center;
    margin-bottom: 50px;
    animation: fadeInDown 0.8s ease;
}

.profile-avatar {
    margin-bottom: 24px;
    animation: scaleIn 0.6s ease;
    position: relative;
    width: 120px;
    height: 120px;
    margin-left: auto;
    margin-right: auto;
}

.profile-initials {
    position: absolute;
    top: 0;
    left: 0;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--accent-color), #fb923c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    font-weight: 700;
    color: white;
    box-shadow: 0 0 30px rgba(248, 97, 6, 0.4);
    border: 4px solid var(--card-bg);
    transition: all 0.3s ease;
}

.profile-initials:hover {
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(248, 97, 6, 0.6);
}

.profile-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--card-bg);
    box-shadow: 0 0 30px rgba(248, 97, 6, 0.4);
    transition: all 0.3s ease;
}

.profile-img:hover {
    transform: scale(1.05);
    box-shadow: 0 0 40px rgba(248, 97, 6, 0.6);
}

.profile-name {
    font-size: 2.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 8px;
    color: #fff;
}

/* Light Theme - Profile Name */
[data-theme="light"] .profile-name {
    color: #0f172a;
}

.profile-tagline {
    font-size: 1.1rem;
    color: var(--accent-color);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Links Frame */
.links-frame {
    margin-bottom: 40px;
}

/* Links Container */
.links-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 24px;
}

/* Link Button */
.link-button {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    text-decoration: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease backwards;
}

.link-button:nth-child(1) {
    animation-delay: 0.1s;
}

.link-button:nth-child(2) {
    animation-delay: 0.2s;
}

.link-button:nth-child(3) {
    animation-delay: 0.3s;
}

.link-button:nth-child(4) {
    animation-delay: 0.4s;
}

.link-button:nth-child(5) {
    animation-delay: 0.5s;
}

.link-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(248, 97, 6, 0.1), transparent);
    transition: left 0.5s ease;
}

.link-button:hover::before {
    left: 100%;
}

.link-button:hover {
    transform: translateY(-4px);
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(248, 97, 6, 0.2);
    background: rgba(30, 41, 59, 0.8);
}

/* Light Theme - Link Buttons */
[data-theme="light"] .link-button {
    background: rgba(255, 255, 255, 0.9);
    border-color: #e2e8f0;
}

[data-theme="light"] .link-button:hover {
    background: rgba(255, 255, 255, 1);
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(248, 97, 6, 0.15);
}

.link-button:active {
    transform: translateY(-2px);
}

.link-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--accent-color), #fb923c);
    border-radius: 12px;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.link-button:hover .link-icon {
    transform: rotate(5deg) scale(1.1);
}

.link-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.link-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.link-subtitle {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.link-arrow {
    font-size: 1.2rem;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

.link-button:hover .link-arrow {
    color: var(--accent-color);
    transform: translateX(5px);
}

/* Footer - Link page specific */
.footer {
    margin-top: auto;
    padding: 30px 0;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 40px 20px;
    }

    .profile-name {
        font-size: 2rem;
    }

    .profile-tagline {
        font-size: 1rem;
    }

    .profile-initials {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 30px 15px;
    }

    .profile-section {
        margin-bottom: 40px;
    }

    .profile-name {
        font-size: 1.8rem;
    }

    .profile-tagline {
        font-size: 0.95rem;
    }

    .link-button {
        padding: 16px 20px;
    }

    .link-icon {
        width: 44px;
        height: 44px;
        font-size: 1.3rem;
    }

    .link-title {
        font-size: 1rem;
    }

    .link-subtitle {
        font-size: 0.85rem;
    }
}