/* ==========================================================================
   3DAVE VISUALS - CORE STYLES & DESIGN SYSTEM
   ========================================================================== */

/* Design Tokens & Theme Variables */
:root {
    --bg-dark: #05030a;
    --bg-card: rgba(13, 8, 25, 0.45);
    --bg-card-hover: rgba(22, 14, 42, 0.7);
    --primary: #aa6bfa;       /* Aurora Purple */
    --primary-rgb: 170, 107, 250;
    --secondary: #00f2fe;     /* Cyber Cyan */
    --secondary-rgb: 0, 242, 254;
    --accent-gold: #e2ba6e;   /* Metallic gold contour from brand logo */
    --accent-gold-rgb: 226, 186, 110;
    --accent-copper: #e2977a; /* Elegant warm copper from the banner */
    --accent-copper-rgb: 226, 151, 122;
    --text-white: #f5f3fa;
    --text-muted: #958fa3;
    --border-glass: rgba(170, 107, 250, 0.15);
    --border-glass-active: rgba(0, 242, 254, 0.4);
    --font-primary: 'Inter', system-ui, -apple-system, sans-serif;
    --font-display: 'Orbitron', sans-serif;
    
    --glow-primary: 0 0 25px rgba(170, 107, 250, 0.35);
    --glow-secondary: 0 0 25px rgba(0, 242, 254, 0.4);
    --glow-copper: 0 0 25px rgba(226, 151, 122, 0.4);
    --gradient-copper-gold: linear-gradient(135deg, var(--accent-copper) 0%, var(--accent-gold) 100%);
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-bounce: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-dark);
}

body {
    font-family: var(--font-primary);
    background-color: transparent;
    color: var(--text-white);
    overflow-x: hidden;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    position: relative;
    z-index: 1;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #080512;
}

::-webkit-scrollbar-thumb {
    background: rgba(170, 107, 250, 0.3);
    border-radius: 4px;
    border: 2px solid #080512;
    transition: var(--transition-smooth);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
    box-shadow: var(--glow-primary);
}

/* ==========================================================================
   AMBIENT COSMIC BACKGROUND
   ========================================================================== */
.cosmic-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    background: radial-gradient(circle at 50% 50%, #0c081d 0%, #05030a 100%);
    overflow: hidden;
}

#particles-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.parallax-bg-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    will-change: transform;
}

.nebula-purple {
    position: absolute;
    top: -20%;
    right: -10%;
    width: 80vw;
    height: 80vw;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(170, 107, 250, 0.12) 0%, rgba(13, 8, 25, 0) 70%);
    filter: blur(100px);
    animation: floatingOrb 25s infinite alternate ease-in-out;
}

.nebula-blue {
    position: absolute;
    bottom: -15%;
    left: -10%;
    width: 70vw;
    height: 70vw;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.08) 0%, rgba(5, 3, 10, 0) 70%);
    filter: blur(80px);
    animation: floatingOrb 30s infinite alternate-reverse ease-in-out;
}

.ambient-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(170, 107, 250, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(170, 107, 250, 0.02) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(circle, rgba(0,0,0,1) 30%, rgba(0,0,0,0) 80%);
    -webkit-mask-image: radial-gradient(circle, rgba(0,0,0,1) 30%, rgba(0,0,0,0) 80%);
    opacity: 0.6;
}

@keyframes floatingOrb {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(3vw, -4vh) scale(1.1); }
    100% { transform: translate(-2vw, 3vh) scale(0.9); }
}

/* ==========================================================================
   LIQUID DYNAMIC GLOW CURSOR
   ========================================================================== */
.custom-cursor {
    width: 10px;
    height: 10px;
    background-color: var(--secondary);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 1000000;
    box-shadow: 0 0 10px var(--secondary);
    transition: width 0.2s, height 0.2s, background-color 0.3s;
}

.custom-cursor-glow {
    width: 40px;
    height: 40px;
    border: 1.5px solid var(--primary);
    border-radius: 50%;
    position: fixed;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 999999;
    transition: transform 0.08s ease-out, width 0.2s, height 0.2s, border-color 0.3s, opacity 0.25s ease-in-out;
}

/* Hide custom cursor during active Drag and Drop to avoid dual-cursor visuals */
body.hud-dragging-active .custom-cursor,
body.hud-dragging-active .custom-cursor-glow {
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Custom Cursor Fade during native controls hover to avoid duplicate cursors */
body.native-controls-hover .custom-cursor,
body.native-controls-hover .custom-cursor-glow {
    opacity: 0 !important;
    pointer-events: none !important;
    transition: opacity 0.15s ease-in-out;
}

/* Explicit native cursor restoration when native controls hover is active */
@media (pointer: fine) {
    body.native-controls-hover,
    body.native-controls-hover *,
    body.native-controls-hover iframe {
        cursor: auto !important;
    }
}

/* Hover modifications */
body.hover-interactive .custom-cursor {
    width: 25px;
    height: 25px;
    background-color: rgba(var(--secondary-rgb), 0.2);
    border: 1px solid var(--secondary);
    box-shadow: none;
}

body.hover-interactive .custom-cursor-glow {
    width: 60px;
    height: 60px;
    border-color: var(--secondary);
    box-shadow: var(--glow-secondary);
}

body.hover-view .custom-cursor::after {
    content: 'VIEW';
    font-family: var(--font-display);
    font-size: 8px;
    color: var(--bg-dark);
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

body.hover-view .custom-cursor {
    width: 50px;
    height: 50px;
    background-color: var(--secondary);
    box-shadow: var(--glow-secondary);
}

body.hover-view .custom-cursor-glow {
    width: 70px;
    height: 70px;
    border-color: var(--secondary);
}

/* Hiding default cursor in devices supporting custom hover shapes */
@media (pointer: fine) {
    body, a, button, input, textarea {
        cursor: none !important;
    }
}
@media (pointer: coarse) {
    .custom-cursor, .custom-cursor-glow {
        display: none !important;
    }
}

/* Transparent overlay shield that covers the iframe during video playback, 
   ensuring mousemove events are captured on the parent page so the custom cursor never freezes. */
.lightbox-iframe-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 80;
    background: transparent;
    pointer-events: none; /* Deactivated at first */
    transition: height 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
}

body.video-playing .lightbox-iframe-overlay {
    pointer-events: auto; /* Active when video starts */
    cursor: none !important;
}

/* Unified Custom Video Controls Bar */
.lightbox-custom-controls {
    position: absolute;
    bottom: 24px;
    left: 24px;
    right: 24px;
    height: 52px;
    background: rgba(10, 10, 10, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    z-index: 100;
    display: flex;
    align-items: center;
    padding: 0 18px;
    gap: 16px;
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity 0.35s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    cursor: none !important;
}

/* Make controls visible when active or wrapper is hovered */
.lightbox-media-wrapper:hover .lightbox-custom-controls,
.lightbox-custom-controls.active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

/* Hide control bar completely when video is not actively streaming */
body:not(.video-playing) .lightbox-custom-controls {
    display: none !important;
}

/* Custom Controls Buttons */
.custom-control-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    padding: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease, transform 0.2s ease;
    cursor: none !important;
}
.custom-control-btn:hover {
    color: #ffffff;
    transform: scale(1.1);
}

/* Dragging timeline container */
.custom-timeline-container {
    flex-grow: 1;
    height: 18px;
    display: flex;
    align-items: center;
    cursor: none !important;
}
.custom-timeline-rail {
    position: relative;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 2px;
    transition: height 0.2s ease;
}
.custom-timeline-container:hover .custom-timeline-rail {
    height: 6px;
}
.custom-timeline-buffer,
.custom-timeline-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    border-radius: 2px;
    width: 0%;
}
.custom-timeline-buffer {
    background: rgba(255, 255, 255, 0.25);
    transition: width 0.1s linear;
}
.custom-timeline-progress {
    background: linear-gradient(90deg, var(--secondary), var(--primary));
    box-shadow: 0 0 10px rgba(var(--secondary-rgb), 0.5);
}

/* Custom timeline thumb handle */
.custom-timeline-handle {
    position: absolute;
    top: 50%;
    width: 12px;
    height: 12px;
    background: #ffffff;
    border-radius: 50%;
    transform: translate(-50%, -50%) scale(0);
    box-shadow: 0 0 8px var(--secondary);
    transition: transform 0.2s ease;
}
.custom-timeline-container:hover .custom-timeline-handle {
    transform: translate(-50%, -50%) scale(1);
}

/* Time Display */
.custom-time-display {
    font-family: var(--font-mono), monospace;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    white-space: nowrap;
    user-select: none;
}
.custom-time-separator {
    margin: 0 3px;
    color: rgba(255, 255, 255, 0.3);
}

/* Volume Control */
.custom-volume-container {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: none !important;
}
.custom-volume-slider-container {
    width: 0;
    height: 18px;
    display: flex;
    align-items: center;
    overflow: hidden;
    transition: width 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.custom-volume-container:hover .custom-volume-slider-container {
    width: 70px;
}
.custom-volume-rail {
    position: relative;
    width: 60px;
    height: 4px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 2px;
}
.custom-volume-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: #ffffff;
    border-radius: 2px;
    width: 80%; /* Default volume */
}
.custom-volume-handle {
    position: absolute;
    top: 50%;
    left: 80%;
    width: 10px;
    height: 10px;
    background: #ffffff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Portrait aspect ratio adjustments to prevent custom video controls overflow and keep them perfectly centered and aligned with the vertical video width (even in fullscreen on PC!) */
.lightbox-media-wrapper.media-portrait .lightbox-custom-controls {
    left: 50% !important;
    right: auto !important;
    bottom: 24px !important;
    width: 90% !important;
    max-width: 410px !important; /* Constrains controls to the exact column width of the vertical video while fitting all items */
    transform: translateX(-50%) translateY(12px) !important; /* Center horizontally + slide down */
    gap: 12px !important;
    padding: 0 14px !important;
}

/* Maintain hover slide-up animation with centering transform */
.lightbox-media-wrapper.media-portrait:hover .lightbox-custom-controls,
.lightbox-media-wrapper.media-portrait .lightbox-custom-controls.active {
    transform: translateX(-50%) translateY(0) !important;
}

/* Ensure the inactive slide animation on portrait vertical videos maintains translateX(-50%) centering to prevent diagonal drift */
body.user-inactive #lightbox .lightbox-media-wrapper.media-portrait .lightbox-custom-controls {
    transform: translateX(-50%) translateY(18px) !important;
}

/* Advanced responsive adjustments for custom controls inside narrow vertical layout containers */
@container (max-width: 380px) {
    .lightbox-media-wrapper.media-portrait .lightbox-custom-controls {
        gap: 6px !important;
        padding: 0 8px !important;
    }
    /* Hide total time and separator to free up 50px of horizontal space for fluid progress bar shrinking */
    .lightbox-media-wrapper.media-portrait .custom-time-separator,
    .lightbox-media-wrapper.media-portrait #custom-time-total {
        display: none !important;
    }
    .lightbox-media-wrapper.media-portrait .custom-time-display {
        font-size: 11px !important;
    }
    /* Guarantee that the progress bar timeline is always visible and holds enough space to shrink fluidly */
    .lightbox-media-wrapper.media-portrait .custom-timeline-container {
        min-width: 45px !important;
        flex-grow: 1 !important;
    }
    /* Restrict volume slider track expansion to 40px instead of 70px to fit perfectly on hover */
    .lightbox-media-wrapper.media-portrait .custom-volume-slider-container {
        width: 0 !important;
        transition: width 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    }
    .lightbox-media-wrapper.media-portrait .custom-volume-container:hover .custom-volume-slider-container {
        width: 40px !important;
    }
}

/* ==========================================================================
   QUEST 3 SPECIFIC OVERRIDES
   Only applied when body has .quest-device class (Meta Quest headset detected)
   ========================================================================== */

/* On Quest portrait videos: hide time display to reclaim space, then allow the
   timeline bar to shrink fluidly when the volume slider expands on laser hover */
body.quest-device .lightbox-media-wrapper.media-portrait .custom-time-display {
    display: none !important;
}
body.quest-device .lightbox-media-wrapper.media-portrait .custom-time-separator {
    display: none !important;
}
body.quest-device .lightbox-media-wrapper.media-portrait .custom-timeline-container {
    min-width: 40px !important;
    flex: 1 1 auto !important; /* Allow the timeline to shrink when volume slider expands */
}
body.quest-device .lightbox-media-wrapper.media-portrait .custom-volume-slider-container {
    width: 0 !important;
    overflow: hidden !important;
    transition: width 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}
body.quest-device .lightbox-media-wrapper.media-portrait .custom-volume-container:hover .custom-volume-slider-container {
    width: 35px !important;
}
body.quest-device .lightbox-media-wrapper.media-portrait .lightbox-custom-controls {
    gap: 6px !important;
    padding: 0 8px !important;
}

/* Prevent native controls cursor overrides */
.lightbox-native-video {
    cursor: none !important;
}

/* Fullscreen Conformance styling */
.lightbox-media-wrapper:-webkit-full-screen {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    aspect-ratio: auto !important; /* Overrides portrait/square aspect ratio locks in fullscreen */
    background: #000 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}
.lightbox-media-wrapper:fullscreen {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    aspect-ratio: auto !important; /* Overrides portrait/square aspect ratio locks in fullscreen */
    background: #000 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* WebVR Conformance / Quest 3 Pseudo-Fullscreen Cinematic Theater Mode */
#lightbox.pseudo-fullscreen .lightbox-info {
    display: none !important;
}

#lightbox.pseudo-fullscreen .lightbox-media-area {
    width: 100% !important;
    max-width: 100% !important;
    height: 100% !important;
    flex: 1 1 100% !important;
}

#lightbox.pseudo-fullscreen .lightbox-media-wrapper {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    background: #000 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* ==========================================================================
   TYPOGRAPHY & UTILITIES
   ========================================================================== */
h1, h2, h3, h4 {
    font-family: var(--font-display);
    color: var(--text-white);
    letter-spacing: 1px;
}

p {
    font-family: var(--font-primary);
    color: var(--text-muted);
}

.accent-text {
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 20px;
}

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

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    text-transform: uppercase;
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary), var(--primary));
    border-radius: 2px;
}

.section-subtitle {
    margin-top: 15px;
    font-size: 1.1rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 5px;
    border: none;
    letter-spacing: 1px;
    transition: var(--transition-bounce);
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #7e3ff2 100%);
    color: var(--text-white);
    box-shadow: var(--glow-primary);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 35px rgba(170, 107, 250, 0.6);
}

.btn-outline {
    background: transparent;
    border: 1px solid var(--border-glass-active);
    color: var(--text-white);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: rgba(0, 242, 254, 0.1);
    border-color: var(--secondary);
    box-shadow: var(--glow-secondary);
    transform: translateY(-3px);
}

/* ==========================================================================
   GLASSMORPHIC HEADER & NAVIGATION
   ========================================================================== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(5, 3, 10, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-glass);
    transition: var(--transition-smooth);
}

.main-header.scrolled {
    padding: 10px 0;
    background: rgba(5, 3, 10, 0.9);
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 12px;
}

.logo-img-compact {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    border: 1px solid rgba(var(--accent-gold-rgb), 0.3);
    object-fit: cover;
    box-shadow: 0 0 15px rgba(var(--accent-gold-rgb), 0.1);
    transition: var(--transition-bounce);
}

.logo-link:hover .logo-img-compact {
    transform: rotate(15deg) scale(1.1);
    border-color: var(--accent-gold);
    box-shadow: 0 0 20px rgba(var(--accent-gold-rgb), 0.4);
}

.logo-text {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--text-white);
    text-transform: uppercase;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-item {
    text-decoration: none;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    position: relative;
    padding: 6px 0;
    transition: var(--transition-smooth);
}

.nav-item:hover, .nav-item.active {
    color: var(--text-white);
}

.nav-item::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary), var(--primary));
    transition: var(--transition-smooth);
}

.nav-item:hover::after, .nav-item.active::after {
    width: 100%;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.lang-btn {
    background: rgba(170, 107, 250, 0.1);
    border: 1px solid var(--border-glass);
    color: var(--text-white);
    padding: 6px 12px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.8rem;
    border-radius: 4px;
    transition: var(--transition-smooth);
}

.lang-btn:hover {
    background: var(--primary);
    box-shadow: var(--glow-primary);
    border-color: var(--primary);
}

.mobile-nav-toggle {
    display: none;
    background: transparent;
    border: none;
    flex-direction: column;
    gap: 6px;
    padding: 5px;
}

.mobile-nav-toggle .bar {
    width: 24px;
    height: 2px;
    background-color: var(--text-white);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

/* Mobile Nav Toggle states */
.mobile-nav-toggle.open .bar:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}
.mobile-nav-toggle.open .bar:nth-child(2) {
    opacity: 0;
}
.mobile-nav-toggle.open .bar:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 75%;
    max-width: 320px;
    height: 100vh;
    background: rgba(5, 3, 10, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid var(--border-glass);
    z-index: 999;
    padding: 120px 40px;
    transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.mobile-menu.open {
    right: 0;
}

.mobile-nav-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    list-style: none;
}

.mobile-nav-item {
    text-decoration: none;
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    transition: var(--transition-smooth);
}

.mobile-nav-item:hover {
    color: var(--secondary);
    padding-left: 10px;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 120px 20px 80px;
    text-align: center;
    overflow: hidden;
}

.hero-container {
    position: relative;
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    z-index: 10;
}

.hero-logo-wrapper {
    position: relative;
    width: 100%;
    max-width: 740px;
    background: transparent;
    border: none;
    border-radius: 0;
    padding: 10px 0;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    box-shadow: none;
    animation: floatingLogo 6s infinite ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo-banner {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 calc(var(--logo-glow-factor, 1) * 22px) rgba(226, 186, 110, calc(0.18 + var(--logo-glow-factor, 1) * 0.27)))
            drop-shadow(0 0 calc(var(--logo-glow-factor, 1) * 50px) rgba(170, 107, 250, calc(0.08 + var(--logo-glow-factor, 1) * 0.17)));
    transition: transform 0.3s ease;
}

.hero-logo-wrapper::after {
    content: '';
    display: none;
}

@keyframes floatingLogo {
    0% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
    100% { transform: translateY(0); }
}

/* Banner Ticker Line from client banner */
.banner-ticker-line {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 740px;
    margin: 40px auto 10px;
    gap: 20px;
}

.ticker-side-line {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(226, 151, 122, 0.5) 50%, rgba(226, 186, 110, 0.8) 100%);
    box-shadow: 0 0 8px rgba(226, 151, 122, 0.5);
}

.ticker-side-line:last-child {
    background: linear-gradient(90deg, rgba(226, 186, 110, 0.8) 0%, rgba(226, 151, 122, 0.5) 50%, transparent 100%);
}

.ticker-text {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--accent-copper);
    letter-spacing: 4px;
    text-shadow: 0 0 10px rgba(226, 151, 122, 0.35);
    white-space: nowrap;
    text-transform: uppercase;
}

.cyber-badge {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(170, 107, 250, 0.08);
    border: 1px solid var(--border-glass);
    padding: 6px 16px;
    border-radius: 20px;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--primary);
    text-transform: uppercase;
    margin-bottom: 10px;
    box-shadow: 0 0 10px rgba(var(--primary-rgb), 0.05);
}

.badge-dot {
    width: 6px;
    height: 6px;
    background-color: var(--secondary);
    border-radius: 50%;
    box-shadow: var(--glow-secondary);
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 0.3; }
    50% { opacity: 1; }
    100% { opacity: 0.3; }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 900;
    text-transform: uppercase;
    line-height: 1.1;
    background: linear-gradient(135deg, var(--text-white) 30%, var(--primary) 70%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.15rem;
    max-width: 720px;
    margin: 0 auto;
    color: var(--text-muted);
}

.hero-actions-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    opacity: 0.7;
    transition: var(--transition-smooth);
}

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

.mouse-icon {
    width: 24px;
    height: 40px;
    border: 2px solid var(--text-muted);
    border-radius: 12px;
    position: relative;
}

.mouse-icon .wheel {
    width: 4px;
    height: 8px;
    background-color: var(--secondary);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scrollWheel 2s infinite ease-in-out;
}

.scroll-text {
    font-family: var(--font-display);
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
}

@keyframes scrollWheel {
    0% { transform: translate(-50%, 0); opacity: 1; }
    50% { transform: translate(-50%, 8px); opacity: 0.3; }
    100% { transform: translate(-50%, 0); opacity: 1; }
}

/* ==========================================================================
   PORTFOLIO SHOWCASE SECTION
   ========================================================================== */
.showcase-section {
    background-color: transparent;
    position: relative;
    border-top: 1px solid rgba(var(--primary-rgb), 0.05);
    border-bottom: 1px solid rgba(var(--primary-rgb), 0.05);
}

.filter-tabs {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 45px;
}

.filter-btn {
    background: rgba(13, 8, 25, 0.4);
    border: 1px solid var(--border-glass);
    padding: 10px 22px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--text-muted);
    border-radius: 30px;
    text-transform: uppercase;
    transition: var(--transition-smooth);
}

.filter-btn:hover, .filter-btn.active {
    color: var(--text-white);
    border-color: var(--secondary);
    background: rgba(0, 242, 254, 0.05);
    box-shadow: 0 0 15px rgba(var(--secondary-rgb), 0.15);
}

/* Portfolio Cards Grid */
.showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    grid-auto-flow: dense; /* Enables masonry packing */
}

.showcase-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background-color: var(--bg-card);
    border: 1px solid var(--border-glass);
    transition: transform 0.1s ease-out, box-shadow 0.3s;
    transform-style: preserve-3d;
    perspective: 1000px;
    min-height: 0; /* Prevents stretching due to content */
}

.showcase-item:not(.aspect-portrait):not(.aspect-square) {
    aspect-ratio: 16/9;
}

.showcase-item.aspect-landscape {
    aspect-ratio: 16/9;
}

.showcase-item.aspect-portrait {
    grid-row: span 2; /* Fills tall masonry cells */
    aspect-ratio: 9/16; /* Sleek vertical phone proportion */
    width: 100%;
    max-width: 270px;
    justify-self: center;
    align-self: center;
}

.showcase-item.aspect-square {
    aspect-ratio: 1/1;
}

.card-inner {
    width: 100%;
    height: 100%;
    position: relative;
    transform: translateZ(0);
    transition: var(--transition-smooth);
}

.showcase-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    background: radial-gradient(circle at 50% 50%, rgba(var(--secondary-rgb), 0.15) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.showcase-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg, rgba(5, 3, 10, 0.95) 0%, rgba(5, 3, 10, 0.4) 60%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 25px 28px;
    opacity: 0;
    z-index: 3;
    transition: var(--transition-smooth);
    overflow: hidden;
}

.showcase-info {
    transform: translateY(20px);
    transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    width: 100%;
    max-height: 100%;
    overflow: hidden;
    position: relative;
}

/* Auto-scrolling info block for overflowing text */
.showcase-info.auto-scroll {
    mask-image: linear-gradient(to bottom, transparent 0%, #000 8%, #000 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.showcase-info .info-scroll-inner {
    display: block;
    width: 100%;
}

.showcase-info.auto-scroll .info-scroll-inner {
    animation: infoScrollUp var(--scroll-duration, 6s) linear 1.5s infinite;
    padding-bottom: 0.8em;
}

@keyframes infoScrollUp {
    0%   { transform: translateY(0); }
    12%  { transform: translateY(0); }      /* Hold at start for readability */
    88%  { transform: translateY(var(--scroll-distance, -50%)); }
    100% { transform: translateY(var(--scroll-distance, -50%)); } /* Hold at end */
}

.item-tag {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.item-title {
    font-size: 1.3rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 8px;
    color: var(--text-white);
    line-height: 1.2;
}

.item-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 14px;
    line-height: 1.4;
    max-width: 90%;
}

.btn-view-project {
    background: transparent;
    border: 1px solid var(--border-glass-active);
    color: var(--text-white);
    padding: 8px 18px;
    border-radius: 4px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    transition: var(--transition-smooth);
}

.btn-view-project:hover {
    background: var(--secondary);
    color: var(--bg-dark);
    box-shadow: var(--glow-secondary);
    border-color: var(--secondary);
}

/* Card hover interactions */
.showcase-item:hover {
    box-shadow: 0 15px 35px rgba(170, 107, 250, 0.25);
    border-color: rgba(var(--secondary-rgb), 0.35);
}

.showcase-item:hover .showcase-img {
    transform: scale(1.08);
}

.showcase-item:hover .showcase-overlay {
    opacity: 1;
}

.showcase-item:hover .showcase-info {
    transform: translateY(0);
}

.showcase-item:hover .card-glow {
    opacity: 1;
}

/* Hidden items animation class */
.showcase-item.hidden {
    display: none;
}

.showcase-item.fade-out {
    animation: cardFadeOut 0.4s forwards cubic-bezier(0.25, 0.8, 0.25, 1);
}

.showcase-item.fade-in {
    animation: cardFadeIn 0.5s forwards cubic-bezier(0.25, 0.8, 0.25, 1);
}

@keyframes cardFadeOut {
    from { opacity: 1; transform: scale(1); }
    to { opacity: 0; transform: scale(0.92); }
}

@keyframes cardFadeIn {
    from { opacity: 0; transform: scale(0.92); }
    to { opacity: 1; transform: scale(1); }
}

/* ==========================================================================
   DYNAMIC YOUTUBE LINK TESTER & CREATOR
   ========================================================================== */
.youtube-tester-container {
    margin-top: 60px;
    background: rgba(13, 8, 25, 0.35);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 40px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.tester-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.tester-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 242, 254, 0.08);
    border: 1px solid var(--border-glass-active);
    padding: 6px 16px;
    border-radius: 20px;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--secondary);
    text-transform: uppercase;
    margin-bottom: 20px;
    box-shadow: 0 0 10px rgba(var(--secondary-rgb), 0.05);
}

.tester-badge .pulse-dot {
    width: 6px;
    height: 6px;
    background-color: var(--secondary);
    border-radius: 50%;
    box-shadow: var(--glow-secondary);
    animation: pulse 1.5s infinite;
}

.tester-title {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 25px;
    background: linear-gradient(135deg, var(--text-white) 40%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
}

/* Tab buttons for YouTube Tester */
.tester-tabs {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(var(--primary-rgb), 0.1);
    padding-bottom: 15px;
    width: 100%;
    max-width: 650px;
    justify-content: center;
}

.tester-tab-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 6px;
    transition: var(--transition-smooth);
}

.tester-tab-btn:hover {
    color: var(--text-white);
    background: rgba(170, 107, 250, 0.05);
}

.tester-tab-btn.active {
    color: var(--secondary);
    background: rgba(0, 242, 254, 0.08);
    box-shadow: 0 0 15px rgba(0, 242, 254, 0.05);
    border: 1px solid rgba(0, 242, 254, 0.2);
}

.tester-tab-btn svg {
    transition: transform 0.3s;
}

.tester-tab-btn:hover svg {
    transform: scale(1.1);
}

/* Panes layout */
.tester-pane {
    display: none;
    width: 100%;
    max-width: 650px;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.tester-pane.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.tester-subtitle {
    font-size: 0.95rem;
    color: var(--text-muted);
    max-width: 650px;
    margin-bottom: 30px;
    line-height: 1.6;
}

.tester-input-wrapper {
    display: flex;
    gap: 15px;
    width: 100%;
    justify-content: center;
    align-items: center;
}

.tester-input-wrapper input {
    flex: 1;
    background: rgba(5, 3, 10, 0.6);
    border: 1px solid var(--border-glass);
    border-radius: 6px;
    padding: 14px 16px;
    font-family: var(--font-primary);
    color: var(--text-white);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-smooth);
}

.tester-input-wrapper input:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 15px rgba(var(--secondary-rgb), 0.15);
}

.tester-input-wrapper .input-group {
    flex: 1;
    margin-bottom: 0;
    width: 100%;
}

/* Creator & Glassmorphism Form Details */
.creator-form, .glass-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 100%;
}

.creator-form .form-row, .glass-form .form-row {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 20px;
}

@media (max-width: 580px) {
    .creator-form .form-row, .glass-form .form-row {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

.creator-form select, .custom-select {
    width: 100%;
    background: rgba(5, 3, 10, 0.5);
    border: 1px solid var(--border-glass);
    border-radius: 6px;
    padding: 14px 16px;
    font-family: var(--font-primary), sans-serif;
    color: var(--text-white);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-smooth);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2300f2fe' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: calc(100% - 16px) center;
    cursor: pointer;
    box-sizing: border-box;
}

.creator-form select:focus, .custom-select:focus {
    border-color: var(--secondary);
    color: var(--text-white);
    box-shadow: 0 0 15px rgba(var(--secondary-rgb), 0.15);
}

.custom-select option {
    background-color: #0b0718;
    color: #ffffff;
    padding: 12px;
}

.tester-error-msg {
    margin-top: 15px;
    font-size: 0.85rem;
    font-weight: 600;
    color: #ff6b6b;
    text-shadow: 0 0 10px rgba(255, 107, 107, 0.35);
    min-height: 20px;
    transition: var(--transition-smooth);
}

/* Lightbox iframe video fix */
.lightbox-media-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* ==========================================================================
   SERVICES GRID SECTION
   ========================================================================== */
.services-section {
    background-color: transparent;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s, box-shadow 0.3s;
}

/* Interactive cursor light logic */
.service-card::before {
    content: '';
    position: absolute;
    top: calc(var(--y, 0) * 1px - 150px);
    left: calc(var(--x, 0) * 1px - 150px);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(var(--accent-copper-rgb), 0.15) 0%, transparent 60%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon-wrapper {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    background: rgba(var(--accent-copper-rgb), 0.08);
    border: 1px solid rgba(var(--accent-copper-rgb), 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-copper);
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
    transition: var(--transition-bounce);
}

.service-img {
    width: 34px;
    height: 34px;
    object-fit: contain;
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), filter 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.service-card:hover .service-img {
    transform: scale(1.12);
    filter: drop-shadow(0 0 12px rgba(var(--accent-copper-rgb), 0.9)) brightness(1.25);
}

.service-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    position: relative;
    z-index: 2;
}

.service-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

/* Service Card Hovers */
.service-card:hover {
    border-color: rgba(var(--accent-copper-rgb), 0.4);
    box-shadow: 0 10px 30px rgba(var(--accent-copper-rgb), 0.12);
}

.service-card:hover .service-icon-wrapper {
    background: rgba(var(--accent-copper-rgb), 0.15);
    border-color: rgba(var(--accent-copper-rgb), 0.5);
    box-shadow: 0 0 20px rgba(var(--accent-copper-rgb), 0.3);
    transform: scale(1.1) rotate(5deg);
}

/* ==========================================================================
   VISION HOLOGRAM SECTION
   ========================================================================== */
.vision-section {
    background-color: transparent;
    position: relative;
    border-top: 1px solid rgba(var(--primary-rgb), 0.05);
    border-bottom: 1px solid rgba(var(--primary-rgb), 0.05);
}

.vision-layout {
    display: flex;
    align-items: center;
    gap: 60px;
}

.vision-image-container {
    flex: 1.1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.vision-content {
    flex: 1.2;
}

.cyber-subtitle {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--secondary);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.vision-title {
    font-size: 2.2rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 25px;
}

.vision-text {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.7;
}

.tech-stack-icons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}

.tech-tag {
    background: rgba(0, 242, 254, 0.06);
    border: 1px solid var(--border-glass-active);
    color: var(--secondary);
    padding: 6px 14px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.75rem;
    border-radius: 4px;
    letter-spacing: 1px;
}

/* Concentric floating hologram circles */
.hologram-frame {
    position: relative;
    width: 320px;
    height: 320px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.vision-logo-hologram {
    width: 130px;
    height: 130px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid rgba(var(--accent-gold-rgb), 0.3);
    z-index: 10;
    box-shadow: 0 0 30px rgba(var(--accent-gold-rgb), 0.25);
    animation: floatingLogo 8s infinite alternate ease-in-out;
}

.holo-glow {
    position: absolute;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.35) 0%, transparent 70%);
    z-index: 5;
    pointer-events: none;
    filter: blur(15px);
    animation: pulse 4s infinite alternate ease-in-out;
}

.holo-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px dashed rgba(var(--secondary-rgb), 0.25);
    pointer-events: none;
}

.ring-1 {
    width: 220px;
    height: 220px;
    animation: rotateRingClockwise 20s infinite linear;
}

.ring-2 {
    width: 280px;
    height: 280px;
    border: 1px solid rgba(var(--primary-rgb), 0.15);
    border-style: dotted;
    animation: rotateRingCounter 25s infinite linear;
}

.ring-3 {
    width: 340px;
    height: 340px;
    border: 1.5px dashed rgba(var(--secondary-rgb), 0.1);
    animation: rotateRingClockwise 35s infinite linear;
}

@keyframes rotateRingClockwise {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes rotateRingCounter {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}

/* ==========================================================================
   CONTACT SECTION & GLASSMOPHIC FORM
   ========================================================================== */
.contact-section {
    background-color: transparent;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.contact-lead-text {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    line-height: 1.6;
}

.info-details {
    display: flex;
    flex-direction: column;
    gap: 25px;
    margin-bottom: 40px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
}

.info-icon {
    width: 50px;
    height: 50px;
    background: rgba(0, 242, 254, 0.08);
    border: 1px solid rgba(0, 242, 254, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--secondary);
    transition: var(--transition-bounce);
}

.info-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
}

.info-value {
    display: block;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-white);
    transition: var(--transition-smooth);
}

.info-item:hover .info-icon {
    background: var(--secondary);
    color: var(--bg-dark);
    box-shadow: var(--glow-secondary);
    transform: scale(1.08);
}

.info-item:hover .info-value {
    color: var(--secondary);
}

.contact-socials {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.socials-title {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-muted);
}

.social-icons {
    display: flex;
    gap: 12px;
}

.social-icon-btn {
    text-decoration: none;
    width: 44px;
    height: 44px;
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    color: var(--text-white);
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-bounce);
}

.social-icon-btn:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--bg-dark);
    box-shadow: var(--glow-primary);
    transform: translateY(-4px);
}

/* Glassmorphism Form Style */
.contact-form-panel {
    background: rgba(13, 8, 25, 0.35);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 40px;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

/* Cosmic Theme Webkit Autofill Custom Styling */
input:-webkit-autofill,
textarea:-webkit-autofill,
select:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px #081d2c inset !important;
    -webkit-text-fill-color: var(--text-white) !important;
    border: 1px solid rgba(0, 242, 254, 0.3) !important;
    transition: background-color 5000s ease-in-out 0s;
    caret-color: var(--text-white);
}

input:-webkit-autofill:hover,
textarea:-webkit-autofill:hover,
select:-webkit-autofill:hover {
    -webkit-box-shadow: 0 0 0 1000px #0b283d inset !important;
    border-color: rgba(0, 242, 254, 0.5) !important;
}

input:-webkit-autofill:focus,
textarea:-webkit-autofill:focus,
select:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px #0f3552 inset, 0 0 15px rgba(0, 242, 254, 0.25) !important;
    box-shadow: 0 0 0 1000px #0f3552 inset, 0 0 15px rgba(0, 242, 254, 0.25) !important;
    border-color: var(--secondary) !important;
}

/* Specific class rules to prevent standard input:focus styles from stripping the inset shadow */
.input-group input:-webkit-autofill,
.input-group textarea:-webkit-autofill {
    -webkit-box-shadow: 0 0 0 1000px #081d2c inset !important;
    -webkit-text-fill-color: var(--text-white) !important;
    border: 1px solid rgba(0, 242, 254, 0.3) !important;
}

.input-group input:-webkit-autofill:hover,
.input-group textarea:-webkit-autofill:hover {
    -webkit-box-shadow: 0 0 0 1000px #0b283d inset !important;
    border-color: rgba(0, 242, 254, 0.5) !important;
}

.input-group input:-webkit-autofill:focus,
.input-group textarea:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 1000px #0f3552 inset, 0 0 15px rgba(0, 242, 254, 0.25) !important;
    box-shadow: 0 0 0 1000px #0f3552 inset, 0 0 15px rgba(0, 242, 254, 0.25) !important;
    border-color: var(--secondary) !important;
}

.input-group {
    position: relative;
    margin-bottom: 25px;
}

.text-area-group {
    margin-bottom: 30px;
}

.input-group input, .input-group textarea {
    width: 100%;
    background: rgba(5, 3, 10, 0.5);
    border: 1px solid var(--border-glass);
    border-radius: 6px;
    padding: 14px 16px;
    font-family: var(--font-primary);
    color: var(--text-white);
    font-size: 0.95rem;
    outline: none;
    transition: var(--transition-smooth);
}

.input-group textarea {
    resize: none;
}

.input-group label {
    position: absolute;
    left: 16px;
    top: 14px;
    color: var(--text-muted);
    font-size: 0.95rem;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.input-group input:focus ~ label,
.input-group input:not(:placeholder-shown) ~ label,
.input-group input:-webkit-autofill ~ label,
.input-group input:autofill ~ label,
.input-group textarea:focus ~ label,
.input-group textarea:not(:placeholder-shown) ~ label,
.input-group textarea:-webkit-autofill ~ label,
.input-group textarea:autofill ~ label {
    top: -10px;
    left: 10px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--secondary);
    background-color: #0b0718;
    padding: 2px 8px;
    border-radius: 4px;
    border: 1px solid rgba(var(--secondary-rgb), 0.2);
}

.input-group input:focus, .input-group textarea:focus {
    border-color: var(--secondary);
    box-shadow: 0 0 15px rgba(var(--secondary-rgb), 0.15);
}

/* Submit transmission styling */
.btn-submit {
    width: 100%;
    padding: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
}

.form-status-msg {
    margin-top: 15px;
    font-size: 0.85rem;
    font-weight: 600;
    text-align: center;
    min-height: 20px;
    transition: var(--transition-smooth);
}

.form-status-msg.success {
    color: var(--secondary);
    text-shadow: 0 0 10px rgba(var(--secondary-rgb), 0.3);
}

.form-status-msg.error {
    color: #ff6b6b;
    text-shadow: 0 0 10px rgba(255, 107, 107, 0.3);
}

/* ==========================================================================
   CINEMATIC FULLSCREEN LIGHTBOX
   ========================================================================== */
.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(3, 2, 7, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Uses safe-centering via flex-start + margin: auto */
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity 0.5s cubic-bezier(0.25, 0.8, 0.25, 1), visibility 0.5s step-end;
    overflow-y: auto; /* Enable safe vertical scrolling */
    -webkit-overflow-scrolling: touch; /* Butter-smooth momentum scrolling on WebKit iOS/iPadOS */
    padding: 80px 20px 40px; /* Leave comfortable room at the top (close button) and bottom */
    box-sizing: border-box;
}

.lightbox.open {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
    transition: opacity 0.5s cubic-bezier(0.25, 0.8, 0.25, 1), visibility 0s;
}

.lightbox-close {
    position: fixed; /* Keep it locked in the screen viewport during modal scrolling! */
    top: 30px;
    right: 40px;
    background: transparent;
    border: none;
    color: var(--text-white);
    font-size: 3rem;
    font-weight: 300;
    line-height: 1;
    transition: var(--transition-bounce);
    z-index: 2001;
}

.lightbox-close:hover {
    color: var(--secondary);
    transform: scale(1.1) rotate(90deg);
}

.lightbox-content {
    max-width: 1000px;
    width: 90%;
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin: auto; /* Enables robust safe-centering when scrollable! */
    transform: scale(0.9);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.lightbox.open .lightbox-content {
    transform: scale(1);
}

/* Ambilight Ambient Glow System */
.lightbox-media-area {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    transition: max-width 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.lightbox-ambilight-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    pointer-events: none;
    overflow: visible;
    opacity: 0;
    visibility: hidden;
    transition: opacity 1.2s ease, visibility 1.2s ease;
    
    /* Custom properties set dynamically by script.js */
    --ambilight-c1: rgba(0, 240, 255, 0.6);
    --ambilight-c2: rgba(255, 0, 127, 0.55);
    --ambilight-c3: rgba(61, 0, 102, 0.4);
    --ambilight-scale: 1.0;
    --ambilight-opacity: 0.7;
    --ambilight-blur: 110px;
}

/* Activate Ambilight when lightbox is open */
.lightbox.open .lightbox-ambilight-container {
    opacity: var(--ambilight-opacity);
    visibility: visible;
}

.ambilight-glow {
    position: absolute;
    top: -85px; /* Massive atmospheric presence and room extension */
    left: -85px;
    right: -85px;
    bottom: -85px;
    mix-blend-mode: screen;
    opacity: 0.88; /* Rich premium presence and color saturation */
    will-change: transform, opacity, filter;
    transform: scale(var(--ambilight-scale)); /* Global centering scale synced to heartbeat thumps */
    /* CSS transitions disabled to allow buttery-smooth JS LERP calculations at 60FPS without browser fight */
}

.ambilight-glow.glow-1 {
    border-radius: 43% 57% 41% 59% / 57% 45% 55% 43%; /* Organic blob shape */
    filter: url(#ambilight-liquid) blur(calc(var(--ambilight-blur) * 0.25)); /* Lower blur to reveal liquid edges */
    background: radial-gradient(circle at 30% 30%, var(--ambilight-c1) 0%, transparent 65%);
    animation: fluid-morph-1 14s infinite ease-in-out;
}

.ambilight-glow.glow-2 {
    border-radius: 58% 42% 54% 46% / 44% 56% 44% 56%; /* Organic blob shape */
    filter: url(#ambilight-liquid) blur(calc(var(--ambilight-blur) * 0.25)); /* Lower blur to reveal liquid edges */
    background: radial-gradient(circle at 70% 70%, var(--ambilight-c2) 0%, transparent 65%);
    animation: fluid-morph-2 18s infinite ease-in-out;
}

.ambilight-glow.glow-3 {
    border-radius: 16px; /* Aspect-locking rectangular backing cushion to envelop the frame borders completely */
    filter: url(#ambilight-liquid) blur(calc(var(--ambilight-blur) * 0.35)); /* Tight blur for a high-intensity frame-wrapping halo */
    background: radial-gradient(circle at 50% 50%, var(--ambilight-c3) 20%, transparent 85%);
    top: -20px; /* Tighter margins to form a dense backing outline directly surrounding the frame */
    left: -20px;
    right: -20px;
    bottom: -20px;
    opacity: 0.95; /* High solid presence directly behind the video */
}

/* WebKit/iOS optimization: bypass expensive SVG turbulence/displacement filters and fall back to high-performance GPU CSS blurs */
body.no-svg-filters .ambilight-glow.glow-1 {
    filter: blur(calc(var(--ambilight-blur) * 0.8)) !important;
}
body.no-svg-filters .ambilight-glow.glow-2 {
    filter: blur(calc(var(--ambilight-blur) * 0.8)) !important;
}
body.no-svg-filters .ambilight-glow.glow-3 {
    filter: blur(calc(var(--ambilight-blur) * 0.95)) !important;
}

/* Morphing fluid border-radius keyframes - perfectly conforms vertical/horizontal aspect ratios */
@keyframes fluid-morph-1 {
    0% {
        border-radius: 42% 58% 45% 55% / 55% 45% 55% 45%;
    }
    33% {
        border-radius: 55% 45% 52% 48% / 48% 55% 45% 52%;
    }
    66% {
        border-radius: 48% 52% 58% 42% / 52% 42% 58% 48%;
    }
    100% {
        border-radius: 42% 58% 45% 55% / 55% 45% 55% 45%;
    }
}

@keyframes fluid-morph-2 {
    0% {
        border-radius: 55% 45% 52% 48% / 48% 55% 45% 52%;
    }
    33% {
        border-radius: 45% 55% 48% 52% / 55% 48% 52% 45%;
    }
    66% {
        border-radius: 52% 48% 55% 45% / 42% 52% 48% 58%;
    }
    100% {
        border-radius: 55% 45% 52% 48% / 48% 55% 45% 52%;
    }
}



.lightbox-media-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 12px;
    overflow: hidden;
    background-color: #000;
    border: 1px solid var(--border-glass-active);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6);
    container-type: inline-size; /* Enable CSS Container Queries! */
}

.lightbox-media-wrapper img, .lightbox-media-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Lightbox Play Overlay Button - Cyberpunk Premium Hover */
.lightbox-play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(1);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: rgba(3, 2, 7, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 2px solid rgba(0, 242, 254, 0.5);
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100 !important;
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    box-shadow: 0 0 25px rgba(0, 242, 254, 0.25), inset 0 0 15px rgba(0, 242, 254, 0.15);
    overflow: visible; /* Essential to let outer waves propagate far beyond button boundaries */
}

/* Premium looping glow wave divs inside the button */
.play-glow-wave {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 50%;
    border: 2px solid transparent;
    pointer-events: none;
    opacity: 0;
    transform: scale(1);
    z-index: -1;
}

.lightbox-play-overlay svg {
    width: 32px;
    height: 32px;
    margin-left: 6px; /* Visual offset to center the play triangle in the circle */
    fill: var(--text-white);
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), fill 0.3s ease;
    z-index: 2;
}

.lightbox-play-overlay:hover {
    transform: translate(-50%, -50%) scale(1.55); /* High-end, extremely clear visual size increase! */
    background: rgba(0, 242, 254, 0.18);
    border-color: var(--secondary);
    box-shadow: 
        0 0 50px rgba(0, 242, 254, 0.7),
        0 0 100px rgba(170, 107, 250, 0.4),
        inset 0 0 25px rgba(0, 242, 254, 0.4);
}

/* Multi-layered Staggered Cyberpunk Glowing Ripples on Hover */
.lightbox-play-overlay:hover .wave-1 {
    animation: cyber-wave-pulse-1 1.8s infinite cubic-bezier(0.25, 0.8, 0.25, 1);
}

.lightbox-play-overlay:hover .wave-2 {
    animation: cyber-wave-pulse-2 1.8s infinite cubic-bezier(0.25, 0.8, 0.25, 1) 0.45s; /* Delayed purple cascade */
}

.lightbox-play-overlay:hover .wave-3 {
    animation: cyber-wave-pulse-3 1.8s infinite cubic-bezier(0.25, 0.8, 0.25, 1) 0.9s; /* Final wide neon gradient cascade */
}

.lightbox-play-overlay:hover svg {
    fill: var(--secondary);
    transform: scale(1.2); /* Softly scale up the play icon inside for refined premium feel */
    filter: drop-shadow(0 0 12px var(--secondary));
}

.lightbox-play-overlay:active {
    transform: translate(-50%, -50%) scale(0.95);
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.5);
    transition: all 0.15s ease;
}

/* Wave 1: Hyper-vibrant Electric Cyan Ripple */
@keyframes cyber-wave-pulse-1 {
    0% {
        transform: scale(0.95);
        opacity: 0;
        border-color: rgba(0, 242, 254, 0.9);
        box-shadow: 0 0 20px rgba(0, 242, 254, 0.5), inset 0 0 10px rgba(0, 242, 254, 0.3);
        filter: blur(1px);
    }
    15% {
        opacity: 1;
        border-color: rgba(0, 242, 254, 0.9);
        box-shadow: 0 0 30px rgba(0, 242, 254, 0.6), inset 0 0 15px rgba(0, 242, 254, 0.4);
    }
    100% {
        transform: scale(2.2);
        opacity: 0;
        border-color: rgba(0, 242, 254, 0);
        box-shadow: 0 0 60px rgba(0, 242, 254, 0);
        filter: blur(5px);
    }
}

/* Wave 2: Deep Cyber Orchid Purple Ripple */
@keyframes cyber-wave-pulse-2 {
    0% {
        transform: scale(0.95);
        opacity: 0;
        border-color: rgba(170, 107, 250, 0.8);
        box-shadow: 0 0 20px rgba(170, 107, 250, 0.4), inset 0 0 10px rgba(170, 107, 250, 0.2);
        filter: blur(2px);
    }
    15% {
        opacity: 0.9;
        border-color: rgba(170, 107, 250, 0.8);
        box-shadow: 0 0 35px rgba(170, 107, 250, 0.5), inset 0 0 15px rgba(170, 107, 250, 0.3);
    }
    100% {
        transform: scale(3.0);
        opacity: 0;
        border-color: rgba(170, 107, 250, 0);
        box-shadow: 0 0 70px rgba(170, 107, 250, 0);
        filter: blur(9px);
    }
}

/* Wave 3: Wide Ethereal Violet-Blue Volumetric Mist */
@keyframes cyber-wave-pulse-3 {
    0% {
        transform: scale(0.95);
        opacity: 0;
        border-color: rgba(0, 242, 254, 0.6);
        box-shadow: 0 0 25px rgba(0, 242, 254, 0.3), inset 0 0 10px rgba(170, 107, 250, 0.1);
        filter: blur(3px);
    }
    15% {
        opacity: 0.8;
        border-color: rgba(0, 242, 254, 0.7);
        box-shadow: 0 0 45px rgba(0, 242, 254, 0.4), inset 0 0 20px rgba(170, 107, 250, 0.2);
    }
    100% {
        transform: scale(3.8);
        opacity: 0;
        border-color: rgba(0, 242, 254, 0);
        box-shadow: 0 0 90px rgba(0, 242, 254, 0);
        filter: blur(14px);
    }
}


/* Special video container controls */
.lightbox-info {
    color: var(--text-white);
}

.lightbox-tag {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.lightbox-title {
    font-size: 1.8rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.lightbox-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
    max-width: 90%;
}

.lightbox-video-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-top: 20px;
    border-top: 1px solid rgba(var(--primary-rgb), 0.1);
    padding-top: 20px;
}

.btn-share-lightbox {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass-active);
    color: var(--text-white);
    padding: 10px 22px;
    border-radius: 4px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    transition: var(--transition-bounce);
}

.btn-share-lightbox:hover {
    background: var(--secondary);
    color: var(--bg-dark);
    box-shadow: var(--glow-secondary);
    border-color: var(--secondary);
    transform: translateY(-3px);
}

.btn-share-lightbox svg {
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.btn-share-lightbox:hover svg {
    transform: scale(1.1);
}

.control-btn {
    background: linear-gradient(135deg, var(--secondary) 0%, #00a8e8 100%);
    color: var(--bg-dark);
    border: none;
    padding: 10px 22px;
    border-radius: 4px;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: var(--glow-secondary);
    transition: var(--transition-bounce);
}

.control-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(var(--secondary-rgb), 0.6);
}

.stream-badge {
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--primary);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    letter-spacing: 1px;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background-color: var(--primary);
    border-radius: 50%;
    box-shadow: var(--glow-primary);
    animation: pulse 1s infinite alternate;
}

/* ==========================================================================
   SCROLL TO TOP BUTTON
   ========================================================================== */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(13, 8, 25, 0.75);
    border: 1px solid var(--border-glass);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    z-index: 998;
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
}

.scroll-top-btn.visible {
    opacity: 1;
    pointer-events: auto;
}

.scroll-top-btn:hover {
    background: var(--primary);
    color: var(--bg-dark);
    box-shadow: var(--glow-primary);
    transform: translateY(-5px);
    border-color: var(--primary);
}

/* ==========================================================================
   FOOTER SECTION
   ========================================================================== */
.footer {
    background-color: #030206;
    border-top: 1px solid rgba(var(--primary-rgb), 0.1);
    padding: 40px 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-logo {
    width: 32px;
    height: 32px;
    border-radius: 4px;
    object-fit: cover;
    border: 1px solid rgba(var(--accent-gold-rgb), 0.2);
}

.brand-name {
    font-family: var(--font-display);
    font-weight: 900;
    text-transform: uppercase;
    font-size: 1rem;
}

.footer-credits {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.system-status {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-display);
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--secondary);
    letter-spacing: 1px;
}

.status-pulse {
    width: 6px;
    height: 6px;
    background-color: var(--secondary);
    border-radius: 50%;
    box-shadow: var(--glow-secondary);
    animation: pulse 1.5s infinite;
}

/* ==========================================================================
   SCROLL REVEAL (INTERSECTION OBSERVER)
   ========================================================================== */
.scroll-reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1s cubic-bezier(0.25, 1, 0.5, 1), transform 1s cubic-bezier(0.25, 1, 0.5, 1);
}

.scroll-reveal.reveal-active {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */
@media (max-width: 992px) {
    .showcase-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 800px;
        margin: 0 auto;
        gap: 20px;
    }
    
    .showcase-item.aspect-portrait {
        grid-row: span 2;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        max-width: 600px;
        margin: 0 auto;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    
    .vision-layout {
        flex-direction: column-reverse;
        gap: 50px;
        text-align: center;
    }

    .tech-stack-icons {
        justify-content: center;
    }

    .hologram-frame {
        width: 260px;
        height: 260px;
    }

    .ring-3 { display: none; }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }

    .mobile-nav-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-logo-wrapper {
        width: 95% !important;
        max-width: 580px !important;
    }

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

    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .tester-input-wrapper {
        flex-direction: column;
        width: 100%;
        gap: 12px;
    }

    .tester-input-wrapper input, .tester-input-wrapper button {
        width: 100%;
    }

    /* Force all ScrollReveal elements to be instantly visible on mobile to avoid disappearing bugs */
    .scroll-reveal {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }

    /* Looping Horizontal Ticker Marquee for Hero Text on mobile */
    .banner-ticker-line {
        overflow: hidden;
        white-space: nowrap;
        justify-content: flex-start !important;
        position: relative;
        padding: 5px 0;
        margin: 25px auto 10px;
        width: 100%;
        max-width: 290px !important;
    }

    .ticker-side-line {
        display: none !important;
    }

    .ticker-text {
        display: inline-block;
        padding-left: 100%;
        animation: ticker-marquee 12s linear infinite;
        letter-spacing: 2px !important;
        font-size: 0.75rem !important;
    }

    /* Hide custom video controls overlay completely on mobile viewport */
    .lightbox-custom-controls {
        display: none !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }

    /* Accelerate auto-scrolling details text on mobile viewports for high responsiveness */
    .showcase-info.auto-scroll .info-scroll-inner {
        animation-delay: 0.4s !important;
    }

    /* Lightbox mobile optimizations: ultra-compact layout, scroll-friendly sizes, and highly legible texts */
    .lightbox {
        padding: 50px 16px 30px !important;
        -webkit-overflow-scrolling: touch; /* Butter-smooth momentum scrolling in WebKit iOS/iPadOS */
    }

    .lightbox-content {
        gap: 15px !important;
        width: 100% !important;
        margin: auto !important;
    }

    .lightbox-info {
        padding: 0 4px !important;
        text-align: left;
    }

    .lightbox-title {
        font-size: 1.35rem !important;
        margin-bottom: 8px !important;
        line-height: 1.25 !important;
    }

    .lightbox-tag {
        font-size: 0.7rem !important;
        margin-bottom: 4px !important;
    }

    .lightbox-desc {
        font-size: 0.88rem !important;
        line-height: 1.45 !important;
        max-width: 100% !important;
        color: rgba(255, 255, 255, 0.6) !important;
    }

    .lightbox-video-controls {
        flex-wrap: wrap;
        justify-content: space-between;
        margin-top: 15px !important;
        padding-top: 15px !important;
        gap: 12px !important;
    }

    .btn-share-lightbox {
        padding: 8px 16px !important;
        font-size: 0.75rem !important;
    }

    .control-btn {
        padding: 8px 16px !important;
        font-size: 0.75rem !important;
    }

    .stream-badge {
        font-size: 0.65rem !important;
    }
}

@keyframes ticker-marquee {
    0% {
        transform: translate3d(0, 0, 0);
    }
    100% {
        transform: translate3d(-100%, 0, 0);
    }
}

@media (max-width: 650px) {
    .showcase-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
        margin: 0 auto;
        gap: 16px;
    }
    
    .showcase-item.aspect-portrait {
        grid-row: auto;
        aspect-ratio: 9/16;
        width: 100%;
        max-width: 270px;
        justify-self: center;
        align-self: center;
    }
}

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

    .hero-logo-wrapper {
        width: 95% !important;
        max-width: 460px !important;
    }

    .hero-description {
        font-size: 0.95rem !important;
        line-height: 1.6 !important;
        padding: 0 15px !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .hero-actions-container {
        flex-direction: column;
        width: 90% !important;
        max-width: 320px !important;
        margin: 15px auto 0 !important;
        gap: 15px;
    }
    
    .btn {
        width: 100%;
    }

    .contact-form-panel {
        padding: 25px 20px;
    }

    .lightbox-close {
        top: 20px;
        right: 20px;
        font-size: 2.2rem;
    }
}

/* ==========================================================================
   PHASE 5: INSTAGRAM & LOCAL VIDEO UPLOAD STYLES
   ========================================================================== */
.upload-dropzone {
    width: 100%;
    background: rgba(5, 3, 10, 0.4);
    border: 2px dashed rgba(170, 107, 250, 0.3);
    border-radius: 12px;
    padding: 35px 20px;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
}

.upload-dropzone:hover, .upload-dropzone.drag-active {
    background: rgba(0, 242, 254, 0.05);
    border-color: var(--secondary);
    box-shadow: 0 0 20px rgba(0, 242, 254, 0.1);
}

.upload-dropzone.drag-active {
    animation: dropzone-pulse 1.5s infinite alternate;
}

@keyframes dropzone-pulse {
    0% {
        box-shadow: 0 0 10px rgba(0, 242, 254, 0.1);
        border-color: rgba(0, 242, 254, 0.5);
    }
    100% {
        box-shadow: 0 0 25px rgba(0, 242, 254, 0.25);
        border-color: var(--secondary);
    }
}

.dropzone-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    pointer-events: none;
}

.dropzone-icon, .drop-icon {
    color: var(--text-muted);
    margin-bottom: 5px;
    transition: transform 0.3s ease, color 0.3s ease;
}

.upload-dropzone:hover .dropzone-icon, .upload-dropzone.drag-active .dropzone-icon,
.upload-dropzone:hover .drop-icon, .upload-dropzone.drag-active .drop-icon {
    color: var(--secondary);
    transform: translateY(-5px);
}

.dropzone-text, .drop-text {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-white);
}

.dropzone-hint, .drop-hint {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Premium File Preview Card Styles */
.file-preview-card {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(13, 8, 25, 0.65);
    border: 1px solid rgba(170, 107, 250, 0.2);
    border-radius: 10px;
    padding: 12px 16px;
    margin: 10px 0 15px 0;
    width: 100%;
    box-sizing: border-box;
    position: relative;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    transition: var(--transition-smooth);
}

.file-preview-card .preview-img {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: #000;
}

.file-preview-card .preview-details {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: left;
    min-width: 0;
}

.file-preview-card .preview-name,
.file-preview-card .file-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-white);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-preview-card .preview-meta,
.file-preview-card .file-size {
    font-size: 0.75rem;
    color: var(--secondary);
    font-family: var(--font-display), sans-serif;
    font-weight: 600;
}

.file-preview-card .btn-remove-preview,
.file-preview-card .btn-remove-file {
    background: transparent;
    border: none;
    color: #ff6b6b;
    font-size: 1.5rem;
    cursor: pointer;
    line-height: 1;
    padding: 0 4px;
    margin-left: 8px;
    transition: transform 0.2s, color 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.file-preview-card .btn-remove-preview:hover,
.file-preview-card .btn-remove-file:hover {
    transform: scale(1.2);
    color: #ff5252;
}

.upload-progress-container {
    width: 100%;
    background: rgba(5, 3, 10, 0.8);
    border: 1px solid rgba(170, 107, 250, 0.2);
    border-radius: 20px;
    height: 24px;
    position: relative;
    overflow: hidden;
    margin-top: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.upload-progress-bar {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.5);
    transition: width 0.1s ease;
}

.upload-progress-text {
    position: relative;
    z-index: 2;
    font-size: 0.75rem;
    font-weight: 700;
    font-family: var(--font-display);
    color: var(--text-white);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

/* Lightbox Native Video Player */
.lightbox-native-video {
    width: 100%;
    height: 100%;
    border-radius: 8px;
    background: #000;
    display: block;
    outline: none;
    box-shadow: 0 0 30px rgba(0, 242, 254, 0.15);
    border: 1px solid rgba(0, 242, 254, 0.15);
}

/* Card Source Badges */
.card-source-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(13, 8, 25, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 0.65rem;
    font-weight: 900;
    z-index: 5;
    pointer-events: none;
    transition: var(--transition-smooth);
}

.card-source-badge.yt-source {
    color: #ff0000;
    border-color: rgba(255, 0, 0, 0.3);
    box-shadow: 0 0 8px rgba(255, 0, 0, 0.2);
    background: rgba(255, 0, 0, 0.08);
}

.card-source-badge.ig-source {
    color: #e1306c;
    border-color: rgba(225, 48, 108, 0.3);
    box-shadow: 0 0 8px rgba(225, 48, 108, 0.2);
    background: rgba(225, 48, 108, 0.08);
}

.card-source-badge.local-source {
    color: #00f2fe;
    border-color: rgba(0, 242, 254, 0.3);
    box-shadow: 0 0 8px rgba(0, 242, 254, 0.2);
    background: rgba(0, 242, 254, 0.08);
}

/* Instagram Dynamic Tip Banner */
.ig-tip-banner {
    display: flex;
    align-items: center;
    background: rgba(225, 48, 108, 0.05);
    border: 1px solid rgba(225, 48, 108, 0.25);
    border-radius: 8px;
    padding: 0.8rem 1rem;
    box-shadow: inset 0 0 15px rgba(225, 48, 108, 0.1), 0 4px 15px rgba(225, 48, 108, 0.05);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ig-tip-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
}

.ig-tip-icon {
    color: #e1306c;
    filter: drop-shadow(0 0 5px rgba(225, 48, 108, 0.5));
    flex-shrink: 0;
    animation: igIconPulse 2s infinite ease-in-out;
}

.ig-tip-text {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.4;
    text-align: left;
}

@keyframes igIconPulse {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 5px rgba(225, 48, 108, 0.5)); }
    50% { transform: scale(1.15); filter: drop-shadow(0 0 10px rgba(225, 48, 108, 0.8)); }
}

@keyframes igTipFadeIn {
    from {
        opacity: 0;
        transform: translateY(-8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ==========================================================================
   ADMIN PORTAL & LOGIN SCREEN STYLES
   ========================================================================== */
.admin-body {
    background-color: #05030a;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow-x: hidden;
    position: relative;
}

/* Glassmorphic Login Container */
.admin-login-container {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    padding: 2rem;
    z-index: 10;
}

.login-card {
    background: rgba(10, 5, 20, 0.45);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(170, 107, 250, 0.15);
    border-radius: 16px;
    padding: 3rem 2.5rem;
    width: 100%;
    max-width: 440px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 
                inset 0 0 20px rgba(170, 107, 250, 0.05),
                0 0 40px rgba(0, 242, 254, 0.03);
    position: relative;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
}

.login-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--secondary));
    border-radius: 16px 16px 0 0;
}

.login-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(170, 107, 250, 0.1);
    border: 1px solid rgba(170, 107, 250, 0.3);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    color: var(--color-primary);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-family: var(--font-display), sans-serif;
    font-weight: 700;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 10px rgba(170, 107, 250, 0.2);
}

.login-title {
    font-family: var(--font-display), sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: 2px;
    color: #ffffff;
    margin-bottom: 0.5rem;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
}

.login-subtitle {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 2.5rem;
}

.login-form .input-group {
    margin-bottom: 2rem;
}

.login-error-banner {
    background: rgba(255, 85, 85, 0.1);
    border: 1px solid rgba(255, 85, 85, 0.3);
    color: #ff5555;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    animation: shake 0.4s ease;
    text-align: left;
    box-shadow: inset 0 0 10px rgba(255, 85, 85, 0.1);
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-6px); }
    75% { transform: translateX(6px); }
}

/* Authenticated Admin Dashboard Layout */
.admin-dashboard-container {
    width: 100%;
    max-width: 1200px;
    margin: 100px auto 40px auto;
    padding: 0 24px;
    z-index: 10;
    display: none; /* Initially hidden until auth */
    flex-direction: column;
    gap: 40px;
    animation: dashboardFadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes dashboardFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 1.5rem;
    gap: 20px;
}

.admin-header-left {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.admin-title-badge {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 242, 254, 0.1);
    border: 1px solid rgba(0, 242, 254, 0.3);
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.7rem;
    color: var(--secondary);
    font-weight: 700;
    letter-spacing: 1.5px;
    font-family: var(--font-display), sans-serif;
    text-transform: uppercase;
}

.admin-header-title {
    font-family: var(--font-display), sans-serif;
    font-size: 1.8rem;
    font-weight: 900;
    letter-spacing: 1.5px;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(255,255,255,0.1);
}

.admin-header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-logout {
    background: rgba(255, 85, 85, 0.1);
    border: 1px solid rgba(255, 85, 85, 0.3);
    color: #ff5555;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    gap: 6px;
}
.btn-logout:hover {
    background: #ff5555;
    color: #ffffff;
    border-color: #ff5555;
    box-shadow: 0 0 15px rgba(255, 85, 85, 0.4);
    transform: scale(1.02);
}

/* Admin Dashboard Subgrids */
.admin-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 992px) {
    .admin-grid {
        grid-template-columns: 1fr;
    }
}

/* Showcase Deletion Management HUD */
.showcase-hud-container {
    background: rgba(10, 5, 20, 0.45);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(170, 107, 250, 0.15);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 0 15px rgba(170, 107, 250, 0.05);
}

.hud-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.8rem;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    padding-bottom: 1rem;
}

.hud-title {
    font-family: var(--font-display), sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.hud-count-badge {
    background: rgba(170, 107, 250, 0.2);
    border: 1px solid rgba(170, 107, 250, 0.4);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-family: var(--font-mono), monospace;
    color: var(--color-primary);
}

.hud-empty-msg {
    text-align: center;
    padding: 3rem 1rem;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.95rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.hud-empty-icon {
    color: rgba(170, 107, 250, 0.3);
}

/* HUD Item Row Grid */
.hud-items-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 500px;
    overflow-y: auto;
    padding-right: 6px;
}

/* Custom Scrollbar for HUD list */
.hud-items-list::-webkit-scrollbar {
    width: 6px;
}
.hud-items-list::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 3px;
}
.hud-items-list::-webkit-scrollbar-thumb {
    background: rgba(170, 107, 250, 0.2);
    border-radius: 3px;
}
.hud-items-list::-webkit-scrollbar-thumb:hover {
    background: rgba(170, 107, 250, 0.4);
}

.hud-item-row {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 10px;
    padding: 12px 18px;
    transition: all 0.3s ease;
}

.hud-item-row:hover {
    background: rgba(170, 107, 250, 0.04);
    border-color: rgba(170, 107, 250, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hud-item-thumb-wrapper {
    position: relative;
    width: 90px;
    height: 56px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hud-item-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hud-item-details {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: left;
}

.hud-item-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

.hud-item-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.hud-item-cat {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

.hud-source-badge {
    font-size: 0.65rem;
    padding: 1px 6px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hud-source-badge.source-local {
    background: rgba(0, 242, 254, 0.1);
    border: 1px solid rgba(0, 242, 254, 0.3);
    color: var(--secondary);
}

.hud-source-badge.source-ig {
    background: rgba(225, 48, 108, 0.1);
    border: 1px solid rgba(225, 48, 108, 0.3);
    color: #e1306c;
}

.hud-source-badge.source-yt {
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid rgba(255, 0, 0, 0.3);
    color: #ff0000;
}

.btn-hud-delete {
    background: rgba(255, 85, 85, 0.08);
    border: 1px solid rgba(255, 85, 85, 0.25);
    color: #ff5555;
    width: 38px;
    height: 38px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
}

.btn-hud-delete:hover {
    background: #ff5555;
    color: #ffffff;
    border-color: #ff5555;
    box-shadow: 0 0 12px rgba(255, 85, 85, 0.5);
    transform: scale(1.05);
}

/* Animations */
.hud-item-row.fade-out-delete {
    opacity: 0;
    transform: scale(0.9) translateX(30px);
    transition: all 0.4s ease;
}

/* Visibility Toggling - Hidden from Public Portfolio */
.hidden-by-admin {
    display: none !important;
}

/* HUD Showcase Filtering Tabs */
.hud-filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin: 15px 0 20px 0;
    padding: 6px;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.2);
}

.hud-filter-btn {
    background: transparent;
    border: 1px solid transparent;
    color: rgba(255, 255, 255, 0.55);
    padding: 7px 12px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.72rem;
    border-radius: 6px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.hud-filter-btn:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
}

.hud-filter-btn.active {
    color: #00f2fe;
    border-color: rgba(0, 242, 254, 0.4);
    background: rgba(0, 242, 254, 0.08);
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.15);
    text-shadow: 0 0 5px rgba(0, 242, 254, 0.3);
}

/* HUD Sleek Action Controls */
.hud-controls-group {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.btn-hud-control {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.7);
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
}

.btn-hud-control svg {
    transition: transform 0.25s ease;
}

/* Cyan glow for arrows and active visibility button on hover */
.btn-hud-control:not(.btn-hud-delete):hover:not(:disabled) {
    background: rgba(0, 242, 254, 0.08);
    border-color: rgba(0, 242, 254, 0.4);
    color: #00f2fe;
    box-shadow: 0 0 10px rgba(0, 242, 254, 0.25);
    transform: translateY(-2px);
}

.btn-hud-control:not(.btn-hud-delete):active:not(:disabled) {
    transform: translateY(0);
}

/* Specific styling for active hidden state (slashed eye) */
.btn-hud-control.btn-hud-toggle-visibility.hidden-state {
    background: rgba(255, 170, 0, 0.05);
    border-color: rgba(255, 170, 0, 0.25);
    color: #ffaa00;
}

.btn-hud-control.btn-hud-toggle-visibility.hidden-state:hover {
    background: rgba(255, 170, 0, 0.12) !important;
    border-color: rgba(255, 170, 0, 0.5) !important;
    color: #ffaa00 !important;
    box-shadow: 0 0 10px rgba(255, 170, 0, 0.25) !important;
}

/* Neon Red glow for deletion trash button on hover */
.btn-hud-control.btn-hud-delete {
    background: rgba(255, 85, 85, 0.05);
    border-color: rgba(255, 85, 85, 0.2);
    color: #ff5555;
}

.btn-hud-control.btn-hud-delete:hover:not(:disabled) {
    background: #ff5555;
    border-color: #ff5555;
    color: #ffffff;
    box-shadow: 0 0 12px rgba(255, 85, 85, 0.5);
    transform: translateY(-2px);
}

/* Disabled buttons state for arrows at list bounds */
.btn-hud-control:disabled {
    opacity: 0.25;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
    background: rgba(255, 255, 255, 0.01) !important;
    border-color: rgba(255, 255, 255, 0.04) !important;
    color: rgba(255, 255, 255, 0.3) !important;
}

/* Dotted dimmed styling for row hidden by visibility toggling */
.hud-item-row.hud-row-hidden {
    opacity: 0.42;
    border: 1px dashed rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.01);
    box-shadow: none !important;
}

/* ==========================================================================
   USER INACTIVITY AUTO-HIDE FOR CINEMATIC VIDEOS
   ========================================================================== */
body.user-inactive {
    cursor: none !important;
}

body.user-inactive * {
    cursor: none !important;
}

/* Smooth fade for custom cursors */
body.user-inactive .custom-cursor,
body.user-inactive .custom-cursor-glow {
    opacity: 0 !important;
    pointer-events: none !important;
    transition: opacity 0.5s ease-in-out !important;
}

/* Smooth fade for close button, custom video controls bar, and info overlay */
body.user-inactive #lightbox .lightbox-close,
body.user-inactive #lightbox .lightbox-custom-controls,
body.user-inactive #lightbox .lightbox-info {
    opacity: 0 !important;
    pointer-events: none !important;
    transition: opacity 0.6s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

/* Special slide animation for custom controls when fading */
body.user-inactive #lightbox .lightbox-custom-controls {
    transform: translateY(18px) !important;
}

/* Hover reveal styles transitions */
#lightbox .lightbox-close,
#lightbox .lightbox-custom-controls,
#lightbox .lightbox-info {
    transition: opacity 0.35s cubic-bezier(0.25, 0.8, 0.25, 1), transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

/* ==========================================================================
   INSTAGRAM PREMIUM STREAM LOADING STYLES
   ========================================================================== */
.instagram-stream-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-family: 'Outfit', sans-serif;
    z-index: 10;
    pointer-events: none;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 30px;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: opacity 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.instagram-stream-loader .spinner {
    width: 54px;
    height: 54px;
    border: 3.5px solid rgba(255, 255, 255, 0.06);
    border-radius: 50%;
    border-top-color: #ff007f;
    border-right-color: #7928ca;
    animation: rotateRingClockwise 1s linear infinite;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 12px rgba(255, 0, 127, 0.5));
}

.instagram-stream-loader span {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.9);
    background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0.6));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   DATABASE SYNC & RECOVERY DASHBOARD STYLES
   ========================================================================== */
.db-sync-dashboard {
    background: rgba(10, 5, 20, 0.45);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 242, 254, 0.15);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), inset 0 0 15px rgba(0, 242, 254, 0.05);
}

.sync-dashboard-inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

@media (min-width: 768px) {
    .sync-dashboard-inner {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.sync-status-group {
    flex: 1;
}

.sync-status-indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.sync-status-indicator .status-pulse {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ffaa00;
    box-shadow: 0 0 8px #ffaa00;
}

.sync-status-indicator .status-pulse.connected {
    background: #00f2fe;
    box-shadow: 0 0 8px #00f2fe;
}

.sync-status-indicator .status-pulse.error {
    background: #ff0055;
    box-shadow: 0 0 8px #ff0055;
}

.sync-status-indicator .status-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: var(--text-white);
}

.sync-dashboard-desc {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin: 0;
}

.sync-actions-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* Local Data Recovery Alert Banner */
.db-sync-banner {
    background: linear-gradient(135deg, rgba(255, 170, 0, 0.15) 0%, rgba(255, 0, 85, 0.15) 100%);
    border: 1px solid rgba(255, 170, 0, 0.3);
    border-radius: 12px;
    padding: 1.2rem 1.8rem;
    margin-bottom: 25px;
    box-shadow: 0 8px 24px rgba(255, 170, 0, 0.1);
    animation: pulseBorder 2s infinite alternate;
}

.sync-banner-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: flex-start;
}

@media (min-width: 768px) {
    .sync-banner-content {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
    }
}

.sync-banner-icon {
    font-size: 1.8rem;
}

.sync-banner-text {
    flex: 1;
}

.sync-banner-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: #ffaa00;
    margin: 0 0 5px 0;
}

.sync-banner-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.4;
    margin: 0;
}

@keyframes pulseBorder {
    from {
        border-color: rgba(255, 170, 0, 0.3);
        box-shadow: 0 8px 24px rgba(255, 170, 0, 0.1);
    }
    to {
        border-color: rgba(255, 0, 85, 0.5);
        box-shadow: 0 8px 24px rgba(255, 0, 85, 0.2);
    }
}

/* ==========================================================================
   DRAG AND DROP SORTER STYLES
   ========================================================================== */
.hud-item-row {
    position: relative;
    cursor: grab;
    transition: transform 0.2s, background-color 0.2s, box-shadow 0.2s;
}

.hud-item-row:active {
    cursor: grabbing;
}

/* Dragging state with cyan-copper glass glow */
.hud-item-row.hud-row-dragging {
    opacity: 0.45;
    background: rgba(0, 240, 255, 0.08) !important;
    border: 1px dashed var(--neon-cyan) !important;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.2);
    transform: scale(0.98);
}

/* Elegant Drag Handle Dot Grid */
.hud-drag-handle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 100%;
    margin-right: 12px;
    color: var(--text-muted);
    cursor: grab;
    opacity: 0.5;
    transition: opacity 0.2s, color 0.2s;
}

.hud-item-row:hover .hud-drag-handle {
    opacity: 1;
    color: var(--neon-cyan);
}

.hud-drag-handle::before {
    content: "⋮⋮";
    font-size: 1.2rem;
    letter-spacing: -2px;
    font-weight: bold;
}

/* Drag Over visual cues */
.hud-item-row.drag-over-above {
    border-top: 2px solid var(--neon-cyan) !important;
    box-shadow: 0 -5px 10px rgba(0, 240, 255, 0.1);
}

.hud-item-row.drag-over-below {
    border-bottom: 2px solid var(--neon-cyan) !important;
    box-shadow: 0 5px 10px rgba(0, 240, 255, 0.1);
}

/* ==========================================================================
   PREMIUM GLASSMORPHIC METADATA EDIT MODAL
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 2, 10, 0.7);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    background: rgba(12, 6, 24, 0.65);
    border: 1px solid rgba(0, 242, 254, 0.2);
    border-radius: 20px;
    width: 95%;
    max-width: 520px;
    padding: 2.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), inset 0 0 25px rgba(0, 242, 254, 0.05);
    position: relative;
    transform: translateY(20px) scale(0.95);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-overlay.open .modal-card {
    transform: translateY(0) scale(1);
}

.modal-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.2s, transform 0.2s;
    padding: 5px;
}

.modal-close-btn:hover {
    color: var(--neon-cyan);
    transform: rotate(90deg);
}

.modal-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 242, 254, 0.1);
    border: 1px solid rgba(0, 242, 254, 0.2);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-family: 'Orbitron', sans-serif;
    color: var(--neon-cyan);
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.modal-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 900;
    letter-spacing: 2px;
    color: var(--text-white);
    margin: 0 0 8px 0;
}

.modal-subtitle {
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin: 0 0 25px 0;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* Custom styles for select elements in glassmorphic UI */
.select-group {
    position: relative;
}

.select-group select {
    width: 100%;
    background-color: rgba(5, 3, 10, 0.5) !important;
    border: 1px solid var(--border-glass) !important;
    border-radius: 6px !important;
    padding: 14px 16px !important;
    color: var(--text-white) !important;
    font-family: var(--font-primary) !important;
    font-size: 0.95rem !important;
    outline: none;
    cursor: pointer;
    transition: border-color 0.25s, box-shadow 0.25s;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    appearance: none !important;
    background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.5)' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 16px center !important;
    background-size: 12px !important;
}

.select-group select:focus {
    border-color: var(--secondary) !important;
    box-shadow: 0 0 15px rgba(var(--secondary-rgb), 0.15) !important;
}

.select-group select option {
    background: #0c0618 !important;
    color: var(--text-white) !important;
}

/* Force float the select label above the dropdown border line */
.input-group select ~ label,
.select-group label,
.select-label {
    position: absolute;
    left: 10px !important;
    top: -10px !important;
    background: #0c0618 !important;
    padding: 2px 8px !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    color: var(--secondary) !important;
    letter-spacing: 0.5px;
    pointer-events: none;
    border-radius: 4px;
    border: 1px solid rgba(var(--secondary-rgb), 0.2);
    z-index: 10;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    margin-top: 10px;
}

.modal-actions .btn {
    padding: 10px 24px;
}

/* Edit HUD trigger styling */
.hud-item-details {
    cursor: pointer;
    transition: opacity 0.2s;
}

.hud-item-details:hover {
    opacity: 0.8;
}

.hud-item-details:hover .hud-item-title {
    color: var(--neon-cyan);
    text-shadow: 0 0 8px rgba(0, 240, 255, 0.5);
}

/* Category Visibility Switches */
.category-switch-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(8, 29, 44, 0.6);
    border: 1px solid rgba(0, 240, 255, 0.15);
    padding: 8px 16px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.category-switch-item:hover {
    border-color: rgba(0, 240, 255, 0.4);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.15);
}

.category-switch-item .switch-label {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.85rem;
    color: var(--text-white);
    letter-spacing: 0.05em;
}

.cyber-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 22px;
}

.cyber-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cyber-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(255, 255, 255, 0.1);
    transition: .4s;
    border-radius: 22px;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.cyber-slider:before {
    position: absolute;
    content: "";
    height: 14px;
    width: 14px;
    left: 3px;
    bottom: 3px;
    background-color: var(--text-white);
    transition: .4s;
    border-radius: 50%;
    box-shadow: 0 0 4px rgba(0, 0, 0, 0.5);
}

.cyber-switch input:checked + .cyber-slider {
    background-color: rgba(0, 240, 255, 0.2);
    border-color: var(--neon-cyan);
}

.cyber-switch input:checked + .cyber-slider:before {
    transform: translateX(22px);
    background-color: var(--neon-cyan);
    box-shadow: 0 0 8px var(--neon-cyan);
}

/* HUD Category Visibility Bar */
.hud-category-visibility-bar {
    transition: all 0.3s ease;
}

.btn-cat-visible {
    background: rgba(0, 240, 255, 0.1) !important;
    border-color: var(--neon-cyan) !important;
    color: var(--neon-cyan) !important;
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
}

.btn-cat-visible:hover {
    background: rgba(0, 240, 255, 0.2) !important;
    box-shadow: 0 0 15px rgba(0, 240, 255, 0.4);
}

.btn-cat-hidden {
    background: rgba(255, 107, 107, 0.1) !important;
    border-color: #ff6b6b !important;
    color: #ff6b6b !important;
    box-shadow: 0 0 10px rgba(255, 107, 107, 0.2);
}

.btn-cat-hidden:hover {
    background: rgba(255, 107, 107, 0.2) !important;
    box-shadow: 0 0 15px rgba(255, 107, 107, 0.4);
}

/* ==========================================================================
   HUD THUMBNAIL SUBMENU STYLES
   ========================================================================== */
.hud-item-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 0 !important;
}

.hud-item-main {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 100%;
}

.hud-thumbnail-submenu {
    margin-top: 12px;
    padding-top: 16px;
    border-top: 1px dashed rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
    gap: 16px;
    animation: slideDown 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    text-align: left;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hud-submenu-title {
    font-size: 0.8rem;
    font-family: 'Orbitron', var(--font-secondary);
    letter-spacing: 1px;
    color: var(--neon-cyan);
    margin: 0;
    text-transform: uppercase;
}

.hud-submenu-content {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    align-items: flex-start;
}

.hud-submenu-preview-box {
    display: flex;
    flex-direction: column;
    gap: 8px;
    width: 180px;
    flex-shrink: 0;
}

.hud-submenu-preview-box img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: #000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.hud-submenu-actions {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 200px;
}

.hud-submenu-actions label.upload-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(170, 107, 250, 0.08);
    border: 1px solid rgba(170, 107, 250, 0.3);
    color: #b983ff;
    padding: 10px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.25s ease;
    text-align: center;
}

.hud-submenu-actions label.upload-btn:hover {
    background: #aa6bfa;
    color: #fff;
    border-color: #aa6bfa;
    box-shadow: 0 0 12px rgba(170, 107, 250, 0.35);
}

.btn-hud-submenu-reset {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(255, 85, 85, 0.08);
    border: 1px solid rgba(255, 85, 85, 0.3);
    color: #ff5555;
    padding: 10px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.25s ease;
}

.btn-hud-submenu-reset:hover {
    background: #ff5555;
    color: #fff;
    border-color: #ff5555;
    box-shadow: 0 0 12px rgba(255, 85, 85, 0.35);
}

/* Scrubber for local video */
.hud-submenu-scrubber-box {
    flex: 1.5;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 280px;
}

.hud-submenu-scrubber-box video {
    width: 100%;
    max-height: 150px;
    background: #000;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    object-fit: contain;
}

.hud-submenu-slider-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 4px;
}

.hud-submenu-scrub-slider {
    flex: 1;
    height: 6px;
    -webkit-appearance: none;
    appearance: none;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    outline: none;
    cursor: pointer;
}

.hud-submenu-scrub-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--secondary);
    box-shadow: 0 0 6px var(--secondary);
    transition: transform 0.15s ease;
}

.hud-submenu-scrub-slider::-webkit-slider-thumb:hover {
    transform: scale(1.25);
}

.hud-submenu-time {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    font-family: monospace;
    min-width: 50px;
    text-align: right;
}

.btn-hud-submenu-capture {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(0, 242, 254, 0.08);
    border: 1px solid rgba(0, 242, 254, 0.3);
    color: var(--secondary);
    padding: 10px 16px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.25s ease;
    align-self: flex-start;
    margin-top: 4px;
}

.btn-hud-submenu-capture:hover:not(:disabled) {
    background: var(--secondary);
    color: #000;
    border-color: var(--secondary);
    box-shadow: 0 0 12px rgba(0, 242, 254, 0.4);
}

.btn-hud-submenu-capture:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ==========================================================================
   PORTFOLIO VIDEO SHARING & TOAST STYLES
   ========================================================================== */
.showcase-actions-row {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-top: 10px;
    width: 100%;
}

.btn-share-project {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass-active);
    color: var(--text-white);
    width: 34px;
    height: 34px;
    border-radius: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    cursor: pointer;
    flex-shrink: 0;
}

.btn-share-project:hover {
    background: var(--secondary);
    color: var(--bg-dark);
    box-shadow: var(--glow-secondary);
    border-color: var(--secondary);
}

.btn-share-project svg {
    width: 14px;
    height: 14px;
    pointer-events: none;
}

.cyber-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: rgba(11, 7, 24, 0.95);
    border: 1px solid var(--secondary);
    box-shadow: 0 0 15px rgba(170, 107, 250, 0.4);
    color: var(--text-white);
    padding: 12px 24px;
    border-radius: 6px;
    font-family: var(--font-secondary);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 10000;
    transform: translateY(100px);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
    pointer-events: none;
}

.cyber-toast.show {
    transform: translateY(0);
    opacity: 1;
}

.cyber-toast svg {
    color: var(--secondary);
    flex-shrink: 0;
}


