:root {
    --primary: #3498db;
    --dark: #05070a;
    --white: #ecf0f1;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    overflow-x: hidden !important;
    background: var(--dark);
    color: var(--white);
    font-family: 'Poppins', sans-serif;
}

.ultimate-scroll-container {
    height: 1000vh;
    position: relative;
}

/* --- SCENES SYSTEM --- */
.scene {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease;
    z-index: 1;
    overflow: hidden;
    will-change: opacity, visibility;
    backface-visibility: hidden;
    transform: translate3d(0, 0, 0);
}

.scene.active {
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.scene-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.1) translate3d(0, 0, 0);
    transition: transform 10s linear;
    will-change: transform;
    backface-visibility: hidden;
}

.scene.active .scene-bg {
    transform: scale(1.3) translate3d(0, 0, 0);
}

.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.8));
    z-index: 2;
}

/* --- ANIMATED TEXT --- */
.scene-content {
    position: relative;
    z-index: 3;
    text-align: center;
    transform: translateY(40px);
    opacity: 0;
    filter: blur(10px);
    transition: all 1s cubic-bezier(0.1, 1, 0.3, 1) 0.3s;
    will-change: transform, opacity, filter;
}

.scene.active .scene-content {
    transform: translateY(0);
    opacity: 1;
    filter: blur(0);
}

.main-title {
    font-size: clamp(3rem, 10vw, 6.5rem);
    font-weight: 900;
    line-height: 0.9;
}

.main-title span {
    color: var(--primary);
    text-shadow: 0 0 25px rgba(52, 152, 219, 0.5);
}

.gta-sub-brand {
    letter-spacing: 12px;
    font-weight: 900;
    color: var(--primary);
    margin-bottom: 10px;
}

.scene-title {
    font-size: clamp(2rem, 5vw, 4rem);
    font-weight: 900;
    text-transform: uppercase;
    background: linear-gradient(#fff, #999);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.scene-desc {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    font-weight: 500;
}

/* --- BUTTONS --- */
.btn-gta {
    padding: 15px 35px;
    border: 2px solid #fff;
    color: #fff;
    text-decoration: none;
    font-weight: 900;
    margin: 10px;
    display: inline-block;
    transition: 0.3s;
}

.btn-gta.accent {
    background: var(--primary);
    border-color: var(--primary);
}

.btn-gta:hover {
    background: #fff;
    color: #000;
    transform: scale(1.1);
}

/* --- SOCIAL BUTTONS INDEX --- */
.social-btn {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    text-decoration: none;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
}

.social-btn:hover {
    transform: translateY(-10px) scale(1.1);
    color: #fff;
}

.social-btn.discord:hover {
    background: #5865F2;
    box-shadow: 0 10px 25px rgba(88, 101, 242, 0.5);
    border-color: #5865F2;
}

.social-btn.youtube:hover {
    background: #ff0000;
    box-shadow: 0 10px 25px rgba(255, 0, 0, 0.5);
    border-color: #ff0000;
}

.social-btn.tiktok:hover {
    background: #000000;
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
    border-color: #fff;
}

.social-btn.twitch:hover {
    background: #9146FF;
    box-shadow: 0 10px 25px rgba(145, 70, 255, 0.5);
    border-color: #9146FF;
}

/* --- PROGRESS BAR --- */
.scroll-status {
    position: fixed;
    bottom: 40px;
    right: 40px;
    z-index: 100;
    text-align: right;
}

.bar-container {
    width: 200px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    margin-bottom: 10px;
}

.bar-fill {
    height: 100%;
    background: var(--primary);
    width: 0%;
    box-shadow: 0 0 15px var(--primary);
}

.scene-number {
    font-size: 0.7rem;
    font-weight: 900;
    letter-spacing: 3px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.quick-scroll-btn {
    background: rgba(52, 152, 219, 0.1);
    border: 1px solid rgba(52, 152, 219, 0.3);
    color: var(--primary);
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-size: 0.8rem;
    box-shadow: 0 0 15px rgba(52, 152, 219, 0.1);
}

.quick-scroll-btn:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(3px) scale(1.1);
    box-shadow: 0 0 20px rgba(52, 152, 219, 0.4);
}

.scroll-notifier {
    position: fixed;
    bottom: 80px;
    /* Un peu plus haut pour être sûr */
    left: 50%;
    transform: translateX(-50%);
    background: rgba(6, 8, 12, 0.95);
    /* Plus opaque pour la visibilité */
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    /* Bordure plus visible */
    padding: 16px 32px;
    border-radius: 50px;
    z-index: 99999;
    /* Z-index très élevé */
    font-weight: 900;
    letter-spacing: 2px;
    font-size: 0.8rem;
    color: #fff;
    /* Pur blanc pour le texte */
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 20px rgba(52, 152, 219, 0.2);
    animation: notifierSlideUp 1s cubic-bezier(0.23, 1, 0.32, 1) forwards, notifierFloat 3s ease-in-out infinite 1s;
    transition: opacity 1s ease-out;
    pointer-events: none;
    text-transform: uppercase;
}

.scroll-notifier i {
    font-size: 1.1rem;
    color: var(--primary);
}

@keyframes notifierSlideUp {
    from {
        opacity: 0;
        transform: translateX(-50%) translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateX(-50%) translateY(0);
    }
}

@keyframes notifierFloat {

    0%,
    100% {
        transform: translateX(-50%) translateY(0);
    }

    50% {
        transform: translateX(-50%) translateY(-10px);
    }
}

/* --- MAIN SITE --- */
/* --- NAVIGATION BAR --- */
.bottom-nav {
    background: rgba(10, 12, 15, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 15px 0;
    backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 1001;
    width: 100%;
    max-width: 100vw;
}

.bottom-nav .container {
    max-width: 1400px;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #fff;
    font-weight: 900;
    letter-spacing: 2px;
    font-size: 1.2rem;
}

.nav-logo img {
    height: 35px;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #fff;
    z-index: 1002;
}

.bottom-nav ul {
    display: flex;
    align-items: center;
    list-style: none;
    gap: 20px;
}

@media (max-width: 1200px) {
    .bottom-nav ul {
        gap: 15px;
    }
    .bottom-nav a {
        font-size: 0.85rem;
        letter-spacing: 1px;
    }
}

.bottom-nav a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-weight: 900;
    font-size: 0.9rem;
    letter-spacing: 2px;
    transition: 0.3s;
    position: relative;
    padding: 10px 0;
}

.bottom-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: 0.3s;
    box-shadow: 0 0 10px var(--primary);
}

.bottom-nav a:hover,
.bottom-nav a.active {
    color: #fff;
}

.bottom-nav a:hover::after,
.bottom-nav a.active::after {
    width: 100%;
}

/* --- DISCORD BUTTON --- */
.nav-login {
    margin-left: 20px;
}

.btn-discord {
    background: #5865F2 !important;
    color: #fff !important;
    padding: 10px 25px !important;
    border-radius: 5px;
    font-size: 0.8rem !important;
    display: flex !important;
    align-items: center;
    gap: 10px;
    transition: 0.3s all ease !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(88, 101, 242, 0.3);
}

.btn-discord::after {
    display: none !important;
}

.btn-discord:hover {
    background: #4752c4 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(88, 101, 242, 0.5);
}

.btn-discord i {
    font-size: 1.1rem;
}

/* --- USER PROFILE & DROPDOWN --- */
.nav-user {
    position: relative;
    cursor: pointer;
    margin-left: 20px;
}

.user-trigger {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 18px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: 0.3s;
}

.nav-user:hover .user-trigger,
.nav-user.active .user-trigger {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--primary);
}

.user-trigger span {
    font-weight: 900;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.user-trigger i {
    font-size: 0.7rem;
    opacity: 0.5;
    transition: 0.3s;
}

.nav-user.active .user-trigger i {
    transform: rotate(180deg);
}

.user-dropdown {
    position: absolute;
    top: calc(100% + 15px);
    right: 0;
    width: 220px;
    background: rgba(10, 12, 15, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 10px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s cubic-bezier(0.1, 1, 0.3, 1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    background-clip: padding-box;
}

.nav-user.active .user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.user-dropdown a {
    display: flex !important;
    align-items: center;
    gap: 12px;
    padding: 12px 15px !important;
    border-radius: 8px;
    font-size: 0.75rem !important;
    color: rgba(255, 255, 255, 0.7) !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: 0.2s !important;
}

.user-dropdown a::after {
    display: none !important;
}

.user-dropdown a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff !important;
    transform: translateX(5px);
}

.user-dropdown a i {
    font-size: 1rem;
    color: var(--primary);
}

.dropdown-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.05);
    margin: 8px 0;
}

.dropdown-logout:hover {
    color: #e74c3c !important;
    background: rgba(231, 76, 60, 0.1) !important;
}

.dropdown-logout i {
    color: #e74c3c !important;
}

#main-site {
    position: relative;
    z-index: 10;
    background: var(--dark);
    padding: 80px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

#main-site.no-parallax {
    padding-top: 0;
    border-top: none;
}

.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.grid-stats,
.grid-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.stat-item,
.card {
    background: rgba(255, 255, 255, 0.03);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-item i {
    font-size: 3rem;
    margin-bottom: 15px;
}

.online {
    color: #2ecc71;
    text-shadow: 0 0 15px #2ecc71;
}

.offline {
    color: #e74c3c;
}

footer {
    text-align: center;
    padding: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    opacity: 0.5;
}

/* --- MODAL SYSTEM --- */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: linear-gradient(145deg, rgba(20, 20, 25, 1) 0%, rgba(10, 10, 15, 1) 100%);
    margin: auto;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 95%;
    max-width: 600px;
    border-radius: 15px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    animation: modalSlideIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
}

@media (max-width: 768px) {
    .modal-content {
        width: 100%;
        height: 100%;
        border-radius: 0;
    }

    .modal-header h2 {
        font-size: 1.1rem;
    }

    .modal-body {
        padding: 15px;
    }
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-50px) scale(0.9);
        opacity: 0;
    }

    to {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.modal-header {
    padding: 20px 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 15px 15px 0 0;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary);
}

.close {
    color: rgba(255, 255, 255, 0.5);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
}

.close:hover,
.close:focus {
    color: #e74c3c;
    text-decoration: none;
}

.modal-body {
    padding: 25px;
}

/* --- PREMIUM CTA SECTION --- */
.main-cta-container {
    margin-top: -100px;
    margin-bottom: 80px;
    position: relative;
    z-index: 20;
}

.cta-glass-card {
    background: rgba(10, 12, 15, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 50px;
    text-align: center;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1s ease-out;
}

.cta-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.cta-title span {
    color: var(--primary);
    text-shadow: 0 0 20px rgba(52, 152, 219, 0.4);
}

.cta-subtitle {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-premium-cta {
    padding: 18px 45px;
    border-radius: 12px;
    font-weight: 900;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-premium-cta.primary {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 10px 30px rgba(52, 152, 219, 0.3);
}

.btn-premium-cta.secondary {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-premium-cta:hover {
    transform: translateY(-5px) scale(1.05);
}

.btn-premium-cta.primary:hover {
    box-shadow: 0 15px 40px rgba(52, 152, 219, 0.5);
    background: #47a7e8;
}

.btn-premium-cta.secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .bottom-nav ul {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background: rgba(5, 7, 10, 0.98);
        backdrop-filter: blur(30px);
        flex-direction: column;
        justify-content: center;
        padding: 40px;
        transition: 0.4s cubic-bezier(0.1, 1, 0.3, 1);
        border-left: 1px solid rgba(255, 255, 255, 0.05);
        z-index: 1001;
        visibility: hidden;
        pointer-events: none;
    }

    .bottom-nav ul.active {
        right: 0;
        visibility: visible;
        pointer-events: auto;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }

    .nav-login,
    .nav-user {
        margin-left: 0;
        margin-top: 20px;
    }

    .user-dropdown {
        position: static;
        width: 100%;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
        border: none;
        box-shadow: none;
        display: none;
        padding-top: 10px;
    }

    .nav-user.active .user-dropdown {
        display: flex;
    }

    .main-title {
        font-size: clamp(2.5rem, 12vw, 4rem);
    }
}

@media (max-width: 768px) {
    .main-cta-container {
        margin-top: -50px;
    }

    .cta-glass-card {
        padding: 30px 20px;
    }

    .btn-premium-cta {
        width: 100%;
        justify-content: center;
    }

    .grid-stats,
    .grid-features {
        grid-template-columns: 1fr;
    }

    .social-buttons-group {
        grid-template-columns: 1fr;
    }

    .stats-bar {
        margin-top: -30px;
    }

    #main-site {
        padding: 40px 0;
    }
}

/* TV & Ultra-wide optimizations */
@media (min-width: 2000px) {
    html {
        font-size: 20px;
    }

    .container {
        max-width: 1800px;
    }

    .main-title {
        font-size: 10rem;
    }
}

/* ================= GALLERY & GUIDEBOOK MODALS ================= */
.lightbox-modal {
    position: fixed;
    inset: 0;
    background: rgba(4, 5, 8, 0.95);
    backdrop-filter: blur(15px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s, visibility 0.4s;
}

.lightbox-modal.active {
    opacity: 1;
    visibility: visible;
}

.lightbox-close {
    position: absolute;
    top: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
    transition: 0.3s;
    z-index: 10010;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--primary);
    transform: rotate(90deg);
}

.lightbox-content {
    display: flex;
    width: 85%;
    max-width: 900px;
    height: 80vh;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    overflow: hidden;
    backdrop-filter: blur(20px);
    transform: scale(0.95);
    transition: transform 0.4s;
}

.lightbox-modal.active .lightbox-content {
    transform: scale(1);
}

.lightbox-details {
    flex: 1;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow-y: auto;
    background: rgba(0, 0, 0, 0.3);
}

.lightbox-details-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    width: 100%;
}

.lightbox-cat {
    font-size: 0.8rem;
    background: var(--primary);
    color: #fff;
    padding: 5px 12px;
    border-radius: 50px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lightbox-date {
    font-size: 0.9rem;
    opacity: 0.5;
    font-weight: 500;
}

.lightbox-title {
    font-size: 2rem;
    font-weight: 900;
    color: #fff;
    text-transform: uppercase;
    line-height: 1.1;
    margin-bottom: 15px;
}

.add-photo-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
}

.add-photo-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-card {
    background: #0b0e14;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    width: 90%;
    max-width: 700px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
}

.add-photo-modal.active .modal-card {
    transform: scale(1);
}

.modal-header {
    background: rgba(255,255,255,0.02);
    padding: 20px 25px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    font-size: 1.25rem;
    font-weight: 800;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.modal-close-btn {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0.6;
    transition: 0.3s;
}

.modal-close-btn:hover {
    opacity: 1;
    color: #e74c3c;
}

/* Custom Select Option overrides for dark theme readability */
select option {
    background-color: #0d1015 !important;
    color: #ffffff !important;
}

/* ================= MOBILE PERFORMANCE & OPERA GX FLUIDITY OVERRIDES ================= */
@media (max-width: 768px) {
    /* Désactiver les zooms CSS lents de 10s sur mobiles pour fluidifier le défilement */
    .scene-bg {
        transition: none !important;
        transform: scale(1.1) !important;
        will-change: auto !important;
    }
    
    /* Optimisation du conteneur de scène fixe */
    .scene {
        height: 100%;
        height: -webkit-fill-available;
        will-change: opacity !important;
    }
    
    /* Correction de la lightbox sur mobile (empilement vertical propre) */
    .lightbox-content {
        flex-direction: column !important;
        height: 90vh !important;
        width: 95% !important;
    }
    
    .lightbox-image-wrapper {
        flex: 1.2 !important;
        height: 50vh !important;
    }
    
    .lightbox-details {
        flex: 1 !important;
        border-left: none !important;
        border-top: 1px solid rgba(255, 255, 255, 0.05) !important;
        padding: 20px !important;
    }
    
    /* Navigation tactile */
    .lightbox-arrow {
        width: 45px !important;
        height: 45px !important;
        font-size: 1rem !important;
    }
    .lightbox-arrow.left { left: 10px !important; }
    .lightbox-arrow.right { right: 10px !important; }
}