/* Lenis Smooth Scroll Setup */
html.lenis, html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
.lenis.lenis-stopped {
  overflow: hidden;
}
.lenis.lenis-smooth iframe {
  pointer-events: none;
}

:root {
    --bg-color: #0b0f19;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.08);
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --accent-primary: #3b82f6;
    --accent-gradient: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

/* Typography */
h1, h2, h3 {
    font-family: var(--font-heading);
    line-height: 1.2;
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 100;
    background: rgba(11, 15, 25, 0.7);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--card-border);
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

nav a {
    color: var(--text-secondary);
    text-decoration: none;
    margin: 0 1.5rem;
    font-weight: 500;
    transition: var(--transition);
}

nav a:hover {
    color: var(--text-primary);
}

/* Buttons */
.btn-primary, .btn-secondary {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    font-family: var(--font-body);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    border: none;
}

.btn-primary {
    background: var(--accent-gradient);
    color: white;
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.6);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--card-bg);
    color: var(--text-primary);
    border: 1px solid var(--card-border);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    perspective: 1000px; /* Voor het 3D muiseffect */
}

/* Dynamische Achtergrond Slider (Random) */
.hero-bg-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg-slider .bg-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 2s cubic-bezier(0.4, 0, 0.2, 1), transform 6.5s ease-out;
    transform: scale(1.0);
    will-change: opacity, transform;
}

.hero-bg-slider .bg-layer.active {
    opacity: 1;
    transform: scale(1.06);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(11, 15, 25, 0.4) 0%, rgba(11, 15, 25, 1) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem;
    background: rgba(11, 15, 25, 0.3); /* Transparanter zodat vitrage beter zichtbaar is */
    backdrop-filter: blur(12px);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    overflow: hidden; /* Zorgt dat vitrage netjes in de borders blijft */
}

/* ChatGPT Branding */
.chatgpt-branding {
    display: inline-flex;
    align-items: center;
    gap: 24px;
    background: rgba(0, 0, 0, 0.6);
    padding: 12px 40px 12px 16px;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    margin-bottom: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(12px);
    transition: var(--transition);
}

.chatgpt-branding:hover {
    transform: translateY(-4px);
    background: rgba(16, 163, 127, 0.15);
    border-color: rgba(16, 163, 127, 0.5);
    box-shadow: 0 15px 50px rgba(16, 163, 127, 0.2);
}

.chatgpt-icon {
    width: 90px;
    height: 90px;
    border-radius: 16px; /* Geen cirkel meer, maar een strakke premium afronding zoals een app-icoon */
    object-fit: cover;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.branding-text {
    color: var(--text-secondary);
    font-size: 1.5rem;
    letter-spacing: 0.5px;
}

.branding-text strong {
    color: #10a37f; /* Official ChatGPT green */
    font-weight: 800;
    letter-spacing: 1px;
}

/* Snelle Instructie Badge */
.quick-instruction-pill {
    display: inline-block;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.15);
    padding: 0.8rem 1.6rem;
    border-radius: 100px;
    margin: 1.2rem 0 2rem;
    font-size: 1.1rem;
    color: #f1f5f9;
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.quick-instruction-pill code {
    background: rgba(96, 165, 250, 0.25);
    padding: 0.2rem 0.6rem;
    border-radius: 6px;
    color: #93c5fd;
    font-family: monospace;
    font-weight: 700;
    border: 1px solid rgba(96, 165, 250, 0.4);
}

/* Tweekleurige Accent Stijlen */
.color-chatgpt {
    color: #10b981; /* Helder ChatGPT Emerald Groen */
    font-weight: 800;
    text-shadow: 0 0 14px rgba(16, 185, 129, 0.4);
}

.color-param {
    color: #60a5fa; /* Helder Neon Blauw/Cyaan */
    font-weight: 800;
    text-shadow: 0 0 14px rgba(96, 165, 250, 0.4);
}

.step-badge {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 0.25rem 0.65rem;
    border-radius: 6px;
    font-weight: 800;
    display: inline-block;
    margin-right: 0.3rem;
    vertical-align: middle;
}

.step-chatgpt {
    background: rgba(16, 185, 129, 0.2);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.5);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.2);
}

.step-param {
    background: rgba(96, 165, 250, 0.2);
    color: #93c5fd;
    border: 1px solid rgba(96, 165, 250, 0.5);
    box-shadow: 0 0 10px rgba(96, 165, 250, 0.2);
}

.step-divider {
    color: var(--text-secondary);
    margin: 0 0.6rem;
    font-weight: 300;
}

.param-instructions {
    font-size: 1.25rem !important;
    margin-top: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
}

.hero-content p {
    color: var(--text-secondary);
    font-size: 1.125rem;
    margin-bottom: 2.5rem;
    line-height: 1.8;
}

.badge {
    display: inline-block;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
    font-weight: 600;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(59, 130, 246, 0.3);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Common Section Styles */
.section {
    padding: 6rem 5%;
}

/* Gallery Section met Dynamische Random Achtergrond */
.gallery-section {
    position: relative;
    clip-path: inset(0 0 0 0); /* Zorgt voor een scherp viewport kader */
    background: #080c16;
}

.gallery-bg-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.gallery-bg-slider .gallery-bg-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 2s cubic-bezier(0.4, 0, 0.2, 1), transform 6.5s ease-out;
    transform: scale(1.0);
    will-change: opacity, transform;
    pointer-events: none;
}

.gallery-bg-slider .gallery-bg-layer.active {
    opacity: 1;
    transform: scale(1.06);
}

.gallery-bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(to bottom, rgba(8, 12, 22, 0.65) 0%, rgba(5, 8, 16, 0.88) 100%);
    backdrop-filter: blur(6px);
    z-index: 1;
    pointer-events: none;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 700px;
    margin-inline: auto;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 1.125rem;
}

/* Codeword Grid */
.codeword-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.codeword-card {
    background: rgba(12, 18, 30, 0.65);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
    backdrop-filter: blur(12px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.codeword-card:hover {
    background: rgba(20, 30, 50, 0.85);
    transform: translateY(-6px);
    border-color: rgba(59, 130, 246, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(59, 130, 246, 0.15);
}

.img-container {
    height: 250px;
    overflow: hidden;
    background-color: rgba(3, 6, 12, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
}

.img-container img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.codeword-card:hover .img-container img {
    transform: scale(1.05);
}

.card-info {
    padding: 1.5rem;
}

.card-info h3 {
    color: var(--accent-primary);
    font-family: monospace;
    font-size: 1.1rem;
}

.card-info p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Showcase Grid */
.showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 2.5rem;
}

.showcase-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    group: relative;
}

.showcase-card img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}

.showcase-card:hover img {
    transform: scale(1.03);
}

.showcase-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 1.5rem 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%);
    transform: translateY(20px);
    opacity: 0.9;
    transition: var(--transition);
}

.showcase-card:hover .showcase-content {
    transform: translateY(0);
    opacity: 1;
}

.category-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(4px);
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    margin-bottom: 0.75rem;
    display: inline-block;
}

.showcase-content p {
    color: #e2e8f0;
    font-size: 0.9rem;
}

/* Parameter Section met Dynamische Random Achtergrond */
.parameter-section {
    position: relative;
    padding: 6rem 5% 8rem;
    margin-top: 4rem;
    clip-path: inset(0 0 0 0); /* Zorgt dat de fixed achtergrond beelden exact binnen deze sectie getoond worden */
    background: #0b0f19;
}

.param-bg-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

.param-bg-slider .param-bg-layer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 2s cubic-bezier(0.4, 0, 0.2, 1), transform 6.5s ease-out;
    transform: scale(1.0);
    will-change: opacity, transform;
    pointer-events: none;
}

.param-bg-slider .param-bg-layer.active {
    opacity: 1;
    transform: scale(1.06);
}

.param-bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(to bottom, rgba(11, 15, 25, 0.6) 0%, rgba(11, 15, 25, 0.95) 100%);
    z-index: 1;
    pointer-events: none;
}

/* Pagina-brede Parameter Grid Redesign */
.codewords-table-container {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 5rem;
    
    /* Maakt de container full-width, negeert parent padding */
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 0 5vw;
}

.category-group {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    position: relative;
    padding-top: 5rem;
}

.category-title {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
    padding: 0 0 1rem 0;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 2.2rem;
    color: #ffffff;
    letter-spacing: 1px;
}

.codeword-row {
    display: flex;
    flex-direction: column;
    padding: 2rem;
    background: rgba(10, 16, 28, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    backdrop-filter: blur(8px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.codeword-row::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 4px; height: 100%;
    background: var(--accent-primary);
    opacity: 0;
    transition: 0.3s ease;
}

.codeword-row:hover {
    background: rgba(20, 30, 50, 0.8);
    transform: translateY(-6px);
    border-color: rgba(59, 130, 246, 0.3);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 20px rgba(59, 130, 246, 0.15);
}

.codeword-row:hover::before {
    opacity: 1;
}

.codeword-name {
    font-family: monospace;
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--accent-primary);
    margin-bottom: 1rem;
    text-shadow: 0 0 15px rgba(59, 130, 246, 0.4);
}

.codeword-desc {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1.05rem;
}

/* CTA Section */
.cta-section {
    padding: 4rem 5% 8rem;
    display: flex;
    justify-content: center;
}

.cta-box {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 24px;
    padding: 4rem 2rem;
    text-align: center;
    max-width: 800px;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.cta-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--accent-gradient);
}

.cta-box h2 {
    margin-bottom: 1rem;
}

.cta-box p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Footer */
footer {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(5, 8, 16, 0.85);
    backdrop-filter: blur(12px);
    padding: 3.5rem 5% 4rem;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.footer-author {
    font-size: 1.4rem;
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 0.5px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-title {
    color: #38bdf8; /* Kleur 1: Helder Neon Blauw */
    text-shadow: 0 0 15px rgba(56, 189, 248, 0.4);
    font-weight: 800;
}

.footer-by {
    color: #94a3b8;
    font-weight: 400;
    font-size: 1.15rem;
}

.footer-name {
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    transition: var(--transition);
}

.footer-name:hover {
    color: #38bdf8;
    text-shadow: 0 0 12px rgba(56, 189, 248, 0.5);
}

.footer-divider {
    color: rgba(255, 255, 255, 0.2);
    margin: 0 0.4rem;
}

.footer-brand {
    color: #ef4444; /* Helder Rood */
    text-shadow: 0 0 15px rgba(239, 68, 68, 0.45);
    font-weight: 800;
    letter-spacing: 1px;
    text-decoration: none;
    transition: var(--transition);
}

.footer-brand:hover {
    color: #ff6b6b;
    text-shadow: 0 0 20px rgba(239, 68, 68, 0.7);
}

footer p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Utilities */
.text-center { text-align: center; }
.mt-4 { margin-top: 2rem; }

/* Responsive */
@media (max-width: 992px) {
    .hero-content {
        padding: 2rem;
        margin-top: 4rem;
    }
    .hero-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
    nav { display: none; } /* Could add a hamburger menu later */
    
    .showcase-grid {
        grid-template-columns: 1fr;
    }

    .codeword-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
}

/* Modal / Lightbox */
.modal {
    display: none;
    position: fixed;
    z-index: 100000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(3, 6, 14, 0.96);
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(14px);
    padding: 20px;
    box-sizing: border-box;
}

.modal-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 90vw;
    max-height: 94vh;
    gap: 14px;
    position: relative;
    z-index: 1001;
}

.modal-content {
    max-width: 86vw;
    max-height: calc(88vh - 65px); /* Gegarandeerd voldoende ruimte onder de foto */
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.8);
    animation: zoomIn 0.25s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.close-modal {
    position: absolute;
    top: 20px;
    right: 30px;
    color: var(--text-secondary);
    font-size: 36px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition);
    z-index: 1003;
}

.close-modal:hover,
.close-modal:focus {
    color: #ffffff;
    transform: scale(1.15);
}

/* Lightbox Navigation */
.modal-prev, .modal-next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 18px 24px;
    margin-top: -30px;
    color: white;
    font-weight: bold;
    font-size: 36px;
    transition: 0.3s ease;
    border-radius: 12px;
    user-select: none;
    -webkit-user-select: none;
    z-index: 1003;
    background-color: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
}

.modal-next {
    right: 25px;
}
.modal-prev {
    left: 25px;
}

.modal-prev:hover, .modal-next:hover {
    background-color: rgba(59, 130, 246, 0.8);
    border-color: rgba(59, 130, 246, 0.6);
    transform: scale(1.05);
}

.modal-caption {
    position: static; /* Nooit meer over de foto heen zweven */
    transform: none;
    background: rgba(11, 17, 30, 0.8);
    padding: 8px 20px;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    max-width: 90vw;
    text-align: center;
}

.modal-param-name {
    color: #60a5fa;
    font-family: monospace;
    font-size: 1.15rem;
    font-weight: 800;
    background: rgba(59, 130, 246, 0.2);
    padding: 4px 12px;
    border-radius: 6px;
    border: 1px solid rgba(59, 130, 246, 0.4);
    letter-spacing: 1px;
}

.modal-param-desc {
    color: #cbd5e1;
    font-size: 0.95rem;
    font-family: sans-serif;
    font-weight: 400;
}

/* ==========================================================================
   FULL-SCREEN HORIZONTALE GALERIJ (PC & MOBIEL)
   ========================================================================== */

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-badge {
    background: rgba(59, 130, 246, 0.2);
    color: #60a5fa;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 20px;
    border: 1px solid rgba(59, 130, 246, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-uitleg-nav {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent-gradient);
    color: #ffffff;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.65rem 1.3rem;
    border-radius: 100px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
    transition: var(--transition);
}

.btn-uitleg-nav:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 6px 25px rgba(59, 130, 246, 0.6);
}

.nav-arrow {
    font-size: 1.1rem;
    animation: bounceDown 2s infinite;
}

@keyframes bounceDown {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(4px); }
    60% { transform: translateY(2px); }
}

/* Gallery Hero Fullscreen Wrapper */
/* Gallery Hero Fullscreen Sticky Pinning Container (PC Parallax) */
@media (min-width: 769px) {
    .gallery-hero-section {
        position: relative;
        z-index: 150;
        width: 100vw;
        height: 500vh; /* Vertical scroll distance for horizontal pinning */
        background-color: #060913;
    }

    .sticky-viewport {
        position: sticky;
        top: 0;
        z-index: 160;
        width: 100vw;
        height: 100vh;
        height: 100dvh;
        overflow: hidden;
    }

    .horizontal-gallery-track {
        display: flex;
        flex-direction: row;
        width: max-content;
        height: 100vh;
        height: 100dvh;
        will-change: transform;
        transition: transform 0.05s ease-out;
    }
}

@media (max-width: 768px) {
    .gallery-hero-section {
        position: relative;
        width: 100vw;
        height: 100vh;
        height: 100dvh;
        overflow: hidden;
        background-color: #060913;
    }

    .sticky-viewport {
        position: relative;
        width: 100vw;
        height: 100vh;
        height: 100dvh;
        overflow: hidden;
    }

    .horizontal-gallery-track {
        display: flex;
        flex-direction: row;
        width: 100vw;
        height: 100vh;
        height: 100dvh;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
        touch-action: pan-x;
    }
}

.horizontal-gallery-track::-webkit-scrollbar {
    display: none; /* Chrome / Safari / Opera */
}

/* Single Fullscreen Slide */
.gallery-slide {
    flex: 0 0 100vw;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    scroll-snap-align: start;
    snap-align: start;
    scroll-snap-stop: always;
    touch-action: pan-x;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px 90px 20px;
    box-sizing: border-box;
    overflow: hidden;
    perspective: 1200px;
}

/* Ambient Blur Background */
.slide-ambient-blur {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: blur(18px) brightness(0.42) saturate(1.35);
    transform: scale(1.08);
    z-index: 1;
    pointer-events: none;
    will-change: transform;
    transition: transform 0.1s linear;
}

/* Slide Content Container */
.slide-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 1200px;
    width: 100%;
    height: 100%;
}

/* Top 3D Spatial Scroll Progress Indicator */
.parallax-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 3px;
    background: rgba(255, 255, 255, 0.08);
    z-index: 10000;
    pointer-events: none;
}

.parallax-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #3b82f6 0%, #10a37f 50%, #8b5cf6 100%);
    box-shadow: 0 0 14px rgba(59, 130, 246, 0.9);
    transition: width 0.1s linear;
}

/* Crisp Image Container with Badge Overlay & 3D Spatial Tilt */
.slide-img-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 96vw;
    max-height: 88vh;
    max-height: 88dvh;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.85), 0 0 50px rgba(59, 130, 246, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.18);
    cursor: pointer;
    transform-style: preserve-3d;
    will-change: transform;
}

/* 3D Light Reflection Shine Overlay */
.card-shine-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0) 65%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 4;
    mix-blend-mode: overlay;
}

.slide-img-wrapper:hover .card-shine-overlay {
    opacity: 1;
}

.slide-img-wrapper .slide-img {
    width: auto;
    height: auto;
    max-height: 88vh;
    max-height: 88dvh;
    max-width: 96vw;
    object-fit: contain;
    display: block;
    transition: transform 0.35s ease;
}

.slide-img-wrapper:hover .slide-img {
    transform: scale(1.02);
}

/* Portrait Image Expansion OVER Navbar */
.gallery-slide.is-portrait {
    padding: 10px 10px !important;
    z-index: 300 !important;
}

.gallery-slide.is-portrait .slide-content {
    justify-content: center !important;
    position: relative !important;
}

.slide-img-wrapper.is-portrait,
.gallery-slide.is-portrait .slide-img-wrapper {
    z-index: 500 !important;
    max-height: 97vh !important;
    max-height: 97dvh !important;
    height: 97vh !important;
    height: 97dvh !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

.slide-img-wrapper.is-portrait .slide-img,
.gallery-slide.is-portrait .slide-img-wrapper .slide-img {
    max-height: 97vh !important;
    max-height: 97dvh !important;
    height: 97vh !important;
    height: 97dvh !important;
    width: auto !important;
    object-fit: contain !important;
}

.gallery-slide.is-portrait .slide-glass-info {
    position: absolute !important;
    bottom: 25px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    z-index: 600 !important;
}

/* PC Landscape Image Layout: Optimal Vertical Alignment & No Big Empty Top Void */
@media (min-width: 769px) {
    .gallery-slide:not(.is-portrait),
    .gallery-slide.is-landscape {
        padding: 68px 30px 20px 30px !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .gallery-slide:not(.is-portrait) .slide-content,
    .gallery-slide.is-landscape .slide-content {
        justify-content: center !important;
        height: calc(100vh - 90px) !important;
        max-height: calc(100vh - 90px) !important;
        position: relative !important;
    }

    .gallery-slide:not(.is-portrait) .slide-img-wrapper,
    .gallery-slide.is-landscape .slide-img-wrapper {
        max-height: calc(100vh - 165px) !important;
        max-height: calc(100dvh - 165px) !important;
        max-width: 90vw !important;
        margin-top: 0 !important;
        margin-bottom: auto !important;
    }

    .gallery-slide:not(.is-portrait) .slide-img-wrapper .slide-img,
    .gallery-slide.is-landscape .slide-img-wrapper .slide-img {
        max-height: calc(100vh - 165px) !important;
        max-height: calc(100dvh - 165px) !important;
        max-width: 90vw !important;
        width: auto !important;
        height: auto !important;
        object-fit: contain !important;
    }

    .gallery-slide:not(.is-portrait) .slide-glass-info,
    .gallery-slide.is-landscape .slide-glass-info {
        bottom: clamp(12px, 2vh, 24px) !important;
    }
}

/* Minimal Floating ChatGPT Badge Centered on Top of Image */
.chatgpt-image-badge {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 210;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(8, 12, 22, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 100px;
    padding: 3px 10px 3px 6px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    pointer-events: none;
    white-space: nowrap;
    opacity: 0.85;
}

.badge-chatgpt-icon {
    width: 16px;
    height: 16px;
    border-radius: 4px;
    object-fit: cover;
}

.chatgpt-image-badge span {
    font-size: 0.72rem;
    color: #cbd5e1;
    font-weight: 500;
}

.chatgpt-image-badge strong {
    color: #10a37f; /* Official ChatGPT Emerald Green */
    font-weight: 700;
}

/* 85% Ultra-Transparent Floating Glass Overlay Info Card - Dynamisch schaalbaar */
.slide-glass-info {
    position: absolute;
    bottom: clamp(14px, 2.2vh, 32px);
    left: 50%;
    transform: translateX(-50%);
    z-index: 250;
    margin-top: 0;
    background: rgba(8, 12, 22, 0.15); /* 85% Transparant Zwart */
    backdrop-filter: blur(14px) saturate(170%);
    -webkit-backdrop-filter: blur(14px) saturate(170%);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 16px;
    padding: clamp(0.35rem, 0.9vh, 0.65rem) clamp(0.9rem, 1.8vw, 1.4rem);
    max-width: 680px;
    width: calc(100% - 40px);
    text-align: center;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.2);
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.95), 0 0 12px rgba(0, 0, 0, 0.85);
    transition: background 0.3s ease, border-color 0.3s ease;
}

.slide-glass-info.glass-light-bg {
    background: rgba(255, 255, 255, 0.15); /* 85% Transparant Wit voor donkere tekst/achtergrond */
    border-color: rgba(255, 255, 255, 0.35);
}

.slide-info-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(8px, 1.2vw, 14px);
    margin-bottom: clamp(0.2rem, 0.4vh, 0.4rem);
}

.slide-badge-group {
    display: inline-flex;
    align-items: center;
    gap: clamp(6px, 0.8vw, 10px);
}

.slide-all-params-btn {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: clamp(2px, 0.4vh, 4px) clamp(8px, 0.8vw, 12px);
    border-radius: 20px;
    background: rgba(59, 130, 246, 0.18);
    border: 1px solid rgba(96, 165, 250, 0.45);
    color: #93c5fa;
    font-size: clamp(0.72rem, 0.78vw, 0.82rem);
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
    white-space: nowrap;
}

.slide-all-params-btn:hover {
    background: rgba(59, 130, 246, 0.4);
    border-color: rgba(147, 197, 253, 0.85);
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(59, 130, 246, 0.45);
}

.slide-all-params-btn .btn-arrow {
    color: #60a5fa;
    font-size: 0.9em;
    transition: transform 0.2s ease, color 0.2s ease;
}

.slide-all-params-btn:hover .btn-arrow {
    transform: translateY(2px);
    color: #ffffff;
}

.codeword-badge {
    font-family: monospace;
    font-size: clamp(0.95rem, 1.1vw, 1.15rem);
    font-weight: 800;
    color: #60a5fa;
    background: rgba(59, 130, 246, 0.2);
    padding: 0.15rem 0.6rem;
    border-radius: 6px;
    border: 1px solid rgba(59, 130, 246, 0.4);
    letter-spacing: 1px;
}

.slide-counter {
    color: var(--text-secondary);
    font-size: clamp(0.75rem, 0.85vw, 0.85rem);
    font-weight: 600;
}

.slide-desc {
    color: #e2e8f0;
    font-size: clamp(0.85rem, 0.95vw, 0.98rem);
    line-height: 1.4;
    margin-bottom: clamp(0.2rem, 0.4vh, 0.35rem);
}

/* Action hint in glass card */
.slide-action-hint {
    margin-top: clamp(0.2rem, 0.35vh, 0.3rem);
    padding-top: clamp(0.2rem, 0.35vh, 0.3rem);
    border-top: 1px dashed rgba(255, 255, 255, 0.18);
    font-size: clamp(0.72rem, 0.8vw, 0.82rem);
    color: #ffffff;
    text-shadow: 0 1px 4px rgba(0,0,0,0.95), 0 0 10px rgba(0,0,0,0.85);
}

.slide-action-hint code {
    background: rgba(15, 23, 42, 0.65);
    color: #93c5fd;
    padding: 1px 6px;
    border-radius: 4px;
    font-family: monospace;
    font-weight: 700;
    border: 1px solid rgba(147, 197, 253, 0.4);
}

.slide-zoom-hint {
    font-size: 0.8rem;
    color: #94a3b8;
    cursor: pointer;
    transition: color 0.2s ease;
}

.slide-zoom-hint:hover {
    color: #60a5fa;
}

/* Slider Nav Chevrons */
.slider-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(11, 17, 30, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    font-size: 1.8rem;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    backdrop-filter: blur(12px);
    transition: var(--transition);
    user-select: none;
}

.slider-nav-btn:hover {
    background: rgba(59, 130, 246, 0.8);
    border-color: rgba(59, 130, 246, 0.6);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
}

.slider-nav-btn.prev-btn {
    left: 20px;
}

.slider-nav-btn.next-btn {
    right: 20px;
}

/* Floating Bottom Scroll Indicator */
.floating-scroll-down {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #cbd5e1;
    padding: 0.5rem 1.2rem;
    border-radius: 100px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    transition: var(--transition);
    display: none; /* Geïntegreerd in de uitlegkaarten op iedere afzonderlijke plaat */
}

/* ==========================================================================
   ONDERLIGGENDE UITLEG & PARAMETER SECTIE (#uitleg)
   ========================================================================== */

.uitleg-section,
#uitleg,
#parameter-list {
    scroll-margin-top: 85px;
}

.uitleg-section {
    position: relative;
    z-index: 5;
    background: #0b0f19;
    padding: 5rem 5% 6rem;
    border-top: 1px solid var(--card-border);
}

.uitleg-hero-card {
    max-width: 900px;
    margin: 0 auto 4rem auto;
    padding: 3rem;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 28px;
    text-align: center;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.uitleg-hero-card h2 {
    font-size: 2.8rem;
    margin-bottom: 1.2rem;
}

.uitleg-intro {
    color: var(--text-secondary);
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.search-box-container {
    max-width: 600px;
    margin: 1.5rem auto 0 auto;
}

.param-search-input {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    border-radius: 100px;
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    outline: none;
    backdrop-filter: blur(10px);
    transition: var(--transition);
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
}

.param-search-input:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
}

/* ==========================================================================
   RESPONSIVE MODES (MOBIEL & TABLET)
   ========================================================================== */

@media (max-width: 768px) {
    .navbar {
        padding: 0.75rem 3.5%;
    }

    .logo-container {
        gap: 6px;
    }

    .logo {
        font-size: 1.15rem;
        white-space: nowrap;
    }

    .logo-badge {
        display: none; /* Verberg badge op kleine schermen voor schone weergave */
    }

    .btn-uitleg-nav span {
        font-size: 0.78rem;
    }
    
    .btn-uitleg-nav {
        padding: 0.45rem 0.85rem;
        white-space: nowrap;
    }

    .gallery-slide {
        padding: 55px 8px 10px 8px !important;
        width: 100vw !important;
        height: 100vh !important;
        height: 100dvh !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }

    .slide-content {
        position: relative !important;
        width: 100% !important;
        max-width: 500px !important;
        height: 100% !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: space-between !important;
        padding-top: 5px !important;
        padding-bottom: 40px !important;
        box-sizing: border-box !important;
    }

    /* Vertically Centered Mobile Image Plate inside Frame */
    .slide-img-wrapper {
        position: relative !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: auto !important;
        height: auto !important;
        max-width: 96vw !important;
        max-height: calc(100dvh - 240px) !important;
        margin-top: auto !important;
        margin-bottom: auto !important;
        border-radius: 18px !important;
        overflow: hidden !important;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.85), 0 0 35px rgba(59, 130, 246, 0.25) !important;
        border: 1px solid rgba(255, 255, 255, 0.18) !important;
    }

    .slide-img-wrapper .slide-img {
        width: auto !important;
        height: auto !important;
        max-height: calc(100dvh - 240px) !important;
        max-width: 96vw !important;
        object-fit: contain !important;
        display: block !important;
        border-radius: inherit !important;
    }

    /* Portrait-foto's mogen op mobiel NOOIT over de navbar heen vallen
       (de desktop-only "Expansion OVER Navbar" regels gebruiken z-index 300/500/600
       zonder media-scope — dat maakte het logo + "Hoe werkt het?"-knop onklikbaar
       zodra een van de 14 portret-plaatjes actief was, inclusief de allereerste slide). */
    .gallery-slide.is-portrait {
        padding: 55px 8px 10px 8px !important;
        z-index: auto !important;
    }

    .slide-img-wrapper.is-portrait,
    .gallery-slide.is-portrait .slide-img-wrapper {
        z-index: auto !important;
        max-height: calc(100dvh - 240px) !important;
        height: auto !important;
        margin-top: auto !important;
        margin-bottom: auto !important;
    }

    .slide-img-wrapper.is-portrait .slide-img,
    .gallery-slide.is-portrait .slide-img-wrapper .slide-img {
        max-height: calc(100dvh - 240px) !important;
        height: auto !important;
        width: auto !important;
    }

    .gallery-slide.is-portrait .slide-glass-info {
        position: relative !important;
        bottom: auto !important;
        left: auto !important;
        transform: none !important;
        z-index: 10 !important;
    }

    .chatgpt-image-badge {
        position: absolute !important;
        top: 8px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        padding: 3px 10px 3px 6px !important;
        white-space: nowrap !important;
        background: rgba(8, 12, 22, 0.75) !important;
        backdrop-filter: blur(12px) !important;
        -webkit-backdrop-filter: blur(12px) !important;
        border: 1px solid rgba(255, 255, 255, 0.18) !important;
        z-index: 5 !important;
    }

    .badge-chatgpt-icon {
        width: 16px !important;
        height: 16px !important;
    }

    .chatgpt-image-badge span {
        font-size: 0.72rem !important;
    }

    .slide-glass-info {
        position: relative !important;
        bottom: auto !important;
        left: auto !important;
        transform: none !important;
        width: 100% !important;
        max-width: 96vw !important;
        flex: 0 0 auto !important;
        padding: 0.65rem 0.9rem !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        border-radius: 16px !important;
        background: rgba(8, 12, 22, 0.85) !important;
        backdrop-filter: blur(24px) saturate(180%) !important;
        -webkit-backdrop-filter: blur(24px) saturate(180%) !important;
        border: 1px solid rgba(255, 255, 255, 0.22) !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8) !important;
        z-index: 10 !important;
    }

    .slide-info-top {
        margin-bottom: 0.15rem;
        gap: 6px;
    }

    .slide-badge-group {
        gap: 6px;
    }

    .slide-all-params-btn {
        font-size: 0.70rem !important;
        padding: 2px 7px !important;
        gap: 3px !important;
    }

    .slide-all-params-btn .btn-arrow {
        font-size: 0.85em;
    }

    .codeword-badge {
        font-size: 0.9rem;
        padding: 0.15rem 0.5rem;
    }

    .slide-counter {
        font-size: 0.78rem;
    }

    .slide-desc {
        font-size: 0.82rem;
        line-height: 1.25;
        margin-bottom: 0.15rem;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .slide-action-hint {
        font-size: 0.72rem;
        margin-top: 0.2rem;
        padding-top: 0.2rem;
    }

    .slider-nav-btn {
        width: 44px !important;
        height: 44px !important;
        font-size: 1.4rem !important;
        opacity: 0.9 !important;
        background: rgba(11, 17, 30, 0.85) !important;
        border: 1px solid rgba(255, 255, 255, 0.22) !important;
        box-shadow: 0 4px 18px rgba(0, 0, 0, 0.6) !important;
        z-index: 100 !important;
        pointer-events: auto !important;
    }

    .slider-nav-btn.prev-btn { left: 8px !important; }
    .slider-nav-btn.next-btn { right: 8px !important; }

    .floating-scroll-down {
        font-size: 0.78rem;
        padding: 0.35rem 0.85rem;
        bottom: 10px;
    }

    .uitleg-hero-card {
        padding: 1.5rem 1rem;
    }

    .uitleg-hero-card h2 {
        font-size: 1.7rem;
    }

    /* Categorienamen ("Referentie Set (Basis)", "Bewerkings-sneltoetsen") wrappen op
       smalle schermen naar 2 regels. De titel stond position:absolute met een vaste
       80px gereserveerde ruimte voor 1 regel, waardoor de 2e regel werd afgesneden
       door de eerste kaart eronder. Op mobiel zet de titel gewoon in de normale flow. */
    .category-group {
        padding-top: 0;
        gap: 1rem;
    }

    .category-title {
        position: static;
        font-size: 1.4rem;
        padding: 0 0 0.75rem 0;
        margin-bottom: 0.5rem;
    }

    /* Mobile Fullscreen Lightbox Modal (Afbeelding schermvullend + minimale veeg-indicator) */
    .modal {
        padding: 0 !important;
        background: #03060e !important;
        justify-content: center !important;
        align-items: center !important;
    }

    .modal-wrapper {
        width: 100vw !important;
        height: 100vh !important;
        height: 100dvh !important;
        max-width: 100vw !important;
        max-height: 100vh !important;
        max-height: 100dvh !important;
        gap: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        justify-content: center !important;
        align-items: center !important;
    }

    .modal-content {
        width: 100vw !important;
        height: 100vh !important;
        height: 100dvh !important;
        max-width: 100vw !important;
        max-height: 100vh !important;
        max-height: 100dvh !important;
        object-fit: contain !important;
        border-radius: 0 !important;
        border: none !important;
        box-shadow: none !important;
    }

    .modal-prev,
    .modal-next,
    .modal-caption {
        display: none !important;
    }

    .close-modal {
        top: 15px !important;
        right: 15px !important;
        font-size: 22px !important;
        width: 36px !important;
        height: 36px !important;
        border-radius: 50% !important;
        background: rgba(8, 12, 22, 0.6) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        border: 1px solid rgba(255, 255, 255, 0.18) !important;
        color: #ffffff !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        z-index: 100005 !important;
    }

    .modal-swipe-pill {
        position: absolute;
        bottom: 24px;
        left: 50%;
        transform: translateX(-50%);
        z-index: 100003;
        background: rgba(8, 12, 22, 0.55);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border: 1px solid rgba(255, 255, 255, 0.18);
        color: rgba(255, 255, 255, 0.85);
        font-size: 0.78rem;
        font-weight: 500;
        padding: 6px 14px;
        border-radius: 100px;
        pointer-events: none;
        display: flex !important;
        align-items: center;
        gap: 8px;
        letter-spacing: 0.5px;
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.6);
        animation: subtlePulse 3s infinite ease-in-out;
    }

    .modal-swipe-pill .swipe-arrow {
        color: #60a5fa;
        font-weight: 700;
        font-size: 0.95rem;
    }
}

.modal-swipe-pill {
    display: none;
}

@keyframes subtlePulse {
    0%, 100% { opacity: 0.75; transform: translateX(-50%) scale(1); }
    50% { opacity: 1; transform: translateX(-50%) scale(1.04); }
}

