/* Special Effects CSS */

/* 1. Starry Night */
.special-bg-starry_night {
    background: #000;
    position: relative;
    overflow: hidden;
}
.special-bg-starry_night::before,
.special-bg-starry_night::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(white, rgba(255,255,255,.2) 2px, transparent 3px),
        radial-gradient(white, rgba(255,255,255,.15) 1px, transparent 2px),
        radial-gradient(white, rgba(255,255,255,.1) 2px, transparent 3px);
    background-size: 550px 550px, 350px 350px, 250px 250px;
    background-position: 0 0, 40px 60px, 130px 270px;
    animation: starryMove 60s linear infinite;
}
.special-bg-starry_night::after {
    background-size: 450px 450px, 250px 250px, 150px 150px;
    animation: starryMove 100s linear infinite reverse;
    opacity: 0.6;
}
@keyframes starryMove {
    from { background-position: 0 0, 40px 60px, 130px 270px; }
    to { background-position: 550px 550px, 590px 610px, 680px 820px; }
}

/* 2. Golden Luxury */
.special-bg-golden_luxury {
    background: linear-gradient(-45deg, #000000, #2c2c2c, #d4af37, #000000);
    background-size: 400% 400%;
    animation: goldenWave 15s ease infinite;
    position: relative;
}
.special-bg-golden_luxury::before {
    content: "";
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(212, 175, 55, 0.1) 10px,
        rgba(212, 175, 55, 0.1) 20px
    );
}
@keyframes goldenWave {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* 3. Neon Cyberpunk */
.special-bg-neon_cyberpunk {
    background-color: #050505;
    background-image: 
        linear-gradient(rgba(0, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 0, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    position: relative;
    box-shadow: inset 0 0 150px #000;
}
.special-bg-neon_cyberpunk::after {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 50% 50%, transparent 0%, #050505 90%);
}

/* 4. Deep Ocean */
.special-bg-deep_ocean {
    background: linear-gradient(to bottom, #0f2027, #203a43, #2c5364);
    position: relative;
    overflow: hidden;
}
.special-bg-deep_ocean .bubble {
    position: absolute;
    bottom: -100px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    animation: rise 15s infinite ease-in;
}
.special-bg-deep_ocean .bubble:nth-child(1) { width: 40px; height: 40px; left: 10%; animation-duration: 8s; }
.special-bg-deep_ocean .bubble:nth-child(2) { width: 20px; height: 20px; left: 20%; animation-duration: 5s; animation-delay: 1s; }
.special-bg-deep_ocean .bubble:nth-child(3) { width: 50px; height: 50px; left: 35%; animation-duration: 10s; animation-delay: 2s; }
.special-bg-deep_ocean .bubble:nth-child(4) { width: 80px; height: 80px; left: 50%; animation-duration: 11s; animation-delay: 0s; }
.special-bg-deep_ocean .bubble:nth-child(5) { width: 35px; height: 35px; left: 55%; animation-duration: 6s; animation-delay: 1s; }
.special-bg-deep_ocean .bubble:nth-child(6) { width: 45px; height: 45px; left: 65%; animation-duration: 8s; animation-delay: 3s; }
.special-bg-deep_ocean .bubble:nth-child(7) { width: 90px; height: 90px; left: 70%; animation-duration: 12s; animation-delay: 2s; }
.special-bg-deep_ocean .bubble:nth-child(8) { width: 25px; height: 25px; left: 80%; animation-duration: 6s; animation-delay: 2s; }
.special-bg-deep_ocean .bubble:nth-child(9) { width: 15px; height: 15px; left: 70%; animation-duration: 5s; animation-delay: 1s; }
.special-bg-deep_ocean .bubble:nth-child(10) { width: 90px; height: 90px; left: 25%; animation-duration: 10s; animation-delay: 4s; }
@keyframes rise {
    0% { bottom: -100px; transform: translateX(0); }
    50% { transform: translateX(100px); }
    100% { bottom: 100%; transform: translateX(-200px); }
}

/* 5. Aurora Borealis */
.special-bg-aurora_borealis {
    background: #000;
    position: relative;
    overflow: hidden;
}
.special-bg-aurora_borealis::before {
    content: "";
    position: absolute;
    top: -50%; left: -50%; width: 200%; height: 200%;
    background: radial-gradient(circle, rgba(0,255,127,0.3) 0%, rgba(0,0,0,0) 60%),
                radial-gradient(circle, rgba(138,43,226,0.3) 0%, rgba(0,0,0,0) 60%);
    background-position: 20% 20%, 80% 80%;
    animation: aurora 10s infinite alternate;
    filter: blur(50px);
}
@keyframes aurora {
    0% { transform: rotate(0deg) scale(1); }
    100% { transform: rotate(360deg) scale(1.2); }
}

/* 6. Geometric Modern */
.special-bg-geometric_modern {
    background: #1a1a1a;
    position: relative;
    overflow: hidden;
}
.special-bg-geometric_modern::before {
    content: "";
    position: absolute;
    width: 100%; height: 100%;
    background-image: 
        linear-gradient(30deg, #2a2a2a 12%, transparent 12.5%, transparent 87%, #2a2a2a 87.5%, #2a2a2a),
        linear-gradient(150deg, #2a2a2a 12%, transparent 12.5%, transparent 87%, #2a2a2a 87.5%, #2a2a2a),
        linear-gradient(30deg, #2a2a2a 12%, transparent 12.5%, transparent 87%, #2a2a2a 87.5%, #2a2a2a),
        linear-gradient(150deg, #2a2a2a 12%, transparent 12.5%, transparent 87%, #2a2a2a 87.5%, #2a2a2a),
        linear-gradient(60deg, #333 25%, transparent 25.5%, transparent 75%, #333 75%, #333),
        linear-gradient(60deg, #333 25%, transparent 25.5%, transparent 75%, #333 75%, #333);
    background-size: 80px 140px;
    background-position: 0 0, 0 0, 40px 70px, 40px 70px, 0 0, 40px 70px;
    opacity: 0.5;
    animation: geoMove 20s linear infinite;
}
@keyframes geoMove {
    from { background-position: 0 0, 0 0, 40px 70px, 40px 70px, 0 0, 40px 70px; }
    to { background-position: 80px 140px, 80px 140px, 120px 210px, 120px 210px, 80px 140px, 120px 210px; }
}

/* 7. Fire & Embers */
.special-bg-fire_embers {
    background: linear-gradient(to top, #220000, #440000);
    position: relative;
    overflow: hidden;
}
.special-bg-fire_embers .ember {
    position: absolute;
    bottom: -20px;
    width: 4px; height: 4px;
    background: #ff4500;
    border-radius: 50%;
    box-shadow: 0 0 10px #ff4500;
    animation: emberRise 4s linear infinite;
}
@keyframes emberRise {
    0% { bottom: -20px; opacity: 1; transform: translateX(0); }
    100% { bottom: 100%; opacity: 0; transform: translateX(50px); }
}

/* 8. Matrix Rain */
.special-bg-matrix_rain {
    background: #000;
    position: relative;
    overflow: hidden;
    font-family: monospace;
}
.special-bg-matrix_rain::before {
    content: "1010101010101010101010101010101010101010101010101010101010101010";
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 200%;
    color: #0f0;
    font-size: 20px;
    letter-spacing: 5px;
    line-height: 20px;
    word-break: break-all;
    opacity: 0.3;
    animation: matrixFall 5s linear infinite;
    text-shadow: 0 0 5px #0f0;
}
@keyframes matrixFall {
    0% { top: -100%; }
    100% { top: 0%; }
}

/* 9. Nebula Cloud */
.special-bg-nebula_cloud {
    background: #1a002e;
    position: relative;
    overflow: hidden;
}
.special-bg-nebula_cloud::before,
.special-bg-nebula_cloud::after {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(255,0,255,0.2), transparent 60%),
                radial-gradient(circle at 20% 80%, rgba(0,255,255,0.2), transparent 50%);
    filter: blur(30px);
    animation: nebulaPulse 10s ease-in-out infinite alternate;
}
.special-bg-nebula_cloud::after {
    background: radial-gradient(circle at 80% 20%, rgba(255,255,0,0.1), transparent 50%);
    animation-duration: 15s;
}
@keyframes nebulaPulse {
    0% { opacity: 0.5; transform: scale(1); }
    100% { opacity: 1; transform: scale(1.1); }
}

/* 10. Glassmorphism */
.special-bg-glassmorphism {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    position: relative;
    overflow: hidden;
}
.special-bg-glassmorphism .blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.6;
    animation: blobMove 20s infinite alternate;
}
.special-bg-glassmorphism .blob:nth-child(1) {
    width: 300px; height: 300px;
    background: #ff9a9e;
    top: -50px; left: -50px;
}
.special-bg-glassmorphism .blob:nth-child(2) {
    width: 400px; height: 400px;
    background: #a18cd1;
    bottom: -100px; right: -100px;
    animation-delay: -5s;
}
@keyframes blobMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}
