/* ===== ZŁOTY DYM/MGŁA PODCZAS PRZEJŚCIA STRON ===== */
.page-transition-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: radial-gradient(ellipse at center, 
        rgba(245, 237, 150, 0.2) 0%,
        rgba(245, 237, 150, 0.15) 20%,
        rgba(184, 134, 11, 0.1) 40%,
        rgba(0, 0, 0, 0.6) 70%,
        rgba(0, 0, 0, 0.9) 100%);
    z-index: 10000;
    pointer-events: none;
    opacity: 0;
    filter: blur(3px);
    transition: all 0.8s ease-out;
}

.page-transition-overlay.active {
    opacity: 1;
    filter: blur(0px);
    transition: all 1.2s ease-in-out;
}

.smoke-particle {
    position: absolute;
    background: radial-gradient(circle, rgba(245, 237, 150, 0.6), rgba(245, 237, 150, 0.1));
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
}

.smoke-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

/* ===== EKSPLOZJA ZŁOTYCH CZĄSTECZEK PODCZAS PRZEJŚCIA ===== */
.transition-burst {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 1px;
    height: 1px;
    pointer-events: none;
    z-index: 9999;
}

.burst-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    pointer-events: none;
}

/* ===== ZŁOTE FALE PODCZAS PRZEJŚCIA ===== */
.golden-wave {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 10px;
    height: 10px;
    border: 2px solid rgba(245, 237, 150, 0.8);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 9997;
    opacity: 0;
}

.golden-wave.active {
    animation: expandWave 1.4s ease-out forwards;
}

@keyframes expandWave {
    0% {
        width: 10px;
        height: 10px;
        opacity: 1;
        border-width: 3px;
    }
    100% {
        width: 200vw;
        height: 200vw;
        opacity: 0;
        border-width: 1px;
    }
}

/* ===== ZŁOTE CZĄSTECZKI W TLE ===== */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 1000;
    overflow: hidden;
}

.particle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.7;
    animation: float 8s infinite ease-in-out;
}

.particle.gold-1 {
    width: 2px;
    height: 2px;
    background: radial-gradient(circle, #FFD700, #FFA500);
    box-shadow: 0 0 4px #FFD700;
}

.particle.gold-2 {
    width: 3px;
    height: 3px;
    background: radial-gradient(circle, #D4AF37, #B8860B);
    box-shadow: 0 0 6px #D4AF37;
}

.particle.gold-3 {
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, #DAA520, #CD853F);
    box-shadow: 0 0 5px #DAA520;
}

.particle.gold-4 {
    width: 2.5px;
    height: 2.5px;
    background: radial-gradient(circle, #F0E68C, #DDA0DD);
    box-shadow: 0 0 3px #F0E68C;
}

.particle.gold-5 {
    width: 3.5px;
    height: 3.5px;
    background: radial-gradient(circle, #CFB53B, #996515);
    box-shadow: 0 0 7px #CFB53B;
}

/* Więcej pozycji i czasów dla różnorodności */
.particle:nth-child(1) { left: 5%; animation-delay: 0s; animation-duration: 7s; }
.particle:nth-child(2) { left: 12%; animation-delay: -1.2s; animation-duration: 9s; }
.particle:nth-child(3) { left: 18%; animation-delay: -2.5s; animation-duration: 6s; }
.particle:nth-child(4) { left: 25%; animation-delay: -0.8s; animation-duration: 8s; }
.particle:nth-child(5) { left: 32%; animation-delay: -3.1s; animation-duration: 7.5s; }
.particle:nth-child(6) { left: 38%; animation-delay: -1.8s; animation-duration: 6.5s; }
.particle:nth-child(7) { left: 45%; animation-delay: -4.2s; animation-duration: 8.5s; }
.particle:nth-child(8) { left: 52%; animation-delay: -2.3s; animation-duration: 7s; }
.particle:nth-child(9) { left: 58%; animation-delay: -0.5s; animation-duration: 9.5s; }
.particle:nth-child(10) { left: 65%; animation-delay: -3.8s; animation-duration: 6.8s; }
.particle:nth-child(11) { left: 72%; animation-delay: -1.5s; animation-duration: 8.2s; }
.particle:nth-child(12) { left: 78%; animation-delay: -2.9s; animation-duration: 7.3s; }
.particle:nth-child(13) { left: 85%; animation-delay: -4.5s; animation-duration: 6.2s; }
.particle:nth-child(14) { left: 92%; animation-delay: -1.1s; animation-duration: 8.8s; }
.particle:nth-child(15) { left: 8%; animation-delay: -3.5s; animation-duration: 7.8s; }
.particle:nth-child(16) { left: 22%; animation-delay: -0.3s; animation-duration: 9.2s; }
.particle:nth-child(17) { left: 35%; animation-delay: -2.8s; animation-duration: 6.7s; }
.particle:nth-child(18) { left: 48%; animation-delay: -4.1s; animation-duration: 8.1s; }
.particle:nth-child(19) { left: 62%; animation-delay: -1.9s; animation-duration: 7.6s; }
.particle:nth-child(20) { left: 75%; animation-delay: -3.3s; animation-duration: 6.9s; }
.particle:nth-child(21) { left: 88%; animation-delay: -0.7s; animation-duration: 8.7s; }
.particle:nth-child(22) { left: 15%; animation-delay: -2.6s; animation-duration: 7.4s; }
.particle:nth-child(23) { left: 28%; animation-delay: -4.3s; animation-duration: 9.1s; }
.particle:nth-child(24) { left: 42%; animation-delay: -1.4s; animation-duration: 6.6s; }
.particle:nth-child(25) { left: 55%; animation-delay: -3.7s; animation-duration: 8.3s; }

@keyframes float {
    0% { 
        transform: translateY(110vh) translateX(0px) rotate(0deg);
        opacity: 0;
    }
    5% { 
        opacity: 0.7;
    }
    95% { 
        opacity: 0.7;
    }
    100% { 
        transform: translateY(-10vh) translateX(0px) rotate(360deg);
        opacity: 0;
    }
    25% { 
        transform: translateY(75vh) translateX(50px) rotate(90deg);
        opacity: 0.9;
    }
    50% { 
        transform: translateY(50vh) translateX(-30px) rotate(180deg);
        opacity: 1;
    }
    75% { 
        transform: translateY(25vh) translateX(80px) rotate(270deg);
        opacity: 0.8;
    }
}

/* ===== RESPONSIVE ADJUSTMENTS ===== */
@media (max-width: 768px) {
    .particle.gold-1 { width: 1.5px; height: 1.5px; }
    .particle.gold-2 { width: 2px; height: 2px; }
    .particle.gold-3 { width: 2.5px; height: 2.5px; }
    .particle.gold-4 { width: 1.8px; height: 1.8px; }
    .particle.gold-5 { width: 2.2px; height: 2.2px; }
}

