/* ========================================
   LINKTREE — Main Hub Page
   ======================================== */

.linktree {
    position: relative;
    z-index: 1;
    max-width: 420px;
    margin: 0 auto;
    padding: 60px 20px 40px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

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

.profile-avatar {
    position: relative;
    width: 96px;
    height: 96px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar-icon {
    font-size: 2.5rem;
    position: relative;
    z-index: 2;
}

.avatar-ring {
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: var(--gradient-primary);
    opacity: 0.6;
    animation: pulseRing 3s ease-in-out infinite;
}

.avatar-ring::after {
    content: '';
    position: absolute;
    inset: 3px;
    border-radius: 50%;
    background: var(--bg-primary);
}

@keyframes pulseRing {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.05); }
}

.profile-name {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.profile-tagline {
    font-size: 0.92rem;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.profile-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(0, 232, 123, 0.08);
    border: 1px solid rgba(0, 232, 123, 0.18);
    border-radius: var(--radius-full);
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--accent-green);
}

.badge-dot {
    width: 7px;
    height: 7px;
    background: var(--accent-green);
    border-radius: 50%;
    animation: pulseDot 2s ease-in-out infinite;
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* Link Buttons */
.links-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 40px;
}

.link-btn {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 18px;
    background: var(--bg-card);
    border: 1px solid var(--border-card);
    border-radius: var(--radius-lg);
    transition: all 0.3s var(--ease);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.link-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.04), transparent);
    opacity: 0;
    transition: opacity 0.3s var(--ease);
}

.link-btn:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-2px) scale(1.01);
    box-shadow: 0 8px 32px rgba(0, 212, 255, 0.08);
}

.link-btn:hover::before {
    opacity: 1;
}

.link-btn:active {
    transform: translateY(0) scale(0.99);
}

.link-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: rgba(0, 212, 255, 0.08);
    border: 1px solid rgba(0, 212, 255, 0.12);
    color: var(--accent-cyan);
    flex-shrink: 0;
    transition: all 0.3s var(--ease);
}

.link-btn:hover .link-icon {
    box-shadow: 0 0 16px rgba(0, 212, 255, 0.15);
}

.link-icon-green {
    background: rgba(0, 232, 123, 0.08);
    border-color: rgba(0, 232, 123, 0.12);
    color: var(--accent-green);
}

.link-btn:hover .link-icon-green {
    box-shadow: 0 0 16px rgba(0, 232, 123, 0.15);
}

.link-icon-purple {
    background: rgba(168, 85, 247, 0.08);
    border-color: rgba(168, 85, 247, 0.12);
    color: var(--accent-violet);
}

.link-btn:hover .link-icon-purple {
    box-shadow: 0 0 16px rgba(168, 85, 247, 0.15);
}

.link-icon-orange {
    background: rgba(249, 115, 22, 0.08);
    border-color: rgba(249, 115, 22, 0.12);
    color: var(--accent-orange);
}

.link-btn:hover .link-icon-orange {
    box-shadow: 0 0 16px rgba(249, 115, 22, 0.15);
}

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

.link-title {
    display: block;
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 2px;
}

.link-subtitle {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
}

.link-arrow {
    color: var(--text-muted);
    flex-shrink: 0;
    transition: all 0.3s var(--ease);
}

.link-btn:hover .link-arrow {
    color: var(--accent-cyan);
    transform: translateX(4px);
}

/* Footer */
.linktree-footer {
    text-align: center;
    margin-top: auto;
}

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