/* joe.guanyin.css - 观音灵签重构视觉风格 */

/* 视觉重心：神圣感与留白 */
.guanyin-hero {
    text-align: center;
    padding: 30px 0;
    margin-bottom: 20px;
}

/* 优雅的莲花 SVG 图腾代替简陋签筒 */
.guanyin-lotus {
    width: 100px;
    height: 100px;
    margin: 0 auto 20px;
    opacity: 0.8;
    animation: breath 4s ease-in-out infinite;
    fill: #b28d51; /* 暗金色 */
}

@keyframes breath {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.05); opacity: 1; }
}

/* 朱砂红求签按钮 */
.btn-qiuqian {
    background: linear-gradient(135deg, #8a181a 0%, #a42325 100%);
    color: #fff;
    border: none;
    padding: 15px 40px;
    font-size: 18px;
    letter-spacing: 4px;
    border-radius: 4px;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(138, 24, 26, 0.3);
    transition: all 0.3s;
    font-family: "STKaiti", "KaiTi", serif;
}
.btn-qiuqian:hover {
    box-shadow: 0 6px 20px rgba(138, 24, 26, 0.5);
    transform: translateY(-2px);
}
.btn-qiuqian:disabled {
    background: #ccc;
    box-shadow: none;
    cursor: not-allowed;
    transform: none;
}

/* 摇签加载动画 */
.is-loading-lotus {
    animation: rotate-lotus 1s linear infinite;
}
@keyframes rotate-lotus {
    100% { transform: rotate(360deg); }
}

/* --- 结果区视觉重构 --- */
.result-level-1 {
    text-align: center;
    border-bottom: 1px solid var(--classC);
    padding-bottom: 20px;
    margin-bottom: 25px;
}

.lot-number {
    font-size: 32px;
    font-weight: bold;
    color: var(--routine);
    margin-right: 15px;
    font-family: "STKaiti", "KaiTi", serif;
}

/* 吉凶徽章体系 */
.lot-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 16px;
    font-weight: bold;
    vertical-align: middle;
    letter-spacing: 2px;
}
.badge-shang { background: #fdf6e3; color: #b58900; border: 1px solid #b58900; } /* 上上/上吉：金色 */
.badge-zhong { background: #eef7ee; color: #2e8b57; border: 1px solid #2e8b57; } /* 中平/中吉：绿色 */
.badge-xia { background: #fdf0f0; color: #8a181a; border: 1px solid #8a181a; } /* 下下/中下：朱红 */

.lot-title {
    font-size: 18px;
    color: var(--minor);
    margin-top: 10px;
}

/* 核心签诗（卷轴感） */
.poem-scroll {
    background: url('data:image/svg+xml;utf8,<svg width="100%" height="100%" xmlns="http://www.w3.org/2000/svg"><rect width="100%" height="100%" fill="%23faf8f5"/></svg>') center/cover;
    border: 1px solid #e8e4db;
    padding: 40px 20px;
    margin: 0 auto 30px;
    border-radius: 4px;
    position: relative;
    text-align: center;
    box-shadow: inset 0 0 20px rgba(178,141,81,0.05);
}
html[data-night="night"] .poem-scroll {
    background: var(--classD);
    border-color: var(--classC);
}

.poem-line {
    font-family: "STKaiti", "KaiTi", "SimSun", serif;
    font-size: 24px;
    line-height: 2;
    color: var(--routine);
    letter-spacing: 4px;
    margin: 10px 0;
}

/* 结构化仙机网格 */
.xianji-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}
.xianji-item {
    background: var(--classD);
    padding: 12px 15px;
    border-radius: 6px;
    border-left: 3px solid #b28d51;
}
.xianji-item strong {
    color: #b28d51;
    margin-right: 8px;
    font-size: 15px;
}
.xianji-item span {
    color: var(--minor);
    font-size: 14px;
}

/* 辅助解析区 */
.jieyue-box {
    background: var(--classD);
    padding: 20px;
    border-radius: 6px;
    margin-bottom: 20px;
    color: var(--minor);
    font-size: 15px;
    line-height: 1.8;
}
.jieyue-box strong {
    color: var(--routine);
    display: block;
    margin-bottom: 8px;
    font-size: 16px;
}
