:root {
    --bg: #030303;
    --text: #ffffff;
    --primary: #00d2ff;
    --secondary: #9d50bb;
    --glass: rgba(255, 255, 255, 0.03);
    --border: rgba(255, 255, 255, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

.noise {
    position: fixed;
    inset: 0;
    background: url('https://grainy-gradients.vercel.app/noise.svg');
    opacity: 0.03;
    pointer-events: none;
    z-index: 1000;
}

.cursor-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0, 210, 255, 0.15) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s;
}

/* Nav */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 2rem;
    z-index: 100;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links a {
    text-decoration: none;
    color: white;
    margin-left: 2rem;
    font-weight: 500;
}

.btn-primary {
    background: white;
    color: black !important;
    padding: 0.6rem 1.4rem;
    border-radius: 50px;
    font-weight: 600;
}

/* Hero */
#hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: 120px;
    /* Space for fixed nav */
    padding-bottom: 60px;
}

.profile-container {
    width: 280px;
    height: 280px;
    margin: 0 auto 2rem;
    position: relative;
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid var(--border);
    position: relative;
    z-index: 2;
}

.profile-glow {
    position: absolute;
    inset: -15px;
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    border-radius: 50%;
    filter: blur(30px);
    opacity: 0.4;
    z-index: 1;
}

h1 {
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.highlight {
    background: linear-gradient(45deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subtitle {
    font-size: 1.6rem;
    opacity: 0.6;
    font-weight: 300;
    margin-bottom: 3rem;
}

.btn-outline {
    border: 1px solid var(--border);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    color: white;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.05);
    transition: 0.3s;
}

.btn-outline:hover {
    background: white;
    color: black;
}

/* Animations */
.fade-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.card,
.section-header,
.connect-card,
.hero-content>* {
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1), transform 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-content>.fade-in {
    /* Base state for hero items before animation class is added if observed */
    transform: translateY(20px);
}

/* Skills Section */
#skills-bar {
    background: var(--glass);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 2rem 0;
    overflow: hidden;
    margin-bottom: 100px;
}

.marquee {
    width: 100%;
    overflow: hidden;
}

.marquee-inner {
    display: flex;
    width: max-content;
    animation: scroll 30s linear infinite;
}

.marquee-inner span {
    font-size: 1.2rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: var(--primary);
    margin: 0 4rem;
    opacity: 0.8;
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* Work */
#work {
    max-width: 1200px;
    margin: 0 auto 100px;
    padding: 0 2rem;
}

.section-header {
    margin-bottom: 4rem;
}

.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    margin-bottom: 0.5rem;
}

.section-header p {
    opacity: 0.5;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.9rem;
}

.shorts-header {
    margin-top: 100px;
}

.grid {
    display: grid;
    gap: 3rem;
}

.long-form {
    grid-template-columns: repeat(2, 1fr);
}

.shorts {
    grid-template-columns: repeat(2, 1fr);
    max-width: 700px;
    margin: 0 auto;
}

.glass {
    background: var(--glass);
    border: 1px solid var(--border);
    border-radius: 24px;
    overflow: hidden;
    transition: 0.4s;
}

.glass:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.short-video {
    padding-bottom: 177.77%;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Connect */
#connect {
    padding: 80px 2rem;
    text-align: center;
}

.connect-card {
    max-width: 900px;
    margin: 0 auto;
    padding: 6rem 2rem;
}

.connect-card h2 {
    font-family: 'Playfair Display', serif;
    font-size: 3.5rem;
    margin-bottom: 3rem;
}

.contact-links {
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.contact-btn {
    padding: 1.2rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: 0.3s;
}

.whatsapp {
    background: var(--primary);
    color: black;
}

.email {
    background: white;
    color: black;
}

.contact-btn:hover {
    transform: scale(1.05);
}

footer {
    text-align: center;
    padding: 4rem;
    opacity: 0.4;
    font-size: 0.9rem;
    border-top: 1px solid var(--border);
}

@media (max-width: 768px) {
    h1 {
        font-size: 3rem;
    }

    .long-form,
    .shorts {
        grid-template-columns: 1fr;
    }

    .contact-links {
        flex-direction: column;
    }
}