/* ===================================================================
   JT Portfolio — Optimized Stylesheet
   All Tailwind utilities compiled + custom styles extracted
   =================================================================== */

/* --- CSS Custom Properties --- */
:root {
    --obsidian: #050505;
    --neon-purple: #A855F7;
    --neon-cyan: #06B6D4;
    --neon-pink: #EC4899;
    --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
    --font-display: 'Outfit', system-ui, sans-serif;
}

/* --- Base Reset & Typography --- */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-sans);
    background-color: var(--obsidian);
    color: #ffffff;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-image: radial-gradient(
        circle 600px at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(168, 85, 247, 0.15),
        transparent 80%
    );
    line-height: 1.5;
    position: relative;
    min-height: 100%;
}

/* Selection */
::selection {
    background-color: var(--neon-cyan);
    color: var(--obsidian);
}

/* --- Custom Cursor (desktop only) --- */
@media (pointer: fine) {
    *, *::before, *::after { cursor: none !important; }
}

#custom-cursor {
    width: 16px; height: 16px;
    background: var(--neon-purple);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    transition: transform 0.15s ease-out, width 0.3s, height 0.3s;
    transform: translate(-50%, -50%);
}
#custom-cursor.hovered {
    width: 48px; height: 48px;
    background: var(--neon-cyan);
    mix-blend-mode: difference;
}
#cursor-trail {
    width: 40px; height: 40px;
    border: 1px solid rgba(168, 85, 247, 0.4);
    border-radius: 50%;
    position: fixed;
    pointer-events: none;
    z-index: 9998;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s;
    transform: translate(-50%, -50%);
}

/* Hide custom cursor on touch */
@media (pointer: coarse) {
    #custom-cursor, #cursor-trail { display: none !important; }
}

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--obsidian); }
::-webkit-scrollbar-thumb { background: #2dd4bf; border-radius: 4px; }

/* --- Glass Morphism --- */
.glass {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* --- Scroll Reveal Animations --- */
.reveal, .reveal-left {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal { transform: translateY(50px) scale(0.95); }
.reveal.active { opacity: 1; transform: translateY(0) scale(1); }
.reveal-left { transform: translateX(-50px); }
.reveal-left.active { opacity: 1; transform: translateX(0); }

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .reveal, .reveal-left {
        opacity: 1;
        transform: none;
        transition: none;
    }
    .shape-blob { animation: none !important; }
    .particle { animation: none !important; display: none; }
    .marquee-track { animation: none !important; }
    .animate-spin-slow { animation: none !important; }
    .animate-pulse { animation: none !important; }
    .animate-bounce { animation: none !important; }
    .animate-ping { animation: none !important; }
    #custom-cursor, #cursor-trail { transition: none; }
}

/* --- Blob Background --- */
.shape-blob {
    position: absolute;
    background: linear-gradient(45deg, var(--neon-purple), var(--neon-cyan));
    filter: blur(80px);
    opacity: 0.4;
    border-radius: 50%;
    z-index: -1;
    animation: morph 8s ease-in-out infinite alternate;
    will-change: border-radius, transform;
}

@keyframes morph {
    0% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; transform: scale(1) rotate(0deg); }
    50% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; transform: scale(1.1) rotate(90deg); }
    100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; transform: scale(1) rotate(180deg); }
}

/* --- Text Gradient --- */
.text-gradient {
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- Video Hover --- */
.hover-video:hover video { transform: scale(1.05); }

/* --- Loader --- */
.slash-text { position: relative; display: inline-block; }
.slash-text::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.8) 50%, transparent 60%);
    background-size: 200% 200%;
    animation: slash 2s linear infinite;
}
@keyframes slash {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* --- Floating Particles --- */
.particle {
    position: absolute;
    width: 4px; height: 4px;
    background: rgba(168, 85, 247, 0.6);
    border-radius: 50%;
    animation: floatParticle linear infinite;
    pointer-events: none;
}
@keyframes floatParticle {
    0% { transform: translateY(0px) translateX(0px); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100vh) translateX(50px); opacity: 0; }
}

/* --- Animated CTA Border --- */
.animated-border {
    position: relative;
    overflow: hidden;
}
.animated-border::before {
    content: '';
    position: absolute;
    inset: 0;
    padding: 2px;
    border-radius: 2rem;
    background: conic-gradient(from var(--angle, 0deg), var(--neon-purple), var(--neon-cyan), var(--neon-pink), var(--neon-purple));
    -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;
    animation: rotateBorder 4s linear infinite;
}
@keyframes rotateBorder {
    to { --angle: 360deg; }
}
@property --angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

/* --- Marquee --- */
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
.marquee-track {
    animation: marquee 20s linear infinite;
}

/* --- Spin animation --- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes ping {
    75%, 100% { transform: scale(2); opacity: 0; }
}

/* ===================================================================
   UTILITY CLASSES (compiled from Tailwind usage)
   =================================================================== */

/* --- Display & Position --- */
.fixed { position: fixed; }
.absolute { position: absolute; }
.relative { position: relative; }
.inset-0 { inset: 0; }
.top-0 { top: 0; }
.bottom-0 { bottom: 0; }
.left-0 { left: 0; }
.right-0 { right: 0; }

/* --- Flexbox --- */
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 0.5rem; column-gap: 0.5rem; }
.gap-3 { gap: 0.75rem; column-gap: 0.75rem; }
.gap-4 { gap: 1rem; column-gap: 1rem; }
.gap-5 { gap: 1.25rem; column-gap: 1.25rem; }
.gap-6 { gap: 1.5rem; column-gap: 1.5rem; }
.gap-8 { gap: 2rem; column-gap: 2rem; }
.gap-12 { gap: 3rem; column-gap: 3rem; }
.gap-16 { gap: 4rem; column-gap: 4rem; }

/* --- Grid --- */
.grid { display: grid; }
.grid-cols-1 { grid-template-columns: repeat(1, minmax(0, 1fr)); }

/* --- Widths & Heights --- */
.w-full { width: 100%; }
.w-fit { width: fit-content; }
.w-0 { width: 0; }
.w-1 { width: 0.25rem; }
.w-1\.5 { width: 0.375rem; }
.w-4 { width: 1rem; }
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.w-7 { width: 1.75rem; }
.w-8 { width: 2rem; }
.w-11 { width: 2.75rem; }
.w-12 { width: 3rem; }
.w-14 { width: 3.5rem; }
.w-16 { width: 4rem; }
.w-20 { width: 5rem; }
.w-48 { width: 12rem; }
.w-64 { width: 16rem; }
.w-80 { width: 20rem; }
.w-96 { width: 24rem; }

.h-full { height: 100%; }
.h-1 { height: 0.25rem; }
.h-1\.5 { height: 0.375rem; }
.h-2 { height: 0.5rem; }
.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-7 { height: 1.75rem; }
.h-8 { height: 2rem; }
.h-11 { height: 2.75rem; }
.h-12 { height: 3rem; }
.h-14 { height: 3.5rem; }
.h-16 { height: 4rem; }
.h-20 { height: 5rem; }
.h-48 { height: 12rem; }
.h-64 { height: 16rem; }
.h-80 { height: 20rem; }
.h-96 { height: 24rem; }

.min-h-screen { min-height: 100vh; }
.max-w-sm { max-width: 24rem; }
.max-w-xs { max-width: 20rem; }
.max-w-md { max-width: 28rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-7xl { max-width: 80rem; }
.max-w-full { max-width: 100%; }
.max-w-screen-2xl { max-width: 1536px; }

/* --- Spacing --- */
.p-2 { padding: 0.5rem; }
.p-4 { padding: 1rem; }
.p-6 { padding: 1.5rem; }
.p-10 { padding: 2.5rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.px-10 { padding-left: 2.5rem; padding-right: 2.5rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-32 { padding-top: 8rem; padding-bottom: 8rem; }
.pt-1\.5 { padding-top: 0.375rem; }
.pt-8 { padding-top: 2rem; }
.pt-20 { padding-top: 5rem; }
.pt-24 { padding-top: 6rem; }
.pb-12 { padding-bottom: 3rem; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-16 { margin-bottom: 4rem; }
.mb-20 { margin-bottom: 5rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.ml-1 { margin-left: 0.25rem; }
.ml-2 { margin-left: 0.5rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* --- Typography --- */
.font-sans { font-family: var(--font-sans); }
.font-display { font-family: var(--font-display); }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-black { font-weight: 900; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; }
.text-6xl { font-size: 3.75rem; line-height: 1; }
.text-7xl { font-size: 4.5rem; line-height: 1; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.uppercase { text-transform: uppercase; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-tighter { letter-spacing: -0.05em; }
.tracking-widest { letter-spacing: 0.1em; }
.leading-none { line-height: 1; }
.leading-relaxed { line-height: 1.625; }
.whitespace-nowrap { white-space: nowrap; }

.text-\[9px\] { font-size: 9px; }
.text-\[10px\] { font-size: 10px; }
.text-\[12vw\] { font-size: 12vw; }
.text-\[30vw\] { font-size: 30vw; }
.tracking-\[0\.2em\] { letter-spacing: 0.2em; }
.tracking-\[0\.3em\] { letter-spacing: 0.3em; }
.leading-\[0\.9\] { line-height: 0.9; }

/* --- Colors --- */
.text-white { color: #ffffff; }
.text-gray-300 { color: #d1d5db; }
.text-gray-400 { color: #9ca3af; }
.text-gray-500 { color: #6b7280; }
.text-gray-600 { color: #4b5563; }
.text-neon-purple { color: var(--neon-purple); }
.text-neon-cyan { color: var(--neon-cyan); }
.text-neon-pink { color: var(--neon-pink); }
.fill-white { fill: #ffffff; }
.fill-current { fill: currentColor; }
.fill-neon-purple { fill: var(--neon-purple); }
.fill-neon-pink { fill: var(--neon-pink); }
.stroke-current { stroke: currentColor; }

.bg-obsidian { background-color: var(--obsidian); }
.bg-black\/95 { background-color: rgba(0, 0, 0, 0.95); }
.bg-white { background-color: #ffffff; }
.bg-white\/5 { background-color: rgba(255, 255, 255, 0.05); }
.bg-white\/10 { background-color: rgba(255, 255, 255, 0.1); }
.bg-white\/60 { background-color: rgba(255, 255, 255, 0.6); }
.bg-neon-purple\/5 { background-color: rgba(168, 85, 247, 0.05); }
.bg-neon-purple\/10 { background-color: rgba(168, 85, 247, 0.1); }
.bg-neon-cyan\/10 { background-color: rgba(6, 182, 212, 0.1); }
.bg-neon-pink\/10 { background-color: rgba(236, 72, 153, 0.1); }

.bg-gradient-to-r { background-image: linear-gradient(to right, var(--tw-gradient-stops)); }
.bg-gradient-to-t { background-image: linear-gradient(to top, var(--tw-gradient-stops)); }
.from-neon-purple { --tw-gradient-from: var(--neon-purple); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }
.via-neon-cyan { --tw-gradient-stops: var(--tw-gradient-from), var(--neon-cyan), var(--tw-gradient-to, transparent); }
.to-neon-pink { --tw-gradient-to: var(--neon-pink); }
.from-neon-pink\/0 { --tw-gradient-from: rgba(236, 72, 153, 0); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }
.via-neon-pink\/10 { --tw-gradient-stops: var(--tw-gradient-from), rgba(236, 72, 153, 0.1), var(--tw-gradient-to, transparent); }
.to-neon-pink\/0 { --tw-gradient-to: rgba(236, 72, 153, 0); }
.from-obsidian { --tw-gradient-from: var(--obsidian); --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }
.via-transparent { --tw-gradient-stops: var(--tw-gradient-from), transparent, var(--tw-gradient-to, transparent); }
.to-transparent { --tw-gradient-to: transparent; }
.from-transparent { --tw-gradient-from: transparent; --tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to, transparent); }
.via-white\/5 { --tw-gradient-stops: var(--tw-gradient-from), rgba(255,255,255,0.05), var(--tw-gradient-to, transparent); }
.via-neon-purple\/10 { --tw-gradient-stops: var(--tw-gradient-from), rgba(168,85,247,0.1), var(--tw-gradient-to, transparent); }
.via-neon-pink\/10-2 { --tw-gradient-stops: var(--tw-gradient-from), rgba(236,72,153,0.1), var(--tw-gradient-to, transparent); }

/* --- Borders --- */
.border { border-width: 1px; border-style: solid; }
.border-2 { border-width: 2px; border-style: solid; }
.border-t { border-top-width: 1px; border-top-style: solid; }
.border-b-0 { border-bottom-width: 0; }
.border-x-0 { border-left-width: 0; border-right-width: 0; }
.border-t-0 { border-top-width: 0; }
.border-white\/5 { border-color: rgba(255, 255, 255, 0.05); }
.border-white\/10 { border-color: rgba(255, 255, 255, 0.1); }
.border-white\/20 { border-color: rgba(255, 255, 255, 0.2); }
.border-neon-purple\/20 { border-color: rgba(168, 85, 247, 0.2); }
.border-neon-cyan\/20 { border-color: rgba(6, 182, 212, 0.2); }
.border-neon-pink\/20 { border-color: rgba(236, 72, 153, 0.2); }

/* --- Border Radius --- */
.rounded-full { border-radius: 9999px; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-3xl { border-radius: 1.5rem; }
.rounded-\[1\.5rem\] { border-radius: 1.5rem; }
.rounded-\[2rem\] { border-radius: 2rem; }

/* --- Effects & Filters --- */
.overflow-hidden { overflow: hidden; }
.overflow-x-hidden { overflow-x: hidden; }
.object-cover { object-fit: cover; }
.opacity-0 { opacity: 0; }
.opacity-50 { opacity: 0.5; }
.backdrop-blur-sm { backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.backdrop-blur-md { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.backdrop-blur-2xl { backdrop-filter: blur(40px); -webkit-backdrop-filter: blur(40px); }
.mix-blend-difference { mix-blend-mode: difference; }
.pointer-events-none { pointer-events: none; }
.select-none { user-select: none; }
.cursor-pointer { cursor: pointer; }

/* --- Transforms --- */
.transform { transform: var(--tw-transform); }
.-translate-x-1\/2 { transform: translateX(-50%); }
.-translate-y-1\/2 { transform: translateY(-50%); }
.scale-50 { transform: scale(0.5); }
.scale-95 { transform: scale(0.95); }
.scale-100 { transform: scale(1); }

/* --- Transitions --- */
.transition-all { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-colors { transition-property: color, background-color, border-color; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-opacity { transition-property: opacity; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-transform { transition-property: transform; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.duration-150 { transition-duration: 150ms; }
.duration-300 { transition-duration: 300ms; }
.duration-500 { transition-duration: 500ms; }
.duration-700 { transition-duration: 700ms; }
.duration-1000 { transition-duration: 1000ms; }
.delay-100 { transition-delay: 100ms; }

/* --- Z-index --- */
.z-10 { z-index: 10; }
.z-\[100\] { z-index: 100; }
.z-\[150\] { z-index: 150; }
.z-\[200\] { z-index: 200; }

/* --- Animations --- */
.animate-spin-slow { animation: spin 12s linear infinite; }
.animate-ping-slow { animation: ping 3s cubic-bezier(0, 0, 0.2, 1) infinite; }
.animate-pulse { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }
.animate-bounce { animation: bounce 1s infinite; }
@keyframes bounce {
    0%, 100% { transform: translateY(-25%); animation-timing-function: cubic-bezier(0.8,0,1,1); }
    50% { transform: translateY(0); animation-timing-function: cubic-bezier(0,0,0.2,1); }
}
.animate-ping { animation: ping 1s cubic-bezier(0, 0, 0.2, 1) infinite; }

/* --- Aspect Ratios --- */
.aspect-video { aspect-ratio: 16 / 9; }
.aspect-\[9\/16\] { aspect-ratio: 9 / 16; }

/* --- Columns (Masonry) --- */
.columns-1 { column-count: 1; }
.space-y-5 > :not(:first-child) { margin-top: 1.25rem; }
.space-y-6 > :not(:first-child) { margin-top: 1.5rem; }
.break-inside-avoid { break-inside: avoid; }
.clear-both { clear: both; }

/* --- Specific one-off utilities --- */
.left-1\/2 { left: 50%; }
.left-1\/4 { left: 25%; }
.origin-top { transform-origin: top; }

/* ===================================================================
   RESPONSIVE (md: 768px+)
   =================================================================== */
@media (min-width: 768px) {
    .md\:flex { display: flex; }
    .md\:hidden { display: none; }
    .md\:block { display: block; }
    .md\:flex-row { flex-direction: row; }
    .md\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .md\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
    .md\:col-span-2 { grid-column: span 2 / span 2; }
    .md\:col-span-3 { grid-column: span 3 / span 3; }
    .md\:px-12 { padding-left: 3rem; padding-right: 3rem; }
    .md\:p-14 { padding: 3.5rem; }
    .md\:text-left { text-align: left; }
    .md\:text-right { text-align: right; }
    .md\:text-7xl { font-size: 4.5rem; line-height: 1; }
    .md\:text-8xl { font-size: 6rem; line-height: 1; }
    .md\:text-9xl { font-size: 8rem; line-height: 1; }
    .md\:text-6xl { font-size: 3.75rem; line-height: 1; }
    .md\:text-xl { font-size: 1.25rem; line-height: 1.75rem; }
    .md\:text-\[8rem\] { font-size: 8rem; }
    .md\:float-right { float: right; }
    .md\:gap-32 { gap: 8rem; }
    .md\:top-10 { top: 2.5rem; }
    .md\:right-10 { right: 2.5rem; }
    .md\:columns-2 { column-count: 2; }
}

@media (min-width: 1024px) {
    .lg\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .lg\:columns-3 { column-count: 3; }
}

/* ===================================================================
   HOVER STATES (group-hover, hover:, etc.)
   =================================================================== */
.group:hover .group-hover\:opacity-100 { opacity: 1; }
.group:hover .group-hover\:opacity-0 { opacity: 0; }
.group:hover .group-hover\:scale-100 { transform: scale(1); }
.group:hover .group-hover\:scale-110 { transform: scale(1.1); }
.group:hover .group-hover\:translate-y-0 { transform: translateY(0); }

.hover\:text-white:hover { color: #ffffff; }
.hover\:text-neon-cyan:hover { color: var(--neon-cyan); }
.hover\:text-neon-purple:hover { color: var(--neon-purple); }
.hover\:text-neon-pink:hover { color: var(--neon-pink); }
.hover\:scale-105:hover { transform: scale(1.05); }
.hover\:scale-110:hover { transform: scale(1.1); }
.hover\:-translate-y-1:hover { transform: translateY(-0.25rem); }
.hover\:-translate-y-2:hover { transform: translateY(-0.5rem); }
.hover\:-translate-y-4:hover { transform: translateY(-1rem); }
.hover\:rotate-90:hover { transform: rotate(90deg); }
.hover\:border-white\/20:hover { border-color: rgba(255, 255, 255, 0.2); }
.hover\:border-white\/30:hover { border-color: rgba(255, 255, 255, 0.3); }
.hover\:border-neon-purple:hover { border-color: var(--neon-purple); }
.hover\:border-neon-cyan:hover { border-color: var(--neon-cyan); }
.hover\:border-neon-purple\/30:hover { border-color: rgba(168, 85, 247, 0.3); }
.hover\:border-neon-pink\/30:hover { border-color: rgba(236, 72, 153, 0.3); }

/* Group-hover for sub-groups */
.group\/tool:hover .group-hover\/tool\:text-white { color: #ffffff; }
.group\/tool:hover .group-hover\/tool\:shadow-purple { box-shadow: 0 0 15px rgba(153,153,255,0.5); }
.group\/tool:hover .group-hover\/tool\:shadow-blue { box-shadow: 0 0 15px rgba(49,168,255,0.5); }
.group\/tool:hover .group-hover\/tool\:shadow-orange { box-shadow: 0 0 15px rgba(232,86,42,0.5); }

.group:hover .group-hover\:bg-neon-purple\/20 { background-color: rgba(168, 85, 247, 0.2); }
.group:hover .group-hover\:bg-neon-cyan\/20 { background-color: rgba(6, 182, 212, 0.2); }

/* ===================================================================
   MOBILE HAMBURGER MENU
   =================================================================== */
.mobile-menu {
    position: fixed;
    inset: 0;
    z-index: 99;
    background: rgba(5, 5, 5, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}
.mobile-menu.open {
    opacity: 1;
    pointer-events: auto;
}
.mobile-menu a {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 2rem;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: -0.02em;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.4s ease, transform 0.4s ease, color 0.2s;
}
.mobile-menu.open a {
    opacity: 1;
    transform: translateY(0);
}
.mobile-menu a:nth-child(1) { transition-delay: 0.1s; }
.mobile-menu a:nth-child(2) { transition-delay: 0.15s; }
.mobile-menu a:nth-child(3) { transition-delay: 0.2s; }
.mobile-menu a:nth-child(4) { transition-delay: 0.25s; }
.mobile-menu a:nth-child(5) { transition-delay: 0.3s; }
.mobile-menu a:nth-child(6) { transition-delay: 0.35s; }
.mobile-menu a:hover { color: var(--neon-cyan); }

#hamburger-btn {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    padding: 8px;
    z-index: 101;
    cursor: pointer;
}
#hamburger-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    transition: all 0.3s ease;
    border-radius: 2px;
}
#hamburger-btn.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
#hamburger-btn.active span:nth-child(2) {
    opacity: 0;
}
#hamburger-btn.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media (min-width: 768px) {
    #hamburger-btn { display: none; }
    .mobile-menu { display: none; }
}

/* --- Shadow utilities --- */
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1); }

/* --- Video modal responsive --- */
.max-h-\[90vh\] { max-height: 90vh; }
.max-h-\[85vh\] { max-height: 85vh; }

/* --- Image/thumbnail hover transform --- */
.group:hover .group-hover\:scale-\[1\.03\] { transform: scale(1.03); }

/* --- Misc needed utilities --- */
.top-6 { top: 1.5rem; }
.right-6 { right: 1.5rem; }
.bottom-10 { bottom: 2.5rem; }
.bottom-12 { bottom: 3rem; }
