/* Neural Map Portfolio Style */

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', Arial, sans-serif;
    background: radial-gradient(circle at 30% 30%, #0b1340, #020a20);
    color: #e0e6f0;
    overflow-x: hidden;
}

/* Navigation */
.nav {
    background: rgba(15, 30, 70, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-inner {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.brand {
    font-weight: 700;
    font-size: 1.1rem;
    color: #a5c8ff;
    text-decoration: none;
    white-space: nowrap;
}

.brand:hover {
    color: #c4d6ff;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.nav-links a {
    color: #c4d6ff;
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

.nav-links a:hover {
    color: #fff;
}

.nav-spacer {
    flex: 1;
}

.design-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.design-switcher label {
    font-size: 0.85rem;
    color: #c4d6ff;
    white-space: nowrap;
}

.design-switcher select {
    background: rgba(30, 50, 100, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    border-radius: 6px;
    padding: 0.4rem 0.6rem;
    font-size: 0.85rem;
    cursor: pointer;
}

.design-switcher select:hover {
    background: rgba(40, 60, 110, 0.7);
}

/* Page wrapper */
.page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

main {
    flex: 1;
}

/* Footer */
.footer {
    margin-top: 4rem;
    padding: 2rem 1.5rem;
    text-align: center;
    background: rgba(15, 30, 70, 0.5);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #9ab8ee;
    font-size: 0.9rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .nav-inner {
        flex-wrap: wrap;
    }

    .nav-links {
        order: 3;
        width: 100%;
        gap: 1rem;
    }

    .design-switcher {
        margin-left: auto;
    }
}

.hero {
    text-align: center;
    padding: 4rem 1.5rem;
    background: linear-gradient(180deg, #0c1d42, #05102a);
}
.hero h1 {
    margin: 0;
    font-size: 2.2rem;
    color: #a5c8ff;
}
.hero p {
    margin-top: 0.5rem;
    color: #c4d6ff;
    font-size: 1rem;
}

#map-container {
    position: relative;
    height: 420px;
    margin: 2rem auto;
    width: calc(100% - 4rem);
    max-width: 900px;
}

#connections {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 0;
}

.link {
    stroke: #5572c3;
    stroke-width: 1.5;
    stroke-opacity: 0.6;
}

.node {
    position: absolute;
    width: 22px;
    height: 22px;
    background: linear-gradient(45deg, #688fd4, #8db8f6);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(137, 166, 225, 0.8);
    cursor: pointer;
    transform: translate(-50%, -50%);
    z-index: 2;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.node:hover {
    transform: translate(-50%, -50%) scale(1.2);
    box-shadow: 0 0 12px rgba(137, 166, 225, 1);
}

.node.central {
    width: 32px;
    height: 32px;
    background: linear-gradient(45deg, #7caaff, #b0d0ff);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
    color: #0d1c3a;
    font-weight: bold;
}

#skill-info {
    margin: 2rem auto;
    padding: 1rem 1.5rem;
    max-width: 900px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    backdrop-filter: blur(4px);
    font-size: 1rem;
    color: #d6e2ff;
}

section {
    padding: 2rem 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

section h2 {
    color: #a5c8ff;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

section h3 {
    margin-top: 1.5rem;
    margin-bottom: 0.5rem;
    color: #9ab8ee;
    font-size: 1.2rem;
}

section p {
    margin: 0.5rem 0;
    line-height: 1.6;
}

a {
    color: #82a9ff;
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

/* Social links */
.social-links {
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    color: #fff;
    font-size: 0.7rem;
    text-decoration: none;
    font-weight: bold;
}
.social-icon.facebook { background-color: #3b5998; }
.social-icon.twitter { background-color: #1da1f2; }
.social-icon.pinterest { background-color: #bd081c; }
.social-icon.reddit { background-color: #ff4500; }
.social-icon.discord { background-color: #5865f2; }
.social-icon.patreon { background-color: #e85a18; }
.social-icon.paypal { background-color: #003087; }
.social-icon.stripe { background-color: #635bff; }
.social-icon.instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.social-icon.youtube { background-color: #ff0000; }
.social-icon.tiktok { background: linear-gradient(45deg, #69c9d0 0%, #ee1d52 50%, #000000 100%); }
.social-icon.linkedin { background-color: #0077b5; }

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.portfolio-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1rem;
    backdrop-filter: blur(4px);
    transition: transform 0.3s ease;
}
.portfolio-item:hover {
    transform: translateY(-4px);
}