/* ===== Top Bar (like putiyuan) ===== */
.top-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(26, 15, 10, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 0 24px;
    height: 56px;
}
.top-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    height: 100%;
    gap: 24px;
}
.tb-brand { display:flex; align-items:center; gap:8px; }
.tb-icon { font-size:22px; color:var(--gold); }
.tb-name { font-size:16px; font-weight:800; color:var(--gold-light); letter-spacing:2px; }
.tb-nav { display:flex; gap:20px; flex:1; justify-content:center; }
.tb-nav a { color:var(--muted); text-decoration:none; font-size:13px; transition:color 0.2s; white-space:nowrap; }
.tb-nav a:hover { color:var(--gold-light); }
.tb-right { display:flex; align-items:center; gap:12px; }
.tb-btn { width:32px; height:32px; border-radius:50%; border:1px solid var(--border); background:transparent; color:var(--muted); font-size:14px; cursor:pointer; transition:all 0.2s; }
.tb-btn:hover { border-color:var(--gold); color:var(--gold); }
.tb-user { font-size:12px; color:var(--muted); padding:4px 12px; border:1px solid var(--border); border-radius:50px; }
.tb-user strong { color:var(--gold-light); }

/* ===== Hero Section ===== */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 80px 24px;
}
.hero-glow {
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(212,160,23,0.08) 0%, transparent 60%);
    border-radius: 50%;
    animation: breathe 6s ease-in-out infinite;
}
.hero-content { position: relative; z-index: 1; }

.hero-logo-ring {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 2px solid rgba(212,160,23,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    animation: float 4s ease-in-out infinite;
    box-shadow: 0 0 30px rgba(212,160,23,0.15);
}
.hero-logo-inner {
    font-size: 40px;
    color: var(--gold);
    text-shadow: 0 0 20px rgba(212,160,23,0.5);
}
.hero-title {
    font-size: clamp(36px, 8vw, 56px);
    font-weight: 900;
    color: var(--gold-light);
    letter-spacing: 8px;
    margin-bottom: 16px;
    text-shadow: 0 0 30px rgba(212,160,23,0.3);
}
.hero-subtitle { font-size: 16px; color: var(--muted); margin-bottom: 6px; }
.hero-subtitle2 { font-size: 14px; color: var(--muted); margin-bottom: 32px; }

.hero-buttons { display: flex; gap: 16px; justify-content: center; margin-bottom: 40px; }
.hero-btn {
    padding: 14px 32px;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s;
    font-family: inherit;
}
.hero-btn.primary {
    background: linear-gradient(135deg, #c0392b, #922b21);
    color: #fff;
    border: none;
    box-shadow: 0 4px 20px rgba(192,57,43,0.3);
}
.hero-btn.primary:hover { transform:translateY(-2px); box-shadow:0 8px 30px rgba(192,57,43,0.4); }
.hero-btn.ghost {
    background: transparent;
    color: var(--gold-light);
    border: 1px solid var(--border);
}
.hero-btn.ghost:hover { border-color:var(--gold); box-shadow:0 0 15px rgba(212,160,23,0.1); }

.hero-scroll { font-size: 12px; color: var(--muted); opacity: 0.6; }

/* ===== Features Section (九大善门) ===== */
.features-section {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 24px 80px;
}
.section-heading {
    text-align: center;
    font-size: 24px;
    color: var(--gold-light);
    margin-bottom: 40px;
    letter-spacing: 4px;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}
.feature-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px 20px;
    text-decoration: none;
    color: var(--text);
    transition: all 0.3s;
    display: block;
}
.feature-card:hover {
    border-color: rgba(212,160,23,0.5);
    box-shadow: 0 4px 30px rgba(212,160,23,0.08);
    transform: translateY(-3px);
}
.fc-top { display:flex; justify-content:space-between; align-items:center; margin-bottom:14px; }
.fc-icon { font-size:28px; color:var(--gold); }
.fc-tag {
    font-size: 10px;
    padding: 3px 10px;
    border: 1px solid var(--border);
    border-radius: 50px;
    color: var(--muted);
}
.feature-card h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--text);
}
.feature-card p {
    font-size: 12px;
    color: var(--muted);
    line-height: 1.8;
}

/* ===== Incense Section (在线上香) ===== */
.incense-section {
    position: relative;
    z-index: 1;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 24px 80px;
}
.incense-card {
    background: #faf5eb;
    border: 1px solid rgba(200,180,150,0.4);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    color: #2c1810;
}
.incense-icon { font-size: 36px; color: #c0392b; margin-bottom: 12px; }
.incense-subtitle { font-size: 12px; color: #8b7355; margin-bottom: 8px; }
.incense-title { font-size: 28px; font-weight: 900; letter-spacing: 8px; margin-bottom: 16px; }
.incense-desc { font-size: 14px; color: #5a4a3a; line-height: 1.8; margin-bottom: 24px; }
.incense-btn {
    display: inline-block;
    padding: 12px 32px;
    background: #c0392b;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    transition: all 0.3s;
}
.incense-btn:hover { background:#922b21; transform:translateY(-1px); }

/* ===== Footer ===== */
.site-footer {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 40px 24px;
    font-size: 12px;
    color: var(--muted);
    border-top: 1px solid var(--border);
}

/* ===== Share Modal ===== */
.share-modal {
    background: linear-gradient(135deg, #2a1a0e, #1a0f0a);
    border: 1px solid var(--gold);
    border-radius: 20px;
    padding: 32px 24px;
    width: 90%;
    max-width: 400px;
    text-align: center;
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}
.share-close { position:absolute; top:12px; right:16px; background:none; border:none; color:var(--muted); font-size:24px; cursor:pointer; }
.share-title { font-size: 18px; color: var(--gold-light); margin-bottom: 8px; }
.share-desc { font-size: 12px; color: var(--muted); margin-bottom: 20px; line-height: 1.6; }
.share-qr { width: 180px; height: 180px; margin: 0 auto 12px; background: #fff; border-radius: 12px; padding: 10px; }
.share-qr img { width:100%; height:100%; object-fit:contain; border-radius:8px; }
.share-hint { font-size: 11px; color: var(--muted); margin-bottom: 16px; }
.share-url-box { margin-bottom: 16px; }
.share-url-label { font-size: 11px; color: var(--muted); display: block; margin-bottom: 6px; }
.share-url-row { display:flex; gap:8px; }
.share-url-input { flex:1; padding:8px 12px; background:rgba(0,0,0,0.3); border:1px solid var(--border); border-radius:8px; color:var(--text); font-size:11px; }
.share-copy-btn { padding:8px 16px; background:var(--card); border:1px solid var(--border); border-radius:8px; color:var(--muted); font-size:11px; cursor:pointer; }
.share-main-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #c0392b, #922b21);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    margin-bottom: 10px;
}
.share-ghost-btn {
    width: 100%;
    padding: 12px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 10px;
    color: var(--muted);
    font-size: 13px;
    cursor: pointer;
    margin-bottom: 16px;
}
.share-tips { text-align:left; font-size:12px; color:var(--muted); line-height:2; }
.share-tips-title { font-size:13px; color:var(--text); font-weight:700; margin-bottom:6px; text-align:center; }
.share-tips strong { color:var(--text); }

/* ===== Responsive ===== */
@media (max-width: 768px) {
    .tb-nav { display: none; }
    .features-grid { grid-template-columns: 1fr 1fr; }
    .hero-buttons { flex-direction: column; align-items: center; }
}
@media (max-width: 480px) {
    .features-grid { grid-template-columns: 1fr; }
    .top-bar-inner { padding: 0; }
}
