:root {
    --bg-color: #050505;
    --card-bg: rgba(255, 255, 255, 0.05);
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent-primary: #00f3ff;
    --accent-secondary: #bc13fe;
    --gradient-main: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(5, 5, 5, 0.8);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.logo {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: 2px;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-secondary);
}

.nav-links a:hover {
    color: var(--accent-primary);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 2px;
    background-color: var(--text-primary);
}

/* Hero Section */
.hero-section {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 0 20px;
}

.hero-content {
    z-index: 2;
    max-width: 800px;
}

.hero-section h1 {
    font-family: var(--font-heading);
    font-size: 4rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    background: linear-gradient(to right, #fff, #aaa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-section h2 {
    font-size: 1.5rem;
    font-weight: 400;
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
}

.btn.primary {
    background: var(--gradient-main);
    color: #000;
    border: none;
}

.btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.4);
}

.btn.secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-left: 1rem;
}

.btn.secondary:hover {
    border-color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

/* Hero Background Glow */
.hero-background {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(188, 19, 254, 0.15) 0%, rgba(0, 243, 255, 0.05) 50%, transparent 70%);
    filter: blur(80px);
    z-index: 1;
}

/* Generic Section Styles */
section {
    padding: 6rem 5%;
}

.container {
    max-width: 1100px;
    margin: 0 auto;
}

.section-header {
    margin-bottom: 4rem;
    text-align: center;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.line {
    width: 60px;
    height: 3px;
    background: var(--gradient-main);
    margin: 0 auto;
}

/* About Section */
.about-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.lead-text {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
}

.tag {
    background: var(--card-bg);
    padding: 0.5rem 1.2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: var(--accent-primary);
}

/* Work/Video Section (Carousel) */
.carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 2rem;
    padding: 0 2rem;
}

.carousel-container {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 1rem 0;
    width: 100%;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;
    /* IE 10+ */
}

.carousel-container::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari/Webkit */
}

.video-card {
    min-width: 320px;
    flex: 0 0 auto;
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.video-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-primary);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 Aspect Ratio */
    height: 0;
    width: 100%;
    background: #000;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-info {
    padding: 1.5rem;
}

.video-info h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.video-info p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Carousel Buttons */
.carousel-btn {
    background: rgba(5, 5, 5, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--accent-primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.carousel-btn:hover {
    background: var(--accent-primary);
    color: #000;
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.4);
}

.carousel-btn.prev {
    margin-right: 1rem;
}

.carousel-btn.next {
    margin-left: 1rem;
}

/* Mobile Adjustments for Carousel buttons */
@media (max-width: 768px) {
    .carousel-wrapper {
        padding: 0;
    }

    .carousel-btn {
        display: none;
        /* Hide buttons on mobile, allow swipe */
    }

    .video-card {
        min-width: 85vw;
        /* Make cards almost full width on mobile */
    }
}

/* Experience Section */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.timeline-item {
    margin-bottom: 3rem;
    padding-left: 2rem;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -4px;
    top: 24px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--accent-secondary);
    box-shadow: 0 0 10px var(--accent-secondary);
}

.card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.card:hover {
    transform: translateX(10px);
    border-color: rgba(255, 255, 255, 0.2);
}

.role-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.role-header h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
}

.role-header .date {
    font-size: 0.85rem;
    color: var(--accent-primary);
    border: 1px solid rgba(0, 243, 255, 0.3);
    padding: 0.2rem 0.6rem;
    border-radius: 4px;
}

.timeline-content h4 {
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 1rem;
}

.role-list {
    list-style: none;
    color: var(--text-secondary);
}

.role-list li {
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.role-list li::before {
    content: '›';
    position: absolute;
    left: 0;
    color: var(--accent-secondary);
}

/* Studio Lists */
.studio-group {
    margin-top: 1.5rem;
}

.studio-group h4 {
    color: var(--accent-primary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
}

.studio-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
}

.studio-list span {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    font-size: 0.85rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.studio-list span:hover {
    background: rgba(188, 19, 254, 0.2);
    border-color: var(--accent-secondary);
}

.placeholder-credit {
    border-style: dashed !important;
    opacity: 0.6;
}

/* Contact Section */
.contact-section {
    text-align: center;
    background: linear-gradient(to top, rgba(188, 19, 254, 0.05), transparent);
}

.contact-section h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.download-link {
    display: inline-block;
    margin-top: 1rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-decoration: underline;
}

footer {
    text-align: center;
    padding: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp 0.8s ease forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Animations */
.scroll-hidden {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        /* Mobile menu styles override when active via JS */
    }

    .menu-toggle {
        display: flex;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .timeline::before {
        left: 20px;
    }

    .timeline-item {
        padding-left: 3rem;
    }

    .timeline-item::before {
        left: 16px;
    }
}