@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;700&display=swap');

:root {
    /* PODMARK Main Theme Colors */
    --podDark: #0E0516;
    --podPurple: #8b5cf6;
    --podCyan: #38BDF8;
    --podDeepPurple: #1a103c;
    --podGold: #BD9970;

    /* Background Colors */
    --bg-dark: #0E0516;
    --bg-darker: #08040d;
    --bg-panel: rgba(26, 16, 60, 0.3);

    /* Gradients */
    --purple-gradient: linear-gradient(90deg, #8b5cf6 0%, #7C3AED 100%);
    --blue-gradient: linear-gradient(90deg, #38BDF8 0%, #1D4ED8 100%);
    --gold-gradient: linear-gradient(90deg, #BD9970 0%, #8E6F4B 100%);
    --impact-gradient: linear-gradient(180deg, #38BDF8 0%, #1D4ED8 100%);

    /* Text Colors */
    --text-white: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.6);
    --text-dim: rgba(255, 255, 255, 0.3);

    /* Glass Effects */
    --glass: rgba(14, 5, 22, 0.85);
    --glass-border: rgba(255, 255, 255, 0.1);
}

/* Light Theme */
[data-theme="light"] {
    --podDark: #ffffff;
    --bg-dark: #f8f9fa;
    --bg-darker: #e9ecef;
    --bg-panel: rgba(255, 255, 255, 0.9);

    --text-white: #1a1a1a;
    --text-muted: rgba(0, 0, 0, 0.6);
    --text-dim: rgba(0, 0, 0, 0.3);

    --glass: rgba(255, 255, 255, 0.85);
    --glass-border: rgba(0, 0, 0, 0.1);
}

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

html,
body {
    width: 100%;
    overflow-x: hidden;
    position: relative;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--podDark);
    color: var(--text-white);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* === ANIMATED BACKGROUND === */
.animated-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.15;
    pointer-events: none;
    overflow: hidden;
    /* Prevent background orbs from causing horizontal scroll */
}

.bg-gradient-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    animation: floatOrb 25s ease-in-out infinite;
}

.orb-1 {
    width: 700px;
    height: 700px;
    background: var(--podPurple);
    top: -250px;
    right: -250px;
    animation-delay: 0s;
}

.orb-2 {
    width: 600px;
    height: 600px;
    background: var(--podCyan);
    bottom: -200px;
    left: -200px;
    animation-delay: 4s;
}

.orb-3 {
    width: 500px;
    height: 500px;
    background: var(--podGold);
    top: 45%;
    left: 45%;
    transform: translate(-50%, -50%);
    animation-delay: 8s;
}

@keyframes floatOrb {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(80px, -80px) scale(1.05);
    }

    66% {
        transform: translate(-80px, 80px) scale(0.95);
    }
}

/* Grid Pattern Background */
.grid-pattern {
    background-image:
        linear-gradient(rgba(139, 92, 246, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139, 92, 246, 0.05) 1px, transparent 1px);
    background-size: 60px 60px;
}

/* === SCROLLBAR === */
body::-webkit-scrollbar {
    width: 12px;
}

body::-webkit-scrollbar-track {
    background: var(--bg-darker);
    border-left: 1px solid rgba(139, 92, 246, 0.1);
}

body::-webkit-scrollbar-thumb {
    background: var(--purple-gradient);
    border-radius: 10px;
    border: 2px solid var(--bg-darker);
}

body::-webkit-scrollbar-thumb:hover {
    background: var(--blue-gradient);
}

/* === NAVIGATION === */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
    background: transparent;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    border-bottom: 1px solid transparent;
}

.navbar.scrolled {
    padding: 15px 0;
    background: rgba(14, 5, 22, 0.98);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom-color: rgba(139, 92, 246, 0.2);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.nav-logo:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 10px;
    list-style: none;
    align-items: center;
}

.nav-links li a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
    letter-spacing: 0.02em;
    text-transform: capitalize;
    position: relative;
}

.nav-links li a:hover {
    color: var(--podCyan);
    background: rgba(56, 189, 248, 0.1);
}

.nav-links li a.active {
    color: var(--podCyan);
    background: rgba(56, 189, 248, 0.1);
}

.nav-cta {
    background: var(--purple-gradient) !important;
    color: white !important;
    padding: 10px 24px !important;
    border-radius: 6px;
    font-weight: 700;
    margin-left: 10px;
    box-shadow: 0 4px 12px rgba(139, 92, 246, 0.3);
    font-size: 14px;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.5);
}

/* Menu Close Button (hidden on desktop, shown on mobile) */
.menu-close {
    display: none;
}

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    width: 40px;
    height: 40px;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: var(--text-white);
    position: relative;
    transition: all 0.3s ease;
}

.menu-toggle span::before,
.menu-toggle span::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 2px;
    background: var(--text-white);
    transition: all 0.3s ease;
}

.menu-toggle span::before {
    transform: translateY(-6px);
}

.menu-toggle span::after {
    transform: translateY(6px);
}

.menu-toggle.active span {
    background: transparent;
}

.menu-toggle.active span::before {
    transform: rotate(45deg);
}

.menu-toggle.active span::after {
    transform: rotate(-45deg);
}

/* Responsive Nav */
@media (max-width: 991px) {
    .navbar {
        padding: 15px 0;
    }

    .nav-container {
        padding: 0 20px;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(14, 5, 22, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: center;
        gap: 30px;
        transition: all 0.5s ease;
        z-index: -1;
    }

    .nav-links.active {
        right: 0;
    }

    .nav-links li a {
        font-size: 2rem;
        font-weight: 900;
        letter-spacing: -0.02em;
    }

    .nav-cta {
        margin: 0;
        font-size: 1.5rem !important;
        padding: 15px 40px !important;
    }
}


/* === HERO SECTION === */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    position: relative;
    padding: 140px 20px 100px;
    overflow: hidden;
    background: radial-gradient(circle at center, #1a103c 0%, #0E0516 100%);
    /* Deep Purple Gradient */
}

/* Grid Pattern on Hero */
.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(139, 92, 246, 0.05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(139, 92, 246, 0.05) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.3;
    z-index: 0;
}

.floating-icons {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
    opacity: 0.06;
}

.floating-icon {
    position: absolute;
    font-size: 2.5rem;
    color: var(--podPurple);
    animation: floatIcon 22s ease-in-out infinite;
}

.floating-icon:nth-child(1) {
    top: 12%;
    left: 8%;
    animation-delay: 0s;
}

.floating-icon:nth-child(2) {
    top: 18%;
    right: 12%;
    animation-delay: 3s;
}

.floating-icon:nth-child(3) {
    bottom: 25%;
    left: 15%;
    animation-delay: 6s;
}

.floating-icon:nth-child(4) {
    top: 55%;
    right: 20%;
    animation-delay: 9s;
}

.floating-icon:nth-child(5) {
    bottom: 18%;
    right: 8%;
    animation-delay: 12s;
}

.floating-icon:nth-child(6) {
    top: 38%;
    left: 6%;
    animation-delay: 15s;
}

@keyframes floatIcon {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.4;
    }

    50% {
        transform: translateY(-25px) rotate(8deg);
        opacity: 0.7;
    }
}

/* HERO SLIDER */


/* HERO BLOBS */
.hero-blobs {
    position: absolute;
    inset: 0;
    z-index: 1;
    overflow: hidden;
}

.blob {
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    top: 20%;
    left: 40%;
    filter: blur(80px);
    animation: blobFloat 20s infinite alternate ease-in-out;
}

@keyframes blobFloat {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(-10%, 15%) scale(1.1);
    }

    100% {
        transform: translate(15%, -5%) scale(0.9);
    }
}


.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding-top: 100px;
}

/* === PREMIUM HERO BADGE === */
.hero-badge-premium {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 12px 32px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 100px;
    margin-bottom: 40px;
    backdrop-filter: blur(16px);
    box-shadow: 0 0 60px rgba(139, 92, 246, 0.1);
    transition: all 0.5s ease;
    animation: fadeInDown 0.8s ease;
}

.hero-badge-premium:hover {
    border-color: rgba(139, 92, 246, 0.5);
    background: rgba(139, 92, 246, 0.05);
}

.hero-badge-premium .badge-text {
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    background: linear-gradient(90deg, #ffffff, #8b5cf6, #38BDF8);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 10px rgba(255, 255, 255, 0.2));
}

.hero-badge-premium .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    position: relative;
    display: block;
}

.hero-badge-premium .dot::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.dot-purple {
    background: var(--podPurple);
    box-shadow: 0 0 15px var(--podPurple);
}

.dot-purple::after {
    background: var(--podPurple);
}

.dot-cyan {
    background: var(--podCyan);
    box-shadow: 0 0 15px var(--podCyan);
}

.dot-cyan::after {
    background: var(--podCyan);
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    100% {
        transform: scale(3);
        opacity: 0;
    }
}

/* Gradient Glow Text */
.gradient-glow {
    filter: drop-shadow(0 0 30px rgba(56, 189, 248, 0.3));
}

/* Bottom Dots */
.hero-bottom-dots {
    position: absolute;
    bottom: 48px;
    right: 48px;
    display: flex;
    gap: 12px;
    opacity: 0.3;
}

.hero-bottom-dots .dot {
    width: 40px;
    height: 4px;
    border-radius: 4px;
    background: rgba(139, 92, 246, 0.2);
}

.hero-bottom-dots .dot.active {
    background: var(--podPurple);
}

.title-hero {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2.5rem, 8vw, 5rem);
    line-height: 1.1;
    font-weight: 900;
    letter-spacing: -0.04em;
    margin-bottom: 28px;
    color: var(--text-white);
    text-align: center;
    animation: fadeInUp 0.8s ease 0.2s backwards;
}

.gradient-text {
    background: var(--impact-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: inline-block;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 2.2vw, 1.375rem);
    color: var(--text-muted);
    max-width: 720px;
    margin: 0 auto 48px;
    line-height: 1.7;
    font-weight: 400;
    animation: fadeInUp 0.8s ease 0.4s backwards;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

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

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

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

.cta-group {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.6s backwards;
}

.btn {
    padding: 18px 42px;
    border-radius: 100px;
    font-size: 10px;
    font-weight: 900;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
}

.btn-primary {
    background: var(--purple-gradient);
    color: white;
    border: none;
    box-shadow: 0 0 25px rgba(139, 92, 246, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 0 35px rgba(139, 92, 246, 0.6);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--glass-border);
    color: var(--text-white);
}

.btn-outline:hover {
    background: rgba(139, 92, 246, 0.1);
    border-color: var(--podPurple);
    transform: translateY(-3px);
    backdrop-filter: blur(12px);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 28px;
    height: 48px;
    border: 2px solid var(--glass-border);
    border-radius: 24px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
    animation: fadeIn 1s ease 1.2s backwards;
    z-index: 10;
}

.scroll-indicator::before {
    content: '';
    width: 3px;
    height: 8px;
    background: var(--podCyan);
    border-radius: 2px;
    animation: scrollDown 2.5s ease-in-out infinite;
}

/* Side Scroll Indicators */
.side-scroll {
    position: absolute;
    bottom: 50%;
    transform: translateY(50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    z-index: 10;
    opacity: 0.4;
    transition: opacity 0.3s ease;
}

.side-scroll:hover {
    opacity: 1;
}

.side-scroll.left {
    left: 40px;
}

.side-scroll.right {
    right: 40px;
}

.side-scroll span {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.3em;
    color: var(--text-white);
    text-transform: uppercase;
}

.side-scroll .scroll-line {
    width: 1px;
    height: 80px;
    background: linear-gradient(to bottom, var(--podPurple), transparent);
    position: relative;
    overflow: hidden;
}

.side-scroll .scroll-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 30%;
    background: var(--podCyan);
    animation: sideScrollAnim 2s ease-in-out infinite;
}

@keyframes sideScrollAnim {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(400%);
    }
}

@media (max-width: 991px) {
    .side-scroll {
        display: none;
        /* Hide on mobile for cleaner look */
    }
}

@keyframes scrollDown {

    0%,
    100% {
        transform: translateY(0);
        opacity: 0;
    }

    50% {
        transform: translateY(14px);
        opacity: 1;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* === SECTIONS === */
.section {
    padding: 120px 0;
    position: relative;
}

#work {
    background: var(--bg-dark);
}

[data-theme="light"] #work {
    background: #f8f9fa;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4vw;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 100px;
    color: var(--text-white);
    font-size: 10px;
    font-weight: 900;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.4em;
    backdrop-filter: blur(12px);
}

.section-title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    margin-bottom: 24px;
    letter-spacing: -0.04em;
    color: var(--text-white);
}

.section-description {
    font-size: 1.125rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* === CLIENT BLOCKS === */
.client-block {
    margin-bottom: 80px;
    padding: 0;
    background: var(--bg-panel);
    border: 2px solid var(--glass-border);
    border-radius: 24px;
    position: relative;
}

[data-theme="light"] .client-block {
    background: #ffffff;
    border-color: #e5e7eb;
}

/* Client Header - Centered */
.client-header {
    text-align: center;
    padding: 60px 60px 40px 60px;
    border-bottom: 2px solid var(--glass-border);
}

[data-theme="light"] .client-header {
    border-bottom-color: #e5e7eb;
}

.title-client {
    display: inline-block;
    font-size: clamp(2rem, 5vw, 3.5rem); /* Responsive sizing */
    font-weight: 900;
    color: #ffffff;                     /* Clean white font */
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 40px;
    position: relative;
    border-left: none !important;      /* Removes the old side border */
    padding-left: 0 !important;
}
.title-client::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--podCyan);
    margin: 10px auto 0;               /* Centers the underline */
}

[data-theme="dark"] .title-client {
    color: #ffffff;
    background: none;
    -webkit-text-fill-color: #ffffff;
}

.client-desc {
    font-size: 1.0625rem;
    color: var(--text-muted);
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

[data-theme="dark"] .client-desc {
    color: rgba(255, 255, 255, 0.7);
}

/* === CATEGORY === */
.category-block {
    margin: 0;
    padding: 40px;
    background: rgba(0, 0, 0, 0.1);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    margin: 30px;
}

[data-theme="light"] .category-block {
    background: #f8f9fa;
    border-color: #e5e7eb;
}

[data-theme="dark"] .category-block {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.1);
}

.title-category {
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--podCyan) !important;
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
}

[data-theme="dark"] .title-category {
    color: rgba(255, 255, 255, 0.9);
}

.title-category i {
    font-size: 1.2em;
}

/* === PROJECT CARDS (IMPROVED) === */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.gallery-grid.reels {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

/* Reel Card with 9:16 Aspect Ratio */
.gallery-card.reel-card {
    height: 0;
    padding-bottom: 177.78%;
    /* 9:16 aspect ratio (16/9 * 100) */
    position: relative;
}

.gallery-card.reel-card .gallery-media-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Back to full height */
}

.gallery-card.reel-card .card-overlay {
    position: absolute;
    bottom: 20px;
    left: 0;
    width: 100%;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.gallery-grid.posters {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}

/* Poster Card with 4:5 Aspect Ratio */
.gallery-card.poster-card {
    height: 0;
    padding-bottom: 125%;
    /* 4:5 aspect ratio (5/4 * 100) */
    position: relative;
}

.gallery-card.poster-card .gallery-media-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Back to full height */
}

.gallery-card.poster-card .card-overlay {
    position: absolute;
    bottom: 30px;
    left: 0;
    width: 100%;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.gallery-card {
    position: relative;
    background: linear-gradient(145deg, rgba(26, 16, 60, 0.4), rgba(14, 5, 22, 0.4));
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    height: 350px;
    /* Fixed height for consistency */
    box-shadow: none;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

[data-theme="light"] .gallery-card {
    background: #ffffff;
    border-color: #e5e7eb;
    box-shadow: none;
}

.gallery-card:hover {
    border-color: var(--podPurple);
    box-shadow: none;
}

/* Tech/Film Border Effect */
.gallery-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 2px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    z-index: 2;
    pointer-events: none;
}

.gallery-card:hover {
    border-color: var(--podPurple);
    box-shadow: none;
}

.gallery-media-wrapper {
    position: relative;
    width: 100%;
    height: 70%;
    /* Media takes top 70% */
    z-index: 0;
    overflow: hidden;
}

.gallery-card:hover .gallery-media-wrapper {
    transform: none;
}




/* Dark gradient overlay always present for better text readability */
.gallery-media-wrapper::after {
    display: none;
}

.gallery-card:hover .gallery-media-wrapper::after {
    display: none;
}

.gallery-card img,
.gallery-card video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-card:hover img,
.gallery-card:hover video {
    transform: none;
}

.gallery-video-static {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #000;
}

.video-play-hint {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(var(--podPurpleRGB, 123, 72, 255), 0.2);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    z-index: 3;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.8;
}

.gallery-card:hover .video-play-hint {
    transform: translate(-50%, -50%) scale(1.15);
    background: var(--podPurple);
    border-color: var(--podPurple);
    opacity: 1;
    box-shadow: 0 0 30px rgba(123, 72, 255, 0.5);
}

/* Info Overlay */
.card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 30px;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
}

[data-theme="light"] .card-overlay {
    background: linear-gradient(to top, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 0.8) 60%, transparent 100%);
}

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

.project-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 0;
    margin-top: 8px;
    letter-spacing: -0.01em;
    text-transform: uppercase;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.8);
}

.project-meta {
    font-size: 10px;
    color: var(--podCyan);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 8px;
}


/* === ABOUT === */
.section-alt {
    background: linear-gradient(180deg, var(--podDark) 0%, var(--podDeepPurple) 50%, var(--podDark) 100%);
    border-top: 1px solid rgba(139, 92, 246, 0.2);
    border-bottom: 1px solid rgba(139, 92, 246, 0.2);
    position: relative;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-lead {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.75rem, 3.5vw, 2.5rem);
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-white);
    letter-spacing: -0.02em;
}

.about-text {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 24px;
    font-size: 1.0625rem;
}

.about-divider {
    width: 64px;
    height: 3px;
    background: var(--purple-gradient);
    margin: 32px 0;
    border-radius: 2px;
}

/* === FOOTER === */
.footer {
    padding: 120px 0 48px;
    background: var(--bg-darker);
    border-top: 1px solid rgba(139, 92, 246, 0.2);
    position: relative;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 72px;
    margin-bottom: 88px;
}

.footer-brand h2 {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 900;
    color: var(--text-white);
    margin-bottom: 20px;
    letter-spacing: 0.3em;
    text-transform: uppercase;
}

.footer-brand p {
    color: var(--text-muted);
    line-height: 1.8;
    max-width: 420px;
    font-size: 1rem;
}

.footer-head {
    color: var(--text-white);
    font-size: 10px;
    font-weight: 900;
    margin-bottom: 28px;
    text-transform: uppercase;
    letter-spacing: 0.3em;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 16px;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9375rem;
}

.footer-links a:hover {
    color: var(--podCyan);
    transform: translateX(4px);
}

.footer-bottom {
    border-top: 1px solid rgba(139, 92, 246, 0.1);
    padding-top: 48px;
    text-align: center;
}

.footer-bottom p {
    color: var(--text-dim);
    font-size: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}

/* === MODAL === */
.media-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(14, 5, 22, 0.96);
    backdrop-filter: blur(16px);
    z-index: 9999;
    display: none;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.media-modal.active {
    display: flex;
    opacity: 1;
}

.modal-content {
    max-width: 90vw;
    max-height: 90vh;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
    animation: modalZoom 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalZoom {
    from {
        transform: scale(0.92);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .container {
        padding: 0 5vw;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 20px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* === RESPONSIVE === */
    @media (max-width: 1024px) {
        .container {
            padding: 0 5vw;
        }

        .gallery-grid {
            grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
            gap: 20px;
        }

        .about-grid {
            grid-template-columns: 1fr;
            gap: 40px;
        }

        .side-scroll {
            display: none;
        }
    }

    @media (max-width: 768px) {

        /* Critical Fix for Zoom & Width */
        html,
        body {
            overflow-x: hidden;
            width: 100%;
            position: relative;
        }

        .hero,
        .section,
        .footer,
        .navbar {
            width: 100%;
            max-width: 100%;
            overflow-x: hidden;
            margin-left: 0;
            margin-right: 0;
        }

        .container {
            width: 100%;
            max-width: 100%;
            padding: 0 20px;
            margin: 0 auto;
            box-sizing: border-box;
        }

        .title-hero {
            font-size: clamp(2rem, 10vw, 3rem);
            margin-bottom: 20px;
            word-break: break-word;
        }

        .hero-subtitle {
            font-size: 0.95rem;
            margin-bottom: 25px;
            padding: 0 10px;
        }

        .section {
            padding: 80px 0;
            min-height: auto;
            /* Allow content to dictate height but keep it substantial */
        }

        .hero {
            min-height: 100vh;
            padding: 120px 0 60px;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .hero-content {
            width: 100%;
            padding: 0 20px;
        }

        .cta-group {
            flex-direction: column;
            width: 100%;
            gap: 12px;
            padding: 0;
        }

        .btn {
            width: 100%;
            padding: 14px 24px;
            font-size: 14px;
            justify-content: center;
            box-sizing: border-box;
        }

        .nav-links {
            position: fixed;
            top: 0;
            right: -100%;
            width: 100%;
            height: 100vh;
            background: rgba(14, 5, 22, 0.98);
            backdrop-filter: blur(20px);
            flex-direction: column;
            justify-content: center;
            align-items: center;
            gap: 25px;
            transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
            z-index: 2000;
            padding: 60px 40px;
        }

        .nav-links.active {
            right: 0;
        }

        .nav-links li a {
            font-size: 1.8rem;
            font-weight: 800;
            color: #fff;
        }

        .menu-close {
            display: block;
            position: absolute;
            top: 30px;
            right: 30px;
            font-size: 2rem;
            color: #fff;
            cursor: pointer;
            padding: 10px;
            z-index: 2001;
        }

        .about-lead {
            font-size: 1.5rem;
            line-height: 1.3;
            margin-bottom: 20px;
        }

        .about-text {
            font-size: 0.95rem;
            line-height: 1.7;
            margin-bottom: 16px;
        }

        .about-divider {
            margin: 20px 0;
        }

        .client-block {
            width: 100%;
            padding: 0;
            margin-bottom: 40px;
            border-radius: 0;
            border-left: none;
            border-right: none;
        }

        .client-header {
            padding: 40px 20px 30px;
        }

        .title-client {
            font-size: 1.8rem;
        }

        .category-block {
            margin: 15px 0;
            padding: 25px 20px;
            border-radius: 0;
            border-left: none;
            border-right: none;
        }

        .gallery-grid {
            grid-template-columns: 1fr;
            gap: 20px;
            padding: 0 15px 25px;
        }

        .gallery-card {
            height: 400px;
            border-radius: 12px;
        }

        .gallery-card.reel-card {
            padding-bottom: 177.78%;
            /* Maintain 9:16 ratio on mobile */
            height: 0;
        }

        .gallery-card.poster-card {
            padding-bottom: 125%;
            /* Maintain 4:5 ratio on mobile */
            height: 0;
        }

        .footer {
            padding: 80px 0 40px;
        }

        .footer-grid {
            grid-template-columns: 1fr;
            gap: 40px;
            text-align: center;
        }

        .footer-brand p {
            font-size: 0.95rem;
            margin: 0 auto;
        }

        .footer-links a {
            font-size: 0.9rem;
            justify-content: center;
        }

        .footer-bottom p {
            font-size: 0.8rem;
        }

        .project-title {
            font-size: 16px;
        }
    }

    @media (max-width: 480px) {
        .title-hero {
            font-size: 2.22rem;
        }

        .gallery-card {
            height: 350px;
        }

        .gallery-card.reel-card {
            padding-bottom: 177.78%;
            /* Maintain 9:16 ratio on small screens */
            height: 0;
        }

        .gallery-card.poster-card {
            padding-bottom: 125%;
            /* Maintain 4:5 ratio on small screens */
            height: 0;
        }

        .nav-links li a {
            font-size: 1.5rem;
        }
    }
}