:root {
    /* 主色调 */
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: #1a1a24;
    --text-primary: #e8e8f0;
    --text-secondary: #a0a0b0;
    --accent-gold: #ffd700;
    --accent-green: #00ff88;
    --accent-blue: #00aaff;
    --accent-purple: #aa66ff;
    --border-color: #2a2a3a;
    
    /* 字体 */
    --font-display: 'Noto Serif SC', serif;
    --font-mono: 'Space Mono', monospace;
    
    /* 间距 */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-xxl: 3rem;
    
    /* 圆角 */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 20px;
    
    /* 阴影 */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px rgba(255, 215, 0, 0.2);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-display);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* 背景效果 */
.background-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: var(--accent-gold);
    border-radius: 50%;
    opacity: 0;
    animation: float-particle 15s infinite linear;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { left: 20%; animation-delay: 2s; }
.particle:nth-child(3) { left: 30%; animation-delay: 4s; }
.particle:nth-child(4) { left: 40%; animation-delay: 6s; }
.particle:nth-child(5) { left: 50%; animation-delay: 8s; }
.particle:nth-child(6) { left: 60%; animation-delay: 10s; }
.particle:nth-child(7) { left: 70%; animation-delay: 12s; }
.particle:nth-child(8) { left: 80%; animation-delay: 14s; }

@keyframes float-particle {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    90% {
        opacity: 0.6;
    }
    100% {
        transform: translateY(-100vh) rotate(720deg);
        opacity: 0;
    }
}

/* 头部 */
.header {
    padding: var(--spacing-sm) var(--spacing-lg);
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    background: linear-gradient(180deg, rgba(26, 26, 36, 0.8) 0%, rgba(10, 10, 15, 0.9) 100%);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

/* 恐惧贪婪指数 */
.header-indicators {
    position: absolute;
    right: var(--spacing-lg);
    display: flex;
    gap: var(--spacing-md);
}

.ahr999-index,
.fear-greed-index {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: var(--spacing-xs) var(--spacing-md);
    background: rgba(0, 0, 0, 0.3);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.ahr999-index .index-value {
    color: var(--accent-blue);
}

.fear-greed-index .index-value {
    color: var(--accent-gold);
}

.index-label {
    font-size: 0.65rem;
    color: var(--text-secondary);
    font-family: var(--font-mono);
    letter-spacing: 0.05em;
}

.index-value {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: var(--font-mono);
    color: var(--accent-gold);
    line-height: 1;
}

.lang-toggle {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-family: var(--font-mono);
    font-size: 0.75rem;
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    align-self: flex-end;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='6'%3E%3Cpath d='M0 0l4 6 4-6z' fill='%23888'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 6px center;
    padding-right: 20px;
}
.lang-toggle:hover, .lang-toggle:focus {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}
.lang-toggle option {
    background: #1a1a2e;
    color: var(--text-primary);
}

/* 钱包连接 */
.wallet-lang-group {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}
.wallet-section {
    position: relative;
}
.wallet-connect-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: var(--radius-md);
    background: rgba(255, 215, 0, 0.08);
    color: var(--accent-gold);
    font-size: 0.8rem;
    font-family: var(--font-serif);
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}
.wallet-connect-btn:hover {
    border-color: var(--accent-gold);
    background: rgba(255, 215, 0, 0.15);
}
.wallet-icon { font-size: 1rem; }
.wallet-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 6px;
    background: #16213e;
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: var(--radius-md);
    overflow: hidden;
    z-index: 100;
    min-width: 160px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}
.wallet-dropdown-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    cursor: pointer;
    transition: background 0.2s;
    font-size: 0.85rem;
    color: var(--text-primary);
}
.wallet-dropdown-item:hover {
    background: rgba(255, 215, 0, 0.1);
    color: var(--accent-gold);
}
.wallet-dropdown-item .chain-icon {
    font-weight: bold;
    color: var(--accent-gold);
    width: 28px;
    text-align: center;
}
.wallet-info {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: var(--radius-md);
    background: rgba(255, 215, 0, 0.08);
    font-size: 0.8rem;
    font-family: var(--font-mono);
    color: var(--accent-gold);
    white-space: nowrap;
}
.wallet-chain-badge {
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(255, 215, 0, 0.2);
    font-size: 0.7rem;
    font-weight: bold;
    text-transform: uppercase;
}
.wallet-address {
    color: var(--text-secondary);
    font-size: 0.78rem;
}
.wallet-fortune {
    display: block;
    margin-top: 4px;
    padding: 2px 8px;
    border-radius: 4px;
    background: rgba(255, 215, 0, 0.2);
    color: var(--accent-gold);
    font-size: 0.7rem;
    font-weight: bold;
    white-space: nowrap;
    width: fit-content;
}
.wallet-disconnect-btn {
    padding: 2px 8px;
    border: 1px solid rgba(255, 100, 100, 0.3);
    border-radius: 4px;
    background: rgba(255, 100, 100, 0.1);
    color: #ff6b6b;
    font-size: 0.7rem;
    cursor: pointer;
    transition: all 0.2s;
}
.wallet-disconnect-btn:hover {
    background: rgba(255, 100, 100, 0.2);
    border-color: #ff6b6b;
}

.index-status {
    font-size: 0.7rem;
    font-family: var(--font-mono);
    padding: 2px 6px;
    border-radius: var(--radius-sm);
    background: rgba(255, 215, 0, 0.2);
    color: var(--accent-gold);
}

.logo-symbol {
    font-size: 3rem;
    color: var(--accent-gold);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% {
        text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    }
    50% {
        text-shadow: 0 0 20px rgba(255, 215, 0, 0.8), 0 0 30px rgba(255, 215, 0, 0.4);
    }
}

.logo h1 {
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    background: linear-gradient(135deg, var(--accent-gold), #ffaa00, var(--accent-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    margin: 0;
}

.subtitle {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
    margin: 0;
}

/* 主要内容 */
.main-content {
    padding: var(--spacing-xxl) var(--spacing-lg);
    max-width: 1400px;
    margin: 0 auto;
}

/* 敬拜选择部分 */
.shrine-selection {
    margin-bottom: var(--spacing-xxl);
}

.shrine-selection h2 {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: var(--spacing-xl);
    color: var(--accent-gold);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.content-container {
    display: flex;
    gap: var(--spacing-xl);
}

.left-panel {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.deities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--spacing-lg);
}

/* 推文面板 */
.tweets-panel {
    width: 320px;
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    max-height: 600px;
}

.tweets-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) var(--spacing-lg);
    border-bottom: 1px solid var(--border-color);
    background: linear-gradient(90deg, rgba(255, 215, 0, 0.08), transparent);
}

.tweets-header h3 {
    font-size: 1rem;
    color: var(--accent-gold);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.tweets-header h3::before {
    content: '📰';
    font-size: 0.85rem;
}

.tweets-source {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--accent-green);
    background: rgba(0, 200, 83, 0.1);
    padding: 2px 8px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    gap: 4px;
}

.tweets-source::before {
    content: '';
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-green);
    animation: pulse-dot 1.5s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.tweets-list {
    flex: 1;
    overflow-y: auto;
    padding: var(--spacing-xs);
}

.tweets-list::-webkit-scrollbar {
    width: 6px;
}

.tweets-list::-webkit-scrollbar-track {
    background: var(--bg-secondary);
    border-radius: 3px;
}

.tweets-list::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 3px;
}

.tweets-list::-webkit-scrollbar-thumb:hover {
    background: var(--accent-gold);
}

/* 快讯卡片（新闻样式） */
.news-card {
    padding: var(--spacing-md);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    transition: all 0.25s ease;
    cursor: pointer;
    position: relative;
}

.news-card:hover {
    background: rgba(255, 215, 0, 0.04);
    padding-left: calc(var(--spacing-md) + 3px);
    border-left: 3px solid var(--accent-gold);
}

.news-card:last-child {
    border-bottom: none;
}

.news-source {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--accent-green);
    font-weight: 600;
    margin-bottom: 4px;
    font-family: var(--font-mono);
}

.news-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-summary {
    font-size: 0.75rem;
    color: var(--text-secondary);
    line-height: 1.4;
    margin-bottom: 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-footer {
    display: flex;
    justify-content: flex-end;
}

.news-read-more {
    font-size: 0.7rem;
    color: var(--accent-blue);
    opacity: 0.7;
    transition: opacity 0.2s;
    display: flex;
    align-items: center;
    gap: 4px;
}

.news-read-more::after {
    content: '→';
    transition: transform 0.2s;
}

.news-card:hover .news-read-more {
    opacity: 1;
}

.news-card:hover .news-read-more::after {
    transform: translateX(3px);
}

/* 求签区域 */
.fortune-section {
    width: 100%;
    margin-top: var(--spacing-lg);
}

.fortune-row {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: var(--spacing-lg);
}

.fortune-side {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
}

.fortune-left {
    align-items: stretch;
}

.fortune-right {
    align-items: stretch;
}

.price-card, .zen-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.price-label, .zen-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-xs);
    font-family: var(--font-mono);
}

.price-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent-gold);
    font-family: var(--font-mono);
}

.price-change {
    font-size: 0.8rem;
    font-family: var(--font-mono);
    margin-top: var(--spacing-xs);
}

.price-change.up {
    color: var(--accent-green);
}

.price-change.down {
    color: #ff6b6b;
}

.zen-text {
    font-size: 0.9rem;
    color: var(--text-primary);
    line-height: 1.6;
    font-style: italic;
    margin-bottom: var(--spacing-sm);
}

.zen-author {
    font-size: 0.7rem;
    color: var(--text-secondary);
}

.fortune-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-md);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
}

.fortune-bucket {
    width: 80px;
    height: 120px;
    background: linear-gradient(135deg, #8b4513, #a0522d, #8b4513);
    border-radius: 10px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

.fortune-bucket:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(139, 69, 19, 0.5);
}

.fortune-bucket::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 15px;
    background: linear-gradient(180deg, #daa520, #b8860b);
    border-radius: 10px 10px 0 0;
}

.fortune-sticks {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 4px;
}

.fortune-stick {
    width: 4px;
    height: 60px;
    background: linear-gradient(135deg, #f5deb3, #deb887);
    border-radius: 2px;
    transition: transform 0.3s ease;
}

.fortune-bucket.shaking:hover .fortune-stick { transform: none !important; }
.fortune-bucket.shaking .fortune-label {
    font-size: 0.7rem;
    color: #ffd700;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.6);
    animation: pulse 0.6s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

.fortune-bucket:hover .fortune-stick:nth-child(1) {
    transform: rotate(-5deg) translateY(-3px);
}

.fortune-bucket:hover .fortune-stick:nth-child(2) {
    transform: rotate(-2deg) translateY(-5px);
}

.fortune-bucket:hover .fortune-stick:nth-child(3) {
    transform: rotate(0deg) translateY(-7px);
}

.fortune-bucket:hover .fortune-stick:nth-child(4) {
    transform: rotate(2deg) translateY(-5px);
}

.fortune-bucket:hover .fortune-stick:nth-child(5) {
    transform: rotate(5deg) translateY(-3px);
}

/* 摇签动画 */
.fortune-bucket.shaking {
    animation: fortuneShake 0.15s ease-in-out infinite;
    pointer-events: none;
}
.fortune-bucket.shaking .fortune-stick {
    animation: stickShake 0.12s ease-in-out infinite;
}
.fortune-bucket.shaking .fortune-stick:nth-child(1) { animation-delay: 0s; }
.fortune-bucket.shaking .fortune-stick:nth-child(2) { animation-delay: 0.02s; }
.fortune-bucket.shaking .fortune-stick:nth-child(3) { animation-delay: 0.04s; }
.fortune-bucket.shaking .fortune-stick:nth-child(4) { animation-delay: 0.06s; }
.fortune-bucket.shaking .fortune-stick:nth-child(5) { animation-delay: 0.08s; }

@keyframes fortuneShake {
    0%   { transform: rotate(0deg) translateY(0); }
    5%   { transform: rotate(-6deg) translateY(-3px); }
    10%  { transform: rotate(5deg) translateY(-5px); }
    15%  { transform: rotate(-7deg) translateY(-2px); }
    20%  { transform: rotate(6deg) translateY(-6px); }
    25%  { transform: rotate(-5deg) translateY(-3px); }
    30%  { transform: rotate(8deg) translateY(-7px); }
    35%  { transform: rotate(-6deg) translateY(-4px); }
    40%  { transform: rotate(4deg) translateY(-6px); }
    45%  { transform: rotate(-8deg) translateY(-2px); }
    50%  { transform: rotate(7deg) translateY(-5px); }
    55%  { transform: rotate(-4deg) translateY(-7px); }
    60%  { transform: rotate(6deg) translateY(-3px); }
    65%  { transform: rotate(-7deg) translateY(-5px); }
    70%  { transform: rotate(5deg) translateY(-2px); }
    75%  { transform: rotate(-6deg) translateY(-6px); }
    80%  { transform: rotate(3deg) translateY(-4px); }
    85%  { transform: rotate(-5deg) translateY(-7px); }
    90%  { transform: rotate(4deg) translateY(-3px); }
    95%  { transform: rotate(-3deg) translateY(-2px); }
    100% { transform: rotate(0deg) translateY(0); }
}

@keyframes stickShake {
    0%, 100% { transform: rotate(0deg) translateY(0); }
    25%  { transform: rotate(-4deg) translateY(-4px); }
    75%  { transform: rotate(4deg) translateY(-2px); }
}

.fortune-label {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.7rem;
    color: #ffd700;
    white-space: nowrap;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.fortune-remaining {
    text-align: center;
    font-size: 0.7rem;
    color: var(--text-secondary);
    margin-top: var(--spacing-sm);
    min-height: 1.2em;
    transition: color 0.3s;
}

.fortune-remaining.exhausted {
    color: #ff4444;
}

.fortune-result {
    text-align: center;
    padding: var(--spacing-lg);
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    max-width: 280px;
    animation: fadeIn 0.5s ease, glowPulse 2s ease-in-out 0.5s infinite;
}

@keyframes glowPulse {
    0%, 100% { box-shadow: 0 0 8px rgba(255, 215, 0, 0.15); }
    50% { box-shadow: 0 0 20px rgba(255, 215, 0, 0.35); }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.fortune-type {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: var(--spacing-sm);
    text-shadow: 0 0 10px currentColor;
}

.fortune-type.great {
    color: #00ff88;
}

.fortune-type.good {
    color: #ffd700;
}

.fortune-type.normal {
    color: #00aaff;
}

.fortune-type.bad {
    color: #ff6b6b;
}

.fortune-text {
    font-size: 0.9rem;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
    font-style: italic;
}

.fortune-advice {
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    padding: var(--spacing-sm);
    background: rgba(255, 215, 0, 0.1);
    border-radius: var(--radius-sm);
}

.fortune-again {
    background: transparent;
    border: 1px solid var(--accent-gold);
    color: var(--accent-gold);
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-sm);
    font-family: var(--font-display);
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.fortune-again:hover {
    background: var(--accent-gold);
    color: var(--bg-primary);
}

.deity-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.deity-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.05) 0%, rgba(0, 255, 136, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.deity-card:hover {
    transform: translateY(-5px);
    border-color: var(--accent-gold);
    box-shadow: var(--shadow-glow);
}

.deity-card:hover::before {
    opacity: 1;
}

.deity-icon {
    width: 60px;
    height: 60px;
    margin-bottom: var(--spacing-sm);
    color: var(--accent-gold);
    position: relative;
    z-index: 1;
}

.deity-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.3));
}

.deity-card h3 {
    font-size: 1rem;
    margin-bottom: var(--spacing-xs);
    color: var(--text-primary);
    position: relative;
    z-index: 1;
}

.deity-title {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-sm);
    position: relative;
    z-index: 1;
}

/* 香炉容器 */
.shrine-container {
    width: 100%;
    height: 100px;
    margin-bottom: var(--spacing-sm);
    position: relative;
    z-index: 1;
}

.incense-holder {
    width: 100%;
    height: 100%;
    position: relative;
    cursor: pointer;
}

/* 香炉设计 */
.incense-pot {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 55px;
}

.incense-pot-base {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 10px;
    background: linear-gradient(135deg, #8b4513, #a0522d, #8b4513);
    border-radius: 0 0 8px 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4), inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.incense-pot-body {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 35px;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255, 215, 0, 0.3) 0%, transparent 20%),
        radial-gradient(circle at 80% 30%, rgba(255, 215, 0, 0.3) 0%, transparent 20%),
        radial-gradient(circle at 50% 70%, rgba(255, 215, 0, 0.2) 0%, transparent 30%),
        linear-gradient(135deg, #cd853f, #deb887, #cd853f);
    border-radius: 8px 8px 0 0;
    box-shadow: 
        inset 0 2px 4px rgba(255, 255, 255, 0.3),
        inset 0 -2px 4px rgba(0, 0, 0, 0.2),
        0 4px 8px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

.incense-pot-body::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 35px;
    height: 35px;
    background: 
        radial-gradient(circle at center, transparent 8px, rgba(218, 165, 32, 0.4) 8px, rgba(218, 165, 32, 0.4) 10px, transparent 10px),
        radial-gradient(circle at center, transparent 14px, rgba(218, 165, 32, 0.3) 14px, rgba(218, 165, 32, 0.3) 16px, transparent 16px);
    border-radius: 50%;
    box-shadow: 0 0 12px rgba(218, 165, 32, 0.5);
}

.incense-pot-body::after {
    content: '卍';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 18px;
    color: rgba(218, 165, 32, 0.7);
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.6);
}

.buddha-incense .incense-pot-body::after {
    content: '☸';
}

.tao-incense .incense-pot-body::after {
    content: '☯';
}

.incense-pot-rim {
    position: absolute;
    bottom: 45px;
    left: 50%;
    transform: translateX(-50%);
    width: 75px;
    height: 10px;
    background: linear-gradient(180deg, #ffd700 0%, #daa520 50%, #b8860b 100%);
    border-radius: 4px 4px 0 0;
    box-shadow: 0 -2px 4px rgba(255, 215, 0, 0.4), inset 0 2px 2px rgba(255, 255, 255, 0.4);
    overflow: hidden;
}

.incense-pot-rim::before {
    content: '';
    position: absolute;
    top: 3px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
}

.incense-pot-rim::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139, 69, 19, 0.4), transparent);
}

/* 香 */
.incense-sticks {
    position: absolute;
    bottom: 50px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 40px;
    display: flex;
    justify-content: center;
    gap: 5px;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.incense-stick {
    width: 2px;
    height: 35px;
    background: linear-gradient(135deg, #8b4513, #a0522d);
    border-radius: 1px;
    position: relative;
    transform-origin: bottom center;
    animation: sway 3s ease-in-out infinite;
}

.incense-stick.lit {
    height: 35px;
    animation: sway 3s ease-in-out infinite;
}

.incense-stick::after {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: #ff4500;
    border-radius: 50%;
    box-shadow: 0 0 10px #ff4500, 0 0 20px #ff6600;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.incense-stick.lit::after {
    opacity: 1;
    animation: glow 1.5s ease-in-out infinite;
}

@keyframes sway {
    0%, 100% {
        transform: rotate(-2deg);
    }
    50% {
        transform: rotate(2deg);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 10px #ff4500, 0 0 20px #ff6600;
    }
    50% {
        box-shadow: 0 0 15px #ff4500, 0 0 25px #ff6600, 0 0 35px #ff8800;
    }
}

/* 烟雾效果 */
.smoke-container {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 60px;
    pointer-events: none;
}

.smoke-particle {
    position: absolute;
    bottom: 0;
    width: 8px;
    height: 8px;
    background: rgba(200, 200, 200, 0.6);
    border-radius: 50%;
    filter: blur(3px);
    opacity: 0;
    animation: rise-smoke 4s ease-out infinite;
}

.smoke-particle:nth-child(1) { left: 30%; animation-delay: 0s; }
.smoke-particle:nth-child(2) { left: 50%; animation-delay: 0.5s; }
.smoke-particle:nth-child(3) { left: 70%; animation-delay: 1s; }
.smoke-particle:nth-child(4) { left: 40%; animation-delay: 1.5s; }
.smoke-particle:nth-child(5) { left: 60%; animation-delay: 2s; }

@keyframes rise-smoke {
    0% {
        transform: translateY(0) scale(1);
        opacity: 0;
    }
    10% {
        opacity: 0.6;
    }
    50% {
        transform: translateY(-50px) scale(1.5) translateX(10px);
        opacity: 0.4;
    }
    100% {
        transform: translateY(-100px) scale(2) translateX(-10px);
        opacity: 0;
    }
}

/* 蜡烛（上帝专属） */
.candle-holder {
    width: 100%;
    height: 100%;
    position: relative;
}

.candle-base {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 10px;
    background: linear-gradient(135deg, #8b7355, #a0926b, #8b7355);
    border-radius: 0 0 6px 6px;
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.4);
    z-index: 2;
}

.candle-body {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 22px;
    height: 45px;
    background: linear-gradient(135deg, #fff8dc, #faebd7, #fff8dc);
    border-radius: 3px 3px 0 0;
    box-shadow:
        inset -3px 0 6px rgba(0, 0, 0, 0.08),
        inset 3px 0 6px rgba(255, 255, 255, 0.5),
        0 0 15px rgba(255, 200, 100, 0.15);
    z-index: 2;
}

.candle-drip {
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 12px;
    background: linear-gradient(180deg, #fff8dc, #f5deb3);
    border-radius: 0 0 3px 3px;
    opacity: 0.7;
}

.candle-wick {
    position: absolute;
    bottom: 55px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 8px;
    background: linear-gradient(180deg, #2a2a2a, #1a1a1a);
    z-index: 3;
}

.candle-flame {
    position: absolute;
    bottom: 61px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 18px;
    background: radial-gradient(ellipse at center bottom, #fff 0%, #ffdd57 30%, #ff9500 60%, #ff4500 90%, transparent 100%);
    border-radius: 50% 50% 50% 50% / 70% 70% 30% 30%;
    z-index: 4;
    animation: flicker 0.8s ease-in-out infinite alternate;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.candle-flame::before {
    content: '';
    position: absolute;
    width: 6px;
    height: 10px;
    background: radial-gradient(ellipse at center bottom, rgba(255, 255, 255, 0.9), rgba(255, 230, 100, 0.4), transparent);
    border-radius: 50% 50% 50% 50% / 70% 70% 30% 30%;
    top: 4px;
    left: 50%;
    transform: translateX(-50%);
}

.candle-glow {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
    background: radial-gradient(circle, rgba(255, 200, 100, 0.25) 0%, rgba(255, 150, 50, 0.1) 40%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    animation: glow-pulse 2s ease-in-out infinite alternate;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.candle-holder .smoke-container {
    bottom: 70px;
}

@keyframes flicker {
    0% {
        transform: scaleY(1) scaleX(1) rotate(-1deg);
        opacity: 1;
    }
    25% {
        transform: scaleY(1.05) scaleX(0.95) rotate(1deg);
        opacity: 0.95;
    }
    50% {
        transform: scaleY(0.95) scaleX(1.02) rotate(-0.5deg);
        opacity: 1;
    }
    75% {
        transform: scaleY(1.03) scaleX(0.98) rotate(0.5deg);
        opacity: 0.97;
    }
    100% {
        transform: scaleY(0.98) scaleX(1.01) rotate(1deg);
        opacity: 0.93;
    }
}

@keyframes glow-pulse {
    0% { opacity: 0.6; transform: translateX(-50%) scale(1); }
    100% { opacity: 1; transform: translateX(-50%) scale(1.1); }
}

/* 矿机/显卡（中本聪专属） */
.miner-holder {
    width: 100%;
    height: 100%;
    position: relative;
}

.miner-gpu {
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 50px;
}

.gpu-body {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 40px;
    background: linear-gradient(135deg, #2c2c2c, #3a3a3a, #2c2c2c);
    border-radius: 4px;
    box-shadow:
        inset 0 2px 4px rgba(255, 255, 255, 0.1),
        inset 0 -2px 4px rgba(0, 0, 0, 0.3),
        0 4px 12px rgba(0, 0, 0, 0.5);
    z-index: 2;
    overflow: hidden;
}

.gpu-body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #1a1a1a, #444, #1a1a1a);
}

.gpu-logo {
    position: absolute;
    top: 50%;
    left: 12px;
    transform: translateY(-50%);
    font-size: 14px;
    font-weight: bold;
    color: #f7931a;
    text-shadow: 0 0 8px rgba(247, 147, 26, 0.6);
}

.gpu-led {
    position: absolute;
    top: 5px;
    right: 6px;
    width: 5px;
    height: 5px;
    background: #00ff00;
    border-radius: 50%;
    box-shadow: 0 0 6px #00ff00, 0 0 12px #00ff00;
    animation: led-blink 1.5s ease-in-out infinite;
}

.gpu-fan {
    position: absolute;
    bottom: 5px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: radial-gradient(circle, #555 30%, #333 60%, #222 100%);
    box-shadow:
        inset 0 0 4px rgba(0, 0, 0, 0.5),
        0 0 6px rgba(0, 0, 0, 0.3);
    z-index: 3;
}

.gpu-fan-left {
    left: 20px;
    animation: spin-fan 0.6s linear infinite;
}

.gpu-fan-right {
    right: 6px;
    animation: spin-fan 0.6s linear infinite;
    animation-direction: reverse;
}

.fan-blade {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 12px;
    height: 3px;
    background: linear-gradient(90deg, #777, #999, #777);
    border-radius: 1px;
    transform-origin: 0% 50%;
}

.fan-blade:nth-child(1) { transform: rotate(0deg); }
.fan-blade:nth-child(2) { transform: rotate(120deg); }
.fan-blade:nth-child(3) { transform: rotate(240deg); }

.fan-hub {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, #888, #555);
    border-radius: 50%;
    z-index: 4;
}

.miner-glow {
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 60px;
    background: radial-gradient(ellipse, rgba(0, 200, 255, 0.15) 0%, rgba(0, 150, 255, 0.05) 50%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 1;
}

.miner-holder .smoke-container {
    bottom: 55px;
}

@keyframes spin-fan {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes led-blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.4; }
}

/* 上香按钮 */
.worship-btn {
    background: linear-gradient(135deg, var(--accent-gold), #ffaa00);
    color: var(--bg-primary);
    border: none;
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-sm);
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.worship-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.worship-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

.worship-btn:hover::before {
    left: 100%;
}

.worship-btn:active {
    transform: translateY(0);
}

/* 祈福页（全屏） */
.worship-page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.worship-page.active {
    opacity: 1;
    visibility: visible;
}

.worship-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* 佛祖背景：金色莲花 */
#worship-buddha .worship-bg {
    background: radial-gradient(ellipse at center bottom, #2a1a0a 0%, #1a0f05 50%, #0d0800 100%);
}
#worship-buddha .worship-bg::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(circle at 20% 80%, rgba(255, 215, 0, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(255, 215, 0, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 50% 20%, rgba(255, 200, 100, 0.04) 0%, transparent 50%);
}
#worship-buddha .worship-bg::after {
    content: '☸';
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 120px;
    color: rgba(218, 165, 32, 0.06);
    animation: slow-rotate 30s linear infinite;
}

/* --- 大日如来佛光 --- */
.buddha-light {
    position: absolute;
    top: 12%;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 2.5s ease 0.3s;
}
#worship-buddha.active .buddha-light { opacity: 1; }

.light-ray {
    position: absolute;
    top: 50%; left: 50%;
    width: 250px;
    height: 3px;
    transform-origin: 0 50%;
    transform: rotate(var(--a));
    background: linear-gradient(90deg, rgba(255,215,0,0.35), rgba(255,200,100,0.12), transparent);
    filter: blur(3px);
    animation: ray-pulse-b 5s ease-in-out infinite alternate;
}
.light-ray:nth-child(odd) { animation-delay: 0.5s; height: 2px; }
.light-ray:nth-child(3n) { animation-delay: 1s; width: 200px; }

@keyframes ray-pulse-b {
    0% { opacity: 0.4; }
    100% { opacity: 1; }
}

/* --- 金色莲花（缓绽放）--- */
.lotus-throne {
    position: absolute;
    top: 22%;
    left: 50%;
    transform: translateX(-50%);
    width: 320px;
    height: 240px;
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 2s ease 0.5s;
    filter: drop-shadow(0 0 20px rgba(255,215,0,0.2));
}
#worship-buddha.active .lotus-throne { opacity: 1; }
.lotus-svg { width: 100%; height: 100%; }

.lotus-petals {
    transform-origin: 200px 180px;
}
.lotus-back {
    animation: lotus-bloom-back 6s ease-in-out infinite alternate;
}
.lotus-mid {
    animation: lotus-bloom-mid 5s ease-in-out infinite alternate;
    animation-delay: 0.5s;
}
.lotus-front {
    animation: lotus-bloom-front 4s ease-in-out infinite alternate;
    animation-delay: 1s;
}

@keyframes lotus-bloom-back {
    0% { transform: scale(0.92) rotate(-2deg); opacity: 0.4; }
    100% { transform: scale(1) rotate(0deg); opacity: 0.55; }
}
@keyframes lotus-bloom-mid {
    0% { transform: scale(0.95) rotate(-1deg); opacity: 0.55; }
    100% { transform: scale(1.02) rotate(1deg); opacity: 0.7; }
}
@keyframes lotus-bloom-front {
    0% { transform: scale(0.97) rotate(0deg); opacity: 0.7; }
    100% { transform: scale(1.03) rotate(1.5deg); opacity: 0.85; }
}

/* --- 佛祖端坐莲台 --- */
.buddha-figure {
    position: absolute;
    top: 12%;
    left: 50%;
    transform: translateX(-50%);
    width: 240px;
    height: 320px;
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    transition: opacity 2.5s ease 0.8s;
    filter: drop-shadow(0 0 25px rgba(255,215,0,0.15));
}
#worship-buddha.active .buddha-figure { opacity: 1; }
.buddha-svg { width: 100%; height: 100%; }

/* --- 菩提叶与曼陀罗花雨 --- */
.petal-rain {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.petal {
    position: absolute;
    top: -40px;
    left: var(--x);
    width: 24px;
    height: 24px;
    opacity: 0;
    animation: petal-fall var(--d) ease-in-out var(--delay) infinite;
}

/* 菩提叶 */
.petal-leaf {
    width: 22px;
    height: 28px;
}
.petal-leaf::before {
    content: '';
    position: absolute;
    width: 22px;
    height: 28px;
    background: rgba(180, 140, 60, 0.55);
    border-radius: 50% 50% 50% 0;
    transform: rotate(var(--r)) scale(var(--scale));
    box-shadow: 0 0 8px rgba(180, 140, 60, 0.3);
}
.petal-leaf::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 50%;
    width: 1px;
    height: 20px;
    background: rgba(160, 120, 40, 0.4);
    transform: rotate(calc(var(--r) * 0.3));
    transform-origin: top center;
}

/* 曼陀罗花 */
.petal-flower {
    width: 20px;
    height: 20px;
}
.petal-flower::before {
    content: '';
    position: absolute;
    top: 2px; left: 2px;
    width: 16px;
    height: 16px;
    background:
        radial-gradient(circle at 50% 30%, rgba(255, 220, 180, 0.7) 0%, transparent 45%),
        radial-gradient(circle at 30% 60%, rgba(255, 180, 200, 0.4) 0%, transparent 40%),
        radial-gradient(circle at 70% 60%, rgba(200, 180, 255, 0.4) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(255, 200, 150, 0.6) 0%, transparent 35%);
    border-radius: 50%;
    transform: rotate(var(--r)) scale(var(--scale));
    box-shadow: 0 0 10px rgba(255, 200, 180, 0.3);
}
.petal-flower::after {
    content: '';
    position: absolute;
    top: 6px; left: 6px;
    width: 8px;
    height: 8px;
    background: radial-gradient(circle, rgba(255, 200, 100, 0.6) 0%, transparent 70%);
    border-radius: 50%;
    transform: scale(var(--scale));
}

@keyframes petal-fall {
    0% {
        transform: translateY(0) translateX(0) rotate(0deg);
        opacity: 0;
    }
    5% {
        opacity: 0.8;
    }
    50% {
        transform: translateY(50vh) translateX(30px) rotate(180deg);
        opacity: 0.7;
    }
    95% {
        opacity: 0.3;
    }
    100% {
        transform: translateY(105vh) translateX(-20px) rotate(360deg);
        opacity: 0;
    }
}

/* --- 白雾缭绕（西方极乐净土） --- */
.pure-mist {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 40%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

.mist-layer {
    position: absolute;
    bottom: 0;
    left: -10%;
    width: 120%;
    border-radius: 50%;
}

.mist-1 {
    height: 80px;
    bottom: 5%;
    background: radial-gradient(ellipse, rgba(255, 240, 220, 0.1) 0%, transparent 70%);
    filter: blur(20px);
    animation: mist-drift 12s ease-in-out infinite alternate;
}
.mist-2 {
    height: 60px;
    bottom: 0;
    background: radial-gradient(ellipse, rgba(255, 235, 210, 0.12) 0%, transparent 65%);
    filter: blur(25px);
    animation: mist-drift 15s ease-in-out infinite alternate-reverse;
}
.mist-3 {
    height: 100px;
    bottom: 8%;
    background: radial-gradient(ellipse, rgba(255, 245, 230, 0.07) 0%, transparent 75%);
    filter: blur(30px);
    animation: mist-drift 18s ease-in-out infinite alternate;
    animation-delay: 3s;
}

@keyframes mist-drift {
    0% { transform: translateX(-5%) scaleX(1); opacity: 0.6; }
    100% { transform: translateX(5%) scaleX(1.08); opacity: 1; }
}

#worship-buddha .worship-content { color: #ffd700; z-index: 3; }
#worship-buddha .form-group textarea,
#worship-buddha .form-group input { border-color: rgba(218, 165, 32, 0.3); }
#worship-buddha .form-group textarea:focus,
#worship-buddha .form-group input:focus { border-color: #daa520; }

/* 道祖背景：山水云雾 */
#worship-tao .worship-bg {
    background: radial-gradient(ellipse at center bottom, #0a1a15 0%, #051210 50%, #030a08 100%);
}
#worship-tao .worship-bg::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(circle at 30% 90%, rgba(100, 200, 150, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 70% 85%, rgba(80, 180, 130, 0.06) 0%, transparent 35%),
        radial-gradient(circle at 50% 10%, rgba(150, 220, 180, 0.03) 0%, transparent 50%);
}
#worship-tao .worship-bg::after { content: none; }

/* --- 先天八卦阵盘 --- */
.bagua-disc {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 700px;
    height: 700px;
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 2s ease 0.5s;
}
#worship-tao.active .bagua-disc {
    opacity: 1;
    animation: bagua-spin 60s linear infinite;
}
.bagua-svg { width: 100%; height: 100%; }

@keyframes bagua-spin {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* --- 紫气东来 --- */
.purple-qi {
    position: absolute;
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 2.5s ease 0.8s;
}
#worship-tao.active .purple-qi { opacity: 1; }

.qi-left {
    top: 0; left: -60px;
    width: 220px; height: 100%;
    background: linear-gradient(135deg,
        rgba(147, 112, 219, 0.18) 0%,
        rgba(128, 0, 255, 0.12) 30%,
        transparent 70%);
    filter: blur(25px);
    animation: qi-flow-left 8s ease-in-out infinite alternate;
}
.qi-right {
    top: 0; right: -60px;
    width: 220px; height: 100%;
    background: linear-gradient(225deg,
        rgba(147, 112, 219, 0.18) 0%,
        rgba(128, 0, 255, 0.12) 30%,
        transparent 70%);
    filter: blur(25px);
    animation: qi-flow-right 9s ease-in-out infinite alternate;
}
.qi-top {
    top: -40px; left: 0; right: 0;
    height: 200px;
    background: linear-gradient(180deg,
        rgba(147, 112, 219, 0.15) 0%,
        rgba(128, 0, 255, 0.08) 50%,
        transparent 100%);
    filter: blur(20px);
    animation: qi-flow-top 7s ease-in-out infinite alternate;
}

@keyframes qi-flow-left {
    0% { transform: translateX(-10px) translateY(0); opacity: 0.6; }
    100% { transform: translateX(15px) translateY(-20px); opacity: 1; }
}
@keyframes qi-flow-right {
    0% { transform: translateX(10px) translateY(0); opacity: 0.6; }
    100% { transform: translateX(-15px) translateY(-15px); opacity: 1; }
}
@keyframes qi-flow-top {
    0% { transform: translateY(-5px); opacity: 0.5; }
    100% { transform: translateY(10px); opacity: 1; }
}

/* --- 云海仙山 --- */
.mountain-scene {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 45%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.mountain {
    position: absolute;
    bottom: 0;
    width: 100%;
}
.mountain-back {
    height: 80%;
    background:
        linear-gradient(165deg, transparent 30%, rgba(20,40,35,0.9) 31%, rgba(15,35,30,0.85) 50%, transparent 51%),
        linear-gradient(195deg, transparent 25%, rgba(18,38,32,0.8) 26%, rgba(12,30,25,0.75) 45%, transparent 46%);
    opacity: 0.5;
}
.mountain-mid {
    height: 60%;
    background:
        linear-gradient(160deg, transparent 35%, rgba(25,50,40,0.85) 36%, rgba(20,45,35,0.8) 55%, transparent 56%),
        linear-gradient(200deg, transparent 20%, rgba(22,42,35,0.8) 21%, rgba(18,38,30,0.75) 40%, transparent 41%);
    opacity: 0.65;
}
.mountain-front {
    height: 40%;
    background:
        linear-gradient(155deg, transparent 40%, rgba(30,55,45,0.9) 41%, rgba(25,50,40,0.85) 60%, transparent 61%);
    opacity: 0.8;
}

.cloud {
    position: absolute;
    border-radius: 50%;
    background: rgba(180, 220, 200, 0.06);
    filter: blur(20px);
}
.cloud-1 { bottom: 30%; left: 10%; width: 200px; height: 50px; animation: cloud-drift 20s ease-in-out infinite; }
.cloud-2 { bottom: 40%; right: 15%; width: 160px; height: 40px; animation: cloud-drift 25s ease-in-out infinite reverse; }
.cloud-3 { bottom: 20%; left: 40%; width: 240px; height: 55px; animation: cloud-drift 18s ease-in-out infinite 3s; }
.cloud-4 { bottom: 50%; left: 5%; width: 140px; height: 35px; animation: cloud-drift 22s ease-in-out infinite 5s; }

.cloud-mist {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 30%;
    background: linear-gradient(180deg, transparent 0%, rgba(15,30,25,0.3) 100%);
}
.mist-1 { opacity: 0.6; animation: mist-float 12s ease-in-out infinite; }
.mist-2 { opacity: 0.4; animation: mist-float 15s ease-in-out infinite reverse; }

@keyframes cloud-drift {
    0% { transform: translateX(0); }
    100% { transform: translateX(40px); }
}
@keyframes mist-float {
    0% { transform: translateY(0) scaleX(1); }
    100% { transform: translateY(-10px) scaleX(1.05); }
}

/* --- 仙鹤 --- */
.crane {
    position: absolute;
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    transition: opacity 1.5s ease 2s;
}
#worship-tao.active .crane { opacity: 1; }

.crane-1 {
    top: 18%;
    left: -60px;
    width: 50px;
    animation: crane-fly 18s linear infinite;
}
.crane-2 {
    top: 12%;
    left: -80px;
    width: 35px;
    animation: crane-fly 22s linear infinite 6s;
}

.crane-svg { width: 100%; }

@keyframes crane-fly {
    0% { transform: translateX(0) translateY(0); }
    25% { transform: translateX(30vw) translateY(-15px); }
    50% { transform: translateX(55vw) translateY(5px); }
    75% { transform: translateX(80vw) translateY(-10px); }
    100% { transform: translateX(110vw) translateY(0); }
}

#worship-tao .worship-content { color: #64c896; z-index: 3; }
#worship-tao .form-group textarea,
#worship-tao .form-group input { border-color: rgba(100, 200, 150, 0.3); }
#worship-tao .form-group textarea:focus,
#worship-tao .form-group input:focus { border-color: #64c896; }

/* 上帝背景：星空圣光 */
#worship-god .worship-bg {
    background: radial-gradient(ellipse at center top, #1a1040 0%, #0d0825 50%, #050310 100%);
}
#worship-god .worship-bg::before { content: none; }
#worship-god .worship-bg::after { content: none; }

/* 哥特式彩绘玻璃玫瑰窗 */
.stained-glass {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    width: 380px;
    height: 380px;
    border-radius: 50%;
    z-index: 0;
    opacity: 0;
    transition: opacity 1.5s ease;
    pointer-events: none;
    background:
        /* 外环 */
        conic-gradient(from 0deg,
            #8b0000 0deg, #1a0a40 15deg,
            #c5a000 30deg, #1a0a40 45deg,
            #006400 60deg, #1a0a40 75deg,
            #8b0000 90deg, #1a0a40 105deg,
            #c5a000 120deg, #1a0a40 135deg,
            #006400 150deg, #1a0a40 165deg,
            #8b0000 180deg, #1a0a40 195deg,
            #c5a000 210deg, #1a0a40 225deg,
            #006400 240deg, #1a0a40 255deg,
            #8b0000 270deg, #1a0a40 285deg,
            #c5a000 300deg, #1a0a40 315deg,
            #006400 330deg, #1a0a40 345deg,
            #8b0000 360deg
        );
    mask: radial-gradient(circle, white 42%, transparent 43%, transparent 47%, white 48%, white 70%, transparent 71%);
    -webkit-mask: radial-gradient(circle, white 42%, transparent 43%, transparent 47%, white 48%, white 70%, transparent 71%);
    filter: blur(1px);
    animation: glass-glow 6s ease-in-out infinite alternate;
}

.stained-glass::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background:
        conic-gradient(from 22.5deg,
            #4a0080 0deg, #8b0000 45deg,
            #c5a000 90deg, #006400 135deg,
            #00008b 180deg, #8b0000 225deg,
            #c5a000 270deg, #006400 315deg,
            #4a0080 360deg
        );
    border: 3px solid rgba(197, 160, 0, 0.5);
    box-shadow: 0 0 30px rgba(197, 160, 0, 0.3), inset 0 0 20px rgba(0, 0, 0, 0.5);
}

.stained-glass::after {
    content: '✝';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 50px;
    color: rgba(197, 160, 0, 0.7);
    text-shadow: 0 0 20px rgba(197, 160, 0, 0.5);
}

#worship-god.active .stained-glass {
    opacity: 0.5;
}

/* 丁达尔圣光 */
.god-rays {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 2s ease 0.5s;
    overflow: hidden;
}

#worship-god.active .god-rays {
    opacity: 1;
}

.ray {
    position: absolute;
    top: -5%;
    width: 3px;
    height: 70%;
    transform-origin: top center;
    filter: blur(4px);
    animation: ray-pulse 5s ease-in-out infinite alternate;
}

.ray-1 {
    left: 50%;
    transform: translateX(-50%) rotate(-18deg);
    width: 8px;
    background: linear-gradient(180deg, rgba(255, 230, 150, 0.7), rgba(255, 200, 100, 0.3), transparent);
    filter: blur(3px);
    animation-delay: 0s;
}
.ray-2 {
    left: 50%;
    transform: translateX(-50%) rotate(-9deg);
    width: 5px;
    background: linear-gradient(180deg, rgba(255, 220, 130, 0.5), rgba(255, 200, 100, 0.2), transparent);
    filter: blur(5px);
    animation-delay: 0.8s;
}
.ray-3 {
    left: 50%;
    transform: translateX(-50%) rotate(0deg);
    width: 10px;
    background: linear-gradient(180deg, rgba(255, 240, 180, 0.8), rgba(255, 220, 130, 0.3), transparent);
    filter: blur(2px);
    animation-delay: 0.3s;
}
.ray-4 {
    left: 50%;
    transform: translateX(-50%) rotate(9deg);
    width: 5px;
    background: linear-gradient(180deg, rgba(255, 220, 130, 0.5), rgba(255, 200, 100, 0.2), transparent);
    filter: blur(5px);
    animation-delay: 1.2s;
}
.ray-5 {
    left: 50%;
    transform: translateX(-50%) rotate(18deg);
    width: 8px;
    background: linear-gradient(180deg, rgba(255, 230, 150, 0.7), rgba(255, 200, 100, 0.3), transparent);
    filter: blur(3px);
    animation-delay: 0.5s;
}

@keyframes ray-pulse {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}

@keyframes rays-shift {
    0% { transform: translateX(-50%) rotate(-1deg); }
    100% { transform: translateX(-50%) rotate(1deg); }
}

@keyframes ray-center-pulse {
    0% { opacity: 0.4; width: 3px; }
    100% { opacity: 1; width: 8px; }
}

#worship-god .worship-content { color: #c8b4ff; z-index: 2; }
#worship-god .form-group textarea,
#worship-god .form-group input { border-color: rgba(200, 180, 255, 0.3); }
#worship-god .form-group textarea:focus,
#worship-god .form-group input:focus { border-color: #c8b4ff; }

/* 中本聪背景：数字矩阵 */
#worship-satoshi .worship-bg {
    background: radial-gradient(ellipse at center bottom, #051520 0%, #030d15 50%, #010810 100%);
}
#worship-satoshi .worship-bg::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(circle at 50% 100%, rgba(0, 200, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 20% 50%, rgba(0, 150, 255, 0.04) 0%, transparent 30%),
        radial-gradient(circle at 80% 30%, rgba(0, 180, 255, 0.04) 0%, transparent 30%);
    animation: data-glow 4s ease-in-out infinite alternate;
}
#worship-satoshi .worship-bg::after {
    content: '₿';
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 120px;
    color: rgba(0, 200, 255, 0.06);
    animation: glow-pulse 2s ease-in-out infinite alternate;
}
#worship-satoshi .worship-content { color: #00c8ff; }
#worship-satoshi .form-group textarea,
#worship-satoshi .form-group input { border-color: rgba(0, 200, 255, 0.3); }
#worship-satoshi .form-group textarea:focus,
#worship-satoshi .form-group input:focus { border-color: #00c8ff; }

/* 代码瀑布流 */
.matrix-rain {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    opacity: 0;
    transition: opacity 1s ease;
}

#worship-satoshi.active .matrix-rain {
    opacity: 1;
}

/* 中本聪剪影 */
.satoshi-silhouette {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 160px;
    height: 220px;
    z-index: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 2s ease 1s;
}

#worship-satoshi.active .satoshi-silhouette {
    opacity: 1;
}

.satoshi-silhouette svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 20px rgba(0, 200, 255, 0.3));
}

.satoshi-silhouette svg path,
.satoshi-silhouette svg ellipse {
    animation: silhouette-fade 3s ease-in-out infinite alternate;
}

@keyframes silhouette-fade {
    0% { opacity: 0.4; }
    50% { opacity: 0.7; }
    100% { opacity: 0.5; }
}

/* 祈福页内容布局 */
.worship-content {
    position: relative;
    z-index: 1;
    width: 90%;
    max-width: 520px;
    max-height: 90vh;
    overflow-y: auto;
    padding: var(--spacing-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-lg);
}

.worship-content::-webkit-scrollbar { width: 4px; }
.worship-content::-webkit-scrollbar-track { background: transparent; }
.worship-content::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.15); border-radius: 2px; }

.worship-back {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: inherit;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--font-display);
}
.worship-back:hover {
    background: rgba(255, 255, 255, 0.15);
}

.worship-header {
    text-align: center;
}

.worship-deity-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-sm);
    opacity: 0.9;
}

.worship-header h2 {
    font-size: 2rem;
    font-family: var(--font-display);
    margin-bottom: 4px;
}

.worship-subtitle {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    opacity: 0.7;
}

.worship-shrine {
    width: 100%;
}

/* 祈福页表单 */
.worship-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.worship-form .form-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.worship-form .form-group label {
    font-weight: 600;
    font-size: 0.9rem;
}

.worship-form textarea,
.worship-form input[type="number"] {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-md);
    padding: var(--spacing-md);
    color: inherit;
    font-family: var(--font-display);
    font-size: 1rem;
    transition: border-color 0.2s;
}
.worship-form textarea:focus,
.worship-form input[type="number"]:focus {
    outline: none;
}
.worship-form textarea { resize: vertical; min-height: 90px; }

.worship-form .amount-input {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}
.worship-form .amount-input input { flex: 1; }
.worship-form .currency-symbol {
    font-family: var(--font-mono);
    font-weight: bold;
    opacity: 0.8;
}

.worship-form .quick-amounts {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
}

.worship-form .quick-amount {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: var(--radius-sm);
    padding: var(--spacing-xs) var(--spacing-sm);
    color: inherit;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
}
.worship-form .quick-amount:hover {
    background: rgba(255, 255, 255, 0.12);
}

.worship-form .crypto-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-sm);
}

.worship-form .crypto-option {
    position: relative;
}
.worship-form .crypto-option label input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}
.worship-form .crypto-option label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-md);
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
    position: relative;
}
.worship-form .crypto-option label:hover {
    background: rgba(255, 255, 255, 0.1);
}
.worship-form .crypto-option label input:checked {
    background: rgba(255, 215, 0, 0.2);
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.3);
}
.worship-form .crypto-option label:has(input:checked) {
    background: rgba(255, 215, 0, 0.2);
    border-color: var(--accent-gold);
    color: var(--accent-gold);
    box-shadow: 0 0 12px rgba(255, 215, 0, 0.3);
}

.worship-form .prayer-info {
    display: flex;
    gap: var(--spacing-md);
    padding: var(--spacing-md);
    background: rgba(255, 215, 0, 0.08);
    border: 1px solid rgba(255, 215, 0, 0.2);
    border-radius: var(--radius-md);
}
.worship-form .prayer-info .info-icon { font-size: 1.5rem; flex-shrink: 0; }
.worship-form .prayer-info .info-content h4 {
    font-size: 0.9rem;
    color: var(--accent-gold);
    margin: 0 0 var(--spacing-xs) 0;
}
.worship-form .prayer-info .info-content p {
    font-size: 0.8rem;
    opacity: 0.7;
    margin: 0;
    line-height: 1.5;
}

.worship-form .submit-prayer {
    width: 100%;
}

@keyframes slow-rotate {
    from { transform: translateX(-50%) rotate(0deg); }
    to { transform: translateX(-50%) rotate(360deg); }
}

@keyframes data-glow {
    0% { opacity: 0.7; }
    100% { opacity: 1; }
}

/* 提交按钮 */
.submit-prayer {
    background: linear-gradient(135deg, var(--accent-gold), #ffaa00);
    color: var(--bg-primary);
    border: none;
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: var(--radius-md);
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    transition: all 0.3s ease;
    margin-top: var(--spacing-md);
}

.submit-prayer:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

.submit-prayer:active {
    transform: translateY(0);
}



/* 祈福墙 */
.prayer-wall {
    margin-top: var(--spacing-xxl);
}

.prayer-wall h2 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: var(--spacing-xl);
    color: var(--accent-gold);
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.prayer-cards {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-lg);
}

.prayer-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.prayer-card:hover {
    transform: translateY(-3px);
    border-color: var(--accent-gold);
}

.prayer-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
}

.prayer-card-deity {
    font-weight: 600;
    color: var(--accent-gold);
}

.prayer-card-time {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.prayer-card-message {
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

.prayer-card-amount {
    font-family: var(--font-mono);
    color: var(--accent-green);
    font-size: 0.9rem;
}

.prayer-card-wallet {
    font-family: var(--font-mono);
    color: var(--text-secondary);
    font-size: 0.7rem;
    margin-top: var(--spacing-xs);
    word-break: break-all;
}

/* 页脚 */
.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    padding: var(--spacing-xl) var(--spacing-lg);
    margin-top: var(--spacing-xxl);
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
}

.footer p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .content-container {
        flex-direction: column;
    }
    
    .tweets-panel {
        width: 100%;
        max-height: 400px;
    }
    
    .deities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .fortune-row {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    .fortune-left, .fortune-right {
        align-items: center;
        flex-direction: row;
        justify-content: center;
    }
}

/* 手机端适配（一行两个神祇） */
@media (max-width: 768px) {
    .deities-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-sm);
        padding: 0 var(--spacing-sm);
    }
    
    .deity-card {
        padding: var(--spacing-sm) var(--spacing-xs);
        min-height: 160px;
    }
    
    .deity-icon {
        width: 44px;
        height: 44px;
        margin-bottom: var(--spacing-xs);
    }
    
    .deity-card h3 {
        font-size: 0.85rem;
        margin-bottom: 2px;
    }
    
    .deity-card p {
        font-size: 0.7rem;
        margin-bottom: var(--spacing-xs);
    }
    
    .worship-btn {
        padding: 6px 12px;
        font-size: 0.75rem;
    }
    
    .tweets-panel {
        max-height: 300px;
        margin-top: var(--spacing-md);
    }
    
    .logo h1 {
        font-size: 1.4rem;
    }
    
    .logo-subtitle {
        font-size: 0.65rem;
    }
    
    .header-indicators {
        position: static;
        margin-top: var(--spacing-xs);
        justify-content: center;
        gap: var(--spacing-sm);
    }
    
    .indicator {
        font-size: 0.65rem;
        padding: 2px 6px;
    }
    
    .language-selector {
        font-size: 0.7rem;
        padding: 2px 4px;
    }
    
    .modal {
        width: 98%;
        margin: var(--spacing-xs);
        max-height: 95vh;
    }
    
    .worship-back {
        padding: 4px 10px;
        font-size: 0.8rem;
    }
    
    .worship-header h2 {
        font-size: 1.3rem;
    }
    
    .worship-deity-icon {
        width: 36px;
        height: 36px;
    }
    
    .shrine-container {
        height: 100px;
    }
    
    .worship-content {
        padding: var(--spacing-sm);
        padding-bottom: var(--spacing-xl);
        gap: var(--spacing-sm);
    }
    
    .worship-form {
        gap: var(--spacing-sm);
    }
    
    .form-group label {
        font-size: 0.75rem;
    }
    
    .form-group textarea,
    .form-group input {
        font-size: 0.8rem;
        padding: 6px;
    }
    
    .quick-amounts {
        gap: 4px;
    }
    
    .quick-amount {
        padding: 4px 8px;
        font-size: 0.7rem;
    }
    
    .crypto-options {
        grid-template-columns: repeat(3, 1fr);
        gap: 4px;
    }
    
    .crypto-option label {
        padding: 4px 6px;
        font-size: 0.7rem;
        flex-direction: column;
        gap: 1px;
    }
    
    .crypto-symbol {
        font-size: 0.9rem;
    }
    
    .crypto-name {
        font-size: 0.6rem;
    }
    
    .submit-prayer {
        padding: 8px 16px;
        font-size: 0.8rem;
        margin-bottom: var(--spacing-lg);
    }
    
    .prayer-info {
        font-size: 0.7rem;
        padding: var(--spacing-xs);
    }
    
    .amount-input {
        font-size: 0.8rem;
    }
    
    .worship-amount {
        font-size: 0.8rem;
        width: 80px;
    }
    
    .currency-symbol {
        font-size: 0.7rem;
    }
    
    /* 祈福页背景元素缩小 */
    .buddha-light,
    .lotus-throne,
    .buddha-figure {
        transform: translateX(-50%) scale(0.8);
    }
    
    .bagua-disc {
        width: 500px;
        height: 500px;
        transform: translate(-50%, -50%) scale(0.7);
    }
    
    .laojun-figure {
        width: 200px;
        height: 300px;
    }
    
    .god-rays {
        transform: scale(0.8);
    }
    
    .crane-1,
    .crane-2 {
        display: none;
    }
    
    .petal-rain .petal {
        width: 18px;
        height: 18px;
    }
    
    .pure-mist {
        height: 30%;
    }
    
    /* 头部布局 */
    .header {
        padding: var(--spacing-sm) var(--spacing-md);
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .header .logo {
        width: 100%;
        text-align: center;
    }
    
    .header-indicators {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    /* 祈福页返回按钮 */
    /* 祈福页头部 */
    .worship-header {
        margin-top: var(--spacing-xl);
    }
    
    /* 祈福页背景元素 */
    .worship-bg::after {
        font-size: 80px;
    }
    
    /* 祈福页模态框 */
    .worship-modal {
        width: 100%;
        height: 100%;
        max-width: 100%;
        max-height: 100%;
        border-radius: 0;
        margin: 0;
    }
    
    /* 祈福页内容 */
    .worship-content {
        max-height: 100vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding-top: 50px;
    }
    
    /* 祈福页香炉 */
    .incense-holder {
        transform: scale(0.8);
    }
    
    /* 祈福页蜡烛 */
    .candle-holder {
        transform: scale(0.8);
    }
    
    /* 祈福页矿机 */
    .miner-holder {
        transform: scale(0.8);
    }
    
    /* 祈福页模态框 */
    .worship-modal {
        width: 100%;
        height: 100%;
        max-width: 100%;
        max-height: 100%;
        border-radius: 0;
        margin: 0;
    }
    
    /* 祈福页内容 */
    .worship-content {
        max-height: 100vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding-top: 50px;
    }

    /* 祈福墙：一行两个 */
    .prayer-wall {
        margin-top: var(--spacing-xl);
    }
    .prayer-wall h2 {
        font-size: 1.2rem;
        margin-bottom: var(--spacing-md);
    }
    .prayer-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-sm);
    }
    .prayer-card {
        padding: var(--spacing-sm);
        border-radius: var(--radius-md);
    }
    .prayer-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 2px;
        margin-bottom: var(--spacing-xs);
    }
    .prayer-card-deity {
        font-size: 0.75rem;
    }
    .prayer-card-time {
        font-size: 0.6rem;
    }
    .prayer-card-message {
        font-size: 0.7rem;
        margin-bottom: var(--spacing-xs);
        line-height: 1.4;
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
    .prayer-card-amount {
        font-size: 0.75rem;
    }
    .prayer-card-wallet {
        font-size: 0.6rem;
    }
}

/* 加载动画 */
.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: var(--spacing-xl);
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid var(--border-color);
    border-top-color: var(--accent-gold);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* 成功消息 */
.success-message {
    position: fixed;
    top: var(--spacing-xl);
    right: var(--spacing-xl);
    background: var(--accent-green);
    color: var(--bg-primary);
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--radius-md);
    font-weight: 600;
    z-index: 2000;
    animation: slideIn 0.5s ease, fadeOut 0.5s ease 2.5s forwards;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes fadeOut {
    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

/* RTL for Arabic */
html[dir="rtl"] .deity-card {
    text-align: right;
}
html[dir="rtl"] .modal-header {
    flex-direction: row-reverse;
}
html[dir="rtl"] .modal-close {
    right: auto;
    left: var(--spacing-md);
}
html[dir="rtl"] .header-indicators {
    direction: rtl;
}

/* 移动端头部优化 */
@media (max-width: 768px) {
    .header {
        padding: var(--spacing-xs) var(--spacing-sm);
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .header .logo {
        width: 100%;
        text-align: center;
    }
    
    .header-indicators {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: var(--spacing-xs);
    }
    
    .indicator {
        font-size: 0.6rem;
        padding: 2px 4px;
    }
    
    .language-selector {
        font-size: 0.65rem;
        padding: 2px 3px;
    }
    
    /* 祈福页返回按钮 */
    .worship-back {
        position: fixed;
        top: env(safe-area-inset-top, 16px);
        left: 12px;
        z-index: 1010;
        background: rgba(0, 0, 0, 0.6);
        border-radius: var(--radius-sm);
        padding: 6px 10px;
        font-size: 0.75rem;
        margin-bottom: 0;
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
    }
    
    /* 祈福页头部 */
    .worship-header {
        margin-top: var(--spacing-xl);
    }
    
    /* 祈福页背景元素 */
    .worship-bg::after {
        font-size: 80px;
    }
    
    /* 祈福页模态框 */
    .worship-modal {
        width: 100%;
        height: 100%;
        max-width: 100%;
        max-height: 100%;
        border-radius: 0;
        margin: 0;
    }
    
    /* 祈福页内容 */
    .worship-content {
        max-height: 100vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        padding-top: 50px;
    }
    
    /* 祈福页香炉 */
    .incense-holder {
        transform: scale(0.8);
    }
    
    /* 祈福页蜡烛 */
    .candle-holder {
        transform: scale(0.8);
    }
    
    /* 祈福页矿机 */
    .miner-holder {
        transform: scale(0.8);
    }
}