/* 动漫风格装饰元素 */

/* 可爱的装饰圆圈 */
.decoration-circle {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 8s ease-in-out infinite;
}

.decoration-circle:nth-child(1) {
    width: 100px;
    height: 100px;
    background: var(--accent-pink);
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.decoration-circle:nth-child(2) {
    width: 80px;
    height: 80px;
    background: var(--accent-purple);
    top: 20%;
    right: 10%;
    animation-delay: 2s;
}

.decoration-circle:nth-child(3) {
    width: 60px;
    height: 60px;
    background: var(--accent-blue);
    bottom: 30%;
    left: 15%;
    animation-delay: 4s;
}

.decoration-circle:nth-child(4) {
    width: 120px;
    height: 120px;
    background: var(--accent-yellow);
    bottom: 10%;
    right: 5%;
    animation-delay: 6s;
}

/* 可爱的装饰星星 */
.decoration-star {
    position: absolute;
    width: 20px;
    height: 20px;
    background: var(--accent-neon);
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    opacity: 0.6;
    animation: twinkle 3s ease-in-out infinite;
}

.decoration-star:nth-child(1) {
    top: 15%;
    left: 20%;
    animation-delay: 0s;
}

.decoration-star:nth-child(2) {
    top: 25%;
    right: 25%;
    animation-delay: 1s;
}

.decoration-star:nth-child(3) {
    bottom: 25%;
    left: 30%;
    animation-delay: 2s;
}

.decoration-star:nth-child(4) {
    bottom: 15%;
    right: 20%;
    animation-delay: 3s;
}

/* 可爱的装饰心形 */
.decoration-heart {
    position: absolute;
    width: 30px;
    height: 30px;
    background: var(--accent-pink);
    clip-path: path('M15,0 C6.7,0 0,6.7 0,15 C0,30 15,30 15,30 C15,30 30,30 30,15 C30,6.7 23.3,0 15,0 Z');
    opacity: 0.4;
    animation: pulse 4s ease-in-out infinite;
}

.decoration-heart:nth-child(1) {
    top: 40%;
    left: 10%;
    animation-delay: 0s;
}

.decoration-heart:nth-child(2) {
    top: 60%;
    right: 15%;
    animation-delay: 2s;
}

/* 可爱的装饰云朵 */
.decoration-cloud {
    position: absolute;
    width: 80px;
    height: 40px;
    background: var(--accent-blue);
    border-radius: 20px;
    opacity: 0.1;
    animation: float 10s ease-in-out infinite;
}

.decoration-cloud::before,
.decoration-cloud::after {
    content: '';
    position: absolute;
    background: var(--accent-blue);
    border-radius: 50%;
}

.decoration-cloud::before {
    width: 50px;
    height: 50px;
    top: -25px;
    left: 10px;
}

.decoration-cloud::after {
    width: 40px;
    height: 40px;
    top: -20px;
    right: 10px;
}

.decoration-cloud:nth-child(1) {
    top: 5%;
    left: 30%;
    animation-delay: 0s;
}

.decoration-cloud:nth-child(2) {
    top: 70%;
    right: 25%;
    animation-delay: 5s;
}

/* 可爱的装饰彩虹 */
.decoration-rainbow {
    position: absolute;
    width: 200px;
    height: 100px;
    border-radius: 100px 100px 0 0;
    background: linear-gradient(45deg, 
        #ff6b9d 0%, 
        #ff8e53 20%, 
        #fbbf24 40%, 
        #10b981 60%, 
        #3b82f6 80%, 
        #a855f7 100%);
    opacity: 0.1;
    top: 80%;
    left: 50%;
    transform: translateX(-50%);
    animation: float 12s ease-in-out infinite;
}

/* 可爱的装饰音符 */
.decoration-note {
    position: absolute;
    font-size: 24px;
    color: var(--accent-purple);
    opacity: 0.3;
    animation: wiggle 3s ease-in-out infinite;
}

.decoration-note:nth-child(1) {
    top: 20%;
    left: 40%;
    animation-delay: 0s;
}

.decoration-note:nth-child(2) {
    top: 50%;
    right: 30%;
    animation-delay: 1.5s;
}

.decoration-note:nth-child(3) {
    bottom: 40%;
    left: 25%;
    animation-delay: 3s;
}

/* 可爱的装饰花朵 */
.decoration-flower {
    position: absolute;
    width: 40px;
    height: 40px;
    background: var(--accent-pink);
    border-radius: 50%;
    opacity: 0.2;
    animation: float 7s ease-in-out infinite;
}

.decoration-flower::before,
.decoration-flower::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    background: var(--accent-pink);
    border-radius: 50%;
}

.decoration-flower::before {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.decoration-flower::after {
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.decoration-flower:nth-child(1) {
    top: 30%;
    left: 60%;
    animation-delay: 0s;
}

.decoration-flower:nth-child(2) {
    bottom: 20%;
    right: 40%;
    animation-delay: 3.5s;
}

/* 响应式装饰元素 */
@media (max-width: 768px) {
    .decoration-circle,
    .decoration-star,
    .decoration-heart,
    .decoration-cloud,
    .decoration-rainbow,
    .decoration-note,
    .decoration-flower {
        display: none;
    }
}

/* 可爱的加载动画 */
.loading-cute {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid var(--accent-neon);
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 可爱的提示框 */
.cute-tooltip {
    position: relative;
    display: inline-block;
}

.cute-tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-primary);
    color: white;
    padding: 8px 12px;
    border-radius: 15px;
    font-size: 12px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 5px 15px rgba(255, 107, 157, 0.3);
}

.cute-tooltip::before {
    content: '';
    position: absolute;
    bottom: 120%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: var(--accent-neon);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.cute-tooltip:hover::after,
.cute-tooltip:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-5px);
}

