/* ============================================
   CLUBROY.ART - Minimal Dark Theme Gallery
   ============================================ */

:root {
    /* Colors */
    --bg-dark: #0a0a0a;
    --bg-darker: #050505;
    --text-light: #ffffff;
    --text-muted: #b0b0b0;
    --text-dim: #808080;
    --accent: #ffffff;
    --border-color: #1a1a1a;
    --overlay-bg: rgba(10, 10, 10, 0.95);
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 4rem;
    
    /* Typography */
    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Helvetica Neue', sans-serif;
    --font-mono: 'Monaco', 'Menlo', monospace;
    
    /* Transitions */
    --transition-fast: 300ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 500ms cubic-bezier(0.35, 0, 0.27, 0.99);
}

/* ============================================
   RESET & BASE
   ============================================ */

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

html {
    scroll-behavior: smooth;
}

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

a {
    color: var(--text-light);
    text-decoration: none;
    transition: opacity var(--transition-fast);
}

a:hover {
    opacity: 0.8;
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 998;
    background-color: var(--bg-dark);
    border-bottom: 1px solid var(--border-color);
    padding: var(--spacing-md) 0;
    backdrop-filter: blur(10px);
}

@media (max-width: 768px) {
    .header {
        padding: var(--spacing-sm) 0;
    }
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    flex: 1;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.logo-image {
    height: 32px;
    width: auto;
    opacity: 0.95;
    transition: opacity var(--transition-fast);
}

.logo-image:hover {
    opacity: 1;
}

.logo-text {
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--text-light);
    transition: opacity var(--transition-fast);
}

.logo-text:hover {
    opacity: 0.7;
}

/* Menu Button */
.menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity var(--transition-fast);
    -webkit-tap-highlight-color: transparent;
    min-width: 48px;
    min-height: 48px;
}

.menu-btn:hover {
    opacity: 0.7;
}

.menu-btn:hover .shape.circle {
    transform: rotate(180deg);
}

.menu-btn:hover .shape.square {
    transform: rotate(45deg);
}

.menu-btn:hover .shape.triangle {
    transform: translateY(-3px);
}

.menu-icon {
    display: flex;
    gap: var(--spacing-sm);
    align-items: center;
}

.shape {
    display: block;
    transition: transform var(--transition-fast);
}

.shape.circle {
    width: 10px;
    height: 10px;
    border: 1.5px solid var(--text-light);
    border-radius: 50%;
}

.shape.square {
    width: 10px;
    height: 10px;
    border: 1.5px solid var(--text-light);
}

.shape.triangle {
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 8px solid var(--text-light);
}

/* ============================================
   DRAWER NAVIGATION
   ============================================ */

.drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 350px;
    height: 100vh;
    background-color: var(--bg-dark);
    border-left: 1px solid var(--border-color);
    z-index: 999;
    transition: right var(--transition-smooth);
    overflow-y: auto;
    padding: calc(var(--spacing-md) + 60px) var(--spacing-md) var(--spacing-md);
}

.drawer.open {
    right: 0;
}

.drawer-content {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.drawer-title {
    font-size: 1.2rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.drawer-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.drawer-menu .nav-link {
    font-size: 1rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    position: relative;
    padding-bottom: var(--spacing-xs);
    transition: opacity var(--transition-fast);
}

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

.drawer-menu .nav-link:hover::after,
.drawer-menu .nav-link.active::after {
    width: 100%;
}

.drawer-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0);
    z-index: 997;
    opacity: 0;
    pointer-events: none;
    transition: background-color var(--transition-smooth), opacity var(--transition-smooth);
}

.drawer-overlay.visible {
    background-color: rgba(0, 0, 0, 0.6);
    opacity: 1;
    pointer-events: all;
}

/* ============================================
   MAIN CONTENT
   ============================================ */

.main-content {
    padding-top: 100px;
}

.section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-xl) var(--spacing-md);
    border-bottom: 1px solid var(--border-color);
}

.section-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: var(--spacing-lg);
    text-align: center;
    line-height: 1.1;
}

/* Hero Section */
.hero-section {
    min-height: 80vh;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: var(--spacing-xl) var(--spacing-md);
    background-image: url('./static/hero-background-low.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    transition: background-size 0.1s ease-out;
    will-change: background-size;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    text-align: center;
}



.hero-logo {
    width: min(200px, 35vw);
    height: auto;
    margin: 0 auto var(--spacing-lg) auto;
    display: block;
    opacity: 0.95;
    animation: fadeInUp 1s ease-out;
    transition: transform 0.1s ease-out, opacity 0.1s ease-out;
    will-change: transform, opacity;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1;
    margin-bottom: var(--spacing-sm);
    animation: fadeInUp 1s ease-out;
    color: #ffffff;
    transition: transform 0.1s ease-out, opacity 0.1s ease-out;
    will-change: transform, opacity;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #ffffff;
    font-weight: 400;
    margin-bottom: var(--spacing-md);
    animation: fadeInUp 1s ease-out 0.2s both;
    transition: transform 0.1s ease-out, opacity 0.1s ease-out;
    will-change: transform, opacity;
}

.hero-description {
    font-size: 1rem;
    color: #ffffff;
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
    max-width: 600px;
    animation: fadeInUp 1s ease-out 0.4s both;
    margin-left: auto;
    margin-right: auto;
    transition: transform 0.1s ease-out, opacity 0.1s ease-out;
    will-change: transform, opacity;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 2rem, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/* ============================================
   SOFTWARE SECTION (with background)
   ============================================ */

.software-section {
    min-height: 100vh;
    background-image: url('./static/software-background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    transition: background-size 0.1s ease-out;
    will-change: background-size;
}

.software-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 0;
}

.software-content {
    position: relative;
    z-index: 1;
}

.software-section .section-title {
    transition: transform 0.1s ease-out, opacity 0.1s ease-out;
    will-change: transform, opacity;
}

/* ============================================
   GALLERY SECTION (Carousel Redesign)
   ============================================ */

.gallery-section {
    position: relative;
    overflow: hidden;
}

.gallery-header {
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

.gallery-subtitle {
    margin-top: 0.4rem;
    color: var(--text-muted);
    font-size: 1.2rem;
    letter-spacing: 0.55em;
    text-transform: uppercase;
}

.gallery-showcase {
    position: relative;
    min-height: 760px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    transform: translate3d(0, 0, 0) scale(1);
    transition: transform 0.2s cubic-bezier(0.22, 0.61, 0.36, 1);
    will-change: transform;
    touch-action: pan-y;
    -webkit-user-select: none;
    user-select: none;
}

.gallery-track {
    position: relative;
    width: 100%;
    height: 760px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1200px;
    overflow: hidden;
}

.gallery-slide {
    position: absolute;
    width: 360px;
    height: 540px;
    border: 0;
    background: transparent;
    border-radius: 10px;
    overflow: hidden;
    padding: 0;
    cursor: pointer;
    transition: transform 0.46s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.34s ease, filter 0.34s ease, box-shadow 0.34s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
    will-change: transform, opacity, filter;
    backface-visibility: hidden;
    -webkit-tap-highlight-color: transparent;
}

.gallery-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-fast);
}

.gallery-slide.is-active {
    width: 430px;
    height: 650px;
    opacity: 1;
    z-index: 5;
    transform: translateX(0) scale(1.03);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.65);
}

.gallery-slide.pos-left {
    transform: translateX(-300px) scale(0.9);
    opacity: 0.72;
    z-index: 4;
    filter: brightness(0.72);
}

.gallery-slide.pos-right {
    transform: translateX(300px) scale(0.9);
    opacity: 0.72;
    z-index: 4;
    filter: brightness(0.72);
}

.gallery-slide.pos-far-left {
    transform: translateX(-470px) scale(0.78);
    opacity: 0.28;
    z-index: 3;
    filter: brightness(0.5);
}

.gallery-slide.pos-far-right {
    transform: translateX(470px) scale(0.78);
    opacity: 0.28;
    z-index: 3;
    filter: brightness(0.5);
}

.gallery-slide.is-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateX(0) scale(0.6);
    z-index: 1;
    filter: brightness(0.4);
}

.gallery-slide:hover img {
    transform: scale(1.05);
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.9rem;
    line-height: 1;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 6;
    backdrop-filter: blur(6px);
    transition: all var(--transition-fast);
}

.gallery-nav:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    transform: translateY(-50%) scale(1.05);
}

.gallery-nav-prev {
    left: 0;
}

.gallery-nav-next {
    right: 0;
}

/* ============================================
   GRAPHICS SECTION (White Background Carousel)
   ============================================ */

.graphics-section {
    position: relative;
    overflow: hidden;
    background-color: #ffffff;
    color: var(--bg-dark);
    border-bottom: 1px solid #e0e0e0;
}

.graphics-header {
    margin-bottom: var(--spacing-lg);
    text-align: center;
}

.graphics-section .section-title {
    color: var(--bg-dark);
    margin-bottom: var(--spacing-sm);
}

.graphics-subtitle {
    color: #666666;
    font-size: 1.2rem;
    margin-top: 0.4rem;
    letter-spacing: 0.55em;
    text-transform: uppercase;
}

.graphics-showcase {
    position: relative;
    min-height: 680px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    transform: translate3d(0, 0, 0) scale(1);
    transition: transform 0.2s cubic-bezier(0.22, 0.61, 0.36, 1);
    will-change: transform;
    touch-action: pan-y;
    -webkit-user-select: none;
    user-select: none;
    overflow: hidden;
}

.graphics-track {
    position: relative;
    width: 100%;
    height: 680px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1200px;
    overflow: hidden;
}

.graphics-slide {
    position: absolute;
    width: 280px;
    height: 280px;
    border: 0;
    background: #f5f5f5;
    border-radius: 8px;
    overflow: hidden;
    padding: 20px;
    cursor: pointer;
    transition: transform 0.46s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.34s ease, filter 0.34s ease, box-shadow 0.34s ease;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    will-change: transform, opacity, filter;
    backface-visibility: hidden;
    -webkit-tap-highlight-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}

.graphics-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    transition: transform var(--transition-fast);
}

.graphics-slide.is-active {
    width: 360px;
    height: 360px;
    opacity: 1;
    z-index: 5;
    transform: translateX(0) scale(1.05);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.15);
    background: #ffffff;
}

.graphics-slide.pos-left {
    transform: translateX(-240px) scale(0.88);
    opacity: 0.68;
    z-index: 4;
    filter: brightness(0.95);
}

.graphics-slide.pos-right {
    transform: translateX(240px) scale(0.88);
    opacity: 0.68;
    z-index: 4;
    filter: brightness(0.95);
}

.graphics-slide.pos-far-left {
    transform: translateX(-420px) scale(0.75);
    opacity: 0.3;
    z-index: 3;
    filter: brightness(0.9);
}

.graphics-slide.pos-far-right {
    transform: translateX(420px) scale(0.75);
    opacity: 0.3;
    z-index: 3;
    filter: brightness(0.9);
}

.graphics-slide.is-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateX(0) scale(0.6);
    z-index: 1;
    filter: brightness(0.85);
}

.graphics-slide:hover img {
    transform: scale(1.1);
}

.graphics-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--bg-dark);
    background: #ffffff;
    color: var(--bg-dark);
    font-size: 1.8rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 6;
    transition: all var(--transition-fast);
}

.graphics-nav:hover {
    background: var(--bg-dark);
    color: #ffffff;
    transform: translateY(-50%) scale(1.1);
}

.graphics-nav-prev {
    left: 0;
}

.graphics-nav-next {
    right: 0;
}

/* ============================================
   VIDEO SECTION
   ============================================ */

/* ============================================
   VIDEO SECTION
   ============================================ */

/* Video Showcase Carousel */
.video-showcase {
    position: relative;
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    z-index: 2;
}

.video-track {
    position: relative;
    width: 100%;
    height: 760px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1200px;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
}

.video-item {
    position: absolute;
    background: transparent;
    border: 0;
    padding: 0;
    width: 400px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    transition: transform 0.52s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.36s ease, filter 0.36s ease;
    will-change: transform, opacity, filter;
    -webkit-tap-highlight-color: transparent;
}

.video-banner-wrap {
    position: relative;
    width: 340px;
    height: 510px;
    border-radius: 16px;
    overflow: hidden;
    background: transparent;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.video-banner {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1);
    transition: transform var(--transition-fast);
    background: transparent;
}

.video-item:hover .video-banner {
    transform: scale(1.05);
}

.video-item:hover .video-banner-wrap {
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5);
}

/* Rotating label above the banner */
.video-view-label {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-item.is-active .video-view-label {
    opacity: 1;
}

.video-caption {
    text-align: center;
    min-height: 52px;
}

.video-name {
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-light);
    line-height: 1.3;
}

.video-meta {
    display: block;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

/* Video Carousel Position Classes */
.video-item.is-active {
    opacity: 1;
    z-index: 7;
    transform: translate3d(0, -12px, 0) scale(1.05);
    filter: brightness(1);
}

.video-item.pos-left {
    opacity: 0.72;
    z-index: 6;
    transform: translate3d(-380px, 10px, 0) scale(0.88);
    filter: brightness(0.72);
}

.video-item.pos-right {
    opacity: 0.72;
    z-index: 6;
    transform: translate3d(380px, 10px, 0) scale(0.88);
    filter: brightness(0.72);
}

.video-item.pos-far-left {
    opacity: 0.28;
    z-index: 5;
    transform: translate3d(-620px, 30px, 0) scale(0.75);
    filter: brightness(0.5);
    pointer-events: none;
}

.video-item.pos-far-right {
    opacity: 0.28;
    z-index: 5;
    transform: translate3d(620px, 30px, 0) scale(0.75);
    filter: brightness(0.5);
    pointer-events: none;
}

.video-item.is-hidden {
    display: none;
    opacity: 0;
    z-index: 1;
    pointer-events: none;
}

/* Video Nav Arrows */
.video-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.9rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 8;
    backdrop-filter: blur(6px);
    transition: all var(--transition-fast);
}

.video-nav:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    transform: translateY(-50%) scale(1.05);
}

.video-nav-prev {
    left: 0;
}

.video-nav-next {
    right: 0;
}

/* Video Indicators */
.video-indicators {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: var(--spacing-lg);
    padding: 0 var(--spacing-md);
    position: relative;
    z-index: 2;
}

.video-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.video-indicator:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.15);
}

.video-indicator.active {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.25);
}

/* Video Player Container (expandable) */
.video-player-container {
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
    margin-top: var(--spacing-xl);
    position: relative;
    z-index: 2;
}

.video-player-container.expanded {
    max-height: 800px;
}

.video-player-wrap {
    position: relative;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding-bottom: 50.625%; /* 16:9 of max-width */
    height: 0;
    overflow: hidden;
    border-radius: 12px;
    background-color: var(--border-color);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.video-player-wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 10px;
}

.video-collapse-btn {
    display: block;
    margin: var(--spacing-lg) auto 0;
    padding: 0.7rem 2rem;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    color: var(--text-muted);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    backdrop-filter: blur(6px);
}

.video-collapse-btn:hover {
    background: rgba(255, 255, 255, 0.14);
    color: var(--text-light);
}

.video-section {
    position: relative;
    overflow: hidden;
    background-color: #0a0a0a;
}

.video-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('./static/video-background-low.jpg?v=2');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform-origin: center center;
    transform: scale(var(--video-bg-scale, 1));
    transition: transform 0.1s ease-out;
    will-change: transform;
    pointer-events: none;
    z-index: 0;
}

.video-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    pointer-events: none;
    z-index: 1;
}

.video-section .section-title {
    position: relative;
    z-index: 2;
    color: var(--text-light);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.video-header {
    text-align: center;
    position: relative;
    z-index: 2;
}

.video-subtitle {
    margin-top: 0.4rem;
    color: var(--text-muted);
    font-size: 1.2rem;
    letter-spacing: 0.55em;
    text-transform: uppercase;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.content-partners {
    width: 100%;
    max-width: 800px;
    margin: var(--spacing-xl) auto 0;
    position: relative;
    z-index: 2;
    background-color: transparent;
}

.content-partners h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: var(--spacing-md);
    color: var(--text-light);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    text-align: center;
}

.partners-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-md);
}

.partner-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-lg);
    color: var(--text-light);
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    transition: all var(--transition-fast);
    text-align: center;
}

.partner-card:hover {
    border-color: #ff0000;
    background: rgba(255, 0, 0, 0.08);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 0, 0, 0.2);
}

.partner-avatar {
    display: none;
}

.partner-img {
    display: none;
}

.partner-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.partner-name {
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-light);
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.45);
}

.partner-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ============================================
   EXHIBITIONS SECTION
   ============================================ */

.exhibitions-header {
    text-align: center;
    margin-bottom: var(--spacing-sm);
}

.exhibitions-subtitle {
    margin-top: 0.4rem;
    color: var(--text-muted);
    font-size: 1.2rem;
    letter-spacing: 0.55em;
    text-transform: uppercase;
}

/* Gallery-style showcase container */
.exhibitions-showcase {
    position: relative;
    min-height: 820px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    transform: translate3d(0, 0, 0) scale(1);
    transition: transform 0.2s cubic-bezier(0.22, 0.61, 0.36, 1);
    will-change: transform;
    touch-action: pan-y;
    -webkit-user-select: none;
    user-select: none;
}

/* Track — the stage where slides live */
.exhibitions-track {
    position: relative;
    width: 100%;
    height: 800px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1200px;
    overflow: hidden;
}

/* Individual exhibition slide */
.exhibition-slide {
    position: absolute;
    top: 50%;
    width: 320px;
    border: 0;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.46s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.34s ease, filter 0.34s ease, box-shadow 0.34s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
    will-change: transform, opacity, filter;
    backface-visibility: hidden;
    -webkit-tap-highlight-color: transparent;
}

.exhibition-slide .exhibition-image img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-fast);
}

/* Active (center) slide */
.exhibition-slide.is-active {
    width: 420px;
    opacity: 1;
    z-index: 5;
    transform: translateY(-50%) translateX(0) scale(1.03);
    box-shadow: 0 28px 70px rgba(0, 0, 0, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.15);
    cursor: default;
}

/* Active slide: show full poster without cropping */
.exhibition-slide.is-active .exhibition-image img {
    height: auto;
    max-height: 560px;
    object-fit: contain;
    background: rgba(0, 0, 0, 0.2);
}

.exhibition-slide.is-active:hover .exhibition-image img {
    transform: scale(1.02);
}

/* Position classes — mirror gallery */
.exhibition-slide.pos-left {
    transform: translateY(-50%) translateX(-310px) scale(0.9);
    opacity: 0.72;
    z-index: 4;
    filter: brightness(0.72);
}

.exhibition-slide.pos-right {
    transform: translateY(-50%) translateX(310px) scale(0.9);
    opacity: 0.72;
    z-index: 4;
    filter: brightness(0.72);
}

.exhibition-slide.pos-far-left {
    transform: translateY(-50%) translateX(-490px) scale(0.78);
    opacity: 0.28;
    z-index: 3;
    filter: brightness(0.5);
}

.exhibition-slide.pos-far-right {
    transform: translateY(-50%) translateX(490px) scale(0.78);
    opacity: 0.28;
    z-index: 3;
    filter: brightness(0.5);
}

.exhibition-slide.is-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateY(-50%) translateX(0) scale(0.6);
    z-index: 1;
    filter: brightness(0.4);
}

/* Nav buttons — same style as .gallery-nav */
.exhibition-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.9rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 6;
    backdrop-filter: blur(6px);
    transition: all var(--transition-fast);
}

.exhibition-nav:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    transform: translateY(-50%) scale(1.05);
}

.exhibition-nav-prev {
    left: 0;
}

.exhibition-nav-next {
    right: 0;
}

/* Info block: hidden for side slides, visible when active */
.exhibition-slide .exhibition-info {
    display: none;
}

.exhibition-slide.is-active .exhibition-info {
    display: block;
    padding: var(--spacing-md);
    background: rgba(0, 0, 0, 0.35);
}

/* Exhibition Image */
.exhibition-image {
    width: 100%;
    overflow: hidden;
    background-color: var(--border-color);
}

.exhibition-poster-clickable {
    cursor: pointer;
    position: relative;
}

.exhibition-poster-clickable::after {
    content: '🔍 Klicken zum Vergrößern';
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 5px 10px;
    border-radius: 3px;
    font-size: 0.75rem;
    opacity: 0;
    transition: opacity var(--transition-fast);
}

.exhibition-poster-clickable:hover::after {
    opacity: 1;
}

/* Placeholder for upcoming exhibitions */
.exhibition-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
}

.placeholder-content {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    padding: var(--spacing-lg);
}

.placeholder-title {
    font-size: 1.8rem;
    font-weight: 600;
    color: var(--text-light);
    margin: 0;
    letter-spacing: -0.01em;
}

.placeholder-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Exhibition Info text styles */
.exhibition-info {
    padding: var(--spacing-md);
}

.exhibition-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
}

.exhibition-date {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--spacing-md);
}

.exhibition-description {
    font-size: 0.95rem;
    color: var(--text-dim);
    line-height: 1.7;
}

.exhibition-pdf-link {
    display: inline-block;
    margin-top: var(--spacing-md);
    padding: var(--spacing-sm) var(--spacing-md);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all var(--transition-fast);
    background: rgba(255, 255, 255, 0.02);
}

.exhibition-pdf-link:hover {
    border-color: var(--text-light);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

/* ============================================
   SERIES SCHAUKASTEN SECTION
   ============================================ */

.series-section {
    position: relative;
    overflow: hidden;
}

.series-header {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: var(--spacing-lg);
}

.series-title-block {
    text-align: center;
}

.series-title-block .section-title {
    margin-bottom: 0;
}

.series-subtitle {
    margin-top: 0.4rem;
    color: var(--text-muted);
    font-size: 1.2rem;
    letter-spacing: 0.55em;
    text-transform: uppercase;
}

.series-showcase {
    position: relative;
    min-height: 760px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    transform: translate3d(0, 0, 0);
    transition: transform 0.22s cubic-bezier(0.22, 0.61, 0.36, 1);
    will-change: transform;
    touch-action: pan-y;
}

.series-track {
    position: relative;
    width: 100%;
    height: 760px;
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1200px;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 12%, black 88%, transparent 100%);
}

.series-item {
    position: absolute;
    background: transparent;
    border: 0;
    padding: 0;
    width: 380px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    transition: transform 0.52s cubic-bezier(0.22, 0.61, 0.36, 1), opacity 0.36s ease, filter 0.36s ease;
    will-change: transform, opacity, filter;
    -webkit-tap-highlight-color: transparent;
}

.series-ball-wrap {
    position: relative;
    width: 320px;
    height: 320px;
    border-radius: 50%;
    overflow: hidden;
    background: transparent;
}

.series-ball-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    pointer-events: none;
}

.series-ball {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    transform: scale(1);
    transition: transform var(--transition-fast);
    background: transparent;
}

.series-item:hover .series-ball {
    transform: scale(1.05);
}

/* Rotating label above the ball */
.series-view-label {
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.series-item.is-active .series-view-label {
    opacity: 1;
}

.series-caption {
    text-align: center;
    min-height: 52px;
}

.series-name {
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-light);
    line-height: 1.3;
}

.series-meta {
    display: block;
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.series-item.is-active {
    opacity: 1;
    z-index: 7;
    transform: translate3d(0, -12px, 0) scale(1.12);
    filter: brightness(1);
}

.series-item.pos-left {
    opacity: 0.92;
    z-index: 6;
    transform: translate3d(-360px, 10px, 0) scale(0.92);
    filter: brightness(0.98);
}

.series-item.pos-right {
    opacity: 0.92;
    z-index: 6;
    transform: translate3d(360px, 10px, 0) scale(0.92);
    filter: brightness(0.98);
}

.series-item.pos-far-left {
    opacity: 0;
    z-index: 5;
    transform: translate3d(-750px, 100px, 0) scale(0.78);
    filter: brightness(0.62);
    pointer-events: none;
}

.series-item.pos-far-right {
    opacity: 0;
    z-index: 5;
    transform: translate3d(750px, 100px, 0) scale(0.78);
    filter: brightness(0.62);
    pointer-events: none;
}

.series-item.is-hidden {
    display: none;
    opacity: 0;
    z-index: 1;
    pointer-events: none;
}

.series-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.85);
    font-size: 1.9rem;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 8;
    backdrop-filter: blur(6px);
    transition: all var(--transition-fast);
}

.series-nav:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    transform: translateY(-50%) scale(1.05);
}

.series-nav-prev {
    left: 0;
}

.series-nav-next {
    right: 0;
}

/* Carousel Indicators */
.series-indicators {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: var(--spacing-lg);
    padding: 0 var(--spacing-md);
}

.series-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.series-indicator:hover {
    background: rgba(255, 255, 255, 0.5);
    transform: scale(1.15);
}

.series-indicator.active {
    background: rgba(255, 255, 255, 0.9);
    transform: scale(1.25);
}

/* Gallery Container */
.series-gallery-container {
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.22, 0.61, 0.36, 1);
    margin-top: var(--spacing-xl);
}

.series-gallery-container.expanded {
    max-height: 4000px;
}

.series-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--spacing-md);
    padding: 0 var(--spacing-md);
    margin-bottom: var(--spacing-xl);
    width: 100%;
}

.series-gallery-item {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 6px;
    cursor: pointer;
    animation: galleryItemIn 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
    opacity: 0;
    animation-fill-mode: forwards;
}

.series-gallery-item:nth-child(1) { animation-delay: 0.1s; }
.series-gallery-item:nth-child(2) { animation-delay: 0.15s; }
.series-gallery-item:nth-child(3) { animation-delay: 0.2s; }
.series-gallery-item:nth-child(4) { animation-delay: 0.25s; }
.series-gallery-item:nth-child(5) { animation-delay: 0.3s; }
.series-gallery-item:nth-child(6) { animation-delay: 0.35s; }
.series-gallery-item:nth-child(7) { animation-delay: 0.4s; }
.series-gallery-item:nth-child(8) { animation-delay: 0.45s; }
.series-gallery-item:nth-child(9) { animation-delay: 0.5s; }

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

.series-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.series-gallery-item:hover img {
    transform: scale(1.08);
    filter: brightness(1.1);
}

.series-collapse-btn {
    display: block;
    margin: var(--spacing-lg) auto;
    padding: 10px 28px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.95rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    backdrop-filter: blur(6px);
}

.series-collapse-btn:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

/* ============================================
   SOFTWARE SECTION
   ============================================ */

.software-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--spacing-md);
    justify-items: center;
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
}

.software-card {
    padding: var(--spacing-lg);
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 4px;
    background-color: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    transition: all var(--transition-fast);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    width: 100%;
    min-height: 250px;
}

.software-card:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background-color: rgba(255, 255, 255, 0.08);
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.software-title {
    font-size: 1.2rem;
    font-weight: 600;
}

.software-description {
    font-size: 0.9rem;
    color: var(--text-dim);
    flex-grow: 1;
}

.software-button {
    padding: var(--spacing-sm) var(--spacing-md);
    border: 1px solid var(--border-color);
    background-color: transparent;
    color: var(--text-light);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    cursor: pointer;
    transition: all var(--transition-fast);
    border-radius: 2px;
}

.software-button:hover:not(:disabled) {
    background-color: var(--text-light);
    color: var(--bg-dark);
}

.software-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-xl);
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--spacing-lg) var(--spacing-md);
}

.contact-column {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.contact-column-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-light);
    margin: 0;
    text-transform: capitalize;
    letter-spacing: 0.02em;
}

.contact-column-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.contact-column-list li {
    margin: 0;
}

.contact-column-list a {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color var(--transition-fast);
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
}

.contact-column-list a:hover {
    color: var(--text-muted);
    border-bottom-color: var(--text-muted);
}

.contact-info-block {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contact-label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin: 0;
}

.contact-email,
.contact-social {
    color: var(--text-light);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color var(--transition-fast);
    border-bottom: 1px solid transparent;
    padding-bottom: 2px;
    display: inline-block;
    width: fit-content;
}

.contact-email:hover,
.contact-social:hover {
    color: var(--text-muted);
    border-bottom-color: var(--text-muted);
}

.contact-location {
    color: var(--text-light);
    font-size: 0.95rem;
    margin: 0;
}

/* ============================================
   LIGHTBOX
   ============================================ */

.lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-fast);
}

.lightbox.open {
    opacity: 1;
    pointer-events: all;
}

.lightbox-content {
    position: relative;
    width: 90%;
    max-width: 1200px;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-image {
    width: 100%;
    height: auto;
    max-height: 90vh;
    object-fit: contain;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 2rem;
    cursor: pointer;
    padding: var(--spacing-md);
    transition: opacity var(--transition-fast);
    z-index: 1001;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    opacity: 0.7;
}

.lightbox-close {
    top: var(--spacing-md);
    right: var(--spacing-md);
}

.lightbox-prev {
    left: var(--spacing-md);
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-next {
    right: var(--spacing-md);
    top: 50%;
    transform: translateY(-50%);
}

.lightbox-caption {
    position: absolute;
    bottom: var(--spacing-lg);
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: 4px;
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
    color: var(--text-light);
    font-size: 0.9rem;
    max-width: 90%;
    z-index: 1002;
}

.lightbox-caption-title {
    color: var(--text-light);
    letter-spacing: 0.02em;
}

.lightbox-caption-year {
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 0.85rem;
}

.lightbox-caption-counter {
    color: var(--text-dim);
    font-size: 0.8rem;
    margin-left: auto;
}

/* ============================================
   FOOTER
   ============================================ */

.footer {
    background-color: var(--bg-darker);
    border-top: 1px solid var(--border-color);
    padding: var(--spacing-lg) var(--spacing-md);
    text-align: center;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ============================================
   SECTION NAVIGATOR
   ============================================ */

.section-navigator {
    position: fixed;
    bottom: 3rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 997;
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
    transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.section-navigator.hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%) translateY(20px);
}

@media (max-width: 768px) {
    .section-navigator {
        bottom: 1.5rem;
        gap: var(--spacing-sm);
    }
}

@media (max-width: 480px) {
    .section-navigator {
        bottom: 1rem;
        gap: 0.5rem;
    }
}

.nav-to-next,
.nav-to-last {
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    width: 56px;
    height: 56px;
    color: var(--text-light);
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.nav-to-next {
    opacity: 1;
}

.nav-to-last {
    opacity: 0.7;
}

.nav-to-next:hover,
.nav-to-last:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent);
    transform: scale(1.1);
}

.nav-to-last:hover {
    opacity: 1;
}

@media (max-width: 480px) {
    .nav-to-next,
    .nav-to-last {
        width: 48px;
        height: 48px;
        font-size: 0.95rem;
    }
}

@media (max-width: 375px) {
    .nav-to-next,
    .nav-to-last {
        width: 44px;
        height: 44px;
    }
}

.nav-next-label,
.nav-label {
    display: none;
}

.nav-to-next svg,
.nav-to-last svg {
    transition: transform var(--transition-fast);
}

.nav-to-next:hover svg {
    animation: bounceDown 1s infinite;
}

.nav-to-last:hover svg {
    animation: bounceUp 1s infinite;
}

@keyframes bounceDown {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(5px);
    }
}

@keyframes bounceUp {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .exhibitions-showcase {
        min-height: 720px;
    }

    .exhibitions-track {
        height: 700px;
    }

    .exhibition-slide {
        width: 260px;
    }

    .exhibition-slide .exhibition-image img {
        height: 260px;
    }

    .exhibition-slide.is-active {
        width: 360px;
    }

    .exhibition-slide.is-active .exhibition-image img {
        height: auto;
        max-height: 480px;
    }

    .exhibition-slide.pos-left {
        transform: translateY(-50%) translateX(-260px) scale(0.9);
    }

    .exhibition-slide.pos-right {
        transform: translateY(-50%) translateX(260px) scale(0.9);
    }

    .exhibition-slide.pos-far-left {
        transform: translateY(-50%) translateX(-400px) scale(0.78);
    }

    .exhibition-slide.pos-far-right {
        transform: translateY(-50%) translateX(400px) scale(0.78);
    }

    .graphics-showcase {
        min-height: 600px;
    }

    .graphics-track {
        height: 580px;
    }

    .graphics-slide {
        width: 240px;
        height: 240px;
    }

    .graphics-slide.is-active {
        width: 320px;
        height: 320px;
    }

    .graphics-slide.pos-left {
        transform: translateX(-200px) scale(0.85);
    }

    .graphics-slide.pos-right {
        transform: translateX(200px) scale(0.85);
    }

    .graphics-nav {
        width: 44px;
        height: 44px;
        font-size: 1.6rem;
    }
}

@media (max-width: 768px) {
    .header {
        padding: var(--spacing-sm) 0;
    }

    .header-container {
        padding: 0 var(--spacing-sm);
    }

    .logo-text {
        font-size: 0.75rem;
    }

    .main-content {
        padding-top: 80px;
    }

    .section {
        min-height: auto;
        padding: var(--spacing-lg) var(--spacing-sm);
    }

    .section-title {
        font-size: 2.2rem;
        margin-bottom: var(--spacing-md);
        line-height: 1.2;
    }

    .hero-section {
        min-height: 60vh;
        padding: var(--spacing-lg) var(--spacing-sm);
    }

    .hero-title {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: var(--spacing-sm);
    }

    .hero-description {
        font-size: 0.85rem;
        margin-bottom: var(--spacing-md);
    }

    .drawer {
        width: 85vw;
        max-width: 300px;
    }

    .gallery-subtitle {
        font-size: 0.95rem;
        margin-top: -0.8rem;
    }

    .gallery-showcase {
        min-height: 450px;
        padding: var(--spacing-md) 0;
        transition: transform 0.14s ease-out;
    }

    .gallery-track {
        height: 430px;
    }

    .gallery-slide {
        width: 180px;
        height: 280px;
        transition: transform 0.32s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.22s ease, filter 0.22s ease, box-shadow 0.22s ease;
        border-radius: 6px;
    }

    .gallery-slide.is-active {
        width: 210px;
        height: 340px;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    }

    .gallery-slide.pos-left {
        transform: translateX(-100px) scale(0.85);
    }

    .gallery-slide.pos-right {
        transform: translateX(100px) scale(0.85);
    }

    .gallery-slide.pos-far-left,
    .gallery-slide.pos-far-right {
        opacity: 0;
        pointer-events: none;
    }

    .gallery-nav {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
        display: flex;
    }

    .series-subtitle {
        font-size: 0.95rem;
        letter-spacing: 0.35em;
    }

    .series-showcase {
        min-height: 480px;
        padding: var(--spacing-md) 0;
    }

    .series-track {
        height: 460px;
    }

    .series-item {
        width: 220px;
        gap: 1rem;
    }

    .series-ball-wrap {
        width: 180px;
        height: 180px;
    }

    .series-item.is-active {
        transform: translate3d(0, -4px, 0) scale(1.06);
    }

    .series-item.pos-left {
        transform: translate3d(-130px, 10px, 0) scale(0.88);
    }

    .series-item.pos-right {
        transform: translate3d(130px, 10px, 0) scale(0.88);
    }

    .series-item.pos-far-left,
    .series-item.pos-far-right {
        opacity: 0;
        pointer-events: none;
    }

    .series-nav {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
        display: flex;
    }

    .series-nav-prev {
        left: -40px;
    }

    .series-nav-next {
        right: -40px;
    }

    .graphics-subtitle {
        font-size: 0.95rem;
        margin-top: -0.8rem;
    }

    .graphics-showcase {
        min-height: 420px;
        padding: var(--spacing-md) 0;
    }

    .graphics-track {
        height: 400px;
    }

    .graphics-slide {
        width: 160px;
        height: 160px;
    }

    .graphics-slide.is-active {
        width: 200px;
        height: 200px;
    }

    .graphics-slide.pos-left {
        transform: translateX(-100px) scale(0.82);
    }

    .graphics-slide.pos-right {
        transform: translateX(100px) scale(0.82);
    }

    .graphics-slide.pos-far-left,
    .graphics-slide.pos-far-right {
        opacity: 0;
        pointer-events: none;
    }

    .graphics-nav {
        width: 36px;
        height: 36px;
        font-size: 1.3rem;
    }

    .exhibitions-showcase {
        min-height: 600px;
    }

    .exhibitions-track {
        height: 580px;
    }

    .exhibition-slide {
        width: 180px;
    }

    .exhibition-slide .exhibition-image img {
        height: 200px;
    }

    .exhibition-slide.is-active {
        width: 260px;
    }

    .exhibition-slide.is-active .exhibition-image img {
        height: auto;
        max-height: 380px;
    }

    .exhibition-slide.pos-left {
        transform: translateY(-50%) translateX(-160px) scale(0.85);
    }

    .exhibition-slide.pos-right {
        transform: translateY(-50%) translateX(160px) scale(0.85);
    }

    .exhibition-slide.pos-far-left,
    .exhibition-slide.pos-far-right {
        opacity: 0;
        pointer-events: none;
    }

    .exhibition-nav {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .software-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
    }

    .software-card {
        min-height: 200px;
    }

    .video-track {
        height: 500px;
    }

    .video-item {
        width: 260px;
        gap: 1rem;
    }

    .video-banner-wrap {
        width: 210px;
        height: 340px;
    }

    .video-item.is-active {
        transform: translate3d(0, -4px, 0) scale(1.04);
    }

    .video-item.pos-left {
        transform: translate3d(-160px, 10px, 0) scale(0.84);
    }

    .video-item.pos-right {
        transform: translate3d(160px, 10px, 0) scale(0.84);
    }

    .video-item.pos-far-left,
    .video-item.pos-far-right {
        opacity: 0;
        pointer-events: none;
    }

    .video-nav {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
        display: flex;
    }

    .video-nav-prev {
        left: -40px;
    }

    .video-nav-next {
        right: -40px;
    }

    .video-player-wrap {
        max-width: 100%;
    }

    .content-partners {
        max-width: 100%;
    }

    .partners-list {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }

    .partner-card {
        padding: var(--spacing-md);
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
        padding: 0 var(--spacing-sm);
    }

    .contact-column-title {
        font-size: 0.95rem;
    }

    .lightbox-close,
    .lightbox-prev,
    .lightbox-next {
        font-size: 1.5rem;
        padding: var(--spacing-sm);
    }

    .lightbox-prev {
        left: var(--spacing-sm);
    }

    .lightbox-next {
        right: var(--spacing-sm);
    }

    .lightbox-content {
        width: 95%;
        max-width: 95%;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.4rem;
        margin-bottom: var(--spacing-sm);
        line-height: 1.2;
    }

    .section {
        padding: var(--spacing-md) var(--spacing-xs);
    }

    .hero-title {
        font-size: 1.5rem;
        margin-bottom: 0.3rem;
    }

    .hero-subtitle {
        font-size: 0.8rem;
        margin-bottom: var(--spacing-xs);
    }

    .hero-description {
        font-size: 0.75rem;
    }

    .gallery-showcase {
        min-height: 380px;
    }

    .gallery-track {
        height: 360px;
    }

    .gallery-slide {
        width: 140px;
        height: 220px;
        border-radius: 5px;
    }

    .gallery-slide.is-active {
        width: 160px;
        height: 280px;
    }

    .gallery-slide.pos-left {
        transform: translateX(-70px) scale(0.82);
    }

    .gallery-slide.pos-right {
        transform: translateX(70px) scale(0.82);
    }

    .gallery-nav {
        width: 36px;
        height: 36px;
        font-size: 1.2rem;
    }

    .series-showcase {
        min-height: 400px;
    }

    .series-track {
        height: 380px;
    }

    .series-item {
        width: 170px;
        gap: 0.8rem;
    }

    .series-ball-wrap {
        width: 140px;
        height: 140px;
    }

    .series-item.pos-left {
        transform: translate3d(-90px, 10px, 0) scale(0.85);
    }

    .series-item.pos-right {
        transform: translate3d(90px, 10px, 0) scale(0.85);
    }

    .series-name {
        font-size: 0.75rem;
    }

    .series-meta {
        font-size: 0.65rem;
    }

    .series-nav {
        width: 36px;
        height: 36px;
        font-size: 1.2rem;
    }

    .series-nav-prev {
        left: -35px;
    }

    .series-nav-next {
        right: -35px;
    }

    .menu-icon {
        gap: 5px;
    }

    .shape.circle,
    .shape.square {
        width: 7px;
        height: 7px;
        border-width: 1px;
    }

    .shape.triangle {
        border-left: 3px solid transparent;
        border-right: 3px solid transparent;
        border-bottom: 5px solid var(--text-light);
    }

    .graphics-showcase {
        min-height: 300px;
    }

    .graphics-track {
        height: 280px;
    }

    .graphics-slide {
        width: 120px;
        height: 120px;
    }

    .graphics-slide.is-active {
        width: 160px;
        height: 160px;
    }

    .graphics-slide.pos-left {
        transform: translateX(-70px) scale(0.78);
    }

    .graphics-slide.pos-right {
        transform: translateX(70px) scale(0.78);
    }

    .graphics-nav {
        width: 32px;
        height: 32px;
        font-size: 1.1rem;
    }

    .exhibitions-showcase {
        min-height: 520px;
    }

    .exhibitions-track {
        height: 500px;
    }

    .video-track {
        height: 420px;
    }

    .video-item {
        width: 200px;
        gap: 0.8rem;
    }

    .video-banner-wrap {
        width: 160px;
        height: 260px;
    }

    .video-item.is-active {
        transform: translate3d(0, -4px, 0) scale(1.04);
    }

    .video-item.pos-left {
        transform: translate3d(-110px, 10px, 0) scale(0.82);
    }

    .video-item.pos-right {
        transform: translate3d(110px, 10px, 0) scale(0.82);
    }

    .video-nav {
        width: 36px;
        height: 36px;
        font-size: 1.2rem;
    }

    .exhibition-slide {
        width: 130px;
    }

    .exhibition-slide .exhibition-image img {
        height: 160px;
    }

    .exhibition-slide.is-active {
        width: 210px;
    }

    .exhibition-slide.is-active .exhibition-image img {
        height: auto;
        max-height: 320px;
    }

    .exhibition-slide.pos-left {
        transform: translateY(-50%) translateX(-120px) scale(0.82);
    }

    .exhibition-slide.pos-right {
        transform: translateY(-50%) translateX(120px) scale(0.82);
    }

    .exhibition-nav {
        width: 36px;
        height: 36px;
        font-size: 1.2rem;
    }

    .software-card {
        padding: var(--spacing-md);
        min-height: auto;
    }

    .software-title {
        font-size: 1rem;
    }

    .software-description {
        font-size: 0.85rem;
    }

    .contact-column-title {
        font-size: 0.9rem;
    }

    .contact-column-list,
    .contact-info-block {
        gap: var(--spacing-xs);
    }

    .lightbox-caption {
        font-size: 0.75rem;
        padding: var(--spacing-xs) var(--spacing-sm);
    }

    .section-navigator {
        bottom: 1rem;
        gap: var(--spacing-sm);
    }

    .nav-to-next,
    .nav-to-last {
        width: 48px;
        height: 48px;
        font-size: 1.1rem;
    }

    .main-content {
        padding-top: 65px;
    }
}

@media (max-width: 375px) {
    .section-title {
        font-size: 1.2rem;
    }

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

    .hero-logo {
        width: min(150px, 30vw);
    }

    .gallery-showcase {
        min-height: 320px;
    }

    .gallery-track {
        height: 300px;
    }

    .gallery-slide {
        width: 120px;
        height: 190px;
    }

    .gallery-slide.is-active {
        width: 140px;
        height: 240px;
    }

    .gallery-slide.pos-left {
        transform: translateX(-60px) scale(0.8);
    }

    .gallery-slide.pos-right {
        transform: translateX(60px) scale(0.8);
    }

    .graphics-showcase {
        min-height: 240px;
    }

    .graphics-track {
        height: 220px;
    }

    .graphics-slide {
        width: 100px;
        height: 100px;
    }

    .graphics-slide.is-active {
        width: 140px;
        height: 140px;
    }

    .graphics-slide.pos-left {
        transform: translateX(-60px) scale(0.75);
    }

    .graphics-slide.pos-right {
        transform: translateX(60px) scale(0.75);
    }

    .graphics-nav {
        width: 30px;
        height: 30px;
        font-size: 1rem;
    }

    .series-showcase {
        min-height: 350px;
    }

    .series-track {
        height: 330px;
    }

    .series-item {
        width: 140px;
    }

    .series-ball-wrap {
        width: 110px;
        height: 110px;
    }

    .series-item.pos-left {
        transform: translate3d(-70px, 8px, 0) scale(0.82);
    }

    .series-item.pos-right {
        transform: translate3d(70px, 8px, 0) scale(0.82);
    }

    .drawer {
        width: 90vw;
        max-width: 280px;
    }

    .logo-text {
        display: none;
    }

    .exhibitions-showcase {
        min-height: 460px;
    }

    .exhibitions-track {
        height: 440px;
    }

    .exhibition-slide.is-active {
        width: 185px;
    }

    .exhibition-slide.is-active .exhibition-image img {
        height: auto;
        max-height: 280px;
    }

    .video-player-wrap {
        max-width: 100%;
    }

    .lightbox-content {
        width: 98%;
    }

    .lightbox-caption {
        bottom: var(--spacing-sm);
    }
}

/* ============================================
   UTILITIES
   ============================================ */

.hidden {
    display: none;
}

/* Smooth scroll is enabled via HTML attribute */
