/* 기존 .plogging-item-counter에 추가할 스타일 */
.plogging-item-counter {
    position: relative;
    overflow: hidden;
}

/* 배경 컨테이너 */
.gradient-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 0;
}

/* 움직이는 그라데이션 원들 */
.gradient-bg::before {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle at center, 
        rgba(0, 122, 255, 0.4) 0%, 
        rgba(0, 122, 255, 0.2) 40%, 
        transparent 70%);
    border-radius: 50%;
    top: -200px;
    left: -200px;
    animation: floatCircle1 20s ease-in-out infinite;
}

.gradient-bg::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle at center, 
        rgba(0, 66, 165, 0.3) 0%, 
        rgba(0, 66, 165, 0.15) 40%, 
        transparent 70%);
    border-radius: 50%;
    bottom: -150px;
    right: -150px;
    animation: floatCircle2 25s ease-in-out infinite;
}

/* 추가 원 1 */
.gradient-circle-1 {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle at center, 
        rgba(0, 100, 255, 0.3) 0%, 
        rgba(0, 100, 255, 0.1) 50%, 
        transparent 70%);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: floatCircle3 30s ease-in-out infinite;
    z-index: 0;
}

/* 추가 원 2 */
.gradient-circle-2 {
    position: absolute;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle at center, 
        rgba(30, 80, 200, 0.25) 0%, 
        transparent 60%);
    border-radius: 50%;
    top: 20%;
    right: 10%;
    animation: floatCircle4 22s ease-in-out infinite;
    z-index: 0;
}

/* 부드러운 움직임 애니메이션 */
@keyframes floatCircle1 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(100px, 50px) scale(1.1);
    }
    66% {
        transform: translate(50px, -30px) scale(0.95);
    }
}

@keyframes floatCircle2 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(-80px, -60px) scale(1.15);
    }
    66% {
        transform: translate(-40px, 40px) scale(0.9);
    }
}

@keyframes floatCircle3 {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
    }
    25% {
        transform: translate(-40%, -55%) scale(1.05);
    }
    50% {
        transform: translate(-60%, -45%) scale(0.95);
    }
    75% {
        transform: translate(-45%, -52%) scale(1.02);
    }
}

@keyframes floatCircle4 {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(-30px, 30px) scale(1.1);
    }
}

/* 기존 텍스트 요소들이 배경 위에 보이도록 */
.plogging-counter-text {
    position: relative;
    z-index: 2;
    color: white !important;
}

.plogging-subtitle {
    color: rgba(255, 255, 255, 0.9) !important;
}

.plogging-count {
    color: white !important;
    font-weight: 700;
}

/* 플로팅 아이콘 */
.floating-icon {
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: float 3s ease-in-out infinite;
}

/* 카카오톡 아이콘 */
.floating-icon svg {
    width: 30px;
    height: 30px;
    fill: white;
}

@keyframes float {
    0%, 100% {
        transform: translateY(-50%);
    }
    50% {
        transform: translateY(-50%) translateY(-10px);
    }
}

/* 버튼 스타일 업데이트 */
.plogging-item-counter .over_btn {
    position: absolute;
    left: 30px;
    bottom: 30px;
    z-index: 2;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    color: white !important;
}

.plogging-item-counter .over_btn:hover {
    background: rgba(255, 255, 255, 0.3);
}