* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-dark: #0a0f2c;          /* Deep blue */
    --card-bg: rgba(10, 15, 44, 0.65);
    --border: rgba(0, 234, 255, 0.35);
    --primary: #00eaff;          /* Neon cyan */
    --secondary: #7dfb00;        /* Nuclear green */
    --accent: #5a3fff;           /* Purple glow */
    --text: #e6f7ff;
    --muted: #9bb3c9;
    --metallic: #c7a84f;         /* Gold text */
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", sans-serif;
    background: var(--bg-dark);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
}

.background {
    position: fixed;
    inset: 0;
    z-index: -2;
}

.background-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .18;
    filter: none; /* Removed blur */
}

.background::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at top, rgba(0,234,255,.15), transparent 40%),
        linear-gradient(180deg, rgba(10,15,44,.4), rgba(10,15,44,1));
}

.hero {
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .35;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(10,15,44,0.4),
        rgba(10,15,44,0.95)
    );
}

.hero-content {
    position: relative;
    text-align: center;
    max-width: 900px;
    padding: 40px;
    animation: fadeUp 1s ease forwards;
}

.badge {
    display: inline-block;
    padding: 8px 18px;
    border-radius: 999px;
    background: rgba(0,234,255,.15);
    border: 1px solid rgba(0,234,255,.35);
    color: var(--primary);
    font-size: .9rem;
    margin-bottom: 25px;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    letter-spacing: -2px;
    color: white;
}

.subtitle {
    margin-top: 20px;
    color: var(--muted);
    font-size: 1.25rem;
}

.subtitle span {
    color: var(--primary);
    margin: 0 8px;
}

.social-links {
    margin-top: 35px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-links a {
    text-decoration: none;
    color: var(--metallic);
    padding: 12px 28px;
    border-radius: 50px;
    border: 1px solid var(--border);
    background: rgba(10,15,44,0.5);
    transition: .3s;
}

.social-links a:hover {
    transform: translateY(-5px);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    box-shadow: 0 10px 35px rgba(0,234,255,.35);
}

.profile-container {
    position: absolute;
    bottom: 60px;
    text-decoration: none;
}

.profile-pic {
    width: 170px;
    height: 170px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid rgba(255,255,255,.8);
    animation: floating 4s ease-in-out infinite;
}

.content {
    width: min(1100px, 90%);
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 80px 0;
}

.card {
    padding: 40px;
    border-radius: 25px;
    background: rgba(10,15,44,0.65);
    border: 1px solid var(--border);
    box-shadow: 0 20px 60px rgba(0,0,0,.45);
    transition: .35s;
}

.card:hover {
    transform: translateY(-8px);
    border-color: rgba(0,234,255,.5);
}

.card h2 {
    font-size: 2rem;
    margin-bottom: 20px;
}

.card p {
    color: var(--muted);
    line-height: 1.8;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.project {
    padding: 25px;
    text-decoration: none;
    color: white;
    border-radius: 20px;
    background: rgba(255,255,255,.06);
    border: 1px solid var(--border);
    transition: .3s;
}

.project:hover {
    transform: scale(1.03);
    background: rgba(0,234,255,.15);
}

.project h3 {
    margin-bottom: 10px;
}

.project p {
    font-size: .95rem;
}

.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.skills span {
    padding: 12px 22px;
    border-radius: 50px;
    background: linear-gradient(
        135deg,
        rgba(0,234,255,.2),
        rgba(90,63,255,.2)
    );
    border: 1px solid rgba(255,255,255,.15);
    transition: .3s;
}

.skills span:hover {
    transform: translateY(-5px);
    background: linear-gradient(135deg, var(--primary), var(--secondary));
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floating {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

@media(max-width:600px) {
    .hero {
        min-height: 650px;
    }

    .hero-content {
        padding: 20px;
    }

    .subtitle {
        font-size: 1rem;
    }

    .profile-container {
        bottom: 30px;
    }

    .profile-pic {
        width: 120px;
        height: 120px;
    }

    .card {
        padding: 25px;
    }

    .social-links {
        flex-direction: column;
    }
}