       :root {
            --bg-color: #050507;
            --accent-color: #e5bf70;
            --text-color: #ffffff;
            --slide-speed: 0.6s;
            --border-radius: 12px;
        }

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

        body {
            background-color: var(--bg-color);
            font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
            display: flex;
            justify-content: center;
            align-items: center;
            min-height: 100vh;
            min-height: 100dvh;
            overflow: hidden;
            color: var(--text-color);
        }

        /* Main Workspace Container */
        .slider-wrapper {
            position: relative;
            width: 100vw;
            height: 100vh;
            height: 100dvh;
            background-color: #000;
            overflow: hidden;
        }

        /* Top Elegant Website Header & Menu Overlay */
        .site-header {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            padding: 35px 40px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            z-index: 25; /* Elevated above normal overlays */
            background: linear-gradient(180deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 50%, transparent 100%);
            pointer-events: none;
        }

        .site-logo {
            display: flex;
            align-items: center;
            gap: 0; /* Removed the 12px gap to connect logo and text immediately */
            font-size: 1.25rem;
            font-weight: 800;
            letter-spacing: 4px;
            text-transform: uppercase;
            color: var(--text-color);
            text-decoration: none;
            pointer-events: auto;
            transition: opacity 0.3s;
        }

        .site-logo img {
            height: 32px;
            width: auto;
            /* Convert the black logo to white to match the text */
            filter: brightness(0) invert(1);
            object-fit: contain;
        }

        .site-logo:hover {
            opacity: 0.8;
        }

        .site-logo span {
            color: var(--accent-color);
        }

        .site-nav {
            pointer-events: auto;
            display: flex;
            align-items: center;
        }

        .nav-menu {
            display: flex;
            gap: 32px;
            list-style: none;
            align-items: center;
        }

        .nav-link {
            color: rgba(255, 255, 255, 0.65);
            text-decoration: none;
            font-size: 0.85rem;
            font-weight: 600;
            text-transform: uppercase;
            letter-spacing: 2px;
            transition: all 0.3s ease;
            position: relative;
            padding-bottom: 4px;
            cursor: pointer;
            background: none;
            border: none;
            font-family: inherit;
        }

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

        .nav-link:hover {
            color: var(--text-color);
        }

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

        .nav-link.active {
            color: var(--text-color);
        }

        /* Three-Line Hamburger Button Styling */
        .burger-btn {
            background: none;
            border: none;
            cursor: pointer;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            width: 22px;
            height: 16px;
            padding: 0;
            margin-left: 8px;
            transition: opacity 0.3s;
        }

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

        .burger-btn span {
            display: block;
            width: 100%;
            height: 2px;
            background-color: var(--text-color);
            transition: all 0.3s ease;
            transform-origin: left center;
        }

        .burger-btn.active-burger span:nth-child(1) {
            transform: rotate(45deg) translate(2px, -1px);
            background-color: var(--accent-color);
        }

        .burger-btn.active-burger span:nth-child(2) {
            width: 0%;
            opacity: 0;
        }

        .burger-btn.active-burger span:nth-child(3) {
            transform: rotate(-45deg) translate(2px, 1px);
            background-color: var(--accent-color);
        }

        /* Glassmorphic Administrative Options Drawer */
        .admin-drawer {
            position: absolute;
            top: 100px;
            right: 40px;
            width: 320px;
            background: rgba(10, 10, 15, 0.75);
            border: 1px solid rgba(255, 255, 255, 0.15);
            border-radius: var(--border-radius);
            backdrop-filter: blur(25px);
            -webkit-backdrop-filter: blur(25px);
            box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
            z-index: 30;
            padding: 24px;
            transform: translateY(-20px);
            opacity: 0;
            pointer-events: none;
            transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
        }

        .admin-drawer.open-drawer {
            transform: translateY(0);
            opacity: 1;
            pointer-events: auto;
        }

        .drawer-section h3 {
            font-size: 1.1rem;
            font-weight: 700;
            margin-bottom: 16px;
            letter-spacing: -0.3px;
            color: #ffffff;
            display: flex;
            align-items: center;
            justify-content: space-between;
        }

        .drawer-section h3 span {
            font-size: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: var(--accent-color);
            background: rgba(229, 191, 112, 0.1);
            padding: 2px 8px;
            border-radius: 4px;
        }

        .dashboard-badges {
            display: flex;
            gap: 8px;
            align-items: center;
        }

        .logout-badge {
            font-size: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            color: #ff6b6b;
            background: rgba(255, 107, 107, 0.1);
            padding: 2px 8px;
            border-radius: 4px;
            border: none;
            cursor: pointer;
            font-family: inherit;
            font-weight: inherit;
            transition: all 0.2s ease;
        }

        .logout-badge:hover {
            background: rgba(255, 107, 107, 0.2);
        }

        .form-group {
            margin-bottom: 14px;
        }

        .form-group label {
            display: block;
            font-size: 0.75rem;
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 6px;
            color: #a1a1aa;
        }

        .form-input {
            width: 100%;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.15);
            border-radius: 6px;
            padding: 10px 12px;
            color: #ffffff;
            font-size: 0.9rem;
            font-family: inherit;
            transition: all 0.3s ease;
        }

        .form-input:focus {
            outline: none;
            border-color: var(--accent-color);
            background: rgba(255, 255, 255, 0.08);
        }

        textarea.form-input {
            resize: none;
            height: 70px;
        }

        /* Standardized Action Button inside Drawer */
        .drawer-btn {
            background: var(--accent-color);
            border: none;
            color: #050507;
            width: 100%;
            padding: 12px;
            font-size: 0.85rem;
            font-weight: 600;
            letter-spacing: 1px;
            text-transform: uppercase;
            border-radius: 6px;
            cursor: pointer;
            transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
            margin-top: 6px;
        }

        .drawer-btn:hover {
            opacity: 0.9;
            box-shadow: 0 4px 15px rgba(229, 191, 112, 0.3);
            transform: translateY(-1px);
        }

        .drawer-btn:active {
            transform: translateY(0);
        }

        /* Drag-and-Drop Area for Local Folder Import */
        .file-drop-zone {
            border: 1px dashed rgba(255, 255, 255, 0.25);
            border-radius: 6px;
            padding: 16px;
            text-align: center;
            cursor: pointer;
            transition: all 0.3s ease;
            background: rgba(255, 255, 255, 0.02);
            position: relative;
        }

        .file-drop-zone:hover, .file-drop-zone.dragover {
            border-color: var(--accent-color);
            background: rgba(229, 191, 112, 0.05);
        }

        .file-drop-zone p {
            font-size: 0.8rem;
            color: #a1a1aa;
            line-height: 1.3;
        }

        .file-drop-zone span {
            display: block;
            font-size: 0.7rem;
            color: rgba(255, 255, 255, 0.4);
            margin-top: 4px;
        }

        .file-drop-zone input[type="file"] {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            cursor: pointer;
        }

        /* Dynamic Batch Upload List */
        .multi-upload-list {
            max-height: 250px;
            overflow-y: auto;
            display: flex;
            flex-direction: column;
            gap: 12px;
            margin-bottom: 14px;
            padding-right: 6px;
        }
        
        .multi-upload-list::-webkit-scrollbar {
            width: 4px;
        }
        
        .multi-upload-list::-webkit-scrollbar-thumb {
            background: var(--accent-color);
            border-radius: 4px;
        }

        .upload-item-card {
            background: rgba(255, 255, 255, 0.03);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 6px;
            padding: 10px;
            display: flex;
            gap: 10px;
            position: relative;
        }

        .upload-item-thumb {
            width: 60px;
            height: 60px;
            border-radius: 4px;
            object-fit: cover;
            flex-shrink: 0;
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        .upload-item-fields {
            display: flex;
            flex-direction: column;
            gap: 6px;
            flex-grow: 1;
        }

        .upload-item-fields input, .upload-item-fields textarea {
            width: 100%;
            background: rgba(0, 0, 0, 0.2);
            border: 1px solid rgba(255, 255, 255, 0.15);
            border-radius: 4px;
            padding: 6px 8px;
            color: #ffffff;
            font-size: 0.75rem;
            font-family: inherit;
        }

        .upload-item-fields textarea {
            height: 38px;
            resize: none;
        }

        .remove-item-btn {
            position: absolute;
            top: -6px;
            right: -6px;
            background: #ff6b6b;
            color: #ffffff;
            border: none;
            width: 20px;
            height: 20px;
            border-radius: 50%;
            font-size: 10px;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 2px 6px rgba(0,0,0,0.6);
            z-index: 2;
        }

        .status-msg {
            font-size: 0.8rem;
            margin-top: 8px;
            text-align: center;
        }
        .status-msg.error { color: #ff6b6b; }
        .status-msg.success { color: #4ade80; }

        /* View Switching Layout System (Single Page Application Panel Architecture) */
        .view-panel {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            pointer-events: none;
            transition: opacity 0.5s cubic-bezier(0.25, 1, 0.5, 1);
            z-index: 1;
        }

        .view-panel.active-view {
            opacity: 1;
            pointer-events: auto;
            z-index: 5;
        }

        /* ==================== VIEW 1: GALLERY PLATFORM ==================== */
        .carousel-viewport {
            width: 100%;
            height: 100%;
            overflow: hidden;
            position: relative;
            cursor: grab;
            touch-action: pan-y;
        }

        .carousel-viewport:active {
            cursor: grabbing;
        }

        .carousel-track {
            display: flex;
            width: 100%;
            height: 100%;
            transition: transform var(--slide-speed) cubic-bezier(0.25, 1, 0.5, 1);
        }

        .carousel-slide {
            flex: 0 0 100%;
            width: 100%;
            height: 100%;
            position: relative;
            user-select: none;
        }

        .carousel-slide img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            user-select: none;                   /* Prevents highlighting */
            -webkit-touch-callout: none;         /* Disable the long press pop-up menu on iOS Safari and Android chrome */         
            -webkit-user-drag: none;             /* Disable native dragging in Safari/Chrome */
            user-drag: none;                     /* Disable native dragging in standard browsers */
            pointer-events: none;                /* Mouse/Touch events fall through to the shield */        
        }

        .carousel-slide::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0.85) 100%);
            pointer-events: none;
        }

        .slide-caption-box {
            position: absolute;
            bottom: 140px;
            left: 40px;
            right: 40px;
            z-index: 5;
            max-width: 600px;
            opacity: 0;
            transform: translateY(20px);
            transition: opacity 0.5s ease, transform 0.5s ease;
            pointer-events: none;
        }

        .carousel-slide.active-state .slide-caption-box {
            opacity: 1;
            transform: translateY(0);
            transition-delay: 0.2s;
        }

        .slide-caption-box h2 {
            font-size: 2rem;
            font-weight: 700;
            margin-bottom: 10px;
            letter-spacing: -0.5px;
            text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
        }

        .slide-caption-box p {
            font-size: 1rem;
            color: #e4e4e7;
            line-height: 1.5;
            text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
        }

        .arrow-btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(255, 255, 255, 0.15);
            border: 1px solid rgba(255, 255, 255, 0.3);
            color: var(--text-color);
            width: 54px;
            height: 54px;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            backdrop-filter: blur(14px);
            -webkit-backdrop-filter: blur(14px);
            box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
            z-index: 10;
            transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
        }

        .arrow-btn:hover {
            background: rgba(255, 255, 255, 0.9);
            color: #000;
            border-color: rgba(255, 255, 255, 1);
            box-shadow: 0 8px 32px 0 rgba(255, 255, 255, 0.2);
            transform: translateY(-50%) scale(1.08);
        }

        .arrow-btn:active {
            transform: translateY(-50%) scale(0.95);
        }

        .left-arrow { left: 24px; }
        .right-arrow { right: 24px; }

        .arrow-btn svg {
            width: 24px;
            height: 24px;
            fill: currentColor;
        }

        .controls-hub {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            padding: 30px 30px 0px 30px; /* Removed the 25px bottom padding */
            background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.4) 70%, transparent 100%);
            display: flex;
            justify-content: center;
            align-items: center;
            z-index: 10;
        }

        /* Smart Orientation Floating Hint */
        .orientation-hint {
            position: absolute;
            top: 100px;
            right: 40px;
            width: 50px;
            height: 50px;
            background: rgba(10, 10, 15, 0.75);
            backdrop-filter: blur(15px);
            -webkit-backdrop-filter: blur(15px);
            border: 1px solid rgba(255, 255, 255, 0.15);
            color: #ffffff;
            border-radius: 50%;
            z-index: 20;
            display: flex;
            align-items: center;
            justify-content: center;
            opacity: 0;
            pointer-events: none;
            transition: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
            transform: translateY(-20px);
        }

        .orientation-hint.show-hint {
            opacity: 1;
            transform: translateY(0);
        }

        .phone-icon-svg {
            width: 24px;
            height: 24px;
            stroke: currentColor;
            fill: none;
            stroke-width: 2;
            stroke-linecap: round;
            stroke-linejoin: round;
        }

        .rotate-landscape {
            animation: toLandscape 2.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
        }

        .rotate-portrait {
            animation: toPortrait 2.5s cubic-bezier(0.4, 0, 0.2, 1) infinite;
        }

        @keyframes toLandscape {
            0%, 15% { transform: rotate(0deg); }
            45%, 55% { transform: rotate(-90deg); }
            85%, 100% { transform: rotate(0deg); }
        }

        @keyframes toPortrait {
            0%, 15% { transform: rotate(-90deg); }
            45%, 55% { transform: rotate(0deg); }
            85%, 100% { transform: rotate(-90deg); }
        }

        .thumbnails-strip {
            display: flex;
            gap: 12px;
            overflow-x: auto;
            /* Width calculation: 5 thumbs (80px) + 4 gaps (12px) = 448px + padding margin */
            width: 100%;
            max-width: 496px; 
            padding: 10px 24px;
            scrollbar-width: none;
            scroll-behavior: smooth;
            
            /* CSS Mask for the smooth fade-out effect on left and right edges */
            -webkit-mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
            mask-image: linear-gradient(to right, transparent 0%, black 15%, black 85%, transparent 100%);
        }

        .thumbnails-strip::-webkit-scrollbar {
            display: none;
        }

        .thumb-item {
            width: 80px;
            height: 54px;
            border-radius: 6px;
            overflow: hidden;
            border: 2px solid rgba(255, 255, 255, 0.2);
            cursor: pointer;
            flex-shrink: 0;
            opacity: 0.5;
            transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
            background-color: #121216;
        }

        .thumb-item:first-child {
            margin-left: auto;
        }

        .thumb-item:last-child {
            margin-right: auto;
        }

        .thumb-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            pointer-events: none;
            user-select: none; 
            -webkit-user-drag: none;        
        }

        .thumb-item:hover {
            opacity: 0.8;
            transform: translateY(-2px);
        }

        .thumb-item.active {
            opacity: 1;
            border-color: var(--accent-color);
            transform: scale(1.05) translateY(-2px);
            box-shadow: 0 4px 12px rgba(229, 191, 112, 0.3);
        }

        /* ==================== VIEW 2: ABOUT DOCUMENT PANEL ==================== */
        .about-view-layout {
            background: linear-gradient(135deg, #09090e 0%, #030305 100%);
            display: flex;
            justify-content: center;
            align-items: center;
            padding: 40px;
        }

        .about-center-card {
            max-width: 680px;
            text-align: center;
            padding-top: 60px;
            opacity: 0;
            transform: translateY(20px);
            transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
        }

        .view-panel.active-view .about-center-card {
            opacity: 1;
            transform: translateY(0);
            transition-delay: 0.15s;
        }

        .about-center-card h1 {
            font-size: 2.4rem;
            font-weight: 700;
            margin-bottom: 24px;
            letter-spacing: -0.5px;
            background: linear-gradient(135deg, #ffffff 30%, var(--accent-color) 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }

        .about-center-card p {
            font-size: 1.05rem;
            color: #a1a1aa;
            line-height: 1.75;
            margin-bottom: 20px;
        }

        .action-return-btn {
            background: transparent;
            border: 1px solid var(--accent-color);
            color: var(--accent-color);
            padding: 12px 30px;
            font-size: 0.85rem;
            font-weight: 600;
            letter-spacing: 2px;
            text-transform: uppercase;
            border-radius: 30px;
            cursor: pointer;
            margin-top: 20px;
            transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
        }

        .action-return-btn:hover {
            background: var(--accent-color);
            color: #050507;
            box-shadow: 0 10px 25px rgba(229, 191, 112, 0.25);
            transform: translateY(-2px);
        }

        .action-return-btn:active {
            transform: translateY(0);
        }

        /* ==================== GLOBAL RESPONSIVE MEDIA QUERIES ==================== */
        @media (max-width: 768px) {
            .site-header {
                padding: 20px;
            }

            .site-logo {
                font-size: 1.05rem;
                letter-spacing: 2px;
            }

            .nav-menu {
                gap: 20px;
            }

            .nav-link {
                font-size: 0.75rem;
                letter-spacing: 1px;
            }

            .burger-btn {
                margin-left: 0;
            }

            .admin-drawer {
                top: 80px;
                right: 20px;
                width: calc(100% - 40px);
                max-width: 320px;
            }

            .orientation-hint {
                top: 80px;
                right: 20px;
            }

            .slide-caption-box {
                bottom: 115px;
                left: 20px;
                right: 20px;
            }

            .slide-caption-box h2 {
                font-size: 1.4rem;
            }

            .slide-caption-box p {
                font-size: 0.85rem;
            }

            .arrow-btn {
                width: 44px;
                height: 44px;
                box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.4);
            }

            .arrow-btn svg {
                width: 20px;
                height: 20px;
            }

            .left-arrow { left: 16px; }
            .right-arrow { right: 16px; }

            .thumb-item {
                width: 64px;
                height: 44px;
            }

            .about-center-card h1 {
                font-size: 1.8rem;
            }

            .about-center-card p {
                font-size: 0.95rem;
            }
        }

     /* ============== Admin Drawer Initial States & Elements =================== */
       #loginSection {
         display: block;
       }

      #uploadSection, #loginStatus {
         display: none;
      }

      .file-drop-zone p span {
         color: var(--accent-color);
         display: inline;
      }

    /* ============= Disable text selection across the entire website =========== */
       html, body {
        -webkit-user-select: none;        /* Safari and Chrome */
        -moz-user-select: none;           /* Firefox */
        -ms-user-select: none;            /* IE 10+ and Older Edge */
        user-select: none;                /* Standard syntax (Chrome, Edge, Opera) */
      } 
