/* 全局样式 */
:root {
    --primary-color: #d4a550;
    --secondary-color: #8B4513;
    --accent-color: #e74c3c;
    --background-dark: #2d1b69;
    --background-light: #f8f9fa;
    --text-primary: #f8f9fa;
    --text-secondary: #e9ecef;
    --border-color: #495057;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: linear-gradient(135deg, #4a308a 0%, #2d1b69 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 导航栏 */
.navbar {
    background: rgba(74, 48, 138, 0.85);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(212, 165, 80, 0.3);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: bold;
}

.logo i {
    margin-right: 0.5rem;
    color: var(--accent-color);
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    transition: all 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    background: rgba(212, 165, 80, 0.2);
    color: var(--primary-color);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

#user-balance {
    color: var(--primary-color);
    font-weight: bold;
}

.btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background: #c09242;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.2rem;
}

/* 主内容区域 */
.main-content {
    margin-top: 80px;
    min-height: calc(100vh - 80px);
    color: white;
}

/* 横幅部分 */
.banner-section {
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at center, #6a4fb0 0%, #4a308a 70%);
}

#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.banner-content {
    position: relative;
    z-index: 2;
    color: white;
}

.banner-title {
    font-size: 4rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 25px rgba(212, 165, 80, 0.9);
    background: linear-gradient(to right, #d4a550, #e6b325, #f0c346);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: glow 2s ease-in-out infinite alternate;
}

.banner-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.temple-animation {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 2rem auto;
}

.digital-lotus {
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(212, 165, 80, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    position: relative;
    animation: rotate 10s linear infinite;
}

.digital-lotus::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, #e6b325 0%, #d4a550 70%);
    border-radius: 50%;
    box-shadow: 0 0 30px #e6b325, 0 0 60px rgba(230, 179, 37, 0.5);
    animation: pulse 2s ease-in-out infinite alternate;
}

@keyframes pulse {
    from { transform: translate(-50%, -50%) scale(1); }
    to { transform: translate(-50%, -50%) scale(1.2); }
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes glow {
    from { text-shadow: 0 0 10px #d4a550, 0 0 20px #d4a550; }
    to { text-shadow: 0 0 20px #d4a550, 0 0 30px #e6b325, 0 0 40px #f0c346; }
}

.light-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* 灯型选择部分 */
.lamps-section,
.prayer-wall-section,
.account-section {
    padding: 3rem 0;
    color: #f8f9fa;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
    text-shadow: 0 0 10px rgba(212, 165, 80, 0.5);
}

.lamps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.lamp-item {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.lamp-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 15px;
    background: linear-gradient(135deg, rgba(212, 165, 80, 0.2), rgba(139, 69, 19, 0.2));
    z-index: -1;
}

.lamp-item:hover {
    transform: translateY(-5px) scale(1.03);
    border-color: var(--primary-color);
    background: rgba(212, 165, 80, 0.25);
    box-shadow: 0 10px 30px rgba(212, 165, 80, 0.4), 0 0 20px rgba(212, 165, 80, 0.3) inset;
}

.lamp-item.selected {
    border-color: var(--primary-color);
    background: rgba(212, 165, 80, 0.3);
    box-shadow: 0 0 25px rgba(212, 165, 80, 0.6), 0 0 20px rgba(212, 165, 80, 0.3) inset;
}

.lamp-detail-panel {
    display: none;
    background: rgba(74, 48, 138, 0.9);
    border-radius: 15px;
    padding: 1.5rem;
    margin-top: 1rem;
    backdrop-filter: blur(10px);
    border: 1px solid var(--primary-color);
}

.lamp-item.selected .lamp-detail-panel {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.lamp-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: block;
}

.lamp-name {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.lamp-meaning {
    color: #ccc;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.lamp-price {
    color: var(--accent-color);
    font-weight: bold;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.package-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.package-item:hover {
    background: rgba(212, 165, 80, 0.1);
}

.package-item.selected {
    border-color: var(--primary-color);
    background: rgba(212, 165, 80, 0.15);
}

.package-name {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.package-duration {
    color: #ccc;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.package-price {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-color);
    margin: 0.5rem 0;
}

.package-original-price {
    text-decoration: line-through;
    color: #999;
    font-size: 0.9rem;
}

.package-tag {
    display: inline-block;
    background: var(--accent-color);
    color: white;
    padding: 0.2rem 0.5rem;
    border-radius: 15px;
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

/* 祈愿表单 */
.prayer-form {
    background: rgba(255, 255, 255, 0.2);
    padding: 2rem;
    border-radius: 15px;
    margin-top: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 165, 80, 0.3);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.form-control {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(212, 165, 80, 0.5);
}

.checkbox-group {
    display: flex;
    align-items: center;
}

.checkbox-group input[type="checkbox"] {
    margin-right: 0.5rem;
}

/* 祈福墙 */
.prayer-wall-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.prayer-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 165, 80, 0.2);
}

.prayer-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.prayer-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 1rem;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.prayer-user {
    flex: 1;
}

.prayer-username {
    font-weight: bold;
    color: var(--primary-color);
}

.prayer-time {
    font-size: 0.8rem;
    color: #ccc;
}

.prayer-lamp {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.prayer-lamp i {
    font-size: 1.5rem;
    margin-right: 0.5rem;
    color: var(--accent-color);
}

.prayer-content {
    margin-bottom: 1rem;
    line-height: 1.6;
}

.prayer-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #ccc;
    font-size: 0.9rem;
}

/* 个人中心 */
.account-content {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 165, 80, 0.3);
}

.user-card {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.user-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-right: 1.5rem;
    border: 3px solid var(--primary-color);
}

.user-details h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.user-details p {
    margin: 0.25rem 0;
    color: #ccc;
}

.account-actions {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

/* 弹窗样式 */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.modal-content {
    background: linear-gradient(135deg, #6a4fb0, #4a308a);
    padding: 2rem;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    position: relative;
    border: 1px solid var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.modal-content.wide {
    max-width: 800px;
}

.packages-modal-content {
    max-height: 80vh;
    overflow-y: auto;
}

.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.package-item {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 1.5rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.package-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 10px;
    background: linear-gradient(135deg, rgba(212, 165, 80, 0.1), rgba(139, 69, 19, 0.1));
    z-index: -1;
}

.package-item:hover {
    background: rgba(212, 165, 80, 0.25);
}

.package-item.selected {
    border-color: var(--primary-color);
    background: rgba(212, 165, 80, 0.3);
    box-shadow: 0 0 15px rgba(212, 165, 80, 0.5);
}

.package-savings {
    color: var(--success-color);
    font-weight: bold;
    margin: 0.5rem 0;
}

.package-description {
    font-size: 0.85rem;
    color: #ccc;
    margin-top: 0.5rem;
}

.close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: white;
}

.payment-options {
    margin: 1.5rem 0;
}

.payment-option {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.payment-option:hover {
    background: rgba(212, 165, 80, 0.2);
    transform: translateX(5px);
}

.payment-option i {
    font-size: 1.5rem;
    margin-right: 1rem;
    color: var(--primary-color);
}

.total-amount {
    text-align: center;
    font-size: 1.2rem;
    font-weight: bold;
    color: var(--accent-color);
    margin-top: 1rem;
}

.payment-option span {
    flex: 1;
}

.payment-option small {
    color: rgba(255, 255, 255, 0.6);
}

/* USDT虚拟币支付弹窗 */
.crypto-payment-body {
    margin-top: 1rem;
}

.crypto-qr-code {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
    background: #fff;
    padding: 10px;
    border-radius: 10px;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.crypto-info-row {
    margin-bottom: 0.8rem;
}

.crypto-info-row label {
    display: block;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.3rem;
}

.crypto-value-row {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.6rem 0.8rem;
}

.crypto-address {
    flex: 1;
    word-break: break-all;
    font-family: monospace;
    font-size: 0.8rem;
}

.crypto-amount {
    flex: 1;
    font-size: 1.1rem;
    font-weight: bold;
    color: var(--accent-color);
}

.btn-copy {
    padding: 0.3rem 0.7rem;
    font-size: 0.8rem;
    white-space: nowrap;
}

.crypto-tip {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin: 1rem 0;
}

.crypto-status {
    text-align: center;
    color: var(--accent-color);
    margin-top: 1rem;
}

.login-options {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0;
}

.login-option {
    flex: 1;
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem 1rem;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.login-option:hover {
    background: rgba(212, 165, 80, 0.2);
    transform: translateY(-5px);
}

.login-option i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.login-form {
    margin-top: 1.5rem;
}

.login-form .form-group {
    margin-bottom: 1rem;
}

#send-code-btn {
    white-space: nowrap;
}

#send-code-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .banner-title {
        font-size: 2.5rem;
    }
    
    .lamps-grid,
    .packages-grid {
        grid-template-columns: 1fr;
    }
    
    .user-card {
        flex-direction: column;
        text-align: center;
    }
    
    .user-avatar {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .account-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
}

/* 加载动画 */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 订单卡片样式 */
.order-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 1rem;
    margin-bottom: 1rem;
}

.order-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.order-lamp {
    display: flex;
    align-items: center;
}

.order-lamp i {
    margin-right: 0.5rem;
    color: var(--accent-color);
}

.order-status {
    padding: 0.2rem 0.5rem;
    border-radius: 15px;
    font-size: 0.8rem;
}

.status-pending { background: #ffc107; color: #212529; }
.status-lighting { background: var(--primary-color); color: white; }
.status-completed { background: var(--success-color); color: white; }
.status-cancelled { background: var(--danger-color); color: white; }

.order-prayer {
    margin: 0.5rem 0;
    font-size: 0.9rem;
    color: #ccc;
}

.order-time {
    font-size: 0.8rem;
    color: #999;
}

.progress-bar {
    width: 100%;
    height: 5px;
    background: rgba(255,255,255,0.1);
    border-radius: 3px;
    margin: 0.5rem 0;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: var(--primary-color);
    border-radius: 3px;
    transition: width 0.3s ease;
}

/* ============================================================
   v2 视觉优化层（2026-09）
   在原有结构上做整体质感升级：夜空底色、玻璃卡片、金色点缀、
   弹窗动画、统一按钮。后加载覆盖前规则，不改 HTML 结构。
   ============================================================ */

:root {
    --gold: #e8c476;
    --gold-bright: #f5d99a;
    --gold-dim: rgba(232, 196, 118, 0.35);
}

body {
    font-family: 'PingFang SC', 'Microsoft YaHei', 'Helvetica Neue', Arial, sans-serif;
    background:
        radial-gradient(ellipse 80% 50% at 50% -10%, rgba(232, 196, 118, 0.12), transparent),
        radial-gradient(ellipse 60% 40% at 85% 20%, rgba(46, 84, 136, 0.3), transparent),
        radial-gradient(ellipse 70% 45% at 10% 65%, rgba(28, 48, 82, 0.5), transparent),
        linear-gradient(180deg, #0f1a2b 0%, #0c1420 55%, #0a101a 100%);
    background-attachment: fixed;
    letter-spacing: 0.02em;
}

/* ---- 导航栏：更通透的玻璃 ---- */
.navbar {
    background: rgba(20, 12, 44, 0.72);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(232, 196, 118, 0.22);
}

.logo span {
    background: linear-gradient(120deg, var(--gold-bright), var(--gold));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    letter-spacing: 0.12em;
}

.nav-link {
    position: relative;
    transition: color 0.25s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -6px;
    width: 0;
    height: 2px;
    border-radius: 2px;
    background: linear-gradient(90deg, var(--gold), var(--gold-bright));
    transition: all 0.25s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 60%;
}

/* ---- 横幅 ---- */
.banner-title {
    font-size: clamp(2.6rem, 7vw, 4.6rem);
    font-weight: 800;
    letter-spacing: 0.18em;
    background: linear-gradient(115deg, #fdf3d8 15%, var(--gold-bright) 45%, var(--gold) 75%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
    filter: drop-shadow(0 4px 22px rgba(232, 196, 118, 0.35));
}

.banner-subtitle {
    color: rgba(248, 242, 226, 0.75);
    letter-spacing: 0.35em;
    margin-top: 1rem;
}

/* ---- 区块标题 ---- */
.section-title {
    text-align: center;
    font-size: 1.9rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    margin-bottom: 2.6rem;
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '❖';
    position: absolute;
    left: 50%;
    bottom: -0.4rem;
    transform: translateX(-50%);
    font-size: 0.9rem;
    color: var(--gold);
    background: none;
    padding: 0 0.8rem;
}

.section-title::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 180px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-dim), transparent);
}

/* ---- 灯型卡片 ---- */
.lamps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.6rem;
}

.lamp-item {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(232, 196, 118, 0.16);
    border-radius: 18px;
    padding: 2rem 1.4rem 1.6rem;
    text-align: center;
    cursor: pointer;
    backdrop-filter: blur(8px);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.lamp-item:hover {
    transform: translateY(-6px);
    border-color: rgba(232, 196, 118, 0.55);
    box-shadow: 0 18px 40px -18px rgba(232, 196, 118, 0.45);
}

.lamp-item.selected {
    border-color: var(--gold);
    box-shadow: 0 0 0 1px var(--gold), 0 16px 42px -16px rgba(232, 196, 118, 0.55);
}

.lamp-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 74px;
    height: 74px;
    font-size: 2.3rem;
    line-height: 1;
    border-radius: 50%;
    margin-bottom: 1rem;
    background: radial-gradient(circle at 35% 30%, rgba(232, 196, 118, 0.32), rgba(232, 196, 118, 0.06) 65%);
    border: 1px solid rgba(232, 196, 118, 0.35);
    box-shadow: 0 0 24px rgba(232, 196, 118, 0.22), inset 0 0 12px rgba(232, 196, 118, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lamp-item:hover .lamp-icon {
    transform: scale(1.08);
    box-shadow: 0 0 34px rgba(232, 196, 118, 0.45), inset 0 0 14px rgba(232, 196, 118, 0.25);
}

.lamp-name {
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    margin-bottom: 0.35rem;
}

.lamp-meaning {
    font-size: 0.85rem;
    color: rgba(233, 230, 222, 0.6);
    margin-bottom: 0.8rem;
    min-height: 1.4em;
}

.lamp-price {
    display: inline-block;
    font-size: 0.82rem;
    color: var(--gold-bright);
    background: rgba(232, 196, 118, 0.1);
    border: 1px solid rgba(232, 196, 118, 0.25);
    border-radius: 999px;
    padding: 0.25rem 0.9rem;
}

/* 隐藏旧版展开详情面板（点击改为直接弹窗选择时长） */
.lamp-detail-panel {
    display: none !important;
}

/* ---- 弹窗 ---- */
.modal {
    background: rgba(10, 6, 26, 0.72);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    animation: modalFade 0.22s ease;
}

.modal-content {
    background: linear-gradient(165deg, #1e2c42 0%, #182338 60%, #141d2e 100%);
    border: 1px solid rgba(232, 196, 118, 0.3);
    border-radius: 20px;
    padding: 2.2rem;
    box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.03) inset;
    animation: modalIn 0.28s cubic-bezier(0.2, 0.9, 0.3, 1.2);
    max-width: 460px;
}

.modal-content.wide {
    max-width: 860px;
}

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

@keyframes modalIn {
    from { opacity: 0; transform: translateY(26px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-content h3 {
    font-size: 1.3rem;
    letter-spacing: 0.2em;
    text-align: center;
    margin-bottom: 1.4rem;
    color: var(--gold-bright);
}

.modal-content .close {
    color: rgba(255, 255, 255, 0.45);
    transition: all 0.25s ease;
}

.modal-content .close:hover {
    color: var(--gold-bright);
    transform: rotate(90deg);
}

/* ---- 套餐卡片 ---- */
.package-item {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    transition: all 0.25s ease;
}

.package-item:hover {
    transform: translateY(-4px);
    border-color: rgba(232, 196, 118, 0.5);
}

.package-item.selected {
    border-color: var(--gold);
    background: linear-gradient(160deg, rgba(232, 196, 118, 0.18), rgba(232, 196, 118, 0.05));
    box-shadow: 0 0 0 1px var(--gold), 0 14px 36px -14px rgba(232, 196, 118, 0.5);
}

.package-name {
    font-weight: 700;
    letter-spacing: 0.1em;
}

.package-price {
    font-size: 1.55rem;
    font-weight: 800;
    color: var(--gold-bright);
    margin: 0.4rem 0 0.15rem;
}

.package-original-price {
    color: rgba(255, 255, 255, 0.35);
    text-decoration: line-through;
}

.package-tag {
    background: linear-gradient(120deg, var(--gold), #caa055);
    color: #101826;
    border-radius: 999px;
    font-weight: 700;
    padding: 0.15rem 0.8rem;
}

/* ---- 祈愿弹窗 ---- */
.prayer-modal-content {
    max-width: 480px;
}

.prayer-summary {
    text-align: center;
    background: rgba(232, 196, 118, 0.08);
    border: 1px dashed rgba(232, 196, 118, 0.4);
    border-radius: 12px;
    padding: 0.8rem 1rem;
    margin-bottom: 1.4rem;
    font-size: 0.95rem;
}

.prayer-summary-price {
    color: var(--gold-bright);
    font-weight: 800;
    font-size: 1.05rem;
}

.prayer-modal-content .form-group {
    margin-bottom: 1.1rem;
}

.prayer-modal-content label {
    display: block;
    font-size: 0.88rem;
    color: rgba(233, 230, 222, 0.7);
    margin-bottom: 0.45rem;
    letter-spacing: 0.08em;
}

.prayer-actions {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    margin-top: 1.4rem;
}

.btn-block {
    width: 100%;
}

/* ---- 表单控件 ---- */
.form-control,
.prayer-modal-content select,
.prayer-modal-content textarea {
    width: 100%;
    background: rgba(16, 10, 36, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 10px;
    color: var(--text-primary);
    padding: 0.75rem 0.9rem;
    font-size: 0.95rem;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-control:focus,
.prayer-modal-content select:focus,
.prayer-modal-content textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 0 3px rgba(232, 196, 118, 0.15);
}

#word-count {
    display: block;
    text-align: right;
    color: rgba(255, 255, 255, 0.35);
    margin-top: 0.3rem;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    color: rgba(233, 230, 222, 0.8);
}

.checkbox-group input[type="checkbox"] {
    accent-color: var(--gold);
    width: 16px;
    height: 16px;
}

/* ---- 按钮 ---- */
.btn {
    border-radius: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    padding: 0.75rem 1.6rem;
    transition: all 0.25s ease;
}

.btn-primary {
    background: linear-gradient(120deg, #f0cf8a, var(--gold) 55%, #c99f52);
    color: #101826;
    border: none;
    box-shadow: 0 10px 26px -10px rgba(232, 196, 118, 0.6);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px -12px rgba(232, 196, 118, 0.75);
    filter: brightness(1.05);
}

.btn-secondary,
.btn-outline {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(232, 196, 118, 0.35);
    color: var(--gold-bright);
}

.btn-secondary:hover,
.btn-outline:hover {
    background: rgba(232, 196, 118, 0.12);
    border-color: var(--gold);
}

#login-btn {
    background: linear-gradient(120deg, #f0cf8a, var(--gold));
    color: #101826;
    border: none;
    font-weight: 700;
}

/* ---- 支付弹窗 ---- */
.payment-options {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin: 1.2rem 0;
}

.payment-option {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 1rem 1.2rem;
    cursor: pointer;
    transition: all 0.25s ease;
    font-size: 1rem;
}

.payment-option i {
    font-size: 1.4rem;
    color: var(--gold-bright);
    width: 2rem;
    text-align: center;
}

.payment-option small {
    margin-left: auto;
    color: rgba(255, 255, 255, 0.45);
}

.payment-option:hover {
    border-color: var(--gold);
    background: linear-gradient(160deg, rgba(232, 196, 118, 0.14), rgba(232, 196, 118, 0.03));
    transform: translateX(4px);
}

.total-amount {
    text-align: center;
    font-size: 1.05rem;
    color: rgba(233, 230, 222, 0.75);
}

/* ---- USDT 弹窗 ---- */
.crypto-address,
.crypto-amount {
    font-family: 'SF Mono', Consolas, monospace;
    font-size: 0.9rem;
    word-break: break-all;
}

.crypto-amount {
    color: var(--gold-bright);
    font-weight: 700;
    font-size: 1.1rem;
}

.crypto-value-row {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: rgba(16, 10, 36, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 0.6rem 0.8rem;
}

.btn-copy {
    flex-shrink: 0;
    padding: 0.35rem 0.8rem;
    font-size: 0.8rem;
    border-radius: 8px;
}

.crypto-qr-code {
    display: flex;
    justify-content: center;
    padding: 0.8rem;
    margin-bottom: 1rem;
}

.crypto-qr-code canvas,
.crypto-qr-code img {
    border-radius: 12px;
    box-shadow: 0 0 0 6px #fff, 0 12px 30px -8px rgba(0, 0, 0, 0.6);
}

.crypto-tip {
    font-size: 0.82rem;
    color: rgba(233, 230, 222, 0.55);
    line-height: 1.7;
    margin: 1rem 0;
}

.crypto-status {
    text-align: center;
    color: var(--gold-bright);
    font-size: 0.92rem;
}

/* ---- 滚动条 ---- */
::-webkit-scrollbar {
    width: 9px;
}

::-webkit-scrollbar-track {
    background: rgba(16, 10, 36, 0.5);
}

::-webkit-scrollbar-thumb {
    background: rgba(232, 196, 118, 0.3);
    border-radius: 999px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(232, 196, 118, 0.5);
}

/* ---- 祈福墙卡片 ---- */
.prayer-wall-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.4rem;
}

/* ---- 随机祈福语按钮 ---- */
.label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0.45rem;
}

.label-row label {
    margin-bottom: 0;
}

.btn-random-blessing {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    background: rgba(232, 196, 118, 0.1);
    border: 1px solid rgba(232, 196, 118, 0.4);
    color: var(--gold-bright, #f5d99a);
    border-radius: 999px;
    padding: 0.25rem 0.85rem;
    font-size: 0.82rem;
    cursor: pointer;
    transition: all 0.25s ease;
}

.btn-random-blessing:hover {
    background: rgba(232, 196, 118, 0.2);
    border-color: var(--gold, #e8c476);
    transform: translateY(-1px);
}

.btn-random-blessing:disabled {
    opacity: 0.55;
    cursor: wait;
}

.btn-random-blessing .random-icon {
    display: inline-block;
}

.btn-random-blessing.spinning .random-icon {
    animation: randomSpin 0.8s linear infinite;
}

@keyframes randomSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

textarea.blessing-flash {
    animation: blessingFlash 0.7s ease;
}

@keyframes blessingFlash {
    0% { border-color: var(--gold, #e8c476); box-shadow: 0 0 0 3px rgba(232, 196, 118, 0.25); }
    100% { border-color: rgba(255, 255, 255, 0.14); box-shadow: none; }
}

/* ---- v2.1 横幅底色与全站统一为海军蓝 ---- */
.banner-section {
    background: radial-gradient(circle at center, #16273e 0%, #0c1420 70%);
}

/* ---- 二维码模式切换（交易所/钱包） ---- */
.qr-mode-tabs {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-bottom: 0.8rem;
}

.qr-mode-btn {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: var(--muted, #8fa0b5);
    border-radius: 999px;
    padding: 0.35rem 1rem;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.25s ease;
}

.qr-mode-btn.active {
    background: rgba(232, 196, 118, 0.15);
    border-color: var(--gold, #e8c476);
    color: var(--gold-bright, #f5d99a);
    font-weight: 700;
}

.crypto-scan-tip {
    text-align: center;
    font-size: 0.78rem;
    color: rgba(233, 230, 222, 0.55);
    line-height: 1.6;
    margin: 0 0 0.6rem;
    padding: 0 0.4rem;
}

/* ---- 页脚 ---- */
.site-footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(232, 196, 118, 0.18);
    background: rgba(10, 16, 26, 0.6);
    padding: 2.2rem 1.5rem 2.6rem;
    margin-top: 3rem;
}

.footer-inner {
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

.footer-brand {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--gold-bright, #f5d99a);
    margin-bottom: 0.9rem;
}

.footer-text {
    font-size: 0.84rem;
    line-height: 1.9;
    color: rgba(233, 230, 222, 0.55);
    margin-bottom: 0.7rem;
}

.footer-text.muted {
    color: rgba(233, 230, 222, 0.38);
    letter-spacing: 0.3em;
}

.footer-copy {
    font-size: 0.75rem;
    color: rgba(233, 230, 222, 0.3);
    margin-top: 1rem;
}

/* ==================== 敲木鱼·功德 ==================== */
.muyu-section { padding-top: 6rem; }

.muyu-stats {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    flex-wrap: wrap;
    margin-bottom: 1.4rem;
}

.muyu-stat {
    background: linear-gradient(160deg, rgba(255,255,255,0.07), rgba(255,255,255,0.02));
    border: 1px solid rgba(232, 196, 118, 0.18);
    border-radius: 14px;
    padding: 0.9rem 1.6rem;
    text-align: center;
    min-width: 150px;
}

.muyu-stat .num { font-size: 1.5rem; font-weight: 800; color: var(--gold-bright, #f5d99a); }
.muyu-stat .lbl { font-size: 0.78rem; color: var(--muted, #8fa0b5); margin-top: 0.15rem; }

.muyu-tip {
    text-align: center;
    font-size: 0.85rem;
    color: rgba(233, 230, 222, 0.55);
    margin-bottom: 1.6rem;
}

.muyu-stage {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.4rem;
    padding-bottom: 2rem;
}

.muyu-body {
    width: 210px;
    height: 210px;
    border-radius: 50%;
    cursor: pointer;
    user-select: none;
    -webkit-user-select: none;
    touch-action: manipulation;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    background:
        radial-gradient(circle at 32% 28%, #f7e3b0 0%, #d9ab54 38%, #a5762c 72%, #7c531d 100%);
    box-shadow:
        0 22px 50px -16px rgba(0, 0, 0, 0.7),
        0 0 40px rgba(232, 196, 118, 0.28),
        inset 0 -10px 24px rgba(0, 0, 0, 0.35),
        inset 0 6px 16px rgba(255, 240, 200, 0.35);
    border: 2px solid rgba(255, 230, 170, 0.45);
    transition: transform 0.08s ease;
}

.muyu-body .muyu-face {
    font-size: 3.2rem;
    line-height: 1;
    filter: drop-shadow(0 3px 6px rgba(0,0,0,0.35));
}

.muyu-body .muyu-label {
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.5em;
    text-indent: 0.5em;
    color: #5b3d12;
    text-shadow: 0 1px 0 rgba(255, 235, 190, 0.5);
}

.muyu-body.strike {
    animation: muyuStrike 0.16s ease;
}

@keyframes muyuStrike {
    0% { transform: scale(0.94); }
    55% { transform: scale(1.045); box-shadow: 0 14px 40px -14px rgba(0,0,0,0.65), 0 0 60px rgba(232,196,118,0.55); }
    100% { transform: scale(1); }
}

.muyu-float {
    position: absolute;
    top: 10px;
    left: 50%;
    width: 300px;
    height: 200px;
    transform: translateX(-50%);
    pointer-events: none;
    overflow: visible;
}

.muyu-plus1 {
    position: absolute;
    top: 100%;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--gold-bright, #f5d99a);
    text-shadow: 0 2px 10px rgba(232, 196, 118, 0.6);
    animation: muyuFloatUp 1.05s ease-out forwards;
    white-space: nowrap;
}

@keyframes muyuFloatUp {
    0% { opacity: 0; transform: translateY(6px); }
    25% { opacity: 1; }
    100% { opacity: 0; transform: translateY(-58px); }
}

.muyu-redeem-btn {
    padding: 0.85rem 2.6rem;
    font-size: 1rem;
    letter-spacing: 0.2em;
}

.merit-seconds-row {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    flex-wrap: wrap;
}

.merit-sec-chip {
    background: rgba(232, 196, 118, 0.1);
    border: 1px solid rgba(232, 196, 118, 0.35);
    color: var(--gold-bright, #f5d99a);
    border-radius: 999px;
    padding: 0.3rem 0.9rem;
    font-size: 0.82rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.merit-sec-chip:hover {
    background: rgba(232, 196, 118, 0.2);
    border-color: var(--gold, #e8c476);
}
