* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-dark);
    color: #e2e8f0;
    min-height: 100vh;
    overflow-x: hidden;
}

.universe-bg {
    position: fixed;
    inset: 0;
    background:
        radial-gradient(circle at 15% 20%, rgba(99, 102, 241, 0.25), transparent 30%),
        radial-gradient(circle at 85% 15%, rgba(56, 189, 248, 0.22), transparent 30%),
        radial-gradient(circle at 50% 80%, rgba(16, 185, 129, 0.18), transparent 35%),
        var(--bg-dark);
    z-index: -2;
}

.stars {
    position: fixed;
    inset: 0;
    background-image:
        radial-gradient(2px 2px at 20px 30px, rgba(255,255,255,0.6), transparent),
        radial-gradient(2px 2px at 120px 180px, rgba(255,255,255,0.45), transparent),
        radial-gradient(1.6px 1.6px at 260px 80px, rgba(255,255,255,0.38), transparent),
        radial-gradient(1.5px 1.5px at 340px 220px, rgba(255,255,255,0.5), transparent);
    background-size: 420px 320px;
    opacity: 0.55;
    animation: drift 30s linear infinite;
    z-index: -1;
}

@keyframes drift {
    from { transform: translateY(0); }
    to { transform: translateY(-50px); }
}

.portfolio-header {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1.5rem 1.5rem 0;
}

.back-link {
    color: #a5b4fc;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid rgba(165, 180, 252, 0.35);
    border-radius: 999px;
    padding: 0.5rem 0.95rem;
    display: inline-flex;
    transition: 0.25s ease;
}

.back-link:hover {
    color: #fff;
    border-color: rgba(99, 102, 241, 0.75);
    background: rgba(79, 70, 229, 0.22);
}

.portfolio-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 1.2rem 1.5rem 2.5rem;
}

.profile-card {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 1.4rem;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid var(--glass-border-hover);
    border-radius: 24px;
    padding: 1.4rem;
    box-shadow: 0 0 35px rgba(79, 70, 229, 0.18);
}

.profile-image {
    width: 100%;
    aspect-ratio: 1/1;
    border-radius: 18px;
    object-fit: cover;
    border: 2px solid rgba(56, 189, 248, 0.5);
}

.eyebrow {
    font-size: 0.74rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #93c5fd;
    margin-bottom: 0.35rem;
}

h1 {
    font-family: 'Orbitron', sans-serif;
    color: #e0e7ff;
    font-size: clamp(1.8rem, 4vw, 2.6rem);
    margin-bottom: 0.4rem;
}

.title {
    color: #a5b4fc;
    font-weight: 600;
    margin-bottom: 0.7rem;
}

.intro {
    color: #cbd5e1;
    line-height: 1.7;
}

.grid-section {
    margin-top: 1.4rem;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.glass-card {
    background: var(--glass-bg);
    border: 1px solid rgba(148, 163, 184, 0.25);
    border-radius: 18px;
    padding: 1.2rem;
}

.glass-card h2 {
    font-family: 'Orbitron', sans-serif;
    color: #bfdbfe;
    font-size: 1rem;
    margin-bottom: 0.7rem;
}

.glass-card ul {
    list-style: none;
    display: grid;
    gap: 0.6rem;
}

.glass-card li {
    position: relative;
    padding-left: 1rem;
    color: #cbd5e1;
    line-height: 1.5;
}

.glass-card li::before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #60a5fa;
    position: absolute;
    left: 0;
    top: 0.55rem;
}

.contact-note {
    color: #94a3b8;
    margin-bottom: 0.7rem;
}

.social-row {
    display: flex;
    gap: 0.75rem;
}

.social-row a {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #dbeafe;
    background: rgba(30, 41, 59, 0.8);
    border: 1px solid rgba(148, 163, 184, 0.35);
    transition: 0.25s ease;
}

.social-row a:hover {
    color: #ffffff;
    border-color: rgba(96, 165, 250, 0.9);
    box-shadow: 0 0 14px rgba(59, 130, 246, 0.35);
    transform: translateY(-2px);
}

@media (max-width: 820px) {
    .profile-card {
        grid-template-columns: 1fr;
    }

    .profile-image {
        max-width: 220px;
    }

    .grid-section {
        grid-template-columns: 1fr;
    }
}

@media (pointer: fine) {
    body,
    a,
    button,
    input,
    select,
    textarea,
    .glass-card {
        cursor: auto;
    }

    a,
    button {
        cursor: pointer;
    }
}
