/* 诸葛宝箱页面样式 */

body {
    background: #fff;
}

.page-container {
    background: #fff;
    min-height: 100vh;
}

.zhuge-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 100;
    height: 3.5rem;
    border-bottom: 1px solid #eee;
}

.zhuge-back {
    font-size: 2.25rem;
    color: #333;
    text-decoration: none;
    line-height: 1;
    width: 2.25rem;
    text-align: left;
}

.zhuge-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #333;
    text-align: center;
    flex: 1;
}

.zhuge-spacer {
    width: 2.25rem;
}

.zhuge-content {
    padding: 1rem;
}

/* 简介卡片 */
.zhuge-intro {
    background: #f5f7fa;
    border-radius: 0.625rem;
    padding: 1rem 1.125rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.zhuge-intro-title {
    font-size: 1.125rem;
    font-weight: 500;
    color: #333;
    margin-bottom: 0.5rem;
}

.zhuge-intro-text {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
}

/* 操作区 */
.zhuge-actions {
    display: flex;
    justify-content: space-around;
    margin-bottom: 2.5rem;
}

.zhuge-action {
    text-align: center;
}

.zhuge-action-title {
    font-size: 1.125rem;
    color: #333;
    margin-bottom: 0.75rem;
}

.zhuge-btn {
    background: #07c160;
    color: #fff;
    border: none;
    border-radius: 0.5rem;
    padding: 0.625rem 2.75rem;
    font-size: 1.125rem;
    font-weight: 500;
    cursor: pointer;
    outline: none;
    -webkit-tap-highlight-color: transparent;
}

.zhuge-btn:active {
    opacity: 0.85;
}

.zhuge-btn.disabled,
.zhuge-btn:disabled {
    background: #bbb;
    cursor: not-allowed;
}

/* 结果展示区域 */
.zhuge-result-area {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.zhuge-bubble {
    background: #07c160;
    color: #fff;
    border-radius: 50%;
    width: 11rem;
    height: 6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-bottom: 0.375rem;
}

.zhuge-bubble-text {
    font-size: 1.125rem;
    line-height: 1.6;
    font-weight: 500;
    letter-spacing: 0.1em;
    padding: 0 0.75rem;
    white-space: nowrap;
}

.zhuge-bubble-tail {
    width: 1.5rem;
    height: 0.625rem;
    background: #07c160;
    border-radius: 50%;
    margin-bottom: 1rem;
}

.zhuge-image {
    width: 78%;
    max-width: 19rem;
    height: auto;
}

/* 滚动动画遮罩 */
.zhuge-roll-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.65);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 200;
}

.zhuge-roll-overlay.show {
    display: flex;
}

.zhuge-roll-card {
    background: #fff;
    border-radius: 0.625rem;
    width: 80%;
    max-width: 20rem;
    height: 9rem;
    display: flex;
    overflow: hidden;
    box-shadow: 0 0.25rem 1rem rgba(0, 0, 0, 0.25);
}

.zhuge-reel {
    flex: 1;
    position: relative;
    overflow: hidden;
    border-right: 1px solid #eee;
}

.zhuge-reel:last-child {
    border-right: none;
}

.zhuge-reel-strip {
    will-change: transform;
}

.zhuge-reel-strip.rolling {
    filter: blur(0.5px);
}

.zhuge-reel-item {
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 500;
    color: #333;
    white-space: nowrap;
}
