.mines-bonus-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    margin-bottom: 20px;
    min-height: 160px; /* 添加最小高度确保卡片一致性 */
    height: auto; /* 允许内容增长但保持最小高度 */
}

.mines-bonus-content {
    flex: 1;
    z-index: 2;
}

.mines-bonus-header {
    margin-bottom: 15px;
}

.mines-bonus-title {
    display: flex;
    flex-direction: column;
}

.game-title {
    font-size: 24px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
    max-height: 2.6em; /* 2行最大高度 */
}

.game-subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
    max-height: 2.6em; /* 2行最大高度 */
}

.bonus-text {
    font-size: 17px;
    font-weight: 600;
    color: #ffffff82;
    margin-bottom: 20px;
    max-width: 280px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    max-height: 2.8em; /* 2行最大高度 */
}

.mines-bonus-button {
    display: inline-block;
    padding: 10px 24px;
    background-color: #FF6B00;
    color: #fff;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

.mines-bonus-button:hover {
    background-color: #FF8534;
    transform: translateY(-2px);

}

.mines-bonus-image {
    position: relative;
    z-index: 2;
    margin-left: 20px;
    flex-shrink: 0;
}

.fox-character {
    width: 120px;
    height: auto;
    transform: translateY(0);
    transition: transform 0.5s ease;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0);
    }
}

/* 添加光效 */
.mines-bonus-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    opacity: 0.6;
    z-index: 1;
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0% {
        opacity: 0.4;
        transform: scale(1);
    }
    50% {
        opacity: 0.6;
        transform: scale(1.05);
    }
    100% {
        opacity: 0.4;
        transform: scale(1);
    }
}

/* 响应式布局 */
@media (max-width: 768px) {
    .mines-bonus-card {
        flex-direction: column;
        text-align: center;
        padding: 25px 15px;
    }
    
    .mines-bonus-content {
        margin-bottom: 20px;
    }
    
    .mines-bonus-image {
        margin-left: 0;
    }
    
    .bonus-text {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
}