:root {
    --bg-color: #0f172a;
    --card-bg: rgba(30, 41, 59, 0.7);
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --accent-color: #f59e0b;
    /* Amber/Gold */
    --accent-hover: #d97706;
    /* Darker Amber */
    --danger-color: #ef4444;
    --glass-border: 1px solid rgba(255, 255, 255, 0.1);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --glow: 0 0 15px rgba(245, 158, 11, 0.3);
    --font-family: 'Rubik', sans-serif;
    --font-family-headers: 'Playfair Display', serif;
}

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

body {
    font-family: var(--font-family);
    background-color: var(--bg-color);
    background-image:
        radial-gradient(at 0% 0%, rgba(245, 158, 11, 0.05) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(15, 23, 42, 0) 0px, transparent 50%);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    transition: background 0.5s ease;
}

h1,
h2,
h3,
.artwork-title,
.logo-text {
    font-family: var(--font-family-headers);
}

.app-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    padding-bottom: 80px;
}

/* Header */
.main-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
}

.logo-img {
    width: 25vw;
    max-height: 150px;
    object-fit: contain;
    mix-blend-mode: screen;
}

.icon-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s;
    padding: 8px;
}

.icon-btn:hover {
    color: var(--accent-color);
}

.header-admin {
    position: absolute;
    top: 10px;
    left: 10px;
    opacity: 0.3;
    transition: opacity 0.3s;
    z-index: 100;
}

.header-admin:hover {
    opacity: 1;
}

#admin-login-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1rem;
    cursor: pointer;
}

/* Hero Video */
.hero-video-container {
    width: 90%;
    max-width: 1000px;
    height: 50vh;
    margin: 0 auto 40px auto;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 20px rgba(245, 158, 11, 0.2);
    border: 1px solid rgba(245, 158, 11, 0.3);
    background: rgba(0, 0, 0, 0.3);
    transition: all 0.5s ease;
}

.hero-video-container.hidden {
    display: none;
}

.hero-video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(15, 23, 42, 0.2), rgba(15, 23, 42, 0.6));
    pointer-events: none;
}

/* Folder Filters */
.folder-filters {
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    gap: 10px;
    overflow-x: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(245, 158, 11, 0.5) transparent;
}

.folder-filters::-webkit-scrollbar {
    height: 6px;
}

.folder-filters::-webkit-scrollbar-track {
    background: transparent;
}

.folder-filters::-webkit-scrollbar-thumb {
    background: rgba(245, 158, 11, 0.5);
    border-radius: 3px;
}

.folder-filter-btn {
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-family);
}

.folder-filter-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
}

.folder-filter-btn.active {
    background: rgba(245, 158, 11, 0.15);
    border-color: var(--accent-color);
    color: var(--accent-color);
    box-shadow: 0 0 10px rgba(245, 158, 11, 0.1);
}

.folder-count {
    background: rgba(0, 0, 0, 0.2);
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 0.8em;
}

/* Gallery Grid - Masonry Layout */
.gallery-grid {
    column-count: 3;
    column-gap: 25px;
}

.gallery-item {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    border: var(--glass-border);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    display: flex;
    flex-direction: column;
    margin-bottom: 25px;
    break-inside: avoid;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow), var(--glow);
    border-color: rgba(245, 158, 11, 0.4);
}

.gallery-item img {
    width: 100%;
    height: auto;
    /* Allow natural height for masonry */
    display: block;
    cursor: pointer;
}

.item-info {
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(15, 23, 42, 0.8);
    /* Slightly darker for contrast */
    flex-grow: 1;
}

.artwork-title {
    display: block;
    font-weight: 600;
    margin-bottom: 5px;
    color: var(--text-primary);
    font-size: 1.1rem;
    letter-spacing: 0.5px;
}

.price-tag {
    color: var(--accent-color);
    font-weight: 700;
    font-size: 1.1rem;
    font-family: var(--font-family);
    /* Keep numbers in sans-serif */
}

.item-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.whatsapp-icon-btn {
    background: rgba(37, 211, 102, 0.1);
    color: #25d366;
    border: 1px solid rgba(37, 211, 102, 0.2);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1.2rem;
}

.whatsapp-icon-btn:hover {
    background: #25d366;
    color: white;
    transform: scale(1.1);
    box-shadow: 0 0 10px rgba(37, 211, 102, 0.4);
}

.edit-btn,
.magnify-btn,
.share-btn {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1.2rem;
}

.edit-btn:hover,
.magnify-btn:hover,
.share-btn:hover {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
    box-shadow: var(--glow);
}

/* Admin Controls */
.admin-controls {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    padding: 15px;
    background: rgba(245, 158, 11, 0.05);
    border-radius: 10px;
    border: 1px solid rgba(245, 158, 11, 0.2);
    flex-wrap: wrap;
}

.admin-controls.hidden {
    display: none;
}

.primary-btn {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
    font-family: var(--font-family);
}

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

.secondary-btn {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.secondary-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--text-primary);
}

.danger-btn {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger-color);
    border: 1px solid var(--danger-color);
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s;
}

.danger-btn:hover {
    background: var(--danger-color);
    color: white;
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.3);
}

/* Modals */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    padding: 20px;
    backdrop-filter: blur(8px);
}

.modal.hidden {
    display: none;
}

.glass-panel {
    background: rgba(30, 41, 59, 0.95);
    border: var(--glass-border);
    border-radius: 16px;
    padding: 30px;
    width: 100%;
    max-width: 400px;
    position: relative;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.3), 0 10px 10px -5px rgba(0, 0, 0, 0.1);
}

.wide-modal {
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
}

.close-modal {
    position: absolute;
    top: 15px;
    left: 15px;
    font-size: 1.5rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color 0.3s;
}

.close-modal:hover {
    color: var(--text-primary);
}

.modal h2 {
    margin-bottom: 20px;
    text-align: center;
    color: var(--accent-color);
    font-family: var(--font-family-headers);
}

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

input,
textarea,
select {
    width: 100%;
    padding: 12px;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-family);
    font-size: 1rem;
    transition: border-color 0.3s;
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 2px rgba(245, 158, 11, 0.2);
}

textarea {
    min-height: 100px;
    resize: vertical;
}

.modal-actions {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    gap: 10px;
}

.error-msg {
    color: var(--danger-color);
    text-align: center;
    margin-top: 10px;
    font-size: 0.9rem;
}

.error-msg.hidden {
    display: none;
}

/* Image Editor Styles */
.image-editor-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 20px;
    background: rgba(0, 0, 0, 0.2);
    padding: 15px;
    border-radius: 10px;
}

.editor-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.editor-image-display {
    flex-grow: 1;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.editor-image-display img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.editor-nav-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.editor-nav-btn:hover:not(:disabled) {
    background: var(--accent-color);
    box-shadow: var(--glow);
}

.editor-nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.editor-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.editor-counter {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.file-upload-section {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

.file-upload-label-small {
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s;
}

.file-upload-label-small:hover {
    background: rgba(255, 255, 255, 0.2);
}

.danger-btn-small {
    background: rgba(239, 68, 68, 0.1);
    color: var(--danger-color);
    border: 1px solid var(--danger-color);
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 5px;
    align-self: flex-start;
}

.danger-btn-small:hover:not(:disabled) {
    background: var(--danger-color);
    color: white;
}

.danger-btn-small:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    border-color: transparent;
}

.placeholder-text {
    color: var(--text-secondary);
    text-align: center;
    padding: 20px;
}

/* Lightbox */
.lightbox-modal {
    background: rgba(0, 0, 0, 0.95);
    padding: 0;
}

.lightbox-content {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
}

.lightbox-content img {
    max-width: 90vw;
    max-height: 85vh;
    object-fit: contain;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
    animation: zoomIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    /* Bouncy zoom */
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.lightbox-close {
    top: 20px;
    left: 20px;
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.7);
    z-index: 1001;
}

.lightbox-close:hover {
    color: var(--accent-color);
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 1001;
}

.lightbox-nav:hover {
    background: var(--accent-color);
    box-shadow: var(--glow);
}

.prev-btn {
    right: 20px;
}

.next-btn {
    left: 20px;
}

.lightbox-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    background: rgba(0, 0, 0, 0.5);
    padding: 5px 15px;
    border-radius: 20px;
    font-family: var(--font-family);
}

.lightbox-description {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    text-align: center;
    max-width: 80%;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    font-size: 1.2rem;
    background: rgba(0, 0, 0, 0.4);
    padding: 10px 20px;
    border-radius: 8px;
    font-family: var(--font-family-headers);
}

/* Background Settings Modal */
.bg-section {
    margin-bottom: 25px;
}

.bg-section h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--text-secondary);
    font-family: var(--font-family);
}

.gradient-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    gap: 15px;
}

.gradient-swatch {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, 0.1);
    transition: transform 0.3s, border-color 0.3s;
}

.gradient-swatch.selected {
    border-color: var(--accent-color);
    box-shadow: 0 0 10px var(--accent-color);
    transform: scale(1.1);
}

/* Gradient Presets */
.bg-gradient-default {
    background-color: #0f172a;
    background-image:
        radial-gradient(at 0% 0%, rgba(245, 158, 11, 0.05) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(15, 23, 42, 0) 0px, transparent 50%);
}

.bg-gradient-1 {
    /* Luxury Gold */
    background: linear-gradient(135deg, #1c1917 0%, #0f172a 100%);
    position: relative;
}

.bg-gradient-1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.bg-gradient-2 {
    /* Deep Forest */
    background: linear-gradient(to bottom, #022c22, #064e3b, #065f46);
}

.bg-gradient-3 {
    /* Purple Night */
    background: linear-gradient(to right, #2e1065, #4c1d95, #581c87);
}

.bg-gradient-4 {
    /* Sunset */
    background: linear-gradient(to top, #4a044e, #b91c1c, #f59e0b);
}

.bg-gradient-5 {
    /* Deep Wood */
    background: linear-gradient(135deg, #3e2723 0%, #1a0f0a 100%);
}

.bg-gradient-6 {
    /* Epoxy River */
    background: linear-gradient(to bottom right, #0f172a, #083344, #0e7490);
}

.bg-gradient-7 {
    /* Ancient Forest */
    background: linear-gradient(to bottom, #052e16, #064e3b, #022c22);
}

.bg-gradient-8 {
    /* Black Marble */
    background: linear-gradient(135deg, #000000 0%, #1c1c1c 100%);
}

#bg-preview-container {
    margin-top: 15px;
    text-align: center;
}

#bg-preview-container img {
    max-width: 100%;
    max-height: 150px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    object-fit: cover;
}

#bg-preview-container.hidden {
    display: none;
}

/* Footer */
footer {
    text-align: center;
    padding: 30px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 50px;
    color: var(--text-secondary);
    position: relative;
}

.social-links {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-links a {
    color: var(--text-secondary);
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--accent-color);
    transform: translateY(-3px);
}

/* Responsive */
@media (max-width: 1024px) {
    .gallery-grid {
        column-count: 2;
    }
}

@media (max-width: 768px) {
    .gallery-grid {
        column-count: 1;
    }

    .main-header {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .logo-img {
        width: 60vw;
    }

    .lightbox-nav {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }

    .prev-btn {
        right: 10px;
    }

    .next-btn {
        left: 10px;
    }

    /* Mobile Lightbox Fix */
    .lightbox-content {
        justify-content: center;
        padding-top: 20px;
    }

    .lightbox-content img {
        max-height: 50vh;
        margin-bottom: 15px;
    }

    .lightbox-description {
        position: relative !important;
        bottom: auto !important;
        left: auto !important;
        transform: none !important;
        background: transparent !important;
        padding: 0 10px;
        font-size: 1.1rem;
        max-width: 90%;
        margin-top: 15px;
        text-shadow: none;
        text-align: center;
    }

    .lightbox-counter {
        position: relative !important;
        bottom: auto !important;
        left: auto !important;
        transform: none !important;
        margin-top: 5px;
        background: transparent !important;
        font-size: 0.9rem;
    }
}

/* Dark Text Mode */
body.text-dark {
    --text-primary: #0f172a;
    --text-secondary: #334155;
    --card-bg: rgba(255, 255, 255, 0.7);
    --glass-border: 1px solid rgba(0, 0, 0, 0.1);
}

body.text-dark .item-info {
    background: rgba(255, 255, 255, 0.9);
}

body.text-dark .folder-filter-btn {
    background: rgba(0, 0, 0, 0.05);
    border-color: rgba(0, 0, 0, 0.1);
    color: var(--text-secondary);
}

body.text-dark .folder-filter-btn:hover {
    background: rgba(0, 0, 0, 0.1);
    color: var(--text-primary);
}

body.text-dark .main-header {
    border-bottom-color: rgba(0, 0, 0, 0.1);
}

/* Admin Button Visibility Fix */
#admin-login-btn {
    background: rgba(0, 0, 0, 0.2);
    border: none;
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 0.9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

body.text-dark #admin-login-btn {
    background: rgba(0, 0, 0, 0.1);
    color: var(--text-primary);
}

.header-admin {
    opacity: 0.6;
}

.logo-img {
    mix-blend-mode: normal;
}

/* Utility Classes */
.hidden {
    display: none !important;
}

/* Lightbox Share Button */
.lightbox-share {
    position: absolute;
    top: 20px;
    left: 70px;
    background: transparent;
    border: none;
    font-size: 2rem;
    color: rgba(255, 255, 255, 0.7);
    z-index: 1001;
    cursor: pointer;
    transition: color 0.3s;
}

.lightbox-share:hover {
    color: var(--accent-color);
}

/* Description Toggle Styles */
.price-tag {
    display: block;
    margin-bottom: 8px;
}

.description-wrapper {
    margin-top: 8px;
    width: 100%;
}

.description-toggle {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: all 0.3s;
    width: 100%;
    font-family: var(--font-family);
}

.description-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--text-primary);
}

.description-toggle.active {
    background: rgba(245, 158, 11, 0.1);
    border-color: var(--accent-color);
    color: var(--accent-color);
}

.toggle-icon {
    transition: transform 0.3s ease;
    font-size: 0.8rem;
}

.artwork-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
    margin-top: 8px;
    padding: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease;
}

.artwork-description.open {
    max-height: 500px;
    opacity: 1;
    padding: 10px 0;
}

.artwork-description.hidden {
    display: block;
}

/* Lightbox Inner Navigation */
.lightbox-image-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.lightbox-inner-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 1002;
    opacity: 0;
    /* Hidden by default, shown on hover */
}

.lightbox-image-container:hover .lightbox-inner-nav {
    opacity: 1;
}

.lightbox-inner-nav:hover {
    background: var(--accent-color);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.lightbox-inner-nav.prev {
    right: 10px;
}

.lightbox-inner-nav.next {
    left: 10px;
}

.lightbox-inner-counter {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.8rem;
    pointer-events: none;
    z-index: 1002;
    opacity: 0;
    transition: opacity 0.3s;
}

.lightbox-image-container:hover .lightbox-inner-counter {
    opacity: 1;
}