.confirm-button {
    /* 基础样式 */
    background-color: #e74c3c; /* 红色背景 */
    color: white;
    border: 2px solid #c0392b;
    border-radius: 30px;
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
    font-family: 'Fredoka One', 'Poppins', sans-serif;
    min-width: 100px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* 文字样式 */
.confirm-button span {
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

/* 发光效果 */
.confirm-button::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        to right, 
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    transform: rotate(35deg);
    animation: confirm-glow 2s infinite;
    z-index: 1;
}

/* 悬停效果 */
.confirm-button:hover {
    background-color: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
}

.confirm-button:hover span {
    transform: scale(1.05);
}

/* 激活/点击效果 */
.confirm-button:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(231, 76, 60, 0.2);
}

/* 确认按钮特殊装饰 - 对勾图标 */
.confirm-button::after {
    content: '✓';
    position: absolute;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
    opacity: 0;
    transition: all 0.3s ease;
    color: white;
    z-index: 3;
}

.confirm-button:hover::after {
    right: 10px;
    opacity: 1;
}

/* 波纹动画 */
.confirm-button.animate {
    animation: confirm-ripple 0.6s ease;
}

/* 发光动画 */
@keyframes confirm-glow {
    0% {
        transform: translateX(-100%) rotate(35deg);
    }
    100% {
        transform: translateX(100%) rotate(35deg);
    }
}

/* 波纹动画 */
@keyframes confirm-ripple {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(0.95);
    }
    100% {
        transform: scale(1);
    }
}

/* 响应式设计 - 中等屏幕 */
@media screen and (max-width: 1024px) {
    .confirm-button {
        font-size: 0.9rem;
        padding: 10px 20px;
        border: 1.5px solid #c0392b;
        box-shadow: 0 3px 12px rgba(231, 76, 60, 0.3);
    }
}

/* 响应式设计 - 小屏幕 */
@media screen and (max-width: 480px) {
    .confirm-button {
        font-size: 0.8rem;
        padding: 8px 16px;
        border: 1.5px solid #c0392b;
        box-shadow: 0 2px 8px rgba(231, 76, 60, 0.2);
        min-width: 80px;
    }
    
    .confirm-button::after {
        display: none;
    }
    
    .confirm-button::before {
        animation: none;
    }
}