@import url("https://fonts.googleapis.com/css2?family=Fira+Mono&family=Inter&display=swap");

:root {
    --neon-blue: rgba(126, 200, 245, 0.8);
    --neon-purple: rgba(183, 130, 255, 0.8);
    --neon-pink: rgba(255, 90, 205, 0.8);
    --neon-text-glow: 0 0 8px currentColor;
}

body {
    background-color: #12131a;
    color: #c8cee7;
    font-family: "Inter", sans-serif;
    max-width: 960px;
    margin: 40px auto;
    padding: 0 20px 40px;
    line-height: 1.6;
    text-align: left;
}

header {
    margin-bottom: 40px;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 20px;
}

header h1 {
    font-weight: 700;
    font-size: 2.8rem;
    color: #7ec8f5;
    margin: 0;
    text-shadow: 0 0 10px var(--neon-blue), 0 0 20px var(--neon-blue);
    animation: pulse 3s ease-in-out infinite;
}


@keyframes pulse {
    0%,
    100% {
        opacity: 0.8;
    }
    50% {
        opacity: 1;
    }
}

.avatar-header {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-image: url("avatar.png");
    background-size: cover;
    background-position: center;
    box-shadow: 0 0 15px var(--neon-blue);
    flex-shrink: 0;
    transition: all 0.5s ease;
}

.avatar-header:hover {
    transform: rotate(5deg) scale(1.05);
    box-shadow: 0 0 25px var(--neon-purple);
}

.container {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
}

section {
    background-color: #1c1f2a;
    border-radius: 8px;
    padding: 20px;
    box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.8),
       0 0 5px rgba(126, 200, 245, 0.3);
    border: 1.5px solid #2a2d3a;
    font-family: "Fira Mono", monospace;
    color: #a0b4ff;
    flex: 1 1 300px;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

section:hover {
    border-color: var(--neon-blue);
    box-shadow: inset 0 0 12px rgba(126, 200, 245, 0.4),
        0 0 15px var(--neon-blue), 0 0 25px var(--neon-purple);
    transform: translateY(-3px);
}

section h2 {
    font-weight: 700;
    font-size: 1.4rem;
    color: #7ec8f5;
    margin-bottom: 15px;
    border-bottom: 1px solid #3b3f55;
    padding-bottom: 6px;
    font-family: "Inter", sans-serif;
    display: flex;
    align-items: center;
    gap: 8px;
    text-shadow: var(--neon-text-glow);
    transition: all 0.3s ease;
}

section:hover h2 {
    color: #82aaff;
    text-shadow: 0 0 10px var(--neon-blue), 0 0 20px var(--neon-purple);
}

section h2::before {
    content: "▌";
    color: #82aaff;
    font-size: 1.2rem;
}

p,
ul {
    font-size: 1rem;
    color: #c8cee7;
    margin-top: 0;
}

ul {
    padding-left: 20px;
}

li {
    margin-bottom: 6px;
    transition: all 0.3s ease;
    padding-left: 8px;
}

#skills .items li:hover {
    color: #d0dfff;
    text-shadow: var(--neon-text-glow);
    transform: translateX(5px);
}

#skills .items li::before {
    content: "▹";
    color: var(--neon-blue);
    margin-right: 8px;
    transition: all 0.3s ease;
}

#skills .items li:hover::before {
    color: var(--neon-pink);
    text-shadow: 0 0 8px var(--neon-pink);
}

a {
    color: #82aaff;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
}

a:hover {
    color: #d0dfff;
    text-shadow: var(--neon-text-glow);
    text-decoration: none;
}

a::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--neon-blue);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

a:hover::after {
    transform: scaleX(1);
    box-shadow: 0 0 8px var(--neon-blue);
}

footer {
    margin-top: 50px;
    font-size: 0.9rem;
    color: #75839a;
    text-align: center;
    font-family: "Inter", sans-serif;
}

footer a {
    color: #7ec8f5;
    text-decoration: none;
    margin: 0 12px;
}

footer a:hover {
    text-decoration: none;
    text-shadow: 0 0 8px var(--neon-blue);
}

@media (max-width: 768px) {
    .container {
        flex-direction: column;
    }

    section {
        min-width: auto;
        margin-bottom: 24px;
    }
}