/**
 * 半糖书屋 - VIP 开通页面「书斋雅集」设计
 * 灵感：古典书院的尊贵与典雅
 */

/* ========================================
   页面容器
   ======================================== */
.vip-page {
    padding: 24px;
    background: linear-gradient(180deg, var(--paper-cream, #f9f5ef) 0%, var(--background-color, #faf8f5) 100%);
    min-height: 100vh;
}

/* ========================================
   VIP Hero 区域 - 金印风格
   ======================================== */
.vip-hero {
    position: relative;
    text-align: center;
    padding: 48px 24px 56px;
    background: linear-gradient(135deg, #2a1f1a 0%, #3d2e1f 50%, #4a3828 100%);
    border-radius: var(--radius-lg, 16px);
    margin-bottom: 24px;
    overflow: hidden;
}

/* 装饰性金边 */
.vip-hero::before {
    content: '';
    position: absolute;
    inset: 6px;
    border: 1px solid rgba(212, 162, 76, 0.3);
    border-radius: calc(var(--radius-lg, 16px) - 4px);
    pointer-events: none;
}

/* 底纹装饰 */
.vip-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M30 5 L55 30 L30 55 L5 30 Z' fill='none' stroke='rgba(212,162,76,0.08)' stroke-width='1'/%3E%3C/svg%3E");
    opacity: 0.5;
    pointer-events: none;
}

.vip-crown {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #d4a24c 0%, #c48b4a 50%, #a0522d 100%);
    border-radius: 50%;
    margin-bottom: 20px;
    box-shadow:
        0 0 0 4px rgba(212, 162, 76, 0.3),
        0 8px 32px rgba(0, 0, 0, 0.3);
    animation: floatSoft 4s ease-in-out infinite;
    z-index: 1;
}

@keyframes floatSoft {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.vip-crown i {
    font-size: 48px;
    color: #fff;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.vip-hero h1 {
    position: relative;
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    letter-spacing: 2px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
    z-index: 1;
}

.vip-hero p {
    position: relative;
    font-size: 15px;
    color: rgba(212, 162, 76, 0.9);
    letter-spacing: 4px;
    z-index: 1;
}

/* ========================================
   当前 VIP 状态
   ======================================== */
.current-vip-status {
    display: flex;
    justify-content: center;
    gap: 48px;
    background: linear-gradient(135deg, #fff8ee 0%, #ffedcc 100%);
    border: 1px solid rgba(212, 162, 76, 0.3);
    border-radius: var(--radius, 12px);
    padding: 20px 32px;
    margin-bottom: 24px;
}

.status-info,
.expire-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.status-label,
.expire-label {
    font-size: 14px;
    color: var(--text-light, #a99a8a);
}

.status-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary-color, #c48b4a);
    position: relative;
}

.status-value::before {
    content: '◆';
    font-size: 8px;
    margin-right: 6px;
    vertical-align: middle;
}

.expire-value {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark, #3d2e1f);
}

/* ========================================
   套餐选择 - 卡片翻页风格
   ======================================== */
.packages-section {
    background: var(--white, #fff);
    border: 1px solid var(--border-color, rgba(210, 180, 140, 0.3));
    border-radius: var(--radius, 12px);
    padding: 28px;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px rgba(139, 90, 43, 0.06);
}

.packages-section h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 17px;
    font-weight: 600;
    color: var(--text-dark, #3d2e1f);
    margin-bottom: 24px;
}

.packages-section h2::before {
    content: '';
    width: 4px;
    height: 20px;
    background: linear-gradient(135deg, #d4a24c 0%, #c48b4a 100%);
    border-radius: 2px;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

/* ========================================
   VIP 套餐卡片 - 半糖甜蜜风格
   ======================================== */
.package-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    background: linear-gradient(160deg, #fff 0%, var(--paper-cream, #faf6f0) 100%);
    border: 1.5px solid rgba(210, 180, 140, 0.25);
    border-radius: var(--radius-lg, 16px);
    padding: 24px 18px 20px;
    cursor: pointer;
    transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
}

/* 顶部装饰光晕 */
.package-card::before {
    content: '';
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 80px;
    background: radial-gradient(ellipse, rgba(212, 165, 116, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.package-card:hover {
    transform: translateY(-6px);
    border-color: rgba(196, 139, 74, 0.4);
    box-shadow:
        0 16px 40px rgba(139, 90, 43, 0.12),
        0 6px 16px rgba(139, 90, 43, 0.08);
}

.package-card.selected {
    border-color: var(--primary-color, #c48b4a);
    background: linear-gradient(160deg, #fffbf5 0%, var(--accent-cream, #ffedcc) 100%);
    box-shadow:
        0 0 0 3px rgba(196, 139, 74, 0.12),
        0 12px 32px rgba(139, 90, 43, 0.16);
}

/* 勾选徽章 - 默认隐藏 */
.card-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 24px;
    height: 24px;
    display: none;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color, #c48b4a) 0%, var(--accent-warm, #d4a574) 100%);
    color: #fff;
    font-size: 12px;
    border-radius: 50%;
    box-shadow: 0 2px 8px rgba(196, 139, 74, 0.3);
    z-index: 2;
}

/* 选中时显示勾选 */
.package-card.selected .card-badge {
    display: flex;
}

/* 推荐套餐 */
.package-card.recommended {
    border-color: rgba(245, 158, 11, 0.4);
}

.package-card.recommended::after {
    content: '推荐';
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 10px;
    background: linear-gradient(135deg, #f59e0b 0%, #e8860c 100%);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
    transform: none;
    z-index: 1;
}

/* 推荐套餐选中时，隐藏推荐标签 */
.package-card.recommended.selected::after {
    display: none;
}

/* 限购标签 */
.limit-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(239, 68, 68, 0.3);
    z-index: 1;
}

.limit-badge i {
    font-size: 10px;
}

/* 限购套餐选中时，保留限购标签 */
.package-card.limited.selected .limit-badge {
    display: inline-flex;
}

/* VIP 图标区域 */
.package-icon-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
}

.package-icon-wrapper::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(212, 165, 116, 0.12) 0%, rgba(196, 139, 74, 0.06) 100%);
    border: 1.5px dashed rgba(196, 139, 74, 0.25);
}

.package-icon-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: linear-gradient(145deg, #fff 0%, #faf6f0 100%);
    border: 2px solid rgba(196, 139, 74, 0.3);
    border-radius: 50%;
    box-shadow:
        inset 0 2px 4px rgba(255, 255, 255, 0.8),
        0 2px 8px rgba(139, 90, 43, 0.1);
}

.package-icon-inner i {
    font-size: 24px;
    color: var(--primary-color, #c48b4a);
}

.package-card.selected .package-icon-inner {
    background: linear-gradient(145deg, #fff 0%, #fff8ee 100%);
    border-color: var(--primary-color, #c48b4a);
}

/* 套餐名称 */
.package-name {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-dark, #3d2e1f);
    line-height: 1;
}

.package-card.selected .package-name {
    color: var(--primary-dark, #8b5a2b);
}

/* 时长 */
.package-duration {
    font-size: 12px;
    color: var(--text-light, #a99a8a);
    background: rgba(210, 180, 140, 0.15);
    padding: 3px 10px;
    border-radius: 10px;
}

/* 价格 */
.package-price {
    display: flex;
    align-items: baseline;
    gap: 2px;
    font-size: 26px;
    font-weight: 700;
    color: var(--primary-color, #c48b4a);
    line-height: 1;
}

.package-price .currency {
    font-size: 14px;
    font-weight: 600;
}

.package-price .unit {
    font-size: 12px;
    font-weight: 400;
    color: var(--text-light, #a99a8a);
    margin-left: 2px;
}

.package-card.selected .package-price {
    color: var(--primary-dark, #8b5a2b);
}

/* 原价 */
.package-original {
    font-size: 13px;
    color: var(--text-light, #a99a8a);
    text-decoration: line-through;
}

/* ========================================
   支付方式 - 简约优雅
   ======================================== */
.payment-section {
    background: var(--white, #fff);
    border: 1px solid var(--border-color, rgba(210, 180, 140, 0.3));
    border-radius: var(--radius, 12px);
    padding: 28px;
    margin-bottom: 24px;
    box-shadow: 0 4px 20px rgba(139, 90, 43, 0.06);
}

.payment-section h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 17px;
    font-weight: 600;
    color: var(--text-dark, #3d2e1f);
    margin-bottom: 24px;
}

.payment-section h2::before {
    content: '';
    width: 4px;
    height: 20px;
    background: linear-gradient(135deg, #d4a24c 0%, #c48b4a 100%);
    border-radius: 2px;
}

.payment-methods {
    display: flex;
    gap: 20px;
}

.payment-option {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 18px 24px;
    background: var(--paper-cream, #f9f5ef);
    border: 2px solid transparent;
    border-radius: var(--radius, 12px);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.payment-option input {
    display: none;
}

.payment-option:hover {
    background: #fff;
    border-color: var(--border-color, rgba(210, 180, 140, 0.3));
}

.payment-option.active {
    border-color: var(--primary-color, #c48b4a);
    background: linear-gradient(135deg, #fff8ee 0%, #fff 100%);
    box-shadow: 0 4px 16px rgba(196, 139, 74, 0.15);
}

.payment-option i {
    font-size: 28px;
}

.payment-option .bi-wechat {
    color: #07c160;
}

.payment-option .bi-alipay {
    color: #1677ff;
}

.payment-option span {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-dark, #3d2e1f);
}

/* ========================================
   支付操作区
   ======================================== */
.pay-action {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, #2a1f1a 0%, #3d2e1f 100%);
    border-radius: var(--radius, 12px);
    padding: 24px 32px;
    margin-bottom: 24px;
    box-shadow: 0 8px 32px rgba(42, 31, 26, 0.2);
}

.pay-summary {
    display: flex;
    align-items: baseline;
    gap: 12px;
}

.pay-label {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
}

.pay-amount {
    font-size: 36px;
    font-weight: 700;
    color: #ffd700;
    text-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

.btn-pay {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 16px 48px;
    font-size: 17px;
    font-weight: 600;
    color: #2a1f1a;
    background: linear-gradient(135deg, #ffd700 0%, #ffb800 50%, #d4a24c 100%);
    border: none;
    border-radius: var(--radius, 12px);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(255, 215, 0, 0.3);
}

.btn-pay:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(255, 215, 0, 0.4);
}

.btn-pay:active:not(:disabled) {
    transform: translateY(0);
}

.btn-pay:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background: #888;
    color: #ccc;
    box-shadow: none;
}

.btn-pay i {
    font-size: 20px;
}

/* ========================================
   权益详情 - 典雅列表
   ======================================== */
.benefits-detail {
    background: var(--white, #fff);
    border: 1px solid var(--border-color, rgba(210, 180, 140, 0.3));
    border-radius: var(--radius, 12px);
    padding: 28px;
    box-shadow: 0 4px 20px rgba(139, 90, 43, 0.06);
}

.benefits-detail h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 17px;
    font-weight: 600;
    color: var(--text-dark, #3d2e1f);
    margin-bottom: 24px;
}

.benefits-detail h2::before {
    content: '';
    width: 4px;
    height: 20px;
    background: linear-gradient(135deg, #d4a24c 0%, #c48b4a 100%);
    border-radius: 2px;
}

.benefits-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.benefit-row {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: linear-gradient(135deg, var(--paper-cream, #f9f5ef) 0%, #fff 100%);
    border: 1px solid rgba(210, 180, 140, 0.2);
    border-radius: var(--radius-sm, 8px);
    transition: all 0.3s ease;
}

.benefit-row:hover {
    border-color: rgba(212, 162, 76, 0.4);
    box-shadow: 0 4px 16px rgba(139, 90, 43, 0.08);
}

.benefit-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, #fff8ee 0%, #ffedcc 100%);
    border: 1px solid rgba(212, 162, 76, 0.3);
    border-radius: 50%;
    flex-shrink: 0;
}

.benefit-icon i {
    font-size: 22px;
    color: var(--primary-color, #c48b4a);
}

.benefit-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.benefit-content h4 {
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark, #3d2e1f);
    margin-bottom: 6px;
}

.benefit-content p {
    font-size: 13px;
    color: var(--text-light, #a99a8a);
    line-height: 1.5;
}

/* ========================================
   支付弹窗 - 精致卡片
   ======================================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(42, 31, 26, 0.6);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: var(--white, #fff);
    border-radius: var(--radius-lg, 16px);
    padding: 36px;
    max-width: 420px;
    width: 90%;
    text-align: center;
    animation: slideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 24px 80px rgba(42, 31, 26, 0.3);
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--paper-cream, #f9f5ef);
    border: none;
    border-radius: 50%;
    font-size: 16px;
    color: var(--text-light, #a99a8a);
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #ffedcc;
    color: var(--primary-color, #c48b4a);
}

.modal-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-dark, #3d2e1f);
    margin-bottom: 24px;
}

.qrcode-wrapper {
    display: flex;
    justify-content: center;
    padding: 24px;
    background: #fff;
    border: 2px solid var(--border-color, rgba(210, 180, 140, 0.3));
    border-radius: var(--radius, 12px);
    margin-bottom: 20px;
}

#qrcodeContainer {
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#qrcodeContainer img {
    border-radius: 4px;
}

.qrcode-tip {
    font-size: 14px;
    color: var(--text-light, #a99a8a);
    margin-bottom: 20px;
}

.order-info {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 16px;
    background: var(--paper-cream, #f9f5ef);
    border-radius: var(--radius-sm, 8px);
    font-size: 13px;
    color: var(--text-color, #5a4a3a);
}

.order-info span span {
    font-weight: 600;
    color: var(--text-dark, #3d2e1f);
}

/* ========================================
   响应式设计
   ======================================== */
@media (max-width: 768px) {
    .vip-page {
        padding: 16px;
    }

    .vip-hero {
        padding: 36px 20px 44px;
    }

    .vip-hero h1 {
        font-size: 22px;
    }

    .vip-crown {
        width: 80px;
        height: 80px;
    }

    .vip-crown i {
        font-size: 36px;
    }

    .current-vip-status {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .packages-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .payment-methods {
        flex-direction: column;
    }

    .pay-action {
        flex-direction: column;
        gap: 20px;
        text-align: center;
        padding: 24px;
    }

    .pay-amount {
        font-size: 32px;
    }

    .btn-pay {
        width: 100%;
        justify-content: center;
        padding: 16px;
    }

    .benefits-list {
        grid-template-columns: 1fr;
    }

    .packages-section,
    .payment-section,
    .benefits-detail {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .packages-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .package-card {
        padding: 18px 12px 16px;
        gap: 10px;
    }

    .package-icon-wrapper {
        width: 56px;
        height: 56px;
    }

    .package-icon-inner {
        width: 40px;
        height: 40px;
    }

    .package-icon-inner i {
        font-size: 18px;
    }

    .package-name {
        font-size: 14px;
    }

    .package-duration {
        font-size: 10px;
        padding: 2px 8px;
    }

    .package-price {
        font-size: 20px;
    }

    .package-card.recommended::after {
        font-size: 9px;
        padding: 3px 8px;
    }
}

/* ========================================
   支付成功弹窗 - 金印喜庆风
   ======================================== */
.success-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: successFadeIn 0.4s ease;
}

@keyframes successFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.success-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(42, 31, 26, 0.75);
    backdrop-filter: blur(8px);
}

.success-modal-content {
    position: relative;
    background: linear-gradient(180deg, #fffbf5 0%, #fff 100%);
    border-radius: 24px;
    padding: 48px 40px 40px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    animation: successSlideUp 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow:
        0 0 0 1px rgba(212, 162, 76, 0.2),
        0 32px 100px rgba(42, 31, 26, 0.4),
        0 0 80px rgba(255, 215, 0, 0.15);
    overflow: hidden;
}

@keyframes successSlideUp {
    from {
        opacity: 0;
        transform: translateY(60px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* 顶部装饰光效 */
.success-modal-content::before {
    content: '';
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    width: 300px;
    height: 200px;
    background: radial-gradient(ellipse, rgba(255, 215, 0, 0.2) 0%, transparent 70%);
    pointer-events: none;
}

/* 金币粒子容器 */
.success-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
}

.success-particle {
    position: absolute;
    width: 12px;
    height: 12px;
    background: linear-gradient(135deg, #ffd700 0%, #ffb800 100%);
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(255, 215, 0, 0.6);
    animation: particleFall 3s ease-in-out infinite;
}

.success-particle:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 2.5s; }
.success-particle:nth-child(2) { left: 25%; animation-delay: 0.3s; animation-duration: 3s; }
.success-particle:nth-child(3) { left: 40%; animation-delay: 0.6s; animation-duration: 2.8s; }
.success-particle:nth-child(4) { left: 55%; animation-delay: 0.2s; animation-duration: 3.2s; }
.success-particle:nth-child(5) { left: 70%; animation-delay: 0.5s; animation-duration: 2.6s; }
.success-particle:nth-child(6) { left: 85%; animation-delay: 0.1s; animation-duration: 3.1s; }
.success-particle:nth-child(7) { left: 15%; animation-delay: 0.8s; animation-duration: 2.9s; }
.success-particle:nth-child(8) { left: 80%; animation-delay: 0.4s; animation-duration: 2.7s; }

@keyframes particleFall {
    0% {
        transform: translateY(-20px) rotate(0deg) scale(0);
        opacity: 0;
    }
    10% {
        transform: translateY(0) rotate(30deg) scale(1);
        opacity: 1;
    }
    90% {
        transform: translateY(350px) rotate(360deg) scale(0.8);
        opacity: 0.8;
    }
    100% {
        transform: translateY(400px) rotate(400deg) scale(0);
        opacity: 0;
    }
}

/* 成功图标 */
.success-icon-wrapper {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    margin-bottom: 24px;
    z-index: 1;
}

/* 外圈光环 */
.success-icon-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2) 0%, rgba(212, 162, 76, 0.1) 100%);
    animation: ringPulse 2s ease-in-out infinite;
}

@keyframes ringPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.7; }
}

/* 内圈 */
.success-icon-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ffd700 0%, #ffb800 50%, #d4a24c 100%);
    border-radius: 50%;
    box-shadow:
        0 0 0 4px rgba(255, 215, 0, 0.3),
        0 8px 32px rgba(255, 215, 0, 0.4),
        inset 0 2px 4px rgba(255, 255, 255, 0.4);
}

/* 对勾动画 */
.success-checkmark {
    width: 36px;
    height: 36px;
    stroke: #2a1f1a;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.success-checkmark path {
    stroke-dasharray: 60;
    stroke-dashoffset: 60;
    animation: checkmarkDraw 0.6s ease 0.3s forwards;
}

@keyframes checkmarkDraw {
    to { stroke-dashoffset: 0; }
}

/* 成功文字 */
.success-title {
    position: relative;
    font-size: 26px;
    font-weight: 700;
    color: var(--text-dark, #3d2e1f);
    margin-bottom: 12px;
    letter-spacing: 2px;
    z-index: 1;
}

.success-subtitle {
    position: relative;
    font-size: 15px;
    color: var(--text-color, #5a4a3a);
    margin-bottom: 8px;
    z-index: 1;
}

.success-amount {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color, #c48b4a);
    margin-bottom: 32px;
    z-index: 1;
}

.success-amount i {
    font-size: 24px;
    color: #ffd700;
    animation: coinSpin 2s linear infinite;
}

@keyframes coinSpin {
    0% { transform: rotateY(0deg); }
    100% { transform: rotateY(360deg); }
}

/* 确认按钮 */
.success-btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 16px 32px;
    font-size: 17px;
    font-weight: 600;
    color: #2a1f1a;
    background: linear-gradient(135deg, #ffd700 0%, #ffb800 50%, #d4a24c 100%);
    border: none;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 24px rgba(255, 215, 0, 0.35);
    z-index: 1;
}

.success-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 36px rgba(255, 215, 0, 0.45);
}

.success-btn:active {
    transform: translateY(-1px);
}

.success-btn i {
    font-size: 20px;
}

/* 底部装饰文字 */
.success-footer {
    position: relative;
    margin-top: 20px;
    font-size: 13px;
    color: var(--text-light, #a99a8a);
    z-index: 1;
}

.success-footer i {
    color: var(--primary-color, #c48b4a);
    margin-right: 4px;
}
