/* Loading 动画样式 */
.loading-container svg {
    width: 600px;
    height: 300px;
    margin: auto;
}

.loading-container svg text {
    text-transform: uppercase;
    animation: stroke 5s infinite alternate;
    letter-spacing: 10px;
    font-size: 150px;
}

@keyframes stroke {
    0% {
        fill: rgba(72, 138, 20, 0);
        stroke: rgba(54, 95, 160, 1);
        stroke-dashoffset: 25%;
        stroke-dasharray: 0 50%;
        stroke-width: 0.2;
    }
    50% {
        fill: rgba(72, 138, 20, 0);
        stroke: rgba(54, 95, 160, 1);
        stroke-width: 0.5;
    }
    70% {
        fill: rgba(72, 138, 20, 0);
        stroke: rgba(54, 95, 160, 1);
        stroke-width: 1;
    }
    90%,
    100% {
        fill: rgba(72, 138, 204, 1);
        stroke: rgba(54, 95, 160, 0);
        stroke-dashoffset: -25%;
        stroke-dasharray: 50% 0;
        stroke-width: 0;
    }
}

/* 登录弹窗样式 */
.login-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.login-popup.active {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.login-popup-container {
    background: #fff;
    border-radius: 16px;
    width: 90%;
    max-width: 420px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1; transform: translateY(0);
    }
}

.login-popup-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border: none;
    background: rgba(var(--primary-color-rgb), 0.1);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10;
}

.login-popup-close:hover {
    background: rgba(var(--primary-color-rgb), 0.2);
    transform: rotate(90deg);
}

.login-popup-close i {
    font-size: 18px;
    color: var(--primary-color);
}

.login-popup-content {
    padding: 40px 30px 30px;
}

.login-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    background: rgba(var(--primary-color-rgb), 0.1);
    padding: 6px;
    border-radius: 12px;
}

.login-tab {
    flex: 1;
    padding: 12px 16px;
    border: none;
    background: transparent;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: var(--primary-color);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-tab:hover {
    color: var(--primary-color);
    background: rgba(var(--primary-color-rgb), 0.1);
}

.login-tab.active {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-color) 100%);
    color: #fff;
    box-shadow: 0 4px 15px rgba(var(--primary-color-rgb), 0.3);
    transform: translateY(-1px);
}

.login-tab i {
    font-size: 16px;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.form-group label {
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
    font-size: 14px;
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}

.form-group label i:first-child {
    color: var(--primary-color);
}

.refresh-verification {
    margin-left: 10px;
    white-space: nowrap;
}

.form-control {
    padding: 14px 16px;
    border: 2px solid #e8e8e8;
    border-radius: 10px;
    font-size: 15px;
    transition: all 0.2s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(var(--primary-color-rgb), 0.1);
    outline: none;
}

.form-control::placeholder {
    color: #aaa;
}

.btn-primary {
    padding: 14px 24px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-color) 100%);
    color: #fff;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 15px rgba(var(--primary-color-rgb), 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(var(--primary-color-rgb), 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-outline-primary {
    padding: 12px 24px;
    border: 2px solid var(--primary-color);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    background: transparent;
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.btn-outline-primary:hover {
    background: var(--primary-color);
    color: #fff;
}

.btn-outline-secondary {
    padding: 12px 24px;
    border: 2px solid #e8e8e8;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    background: transparent;
    color: #666;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.btn-outline-secondary:hover {
    border-color: #ccc;
    background: #f5f5f5;
    color: #333;
}

.btn-outline-danger {
    padding: 12px 24px;
    border: 2px solid #dc3545;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    background: transparent;
    color: #dc3545;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.btn-outline-danger:hover {
    background: #dc3545;
    color: #fff;
}

.w-100 {
    width: 100%;
}

.mb-2 {
    margin-bottom: 12px;
}

.mb-3 {
    margin-bottom: 16px;
}

.me-1 {
    margin-right: 4px;
}

.me-2 {
    margin-right: 8px;
}

.user-info {
    text-align: center;
    padding: 20px 0;
}

.user-avatar {
    margin-bottom: 20px;
}

.avatar-circle {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-color) 100%);
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #fff;
    font-weight: 600;
    box-shadow: 0 4px 20px rgba(var(--primary-color-rgb), 0.3);
}

.user-name {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 12px;
}

.user-role {
    margin-bottom: 24px;
}

.role-badge {
    display: inline-block;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    background: #f0f0f0;
    color: #666;
}

.role-badge.role-administrator {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.role-badge.role-editor {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: #fff;
}

.role-badge.role-author {
    background: linear-gradient(135deg, #fc4a1a 0%, #f7b733 100%);
    color: #fff;
}

.role-badge.role-contributor {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: #fff;
}

.role-badge.role-subscriber {
    background: #e8e8e8;
    color: #666;
}

.user-actions {
    padding: 0 10px;
}

.login-message {
    margin-top: 16px;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    font-size: 14px;
    display: none;
}

.login-message.error {
    background: #fee;
    color: #c33;
    border: 1px solid #fcc;
}

.login-message.success {
    background: #efe;
    color: #3c3;
    border: 1px solid #cfc;
}

/* 响应式样式 */
@media (max-width: 480px) {
    .login-popup-content {
        padding: 30px 20px 20px;
    }
    .login-tabs {
        flex-direction: column;
        gap: 4px;
    }
    .login-tab {
        padding: 10px 16px;
    }
}

/* 小怪物 widget 样式 */
.monster-bounce-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 16px;
    min-height: 200px;
    background: linear-gradient(180deg, #87CEEB 0%, #98FB98 50%, #FFB6C1 100%);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1), inset 0 2px 8px rgba(255, 255, 255, 0.5);
    border: 2px solid rgba(255, 255, 255, 0.6);
}

.monster-wrapper {
    position: relative;
    width: 128px;
    height: 144px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.monster-shadow {
    position: absolute;
    bottom: 8px;
    width: 80px;
    height: 13px;
    background: rgba(0, 0, 0, 0.15);
    border-radius: 50%;
    animation: shadow-bounce 1.2s ease-in-out infinite;
    box-shadow: 0 0 16px rgba(0, 0, 0, 0.1);
}

@keyframes shadow-bounce {
    0%, 100% {
        transform: scaleX(1);
        opacity: 0.4;
    }
    50% {
        transform: scaleX(0.6);
        opacity: 0.6;
    }
}

.monster {
    position: absolute;
    width: 80px;
    height: 104px;
    background: linear-gradient(135deg, #FF69B4 0%, #FF1493 50%, #C71585 100%);
    border-radius: 50% 50% 45% 45%;
    bottom: 20px;
    animation: monster-bounce 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) infinite;
    transform-origin: center bottom;
    box-shadow: inset 0 -12px 24px rgba(0, 0, 0, 0.15), 0 6px 20px rgba(0, 0, 0, 0.2), inset 0 8px 16px rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.monster-bounce-container:hover .monster {
    transform: scale(1.08);
    box-shadow: inset 0 -12px 24px rgba(0, 0, 0, 0.15), 0 10px 28px rgba(0, 0, 0, 0.25), inset 0 8px 16px rgba(255, 255, 255, 0.2);
}

.monster.clicked {
    animation: monster-click 0.5s ease-out !important;
}

.monster.knockout {
    animation: knockout 0.8s ease-out forwards !important;
}

@keyframes monster-bounce {
    0%, 100% {
        transform: translateY(0) scaleX(1) scaleY(1) rotate(0deg);
    }
    25% {
        transform: translateY(-28px) scaleX(0.93) scaleY(1.07) rotate(-3deg);
    }
    50% {
        transform: translateY(-40px) scaleX(1.07) scaleY(0.9) rotate(3deg);
    }
    75% {
        transform: translateY(-20px) scaleX(0.97) scaleY(1.03) rotate(-1deg);
    }
}

@keyframes monster-click {
    0% {
        transform: scale(1) rotate(0deg);
    }
    25% {
        transform: scale(1.35) rotate(-7deg);
    }
    50% {
        transform: scale(1.25) rotate(7deg);
    }
    75% {
        transform: scale(1.12) rotate(-3deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
    }
}

@keyframes knockout {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    30% {
        transform: translateY(-16px) rotate(30deg);
    }
    60% {
        transform: translateY(24px) rotate(90deg);
    }
    100% {
        transform: translateY(32px) rotate(180deg);
        opacity: 0.6;
    }
}

.monster-ear {
    position: absolute;
    width: 21px;
    height: 32px;
    background: linear-gradient(135deg, #FFB6C1 0%, #FF69B4 100%);
    border-radius: 50% 50% 30% 30%;
    top: -18px;
    animation: ear-bounce 0.6s ease-in-out infinite alternate;
    border: 2px solid rgba(255, 255, 255, 0.4);
    box-shadow: inset 0 4px 8px rgba(255, 255, 255, 0.3);
}

.monster-ear-inner {
    position: absolute;
    width: 11px;
    height: 16px;
    background: linear-gradient(180deg, #FFC0CB 0%, #FF69B4 100%);
    border-radius: 50%;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
}

.monster-ear-left {
    left: 4px;
    transform: rotate(-18deg);
}

.monster-ear-right {
    right: 4px;
    transform: rotate(18deg);
    animation-delay: 0.3s;
    animation-name: ear-bounce-right;
}

@keyframes ear-bounce {
    0% {
        transform: rotate(-18deg) translateY(0);
    }
    100% {
        transform: rotate(-18deg) translateY(-6px);
    }
}

@keyframes ear-bounce-right {
    0% {
        transform: rotate(18deg) translateY(0);
    }
    100% {
        transform: rotate(18deg) translateY(-6px);
    }
}

.monster-eye {
    position: absolute;
    width: 24px;
    height: 29px;
    background: white;
    border-radius: 50%;
    top: 20px;
    animation: eye-bounce 1.2s ease-in-out infinite;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.1), 0 2px 4px rgba(0, 0, 0, 0.1);
    border: 2px solid #ddd;
}

.monster-eye-left {
    left: 10px;
}

.monster-eye-right {
    right: 10px;
}

@keyframes eye-bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
}

.monster-eye-highlight {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    top: 5px;
    left: 5px;
    box-shadow: 2px 2px 3px rgba(255, 255, 255, 0.5);
}

.monster.clicked .monster-eye {
    animation: eye-blink 0.35s ease-out;
}

.monster.knockout .monster-eye {
    animation: eye-roll 0.8s ease-out forwards;
}

@keyframes eye-blink {
    0%, 100% {
        height: 29px;
    }
    50% {
        height: 2px;
    }
}

@keyframes eye-roll {
    0%, 40% {
        transform: rotate(0deg);
    }
    60% {
        transform: rotate(360deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.monster-pupil {
    position: absolute;
    width: 11px;
    height: 14px;
    background: linear-gradient(180deg, #4a4a4a 0%, #1a1a1a 100%);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: pupil-move 3s ease-in-out infinite;
    box-shadow: inset 0 2px 3px rgba(255, 255, 255, 0.3);
}

@keyframes pupil-move {
    0%, 100% {
        transform: translate(-50%, -50%);
    }
    25% {
        transform: translate(-25%, -50%);
    }
    75% {
        transform: translate(-75%, -50%);
    }
}

.monster-eyebrow {
    position: absolute;
    width: 19px;
    height: 4px;
    background: linear-gradient(90deg, #8B008B 0%, #C71585 100%);
    border-radius: 2px;
    top: 14px;
    animation: eyebrow-move 1.2s ease-in-out infinite;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.monster-eyebrow-left {
    left: 12px;
    transform: rotate(-12deg);
}

.monster-eyebrow-right {
    right: 12px;
    transform: rotate(12deg);
    animation-name: eyebrow-move-right;
}

@keyframes eyebrow-move {
    0%, 100% {
        transform: rotate(-12deg) translateY(0);
    }
    50% {
        transform: rotate(-18deg) translateY(-2px);
    }
}

@keyframes eyebrow-move-right {
    0%, 100% {
        transform: rotate(12deg) translateY(0);
    }
    50% {
        transform: rotate(18deg) translateY(-2px);
    }
}

.monster-mouth {
    position: absolute;
    width: 36px;
    height: 22px;
    background: linear-gradient(180deg, #2d2d2d 0%, #1a1a1a 100%);
    border-radius: 0 0 55% 55%;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    overflow: hidden;
    animation: mouth-open 1.5s ease-in-out infinite;
    box-shadow: inset 0 -4px 8px rgba(0, 0, 0, 0.3);
}

@keyframes mouth-open {
    0%, 40%, 100% {
        height: 22px;
    }
    20%, 30% {
        height: 29px;
    }
}

.monster.clicked .monster-mouth {
    height: 34px !important;
    animation: none !important;
}

.monster.knockout .monster-mouth {
    height: 16px !important;
    border-radius: 50% !important;
    animation: none !important;
}

.monster-tongue {
    position: absolute;
    width: 21px;
    height: 16px;
    background: linear-gradient(180deg, #FF69B4 0%, #FF1493 100%);
    border-radius: 50% 50% 45% 45%;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    animation: tongue-bounce 1.5s ease-in-out infinite;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

@keyframes tongue-bounce {
    0%, 40%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    20%, 30% {
        transform: translateX(-50%) translateY(6px);
    }
}

.monster.clicked .monster-tongue {
    animation: tongue-laugh 0.5s ease-out;
}

@keyframes tongue-laugh {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(11px);
    }
}

.monster-tooth {
    position: absolute;
    width: 6px;
    height: 10px;
    background: linear-gradient(180deg, #fff 0%, #f0f0f0 100%);
    border-radius: 0 0 2px 2px;
    bottom: 38px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.monster-tooth-left {
    left: 26px;
}

.monster-tooth-right {
    right: 26px;
}

.monster-belly {
    position: absolute;
    width: 40px;
    height: 32px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0.1) 100%);
    border-radius: 50%;
    bottom: 28px;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.05);
}

.monster-arm {
    position: absolute;
    width: 13px;
    height: 36px;
    background: linear-gradient(180deg, #FF69B4 0%, #C71585 100%);
    border-radius: 10px;
    top: 44px;
    transform-origin: top center;
    animation: arm-swing 0.6s ease-in-out infinite alternate;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.monster-arm-left {
    left: -10px;
    transform: rotate(-35deg);
}

.monster-arm-right {
    right: -10px;
    transform: rotate(35deg);
    animation-name: arm-swing-right;
}

@keyframes arm-swing {
    0% {
        transform: rotate(-35deg);
    }
    100% {
        transform: rotate(-55deg);
    }
}

@keyframes arm-swing-right {
    0% {
        transform: rotate(35deg);
    }
    100% {
        transform: rotate(55deg);
    }
}

.monster.clicked .monster-arm-left {
    animation: arm-wave-left 0.5s ease-out;
}

.monster.clicked .monster-arm-right {
    animation: arm-wave-right 0.5s ease-out;
}

@keyframes arm-wave-left {
    0%, 100% {
        transform: rotate(-35deg);
    }
    50% {
        transform: rotate(-95deg);
    }
}

@keyframes arm-wave-right {
    0%, 100% {
        transform: rotate(35deg);
    }
    50% {
        transform: rotate(95deg);
    }
}

.monster-hand {
    position: absolute;
    width: 18px;
    height: 11px;
    background: linear-gradient(180deg, #FFB6C1 0%, #FF69B4 100%);
    border-radius: 50%;
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    gap: 2px;
}

.monster-finger {
    width: 4px;
    height: 6px;
    background: #FFB6C1;
    border-radius: 50%;
    margin-top: -3px;
}

.monster-leg {
    position: absolute;
    width: 18px;
    height: 21px;
    background: linear-gradient(180deg, #C71585 0%, #8B008B 100%);
    border-radius: 6px 6px 11px 11px;
    bottom: -11px;
    animation: leg-stretch 1.2s ease-in-out infinite;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

.monster-leg-left {
    left: 14px;
}

.monster-leg-right {
    right: 14px;
}

@keyframes leg-stretch {
    0%, 100% {
        height: 21px;
        transform: translateY(0);
    }
    50% {
        height: 13px;
        transform: translateY(8px);
    }
}

.monster-foot {
    position: absolute;
    width: 22px;
    height: 8px;
    background: linear-gradient(180deg, #8B008B 0%, #4B0082 100%);
    border-radius: 50%;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
}

.monster-star {
    position: absolute;
    font-size: 11px;
    animation: star-sparkle 2s ease-in-out infinite;
    opacity: 0;
}

.monster-star-1 {
    top: -8px;
    left: -4px;
    animation-delay: 0s;
}

.monster-star-2 {
    top: 0;
    right: -8px;
    animation-delay: 0.7s;
}

.monster-star-3 {
    bottom: -4px;
    left: 50%;
    animation-delay: 1.4s;
}

@keyframes star-sparkle {
    0%, 100% {
        opacity: 0;
        transform: scale(0.5) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: scale(1.2) rotate(180deg);
    }
}

.monster-counter {
    margin-top: 16px;
    padding: 6px 16px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
    border-radius: 20px;
    box-shadow: 0 3px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 6px;
    border: 2px solid rgba(255, 255, 255, 0.8);
}

.monster-counter-label {
    font-size: 11px;
    font-weight: 500;
    color: #666;
}

.monster-counter-value {
    font-size: 19px;
    font-weight: 700;
    color: #FF1493;
    text-shadow: 0 2px 3px rgba(255, 20, 147, 0.3);
    min-width: 24px;
    text-align: center;
}

.monster-name {
    margin-top: 12px;
    font-size: 14px;
    font-weight: 700;
    color: #333;
    text-align: center;
    animation: name-bounce 1.2s ease-in-out infinite;
    text-shadow: 0 2px 3px rgba(0, 0, 0, 0.1);
}

@keyframes name-bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

/* 爱心特效 */
.heart-effect {
    position: absolute;
    width: 20px;
    height: 20px;
    pointer-events: none;
    animation: heart-float 1.2s ease-out forwards;
    z-index: 10;
}

@keyframes heart-float {
    0% {
        transform: translateY(0) scale(1) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(-80px) scale(1.4) rotate(360deg);
        opacity: 0;
    }
}

/* 击倒特效 */
.knockout-star {
    position: absolute;
    pointer-events: none;
    animation: knockout-star 2s ease-out forwards;
    z-index: 20;
}

@keyframes knockout-star {
    0% {
        transform: translateY(0) scale(0.5) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: translateY(-48px) scale(1.3) rotate(180deg);
        opacity: 1;
    }
    100% {
        transform: translateY(-96px) scale(0.7) rotate(360deg);
        opacity: 0;
    }
}

/* 暗色模式适配 */
.dark-mode .monster-bounce-container {
    background: linear-gradient(180deg, #2d2d4d 0%, #1a1a3a 50%, #3d2d4d 100%);
    border-color: rgba(255, 255, 255, 0.2);
}

.dark-mode .monster-name {
    color: #eee;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.dark-mode .monster-counter {
    background: linear-gradient(135deg, rgba(50, 50, 80, 0.9) 0%, rgba(40, 40, 60, 0.7) 100%);
    border-color: rgba(100, 100, 150, 0.5);
}

.dark-mode .monster-counter-label {
    color: #aaa;
}

.dark-mode .monster-counter-value {
    color: #FF69B4;
    text-shadow: 0 2px 4px rgba(255, 105, 180, 0.4);
}
