/*
Particle Effects Progress Bar
Created by: RSK World (https://rskworld.in)
Founder: Molla Samser
Designer & Tester: Rima Khatun
Contact: +91 93305 39277 | info@rskworld.com | support@rskworld.in
Address: Nutanhat, Mongolkote, Purba Burdwan, West Bengal, India - 713147
Year: 2026
*/

/* Particle Progress Container */
.particle-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.particle-container h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
    text-align: center;
    font-size: 1.5rem;
}

/* Floating Particles Progress Bar */
.floating-particles-progress {
    margin-bottom: 2rem;
    position: relative;
}

.floating-particles-progress .progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.floating-particles-progress .progress-title {
    font-weight: bold;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.floating-particles-progress .progress-title i {
    color: #3498db;
}

.floating-particles-progress .progress-value {
    font-weight: bold;
    color: #3498db;
    font-size: 1.1rem;
}

.floating-particles-progress .progress-bar {
    width: 100%;
    height: 50px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 25px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.floating-particles-progress .progress-fill {
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    transition: width 1s ease;
    position: relative;
    overflow: hidden;
}

.floating-particles-progress .progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.floating-particles-progress .particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.floating-particles-progress .particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: floatUp 4s linear infinite;
}

@keyframes floatUp {
    0% {
        transform: translateY(100%) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100%) translateX(50px);
        opacity: 0;
    }
}

/* Explosion Particles Progress Bar */
.explosion-particles-progress {
    margin-bottom: 2rem;
    position: relative;
}

.explosion-particles-progress .progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.explosion-particles-progress .progress-title {
    font-weight: bold;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.explosion-particles-progress .progress-title i {
    color: #e74c3c;
}

.explosion-particles-progress .progress-value {
    font-weight: bold;
    color: #e74c3c;
    font-size: 1.1rem;
}

.explosion-particles-progress .progress-bar {
    width: 100%;
    height: 50px;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    border-radius: 25px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.explosion-particles-progress .progress-fill {
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    transition: width 1s ease;
    position: relative;
    overflow: hidden;
}

.explosion-particles-progress .progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.explosion-particles-progress .particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.explosion-particles-progress .particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    animation: explode 2s ease-out infinite;
}

@keyframes explode {
    0% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(var(--x), var(--y)) scale(0);
        opacity: 0;
    }
}

/* Starfield Particles Progress Bar */
.starfield-particles-progress {
    margin-bottom: 2rem;
    position: relative;
}

.starfield-particles-progress .progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.starfield-particles-progress .progress-title {
    font-weight: bold;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.starfield-particles-progress .progress-title i {
    color: #f39c12;
}

.starfield-particles-progress .progress-value {
    font-weight: bold;
    color: #f39c12;
    font-size: 1.1rem;
}

.starfield-particles-progress .progress-bar {
    width: 100%;
    height: 50px;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    border-radius: 25px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.starfield-particles-progress .progress-fill {
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    transition: width 1s ease;
    position: relative;
    overflow: hidden;
}

.starfield-particles-progress .progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    z-index: 10;
}

.starfield-particles-progress .particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.starfield-particles-progress .particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: white;
    border-radius: 50%;
    animation: twinkle 3s ease-in-out infinite;
}

@keyframes twinkle {
    0%, 100% {
        opacity: 0;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.5);
    }
}

/* Bubbles Particles Progress Bar */
.bubbles-particles-progress {
    margin-bottom: 2rem;
    position: relative;
}

.bubbles-particles-progress .progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.bubbles-particles-progress .progress-title {
    font-weight: bold;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.bubbles-particles-progress .progress-title i {
    color: #00bcd4;
}

.bubbles-particles-progress .progress-value {
    font-weight: bold;
    color: #00bcd4;
    font-size: 1.1rem;
}

.bubbles-particles-progress .progress-bar {
    width: 100%;
    height: 50px;
    background: linear-gradient(135deg, #00bcd4 0%, #0097a7 100%);
    border-radius: 25px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.bubbles-particles-progress .progress-fill {
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    transition: width 1s ease;
    position: relative;
    overflow: hidden;
}

.bubbles-particles-progress .progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.bubbles-particles-progress .particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.bubbles-particles-progress .particle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    animation: bubbleUp 4s ease-in-out infinite;
}

@keyframes bubbleUp {
    0% {
        transform: translateY(100%) scale(0);
        opacity: 0;
    }
    10% {
        transform: translateY(80%) scale(1);
        opacity: 1;
    }
    90% {
        transform: translateY(-20%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translateY(-50%) scale(0.5);
        opacity: 0;
    }
}

/* Fire Particles Progress Bar */
.fire-particles-progress {
    margin-bottom: 2rem;
    position: relative;
}

.fire-particles-progress .progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.fire-particles-progress .progress-title {
    font-weight: bold;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.fire-particles-progress .progress-title i {
    color: #ff6b35;
}

.fire-particles-progress .progress-value {
    font-weight: bold;
    color: #ff6b35;
    font-size: 1.1rem;
}

.fire-particles-progress .progress-bar {
    width: 100%;
    height: 50px;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    border-radius: 25px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.fire-particles-progress .progress-fill {
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 25px;
    transition: width 1s ease;
    position: relative;
    overflow: hidden;
}

.fire-particles-progress .progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.fire-particles-progress .particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.fire-particles-progress .particle {
    position: absolute;
    width: 4px;
    height: 8px;
    background: linear-gradient(to top, #ff6b35, #ffd700);
    border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
    animation: fireFlicker 1s ease-in-out infinite;
}

@keyframes fireFlicker {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-10px) scale(1.2);
        opacity: 1;
    }
}

/* Matrix Rain Particles Progress Bar */
.matrix-particles-progress {
    margin-bottom: 2rem;
    position: relative;
}

.matrix-particles-progress .progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.matrix-particles-progress .progress-title {
    font-weight: bold;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.matrix-particles-progress .progress-title i {
    color: #00ff00;
}

.matrix-particles-progress .progress-value {
    font-weight: bold;
    color: #00ff00;
    font-size: 1.1rem;
}

.matrix-particles-progress .progress-bar {
    width: 100%;
    height: 50px;
    background: #000;
    border-radius: 25px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 5px 20px rgba(0, 255, 0, 0.3);
}

.matrix-particles-progress .progress-fill {
    height: 100%;
    background: rgba(0, 255, 0, 0.1);
    border-radius: 25px;
    transition: width 1s ease;
    position: relative;
    overflow: hidden;
}

.matrix-particles-progress .progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #00ff00;
    font-weight: bold;
    font-size: 1.2rem;
    text-shadow: 0 0 10px #00ff00;
    z-index: 10;
    font-family: 'Courier New', monospace;
}

.matrix-particles-progress .particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.matrix-particles-progress .particle {
    position: absolute;
    width: 2px;
    height: 10px;
    background: linear-gradient(to bottom, transparent, #00ff00);
    animation: matrixFall 2s linear infinite;
    font-family: 'Courier New', monospace;
    font-size: 8px;
    color: #00ff00;
}

@keyframes matrixFall {
    0% {
        transform: translateY(-100%);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(100%);
        opacity: 0;
    }
}

/* Snow Particles Progress Bar */
.snow-particles-progress {
    margin-bottom: 2rem;
    position: relative;
}

.snow-particles-progress .progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.snow-particles-progress .progress-title {
    font-weight: bold;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.snow-particles-progress .progress-title i {
    color: #87ceeb;
}

.snow-particles-progress .progress-value {
    font-weight: bold;
    color: #87ceeb;
    font-size: 1.1rem;
}

.snow-particles-progress .progress-bar {
    width: 100%;
    height: 50px;
    background: linear-gradient(135deg, #87ceeb 0%, #4682b4 100%);
    border-radius: 25px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.snow-particles-progress .progress-fill {
    height: 100%;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    transition: width 1s ease;
    position: relative;
    overflow: hidden;
}

.snow-particles-progress .progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    z-index: 10;
}

.snow-particles-progress .particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.snow-particles-progress .particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
    animation: snowFall 5s linear infinite;
}

@keyframes snowFall {
    0% {
        transform: translateY(-100%) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(100%) rotate(360deg);
        opacity: 0;
    }
}

/* Particle Controls */
.particle-controls {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.particle-controls .btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.particle-controls .btn-primary {
    background: linear-gradient(90deg, #3498db, #2980b9);
    color: white;
}

.particle-controls .btn-primary:hover {
    background: linear-gradient(90deg, #2980b9, #21618c);
    transform: translateY(-2px);
}

.particle-controls .btn-success {
    background: linear-gradient(90deg, #27ae60, #229954);
    color: white;
}

.particle-controls .btn-success:hover {
    background: linear-gradient(90deg, #229954, #1e8449);
    transform: translateY(-2px);
}

.particle-controls .btn-warning {
    background: linear-gradient(90deg, #f39c12, #e67e22);
    color: white;
}

.particle-controls .btn-warning:hover {
    background: linear-gradient(90deg, #e67e22, #d35400);
    transform: translateY(-2px);
}

.particle-controls .btn-danger {
    background: linear-gradient(90deg, #e74c3c, #c0392b);
    color: white;
}

.particle-controls .btn-danger:hover {
    background: linear-gradient(90deg, #c0392b, #a93226);
    transform: translateY(-2px);
}

/* Particle Settings */
.particle-settings {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.particle-settings .setting {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.particle-settings .setting label {
    font-size: 0.9rem;
    color: #7f8c8d;
}

.particle-settings .setting input[type="range"] {
    width: 100px;
}

.particle-settings .setting input[type="color"] {
    width: 40px;
    height: 30px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
