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

:root {
    --honkai-gold: #ffd700;
    --honkai-pink: #ff6b9d;
    --honkai-blue: #00d4ff;
    --honkai-purple: #9b59b6;
    --honkai-bg: #0a0a1a;
    --honkai-card: rgba(20, 20, 40, 0.9);
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
    background: url('image/背景.png') no-repeat center center fixed;
    background-size: cover;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

/* 书本容器 */
.book-container {
    display: flex;
    align-items: center;
    justify-content: center;
    perspective: 1500px;
    padding: 40px;
}

.book {
    position: relative;
    width: 400px;
    height: 550px;
    cursor: pointer;
    transform-style: preserve-3d;
}

.book-cover {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px 20px 20px 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transform-origin: left center;
    transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
    backface-visibility: hidden;
    z-index: 2;
}

.book-inside {
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px 20px 20px 10px;
    z-index: 1;
}

.book.open .book-cover {
    transform: rotateY(-180deg);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.3);
}

@keyframes glowPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.6; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.8; }
}

/* 书本内容 */
.book-content {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

/* 书本符号 */
.book-symbol {
    position: relative;
    width: 200px;
    height: 200px;
    margin-bottom: 40px;
}

.symbol-center {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.8);
    animation: centerPulse 2s ease-in-out infinite;
}

@keyframes centerPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.1); }
}

/* 符号圆环 */
.symbol-rings {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.ring {
    position: absolute;
    border: 2px solid;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: rotate 20s linear infinite;
}

.ring-1 {
    width: 120px;
    height: 120px;
    border-color: rgba(100, 149, 237, 0.8);
    animation-duration: 20s;
}

.ring-2 {
    width: 160px;
    height: 160px;
    border-color: rgba(255, 105, 180, 0.6);
    animation-duration: 30s;
    animation-direction: reverse;
}

.ring-3 {
    width: 200px;
    height: 200px;
    border-color: rgba(144, 238, 144, 0.4);
    animation-duration: 40s;
}

@keyframes rotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* 星星 */
.symbol-stars {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.star {
    position: absolute;
    width: 10px;
    height: 10px;
    background: #ffd700;
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    animation: twinkle 3s ease-in-out infinite;
}

.star-1 {
    top: 20%;
    left: 30%;
    animation-delay: 0s;
}

.star-2 {
    top: 60%;
    right: 25%;
    animation-delay: 1s;
}

.star-3 {
    bottom: 20%;
    left: 40%;
    animation-delay: 2s;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.4; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

/* 书本标题 */
.book-title {
    text-align: center;
    color: #fff;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.6);
}

.book-title h1 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.book-title h2 {
    font-size: 18px;
    opacity: 0.9;
}

/* 书本内页 */
.book-pages {
    position: absolute;
    width: 100%;
    height: 100%;
    background: #f8f5e6;
    border-radius: 10px 20px 20px 10px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transform: rotateY(0deg);
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    backface-visibility: hidden;
    display: flex;
    opacity: 0;
}

.book.open .book-pages {
    transform: rotateY(0deg);
    opacity: 1;
}

.page {
    flex: 1;
    padding: 40px;
    position: relative;
}

.page.left-page {
    border-right: 1px solid #d4c5a5;
}

/* 书本按钮 */
.book-button {
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 30px;
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    border: none;
    border-radius: 25px;
    color: #1a1a2e;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    transition: all 0.3s ease;
    z-index: 10;
}

.book-button:hover {
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.6);
}

/* 书页样式 */
.book-page {
    width: 800px;
    height: 500px;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
    perspective: 1000px;
    margin: 0 auto;
}

.book-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.book-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.2) 100%);
    border-radius: 8px;
    z-index: 1;
}

/* 翻书页动画 */
.page-flip {
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background: url('image/3.5.png');
    background-size: cover;
    background-position: center;
    transform-origin: left center;
    transform: rotateY(0deg);
    opacity: 0;
    pointer-events: none;
    z-index: 100;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    backface-visibility: hidden;
    perspective: 1000px;
}

.page-flip::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0.2) 100%);
    border-radius: 8px;
    z-index: 1;
}

.page-flip.flipping {
    opacity: 1;
    animation: flipPage 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    transform-style: preserve-3d;
}

@keyframes flipPage {
    0% {
        transform: rotateY(0deg);
        opacity: 1;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }
    50% {
        transform: rotateY(-90deg);
        opacity: 0.6;
        box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    }
    100% {
        transform: rotateY(-180deg);
        opacity: 0;
        box-shadow: 5px 0 15px rgba(0, 0, 0, 0.1);
    }
}

.page-content {
    display: flex;
    height: 420px;
    padding: 40px 30px 30px;
    position: relative;
    background: transparent;
    z-index: 2;
}

.navigation-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 30px;
    background: rgba(240, 232, 208, 0.9);
    border-top: 2px solid #d4c5a5;
    z-index: 2;
    position: relative;
}

.page-content::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, #e6d8b8, #f8f5e6);
    box-shadow: -1px 0 2px rgba(0, 0, 0, 0.1);
}

/* 左右页面 */
.left-page {
    flex: 1;
    padding: 60px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.right-page {
    flex: 1;
    padding: 60px 40px 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}



/* 问题和选项样式调整 */
.left-page .question-number {
    font-size: 14px;
    color: #8b7355;
    margin-bottom: 20px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.left-page .question-text {
    font-size: 16px;
    line-height: 1.5;
    color: #333;
    text-align: center;
    font-weight: 500;
    padding: 15px;
    background: transparent;
    border-radius: 8px;
    box-shadow: none;
    max-width: 100%;
    word-wrap: break-word;
}

#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.screen {
    display: none;
    width: 100%;
    position: relative;
    z-index: 1;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.screen.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 1;
    transform: translateY(0);
}

.star-rail-border {
    position: relative;
    padding: 0;
    background: transparent;
    border-radius: 8px;
}

.screen-content {
    background: transparent;
    border-radius: 8px;
    padding: 0;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.title-section {
    text-align: center;
    margin-bottom: 30px;
}

.main-title {
    font-size: 3.5rem;
    font-weight: bold;
    background: linear-gradient(135deg, var(--honkai-gold) 0%, var(--honkai-pink) 50%, var(--honkai-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 60px rgba(255, 215, 0, 0.5);
    margin-bottom: 15px;
    letter-spacing: 8px;
    position: relative;
    display: inline-block;
}

.main-title::after {
    content: '黄金裔';
    position: absolute;
    top: 0;
    left: 0;
    background: inherit;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: blur(20px);
    opacity: 0.7;
    z-index: -1;
}

.subtitle {
    font-size: 1.6rem;
    background: linear-gradient(90deg, var(--honkai-gold), var(--honkai-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 25px;
    font-weight: 300;
    letter-spacing: 8px;
}

.description {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
    margin-bottom: 30px;
    letter-spacing: 2px;
}

.btn {
    padding: 16px 55px;
    font-size: 1.15rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-weight: bold;
    position: relative;
    overflow: hidden;
    letter-spacing: 3px;
}

.primary-btn {
    background: linear-gradient(135deg, var(--honkai-gold), var(--honkai-pink));
    color: #0a0a1a;
    box-shadow:
        0 0 20px rgba(255, 215, 0, 0.4),
        0 0 40px rgba(255, 107, 157, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.primary-btn::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(45deg) translateX(-100%);
    transition: transform 0.6s;
}

.primary-btn:hover::before {
    transform: rotate(45deg) translateX(100%);
}

.primary-btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow:
        0 0 30px rgba(255, 215, 0, 0.6),
        0 0 60px rgba(255, 107, 157, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.secondary-btn {
    background: transparent;
    border: 2px solid var(--honkai-gold);
    color: var(--honkai-gold);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.2);
}

.secondary-btn:hover {
    background: var(--honkai-gold);
    color: #0a0a1a;
    transform: translateY(-3px);
    box-shadow: 0 0 25px rgba(255, 215, 0, 0.5);
}

.progress-container {
    width: 100%;
    margin-bottom: 35px;
    position: relative;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.progress-bar::before {
    content: '';
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 215, 0, 0.3);
    border-radius: 4px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--honkai-gold), var(--honkai-pink), var(--honkai-blue));
    background-size: 200% 100%;
    width: 0%;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 4px;
    position: relative;
    animation: progressShine 2s ease infinite;
}

@keyframes progressShine {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8));
    animation: progressGlow 1.5s ease infinite;
}

@keyframes progressGlow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.question-header {
    margin-bottom: 30px;
}

.question-number {
    color: var(--honkai-gold);
    font-size: 0.9rem;
    letter-spacing: 3px;
    margin-bottom: 15px;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.question-text {
    color: #fff;
    font-size: 1.5rem;
    line-height: 1.7;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.options-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.option-btn {
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid #d4c5a5;
    border-radius: 8px;
    color: #333;
    font-size: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    position: relative;
    margin-bottom: 10px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    max-width: 100%;
    word-wrap: break-word;
}

.option-btn::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, #c8b58f, #8b7355);
    opacity: 0;
    transition: opacity 0.3s;
    border-radius: 8px 0 0 8px;
}

.option-btn:hover {
    background: rgba(255, 255, 255, 0.95);
    border-color: #c8b58f;
    transform: translateX(6px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.option-btn:hover::before {
    opacity: 1;
}

.option-btn:active {
    transform: translateX(6px) scale(0.98);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.result-title {
    font-size: 1.2rem;
    font-weight: bold;
    color: #d32f2f;
    text-align: center;
    margin-bottom: 30px;
    padding: 8px 16px;
    display: inline-block;
    align-self: center;
}

.character-avatar {
    width: 180px;
    height: 180px;
    margin: 0 auto 20px;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 5rem;
    position: relative;
    border: 3px solid transparent;
    
}

.right-page {
    flex: 1;
    padding: 0 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 40px;
}

.character-avatar::before {
    content: '';
    position: absolute;
    inset: -10px;
    background: radial-gradient(circle, #ff6b6b, #ff9a9e, transparent);
    border-radius: 50%;
    z-index: -1;
    animation: avatarPulse 2s ease-in-out infinite;
}

@keyframes avatarPulse {
    0% {
        transform: scale(1);
        opacity: 0.8;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.6;
    }
    100% {
        transform: scale(1);
        opacity: 0.8;
    }
}



.character-title {
    font-size: 1.1rem;
    color: #8b7355;
    letter-spacing: 1px;
    margin-bottom: 20px;
    text-align: left;
    font-weight: bold;
}

.result-description {
    color: #333;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    padding: 0;
    background: transparent;
    border: none;
    max-width: 100%;
    word-wrap: break-word;
}

.character-traits {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 15px;
}

.trait-tag {
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid #d4c5a5;
    border-radius: 20px;
    color: #5d4037;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.trait-tag:hover {
    background: rgba(255, 255, 255, 1);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.floating-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--honkai-gold);
    border-radius: 50%;
    opacity: 0;
    animation: floatUp 8s ease-in-out infinite;
}

.particle:nth-child(1) { left: 10%; animation-delay: 0s; background: var(--honkai-gold); }
.particle:nth-child(2) { left: 20%; animation-delay: 1s; background: var(--honkai-pink); }
.particle:nth-child(3) { left: 30%; animation-delay: 2s; background: var(--honkai-blue); }
.particle:nth-child(4) { left: 40%; animation-delay: 3s; background: var(--honkai-gold); }
.particle:nth-child(5) { left: 50%; animation-delay: 4s; background: var(--honkai-pink); }
.particle:nth-child(6) { left: 60%; animation-delay: 5s; background: var(--honkai-blue); }
.particle:nth-child(7) { left: 70%; animation-delay: 6s; background: var(--honkai-gold); }
.particle:nth-child(8) { left: 80%; animation-delay: 7s; background: var(--honkai-pink); }
.particle:nth-child(9) { left: 90%; animation-delay: 0.5s; background: var(--honkai-blue); }
.particle:nth-child(10) { left: 15%; animation-delay: 2.5s; background: var(--honkai-gold); }
.particle:nth-child(11) { left: 25%; animation-delay: 4.5s; background: var(--honkai-pink); }
.particle:nth-child(12) { left: 35%; animation-delay: 6.5s; background: var(--honkai-blue); }

@keyframes floatUp {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100vh) scale(1);
        opacity: 0;
    }
}

@media (max-width: 600px) {
    .main-title {
        font-size: 2.5rem;
        letter-spacing: 4px;
    }

    .subtitle {
        font-size: 1.2rem;
        letter-spacing: 4px;
    }

    .screen-content {
        padding: 35px 20px;
    }

    .question-text {
        font-size: 1.25rem;
    }

    .character-name {
        font-size: 2rem;
    }

    .character-avatar {
        width: 120px;
        height: 120px;
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 14px;
    }

    .container {
        padding: 10px;
    }

    .book-container {
        padding: 20px 10px;
    }

    .book {
        width: 280px;
        height: 390px;
    }

    .book-cover,
    .book-inside {
        border-radius: 8px 15px 15px 8px;
    }

    .book-page {
        width: 100%;
        max-width: 350px;
        height: auto;
        min-height: 600px;
        border-radius: 6px;
    }

    .page-content {
        flex-direction: column;
        height: auto;
        padding: 25px 20px;
    }

    .page-content::before {
        display: none;
    }

    .left-page,
    .right-page {
        flex: none;
        width: 100%;
        padding: 20px 15px;
    }

    .left-page {
        padding-bottom: 15px;
        border-bottom: 1px solid rgba(212, 197, 165, 0.3);
    }

    .right-page {
        padding-top: 20px;
    }

    .left-page .question-number {
        font-size: 12px;
        margin-bottom: 12px;
    }

    .left-page .question-text {
        font-size: 15px;
        line-height: 1.6;
        padding: 10px;
    }

    .options-container {
        gap: 10px;
    }

    .option-btn {
        padding: 14px 16px;
        font-size: 14px;
        margin-bottom: 8px;
        border-radius: 6px;
    }

    .option-btn:hover {
        transform: translateX(4px);
    }

    .option-btn:active {
        transform: translateX(4px) scale(0.97);
    }

    .progress-container {
        margin-bottom: 20px;
    }

    .progress-bar {
        height: 6px;
    }

    .result-title {
        font-size: 1rem;
        margin-bottom: 20px;
        padding: 6px 12px;
    }

    .character-avatar {
        width: 140px;
        height: 140px;
        font-size: 4rem;
        margin: 0 auto 15px;
    }

    .character-title {
        font-size: 1rem;
        margin-bottom: 15px;
    }

    .result-description {
        font-size: 13px;
        line-height: 1.5;
        margin-bottom: 15px;
    }

    .character-traits {
        gap: 8px;
    }

    .trait-tag {
        padding: 5px 12px;
        font-size: 0.8rem;
        border-radius: 15px;
    }

    .corner-decoration {
        width: 30px;
        height: 30px;
    }

    .floating-particles {
        display: none;
    }

    .page-flip {
        display: none;
    }
}

@media (max-width: 480px) {
    .book {
        width: 240px;
        height: 340px;
    }

    .book-page {
        max-width: 300px;
        min-height: 550px;
    }

    .page-content {
        padding: 20px 15px;
    }

    .left-page,
    .right-page {
        padding: 15px 10px;
    }

    .left-page .question-number {
        font-size: 11px;
        margin-bottom: 10px;
    }

    .left-page .question-text {
        font-size: 14px;
        line-height: 1.5;
        padding: 8px;
    }

    .option-btn {
        padding: 12px 14px;
        font-size: 13px;
    }

    .character-avatar {
        width: 120px;
        height: 120px;
        font-size: 3.5rem;
    }

    .character-title {
        font-size: 0.95rem;
    }

    .result-description {
        font-size: 12px;
        line-height: 1.4;
    }

    .trait-tag {
        padding: 4px 10px;
        font-size: 0.75rem;
    }

    .page-flip {
        display: none;
    }
}

@media (max-width: 360px) {
    .book {
        width: 220px;
        height: 310px;
    }

    .book-page {
        max-width: 280px;
        min-height: 500px;
    }

    .left-page .question-text {
        font-size: 13px;
    }

    .option-btn {
        padding: 10px 12px;
        font-size: 12px;
    }

    .character-avatar {
        width: 100px;
        height: 100px;
        font-size: 3rem;
    }

    .page-flip {
        display: none;
    }

    .disclaimer {
        padding: 10px;
        font-size: 10px;
    }

    .disclaimer p {
        margin: 0;
    }
}

/* 免责声明样式 */
.disclaimer {
    background: rgba(0, 0, 0, 0.7);
    color: #d4c5a5;
    padding: 15px 20px;
    text-align: center;
    font-size: 12px;
    border-top: 1px solid rgba(212, 197, 165, 0.3);
    margin-top: 30px;
    font-family: 'Arial', sans-serif;
    letter-spacing: 0.5px;
}

.disclaimer p {
    margin: 0;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .disclaimer {
        padding: 12px 15px;
        font-size: 11px;
        margin-top: 20px;
    }
}

/* 匹配度样式 */
.match-score {
    text-align: center;
    margin-top: 15px;
}

.score-label {
    font-size: 14px;
    color: #8b7355;
    margin-bottom: 5px;
    font-weight: 500;
}

.score-value {
    font-size: 2rem;
    font-weight: bold;
    color: #c9a96e;
    text-shadow: 0 0 10px rgba(201, 169, 110, 0.5);
    margin-bottom: 8px;
}

.score-bar {
    width: 100%;
    height: 8px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
    overflow: hidden;
    border: 1px solid rgba(201, 169, 110, 0.3);
}

.score-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #c9a96e, #f4d03f);
    border-radius: 4px;
    transition: width 1s ease-out;
}

/* 命中维度分析样式 */
.dimension-analysis {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid rgba(212, 197, 165, 0.3);
}

.dimension-title {
    font-size: 12px;
    color: #8b7355;
    margin-bottom: 8px;
    font-weight: 500;
}

.dimension-tags {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.dimension-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.dimension-name {
    font-size: 10px;
    color: #a89070;
    font-weight: 500;
}

.dimension-bar {
    width: 100%;
    height: 5px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
    overflow: hidden;
}

.dimension-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #7c9a6e, #a8d08d);
    border-radius: 3px;
    transition: width 0.8s ease-out;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .match-score {
        margin-top: 12px;
    }

    .score-label {
        font-size: 12px;
    }

    .score-value {
        font-size: 1.6rem;
    }

    .dimension-title {
        font-size: 12px;
    }

    .dimension-name {
        font-size: 10px;
    }
}

@media (max-width: 480px) {
    .score-value {
        font-size: 1.4rem;
    }

    .dimension-analysis {
        margin-top: 12px;
        padding-top: 12px;
    }
}