/* ==================== RESET & ZMIENNE ==================== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

:root {
    --bg-dark: #07070a;
    --bg-section: #0c0c12;
    --gold: #d4af37;
    --gold-light: #f0d060;
    --gold-gradient: linear-gradient(135deg, #bf953f 0%, #fcf6ba 25%, #b38728 50%, #fbf5b7 75%, #aa771c 100%);
    --gold-glow: 0 0 25px rgba(212, 175, 55, 0.45), 0 0 50px rgba(212, 175, 55, 0.15);
    --text: #e8e8f0;
    --text-muted: #9595a8;
    --card-bg: rgba(22, 22, 33, 0.4);
    --border: rgba(212, 175, 55, 0.15);
    --error: #ff6b6b;
    --success: #4caf50;
    --font-title: 'Cinzel', Georgia, serif;
    --font-main: 'Plus Jakarta Sans', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

body {
    font-family: var(--font-main);
    background: var(--bg-dark);
    color: var(--text);
    line-height: 1.7;
    overflow-x: hidden;
    cursor: none;
}

a, button, .btn, .card, input, textarea, .hamburger {
    cursor: none !important;
}

@media (hover: none), (pointer: coarse) {
    body {
        cursor: auto;
    }
    a, button, .btn, .card, input, textarea, .hamburger {
        cursor: auto !important;
    }
}

/* ==================== NAGŁÓWKI, LINKI ==================== */
h1, h2, h3 { font-family: var(--font-title); font-weight: 700; line-height: 1.3; }
h1 { font-size: clamp(2.4rem, 6vw, 3.8rem); letter-spacing: -0.5px; }
h2 { font-size: clamp(2rem, 4vw, 2.6rem); margin-bottom: 1.5rem; text-align: center; }
h3 { font-size: 1.3rem; margin-bottom: 0.8rem; color: #fff; letter-spacing: 0.5px; }

a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; border-radius: 12px; }

.container { width: min(90%, 1200px); margin: 0 auto; }

.gold-text, .highlight {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    font-weight: 700;
}

/* Przycisk */
.btn {
    display: inline-block;
    background: var(--gold-gradient);
    color: #000 !important;
    padding: 0.9rem 2.2rem;
    border-radius: 40px;
    font-weight: 700;
    letter-spacing: 1px;
    transition: transform var(--transition), box-shadow var(--transition);
    cursor: pointer;
    border: none;
    font-size: 0.95rem;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}
.btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--gold-glow);
}
.btn-outline {
    background: transparent;
    border: 2px solid var(--gold);
    color: #fff !important;
}
.btn-outline:hover {
    background: var(--gold-gradient);
    border-color: transparent;
    color: #000 !important;
}

/* ==================== NAWIGACJA ==================== */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(7, 7, 10, 0.75);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    padding: 0.8rem 0;
    transition: background var(--transition);
}
.nav-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 1.6rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    font-family: var(--font-title);
}
.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
    transition: transform var(--transition), opacity var(--transition);
}
.nav-links a {
    color: var(--text-muted);
    transition: color var(--transition);
    font-size: 0.95rem;
    font-weight: 500;
}
.nav-links a:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    padding: 0;
    z-index: 1001;
    transition: transform var(--transition);
}
.hamburger span {
    width: 100%;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
    transition: all var(--transition);
    transform-origin: left center;
}
.hamburger.open span:nth-child(1) {
    transform: rotate(45deg) translate(2px, 0px);
}
.hamburger.open span:nth-child(2) {
    width: 0%;
    opacity: 0;
}
.hamburger.open span:nth-child(3) {
    transform: rotate(-45deg) translate(2px, 0px);
}

/* ==================== SEKCJE OGÓLNE ==================== */
section { padding: 6rem 0; }
.section-subtitle {
    text-align: center;
    color: var(--text-muted);
    max-width: 600px;
    margin: -0.5rem auto 3rem;
    font-size: 1.1rem;
}

/* ==================== HERO ==================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    background: radial-gradient(ellipse at center, #1a1a2e 0%, #0a0a0f 70%);
    overflow: hidden;
    padding-top: 5rem;
}
/* Animowane iskry */
.sparkle {
    position: absolute;
    background: var(--gold);
    border-radius: 50%;
    animation: sparkleFloat 4s infinite alternate;
    opacity: 0.7;
    pointer-events: none;
}
@keyframes sparkleFloat {
    0% { transform: translateY(0) scale(1); opacity: 0.3; }
    100% { transform: translateY(-120px) scale(1.8); opacity: 0; }
}
.hero-content { position: relative; z-index: 2; max-width: 850px; padding: 2rem; margin: 0 auto; }
.hero h1 { margin-bottom: 1.2rem; letter-spacing: -0.5px; }
.hero p { 
    font-size: 1.25rem; 
    color: var(--text-muted); 
    margin-bottom: 3rem; 
    min-height: 3.8em; /* Zapobiega skakaniu przycisków przy zmianie tekstu */
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-btns {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    flex-wrap: wrap;
}
/* --- NOWE EFEKTY --- */
/* Gradientowy przycisk w hero */
.hero .btn {
    background: linear-gradient(135deg, #d4af37 0%, #f0d060 100%);
    border: none;
    transition: all 0.4s ease;
}
.hero .btn:hover {
    box-shadow: 0 0 25px rgba(212,175,55,0.8), 0 0 50px rgba(240,208,96,0.5);
    transform: translateY(-3px) scale(1.03);
}

/* Canvas cząsteczek w tle hero */
#particlesCanvas {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Karty - efekt tilt 3D */
.card.tilt-enabled {
    transform-style: preserve-3d;
    transition: transform 0.1s ease;
    will-change: transform;
}
.card.tilt-enabled:hover {
    box-shadow: 0 30px 50px rgba(212, 175, 55, 0.3);
}

/* Migoczące gwiazdki w tle całej strony */
.starry-bg {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}
.star {
    position: absolute;
    background: #d4af37;
    border-radius: 50%;
    animation: twinkle 3s infinite alternate;
    opacity: 0.4;
}
@keyframes twinkle {
    0% { opacity: 0.2; transform: scale(0.8); }
    100% { opacity: 0.9; transform: scale(1.4); }
}

/* Dodatkowy styl dla nowych kart (w razie potrzeby) */
.card .badge {
    display: inline-block;
    background: rgba(212,175,55,0.15);
    color: var(--gold);
    padding: 0.2rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    margin-top: 0.8rem;
    letter-spacing: 0.5px;
}
/* ==================== O MNIE ==================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.about-img { 
    position: relative; 
    width: fit-content;
    margin: 0 auto;
    padding: 15px; /* Przestrzeń na ramkę */
}
.about-img::after {
    content: '';
    position: absolute;
    inset: 0;
    border: 2px solid transparent;
    border-radius: 15px;
    background: var(--gold-gradient) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    pointer-events: none;
    z-index: 1;
}
.about-text h2 { text-align: left; }
.about-text p { margin-bottom: 1.2rem; font-size: 1.05rem; }

/* ==================== OFERTA ==================== */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}
.card {
    background: var(--card-bg);
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 2.5rem 1.8rem;
    text-align: center;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition), background var(--transition);
    position: relative;
    overflow: hidden;
}
.card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.03) 0%, transparent 70%);
    opacity: 0;
    transition: opacity var(--transition);
    pointer-events: none;
}
.card:hover::before { opacity: 1; }
.card:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 175, 55, 0.45);
    background: rgba(26, 26, 38, 0.6);
    box-shadow: var(--gold-glow);
}
.card i {
    font-size: 2.8rem;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    margin-bottom: 1.2rem;
    display: inline-block;
}
.card h3 { font-size: 1.25rem; }
.card p { color: var(--text-muted); font-size: 0.95rem; }


/* ==================== KONTAKT ==================== */
.contact-wrapper {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 4rem;
    align-items: start;
}
.contact-info {
    max-width: 320px;
}
.contact-info i { color: var(--gold); width: 25px; }
.contact-info p { margin-bottom: 1.2rem; color: var(--text-muted); }

.contact-form .form-group { margin-bottom: 1.3rem; }
.contact-form label {
    display: block;
    margin-bottom: 0.3rem;
    font-weight: 500;
    font-size: 0.9rem;
    color: #ccc;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.9rem 1rem;
    background: rgba(22, 22, 33, 0.4);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: #fff;
    font-family: inherit;
    transition: border-color var(--transition), box-shadow var(--transition), background var(--transition);
    font-size: 1rem;
}
.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: rgba(212, 175, 55, 0.6);
    background: rgba(26, 26, 38, 0.7);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2);
}
.contact-form textarea { resize: vertical; min-height: 130px; }

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}
.checkbox-group input { width: auto; margin-top: 0.2rem; accent-color: var(--gold); }
.captcha-box {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.captcha-question {
    font-weight: 700;
    font-size: 1.1rem;
    white-space: nowrap;
}
.error-msg { color: var(--error); font-size: 0.8rem; display: none; margin-top: 0.2rem; }
.success-msg {
    background: var(--success);
    color: #fff;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    display: none;
    margin-bottom: 1.5rem;
}

/* ==================== STOPKA ==================== */
footer {
    text-align: center;
    padding: 2.5rem 0;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ==================== ANIMACJE POJAWIANIA ==================== */
.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ==================== RESPONSYWNOŚĆ ==================== */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    .nav-links {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: fixed;
        top: 0;
        right: 0;
        width: 100%;
        height: 100vh;
        background: rgba(7, 7, 10, 0.96);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        z-index: 999;
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        padding: 2rem;
        gap: 2.5rem;
    }
    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
    .nav-links a {
        font-size: 1.5rem;
    }
    .about-grid, .contact-wrapper {
        grid-template-columns: 1fr;
    }
    .hero h1 { font-size: 2.2rem; }
    .hero p { font-size: 1.1rem; min-height: 5em; margin-bottom: 2.5rem; }
    .hero-btns { gap: 0.8rem; }
    .hero-btns .btn { width: 100%; max-width: 280px; padding: 0.8rem 1.5rem; font-size: 0.9rem; }
    .cards-grid { grid-template-columns: 1fr; }
}
/* Typewriter */
.typewriter {
    display: inline;
    border-right: 2px solid var(--gold);
    white-space: pre-wrap;
    word-break: break-word;
    animation: blinkCursor 0.8s infinite;
}
@keyframes blinkCursor {
    0%, 100% { border-color: transparent; }
    50% { border-color: var(--gold); }
}
/* Cursor glow */
.cursor-glow {
    position: fixed;
    top: 0;
    left: 0;
    width: 8px;
    height: 8px;
    background: #fff;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1000001; /* Zwiększony, aby kursor był nad lightboxem (z-index: 100000) */
    box-shadow: 0 0 10px #fff, 0 0 20px var(--gold), 0 0 30px var(--gold);
    transform: translate3d(0, 0, 0) translate(-50%, -50%);
    mix-blend-mode: screen;
    transition: width 0.2s, height 0.2s, background 0.2s, box-shadow 0.2s;
    will-change: transform;
}
.cursor-glow.active {
    width: 12px;
    height: 12px;
    background: var(--gold-light);
    box-shadow: 0 0 15px #fff, 0 0 30px var(--gold-light), 0 0 50px var(--gold-light);
}
.cursor-trail {
    position: fixed;
    pointer-events: none;
    z-index: 1000000; /* Zwiększony, aby ślad był nad lightboxem */
    color: var(--gold-light);
    font-family: serif;
    font-size: 14px;
    animation: magicParticle 1.5s ease-out forwards;
    mix-blend-mode: screen;
}
@keyframes magicParticle {
    0% { transform: translate(-50%, -50%) scale(1) rotate(0deg); opacity: 1; }
    100% { transform: translate(-50%, -50%) translate(var(--mx), var(--my)) scale(0) rotate(var(--mr)); opacity: 0; }
}
/* Falling cards */
.falling-card {
    position: fixed;
    z-index: -2;
    pointer-events: none;
    font-size: 3.5rem;
    color: var(--gold);
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.7);
    opacity: 0.4;
    animation: fall linear infinite;
}
@keyframes fall {
    0% { transform: translateY(-10vh) rotate(0deg); opacity: 0.55; }
    100% { transform: translateY(110vh) rotate(360deg); opacity: 0; }
}
/* Parallax background */
.parallax-bg {
    background-image: url('bg_o_mnie.jpg');
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}
.parallax-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(10,10,15,0.75);
    z-index: 1;
}
.parallax-bg .container {
    position: relative;
    z-index: 2;
}
/* Magic smoke on buttons */
.btn {
    position: relative;
    overflow: hidden;
}
.btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.5) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.3s;
    transform: scale(0.5);
}
.btn:hover::after {
    opacity: 0.3;
    transform: scale(1);
}

/* ==================== FILMY YOUTUBE (CMS) ==================== */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-bottom: 2rem;
    margin-top: 1rem;
}

.video-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.2rem;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUpVideo 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.video-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.18);
}

.video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    border-radius: 10px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 8px 16px rgba(0,0,0,0.5);
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-title {
    margin-top: 1.2rem;
    font-size: 1.1rem;
    color: #fff;
    font-weight: 600;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: 0.5px;
}

@keyframes fadeInUpVideo {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================== MODAL BILETU ==================== */
.modal-ticket {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.9);
    backdrop-filter: blur(8px);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.modal-ticket.active {
    display: block;
    opacity: 1;
}

.modal-ticket-content {
    margin: 5% auto;
    padding: 20px;
    width: 90%;
    max-width: 650px;
    position: relative;
    transform: scale(0.8);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-ticket.active .modal-ticket-content {
    transform: scale(1);
}

.close-ticket-modal {
    position: absolute;
    right: 20px;
    top: 10px;
    color: var(--gold);
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
}

/* Styl Złotego Biletu */
.golden-ticket {
    background: var(--gold-gradient);
    color: #000;
    padding: 10px;
    border-radius: 20px;
    box-shadow: 0 0 60px rgba(212, 175, 55, 0.5);
    position: relative;
    overflow: hidden;
    font-family: var(--font-title);
    background-size: 200% auto;
    animation: shine-ticket 6s linear infinite;
}

.ticket-inner-border {
    border: 3px dashed #422d0a;
    border-radius: 15px;
    padding: 40px;
}

.ticket-content-inner {
    text-align: center;
}

.ticket-header {
    font-size: 2.5rem;
    font-weight: 900;
    letter-spacing: 5px;
    margin-bottom: 15px;
}

.ticket-divider {
    height: 3px;
    background: #422d0a;
    width: 100%;
    margin: 20px 0;
}

.ticket-discount {
    font-size: 5rem;
    font-weight: 900;
    line-height: 1.2;
    margin: 5px 0 15px 0;
}

.ticket-label {
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-top: 5px;
}

.ticket-package {
    font-size: 1.8rem;
    font-weight: 700;
    margin-top: 10px;
}

.ticket-footer {
    margin-top: 20px;
}

.ticket-footer p {
    font-size: 1.5rem;
    font-weight: 700;
    margin: 5px 0;
}

.ticket-code {
    color: #422d0a; /* Ciemny brąz dla kontrastu na złotym tle */
    font-weight: 900;
    text-shadow: 0 1px 0 rgba(255,255,255,0.3);
}

.ticket-footer .small {
    font-size: 0.9rem;
    font-weight: 400;
    font-style: italic;
    font-family: var(--font-main);
}

@keyframes shine-ticket {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

/* Klasa pomocnicza dla html2canvas - stabilne tło bez animacji */
.golden-ticket.is-capturing {
    animation: none !important;
    background: linear-gradient(135deg, #bf953f 0%, #fcf6ba 45%, #b38728 50%, #fcf6ba 55%, #aa771c 100%) !important;
    background-size: 100% 100% !important;
}

@media print {
    body * {
        visibility: hidden;
    }
    #printable-ticket, #printable-ticket * {
        visibility: visible;
    }
    #printable-ticket {
        position: fixed;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%);
        width: 100%;
        box-shadow: none;
        background: #fff;
        border: 2px solid #000;
        animation: none;
    }
}

/* ==================== GALERIA ZDJĘĆ & LIGHTBOX ==================== */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 1rem;
}

.gallery-card {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 1.2rem;
    transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
    cursor: pointer;
    overflow: hidden;
}

.gallery-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold);
    box-shadow: 0 20px 40px rgba(212, 175, 55, 0.18);
}

.gallery-img-wrapper {
    position: relative;
    padding-bottom: 70%; /* standard photo ratio */
    height: 0;
    border-radius: 10px;
    overflow: hidden;
    background: #000;
}

.gallery-img-wrapper img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-card:hover .gallery-img-wrapper img {
    transform: scale(1.08);
}

.gallery-photo-title {
    margin-top: 1.2rem;
    font-size: 1rem;
    color: #fff;
    font-weight: 500;
    text-align: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: 0.5px;
}

/* Lightbox overlay */
.lightbox-overlay {
    display: none;
    position: fixed;
    z-index: 100000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(12px);
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity var(--transition);
}

.lightbox-overlay.active {
    display: flex;
    opacity: 1;
}

.lightbox-content-wrap {
    position: relative;
    max-width: 90%;
    max-height: 85%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.lightbox-img {
    max-width: 100%;
    max-height: 75vh;
    border-radius: 12px;
    border: 2px solid var(--gold);
    box-shadow: var(--gold-glow);
    object-fit: contain;
    transform: scale(0.9);
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.lightbox-overlay.active .lightbox-img {
    transform: scale(1);
}

.lightbox-caption {
    margin-top: 1.5rem;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-align: center;
    font-family: var(--font-title);
}

.lightbox-close {
    position: absolute;
    top: -50px;
    right: 0;
    color: var(--gold);
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: color var(--transition), transform var(--transition);
}

.lightbox-close:hover {
    color: var(--gold-light);
    transform: scale(1.1);
}
