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

.lottery-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    background: #fff8e7;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-svg {
    width: 40px;
    height: 40px;
    animation: logo-spin 20s linear infinite;
}

.logo-text {
    font-size: 18px;
    font-weight: 600;
    color: #4A90E2;
    letter-spacing: 1px;
}

.tabs {
    display: flex;
    gap: 15px;
}

.tab-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 20px;
    background: #f5f5f5;
    cursor: pointer;
    transition: all 0.3s;
}

.tab-btn.active {
    background: #ff6b6b;
    color: white;
}

.players-section {
    margin-top: 20px;
    padding: 20px;
    background: white;
    border-radius: 8px;
}

.players-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.player-card {
    position: relative;
    padding: 15px;
    background: #fff8e7;
    border-radius: 8px;
    text-align: center;
}

.rank-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    width: 30px;
    height: 30px;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

.rank-1 {
    background: #e74c3c; /* 红色 - 佛小宝 */
}

.rank-2 {
    background: #2980b9; /* 蓝色 - 盒马 */
}

.rank-3 {
    background: #16a085; /* 青色 - 票票 */
}

.rank-4 {
    background: #f39c12; /* 橙色 - 虾仔 */
}

.rank-5 {
    background: #8e44ad; /* 紫色 - 支小宝 */
}

.rank-6 {
    background: #c0392b; /* 深红色 - 欢猩 */
}

.player-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto;
}

.result-icon svg {
    width: 24px;
    height: 24px;
}

.player-avatar use {
    transition: transform 0.3s;
}

.player-card:hover .player-avatar use {
    transform: scale(1.1);
}

.player-card:nth-child(1) { --player-color: #e74c3c; }
.player-card:nth-child(2) { --player-color: #2980b9; }
.player-card:nth-child(3) { --player-color: #16a085; }
.player-card:nth-child(4) { --player-color: #f39c12; }
.player-card:nth-child(5) { --player-color: #8e44ad; }
.player-card:nth-child(6) { --player-color: #c0392b; }

.race-results {
    margin-top: 20px;
    display: grid;
    gap: 20px;
}

.current-race {
    background: white;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.race-info {
    display: flex;
    justify-content: space-between;
    margin: 15px 0;
    color: #666;
    font-size: 14px;
}

.result-display {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
    margin-top: 20px;
    padding: 10px;
}

.result-item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 15px;
    background: #f8f8f8;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.result-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.rank-label {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--rank-color, #666);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    z-index: 1;
}

.result-item:nth-child(1) { 
    --rank-color: #e74c3c;
    border: 2px solid #e74c3c;
}
.result-item:nth-child(2) { 
    --rank-color: #2980b9;
    border: 2px solid #2980b9;
}
.result-item:nth-child(3) { 
    --rank-color: #16a085;
    border: 2px solid #16a085;
}
.result-item:nth-child(4) { 
    --rank-color: #f39c12;
    border: 1px solid #f39c12;
}
.result-item:nth-child(5) { 
    --rank-color: #8e44ad;
    border: 1px solid #8e44ad;
}
.result-item:nth-child(6) { 
    --rank-color: #c0392b;
    border: 1px solid #c0392b;
}

.result-icon {
    margin: 15px 0;
}

.result-details {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.result-number {
    font-size: 15px;
    color: #666;
}

.result-name {
    font-size: 17px;
    font-weight: 500;
    color: var(--rank-color);
}

.history-records {
    background: white;
    padding: 20px;
    border-radius: 8px;
}

.history-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.date-picker {
    position: relative;
}

.date-picker input {
    padding: 8px 12px;
    width: 140px;
    text-align: center;
}

.date-picker input:hover {
    border-color: #4a90e2;
}

.date-picker input:focus {
    outline: none;
    border-color: #4a90e2;
    box-shadow: 0 0 0 2px rgba(74, 144, 226, 0.2);
}

.history-table {
    border: none;
    border-radius: 0;
}

.history-table table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 1px;
}

.history-table th {
    background: #fff8e7;
    padding: 12px 16px;
    font-weight: normal;
    color: #666;
    text-align: left;
    border: none;
}

.history-table td {
    padding: 12px 16px;
    background: white;
    border: none;
}

.history-table tr:hover td {
    background: #f8f8f8;
}

.result-cell {
    padding: 12px 16px !important;
}

.result-detail {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    align-items: start;
}

.result-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.rank-label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.animal-result {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    background: #f8f8f8;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.animal-result:hover {
    background: #f0f0f0;
    transform: translateY(-2px);
}

.animal-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.animal-name {
    font-size: 14px;
    font-weight: 500;
    color: #333;
}

.animal-number {
    font-size: 12px;
    color: #666;
}

.other-ranks {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.rank-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* 名次标签颜色 */
.result-row:nth-child(1) .rank-label { color: #e74c3c; }
.result-row:nth-child(2) .rank-label { color: #2980b9; }
.result-row:nth-child(3) .rank-label { color: #16a085; }

/* 响应式布局 */
@media (max-width: 1200px) {
    .result-detail {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .other-ranks {
        grid-column: span 2;
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .result-detail {
        grid-template-columns: 1fr;
    }
    
    .other-ranks {
        grid-column: 1;
        grid-template-columns: repeat(2, 1fr);
    }
}

.animal-result {
    background: transparent;
    padding: 0;
    border-radius: 0;
}

.animal-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
}

.animal-number {
    font-size: 13px;
    color: #666;
    font-weight: normal;
}

.rank-label.champion {
    color: #FFB800;
}

.rank-label.second {
    color: #999;
}

.rank-label.third {
    color: #C97937;
}

.other-ranks {
    display: flex;
    gap: 20px;
    margin: 0;
    margin-left: auto;
}

.rank-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    background: transparent;
    padding: 0;
}

.rank-number {
    font-size: 13px;
    color: #999;
}

.rank-animal-number {
    font-size: 13px;
    color: #666;
}

.animal-icon {
    width: 24px;
    height: 24px;
}

.animal-icon.icon-small {
    width: 20px;
    height: 20px;
}

.history-table tr:not(:last-child) td {
    border-bottom: 1px solid #f0f0f0;
}

.history-table td:first-child,
.history-table td:nth-child(2) {
    color: #666;
    font-size: 13px;
}

.mini-result {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.result-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: help;
}

.result-icon:hover {
    transform: scale(1.1);
    transition: transform 0.2s;
}

.result-number {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 16px;
    height: 16px;
    background: #ff6b6b;
    color: white;
    border-radius: 50%;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid white;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.icon-1 { background: #ffcdd2; } /* 佛小宝 - 浅红色 */
.icon-2 { background: #bbdefb; } /* 盒马 - 浅蓝色 */
.icon-3 { background: #b2dfdb; } /* 票票 - 浅青色 */
.icon-4 { background: #ffe0b2; } /* 虾仔 - 浅橙色 */
.icon-5 { background: #e1bee7; } /* 支小宝 - 浅紫色 */
.icon-6 { background: #ffcdd2; } /* 欢猩 - 浅红色 */

.result-icon:hover {
    transform: scale(1.1);
    transition: transform 0.2s;
}

.statistics-section {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
    margin-top: 15px;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: #f8f8f8;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-info {
    flex: 1;
}

.stat-name {
    font-size: 16px;
    font-weight: 500;
    color: #333;
    margin-bottom: 4px;
}

.stat-count {
    display: flex;
    align-items: center;
    gap: 4px;
}

.count-label {
    font-size: 13px;
    color: #666;
}

.count-value {
    font-size: 15px;
    font-weight: 600;
    color: #4A90E2;
}

.game-info {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 20px;
    margin-top: 20px;
}

.game-left-panel {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.countdown-section {
    background: white;
    padding: 20px;
    border-radius: 8px;
    text-align: center;
}

.countdown-timer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
}

.time-block {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.time-number {
    background: #ff6b6b;
    color: white;
    padding: 10px 15px;
    border-radius: 8px;
    font-size: 32px;
    font-weight: bold;
    min-width: 60px;
}

.time-label {
    margin-top: 5px;
    color: #666;
}

.time-separator {
    font-size: 32px;
    font-weight: bold;
    color: #ff6b6b;
}

.phase-progress {
    height: 4px;
    background: #f0f0f0;
    border-radius: 2px;
    margin-top: 15px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: #4a90e2;
    transition: width 1s linear;
}

.game-phase {
    margin-top: 10px;
    font-weight: bold;
    color: #4a90e2;
}

.game-rules {
    background: white;
    padding: 20px;
    border-radius: 8px;
}

.rules-content {
    margin-top: 15px;
}

.rules-content ul {
    list-style: none;
    padding-left: 20px;
    margin: 10px 0;
}

.rules-content li {
    margin: 5px 0;
    position: relative;
}

.rules-content li:before {
    content: "•";
    color: #ff6b6b;
    position: absolute;
    left: -15px;
}

.betting-rules {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.race-track-section {
    background: white;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
    height: auto;
}

.track-container {
    position: relative;
    width: 100%;
    height: 360px;
    background: #fff8e7;
    border-radius: 8px;
    overflow: hidden;
}

.track-lane {
    position: relative;
    height: calc(100% / 6);
    border-bottom: 1px dashed rgba(0,0,0,0.1);
    background: linear-gradient(to right, rgba(255,255,255,0.5), transparent);
}

.track-lane:last-child {
    border-bottom: none;
}

.finish-line {
    position: absolute;
    right: 40px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: repeating-linear-gradient(
        45deg,
        #ff6b6b,
        #ff6b6b 10px,
        #ffd700 10px,
        #ffd700 20px
    );
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.runner {
    position: absolute;
    width: 36px;
    height: 36px;
    top: 50%;
    transform: translateY(-50%);
    transition: left 0.1s linear;
}

.runner .animal-icon {
    width: 36px;
    height: 36px;
}

.runner-name {
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    white-space: nowrap;
    font-size: 12px;
    color: #666;
    text-shadow: 0 1px 2px rgba(0,0,0,0.1);
}

/* 移除弹出相关样式 */
.race-track-section.race-active {
    position: static;
    transform: none;
    width: 100%;
    height: auto;
    z-index: auto;
}

/* 添加赛道标识 */
.lane-number {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background: rgba(0,0,0,0.1);
    color: #666;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

/* 添加动画效果 */
.runner::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 25%;
    right: 25%;
    height: 2px;
    background: rgba(0,0,0,0.2);
    border-radius: 50%;
    animation: shadow-pulse 0.5s infinite;
}

@keyframes shadow-pulse {
    0% { transform: scaleX(1) translateY(0); opacity: 0.6; }
    50% { transform: scaleX(1.2) translateY(1px); opacity: 0.4; }
    100% { transform: scaleX(1) translateY(0); opacity: 0.6; }
}

.live-video-section {
    background: transparent;
    padding: 0;
}

.video-container {
    position: relative;
    width: 100%;
    height: 680px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    transform: translateZ(0);
}

.pagination-container {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.page-size-selector {
    display: flex;
    align-items: center;
    margin-right: 20px;
    font-size: 14px;
    color: #666;
}

.page-size-selector select {
    margin: 0 8px;
    padding: 4px 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    cursor: pointer;
}

.pagination {
    display: flex;
    align-items: center;
    gap: 12px;
}

.page-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background: #fff;
    color: #333;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.page-btn:hover:not(:disabled) {
    border-color: #4a90e2;
    color: #4a90e2;
}

.page-btn:disabled {
    background: #f5f5f5;
    color: #999;
    cursor: not-allowed;
}

.arrow {
    font-size: 16px;
    line-height: 1;
}

.page-numbers {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 14px;
}

.current-page {
    color: #4a90e2;
    font-weight: bold;
}

.page-separator {
    color: #999;
}

.total-pages {
    color: #666;
}

/* SVG图标样式 */
.player-avatar {
    width: 80px;
    height: 80px;
    margin: 0 auto;
}

.result-icon svg {
    width: 24px;
    height: 24px;
}

/* 动画效果 */
.player-avatar use {
    transition: transform 0.3s;
}

.player-card:hover .player-avatar use {
    transform: scale(1.1);
}

/* 图标颜色变量 */
:root {
    --foxiaobao-color: #ff7043;
    --hema-color: #42a5f5;
    --piaopiao-color: #ffffff;
    --xiazai-color: #ff5722;
    --zhixiaobao-color: #29b6f6;
    --huanxing-color: #ef5350;
    --rank-1-color: #f1c40f;  /* 金色 */
    --rank-2-color: #bdc3c7;  /* 银色 */
    --rank-3-color: #d35400;  /* 铜色 */
}

/* 图标悬停效果 */
.player-card:hover .player-avatar use {
    filter: brightness(1.1);
}

/* 结果图标样式 */
.result-icon use {
    filter: drop-shadow(0 2px 3px rgba(0,0,0,0.2));
}

/* 添加图标尺寸样式 */
.animal-icon {
    display: inline-block;
}

.icon-small {
    width: 24px;
    height: 24px;
}

.icon-medium {
    width: 40px;
    height: 40px;
}

.icon-large {
    width: 80px;
    height: 80px;
}

/* 动画效果 */
.animal-icon use {
    transition: transform 0.3s;
}

.player-card:hover .animal-icon use {
    transform: scale(1.1);
    filter: brightness(1.1);
}
.player-card:hover .player-info .player-name,
.player-card:hover .player-info .player-pinyin {
    color: var(--player-color);
    font-weight: bold;
    transition: color 0.3s;
}

/* 图标说明区域样式 */
.icon-legend {
    background: #f8f8f8;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.legend-title {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.legend-items {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.legend-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.legend-number {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 16px;
    height: 16px;
    background: #ff6b6b;
    color: white;
    border-radius: 50%;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid white;
}

.legend-name {
    font-size: 14px;
    color: #333;
}

/* 添加分隔线 */
.history-records > * + * {
    border-top: 1px solid #eee;
    padding-top: 20px;
    margin-top: 20px;
}

/* 添加响应式样式 */
@media (max-width: 768px) {
    .result-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .rank-label {
        width: auto;
        text-align: left;
    }

    .other-ranks {
        margin-left: 0;
    }
}

/* 为不同名次添加特殊样式 */
.result-row:nth-child(1) .rank-label {
    color: var(--rank-1-color);
    font-weight: bold;
}

.result-row:nth-child(2) .rank-label {
    color: var(--rank-2-color);
    font-weight: bold;
}

.result-row:nth-child(3) .rank-label {
    color: var(--rank-3-color);
    font-weight: bold;
}

@media (max-width: 1024px) {
    .result-detail {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .other-ranks {
        grid-column: 1 / -1;
        justify-content: flex-start;
        margin-top: 10px;
    }
}

/* 修改右侧面板布局 */
.game-right-panel {
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: #fff8e7;
    border-radius: 8px;
    padding: 15px;
}

/* 游戏状态栏优化 */
.game-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 4px;
}

.game-time {
    display: flex;
    gap: 20px;
    color: #666;
    font-size: 14px;
}

.game-issue {
    color: #666;
    font-size: 14px;
}

/* 赛场状态说明 */
.race-status {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 4px;
    margin-bottom: 10px;
}

.status-left {
    color: #666;
    font-size: 14px;
}

.status-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.issue-number {
    color: #666;
    font-size: 14px;
}

/* 排名区域优化 */
.rankings {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 8px;
    margin-top: 0;
}

.ranking-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 8px;
    background: #fff;
    border-radius: 6px;
    position: relative;
}

.ranking-position {
    position: absolute;
    top: 5px;
    left: 5px;
    font-size: 12px;
    color: #999;
}

.ranking-stats {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.distance {
    font-size: 13px;
    color: #666;
}

.speed {
    font-size: 13px;
    color: #666;
}

.trophy-count {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: #666;
}

.trophy-icon {
    color: #FFB800;
    font-size: 16px;
}

/* 修改动物图标样式 */
.animal-icon {
    width: 40px;
    height: 40px;
}

.animal-name {
    font-size: 14px;
    color: #333;
}

.animal-pinyin {
    font-size: 12px;
    color: #999;
}

/* 响应式布局优化 */
@media (max-width: 1400px) {
    .video-container {
        height: 600px;
    }
}

@media (max-width: 1200px) {
    .game-info {
        grid-template-columns: 1fr;
    }
    
    .game-right-panel {
        order: -1;
    }
    
    .video-container {
        height: 500px;
    }
    
    .rankings {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .video-container {
        height: 800px;
    }
    
    .rankings {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .game-right-panel {
        padding: 10px;
    }
}

/* 优化间距和视觉层次 */
.game-right-panel > * {
    margin: 0;
}

.game-right-panel > * + * {
    margin-top: 15px;
}

/* 优化动画性能 */
.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    transform: translateZ(0);
}

/* 优化视觉效果 */
.game-right-panel {
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.video-container {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Logo动画 */
@keyframes logo-spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Logo悬停效果 */
.logo:hover .logo-svg {
    animation-duration: 2s;
}

.logo:hover .logo-text {
    color: #2171CD;
}

/* 响应式布局 */
@media (max-width: 1200px) {
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* 添加禁用状态样式 */
.tab-btn:disabled {
    cursor: default;
    opacity: 1;
}

.tab-btn:not(:disabled):hover {
    background: #ff8787;
    color: white;
}

/* 响应式布局 */
@media (max-width: 1200px) {
    .result-display {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .result-display {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .result-display {
        grid-template-columns: 1fr;
    }
}