/* Project Details Page */
.project-details-page {
    min-height: 100vh;
    padding: 6rem 0 3rem;
    background: var(--bg-light);
}

.dark-mode .project-details-page {
    background: var(--bg-dark);
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: inherit;
    opacity: 0.6;
    text-decoration: none;
    margin-bottom: 1.5rem;
    transition: all 0.3s;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.back-btn:hover {
    color: var(--primary);
    opacity: 1;
}

.back-icon {
    padding: 0.5rem;
    border-radius: 9999px;
    background: rgba(0, 0, 0, 0.05);
    transition: background 0.3s;
}

.dark-mode .back-icon {
    background: rgba(255, 255, 255, 0.05);
}

.back-btn:hover .back-icon {
    background: rgba(0, 0, 0, 0.1);
}

.dark-mode .back-btn:hover .back-icon {
    background: rgba(255, 255, 255, 0.1);
}

.details-header {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 3rem;
}

.dark-mode .details-header {
    border-bottom-color: var(--border-dark);
}

#detail-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.details-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.875rem;
    flex-wrap: wrap;
}

.meta-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 0.25rem;
    background: rgba(0, 0, 0, 0.05);
}

.dark-mode .meta-badge {
    background: rgba(255, 255, 255, 0.05);
}

.meta-author {
    color: var(--primary);
    font-weight: 600;
    transition: color 0.3s;
}

.meta-author:hover {
    text-decoration: underline;
}

.meta-dot {
    width: 0.25rem;
    height: 0.25rem;
    border-radius: 9999px;
    background: currentColor;
    opacity: 0.4;
}

.details-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    border: 1px solid var(--border-light);
    font-size: 0.75rem;
}

.dark-mode .tag {
    border-color: var(--border-dark);
}

.details-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

.details-main {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.gallery-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.main-image {
    aspect-ratio: 16/9;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 0.75rem;
    overflow: hidden;
    border: 1px solid var(--border-light);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.dark-mode .main-image {
    background: rgba(255, 255, 255, 0.02);
    border-color: var(--border-dark);
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s;
}

.thumbnails {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}

.thumbnail {
    flex-shrink: 0;
    width: 6rem;
    height: 4rem;
    border-radius: 0.5rem;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s;
    background: none;
    padding: 0;
}

.thumbnail:hover {
    opacity: 1;
    border-color: var(--primary);
}

.thumbnail.active {
    border-color: var(--primary);
    opacity: 1;
}

.thumbnail:not(.active) {
    opacity: 0.6;
}

.thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.description-section {
    background: white;
    border-radius: 0.75rem;
    padding: 2rem;
    border: 1px solid var(--border-light);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.dark-mode .description-section {
    background: var(--surface-dark);
    border-color: var(--border-dark);
}

.description-section h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-light);
}

.dark-mode .description-section h3 {
    border-bottom-color: var(--border-dark);
}

.description-content {
    line-height: 1.7;
    opacity: 0.8;
    margin-bottom: 1rem;
}

.features-list {
    list-style: disc;
    padding-left: 1.25rem;
    opacity: 0.7;
}

.features-list li {
    margin-bottom: 0.5rem;
}

.details-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.purchase-card {
    background: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    border: 1px solid var(--border-light);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.dark-mode .purchase-card {
    background: var(--surface-dark);
    border-color: var(--border-dark);
}

.purchase-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.purchase-header span {
    font-size: 0.875rem;
    font-weight: 500;
    opacity: 0.6;
}

.purchase-price {
    font-size: 1.875rem;
    font-weight: 700;
}

.purchase-features {
    margin-bottom: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.feature-item svg {
    width: 1.25rem;
    height: 1.25rem;
    color: #22c55e;
    flex-shrink: 0;
}

.btn-cart, .btn-buy {
    width: 100%;
    padding: 0.875rem;
    border-radius: 0.5rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s;
    margin-bottom: 0.75rem;
}

.btn-cart {
    background: var(--primary);
    color: white;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.btn-cart:hover {
    background: #2563eb;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
}

.btn-buy {
    background: rgba(0, 0, 0, 0.05);
    color: inherit;
    border: 1px solid var(--border-light);
}

.dark-mode .btn-buy {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--border-dark);
}

.btn-buy:hover {
    background: rgba(0, 0, 0, 0.1);
}

.dark-mode .btn-buy:hover {
    background: rgba(255, 255, 255, 0.1);
}

.preview-link {
    text-align: center;
    margin-top: 1rem;
}

.preview-link a {
    color: inherit;
    opacity: 0.6;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: underline;
    transition: all 0.3s;
}

.preview-link a:hover {
    color: var(--primary);
    opacity: 1;
}

.stats-card {
    background: white;
    border-radius: 0.75rem;
    padding: 1.5rem;
    border: 1px solid var(--border-light);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.dark-mode .stats-card {
    background: var(--surface-dark);
    border-color: var(--border-dark);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.stat-item {
    padding: 0.75rem;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 0.5rem;
}

.dark-mode .stat-item {
    background: rgba(255, 255, 255, 0.02);
}

.stat-value {
    font-size: 1.25rem;
    font-weight: 700;
}

.stat-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    opacity: 0.6;
    margin-top: 0.25rem;
}

.stats-info {
    font-size: 0.875rem;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-light);
}

.dark-mode .info-row {
    border-bottom-color: var(--border-dark);
}

.info-row:last-child {
    border-bottom: none;
}

.info-row span:first-child {
    opacity: 0.6;
}

.info-row span:last-child {
    font-weight: 500;
}

@media (min-width: 1024px) {
    .details-header {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-end;
    }
    
    .details-grid {
        grid-template-columns: 2fr 1fr;
    }
    
    #detail-title {
        font-size: 2.5rem;
    }
}


/* Reviews Section */
.reviews-section {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border-light);
}

.dark-mode .reviews-section {
    border-top-color: var(--border-dark);
}

.reviews-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.reviews-section h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin: 2rem 0 1rem;
}

.review-card {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.dark-mode .review-card {
    background: rgba(255, 255, 255, 0.02);
    border-color: rgba(255, 255, 255, 0.1);
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.review-user {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.review-avatar {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1rem;
}

.review-user-info h5 {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

.review-date {
    font-size: 0.875rem;
    color: #64748b;
}

.review-rating {
    display: flex;
    gap: 0.25rem;
    color: #fbbf24;
    font-size: 1.125rem;
}

.review-comment {
    color: #475569;
    line-height: 1.6;
    margin-top: 0.75rem;
}

.dark-mode .review-comment {
    color: #94a3b8;
}

.verified-purchase {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.25rem 0.625rem;
    background: #dcfce7;
    color: #166534;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 500;
    margin-top: 0.5rem;
}

.dark-mode .verified-purchase {
    background: rgba(34, 197, 94, 0.2);
    color: #86efac;
}

/* Review Form */
#review-form-container {
    background: #f8fafc;
    border-radius: 1rem;
    padding: 2rem;
    margin-top: 2rem;
}

.dark-mode #review-form-container {
    background: rgba(255, 255, 255, 0.02);
}

.rating-input {
    margin-bottom: 1.5rem;
}

.rating-input label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.stars-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 0.25rem;
}

.stars-input input {
    display: none;
}

.stars-input label {
    font-size: 2rem;
    color: #d1d5db;
    cursor: pointer;
    transition: color 0.2s;
}

.stars-input input:checked ~ label,
.stars-input label:hover,
.stars-input label:hover ~ label {
    color: #fbbf24;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-group textarea {
    width: 100%;
    padding: 0.875rem;
    border: 1px solid #e2e8f0;
    border-radius: 0.5rem;
    font-family: inherit;
    font-size: 0.9375rem;
    resize: vertical;
}

.dark-mode .form-group textarea {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: var(--text-dark);
}

.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.btn-submit-review {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-submit-review:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.reviews-loading {
    text-align: center;
    padding: 2rem;
    color: #64748b;
}

.no-reviews {
    text-align: center;
    padding: 3rem 2rem;
    color: #64748b;
}

.no-reviews svg {
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1rem;
    opacity: 0.3;
}


/* Details Grid */
.details-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 3rem;
    align-items: start;
}

.details-main {
    min-width: 0;
}

.details-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Purchase Card */
.purchase-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-light);
}

.dark-mode .purchase-card {
    background: var(--surface-dark);
    border-color: var(--border-dark);
}

.purchase-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 1.5rem;
}

.dark-mode .purchase-header {
    border-bottom-color: var(--border-dark);
}

.purchase-header span {
    font-size: 0.875rem;
    color: #64748b;
}

.purchase-price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.purchase-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.875rem;
}

.feature-item svg {
    width: 1.25rem;
    height: 1.25rem;
    color: #10b981;
    flex-shrink: 0;
}

.btn-buy {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.btn-buy:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.4);
}

.btn-buy svg {
    width: 1.25rem;
    height: 1.25rem;
}

.preview-link {
    text-align: center;
}

.preview-link a {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s;
}

.preview-link a:hover {
    text-decoration: underline;
}

.preview-link svg {
    width: 1.125rem;
    height: 1.125rem;
}

/* Stats Card */
.stats-card {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-light);
}

.dark-mode .stats-card {
    background: var(--surface-dark);
    border-color: var(--border-dark);
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-light);
    margin-bottom: 1.5rem;
}

.dark-mode .stats-grid {
    border-bottom-color: var(--border-dark);
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.875rem;
    color: #64748b;
}

.stats-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
}

.info-row span:first-child {
    color: #64748b;
}

.info-row span:last-child {
    font-weight: 500;
}

/* Gallery Section */
.gallery-section {
    margin-bottom: 3rem;
}

.main-image {
    border-radius: 1rem;
    overflow: hidden;
    margin-bottom: 1rem;
    background: white;
    border: 1px solid var(--border-light);
}

.dark-mode .main-image {
    background: var(--surface-dark);
    border-color: var(--border-dark);
}

.main-image img {
    width: 100%;
    height: auto;
    display: block;
}

.thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 0.75rem;
}

.thumbnail {
    border-radius: 0.5rem;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s;
    background: white;
    padding: 0;
}

.dark-mode .thumbnail {
    background: var(--surface-dark);
}

.thumbnail:hover {
    border-color: var(--primary);
}

.thumbnail.active {
    border-color: var(--primary);
}

.thumbnail img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    display: block;
}

/* Description Section */
.description-section {
    background: white;
    border-radius: 1rem;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid var(--border-light);
}

.dark-mode .description-section {
    background: var(--surface-dark);
    border-color: var(--border-dark);
}

.description-section h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.description-content {
    color: #475569;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.dark-mode .description-content {
    color: #94a3b8;
}

.features-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.features-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-left: 1.5rem;
    position: relative;
}

.features-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: 700;
}

.details-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.tag {
    padding: 0.375rem 0.875rem;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 9999px;
    font-size: 0.875rem;
}

.dark-mode .tag {
    background: rgba(255, 255, 255, 0.05);
}

/* Responsive */
@media (max-width: 1024px) {
    .details-grid {
        grid-template-columns: 1fr;
    }
    
    .details-sidebar {
        position: static;
        order: -1;
    }
}

@media (max-width: 640px) {
    .project-details-page {
        padding: 5rem 0 2rem;
    }
    
    #detail-title {
        font-size: 1.5rem;
    }
    
    .purchase-card,
    .stats-card,
    .description-section {
        padding: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}


/* Gallery Section - Main Image with Scroll */
.gallery-section {
    margin-bottom: 2rem;
}

.main-image {
    border-radius: 1rem;
    overflow: hidden;
    background: white;
    border: 1px solid var(--border-light);
    max-height: 600px;
    overflow-y: auto;
}

.dark-mode .main-image {
    background: var(--surface-dark);
    border-color: var(--border-dark);
}

.main-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Custom Scrollbar for Main Image */
.main-image::-webkit-scrollbar {
    width: 8px;
}

.main-image::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 0 1rem 1rem 0;
}

.dark-mode .main-image::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

.main-image::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 4px;
}

.dark-mode .main-image::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
}

.main-image::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 0, 0, 0.3);
}

.dark-mode .main-image::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}

/* Thumbnails */
.thumbnails {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 0.75rem;
    margin-top: 1rem;
}

.thumbnail {
    border-radius: 0.5rem;
    overflow: hidden;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s;
    background: white;
}

.dark-mode .thumbnail {
    background: var(--surface-dark);
}

.thumbnail:hover {
    border-color: var(--primary);
}

.thumbnail.active {
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.2);
}

.thumbnail img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    display: block;
}


/* Image Lightbox */
.image-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    cursor: zoom-out;
    animation: fadeIn 0.3s ease;
}

.image-lightbox.active {
    display: flex;
}

.image-lightbox img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 0.5rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease;
    cursor: default;
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.lightbox-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10000;
}

.lightbox-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.lightbox-close svg {
    width: 1.5rem;
    height: 1.5rem;
}

/* Lightbox Navigation Buttons */
.lightbox-prev,
.lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 3rem;
    height: 3rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10000;
}

.lightbox-prev {
    left: 2rem;
}

.lightbox-next {
    right: 2rem;
}

.lightbox-prev:hover,
.lightbox-next:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev svg,
.lightbox-next svg {
    width: 1.5rem;
    height: 1.5rem;
}

/* Lightbox Counter */
.lightbox-counter {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 500;
    z-index: 10000;
}

/* Responsive Lightbox */
@media (max-width: 640px) {
    .image-lightbox {
        padding: 1rem;
    }
    
    .lightbox-close {
        top: 1rem;
        right: 1rem;
        width: 2.5rem;
        height: 2.5rem;
    }
    
    .lightbox-close svg {
        width: 1.25rem;
        height: 1.25rem;
    }
    
    .lightbox-prev,
    .lightbox-next {
        width: 2.5rem;
        height: 2.5rem;
    }
    
    .lightbox-prev {
        left: 1rem;
    }
    
    .lightbox-next {
        right: 1rem;
    }
    
    .lightbox-prev svg,
    .lightbox-next svg {
        width: 1.25rem;
        height: 1.25rem;
    }
    
    .lightbox-counter {
        bottom: 1rem;
        font-size: 0.75rem;
        padding: 0.375rem 1rem;
    }
}
