@import url('https://fonts.googleapis.com/css2?family=Syne:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600&display=swap');

:root {
    --bg:            #0D1117;
    --bg-card:       #161B22;
    --border-subtle: rgba(48, 54, 61, 0.5);
    --text:          #E6EDF3;
    --text-muted:    #8B949E;
    --accent:        #3B82F6;
    --accent-2:      #22D3EE;
    --gradient:      linear-gradient(135deg, #3B82F6 0%, #22D3EE 100%);
    --nav-h:         64px;
    --radius:        14px;
    --transition:    0.25s ease;
    --font-display:  'Syne', sans-serif;
    --font-body:     'Plus Jakarta Sans', sans-serif;
}

[data-theme="light"] {
    --bg:            #F6F8FA;
    --bg-card:       #FFFFFF;
    --border-subtle: rgba(208, 215, 222, 0.5);
    --text:          #1F2328;
    --text-muted:    #57606A;
    --accent:        #0969DA;
    --accent-2:      #0891B2;
    --gradient:      linear-gradient(135deg, #0969DA 0%, #0891B2 100%);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--nav-h) 24px 40px;
    transition: background var(--transition), color var(--transition);
    -webkit-font-smoothing: antialiased;
}

/* NAV */
#navbar {
    position: fixed;
    top: 0; left: 0; right: 0;
    height: var(--nav-h);
    background: rgba(13, 17, 23, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    transition: background var(--transition);
}

[data-theme="light"] #navbar { background: rgba(246, 248, 250, 0.85); }

.nav-logo {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.1rem;
    color: var(--text);
    text-decoration: none;
    letter-spacing: -0.02em;
}

.nav-logo span {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.btn-nav {
    background: var(--bg-card);
    color: var(--text-muted);
    border: 1px solid var(--border-subtle);
    border-radius: 6px;
    padding: 6px 12px;
    font-family: monospace;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all var(--transition);
}
.btn-nav:hover { color: var(--text); border-color: var(--accent); }
#theme-toggle { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; }


/* CONTACT CONTENT */
.contact-wrap {
    width: 100%;
    max-width: 460px;
    text-align: center;
}

.contact-title {
    font-family: var(--font-display);
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.04em;
    margin-bottom: 8px;
}

.contact-subtitle {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 40px;
    font-weight: 400;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 24px;
    background: var(--bg-card);
    color: var(--text);
    text-decoration: none;
    border-radius: var(--radius);
    border: 1px solid var(--border-subtle);
    font-weight: 600;
    font-size: 0.92rem;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}

.contact-link::after {
    content: '→';
    position: absolute;
    right: 20px;
    color: var(--text-muted);
    font-size: 1rem;
    transition: transform var(--transition), color var(--transition);
}

.contact-link:hover::after {
    transform: translateX(4px);
    color: #fff;
}

.contact-link:hover {
    transform: translateY(-3px);
    border-color: transparent;
    color: #fff;
}

.contact-link-icon {
    width: 36px; height: 36px;
    border-radius: 8px;
    background: rgba(255,255,255,0.08);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.05rem;
    flex-shrink: 0;
    transition: background var(--transition);
}

.link-github:hover  { background: #24292e; }
.link-linkedin:hover { background: #0077b5; }
.link-linktree:hover { background: #43e660; color: #111 !important; }
.link-linktree:hover .contact-link-icon { background: rgba(0,0,0,0.15); }
.link-frontend:hover { background: #3e54a3; }

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-muted);
    font-size: 0.82rem;
    text-decoration: none;
    margin-top: 32px;
    transition: color var(--transition);
}
.back-link:hover { color: var(--text); }
