* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
}

.game-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    padding: 30px;
    max-width: 1200px;
    width: 100%;
    backdrop-filter: blur(10px);
    margin: 0 auto;
}

.game-header {
    text-align: center;
    margin-bottom: 20px;
    position: relative;
}

/* 新增：header内容布局 */
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.header-text {
    flex: 1;
    text-align: left;
}

.header-controls {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.game-header h1 {
    font-size: 2.5em;
    color: #333;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.subtitle {
    font-size: 1.2em;
    color: #666;
    font-weight: 300;
}

/* 新增：header按钮样式 */
.header-btn {
    padding: 10px 16px;
    border: none;
    border-radius: 25px;
    font-size: 0.9em;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    white-space: nowrap;
}

.header-btn.restart-btn {
    background: linear-gradient(135deg, #ff9a9e 0%, #fecfef 100%);
    color: #333;
}

.header-btn.new-puzzle-btn {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    color: #333;
}

.header-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.header-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.animal-cage {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 25px;
    min-height: 350px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    border: 3px solid rgba(255, 255, 255, 0.3);
}

.cage-background {
    position: relative;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23ffffff" stroke-width="0.5" opacity="0.3"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
}

.animals-container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 20px;
    justify-content: center;
    align-items: center;
}

/* 新增：动物行样式 */
.animal-row {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: end;
    flex-wrap: wrap;
}

/* 新增：行标签样式 */
.row-label {
    font-size: 1.2em;
    font-weight: bold;
    color: #333;
    text-align: center;
    margin-bottom: 10px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 新增：动物省略号样式 */
.animal-ellipsis {
    font-size: 2.5em;
    color: #888;
    display: flex;
    align-items: end;
    justify-content: center;
    padding-bottom: 25px;
    opacity: 0.8;
    font-weight: bold;
    letter-spacing: 3px;
    animation: ellipsisPulse 3s ease-in-out infinite;
}

@keyframes ellipsisPulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.05); }
}

/* 新增：笼子分隔符样式 */
.cage-separator {
    text-align: center;
    font-size: 1.2em;
    opacity: 0.6;
    margin: 10px 0;
    letter-spacing: 5px;
    animation: separatorSway 4s ease-in-out infinite;
}

@keyframes separatorSway {
    0%, 100% { transform: translateX(0px); }
    50% { transform: translateX(5px); }
}

.animal {
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    transform-origin: bottom center;
}

.animal:hover {
    transform: scale(1.1);
}

.animal-body {
    font-size: 3.5em;
    display: block;
    margin-bottom: 10px;
    transition: all 0.5s ease;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.2));
}

.animal-legs {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: -20px;
}

.leg {
    width: 8px;
    height: 25px;
    background: #8B4513;
    border-radius: 4px;
    transition: all 0.5s ease;
    transform-origin: top center;
    position: relative;
}

.leg.lifted {
    transform: rotate(-45deg) translateY(-10px);
    background: #CD853F;
}

.leg.fallen {
    transform: rotate(90deg);
    opacity: 0.5;
}

/* 动物状态动�?*/
.animal.fallen {
    animation: fall 0.8s ease-out forwards;
}

.animal.standing {
    animation: stand 0.5s ease-out forwards;
}

.animal.celebrating {
    animation: celebrate 1s ease-in-out infinite;
}

@keyframes fall {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(-15deg) scale(0.9); }
    100% { transform: rotate(-90deg) scale(0.8) translateY(20px); opacity: 0.6; }
}

@keyframes stand {
    0% { transform: scale(0.9); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

@keyframes celebrate {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-10px) scale(1.05); }
}

/* 抬腿动画 */
@keyframes liftLeg {
    0% { transform: rotate(0deg) translateY(0px); }
    50% { transform: rotate(-30deg) translateY(-15px); }
    100% { transform: rotate(-45deg) translateY(-10px); }
}

.control-panel {
    text-align: center;
    margin-bottom: 30px;
}

.whistle-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 20px 40px;
    font-size: 1.5em;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
}

.whistle-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.whistle-btn:active {
    transform: translateY(0px);
    animation: whistle-pulse 0.3s ease;
}

@keyframes whistle-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.whistle-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.instruction {
    font-size: 1.2em;
    color: #333;
    padding: 15px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 10px;
    margin: 0 auto;
    max-width: 600px;
    border-left: 4px solid #667eea;
}

.answer-section {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    text-align: center;
    color: #333; /* 确保主要文字是深�?*/
}

.answer-section h3 {
    color: #333;
    margin-bottom: 15px;
    font-size: 1.5em;
}

.answer-section > p {
    color: #333;
    font-size: 1.1em;
    margin-bottom: 20px;
}

/* 答案占位符样�?*/
#step1-answer, #step2-answer {
    color: #ff6b6b;
    font-weight: bold;
    font-size: 1.2em;
    background: rgba(255, 255, 255, 0.8);
    padding: 2px 8px;
    border-radius: 6px;
    border: 2px dashed #ff6b6b;
    display: inline-block;
    min-width: 30px;
    text-align: center;
}

/* 当显示真实答案时的样�?*/
.answer-revealed {
    color: #4caf50 !important;
    background: rgba(76, 175, 80, 0.1) !important;
    border-color: #4caf50 !important;
    animation: answerReveal 0.5s ease-out;
}

@keyframes answerReveal {
    0% {
        transform: scale(1);
        background: rgba(255, 107, 107, 0.1);
    }
    50% {
        transform: scale(1.1);
        background: rgba(255, 215, 0, 0.3);
    }
    100% {
        transform: scale(1);
        background: rgba(76, 175, 80, 0.1);
    }
}

.formula {
    background: rgba(255, 255, 255, 0.9);
    padding: 15px;
    border-radius: 10px;
    margin: 20px 0;
    font-family: 'Courier New', monospace;
    font-size: 1.1em;
    color: #333;
    border: 2px solid #ff6b6b;
}

.input-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.input-group label {
    font-size: 1.2em;
    color: #333;
    font-weight: bold;
}

.input-group input {
    padding: 10px 15px;
    font-size: 1.2em;
    border: 2px solid #ddd;
    border-radius: 10px;
    width: 100px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.input-group input:focus, .input-group input:hover {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 10px rgba(102, 126, 234, 0.3);
    transform: scale(1.05);
}

.input-group button {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    font-size: 1.1em;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.input-group button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.verification {
    margin-top: 20px;
    padding: 15px;
    border-radius: 10px;
    font-size: 1.1em;
    font-weight: bold;
}

.verification.correct {
    background: #d4edda;
    color: #155724;
    border: 2px solid #c3e6cb;
}

.verification.incorrect {
    color: #e74c3c;
    background: rgba(231, 76, 60, 0.1);
}

.audio-controls {
    position: fixed;
    bottom: 10px;
    right: 10px;
}

.mute-btn {
    padding: 8px 12px;
    font-size: 1.2em;
}

.mute-btn:hover {
    transform: scale(1.1);
}

.mute-btn.muted {
    opacity: 0.5;
}

/* 响应式设�?*/
@media (max-width: 768px) {
    .game-container {
        padding: 15px;
        margin: 10px;
    }
    
    .game-header h1 {
        font-size: 1.8em;
        margin-bottom: 8px;
    }
    
    .subtitle {
        font-size: 0.9em;
    }
    
    /* 移动端header布局调整 */
    .header-content {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .header-text {
        text-align: center;
    }
    
    .header-controls {
        justify-content: center;
        flex-wrap: wrap;
        gap: 6px;
    }
    
    .header-btn {
        padding: 6px 10px;
        font-size: 0.8em;
        border-radius: 20px;
    }
    
    /* 移动端吹哨按钮调�?*/
    .whistle-btn-header {
        padding: 8px 12px;
        font-size: 0.85em;
    }
    
    .observation-inputs {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .animals-container {
        gap: 12px;
        padding: 12px;
    }
    
    .animal-row {
        gap: 8px;
        justify-content: center;
    }
    
    .animal-body {
        font-size: 2.5em;
    }
    
    .animal-cage {
        min-height: 240px;
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .whistle-btn {
        padding: 15px 30px;
        font-size: 1.2em;
    }
    
    .input-group {
        flex-direction: column;
        gap: 10px;
    }
    
    /* 移动端虚拟键盘优�?*/
    .virtual-keyboard {
        width: 98%;
        max-width: 350px;
        bottom: 10px;
        left: 1%;
        right: 1%;
        margin: 0 auto;
    }
    
    .keyboard-header {
        padding: 8px 12px;
    }
    
    .keyboard-title {
        font-size: 0.9em;
    }
    
    .keyboard-close {
        width: 24px;
        height: 24px;
        font-size: 16px;
    }
    
    .keyboard-display input {
        font-size: 1.1em;
        padding: 8px;
    }
    
    .keyboard-buttons {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
        padding: 10px;
    }
    
    .key-btn {
        padding: 10px 6px;
        font-size: 0.85em;
        border-radius: 6px;
    }
    
    /* 游戏控制面板 */
    .game-control-panel {
        padding: 10px;
        gap: 10px;
        border-radius: 12px;
    }
    
    .game-info-section {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    
    .info-item {
        padding: 6px;
        border-radius: 8px;
    }
    
    .info-item label {
        font-size: 0.7em;
        margin-bottom: 2px;
    }
    
    .info-value {
        font-size: 1.1em;
        padding: 4px 8px;
    }
    
    /* 引导部分 */
    .guidance-section {
        padding: 10px;
    }
    
    .guidance-section .guidance-question {
        font-size: 0.85em;
        padding: 10px;
        line-height: 1.4;
    }
    
    .guidance-section .guidance-progress {
        flex-direction: column;
        gap: 8px;
        align-items: center;
    }
    
    .guidance-section .step-indicator {
        font-size: 0.8em;
    }
    
    .guidance-section .next-step-btn {
        padding: 8px 16px;
        font-size: 0.8em;
        width: 100%;
        max-width: 200px;
    }
    
    /* 欢迎面板 */
    .welcome-panel {
        padding: 15px;
    }
    
    .welcome-content h2 {
        font-size: 1.6em;
        margin-bottom: 15px;
    }
    
    .game-intro p {
        font-size: 0.9em;
    }
    
    .intro-features {
        grid-template-columns: 1fr;
        gap: 10px;
        margin: 15px 0;
    }
    
    .feature-item {
        padding: 10px;
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }
    
    .feature-icon {
        font-size: 1.5em;
    }
    
    .feature-text {
        font-size: 0.85em;
    }
    
    .start-game-btn {
        padding: 10px 20px;
        font-size: 0.95em;
        width: 100%;
        max-width: 250px;
    }
    
    .game-tips p {
        font-size: 0.8em;
    }
    
    /* 引导步骤 */
    .guided-steps {
        gap: 12px;
    }
    
    .guided-step {
        padding: 12px;
        border-radius: 10px;
    }
    
    .step-header {
        margin-bottom: 10px;
    }
    
    .step-number {
        width: 24px;
        height: 24px;
        font-size: 0.8em;
    }
    
    .step-header h4 {
        font-size: 1em;
    }
    
    .question-box {
        padding: 10px;
        margin-bottom: 10px;
    }
    
    .question-box p {
        font-size: 0.85em;
        margin-bottom: 4px;
    }
    
    .formula-section {
        margin-top: 10px;
    }
    
    .formula-section p {
        font-size: 0.9em;
        margin-bottom: 8px;
    }
    
    .formula-input-line {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        font-size: 0.85em;
    }
    
    .formula-input-line input {
        width: 100%;
        text-align: center;
        padding: 8px;
        font-size: 0.9em;
    }
    
    .formula-input-line span {
        text-align: center;
        font-size: 1em;
        font-weight: bold;
    }
    
    .check-step-btn {
        padding: 8px 16px;
        font-size: 0.85em;
        width: 100%;
        margin-top: 8px;
    }
    
    .step-feedback {
        margin-top: 8px;
        padding: 8px;
        font-size: 0.85em;
    }
    
    .method-summary {
        padding: 12px;
    }
    
    .method-explanation ul {
        padding-left: 16px;
    }
    
    .method-explanation li {
        font-size: 0.85em;
        margin-bottom: 4px;
    }
    
    .congratulations {
        padding: 10px;
        margin: 10px 0;
    }
    
    .congratulations p {
        font-size: 0.9em;
    }
    
    #final-answer-group {
        margin-top: 15px;
    }
    
    #final-answer-group label {
        font-size: 0.9em;
        margin-bottom: 8px;
    }
    
    #rabbit-input {
        width: 100%;
        padding: 10px;
        font-size: 1em;
        text-align: center;
        margin-bottom: 10px;
    }
    
    #submit-answer {
        width: 100%;
        padding: 10px;
        font-size: 0.9em;
    }
    
    .audio-controls {
        bottom: 15px;
        right: 15px;
    }
    
    .mute-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2em;
    }
    
        bottom: 15px;
        left: 15px;
        padding: 8px 12px;
        font-size: 0.8em;
    }
}

@media (max-width: 480px) {
    .obs-input {
        width: 70px;
        font-size: 1.2em;
        padding: 10px 12px;
    }
    
    .count-display {
        font-size: 1.2em;
        padding: 10px 12px;
        min-width: 70px;
    }
    
    /* 超小屏幕键盘优化 */
    .virtual-keyboard {
        bottom: 5px;
        right: 5px;
        width: 220px;
        padding: 10px;
    }
    
    .key-btn {
        padding: 8px 4px;
        font-size: 1em;
    }
    
    .keyboard-display input {
        font-size: 1.1em;
        padding: 6px;
    }
}

/* 特殊效果 */
.sparkle {
    position: absolute;
    pointer-events: none;
    animation: sparkle 1s ease-out forwards;
}

@keyframes sparkle {
    0% {
        transform: scale(0) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: scale(1) rotate(180deg);
        opacity: 0;
    }
}

.success-message {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    border-radius: 20px;
    font-size: 1.5em;
    text-align: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    animation: successPop 0.5s ease-out;
}

@keyframes successPop {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 0;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

/* 引导面板样式 */
.guidance-panel {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 20px;
    padding: 25px;
    max-width: 350px;
    width: 350px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(102, 126, 234, 0.3);
    animation: guidanceSlideIn 0.5s ease-out;
}

@keyframes guidanceSlideIn {
    0% {
        transform: translateX(100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.guidance-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.guidance-header h3 {
    color: #667eea;
    margin: 0;
    font-size: 1.5em;
}

.guidance-controls {
    display: flex;
    gap: 10px;
    align-items: center;
}

.guidance-minimize, .guidance-close {
    background: #ff6b6b;
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2em;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.guidance-minimize {
    background: #4ecdc4;
}

.guidance-minimize:hover {
    background: #45b7aa;
    transform: scale(1.1);
}

.guidance-close:hover {
    background: #ff5252;
    transform: scale(1.1);
}

/* 最小化状态样�?*/
.guidance-panel.minimized {
    width: 60px;
    height: 60px;
    padding: 15px;
    border-radius: 50%;
    overflow: hidden;
    transition: all 0.3s ease;
}

.guidance-panel.minimized .guidance-header {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.guidance-panel.minimized .guidance-header h3 {
    display: none;
}

.guidance-panel.minimized .guidance-close {
    display: none;
}

.guidance-panel.minimized .guidance-content,
.guidance-panel.minimized .guidance-progress {
    display: none;
}

.guidance-content {
    margin-bottom: 20px;
}

.guidance-main {
    font-size: 1.1em;
    color: #333;
    margin-bottom: 15px;
    line-height: 1.6;
}

.guidance-hint {
    background: #e8f4fd;
    padding: 12px;
    border-radius: 10px;
    color: #1976d2;
    font-size: 0.95em;
    border-left: 4px solid #2196f3;
    margin-bottom: 20px;
}

.guidance-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.guidance-btn {
    padding: 12px 20px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1em;
    font-weight: bold;
    transition: all 0.3s ease;
    min-width: 120px;
}

.guidance-btn.primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.guidance-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.guidance-btn.secondary {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    color: #333;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.guidance-btn.secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.guidance-progress {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}

.guidance-progress .step-indicator {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 1em;
    font-weight: bold;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.next-step-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9em;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.next-step-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.next-step-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.progress-bar {
    background: #e0e0e0;
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    height: 100%;
    transition: width 0.5s ease;
    border-radius: 4px;
}

.progress-text {
    display: block;
    text-align: center;
    color: #666;
    font-size: 0.9em;
}

/* 提示框样�?*/
.count-tooltip, .thinking-help, .formula-help {
    position: fixed;
    top: 20%;
    left: 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 20px;
    max-width: 300px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    z-index: 999;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(102, 126, 234, 0.3);
    animation: tooltipSlideIn 0.3s ease-out;
}

@keyframes tooltipSlideIn {
    0% {
        transform: translateX(-100%);
        opacity: 0;
    }
    100% {
        transform: translateX(0);
        opacity: 1;
    }
}

.count-tooltip h4, .thinking-help h4, .formula-help h4 {
    color: #667eea;
    margin-bottom: 15px;
    font-size: 1.2em;
}

.count-tooltip p, .thinking-help p {
    margin-bottom: 8px;
    color: #333;
    line-height: 1.5;
}

.thinking-help ul, .formula-help ul {
    margin-left: 20px;
    color: #555;
}

.thinking-help li, .formula-help li {
    margin-bottom: 5px;
    line-height: 1.4;
}

.formula-step {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 15px;
    border-left: 4px solid #667eea;
}

.formula-step:last-child {
    margin-bottom: 0;
}

.formula-step p {
    margin-bottom: 8px;
    line-height: 1.5;
}

.formula-step strong {
    color: #667eea;
}

/* 游戏消息样式 */
.game-message {
    position: fixed;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    padding: 15px 25px;
    border-radius: 25px;
    font-weight: bold;
    z-index: 1001;
    animation: messageSlideDown 0.3s ease-out;
}

.game-message.info {
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
    color: white;
}

.game-message.warning {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    color: #333;
    border: 2px solid #ff9800;
}

.game-message.error {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: white;
}

@keyframes messageSlideDown {
    0% {
        transform: translateX(-50%) translateY(-100%);
        opacity: 0;
    }
    100% {
        transform: translateX(-50%) translateY(0);
        opacity: 1;
    }
}

/* 高亮效果增强 */
.animal.highlighted {
    animation: highlight 2s ease-in-out;
}

@keyframes highlight {
    0%, 100% { 
        transform: scale(1);
        filter: drop-shadow(0 0 0px transparent);
    }
    50% { 
        transform: scale(1.2);
        filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.8));
    }
}

/* 引导模式切换按钮 */
/* 删除引导模式按钮相关样式 */

/* 响应式设计增�?*/
@media (max-width: 768px) {
    .guidance-panel {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        top: auto;
        width: 100%;
        max-width: none;
        border-radius: 20px 20px 0 0;
        max-height: 50vh;
        animation: guidanceSlideUp 0.5s ease-out;
    }
    
    .guidance-panel.minimized {
        bottom: 20px;
        right: 20px;
        left: auto;
        width: 60px;
        height: 60px;
        border-radius: 50%;
    }
    
    .guidance-buttons {
        flex-direction: column;
    }
    
    .guidance-btn {
        width: 100%;
        margin-bottom: 10px;
    }
    
    .count-tooltip, .thinking-help, .formula-help {
        position: fixed;
        bottom: 60px;
        left: 10px;
        right: 10px;
        top: auto;
        max-width: none;
        animation: tooltipSlideUp 0.3s ease-out;
    }
}

@keyframes tooltipSlideUp {
    0% {
        transform: translateY(100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* 动画增强 */
.guidance-panel.closing {
    animation: guidanceSlideOut 0.3s ease-in forwards;
}

@keyframes guidanceSlideOut {
    0% {
        transform: translateX(0);
        opacity: 1;
    }
    100% {
        transform: translateX(100%);
        opacity: 0;
    }
}

@keyframes guidanceSlideUp {
    0% {
        transform: translateY(100%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

/* 特殊状态样�?*/
.animal.thinking {
    animation: thinking 2s ease-in-out infinite;
}

@keyframes thinking {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-2deg); }
    75% { transform: rotate(2deg); }
}

.animal.discovered {
    animation: discovered 1s ease-out;
}

@keyframes discovered {
    0% { 
        transform: scale(1);
        filter: brightness(1);
    }
    50% { 
        transform: scale(1.15);
        filter: brightness(1.3) drop-shadow(0 0 15px gold);
    }
    100% { 
        transform: scale(1);
        filter: brightness(1);
    }
}

/* 观察面板样式 */
.observation-panel {
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 25px;
    text-align: center;
    color: white;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.observation-instruction h3 {
    margin-bottom: 15px;
    font-size: 1.5em;
    color: white;
}

.observation-instruction p {
    margin-bottom: 20px;
    font-size: 1.1em;
    opacity: 0.9;
    line-height: 1.6;
}

.observation-inputs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin: 25px 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(5px);
}

.input-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.input-item label {
    font-weight: bold;
    font-size: 1em;
    color: white;
}

.obs-input {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 10px;
    padding: 12px 15px;
    font-size: 1.4em;
    font-weight: bold;
    text-align: center;
    width: 80px;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
}

.obs-input:focus, .obs-input:hover {
    border-color: #ffd700;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
    transform: scale(1.05);
}

.obs-input::placeholder {
    color: rgba(51, 51, 51, 0.5);
    font-size: 1.2em;
}

.count-display {
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    padding: 12px 15px;
    border-radius: 10px;
    font-size: 1.4em;
    font-weight: bold;
    min-width: 80px;
    display: inline-block;
    text-align: center;
}

/* 虚拟键盘样式 */
.virtual-keyboard {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 15px;
    padding: 15px;
    width: 280px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    z-index: 2000;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(102, 126, 234, 0.3);
    animation: keyboardSlideIn 0.3s ease-out;
}

@keyframes keyboardSlideIn {
    0% {
        transform: translateX(100%) translateY(100%);
        opacity: 0;
        scale: 0.8;
    }
    100% {
        transform: translateX(0) translateY(0);
        opacity: 1;
        scale: 1;
    }
}

.keyboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}

.keyboard-title {
    font-size: 1.1em;
    font-weight: bold;
    color: #333;
}

.keyboard-close {
    background: #ff6b6b;
    color: white;
    border: none;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.1em;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.keyboard-close:hover {
    background: #ff5252;
    transform: scale(1.1);
}

.keyboard-display {
    margin-bottom: 15px;
}

.keyboard-display input {
    width: 100%;
    padding: 10px;
    font-size: 1.4em;
    text-align: center;
    border: 2px solid #ddd;
    border-radius: 8px;
    background: #f8f9fa;
    color: #333;
    font-weight: bold;
}

.keyboard-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.key-btn {
    padding: 12px 8px;
    font-size: 1.2em;
    font-weight: bold;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.key-btn.number {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.key-btn.number:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.key-btn.action {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    color: #333;
    font-size: 1em;
}

.key-btn.action:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.key-btn.confirm {
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
    color: white;
}

.key-btn.confirm:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(78, 205, 196, 0.3);
}

.key-btn:active {
    transform: translateY(0);
    animation: keyPress 0.1s ease;
}

@keyframes keyPress {
    0% { transform: scale(1); }
    50% { transform: scale(0.95); }
    100% { transform: scale(1); }
}

.confirm-btn {
    background: rgba(255, 255, 255, 0.9);
    color: #4ecdc4;
    border: none;
    padding: 15px 30px;
    font-size: 1.2em;
    font-weight: bold;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.confirm-btn:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.confirm-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.observation-panel.hidden {
    display: none;
}

/* 发现对话框样�?*/
.discovery-dialog {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 3000;
    animation: dialogFadeIn 0.3s ease-out;
}

@keyframes dialogFadeIn {
    0% {
        opacity: 0;
        backdrop-filter: blur(0px);
    }
    100% {
        opacity: 1;
        backdrop-filter: blur(5px);
    }
}

.dialog-content {
    background: white;
    border-radius: 20px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    animation: dialogSlideIn 0.4s ease-out;
}

@keyframes dialogSlideIn {
    0% {
        transform: translateY(-50px) scale(0.9);
        opacity: 0;
    }
    100% {
        transform: translateY(0) scale(1);
        opacity: 1;
    }
}

.dialog-content h4 {
    color: #667eea;
    margin-bottom: 20px;
    font-size: 1.4em;
    text-align: center;
}

.discovery-options {
    display: grid;
    gap: 12px;
    margin-bottom: 20px;
}

.discovery-option {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border: 2px solid #dee2e6;
    border-radius: 12px;
    padding: 15px 20px;
    font-size: 1.1em;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    color: #333;
}

.discovery-option:hover {
    border-color: #667eea;
    background: linear-gradient(135deg, #e8f4fd 0%, #f0f8ff 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.2);
}

.discovery-option:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.dialog-feedback {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border: 2px solid #28a745;
    border-radius: 12px;
    padding: 15px;
    margin: 20px 0;
    color: #155724;
    font-weight: bold;
    animation: feedbackSlideIn 0.3s ease-out;
}

@keyframes feedbackSlideIn {
    0% {
        transform: translateY(-10px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.dialog-continue {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 25px;
    padding: 12px 25px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
    animation: continueButtonAppear 0.3s ease-out;
}

@keyframes continueButtonAppear {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.dialog-continue:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

/* 分析面板样式 */
.discovery-analysis {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.98);
    border-radius: 20px;
    padding: 25px;
    max-width: 400px;
    width: 90%;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    z-index: 2500;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(102, 126, 234, 0.3);
    animation: analysisSlideIn 0.4s ease-out;
}

@keyframes analysisSlideIn {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
}

.discovery-analysis h4 {
    color: #667eea;
    margin-bottom: 15px;
    font-size: 1.3em;
    text-align: center;
}

.analysis-content {
    color: #333;
    line-height: 1.6;
}

.analysis-content p {
    margin-bottom: 10px;
}

.analysis-content ul {
    margin: 10px 0 15px 20px;
}

.analysis-content li {
    margin-bottom: 5px;
}

.analysis-content strong {
    color: #667eea;
}

/* 观察面板内的引导步骤样式 */
.guidance-steps {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    padding: 20px;
    margin: 20px 0;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.step-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    gap: 5px;
}

.step-number {
    background: rgba(255, 255, 255, 0.9);
    color: #667eea;
    font-weight: bold;
    font-size: 1.2em;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.step-total {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1em;
    font-weight: bold;
}

.step-content {
    text-align: center;
    margin-bottom: 20px;
}

.step-content h4 {
    color: white;
    font-size: 1.3em;
    margin-bottom: 10px;
}

.step-content p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1em;
    line-height: 1.5;
    margin-bottom: 15px;
}

.step-hint {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95em;
    border-left: 4px solid #ffd700;
    text-align: left;
}

.step-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.step-btn {
    padding: 10px 18px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.95em;
    font-weight: bold;
    transition: all 0.3s ease;
    min-width: 120px;
}

.step-btn.primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.step-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.step-btn.secondary {
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.step-btn.secondary:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* 响应式设�?*/
@media (max-width: 768px) {
    .guidance-steps {
        padding: 15px;
        margin: 15px 0;
    }
    
    .step-actions {
        flex-direction: column;
        gap: 8px;
    }
    
    .step-btn {
        width: 100%;
        padding: 12px 15px;
        font-size: 1em;
    }
    
    .step-content h4 {
        font-size: 1.2em;
    }
    
    .step-content p {
        font-size: 1em;
    }
}

/* 右上角吹哨按钮样�?*/
.whistle-btn-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 12px 20px;
    font-size: 1em;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
}

.whistle-btn-header:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.whistle-btn-header:active {
    transform: translateY(0px);
    animation: whistle-pulse 0.3s ease;
}

.whistle-btn-header:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* 游戏控制面板样式 - 整合信息和引�?*/
.game-control-panel {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    color: white;
    display: flex;
    align-items: center;
    gap: 30px;
}

/* 游戏信息区域 */
.game-info-section {
    display: flex;
    gap: 20px;
    flex: 1;
}

.info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 120px;
}

.info-item label {
    color: white;
    font-size: 1.1em;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.info-value {
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    font-size: 1.8em;
    font-weight: bold;
    padding: 12px 20px;
    border-radius: 12px;
    min-width: 60px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.5);
    transition: all 0.3s ease;
}

.info-value:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

/* 抬腿次数特殊样式 */
#whistle-count {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #333;
    animation: countPulse 2s ease-in-out infinite;
}

@keyframes countPulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    }
    50% { 
        transform: scale(1.02);
        box-shadow: 0 6px 18px rgba(255, 215, 0, 0.4);
    }
}

/* 引导步骤区域 */
.guidance-section {
    flex: 1;
    text-align: center;
    animation: guidanceSlideDown 0.5s ease-out;
    border-left: 1px solid rgba(255, 255, 255, 0.2);
    padding-left: 30px;
}

.guidance-section .guidance-question {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1.4;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.guidance-section .guidance-progress {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.guidance-section .step-indicator {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 1em;
    font-weight: bold;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.guidance-section #current-step {
    color: #ffd700;
    font-size: 1.1em;
}

.guidance-section .next-step-btn {
    background: rgba(255, 255, 255, 0.9);
    color: #667eea;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9em;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.guidance-section .next-step-btn:hover {
    background: white;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.guidance-section .next-step-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* 欢迎界面样式 */
.welcome-panel {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 40px;
    margin: 20px 0;
    color: white;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: welcomeSlideIn 0.8s ease-out;
}

@keyframes welcomeSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.welcome-content h2 {
    margin: 0 0 20px 0;
    font-size: 2.2em;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.game-intro {
    margin: 20px 0;
    font-size: 1.1em;
    line-height: 1.6;
}

.game-intro p {
    margin: 10px 0;
}

.intro-features {
    display: flex;
    justify-content: space-around;
    margin: 30px 0;
    flex-wrap: wrap;
    gap: 20px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    min-width: 150px;
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5em;
    margin-bottom: 10px;
}

.feature-text {
    font-size: 0.9em;
    text-align: center;
    line-height: 1.4;
}

.difficulty-info {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    padding: 20px;
    margin: 30px 0;
    backdrop-filter: blur(10px);
}

.difficulty-info p {
    margin: 8px 0;
}

.highlight {
    background: linear-gradient(135deg, #ffd700, #ffed4e);
    color: #333;
    padding: 2px 8px;
    border-radius: 8px;
    font-weight: bold;
    text-shadow: none;
}

.start-game-btn {
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.3em;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    margin: 20px 0;
    font-weight: bold;
}

.start-game-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    background: linear-gradient(135deg, #44a08d 0%, #4ecdc4 100%);
}

.start-game-btn:active {
    transform: translateY(-1px);
}

.game-tips {
    margin-top: 20px;
    opacity: 0.8;
}

.game-tips p {
    margin: 5px 0;
}

/* 响应式设�?*/
@media (max-width: 768px) {
    .welcome-panel {
        padding: 30px 20px;
        margin: 10px;
    }
    
    .welcome-content h2 {
        font-size: 1.8em;
    }
    
    .intro-features {
        flex-direction: column;
        align-items: center;
    }
    
    .feature-item {
        min-width: 200px;
    }
    
    .start-game-btn {
        padding: 12px 30px;
        font-size: 1.1em;
    }
}

/* 简化引导样�?*/
.simple-guidance {
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 20px;
    text-align: center;
    color: white;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    animation: guidanceSlideDown 0.5s ease-out;
}

@keyframes guidanceSlideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.guidance-question {
    font-size: 1.3em;
    font-weight: bold;
    margin-bottom: 15px;
    line-height: 1.4;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.guidance-progress {
    display: flex;
    justify-content: center;
    align-items: center;
}

.guidance-progress .step-indicator {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 1em;
    font-weight: bold;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

#current-step {
    color: #ffd700;
    font-size: 1.1em;
}

/* 响应式设�?*/
@media (max-width: 768px) {
    .simple-guidance {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .guidance-question {
        font-size: 1.1em;
    }
    
    .guidance-progress .step-indicator {
        padding: 6px 12px;
        font-size: 0.9em;
    }
}

/* 移动端游戏控制面板调�?*/
@media (max-width: 768px) {
    .game-control-panel {
        padding: 15px;
        flex-direction: column;
        gap: 20px;
    }

    .game-info-section {
        flex-direction: column;
        gap: 15px;
    }

    .guidance-section {
        border-left: none;
        border-top: 1px solid rgba(255, 255, 255, 0.2);
        padding-left: 0;
        padding-top: 20px;
    }

    .info-item {
        flex-direction: row;
        justify-content: space-between;
        min-width: auto;
        width: 100%;
    }

    .info-item label {
        font-size: 1em;
    }

    .info-value {
        font-size: 1.5em;
        padding: 8px 15px;
        min-width: 50px;
    }

    .guidance-section .guidance-question {
        font-size: 1.1em;
    }

    .guidance-section .guidance-progress {
        flex-direction: column;
        gap: 10px;
    }

    .guidance-section .step-indicator {
        padding: 6px 12px;
        font-size: 0.9em;
    }
}

/* 分步计算样式 */
.calculation-steps {
    margin: 20px 0;
}

.step-box {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    border-left: 4px solid #667eea;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.step-box h4 {
    color: #667eea;
    margin-bottom: 12px;
    font-size: 1.2em;
}

.step-box p {
    margin-bottom: 8px;
    color: #333;
    line-height: 1.5;
}

.calculation {
    background: #f8f9fa;
    padding: 12px;
    border-radius: 8px;
    font-weight: bold;
    color: #2c3e50;
    font-size: 1.1em;
    margin-top: 10px;
    border: 2px solid #e9ecef;
}

.method-explanation {
    border-left-color: #4ecdc4;
    background: linear-gradient(135deg, #e8f8f5 0%, #d1f2eb 100%);
}

.method-explanation h4 {
    color: #4ecdc4;
}

.method-explanation ul {
    margin-left: 20px;
    margin-top: 10px;
}

.method-explanation li {
    margin-bottom: 8px;
    color: #2c3e50;
    line-height: 1.6;
}

.method-explanation strong {
    color: #4ecdc4;
}

/* 响应式设�?*/
@media (max-width: 768px) {
    .step-box {
        padding: 15px;
        margin-bottom: 12px;
    }
    
    .step-box h4 {
        font-size: 1.1em;
    }
    
    .calculation {
        font-size: 1em;
        padding: 10px;
    }
}

/* 引导式计算样�?*/
.thinking-guide {
    background: #e8f4fd;
    border-radius: 10px;
    padding: 15px;
    margin: 15px 0;
    border-left: 4px solid #2196f3;
}

.thinking-guide p {
    margin-bottom: 8px;
    color: #1976d2;
    line-height: 1.5;
}

.thinking-guide strong {
    color: #0d47a1;
}

.answer-hint {
    color: #4caf50;
    font-weight: bold;
    margin-left: 10px;
}

.formula-builder {
    background: #fff3e0;
    border-radius: 10px;
    padding: 15px;
    margin: 15px 0;
    border-left: 4px solid #ff9800;
}

.formula-builder p {
    margin-bottom: 10px;
    color: #e65100;
    font-weight: bold;
}

.formula-input {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
    flex-wrap: wrap;
}

.formula-input input {
    background: white;
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 1em;
    min-width: 150px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.formula-input input:focus, .formula-input input:hover {
    border-color: #ff9800;
    box-shadow: 0 0 8px rgba(255, 152, 0, 0.3);
}

.check-formula-btn {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9em;
    font-weight: bold;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.check-formula-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 152, 0, 0.3);
}

.check-formula-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.formula-feedback {
    margin-top: 10px;
    padding: 10px;
    border-radius: 8px;
    font-weight: bold;
    display: none;
}

.formula-feedback.correct {
    background: #d4edda;
    color: #155724;
    border: 2px solid #c3e6cb;
    display: block;
}

.formula-feedback.incorrect {
    background: #f8d7da;
    color: #721c24;
    border: 2px solid #f5c6cb;
    display: block;
}

.congratulations {
    background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
    color: white;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    margin-top: 15px;
    animation: congratsGlow 2s ease-in-out infinite alternate;
}

@keyframes congratsGlow {
    0% { box-shadow: 0 0 10px rgba(76, 175, 80, 0.5); }
    100% { box-shadow: 0 0 20px rgba(76, 175, 80, 0.8); }
}

/* 公式键盘样式 */
.formula-keyboard {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 15px;
    padding: 15px;
    width: 320px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
    z-index: 2000;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 152, 0, 0.3);
    animation: keyboardSlideIn 0.3s ease-out;
}

.formula-keyboard .keyboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}

.formula-keyboard .keyboard-title {
    font-size: 1.1em;
    font-weight: bold;
    color: #ff9800;
}

.formula-keyboard .keyboard-display input {
    width: 100%;
    padding: 10px;
    font-size: 1.2em;
    text-align: left;
    border: 2px solid #ddd;
    border-radius: 8px;
    background: #f8f9fa;
    color: #333;
    font-weight: bold;
}

.formula-keyboard .keyboard-buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-top: 15px;
}

.formula-keyboard .key-btn {
    padding: 10px 8px;
    font-size: 1em;
    font-weight: bold;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.formula-keyboard .key-btn.number {
    background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%);
    color: white;
}

.formula-keyboard .key-btn.operator {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
    color: white;
}

.formula-keyboard .key-btn.action {
    background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
    color: white;
    font-size: 0.9em;
}

.formula-keyboard .key-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* 响应式设�?*/
@media (max-width: 768px) {
    .formula-input {
        flex-direction: column;
        align-items: stretch;
    }
    
    .formula-input input {
        min-width: auto;
        width: 100%;
    }
    
    .formula-keyboard {
        bottom: 10px;
        right: 10px;
        left: 10px;
        width: auto;
    }
    
    .thinking-guide, .formula-builder {
        padding: 12px;
    }
}

/* 引导式步骤样�?*/
.guided-steps {
    margin: 20px 0;
}

.guided-step {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 2px solid #e9ecef;
    transition: all 0.3s ease;
}

.guided-step:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.step-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.step-number {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    font-weight: bold;
    font-size: 1.2em;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.step-header h4 {
    margin: 0;
    font-size: 1.3em;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.step-content {
    padding: 20px;
}

.question-box {
    background: #e8f4fd;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 20px;
    border-left: 4px solid #2196f3;
}

.question-box p {
    margin-bottom: 8px;
    color: #1976d2;
    line-height: 1.5;
}

.question-box strong {
    color: #0d47a1;
}

.answer-hint {
    color: #4caf50;
    font-weight: bold;
    background: rgba(76, 175, 80, 0.1);
    padding: 2px 6px;
    border-radius: 4px;
    margin-left: 5px;
}

.formula-section {
    background: #fff3e0;
    border-radius: 12px;
    padding: 15px;
    border-left: 4px solid #ff9800;
}

.formula-section p {
    margin-bottom: 10px;
    color: #e65100;
    font-weight: bold;
}

.formula-input-line {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 15px 0;
    flex-wrap: wrap;
    font-size: 1.1em;
    color: #333;
}

.formula-input-line input {
    background: white;
    border: 2px solid #ddd;
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 1em;
    min-width: 150px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: bold;
}

.formula-input-line input:focus, 
.formula-input-line input:hover {
    border-color: #ff9800;
    box-shadow: 0 0 8px rgba(255, 152, 0, 0.3);
}

.formula-input-line span {
    font-weight: bold;
    color: #ff6b6b;
    background: rgba(255, 255, 255, 0.8);
    padding: 4px 8px;
    border-radius: 6px;
    border: 2px dashed #ff6b6b;
    min-width: 40px;
    text-align: center;
}

.check-step-btn {
    background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1em;
    font-weight: bold;
    transition: all 0.3s ease;
    margin-top: 10px;
    box-shadow: 0 3px 10px rgba(255, 152, 0, 0.3);
}

.check-step-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 152, 0, 0.4);
}

.check-step-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.step-feedback {
    margin-top: 15px;
    padding: 12px;
    border-radius: 8px;
    font-weight: bold;
    display: none;
    animation: feedbackSlideIn 0.3s ease-out;
}

.step-feedback.correct {
    background: #d4edda;
    color: #155724;
    border: 2px solid #c3e6cb;
    display: block;
}

.step-feedback.incorrect {
    background: #f8d7da;
    color: #721c24;
    border: 2px solid #f5c6cb;
    display: block;
}

@keyframes feedbackSlideIn {
    0% {
        transform: translateY(-10px);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.method-summary {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 2px solid #4caf50;
}

.method-summary .step-header {
    background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
}

.method-summary .step-number {
    font-size: 1.5em;
}

.method-explanation {
    background: linear-gradient(135deg, #e8f5e8 0%, #d4f4d4 100%);
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
}

.method-explanation ul {
    margin-left: 20px;
    margin-top: 10px;
}

.method-explanation li {
    margin-bottom: 8px;
    color: #2c3e50;
    line-height: 1.6;
}

.method-explanation strong {
    color: #4caf50;
}

.congratulations {
    background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
    color: white;
    padding: 15px;
    border-radius: 10px;
    text-align: center;
    animation: congratsGlow 2s ease-in-out infinite alternate;
}

@keyframes congratsGlow {
    0% { box-shadow: 0 0 10px rgba(76, 175, 80, 0.5); }
    100% { box-shadow: 0 0 20px rgba(76, 175, 80, 0.8); }
}

/* 响应式设�?*/
@media (max-width: 768px) {
    .guided-step {
        margin-bottom: 15px;
    }
    
    .step-header {
        padding: 12px 15px;
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .step-header h4 {
        font-size: 1.1em;
    }
    
    .step-content {
        padding: 15px;
    }
    
    .formula-input-line {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    
    .formula-input-line input {
        min-width: auto;
        width: 100%;
    }
    
    .question-box, .formula-section {
        padding: 12px;
    }
}

/* ===== 响应式设计优�?===== */

/* 超大屏幕 (1920px+) */
@media (min-width: 1920px) {
    .game-container {
        max-width: 1400px;
        padding: 40px;
    }
    
    .game-header h1 {
        font-size: 3em;
    }
    
    .subtitle {
        font-size: 1.4em;
    }
    
    .animal-cage {
        min-height: 450px;
        padding: 40px;
    }
    
    .animal-body {
        font-size: 4em;
    }
    
    .animals-container {
        gap: 30px;
        padding: 30px;
    }
    
    .animal-row {
        gap: 20px;
    }
}

/* 大屏�?(1200px - 1919px) */
@media (min-width: 1200px) and (max-width: 1919px) {
    .game-container {
        max-width: 1200px;
        padding: 35px;
    }
    
    .animal-cage {
        min-height: 400px;
        padding: 35px;
    }
    
    .animals-container {
        gap: 25px;
        padding: 25px;
    }
}

/* 中等屏幕 (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .game-container {
        max-width: 100%;
        padding: 25px;
    }
    
    .header-content {
        flex-direction: column;
        gap: 15px;
    }
    
    .header-text {
        text-align: center;
    }
    
    .game-header h1 {
        font-size: 2.2em;
    }
    
    .subtitle {
        font-size: 1.1em;
    }
    
    .animal-cage {
        min-height: 320px;
        padding: 25px;
    }
    
    .animal-body {
        font-size: 3.2em;
    }
    
    .animals-container {
        gap: 18px;
        padding: 18px;
    }
    
    .animal-row {
        gap: 12px;
    }
    
    .game-control-panel {
        padding: 15px;
        gap: 15px;
    }
    
    .game-info-section {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 12px;
    }
}

/* 平板屏幕 (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    body {
        padding: 15px;
    }
    
    .game-container {
        padding: 20px;
    }
    
    .header-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .header-text {
        text-align: center;
    }
    
    .header-controls {
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .header-btn {
        padding: 8px 12px;
        font-size: 0.85em;
    }
    
    .game-header h1 {
        font-size: 2em;
    }
    
    .subtitle {
        font-size: 1em;
    }
    
    .animal-cage {
        min-height: 280px;
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .animal-body {
        font-size: 2.8em;
    }
    
    .animals-container {
        gap: 15px;
        padding: 15px;
    }
    
    .animal-row {
        gap: 10px;
        justify-content: center;
    }
    
    .game-control-panel {
        padding: 12px;
        gap: 12px;
    }
    
    .game-info-section {
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
    }
    
    .info-item {
        padding: 8px;
    }
    
    .info-item label {
        font-size: 0.8em;
    }
    
    .info-value {
        font-size: 1.2em;
    }
    
    .guidance-section .guidance-question {
        font-size: 0.9em;
        padding: 12px;
    }
    
    .virtual-keyboard {
        width: 95%;
        max-width: 400px;
    }
    
    .keyboard-buttons {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    
    .key-btn {
        padding: 12px 8px;
        font-size: 0.9em;
    }
    
    .welcome-panel {
        padding: 20px;
    }
    
    .welcome-content h2 {
        font-size: 1.8em;
    }
    
    .intro-features {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .feature-item {
        padding: 12px;
    }
    
    .start-game-btn {
        padding: 12px 24px;
        font-size: 1em;
    }
    
    .guided-steps {
        gap: 15px;
    }
    
    .guided-step {
        padding: 15px;
    }
    
    .step-header h4 {
        font-size: 1.1em;
    }
    
    .formula-input-line {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    
    .formula-input-line input {
        width: 100%;
        text-align: center;
    }
}

/* 小屏幕手�?(480px - 767px) - 重新优化 */
@media (max-width: 767px) {
    body {
        padding: 10px;
        align-items: flex-start;
        padding-top: 20px;
    }
    
    .game-container {
        padding: 15px;
        border-radius: 15px;
        min-height: auto;
    }
    
    .header-content {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
    
    .header-text {
        text-align: center;
    }
    
    .header-controls {
        justify-content: center;
        flex-wrap: wrap;
        gap: 6px;
    }
    
    .header-btn {
        padding: 6px 10px;
        font-size: 0.8em;
        border-radius: 20px;
    }
    
    .whistle-btn-header {
        padding: 8px 12px;
        font-size: 0.85em;
    }
    
    .game-header h1 {
        font-size: 1.8em;
        margin-bottom: 8px;
    }
    
    .subtitle {
        font-size: 0.9em;
    }
    
    .animal-cage {
        min-height: 240px;
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .animal-body {
        font-size: 2.5em;
    }
    
    .animals-container {
        gap: 12px;
        padding: 12px;
    }
    
    .animal-row {
        gap: 8px;
        justify-content: center;
    }
    
    .animal-ellipsis {
        font-size: 2em;
        padding-bottom: 20px;
    }
    
    .game-control-panel {
        padding: 10px;
        gap: 10px;
        border-radius: 12px;
    }
    
    .game-info-section {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    
    .info-item {
        padding: 6px;
        border-radius: 8px;
    }
    
    .info-item label {
        font-size: 0.7em;
        margin-bottom: 2px;
    }
    
    .info-value {
        font-size: 1.1em;
        padding: 4px 8px;
    }
    
    .guidance-section {
        padding: 10px;
    }
    
    .guidance-section .guidance-question {
        font-size: 0.85em;
        padding: 10px;
        line-height: 1.4;
    }
    
    .guidance-section .guidance-progress {
        flex-direction: column;
        gap: 8px;
        align-items: center;
    }
    
    .guidance-section .step-indicator {
        font-size: 0.8em;
    }
    
    .guidance-section .next-step-btn {
        padding: 8px 16px;
        font-size: 0.8em;
        width: 100%;
        max-width: 200px;
    }
    
    .virtual-keyboard {
        width: 98%;
        max-width: 350px;
        bottom: 10px;
        left: 1%;
        right: 1%;
        margin: 0 auto;
    }
    
    .keyboard-header {
        padding: 8px 12px;
    }
    
    .keyboard-title {
        font-size: 0.9em;
    }
    
    .keyboard-close {
        width: 24px;
        height: 24px;
        font-size: 16px;
    }
    
    .keyboard-display input {
        font-size: 1.1em;
        padding: 8px;
    }
    
    .keyboard-buttons {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
        padding: 10px;
    }
    
    .key-btn {
        padding: 10px 6px;
        font-size: 0.85em;
        border-radius: 6px;
    }
    
    .welcome-panel {
        padding: 15px;
    }
    
    .welcome-content h2 {
        font-size: 1.6em;
        margin-bottom: 15px;
    }
    
    .game-intro p {
        font-size: 0.9em;
    }
    
    .intro-features {
        grid-template-columns: 1fr;
        gap: 10px;
        margin: 15px 0;
    }
    
    .feature-item {
        padding: 10px;
        flex-direction: column;
        text-align: center;
        gap: 5px;
    }
    
    .feature-icon {
        font-size: 1.5em;
    }
    
    .feature-text {
        font-size: 0.85em;
    }
    
    .difficulty-info {
        margin: 15px 0;
    }
    
    .difficulty-info p {
        font-size: 0.9em;
        margin-bottom: 5px;
    }
    
    .start-game-btn {
        padding: 10px 20px;
        font-size: 0.95em;
        width: 100%;
        max-width: 250px;
    }
    
    .game-tips p {
        font-size: 0.8em;
    }
    
    .guided-steps {
        gap: 12px;
    }
    
    .guided-step {
        padding: 12px;
        border-radius: 10px;
    }
    
    .step-header {
        margin-bottom: 10px;
    }
    
    .step-number {
        width: 24px;
        height: 24px;
        font-size: 0.8em;
    }
    
    .step-header h4 {
        font-size: 1em;
    }
    
    .question-box {
        padding: 10px;
        margin-bottom: 10px;
    }
    
    .question-box p {
        font-size: 0.85em;
        margin-bottom: 4px;
    }
    
    .formula-section {
        margin-top: 10px;
    }
    
    .formula-section p {
        font-size: 0.9em;
        margin-bottom: 8px;
    }
    
    .formula-input-line {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        font-size: 0.85em;
    }
    
    .formula-input-line input {
        width: 100%;
        text-align: center;
        padding: 8px;
        font-size: 0.9em;
    }
    
    .formula-input-line span {
        text-align: center;
        font-size: 1em;
        font-weight: bold;
    }
    
    .check-step-btn {
        padding: 8px 16px;
        font-size: 0.85em;
        width: 100%;
        margin-top: 8px;
    }
    
    .step-feedback {
        margin-top: 8px;
        padding: 8px;
        font-size: 0.85em;
    }
    
    .method-summary {
        padding: 12px;
    }
    
    .method-explanation ul {
        padding-left: 16px;
    }
    
    .method-explanation li {
        font-size: 0.85em;
        margin-bottom: 4px;
    }
    
    .congratulations {
        padding: 10px;
        margin: 10px 0;
    }
    
    .congratulations p {
        font-size: 0.9em;
    }
    
    #final-answer-group {
        margin-top: 15px;
    }
    
    #final-answer-group label {
        font-size: 0.9em;
        margin-bottom: 8px;
    }
    
    #rabbit-input {
        width: 100%;
        padding: 10px;
        font-size: 1em;
        text-align: center;
        margin-bottom: 10px;
    }
    
    #submit-answer {
        width: 100%;
        padding: 10px;
        font-size: 0.9em;
    }
    
    .audio-controls {
        bottom: 15px;
        right: 15px;
    }
    
    .mute-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2em;
    }
    
        bottom: 15px;
        left: 15px;
        padding: 8px 12px;
        font-size: 0.8em;
    }
}

/* 超小屏幕 (320px - 479px) */
@media (max-width: 479px) {
    body {
        padding: 5px;
        padding-top: 15px;
    }
    
    .game-container {
        padding: 10px;
        border-radius: 12px;
    }
    
    .game-header h1 {
        font-size: 1.6em;
        margin-bottom: 6px;
    }
    
    .subtitle {
        font-size: 0.8em;
    }
    
    .header-btn {
        padding: 5px 8px;
        font-size: 0.75em;
    }
    
    .whistle-btn-header {
        padding: 6px 10px;
        font-size: 0.8em;
    }
    
    .animal-cage {
        min-height: 200px;
        padding: 12px;
        margin-bottom: 12px;
    }
    
    .animal-body {
        font-size: 2.2em;
    }
    
    .animals-container {
        gap: 10px;
        padding: 10px;
    }
    
    .animal-row {
        gap: 6px;
    }
    
    .animal-ellipsis {
        font-size: 1.8em;
        padding-bottom: 15px;
    }
    
    .game-control-panel {
        padding: 8px;
        gap: 8px;
    }
    
    .info-item {
        padding: 4px;
    }
    
    .info-item label {
        font-size: 0.65em;
    }
    
    .info-value {
        font-size: 1em;
        padding: 3px 6px;
    }
    
    .guidance-section .guidance-question {
        font-size: 0.8em;
        padding: 8px;
    }
    
    .guidance-section .next-step-btn {
        padding: 6px 12px;
        font-size: 0.75em;
    }
    
    .virtual-keyboard {
        width: 100%;
        bottom: 5px;
        left: 0;
        right: 0;
    }
    
    .keyboard-buttons {
        gap: 4px;
        padding: 8px;
    }
    
    .key-btn {
        padding: 8px 4px;
        font-size: 0.8em;
    }
    
    .welcome-content h2 {
        font-size: 1.4em;
    }
    
    .feature-item {
        padding: 8px;
    }
    
    .feature-icon {
        font-size: 1.3em;
    }
    
    .feature-text {
        font-size: 0.8em;
    }
    
    .start-game-btn {
        padding: 8px 16px;
        font-size: 0.9em;
    }
    
    .guided-step {
        padding: 10px;
    }
    
    .step-number {
        width: 20px;
        height: 20px;
        font-size: 0.75em;
    }
    
    .step-header h4 {
        font-size: 0.95em;
    }
    
    .question-box {
        padding: 8px;
    }
    
    .question-box p {
        font-size: 0.8em;
    }
    
    .formula-input-line {
        font-size: 0.8em;
    }
    
    .formula-input-line input {
        padding: 6px;
        font-size: 0.85em;
    }
    
    .check-step-btn {
        padding: 6px 12px;
        font-size: 0.8em;
    }
    
    .method-explanation li {
        font-size: 0.8em;
    }
    
    .audio-controls {
        bottom: 10px;
        right: 10px;
    }
    
    .mute-btn {
        width: 35px;
        height: 35px;
        font-size: 1.1em;
    }
    
        bottom: 10px;
        left: 10px;
        padding: 6px 10px;
        font-size: 0.75em;
    }
}

/* 横屏模式优化 */
@media (orientation: landscape) and (max-height: 600px) {
    body {
        align-items: flex-start;
        padding-top: 10px;
    }
    
    .game-container {
        margin-top: 0;
    }
    
    .game-header h1 {
        font-size: 1.8em;
        margin-bottom: 5px;
    }
    
    .subtitle {
        font-size: 0.9em;
    }
    
    .animal-cage {
        min-height: 180px;
        padding: 15px;
    }
    
    .animal-body {
        font-size: 2.2em;
    }
    
    .animals-container {
        gap: 8px;
        padding: 8px;
    }
    
    .welcome-panel {
        max-height: 80vh;
        overflow-y: auto;
    }
    
    .guided-steps {
        max-height: 60vh;
        overflow-y: auto;
    }
    
    .virtual-keyboard {
        max-height: 50vh;
    }
}

/* 高分辨率屏幕优化 */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .animal-body {
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
    }
    
    .game-container {
        box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    }
    
    .animal-cage {
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    }
}

/* 打印样式 */
@media print {
    body {
        background: white;
        color: black;
    }
    
    .game-container {
        box-shadow: none;
        background: white;
        border: 1px solid #ccc;
    }
    
    .audio-controls,
    .virtual-keyboard,
    .header-controls {
        display: none !important;
    }
    
    .animal-cage {
        background: #f5f5f5;
        border: 1px solid #ddd;
    }
    
    .guided-steps {
        page-break-inside: avoid;
    }
}

/* Enhanced Responsive Design for Better Screen Adaptation */

/* Ultra-wide screens (1920px and above) */
@media (min-width: 1920px) {
    .game-container {
        max-width: 1400px;
        padding: 40px;
    }
    
    .game-header h1 {
        font-size: 3.2em;
    }
    
    .subtitle {
        font-size: 1.4em;
    }
    
    .animal-cage {
        padding: 40px;
        min-height: 450px;
    }
    
    .animal-body {
        font-size: 4.2em;
    }
    
    .animals-container {
        gap: 30px;
        padding: 30px;
    }
    
    .animal-row {
        gap: 25px;
    }
}

/* Large screens (1200px - 1919px) */
@media (min-width: 1200px) and (max-width: 1919px) {
    .game-container {
        max-width: 1200px;
        padding: 35px;
    }
    
    .animal-cage {
        padding: 35px;
        min-height: 400px;
    }
    
    .animals-container {
        gap: 25px;
        padding: 25px;
    }
}

/* Medium screens (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199px) {
    .game-container {
        max-width: 100%;
        padding: 30px;
    }
    
    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .header-text {
        text-align: center;
    }
    
    .game-header h1 {
        font-size: 2.2em;
    }
    
    .subtitle {
        font-size: 1.1em;
    }
    
    .animal-cage {
        padding: 30px;
        min-height: 350px;
    }
    
    .animal-body {
        font-size: 3.2em;
    }
    
    .animals-container {
        gap: 20px;
        padding: 20px;
    }
    
    .animal-row {
        gap: 15px;
    }
    
    .game-control-panel {
        padding: 20px;
        margin-bottom: 20px;
    }
    
    .game-info-section {
        grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
        gap: 15px;
    }
}

/* Tablet screens (768px - 991px) */
@media (min-width: 768px) and (max-width: 991px) {
    body {
        padding: 15px;
    }
    
    .game-container {
        padding: 25px;
    }
    
    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .header-text {
        text-align: center;
    }
    
    .header-controls {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .header-btn {
        padding: 8px 14px;
        font-size: 0.85em;
    }
    
    .game-header h1 {
        font-size: 2em;
    }
    
    .subtitle {
        font-size: 1em;
    }
    
    .animal-cage {
        padding: 25px;
        min-height: 300px;
        margin-bottom: 20px;
    }
    
    .animal-body {
        font-size: 2.8em;
    }
    
    .animals-container {
        gap: 15px;
        padding: 15px;
    }
    
    .animal-row {
        gap: 12px;
        justify-content: center;
    }
    
    .game-control-panel {
        padding: 18px;
        margin-bottom: 18px;
    }
    
    .game-info-section {
        grid-template-columns: repeat(3, 1fr);
        gap: 12px;
    }
    
    .info-item {
        padding: 12px;
    }
    
    .info-item label {
        font-size: 0.85em;
    }
    
    .info-value {
        font-size: 1.3em;
    }
    
    .guidance-section .guidance-question {
        font-size: 0.95em;
        padding: 12px;
    }
    
    .virtual-keyboard {
        width: 95%;
        max-width: 400px;
    }
    
    .keyboard-buttons {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    
    .key-btn {
        padding: 12px;
        font-size: 0.9em;
    }
    
    .welcome-panel {
        padding: 20px;
    }
    
    .welcome-content h2 {
        font-size: 1.8em;
    }
    
    .intro-features {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .feature-item {
        padding: 12px;
    }
    
    .start-game-btn {
        padding: 12px 24px;
        font-size: 1em;
    }
    
    .guided-steps {
        gap: 15px;
    }
    
    .guided-step {
        padding: 15px;
    }
    
    .step-header h4 {
        font-size: 1.1em;
    }
    
    .formula-input-line {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }
    
    .formula-input-line input {
        width: 100%;
        text-align: center;
    }
}

/* Small phones (480px - 767px) */
@media (max-width: 767px) {
    body {
        padding: 10px;
        font-size: 14px;
    }
    
    .game-container {
        padding: 15px;
        border-radius: 15px;
    }
    
    .header-content {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .header-text {
        text-align: center;
    }
    
    .header-controls {
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .header-btn {
        padding: 8px 12px;
        font-size: 0.8em;
        min-width: auto;
    }
    
    .whistle-btn-header {
        width: 100%;
        margin-bottom: 8px;
    }
    
    .game-header h1 {
        font-size: 1.8em;
        margin-bottom: 8px;
    }
    
    .subtitle {
        font-size: 0.9em;
    }
    
    .animal-cage {
        padding: 15px;
        min-height: 250px;
        margin-bottom: 15px;
    }
    
    .animal-body {
        font-size: 2.2em;
    }
    
    .animals-container {
        gap: 10px;
        padding: 10px;
    }
    
    .animal-row {
        gap: 8px;
        justify-content: center;
    }
    
    .animal-ellipsis {
        font-size: 2em;
        padding-bottom: 15px;
    }
    
    .game-control-panel {
        padding: 12px;
        margin-bottom: 12px;
        border-radius: 12px;
    }
    
    .game-info-section {
        grid-template-columns: repeat(3, 1fr);
        gap: 8px;
    }
    
    .info-item {
        padding: 8px;
        border-radius: 8px;
    }
    
    .info-item label {
        font-size: 0.75em;
        margin-bottom: 4px;
    }
    
    .info-value {
        font-size: 1.1em;
        padding: 4px 8px;
    }
    
    .guidance-section {
        padding: 10px;
    }
    
    .guidance-section .guidance-question {
        font-size: 0.85em;
        padding: 8px;
        line-height: 1.4;
    }
    
    .guidance-section .guidance-progress {
        flex-direction: column;
        gap: 8px;
        align-items: center;
    }
    
    .guidance-section .step-indicator {
        font-size: 0.8em;
    }
    
    .guidance-section .next-step-btn {
        padding: 8px 16px;
        font-size: 0.8em;
        width: 100%;
    }
    
    .virtual-keyboard {
        width: 98%;
        max-width: none;
        bottom: 5px;
        left: 1%;
        border-radius: 12px;
    }
    
    .keyboard-header {
        padding: 8px 12px;
    }
    
    .keyboard-title {
        font-size: 0.9em;
    }
    
    .keyboard-close {
        width: 24px;
        height: 24px;
        font-size: 14px;
    }
    
    .keyboard-display input {
        font-size: 1.1em;
        padding: 8px;
    }
    
    .keyboard-buttons {
        grid-template-columns: repeat(3, 1fr);
        gap: 6px;
        padding: 8px;
    }
    
    .key-btn {
        padding: 10px;
        font-size: 0.85em;
        border-radius: 6px;
    }
    
    .welcome-panel {
        padding: 15px;
    }
    
    .welcome-content h2 {
        font-size: 1.5em;
        margin-bottom: 12px;
    }
    
    .game-intro p {
        font-size: 0.9em;
    }
    
    .intro-features {
        grid-template-columns: 1fr;
        gap: 8px;
        margin: 15px 0;
    }
    
    .feature-item {
        padding: 8px 12px;
        flex-direction: row;
        text-align: left;
        gap: 8px;
    }
    
    .feature-icon {
        font-size: 1.2em;
        margin-bottom: 0;
    }
    
    .feature-text {
        font-size: 0.85em;
    }
    
    .difficulty-info {
        margin: 12px 0;
    }
    
    .difficulty-info p {
        font-size: 0.85em;
        margin-bottom: 4px;
    }
    
    .start-game-btn {
        padding: 10px 20px;
        font-size: 0.9em;
        width: 100%;
    }
    
    .game-tips p {
        font-size: 0.75em;
    }
    
    .guided-steps {
        gap: 12px;
    }
    
    .guided-step {
        padding: 12px;
        border-radius: 10px;
    }
    
    .step-header {
        margin-bottom: 10px;
        flex-direction: column;
        text-align: center;
    }
    
    .step-number {
        width: 24px;
        height: 24px;
        font-size: 0.8em;
        margin-bottom: 8px;
    }
    
    .step-header h4 {
        font-size: 1em;
        text-align: center;
    }
    
    .question-box {
        padding: 8px;
        margin-bottom: 10px;
    }
    
    .question-box p {
        font-size: 0.8em;
        margin-bottom: 4px;
    }
    
    .formula-section {
        padding: 8px;
    }
    
    .formula-section p {
        font-size: 0.85em;
        margin-bottom: 6px;
    }
    
    .formula-input-line {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        font-size: 0.8em;
    }
    
    .formula-input-line input {
        width: 100%;
        padding: 8px;
        font-size: 0.9em;
        text-align: center;
    }
    
    .formula-input-line span {
        text-align: center;
        font-size: 0.9em;
        padding: 4px;
    }
    
    .check-step-btn {
        padding: 8px 16px;
        font-size: 0.8em;
        width: 100%;
        margin-top: 8px;
    }
    
    .step-feedback {
        font-size: 0.8em;
        padding: 6px;
        margin-top: 6px;
    }
    
    .method-summary {
        padding: 10px;
    }
    
    .method-explanation ul {
        padding-left: 16px;
    }
    
    .method-explanation li {
        font-size: 0.8em;
        margin-bottom: 4px;
    }
    
    .congratulations {
        padding: 12px;
        font-size: 0.9em;
    }
    
    .congratulations p {
        font-size: 0.85em;
    }
    
    #final-answer-group {
        margin-top: 10px;
    }
    
    #final-answer-group label {
        font-size: 0.85em;
        margin-bottom: 6px;
    }
    
    #rabbit-input {
        width: 100%;
        padding: 8px;
        font-size: 1em;
        text-align: center;
    }
    
    #submit-answer {
        width: 100%;
        padding: 10px;
        font-size: 0.9em;
        margin-top: 8px;
    }
    
    .audio-controls {
        bottom: 10px;
        right: 10px;
    }
    
    .mute-btn {
        width: 35px;
        height: 35px;
        font-size: 1.2em;
    }
    
        bottom: 10px;
        left: 10px;
        padding: 6px 10px;
        font-size: 0.7em;
        border-radius: 15px;
    }
}

/* Ultra-small screens (320px - 479px) */
@media (max-width: 479px) {
    body {
        padding: 5px;
        font-size: 13px;
    }
    
    .game-container {
        padding: 10px;
        border-radius: 12px;
    }
    
    .game-header h1 {
        font-size: 1.6em;
        margin-bottom: 6px;
    }
    
    .subtitle {
        font-size: 0.8em;
    }
    
    .header-btn {
        padding: 6px 10px;
        font-size: 0.75em;
    }
    
    .whistle-btn-header {
        padding: 8px 12px;
        font-size: 0.8em;
    }
    
    .animal-cage {
        padding: 10px;
        min-height: 200px;
        margin-bottom: 10px;
    }
    
    .animal-body {
        font-size: 1.8em;
    }
    
    .animals-container {
        gap: 6px;
        padding: 6px;
    }
    
    .animal-row {
        gap: 6px;
    }
    
    .animal-ellipsis {
        font-size: 1.5em;
        padding-bottom: 10px;
    }
    
    .game-control-panel {
        padding: 8px;
        margin-bottom: 8px;
    }
    
    .info-item {
        padding: 6px;
    }
    
    .info-item label {
        font-size: 0.7em;
    }
    
    .info-value {
        font-size: 1em;
        padding: 3px 6px;
    }
    
    .guidance-section .guidance-question {
        font-size: 0.8em;
        padding: 6px;
    }
    
    .guidance-section .next-step-btn {
        padding: 6px 12px;
        font-size: 0.75em;
    }
    
    .virtual-keyboard {
        bottom: 2px;
        left: 1%;
        width: 98%;
        border-radius: 10px;
    }
    
    .keyboard-buttons {
        gap: 4px;
        padding: 6px;
    }
    
    .key-btn {
        padding: 8px;
        font-size: 0.8em;
        border-radius: 4px;
    }
    
    .welcome-content h2 {
        font-size: 1.3em;
        margin-bottom: 10px;
    }
    
    .feature-item {
        padding: 6px 8px;
        gap: 6px;
    }
    
    .feature-icon {
        font-size: 1em;
    }
    
    .feature-text {
        font-size: 0.8em;
    }
    
    .start-game-btn {
        padding: 8px 16px;
        font-size: 0.85em;
    }
    
    .guided-step {
        padding: 8px;
        border-radius: 8px;
    }
    
    .step-number {
        width: 20px;
        height: 20px;
        font-size: 0.7em;
        margin-bottom: 6px;
    }
    
    .step-header h4 {
        font-size: 0.9em;
    }
    
    .question-box {
        padding: 6px;
        margin-bottom: 8px;
    }
    
    .question-box p {
        font-size: 0.75em;
        margin-bottom: 3px;
    }
    
    .formula-input-line {
        font-size: 0.75em;
        gap: 4px;
    }
    
    .formula-input-line input {
        padding: 6px;
        font-size: 0.85em;
    }
    
    .check-step-btn {
        padding: 6px 12px;
        font-size: 0.75em;
        margin-top: 6px;
    }
    
    .method-explanation li {
        font-size: 0.75em;
        margin-bottom: 3px;
    }
    
    .audio-controls {
        bottom: 8px;
        right: 8px;
    }
    
    .mute-btn {
        width: 30px;
        height: 30px;
        font-size: 0.7em;
    }
    
        bottom: 8px;
        left: 8px;
        padding: 4px 8px;
        font-size: 0.65em;
        border-radius: 12px;
    }
}

/* Landscape orientation for mobile devices */
@media (orientation: landscape) and (max-height: 600px) {
    body {
        padding: 5px;
    }
    
    .game-container {
        padding: 15px;
    }
    
    .game-header h1 {
        font-size: 1.5em;
        margin-bottom: 5px;
    }
    
    .subtitle {
        font-size: 0.8em;
    }
    
    .animal-cage {
        min-height: 180px;
        padding: 15px;
    }
    
    .animal-body {
        font-size: 2em;
    }
    
    .animals-container {
        gap: 8px;
        padding: 8px;
    }
    
    .welcome-panel {
        max-height: 80vh;
        overflow-y: auto;
    }
    
    .guided-steps {
        max-height: 60vh;
        overflow-y: auto;
    }
    
    .virtual-keyboard {
        max-height: 50vh;
        overflow-y: auto;
    }
}

/* High-resolution displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .animal-body {
        text-rendering: optimizeLegibility;
        -webkit-font-smoothing: antialiased;
    }
    
    .game-container {
        box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    }
    
    .animal-cage {
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
    }
}

/* Print styles */
@media print {
    body {
        background: white;
        color: black;
    }
    
    .game-container {
        box-shadow: none;
        border: 1px solid #ccc;
        background: white;
    }
    
    .audio-controls,
    .mute-btn,
    .virtual-keyboard,
    .header-controls {
        display: none !important;
    }
    
    .animal-cage {
        background: #f9f9f9;
        border: 1px solid #ddd;
    }
    
    .guided-steps {
        page-break-inside: avoid;
    }
}

/* 版权信息样式 */
.copyright-footer {
    margin-top: 20px;
    padding: 20px 0;
}

.copyright-info {
    text-align: center;
    padding: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 800px;
    margin: 0 auto;
}

.copyright-line {
    font-size: 0.9rem;
    margin: 0;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    text-align: center;
}

.copyright-line strong {
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

.website-link {
    color: #74b9ff;
    text-decoration: none;
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 5px;
    background: rgba(116, 185, 255, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(116, 185, 255, 0.3);
}

.website-link:hover {
    color: #0984e3;
    background: rgba(116, 185, 255, 0.2);
    border-color: rgba(116, 185, 255, 0.5);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(116, 185, 255, 0.3);
}

.wechat-name {
    color: #00b894;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* 版权信息移动端适配 */
@media (max-width: 768px) {
    .copyright-footer {
        margin-top: 30px;
        padding: 15px 0;
    }
    
    .copyright-info {
        padding: 15px;
        margin: 0 15px;
        max-width: none;
    }
    
    .copyright-line {
        font-size: 0.85rem;
        line-height: 1.8;
    }
    
    .website-link {
        padding: 3px 6px;
        font-size: 0.85rem;
    }
}