/* ==========================================================================
   Zyfiro Linktree - Premium Minimalist Design
   ========================================================================== */

:root {
    --bg-base: #0a0c16; /* Premium Deep Midnight Indigo */
    --bg-card: rgba(255, 255, 255, 0.02); /* Clean translucent glass panels */
    --bg-card-hover: rgba(255, 255, 255, 0.05);
    --border-color: rgba(255, 255, 255, 0.07);
    --border-color-hover: rgba(255, 255, 255, 0.14);
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa; /* Zinc 400 */
    --text-muted: #52525b; /* Zinc 600 */
    
    /* Accent Logo Color */
    --accent-blue: #00aeef;
    
    /* Typography */
    --font-sans: 'Plus Jakarta Sans', sans-serif;
}

/* --- Reset & Base --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: var(--bg-base);
    color: var(--text-primary);
    font-family: var(--font-sans);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 5rem 1.25rem 4rem;
}

/* --- Main Layout Container --- */
.container {
    width: 100%;
    max-width: 580px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* --- Profile Header --- */
.profile-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 2.5rem;
    width: 100%;
}

.avatar-container {
    position: relative;
    width: 80px;
    height: 80px;
    margin-bottom: 1.25rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.03);
    padding: 2px;
    border: 1px solid var(--border-color);
}

.profile-avatar {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    background: #ffffff;
    padding: 6px;
}

.profile-title-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 0.5rem;
}

.profile-name {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: -0.015em;
    color: var(--text-primary);
}

.verified-badge {
    color: var(--accent-blue);
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-tagline {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
    max-width: 360px;
}

/* --- Links Container --- */
.links-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* --- Link Cards --- */
.link-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    color: var(--text-primary);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.2s cubic-bezier(0.2, 0.8, 0.2, 1);
}

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

.link-icon-container {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.2s ease;
    flex-shrink: 0;
}

/* Custom Icon Brand Styling */
.linkedin-icon { color: #0077b5; border-color: rgba(0, 119, 181, 0.2); background: rgba(0, 119, 181, 0.04); }
.github-icon { color: #ffffff; border-color: rgba(255, 255, 255, 0.15); background: rgba(255, 255, 255, 0.03); }
.instagram-icon { color: #e1306c; border-color: rgba(225, 48, 108, 0.2); background: rgba(225, 48, 108, 0.04); }
.facebook-icon { color: #1877f2; border-color: rgba(24, 119, 242, 0.2); background: rgba(24, 119, 242, 0.04); }
.wheel-icon { color: #fb923c; border-color: rgba(251, 146, 60, 0.2); background: rgba(251, 146, 60, 0.04); }
.points-icon { color: #10b981; border-color: rgba(16, 185, 129, 0.2); background: rgba(16, 185, 129, 0.04); }
.logo-icon { border-color: rgba(0, 174, 239, 0.25); background: rgba(0, 174, 239, 0.04); }
.logo-icon svg { width: 26px; height: 26px; }

.link-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    text-align: left;
}

.link-title {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
}

.link-description {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.link-arrow {
    display: flex;
    align-items: center;
    color: var(--text-muted);
    transform: translateX(-2px);
    opacity: 0;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

/* --- Card Badge --- */
.link-badge {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 4px 8px;
    border-radius: 4px;
    background: var(--bg-card-hover);
    border: 1px solid var(--border-color-hover);
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

/* --- Hover States --- */
.link-card:hover {
    transform: translateY(-2px);
    background: var(--bg-card-hover);
    border-color: var(--border-color-hover);
}

/* Hover States for Icon Brands */
.link-card:hover .linkedin-icon { color: #0077b5; border-color: rgba(0, 119, 181, 0.4); background: rgba(0, 119, 181, 0.08); }
.link-card:hover .github-icon { color: #ffffff; border-color: rgba(255, 255, 255, 0.3); background: rgba(255, 255, 255, 0.08); }
.link-card:hover .instagram-icon { color: #e1306c; border-color: rgba(225, 48, 108, 0.4); background: rgba(225, 48, 108, 0.08); }
.link-card:hover .facebook-icon { color: #1877f2; border-color: rgba(24, 119, 242, 0.4); background: rgba(24, 119, 242, 0.08); }
.link-card:hover .wheel-icon { color: #fb923c; border-color: rgba(251, 146, 60, 0.4); background: rgba(251, 146, 60, 0.08); }
.link-card:hover .points-icon { color: #10b981; border-color: rgba(16, 185, 129, 0.4); background: rgba(16, 185, 129, 0.08); }
.link-card:hover .logo-icon { border-color: rgba(0, 174, 239, 0.5); background: rgba(0, 174, 239, 0.08); }

.link-card:hover .link-arrow {
    transform: translateX(0);
    opacity: 1;
    color: var(--text-secondary);
}

.link-card:active {
    transform: translateY(0);
}

/* --- Section Separator --- */
.section-separator {
    display: flex;
    align-items: center;
    width: 100%;
    margin: 1.5rem 0 0.75rem;
    gap: 1rem;
}

.section-separator::before,
.section-separator::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05));
}

.section-separator::after {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.05), transparent);
}

.section-separator span {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    white-space: nowrap;
}

/* --- Social Footer --- */
.profile-footer {
    width: 100%;
    margin-top: 3.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.copyright {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 400;
}

/* --- Responsive Adjustments --- */
@media (max-width: 600px) {
    body {
        padding: 3.5rem 1rem 3rem;
    }
    
    .profile-name {
        font-size: 1.35rem;
    }
    
    .profile-tagline {
        font-size: 0.825rem;
    }
    
    .link-card {
        padding: 0.875rem 1.1rem;
        border-radius: 10px;
    }
    
    .link-icon-container {
        width: 32px;
        height: 32px;
    }
    
    .link-title {
        font-size: 0.9rem;
    }
    
    .link-description {
        font-size: 0.78rem;
    }
}
