body {
    background-color: #0b0f17;
    background-image: 
        linear-gradient(rgba(30, 41, 59, 0.15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(30, 41, 59, 0.15) 1px, transparent 1px);
    background-size: 20px 20px;
    color: #94a3b8;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    padding: 2rem 1.5rem;
    box-sizing: border-box;
}

.main-box {
    max-width: 750px;
    width: 100%;
    display: flex;
    align-items: flex-start;
    gap: 3.5rem;
}

.profile-img {
    width: 180px;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid #1e293b;
    background-color: #1a1d23;
    display: block;
    flex-shrink: 0;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.profile-img:hover {
    border-color: #38bdf8;
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.25);
}

.content-box {
    flex-grow: 1;
}

h1 {
    font-size: 2.2rem;
    color: #fff;
    margin: 0 0 0.25rem 0;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.tagline {
    font-size: 1.2rem;
    color: #38bdf8;
    margin: 0 0 2rem 0;
}

.cursor {
    animation: blink 1s infinite;
    color: #38bdf8;
}

@keyframes blink {
    50% { opacity: 0; }
}

p {
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 0 1.5rem 0;
}

.contact-info {
    margin-top: 2rem;
    border-top: 1px dashed #1e293b;
    padding-top: 1.5rem;
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    margin-top: 0.8rem;
}

a {
    color: #38bdf8;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s, color 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    width: fit-content;
}

a:hover {
    border-color: #38bdf8;
}

.github-icon,
.linkedin-icon {
    width: 16px;
    height: 16px;
    fill: #38bdf8;
    transition: fill 0.2s;
}

a:hover .github-icon,
a:hover .linkedin-icon {
    fill: #fff;
}

.footer {
    margin-top: 4rem;
    font-size: 0.8rem;
    color: #475569;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer a {
    color: #475569;
    display: inline-flex;
}

.footer a:hover {
    color: #38bdf8;
}

.footer-project a {
    color: #64748b;
}

.footer-project a:hover {
    color: #38bdf8;
}

.footer-nav {
    display: flex;
    gap: 1.2rem;
}

.binary-code {
    cursor: pointer;
    transition: color 0.2s;
}

.binary-code:hover {
    color: #38bdf8;
}

@media (max-width: 650px) {
    .main-box {
        flex-direction: column;
        text-align: center;
        align-items: center;
        gap: 2rem;
    }
    .profile-img {
        width: 160px;
        height: 160px;
    }
    .contact-info {
        border-top: 1px dashed #1e293b;
        display: inline-block;
        width: 100%;
    }
    .contact-links {
        align-items: center;
    }
    .footer-nav {
        justify-content: center;
    }
}