/* ==========================================================================
   Beni Bahadur Singh VFX Portfolio Stylesheet
   Theme: Cinematic Dark Mode with Premium Bold Typography & Interactive VFX Glow
   ========================================================================== */

/* Design Tokens & Custom Properties */
:root {
    /* Colors */
    --color-bg-base: #030305;
    --color-bg-surface: #07070b;
    --color-bg-card: rgba(10, 10, 16, 0.8);
    --color-primary: #00f2ff; /* Electric VFX Cyan */
    --color-secondary: #7000ff; /* Plasma Purple */
    --color-accent: #ff007b; /* Accent Pink */
    --color-text-main: #f5f5fa;
    --color-text-muted: #9494a6;
    --color-border: rgba(255, 255, 255, 0.05);
    --color-border-glow: rgba(0, 242, 255, 0.2);

    /* Fonts */
    --font-heading: 'Syne', sans-serif;
    --font-bold-impact: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing & Transitions */
    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.2s ease;
    --border-radius: 12px;
}

/* Reset and Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    background-color: var(--color-bg-base);
    color: var(--color-text-main);
    font-family: var(--font-body);
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

body {
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.012) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.012) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 0;
}

body.loading {
    cursor: wait;
}

/* Scrollbar Styles */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--color-bg-base);
}
::-webkit-scrollbar-thumb {
    background: #1c1c24;
    border-radius: 4px;
    border: 2px solid var(--color-bg-base);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-primary);
}

/* Background Particle Canvas */
#particle-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 0;
    pointer-events: none;
    opacity: 0.4;
}

/* Custom Interactive Cursor */
.custom-cursor {
    width: 8px;
    height: 8px;
    background-color: var(--color-primary);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9999;
    transition: width 0.2s, height 0.2s, background-color 0.2s;
}

.custom-cursor-glow {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(0, 242, 255, 0.4);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9998;
    transition: transform 0.1s ease-out, width 0.3s, height 0.3s, background-color 0.3s;
}

/* Hover States for Custom Cursor */
.custom-cursor.hovered {
    width: 24px;
    height: 24px;
    background-color: rgba(0, 242, 255, 0.2);
}

.custom-cursor-glow.hovered {
    width: 60px;
    height: 60px;
    background-color: rgba(112, 0, 255, 0.1);
    border-color: var(--color-secondary);
}

/* Layout Containers */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.2rem 4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background-color: rgba(29, 29, 31, 0.72);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: padding 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease;
}

.header.scrolled {
    padding: 0.8rem 4rem;
    background-color: rgba(29, 29, 31, 0.85);
}

.header-logo {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: 2px;
    cursor: pointer;
}

.logo-bold {
    color: var(--color-text-main);
}

.logo-thin {
    color: var(--color-primary);
    text-shadow: 0 0 10px rgba(0, 242, 255, 0.5);
}

.nav {
    display: flex;
    align-items: center;
    gap: 2.2rem;
}

.nav-link {
    color: #f5f5f7;
    opacity: 0.75;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 400;
    letter-spacing: 0.5px;
    transition: var(--transition-fast);
    position: relative;
}

.nav-link:hover {
    color: #ffffff;
    opacity: 1;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--color-primary);
    transition: var(--transition-fast);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-btn {
    color: #ffffff;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-decoration: none;
    padding: 0.4rem 1.2rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: var(--transition-fast);
}

.nav-btn:hover {
    background-color: #ffffff;
    color: #000000;
    border-color: #ffffff;
}

/* Apple Menu Toggle (Hamburger) */
.apple-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    width: 24px;
    height: 24px;
    position: relative;
    z-index: 101;
    padding: 0;
}

.apple-menu-toggle .line {
    display: block;
    width: 18px;
    height: 1px;
    background-color: #f5f5f7;
    position: absolute;
    left: 3px;
    transition: transform 0.25s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.25s ease;
}

.apple-menu-toggle .line-top {
    top: 9px;
}

.apple-menu-toggle .line-bottom {
    top: 15px;
}

/* Hamburger active transformation to X */
.apple-menu-toggle.active .line-top {
    transform: rotate(45deg);
    top: 12px;
}

.apple-menu-toggle.active .line-bottom {
    transform: rotate(-45deg);
    top: 12px;
}

/* Apple Mobile Overlay Menu */
.apple-mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(29, 29, 31, 0.98);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    z-index: 99;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding: 100px 40px 40px 40px;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-20px);
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.apple-mobile-menu.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
    margin-top: 2rem;
}

.mobile-nav-link {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: #f5f5f7;
    text-decoration: none;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.mobile-nav-btn {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--color-primary);
    text-decoration: none;
    margin-top: 1rem;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

/* Staggered text reveals inside mobile menu */
.apple-mobile-menu.active .mobile-nav-link,
.apple-mobile-menu.active .mobile-nav-btn {
    opacity: 1;
    transform: translateY(0);
}

/* Animation delay staggers */
.apple-mobile-menu.active .mobile-nav-link:nth-child(1) { transition-delay: 0.1s; }
.apple-mobile-menu.active .mobile-nav-link:nth-child(2) { transition-delay: 0.15s; }
.apple-mobile-menu.active .mobile-nav-link:nth-child(3) { transition-delay: 0.2s; }
.apple-mobile-menu.active .mobile-nav-link:nth-child(4) { transition-delay: 0.25s; }
.apple-mobile-menu.active .mobile-nav-link:nth-child(5) { transition-delay: 0.3s; }
.apple-mobile-menu.active .mobile-nav-link:nth-child(6) { transition-delay: 0.35s; }
.apple-mobile-menu.active .mobile-nav-btn { transition-delay: 0.4s; }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 2rem;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 6px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-bg-base);
    box-shadow: 0 4px 15px rgba(0, 242, 255, 0.15);
}

.btn-primary:hover {
    background-color: #00d2de;
    box-shadow: 0 0 25px rgba(0, 242, 255, 0.4);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: transparent;
    color: var(--color-text-main);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.05);
    border-color: var(--color-text-main);
    transform: translateY(-2px);
}

.btn-arrow {
    transition: transform 0.3s ease;
}

.btn-primary:hover .btn-arrow {
    transform: translate(3px, -3px);
}

/* Typography Effects (Bold Mask & Text Reveals) */
.text-masked {
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary), var(--color-accent), var(--color-primary));
    background-size: 300% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textShine 10s linear infinite;
}

@keyframes textShine {
    0% { background-position: 0% 50%; }
    100% { background-position: 300% 50%; }
}

/* Staggered Character / Split Word Reveals */
.split-text {
    overflow: hidden;
}

.word-wrapper {
    display: inline-block;
    overflow: hidden;
    vertical-align: top;
}

.char-span {
    display: inline-block;
    transform: translateY(105%) rotate(6deg);
    opacity: 0;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.8s ease;
}

.char-span.active {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
}

/* Dynamic Hover weight scaling */
.hover-weight-text {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: -0.5px;
    transition: font-weight 0.4s ease, letter-spacing 0.4s ease, color 0.4s ease, text-shadow 0.4s ease;
}

.hover-weight-text:hover {
    font-weight: 800;
    letter-spacing: 0.5px;
    color: var(--color-primary);
    text-shadow: 0 0 12px rgba(0, 242, 255, 0.4);
}

/* Stagger Scroll Reveals */
.reveal-item {
    opacity: 0;
    transform: translateY(40px);
    filter: blur(8px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), 
                filter 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-item.active {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    padding-top: 100px;
    z-index: 1;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.08fr 0.92fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

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

/* Premium Visual Showcase (Photo & Video Cards) */
.hero-showcase {
    position: relative;
    height: 480px;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.showcase-card {
    background: #0d0d12;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius);
    padding: 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
    position: absolute;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), 
                box-shadow 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                border-color 0.6s cubic-bezier(0.16, 1, 0.3, 1),
                z-index 0s linear;
}

.photo-card {
    width: 360px;
    height: auto;
    z-index: 2;
    transform: rotate(-1.5deg);
    padding-bottom: 20px;
}

.showcase-card:hover {
    z-index: 10;
    transform: scale(1.05) rotate(0deg);
    box-shadow: 0 30px 60px rgba(0, 242, 255, 0.12);
    border-color: rgba(0, 242, 255, 0.3);
}

.card-border-glow {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    border-radius: var(--border-radius);
    pointer-events: none;
    box-shadow: inset 0 0 15px rgba(0, 242, 255, 0.1);
    transition: opacity 0.3s ease;
}

.card-border-glow-video {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    border-radius: var(--border-radius);
    pointer-events: none;
    box-shadow: inset 0 0 15px rgba(255, 0, 123, 0.1);
    transition: opacity 0.3s ease;
}

.showcase-card:hover .card-border-glow {
    box-shadow: inset 0 0 25px rgba(0, 242, 255, 0.25);
}

.showcase-card:hover .card-border-glow-video {
    box-shadow: inset 0 0 25px rgba(255, 0, 123, 0.25);
}

.showcase-img-wrapper {
    width: 100%;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: calc(var(--border-radius) - 5px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.photo-name {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--color-text-main);
    text-transform: uppercase;
    margin-top: 14px;
    margin-bottom: 2px;
    letter-spacing: 0.5px;
    transition: var(--transition-fast);
}

.showcase-card:hover .photo-name {
    color: var(--color-primary);
    text-shadow: 0 0 10px rgba(0, 242, 255, 0.4);
}

.profile-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 20%;
    transition: transform 0.8s ease;
}

.showcase-card:hover .profile-photo-img {
    transform: scale(1.04);
}

.photo-badge {
    text-align: center;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--color-text-muted);
    letter-spacing: 1.5px;
    margin-top: 8px;
}

.showcase-card:hover .photo-badge {
    color: var(--color-primary);
}

.showcase-video-wrapper {
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: calc(var(--border-radius) - 5px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    background: #000;
    position: relative;
}

.moana-iframe {
    width: 100%;
    height: 100%;
    border: none;
    pointer-events: none;
    transform: scale(1.15);
}

.video-label {
    position: absolute;
    bottom: 8px;
    left: 15px;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--color-text-muted);
    letter-spacing: 1.5px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.showcase-card:hover .video-label {
    color: #ff007b;
}

.pulse-dot-green {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background-color: #25d366;
    box-shadow: 0 0 8px #25d366;
    animation: greenPulse 2s infinite;
}

@keyframes greenPulse {
    0% { opacity: 0.4; }
    50% { opacity: 1; }
    100% { opacity: 0.4; }
}

.badge-reveal {
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.badge {
    display: inline-block;
    background-color: rgba(0, 242, 255, 0.08);
    border: 1px solid rgba(0, 242, 255, 0.2);
    color: var(--color-primary);
    padding: 0.4rem 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    border-radius: 50px;
    text-transform: uppercase;
}

.hero-heading {
    font-family: var(--font-bold-impact);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 0.9;
    letter-spacing: -2px;
    margin-bottom: 2rem;
    text-transform: uppercase;
    color: var(--color-text-main);
}

.hero-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 2.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease 0.4s, transform 1s ease 0.4s;
}

.hero-description.active {
    opacity: 1;
    transform: translateY(0);
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease 0.6s, transform 1s ease 0.6s;
}

.hero-actions.active {
    opacity: 1;
    transform: translateY(0);
}

.hero-availability {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    margin-top: 2.2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 30px;
    padding: 0.35rem 0.5rem 0.35rem 0.35rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 1s ease 0.8s, 
                transform 1s ease 0.8s, 
                border-color 0.3s ease, 
                box-shadow 0.3s ease;
}

.hero-availability.active {
    opacity: 1;
    transform: translateY(0);
}

.hero-availability:hover {
    border-color: rgba(37, 211, 102, 0.4);
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.06);
}

.availability-status {
    background: rgba(37, 211, 102, 0.12);
    border: 1px solid rgba(37, 211, 102, 0.25);
    color: #25d366;
    font-size: 0.68rem;
    font-weight: 900;
    border-radius: 20px;
    padding: 0.3rem 0.8rem;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-shadow: 0 0 5px rgba(37, 211, 102, 0.3);
}

.availability-text {
    font-family: var(--font-heading);
    color: #f5f5f7;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0 0.8rem;
    letter-spacing: 0.5px;
}

.hero-bottom-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    opacity: 0.7;
}

.scroll-text {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: var(--color-text-muted);
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(180deg, var(--color-primary), transparent);
    position: relative;
    overflow: hidden;
}

.scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 20px;
    background-color: var(--color-text-main);
    animation: scrollScroll 2s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

@keyframes scrollScroll {
    0% { transform: translateY(-20px); }
    100% { transform: translateY(60px); }
}

/* Stats Section */
.stats-section {
    padding: 8rem 0;
    background-color: var(--color-bg-surface);
    border-top: 1px solid var(--color-border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 6rem;
}

.stat-card {
    text-align: center;
    border-right: 1px solid var(--color-border);
}

.stat-card:last-child {
    border-right: none;
}

.stat-number {
    font-family: var(--font-bold-impact);
    font-size: clamp(3.5rem, 7vw, 6.5rem);
    font-weight: 900;
    line-height: 1;
    color: var(--color-text-main);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-text-muted);
    font-weight: 500;
}

.about-quote {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.quote-text {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3.5vw, 2.5rem);
    font-weight: 700;
    line-height: 1.3;
    color: var(--color-text-main);
}

/* Sections General Header */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 5rem auto;
}

.section-title {
    font-family: var(--font-bold-impact);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* Showreel Section */
.showreel-section {
    padding: 8rem 0;
}

.video-container {
    background: rgba(18, 18, 24, 0.4);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 1rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transition: var(--transition-smooth);
}

.video-container:hover {
    border-color: var(--color-border-glow);
    box-shadow: 0 30px 60px rgba(0, 242, 255, 0.08);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 ratio */
    height: 0;
    overflow: hidden;
    border-radius: 8px;
    background: #000;
}

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

/* Kinetic Marquee Section */
.marquee-section {
    overflow: hidden;
    padding: 5rem 0;
    background-color: #030304;
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.marquee-wrapper {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.marquee-track {
    display: flex;
    white-space: nowrap;
    font-family: var(--font-bold-impact);
    font-size: clamp(2.5rem, 5.5vw, 6.5rem);
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1;
}

.track-left span {
    display: inline-block;
    animation: marqueeLeft 35s linear infinite;
}

.track-right span {
    display: inline-block;
    animation: marqueeRight 35s linear infinite;
    color: transparent;
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.08);
}

@keyframes marqueeLeft {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

@keyframes marqueeRight {
    0% { transform: translate3d(-50%, 0, 0); }
    100% { transform: translate3d(0, 0, 0); }
}

/* Skills & Expertise Section */
.skills-section {
    padding: 8rem 0;
    background-color: var(--color-bg-surface);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.skill-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    padding: 3rem 2.5rem;
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.skill-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(400px circle at var(--mouse-x, 0) var(--mouse-y, 0), rgba(0, 242, 255, 0.04), transparent 40%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.skill-card:hover::after {
    opacity: 1;
}

.skill-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-border-glow);
    box-shadow: 0 20px 40px rgba(0, 242, 255, 0.04);
}

.skill-icon {
    color: var(--color-primary);
    margin-bottom: 2rem;
    display: inline-block;
    filter: drop-shadow(0 0 8px rgba(0, 242, 255, 0.3));
}

.skill-title {
    font-size: 1.4rem;
    color: var(--color-text-main);
    margin-bottom: 1rem;
}

.skill-desc {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* Studio Section */
.studio-section {
    padding: 8rem 0;
    border-bottom: 1px solid var(--color-border);
}

.studio-logos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.studio-item {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    padding: 3.5rem 2rem;
    text-align: center;
    border-radius: var(--border-radius);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-text-muted);
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
    cursor: default;
}

.studio-item:hover {
    color: var(--color-text-main);
    border-color: var(--color-border-glow);
    background: rgba(0, 242, 255, 0.02);
    transform: scale(1.02);
}

/* Contact Section */
.contact-section {
    padding: 10rem 0;
    background-color: var(--color-bg-surface);
}

.contact-card {
    background: radial-gradient(circle at top right, rgba(112, 0, 255, 0.1), transparent 50%), var(--color-bg-card);
    border: 1px solid var(--color-border);
    padding: 6rem 4rem;
    border-radius: var(--border-radius);
    text-align: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    max-width: 1000px;
    margin: 0 auto;
}

.contact-title {
    font-family: var(--font-bold-impact);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 900;
    letter-spacing: -1px;
    margin-bottom: 1.5rem;
}

.contact-subtitle {
    font-size: 1.2rem;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto 4rem auto;
    line-height: 1.6;
}

.contact-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.contact-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.2s ease;
}

.info-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--color-text-muted);
    font-weight: 600;
}

.info-val {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--color-text-main);
    text-decoration: none;
    transition: var(--transition-fast);
}

.info-val:hover {
    color: var(--color-primary);
    text-shadow: 0 0 10px rgba(0, 242, 255, 0.5);
}

.whatsapp-val {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
}

.whatsapp-icon {
    color: #25d366;
    transition: var(--transition-fast);
}

.info-val:hover .whatsapp-icon {
    color: var(--color-primary);
    filter: drop-shadow(0 0 5px rgba(0, 242, 255, 0.6));
}

/* Footer Section */
.footer {
    padding: 3rem 0;
    border-top: 1px solid var(--color-border);
    background-color: var(--color-bg-base);
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-credit {
    font-weight: 500;
}

.footer-link {
    color: var(--color-text-muted);
    text-decoration: none;
    transition: var(--transition-fast);
    font-weight: 600;
}

.footer-link:hover {
    color: var(--color-primary);
    text-shadow: 0 0 8px rgba(0, 242, 255, 0.4);
}
/* Works Gallery Styling */
.gallery-section {
    padding: 8rem 0;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.filter-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--color-text-muted);
    padding: 0.6rem 1.8rem;
    font-size: 0.9rem;
    font-weight: 600;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
    border-color: var(--color-primary);
    color: var(--color-primary);
    box-shadow: 0 0 15px rgba(0, 242, 255, 0.2);
    background-color: rgba(0, 242, 255, 0.02);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.gallery-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    overflow: hidden;
    position: relative;
    aspect-ratio: 0.7;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
}

.gallery-card:hover {
    border-color: var(--color-border-glow);
    transform: translateY(-5px) scale(1.01);
    box-shadow: 0 15px 30px rgba(0, 242, 255, 0.05);
}

.card-img-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.gallery-card:hover .card-img-wrapper img {
    transform: scale(1.08);
}

.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2rem 1.5rem 1.5rem 1.5rem;
    background: linear-gradient(to top, rgba(6, 6, 8, 0.95) 30%, rgba(6, 6, 8, 0.6) 70%, transparent);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transform: translateY(10px);
    opacity: 0;
    transition: var(--transition-smooth);
}

.gallery-card:hover .card-overlay {
    transform: translateY(0);
    opacity: 1;
}

.card-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--color-text-main);
    margin-bottom: 0.3rem;
}

.card-category {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.gallery-more {
    text-align: center;
}

/* Lightbox Modal */
.lightbox-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(6, 6, 8, 0.95);
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
    backdrop-filter: blur(15px);
}

.lightbox-modal.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 3rem;
    color: var(--color-text-muted);
    font-size: 3rem;
    font-weight: 300;
    cursor: pointer;
    transition: var(--transition-fast);
}

.lightbox-close:hover {
    color: var(--color-primary);
}

.lightbox-content-wrapper {
    max-width: 90%;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.lightbox-img {
    max-width: 100%;
    max-height: 70vh;
    border-radius: var(--border-radius);
    border: 1px solid var(--color-border);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    transform: scale(0.95);
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-modal.active .lightbox-img {
    transform: scale(1);
}

.lightbox-caption {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-text-main);
    text-align: center;
}

/* Professional Journey Timeline Styling */
.experience-section {
    padding: 8rem 0;
    background-color: var(--color-bg-base);
}

.timeline-container {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    padding-left: 3rem;
}

.timeline-container::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 15px;
    width: 2px;
    height: calc(100% - 20px);
    background: linear-gradient(180deg, var(--color-primary), var(--color-secondary), rgba(255, 255, 255, 0.05));
}

.timeline-item {
    position: relative;
    margin-bottom: 4rem;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -3rem;
    top: 10px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background-color: var(--color-bg-base);
    border: 3px solid var(--color-text-muted);
    transform: translateX(9px);
    z-index: 2;
    transition: var(--transition-smooth);
}

.timeline-item:hover .timeline-dot {
    border-color: var(--color-primary);
    box-shadow: 0 0 10px var(--color-primary);
}

.timeline-item.current .timeline-dot {
    border-color: var(--color-primary);
    background-color: var(--color-primary);
    box-shadow: 0 0 15px var(--color-primary);
}

.timeline-date {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--color-primary);
    text-transform: uppercase;
    margin-bottom: 0.8rem;
}

.timeline-content {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 2.5rem;
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
}

.timeline-item:hover .timeline-content {
    border-color: var(--color-border-glow);
    box-shadow: 0 15px 30px rgba(0, 242, 255, 0.03);
    transform: translateX(5px);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.role-details {
    flex-grow: 1;
}

.role-title {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    color: var(--color-text-main);
    line-height: 1.2;
}

.role-type {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--color-text-muted);
    letter-spacing: 1px;
}

.role-bullets {
    list-style: none;
}

.role-bullets li {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.5rem;
}

.role-bullets li:last-child {
    margin-bottom: 0;
}

.role-bullets li::before {
    content: '→';
    position: absolute;
    left: 0;
    top: 0;
    color: var(--color-primary);
    font-weight: bold;
}

/* Studio Badges (Custom SVG-like typographies) */
.studio-badge {
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 900;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.sub-logo {
    font-size: 0.7rem;
    font-weight: 500;
    opacity: 0.8;
}

.pixstone-badge {
    background: linear-gradient(135deg, rgba(230, 70, 30, 0.1), rgba(0, 0, 0, 0.8));
    color: #e6461e;
    border-color: rgba(230, 70, 30, 0.3);
}

.freelance-badge {
    background: rgba(255, 255, 255, 0.03);
    color: var(--color-text-muted);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
}

.dneg-badge {
    background: #000;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.15);
    font-family: 'Outfit', sans-serif;
    font-weight: 900;
    letter-spacing: -0.5px;
}

.mpc-badge {
    background: #060608;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.1);
    position: relative;
}

.mpc-badge::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 20%;
    width: 60%;
    height: 1px;
    background-color: #ff003c;
}

.redchillies-badge {
    background: linear-gradient(135deg, #cc0000, #330000);
    color: #fff;
    border-color: #ff3333;
    font-size: 0.9rem;
}

.legend-badge {
    background: linear-gradient(135deg, #112233, #001122);
    color: #00bfff;
    border-color: rgba(0, 191, 255, 0.3);
    font-size: 0.9rem;
}

.deluxe-badge {
    background: rgba(255, 255, 255, 0.02);
    color: #aaa;
    font-style: italic;
    font-family: serif;
    font-size: 1.1rem;
}

.primefocus-badge {
    background: #000;
    color: #fff;
    border-color: rgba(255, 69, 0, 0.3);
}

.logo-icon {
    color: var(--color-primary);
}

/* Real-Time Experience Stats Ticker */
.experience-ticker {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
}

.ticker-box {
    background: rgba(18, 18, 24, 0.4);
    border: 1px solid rgba(0, 242, 255, 0.12);
    border-radius: 50px;
    padding: 0.8rem 2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    flex-wrap: wrap;
    justify-content: center;
}

.ticker-prefix {
    font-family: var(--font-bold-impact);
    font-size: 0.8rem;
    font-weight: 900;
    letter-spacing: 2px;
    color: var(--color-text-muted);
    position: relative;
    padding-left: 1.2rem;
}

.ticker-prefix::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--color-primary);
    box-shadow: 0 0 8px var(--color-primary);
    animation: tickerPulse 2s infinite;
}

@keyframes tickerPulse {
    0% { opacity: 0.4; }
    50% { opacity: 1; }
    100% { opacity: 0.4; }
}

.ticker-val {
    font-family: monospace;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-primary);
    text-shadow: 0 0 8px rgba(0, 242, 255, 0.3);
}

.ticker-days {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--color-text-muted);
    letter-spacing: 0.5px;
    margin-left: 0.5rem;
}

/* Interactive VFX Pipeline Section Styles */
.pipeline-section {
    padding: 8rem 0;
    background-color: var(--color-bg-alt);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.pipeline-interactive {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 3rem;
    align-items: stretch;
    margin-top: 3rem;
}

.pipeline-nav {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pipeline-step-btn {
    background: rgba(18, 18, 24, 0.4);
    border: 1px solid var(--color-border);
    border-left: 3px solid transparent;
    padding: 1.2rem 1.5rem;
    text-align: left;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    transition: var(--transition-smooth);
}

.pipeline-step-btn:hover {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.15);
}

.pipeline-step-btn.active {
    background: rgba(0, 242, 255, 0.03);
    border-color: var(--color-primary);
    border-left-color: var(--color-primary);
    box-shadow: 0 0 20px rgba(0, 242, 255, 0.05);
}

.step-num {
    font-family: monospace;
    font-size: 0.8rem;
    color: var(--color-text-muted);
    font-weight: bold;
}

.pipeline-step-btn.active .step-num {
    color: var(--color-primary);
}

.step-name {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-text-main);
}

/* Simulated VFX Monitor viewport screen */
.pipeline-screen-wrapper {
    background: #050508;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 10px;
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.8), 0 20px 40px rgba(0, 0, 0, 0.4);
    position: relative;
    display: flex;
    flex-direction: column;
}

.pipeline-screen {
    width: 100%;
    aspect-ratio: 16/9;
    background-color: #060608;
    position: relative;
    overflow: hidden;
    border-radius: calc(var(--border-radius) - 5px);
    transition: background-color 0.5s ease;
}

.pipeline-player-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #09090f;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 0.8rem 1.2rem;
    margin-top: 10px;
    border-radius: 8px;
    gap: 1.5rem;
}

.player-left {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.player-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--color-text-muted);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.player-btn:hover {
    color: var(--color-primary);
    background: rgba(0, 242, 255, 0.08);
    border-color: rgba(0, 242, 255, 0.25);
    box-shadow: 0 0 10px rgba(0, 242, 255, 0.15);
}

.player-btn.active {
    color: #fff;
    background: var(--color-primary);
    border-color: var(--color-primary);
}

.player-center {
    flex-grow: 1;
    display: flex;
    align-items: center;
}

.timeline-track {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 2px;
    position: relative;
    cursor: pointer;
    transition: height 0.2s ease;
}

.timeline-track:hover {
    height: 6px;
}

.timeline-progress {
    position: absolute;
    top: 0; left: 0; height: 100%;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    border-radius: 2px;
    width: 0%;
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-handle {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 0 8px rgba(0, 242, 255, 0.8);
    border: 2px solid var(--color-primary);
    left: 0%;
    pointer-events: none;
    transition: left 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.player-right {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.timecode {
    font-family: monospace;
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    letter-spacing: 1px;
    background: rgba(0, 0, 0, 0.4);
    padding: 0.25rem 0.6rem;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.04);
}

.fps-badge {
    font-size: 0.68rem;
    font-weight: 800;
    color: var(--color-primary);
    background: rgba(0, 242, 255, 0.1);
    border: 1px solid rgba(0, 242, 255, 0.2);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    letter-spacing: 0.5px;
}

/* Grid Backdrop */
.shot-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: 40px 40px;
    background-image: 
        linear-gradient(to right, rgba(0, 242, 255, 0.04) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0, 242, 255, 0.04) 1px, transparent 1px);
    opacity: 0;
    transition: opacity 0.5s ease;
}

/* Tracking Markers */
.shot-markers {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.marker {
    position: absolute;
    font-family: monospace;
    font-size: 1.2rem;
    font-weight: bold;
    color: #ffcc00;
    text-shadow: 0 0 5px rgba(255, 204, 0, 0.8);
}

.m1 { top: 20%; left: 20%; }
.m2 { top: 20%; right: 25%; }
.m3 { bottom: 25%; left: 30%; }
.m4 { bottom: 30%; right: 20%; }

/* Elements Setup */
.shot-element {
    position: absolute;
    z-index: 5;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.svg-element {
    width: 100%;
    height: 100%;
}

.base-shape, .eye-shape, .mouth-shape, .head-shape, .body-shape, .cape-shape {
    fill: none;
    stroke: rgba(0, 242, 255, 0.4);
    stroke-width: 2;
    transition: all 0.5s ease;
}

/* Roto Outline glowing lasso */
.roto-outline {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border: 1.5px dashed #ff0055;
    border-radius: 50%;
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.5s ease;
    animation: rotoDash 15s linear infinite;
}

@keyframes rotoDash {
    to { stroke-dashoffset: 20; }
}

/* Element Positioning */
.monster-element {
    bottom: 10%;
    left: 10%;
    width: 25%;
    height: 45%;
}

.hero-element {
    top: 25%;
    right: 15%;
    width: 20%;
    height: 35%;
}

/* Matte Painted City Sky Backdrop */
.shot-backdrop-city {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #050515 0%, #151025 60%, #301b45 100%);
    opacity: 0;
    z-index: 1;
    transition: opacity 0.5s ease;
}

/* VFX Glow Layer */
.vfx-laser-glow {
    position: absolute;
    top: 50%;
    right: 50%;
    width: 0;
    height: 6px;
    background: linear-gradient(90deg, #ff007b, #00f2ff);
    box-shadow: 0 0 15px #00f2ff, 0 0 30px #ff007b;
    border-radius: 3px;
    transform: rotate(16deg) translateY(-50%);
    transform-origin: right center;
    opacity: 0;
    z-index: 4;
    transition: width 0.5s ease, opacity 0.5s ease;
}

/* Anaglyph stereo offsets */
.stereo-anaglyph {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 8;
    mix-blend-mode: screen;
    opacity: 0;
    background-size: cover;
    transition: opacity 0.5s ease;
}

/* Cinema Widescreen Aspect Crop Bars */
.cinema-bars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 15;
    pointer-events: none;
}

.cinema-bar {
    position: absolute;
    width: 100%;
    height: 0%;
    background: #000;
    transition: height 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.top-bar { top: 0; }
.bottom-bar { bottom: 0; }

/* QC Stamp Seal */
.qc-stamp {
    position: absolute;
    top: 15%;
    right: 5%;
    border: 3px double #00ff66;
    color: #00ff66;
    font-family: monospace;
    font-size: 0.9rem;
    font-weight: 900;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    transform: rotate(-10deg) scale(1.5);
    text-shadow: 0 0 8px rgba(0, 255, 102, 0.4);
    box-shadow: 0 0 8px rgba(0, 255, 102, 0.2), inset 0 0 8px rgba(0, 255, 102, 0.2);
    opacity: 0;
    z-index: 20;
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Floating Card describing the active pipeline step */
.step-info-card {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    background: rgba(18, 18, 24, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    z-index: 25;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: opacity 0.5s ease;
}

.step-info-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--color-primary);
    margin-bottom: 0.4rem;
    transition: opacity 0.3s ease;
}

.step-info-desc {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.5;
    transition: opacity 0.3s ease;
}


/* PIPELINE STEPS LOGIC (STATE TRANSITIONS) */

/* STEP 1: ANIMATIC */
.pipeline-screen[data-current-step="1"] .shot-grid {
    opacity: 1;
}

.pipeline-screen[data-current-step="1"] .base-shape,
.pipeline-screen[data-current-step="1"] .eye-shape,
.pipeline-screen[data-current-step="1"] .mouth-shape,
.pipeline-screen[data-current-step="1"] .head-shape,
.pipeline-screen[data-current-step="1"] .body-shape {
    stroke: #00f2ff;
    stroke-width: 1.5;
    stroke-dasharray: 4 4;
}

.pipeline-screen[data-current-step="1"] .cape-shape {
    opacity: 0;
}


/* STEP 2: ROTO & PAINT PREP */
.pipeline-screen[data-current-step="2"] .shot-grid {
    opacity: 0.4;
}

.pipeline-screen[data-current-step="2"] .shot-markers {
    opacity: 1;
}

.pipeline-screen[data-current-step="2"] .roto-outline {
    opacity: 1;
    transform: scale(1);
}

.pipeline-screen[data-current-step="2"] .base-shape,
.pipeline-screen[data-current-step="2"] .eye-shape,
.pipeline-screen[data-current-step="2"] .mouth-shape,
.pipeline-screen[data-current-step="2"] .head-shape,
.pipeline-screen[data-current-step="2"] .body-shape {
    stroke: #ffcc00;
    stroke-width: 2;
}

.pipeline-screen[data-current-step="2"] .cape-shape {
    opacity: 0;
}


/* STEP 3: VFX COMPOSITING */
.pipeline-screen[data-current-step="3"] .shot-backdrop-city {
    opacity: 1;
}

.pipeline-screen[data-current-step="3"] .monster-element .base-shape {
    fill: #2a1b4e;
    stroke: #ff007b;
    stroke-width: 2.5;
}

.pipeline-screen[data-current-step="3"] .monster-element .eye-shape {
    fill: #ffcc00;
    stroke: none;
}

.pipeline-screen[data-current-step="3"] .monster-element .mouth-shape {
    stroke: #ff0055;
    stroke-width: 3;
}

.pipeline-screen[data-current-step="3"] .hero-element .head-shape {
    fill: #00f2ff;
    stroke: none;
}

.pipeline-screen[data-current-step="3"] .hero-element .body-shape {
    stroke: #00c3ff;
    stroke-width: 8;
}

.pipeline-screen[data-current-step="3"] .hero-element .cape-shape {
    fill: #ff0055;
    stroke: none;
    opacity: 1;
}

.pipeline-screen[data-current-step="3"] .vfx-laser-glow {
    opacity: 1;
    width: 140px; /* fires beam! */
}


/* STEP 4: STEREO 3D */
.pipeline-screen[data-current-step="4"] .shot-backdrop-city {
    opacity: 1;
}

.pipeline-screen[data-current-step="4"] .monster-element .base-shape {
    fill: #2a1b4e;
    stroke: #ff007b;
    stroke-width: 2.5;
}

.pipeline-screen[data-current-step="4"] .monster-element .eye-shape {
    fill: #ffcc00;
    stroke: none;
}

.pipeline-screen[data-current-step="4"] .monster-element .mouth-shape {
    stroke: #ff0055;
    stroke-width: 3;
}

.pipeline-screen[data-current-step="4"] .hero-element .head-shape {
    fill: #00f2ff;
    stroke: none;
}

.pipeline-screen[data-current-step="4"] .hero-element .body-shape {
    stroke: #00c3ff;
    stroke-width: 8;
}

.pipeline-screen[data-current-step="4"] .hero-element .cape-shape {
    fill: #ff0055;
    stroke: none;
    opacity: 1;
}

.pipeline-screen[data-current-step="4"] .vfx-laser-glow {
    opacity: 1;
    width: 140px;
}

/* Double ghost layers offset left/right simulating 3D anaglyph */
.pipeline-screen[data-current-step="4"] .monster-element,
.pipeline-screen[data-current-step="4"] .hero-element,
.pipeline-screen[data-current-step="4"] .shot-backdrop-city {
    filter: drop-shadow(4px 0px 0px rgba(255, 0, 123, 0.8)) drop-shadow(-4px 0px 0px rgba(0, 242, 255, 0.8));
}


/* STEP 5: FINAL RELEASE */
.pipeline-screen[data-current-step="5"] .shot-backdrop-city {
    opacity: 1;
}

.pipeline-screen[data-current-step="5"] .monster-element .base-shape {
    fill: #2a1b4e;
    stroke: #ff007b;
    stroke-width: 2.5;
}

.pipeline-screen[data-current-step="5"] .monster-element .eye-shape {
    fill: #ffcc00;
    stroke: none;
}

.pipeline-screen[data-current-step="5"] .monster-element .mouth-shape {
    stroke: #ff0055;
    stroke-width: 3;
}

.pipeline-screen[data-current-step="5"] .hero-element .head-shape {
    fill: #00f2ff;
    stroke: none;
}

.pipeline-screen[data-current-step="5"] .hero-element .body-shape {
    stroke: #00c3ff;
    stroke-width: 8;
}

.pipeline-screen[data-current-step="5"] .hero-element .cape-shape {
    fill: #ff0055;
    stroke: none;
    opacity: 1;
}

.pipeline-screen[data-current-step="5"] .vfx-laser-glow {
    opacity: 1;
    width: 140px;
}

/* Cinema Widescreen bars slide in */
.pipeline-screen[data-current-step="5"] .cinema-bar {
    height: 12%;
}

/* Stamp drops down */
.pipeline-screen[data-current-step="5"] .qc-stamp {
    opacity: 1;
    transform: rotate(-10deg) scale(1);
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .header {
        padding: 0.8rem 2.5rem;
    }
    .header.scrolled {
        padding: 0.6rem 2.5rem;
    }
    .container {
        padding: 0 1.5rem;
    }
    .nav {
        display: none !important;
    }
    .apple-menu-toggle {
        display: block;
    }
    .hero-container {
        grid-template-columns: 1fr;
        gap: 4rem;
        padding-top: 60px;
    }
    .hero-content {
        max-width: 100%;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hero-actions {
        justify-content: center;
    }
    .hero-showcase {
        height: 400px;
        max-width: 500px;
        margin: 0 auto;
    }
    .photo-card {
        width: 260px;
        height: auto;
        left: auto;
    }
    .skills-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .tools-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    .griptape-card {
        grid-column: span 2;
    }
    .studio-logos {
        grid-template-columns: repeat(2, 1fr);
    }
    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .header {
        padding: 0.8rem 1.5rem;
    }
    .header.scrolled {
        padding: 0.6rem 1.5rem;
    }
    .container {
        padding: 0 1rem;
    }
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .stat-card {
        border-right: none;
        border-bottom: 1px solid var(--color-border);
        padding-bottom: 2rem;
    }
    .stat-card:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }
    .skills-grid {
        grid-template-columns: 1fr;
    }
    .tools-grid {
        grid-template-columns: 1fr;
        gap: 1.2rem;
    }
    .tool-card {
        padding: 1.4rem;
        height: auto !important;
        min-height: min-content !important;
        overflow: visible !important;
    }
    .tool-desc {
        white-space: normal !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        text-overflow: clip !important;
        overflow: visible !important;
    }
    .griptape-card {
        grid-column: span 1;
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    .griptape-card .tool-desc {
        max-width: 100%;
    }
    .studio-logos {
        grid-template-columns: 1fr;
    }
    .contact-info {
        flex-direction: column;
        gap: 2.5rem;
    }
    .contact-card {
        padding: 4rem 2rem;
    }
    .footer-container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .gallery-filters {
        flex-wrap: wrap;
        gap: 0.8rem;
    }
    .timeline-container {
        padding-left: 2rem;
    }
    .timeline-container::before {
        left: 10px;
    }
    .timeline-dot {
        left: -2rem;
        transform: translateX(6px);
    }
    .timeline-content {
        padding: 1.8rem;
    }
    .timeline-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    .ticker-box {
        padding: 0.6rem 1.2rem;
        gap: 0.5rem;
        border-radius: 20px;
    }
    .ticker-val {
        font-size: 1rem;
    }
    .ticker-days {
        font-size: 0.75rem;
        margin-left: 0;
        width: 100%;
        text-align: center;
    }
    
    /* Mobile Pipeline Section */
    .pipeline-interactive {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .pipeline-nav {
        flex-direction: row;
        overflow-x: auto;
        padding-bottom: 0.5rem;
        gap: 0.8rem;
        scrollbar-width: thin;
        scrollbar-color: var(--color-primary) transparent;
    }
    .pipeline-step-btn {
        flex-shrink: 0;
        padding: 0.8rem 1.2rem;
        border-left: 1px solid var(--color-border);
        border-top: 3px solid transparent;
        align-items: center;
        gap: 0.1rem;
    }
    .pipeline-step-btn.active {
        border-left-color: var(--color-primary);
        border-top-color: var(--color-primary);
    }
    .step-name {
        font-size: 0.85rem;
    }
    .step-info-card {
        padding: 1rem;
        bottom: 10px;
        left: 10px;
        right: 10px;
    }
    .step-info-title {
        font-size: 0.95rem;
    }
    .step-info-desc {
        font-size: 0.75rem;
        line-height: 1.4;
    }
    
    /* Mobile Hero Showcase overrides */
    .hero-showcase {
        height: 340px;
        margin-top: 2rem;
    }
    .photo-card {
        width: 220px;
        height: auto;
        left: auto;
        top: auto;
    }
}

/* Software & AI Stack Section Styling */
.skills-divider {
    height: 1px;
    width: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 242, 255, 0.15), transparent);
    margin: 6rem 0 3rem 0;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2.2rem;
    margin-top: 3.5rem;
}

.tool-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: 2.2rem;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.griptape-card {
    grid-column: span 3;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.griptape-card .tool-desc {
    margin-top: 0;
    max-width: 70%;
}

.tool-card:hover {
    border-color: var(--color-border-glow);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 242, 255, 0.03);
}

.tool-header {
    display: flex;
    align-items: center;
    gap: 1.2rem;
    margin-bottom: 1.2rem;
}

.tool-logo {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: monospace;
    font-size: 0.95rem;
    font-weight: 900;
    letter-spacing: -0.5px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.tool-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--color-text-main);
}

.tool-desc {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.5;
}

/* Tool Logo & Glow Colors */
.tool-glow {
    position: absolute;
    top: -50px;
    left: -50px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.15;
    transition: opacity 0.3s ease;
}

.tool-card:hover .tool-glow {
    opacity: 0.35;
}

.nuke-logo {
    color: #e6461e;
    background: rgba(230, 70, 30, 0.08);
    border-color: rgba(230, 70, 30, 0.25);
}
.nuke-glow { background-color: #e6461e; }

.silhouette-logo {
    color: #ff0055;
    background: rgba(255, 0, 85, 0.08);
    border-color: rgba(255, 0, 85, 0.25);
}
.silhouette-glow { background-color: #ff0055; }

.adobe-logo {
    color: #1f4eff;
    background: rgba(31, 78, 255, 0.08);
    border-color: rgba(31, 78, 255, 0.25);
}
.adobe-glow { background-color: #1f4eff; }

.linux-logo {
    color: #ffcc00;
    background: rgba(255, 204, 0, 0.08);
    border-color: rgba(255, 204, 0, 0.25);
}
.linux-glow { background-color: #ffcc00; }

.ai-logo {
    color: #9d4edd;
    background: rgba(157, 78, 221, 0.08);
    border-color: rgba(157, 78, 221, 0.25);
}
.ai-glow { background-color: #9d4edd; }

.comfy-logo {
    color: #00f2ff;
    background: rgba(0, 242, 255, 0.08);
    border-color: rgba(0, 242, 255, 0.25);
}
.comfy-glow { background-color: #00f2ff; }

.griptape-logo {
    color: #00ff66;
    background: rgba(0, 255, 102, 0.08);
    border-color: rgba(0, 255, 102, 0.25);
}
.griptape-glow { background-color: #00ff66; }

/* Floating WhatsApp Widget Styling */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 62px;
    height: 62px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.whatsapp-logo-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    filter: drop-shadow(0 4px 12px rgba(37, 211, 102, 0.4));
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.3s ease;
    animation: whatsappBreathing 2.5s infinite ease-in-out;
}

.whatsapp-float:hover .whatsapp-logo-img {
    filter: drop-shadow(0 8px 24px rgba(37, 211, 102, 0.6));
    animation: whatsappRingRing 0.8s ease-in-out infinite;
}

.whatsapp-logo-img-contact {
    width: 20px;
    height: 20px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.whatsapp-val {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem !important;
}

.whatsapp-val:hover .whatsapp-logo-img-contact {
    animation: whatsappRingRing 0.8s ease-in-out;
}

.whatsapp-tooltip {
    position: absolute;
    right: 75px;
    background: rgba(18, 18, 24, 0.95);
    border: 1px solid rgba(37, 211, 102, 0.3);
    color: #fff;
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    font-size: 0.8rem;
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: 1px;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transform: translateX(10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
    transform: translateX(0);
}

/* Wiggle / Ring Ring Logo Animation */
@keyframes whatsappRingRing {
    0% { transform: scale(1.1) rotate(0deg); }
    12% { transform: scale(1.12) rotate(-14deg); }
    24% { transform: scale(1.12) rotate(12deg); }
    36% { transform: scale(1.12) rotate(-10deg); }
    48% { transform: scale(1.12) rotate(8deg); }
    60% { transform: scale(1.12) rotate(-6deg); }
    72% { transform: scale(1.12) rotate(4deg); }
    84% { transform: scale(1.12) rotate(-2deg); }
    96% { transform: scale(1.12) rotate(1deg); }
    100% { transform: scale(1.1) rotate(0deg); }
}

/* Breathing Scale Animation */
@keyframes whatsappBreathing {
    0% { transform: scale(1); }
    50% { transform: scale(1.06); filter: drop-shadow(0 6px 16px rgba(37, 211, 102, 0.5)); }
    100% { transform: scale(1); }
}

/* Performance Optimization Tuning */
.gallery-card, 
.timeline-item, 
.tool-card, 
.showcase-card, 
.whatsapp-float {
    will-change: transform, opacity;
}

.gallery-section, 
.timeline-section, 
.skills-section, 
.pipeline-section {
    content-visibility: auto;
    contain-intrinsic-size: 500px;
}

/* Touch Device UX Improvements */
@media (hover: none) and (pointer: coarse) {
    .custom-cursor,
    .custom-cursor-glow {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .lightbox-close {
        top: 1.2rem;
        right: 1.5rem;
        font-size: 2.5rem;
    }
}

