:root {
    --primary-green: #2a7a2a;
    --secondary-green: #4ca64c;
    --light-green: #8fde8f;
    --dark-green: #1a5a1a;
    --gold: #d4af37;
    --bronze: #cd7f32;
    --sand: #e6d2a9;
    --sky-blue: #87CEEB;
    --storm-gray: #6c757d;
    --text-color: #333;
    --bg-color: #f5f5f5;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

body {
    background: var(--sky-blue);
    color: var(--text-color);
    height: 100vh;
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    position: relative;
    margin: 0;
    padding: 0;
}

/* 天空区域 - 占75%高度 */
.sky {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 75vh;
    z-index: 1;
}

/* 三个天空层，每层33.33%宽度 - 样式已整合到具体类中 */

.sky-top {
    top: 0;
    left: 0;
    position: absolute;
    height: 100%;
    width: 33.33%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.5rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    transition: all 2s ease;
    padding: 20px;
    text-align: center;
    z-index: 1;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.3) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(255,255,255,0.2) 0%, transparent 40%),
        linear-gradient(to bottom, #87CEEB 0%, #6bb5ff 50%, #4da6ff 100%);
    overflow: hidden;
}

.sky-middle {
    top: 0;
    left: 33.33%;
    position: absolute;
    height: 100%;
    width: 33.33%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.5rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    transition: all 2s ease;
    padding: 20px;
    text-align: center;
    overflow: hidden;
    z-index: 1;
    background: 
        /* 云层效果 */  
        radial-gradient(circle at 30% 20%, rgba(255,255,255,0.1) 0%, transparent 30%),
        radial-gradient(circle at 80% 70%, rgba(100,100,100,0.5) 0%, transparent 50%),
        /* 基础背景 */
        linear-gradient(to bottom, #4a4a4a 0%, #2a2a2a 50%, #1a1a1a 100%);
}

.sky-bottom {
    top: 0;
    left: 66.66%;
    position: absolute;
    height: 100%;
    width: 33.33%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.5rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    transition: all 2s ease;
    padding: 20px;
    text-align: center;
    z-index: 1;
    background: 
        radial-gradient(circle at 40% 40%, rgba(255,200,100,0.4) 0%, transparent 60%),
        radial-gradient(circle at 60% 80%, rgba(255,100,100,0.3) 0%, transparent 40%),
        linear-gradient(135deg, #ff6b6b 0%, #ff9f40 30%, #ff4757 60%, #ffa502 100%);
    overflow: hidden;
}

/* 沙滩区域 - 占25%高度 */
.beach {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 25vh;
    background: linear-gradient(to top, var(--sand), #d9c7a2);
    z-index: 2;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 0 20px;
}

/* 沙滩上的元素 */
.beach-element {
    position: relative;
}

.signboard {
    background: var(--bronze);
    color: #fff;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    animation: blink 3s infinite;
    border: 3px solid var(--gold);
    max-width: 300px;
    left: -20%;
}

.signboard:after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 20px;
    background: var(--bronze);
}

.pufferfish {
    font-size: 4rem;
    cursor: pointer;
    transition: all 0.5s ease;
    position: relative;
    z-index: 3;
}

.pufferfish:hover {
    transform: scale(1.2);
}

.pufferfish-dialogue {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.95);
    padding: 15px 20px;
    border-radius: 15px;
    border: 2px solid var(--light-green);
    max-width: 450px;
    min-width: 300px;
    display: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    font-size: 0.95rem;
    line-height: 1.4;
    word-wrap: break-word;
}

.pufferfish-dialogue:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid rgba(255, 255, 255, 0.9);
}

/* 模态框 - 悖论选择器 */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
}

.modal-content {
    background: white;
    padding: 30px;
    border-radius: 15px;
    max-width: 600px;
    width: 90%;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
}

.modal h2 {
    color: var(--primary-green);
    margin-bottom: 20px;
    text-align: center;
}

fieldset {
    border: 2px dashed var(--primary-green);
    border-radius: 10px;
    padding: 15px;
    margin: 15px 0;
}

legend {
    padding: 0 10px;
    color: var(--primary-green);
    font-weight: bold;
}

.paradox-option {
    margin: 10px 0;
    padding: 10px;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.paradox-option:hover {
    background: rgba(143, 222, 143, 0.2);
}

button {
    background: var(--primary-green);
    color: white;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    margin: 5px;
    transition: all 0.3s ease;
    display: block;
    width: 100%;
    margin-top: 20px;
}

button:hover {
    background: var(--dark-green);
    transform: scale(1.05);
}

/* 逻辑辐射效果 */
.logic-radiation {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(143,222,143,0.7) 0%, rgba(42,122,42,0.3) 70%, transparent 100%);
    animation: pulse 4s infinite alternate;
    z-index: 1;
}

/* 浮动渡鸦 */
.floating-raven {
    position: absolute;
    font-size: 3rem;
    animation: ravenFly 120s infinite linear;
    z-index: 5;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.floating-raven:hover {
    transform: scale(1.1);
}

/* 渡鸦携带的逻辑符号 */
.floating-raven::after {
    content: attr(data-symbol);
    position: absolute;
    top: -10px;
    right: -15px;
    font-size: 1.5rem;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    background: rgba(0,0,0,0.6);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
}

/* 成就弹窗 */
.achievement {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    background: rgba(212, 175, 55, 0.95);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
    text-align: center;
    z-index: 100;
    transition: transform 0.5s ease;
}

.achievement.show {
    transform: translate(-50%, -50%) scale(1);
}

/* 动画定义 */
@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@keyframes pulse {
    0% { transform: scale(0.8); opacity: 0.5; }
    100% { transform: scale(1.2); opacity: 0.8; }
}

@keyframes ravenFly {
    0% { transform: translateX(-100px) translateY(10vh); }
    25% { transform: translateX(25vw) translateY(5vh); }
    50% { transform: translateX(50vw) translateY(15vh); }
    75% { transform: translateX(75vw) translateY(8vh); }
    100% { transform: translateX(calc(100vw + 100px)) translateY(12vh); }
}

/* 羽毛掉落效果 */
.feather {
    position: absolute;
    font-size: 2rem;
    color: #333;
    animation: featherFall 3s ease-out forwards;
    z-index: 10;
    cursor: pointer;
    -webkit-user-select: none;
    user-select: none;
}

@keyframes featherFall {
    0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: translateY(30vh) rotate(180deg);
        opacity: 0.8;
    }
    100% {
        transform: translateY(60vh) rotate(360deg);
        opacity: 0.3;
    }
}

/* 真理值表彩蛋 */
.truth-table {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    background: rgba(0, 0, 0, 0.9);
    color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
    z-index: 100;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.4;
    max-width: 400px;
    transition: transform 0.3s ease;
    border: 2px solid var(--gold);
}

.truth-table.show {
    transform: translate(-50%, -50%) scale(1);
}

.truth-table h3 {
    color: var(--gold);
    margin-bottom: 10px;
    text-align: center;
    font-size: 1.2rem;
}

.truth-table table {
    width: 100%;
    border-collapse: collapse;
    margin: 10px 0;
}

.truth-table th, .truth-table td {
    border: 1px solid #555;
    padding: 5px 8px;
    text-align: center;
}

.truth-table th {
    background: var(--primary-green);
    color: white;
}

.truth-table .close-btn {
    position: absolute;
    top: -10%;
    right: -45%;
    background: none;
    border: none;
    color: var(--gold);
    font-size: 1.8rem;
    cursor: pointer;
    font-weight: bold;
    z-index: 10;
}

.truth-table .close-btn:hover {
    color: #fff;
}

@keyframes titleColorShift {
    0% { color: var(--dark-green); }
    50% { color: var(--primary-green); }
    100% { color: #1a3a5a; }
}

/* 逻辑风暴效果 */
.logic-storm .sky-top {
    background: linear-gradient(to bottom, #1a5a9c, #2a7acc);
    color: #ff6b6b;
}

.logic-storm .sky-middle {
    background: linear-gradient(to bottom, #2a7acc, #4a9ae9);
    color: #ffd93d;
}

.logic-storm .sky-bottom {
    background: linear-gradient(to bottom, #4a9ae9, #6bb5ff);
    color: #a8e6cf;
}

/* 彩虹效果 */
.rainbow-effect {
    animation: rainbow 5s infinite linear;
}

@keyframes rainbow {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

/* 水潭样式 */
.water-pond {
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 30px;
    background: radial-gradient(ellipse, #4a9ae9 0%, #2a7acc 50%, #1a5a9c 100%);
    border-radius: 50%;
    opacity: 0.8;
    animation: waterRipple 3s infinite ease-in-out;
}

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

/* 指路牌按钮 */
.signpost-button {
    position: fixed;
    top: 16px;
    right: 5px;
    background: var(--bronze);
    color: white;
    border: none;
    padding: 16px 38px;
    border-radius: 18px;
    cursor: pointer;
    font-size: 1.5rem;
    font-weight: bold;
    transform: rotate(-8deg);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
    transition: all 0.3s ease;
    z-index: 50;
    border: 2px solid var(--gold);
    width: auto;
    min-width: 120px;
}

.signpost-button:hover {
    transform: rotate(-3deg) scale(1.05);
    background: var(--gold);
    color: var(--text-color);
}

.signpost-button::before {
    content: '👉 ';
    margin-right: 5px;
}

/* 矛盾路标 */
.contradiction-sign {
    position: fixed;
    top: 16px;
    left: 50%;
    transform: translateX(-50%) rotate(5deg);
    background: linear-gradient(135deg, #ff4444 0%, #cc0000 100%);
    color: white;
    border: none;
    padding: 16px 38px;
    border-radius: 18px;
    cursor: pointer;
    font-size: 1.5rem;
    font-weight: bold;
    box-shadow: 0 4px 14px rgba(255, 68, 68, 0.25);
    transition: all 0.3s ease;
    z-index: 50;
    border: 2px solid #ff6666;
    width: auto;
    min-width: 120px;
    animation: contradictionPulse 2s ease-in-out infinite;
}

.contradiction-sign:hover {
    transform: translateX(-50%) rotate(5deg) scale(1.05);
    background: linear-gradient(135deg, #ff6666 0%, #ff0000 100%);
}

.contradiction-sign::before {
    content: '⚠️ ';
    margin-right: 5px;
}

/* 动画效果 */
@keyframes contradictionPulse {
    0%, 100% { 
        box-shadow: 0 4px 12px rgba(255, 68, 68, 0.4);
        border-color: #ff6666;
    }
    50% { 
        box-shadow: 0 6px 18px rgba(255, 68, 68, 0.7);
        border-color: #ff4444;
    }
}

/* 成就计数器 */
.achievement-counter {
    position: fixed;
    top: 20px;
    left: 20px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.95) 0%, rgba(255, 215, 0, 0.9) 100%);
    border: 2px solid var(--gold);
    border-radius: 15px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    z-index: 40;
    transition: all 0.3s ease;
    font-family: 'Georgia', serif;
}

.achievement-counter:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 18px rgba(212, 175, 55, 0.4);
}

.counter-icon {
    font-size: 24px;
    animation: counterGlow 3s ease-in-out infinite;
}

.counter-text {
    font-size: 18px;
    font-weight: bold;
    color: #2c1810;
    text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.3);
}

.counter-label {
    font-size: 12px;
    color: #5d4e37;
    font-style: italic;
    margin-left: -4px;
}

@keyframes counterGlow {
    0%, 100% { 
        filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.6)); 
    }
    50% { 
        filter: drop-shadow(0 0 12px rgba(255, 215, 0, 0.9)); 
    }
}

/* 动态雨滴样式 */
.raindrop {
    position: absolute;
    color: #4a9ae9;
    font-size: 1rem;
    opacity: 0.8;
    pointer-events: none;
    z-index: 2;
    animation: fallDown linear;
}

.raindrop.small {
    font-size: 0.8rem;
    opacity: 0.6;
}

.raindrop.large {
    font-size: 1.2rem;
    opacity: 0.9;
}

@keyframes fallDown {
    0% {
        transform: translateY(-20px) translateX(0px) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.8;
    }
    50% {
        transform: translateY(calc(37.5vh)) translateX(var(--drift, 0px)) rotate(2deg);
        opacity: 0.7;
    }
    90% {
        opacity: 0.4;
    }
    100% {
        transform: translateY(calc(75vh + 20px)) translateX(calc(var(--drift, 0px) * 2)) rotate(5deg);
        opacity: 0;
    }
}

/* 混沌色块样式 */
.chaos-block {
    position: absolute;
    pointer-events: none;
    z-index: 3;
    border-radius: 50%;
    animation: chaosBlockFade ease-in-out;
    opacity: 0;
}

.chaos-block.square {
    border-radius: 0;
}

.chaos-block.diamond {
    border-radius: 0;
    transform: rotate(45deg);
}

.chaos-block.triangle {
    width: 0 !important;
    height: 0 !important;
    border-left: var(--size) solid transparent;
    border-right: var(--size) solid transparent;
    border-bottom: calc(var(--size) * 1.5) solid var(--color);
    background: transparent !important;
    border-radius: 0;
}

.chaos-block.hexagon {
    border-radius: 0;
    position: relative;
    background: var(--color);
}

.chaos-block.hexagon::before {
    content: '';
    position: absolute;
    top: -25%;
    left: 0;
    width: 0;
    height: 0;
    border-left: calc(var(--size) / 2) solid transparent;
    border-right: calc(var(--size) / 2) solid transparent;
    border-bottom: calc(var(--size) / 4) solid var(--color);
}

.chaos-block.hexagon::after {
    content: '';
    position: absolute;
    bottom: -25%;
    left: 0;
    width: 0;
    height: 0;
    border-left: calc(var(--size) / 2) solid transparent;
    border-right: calc(var(--size) / 2) solid transparent;
    border-top: calc(var(--size) / 4) solid var(--color);
}

.chaos-block.star {
    background: transparent !important;
}

.chaos-block.star::before {
    content: '★';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--color);
    font-size: calc(var(--size) * 1.5);
    line-height: 1;
}

@keyframes chaosBlockFade {
    0% {
        opacity: 0;
        transform: scale(0) rotate(0deg);
    }
    10% {
        opacity: 0.8;
        transform: scale(1.2) rotate(10deg);
    }
    50% {
        opacity: var(--max-opacity, 0.7);
        transform: scale(1) rotate(180deg);
    }
    90% {
        opacity: 0.4;
        transform: scale(0.8) rotate(350deg);
    }
    100% {
        opacity: 0;
        transform: scale(0) rotate(360deg);
    }
}

/* 天空特效 */
.sky-top::before {
    content: '☀️ ☁️ ✈️';
    position: absolute;
    top: 10%;
    left: 10%;
    font-size: 2rem;
    animation: floatSun 4s infinite ease-in-out;
}

.sky-top::after {
    content: '🌤️ 🦅 ☁️';
    position: absolute;
    bottom: 20%;
    right: 15%;
    font-size: 1.5rem;
    animation: floatCloud 6s infinite ease-in-out reverse;
}

.sky-middle::before {
    content: '🌧️ ⚡ 🌩️';
    position: absolute;
    top: 20%;
    left: 20%;
    font-size: 2rem;
    animation: rainStorm 2s infinite ease-in-out;
    z-index: 1;
}

.sky-bottom::before {
    content: '🌀 ⚡ 🔥';
    position: absolute;
    top: 15%;
    right: 20%;
    font-size: 2rem;
    animation: chaosSwirl 3s infinite ease-in-out;
}

.sky-bottom::after {
    content: '✨ 💫 ⭐ 🌟 ✨';
    position: absolute;
    bottom: 25%;
    left: 10%;
    font-size: 1.2rem;
    animation: sparkle 4s infinite ease-in-out;
}

/* 天空特效动画 */
@keyframes floatSun {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

@keyframes floatCloud {
    0%, 100% { transform: translateY(0px) translateX(0px); }
    50% { transform: translateY(-15px) translateX(10px); }
}

@keyframes rainStorm {
    0%, 100% { transform: scale(1) rotate(0deg); opacity: 1; }
    50% { transform: scale(1.2) rotate(5deg); opacity: 0.8; }
}

@keyframes rainStormScatter {
    0% { 
        transform: translateY(-50px) translateX(-20px) rotate(-2deg);
        opacity: 0.3;
    }
    25% {
        transform: translateY(20px) translateX(10px) rotate(1deg);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-10px) translateX(-5px) rotate(-1deg);
        opacity: 0.6;
    }
    75% {
        transform: translateY(30px) translateX(15px) rotate(2deg);
        opacity: 0.7;
    }
    100% { 
        transform: translateY(-20px) translateX(-10px) rotate(-1deg);
        opacity: 0.4;
    }
}

@keyframes rainDrop {
    0% { transform: translateX(-50%) translateY(-20px); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateX(-50%) translateY(40px); opacity: 0; }
}

@keyframes chaosSwirl {
    0% { transform: rotate(0deg) scale(1); }
    33% { transform: rotate(120deg) scale(1.1); }
    66% { transform: rotate(240deg) scale(0.9); }
    100% { transform: rotate(360deg) scale(1); }
}

@keyframes sparkle {
    0%, 100% { opacity: 0.3; transform: scale(0.8); }
    50% { opacity: 1; transform: scale(1.2); }
}

/* 旧的雨滴动画已被JavaScript动态系统替代 */

/* 背景传说羊皮卷轴 */
.legend-scroll {
    position: fixed;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 90%;
    max-width: 600px;
    background: linear-gradient(135deg, #f4e6c9 0%, #e8d5b3 50%, #dcc49d 100%);
    border: 3px solid #8b6914;
    border-radius: 20px;
    box-shadow: 
        0 5px 15px rgba(0, 0, 0, 0.3),
        inset 0 2px 5px rgba(255, 255, 255, 0.3),
        inset 0 -2px 5px rgba(139, 105, 20, 0.2);
    z-index: 15;
    animation: scrollFloat 6s ease-in-out infinite;
    opacity: 0.95;
    -webkit-backdrop-filter: blur(2px);
    backdrop-filter: blur(2px);
}

.legend-scroll::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: 
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 10px,
            rgba(139, 105, 20, 0.1) 10px,
            rgba(139, 105, 20, 0.1) 11px
        ),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 8px,
            rgba(139, 105, 20, 0.1) 8px,
            rgba(139, 105, 20, 0.1) 9px
        );
    border-radius: 25px;
    z-index: -1;
}

.scroll-content {
    padding: 20px 25px;
    position: relative;
}

.scroll-title {
    font-family: 'Times New Roman', serif;
    font-size: 18px;
    color: #5d4e37;
    text-align: center;
    margin-bottom: 12px;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
    letter-spacing: 0.5px;
}

.scroll-text {
    font-family: 'Georgia', serif;
    font-size: 14px;
    line-height: 1.6;
    color: #3e2723;
    text-align: justify;
    margin: 0;
    text-shadow: 0.5px 0.5px 1px rgba(0, 0, 0, 0.1);
    font-style: italic;
}

.scroll-text code {
    background: rgba(139, 105, 20, 0.15);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    color: #2e7d32;
    font-weight: bold;
    font-style: normal;
    border: 1px solid rgba(139, 105, 20, 0.3);
}

/* 羊皮卷轴装饰边框 */
.scroll-content::before,
.scroll-content::after {
    content: '';
    position: absolute;
    width: 30px;
    height: 30px;
    background: radial-gradient(circle, #8b6914 30%, transparent 31%);
}

.scroll-content::before {
    top: 10px;
    left: 10px;
}

.scroll-content::after {
    bottom: 10px;
    right: 10px;
}

/* 浮动动画 */
@keyframes scrollFloat {
    0%, 100% { 
        transform: translateX(-50%) translateY(0px) rotate(0deg); 
    }
    33% { 
        transform: translateX(-50%) translateY(-3px) rotate(0.5deg); 
    }
    66% { 
        transform: translateX(-50%) translateY(-1px) rotate(-0.3deg); 
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .legend-scroll {
        width: 95%;
        bottom: 2px;
    }
    
    .scroll-content {
        padding: 15px 20px;
    }
    
    .scroll-title {
        font-size: 16px;
    }
    
    .scroll-text {
        font-size: 13px;
    }
    
    .achievement-counter {
        top: 15px;
        left: 15px;
        padding: 8px 12px;
        font-size: 14px;
    }
    
    .counter-icon {
        font-size: 20px;
    }
    
    .counter-text {
        font-size: 16px;
    }
    
    .counter-label {
        font-size: 11px;
    }
    
    .contradiction-sign {
        top: 12px;
        padding: 12px 30px;
        font-size: 1.3rem;
        min-width: 100px;
    }
}