/* ===== 基础重置 ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'Microsoft YaHei', sans-serif;
    color: #fff;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding: 20px;
    overflow-x: hidden;
    background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), 
                url('./assets/images/backgrounds/game-bg.jpg') center/cover no-repeat fixed;
    position: relative;
}

/* ===== 游戏容器 ===== */
.game-container {
    width: 100%;
    max-width: 1200px;
    background: rgba(25, 25, 45, 0.95);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 80px;
    backdrop-filter: blur(10px);
    animation: fadeIn 0.8s ease-out;
    position: relative;
    z-index: 1;
    min-height: 90vh;
    display: flex;
    flex-direction: column;
}

@keyframes fadeIn {
    from { 
        opacity: 0; 
        transform: translateY(20px);
    }
    to { 
        opacity: 1; 
        transform: translateY(0);
    }
}

/* ===== 游戏头部 ===== */
.game-header {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
}

.game-header h1 {
    font-size: 2.2rem;
    background: linear-gradient(90deg, #4dccff, #2575fc);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.level-info {
    display: flex;
    justify-content: center;
    gap: 30px;
    font-size: 1.1rem;
    color: #a0a0c0;
}

/* ===== 游戏状态面板 ===== */
.game-stats-panel {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 25px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    z-index: 2;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    padding: 12px 15px;
    border-radius: 10px;
    border-left: 4px solid #4dccff;
    transition: transform 0.3s, box-shadow 0.3s;
}

.stat-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(77, 204, 255, 0.1);
}

.stat-item i {
    color: #4dccff;
    font-size: 1.2rem;
}

.stat-label {
    color: #a0a0c0;
    font-weight: 500;
}

.stat-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fff;
    margin-left: auto;
}

.combo-active {
    color: #FFD700 !important;
    animation: comboPulse 0.5s infinite alternate;
}

@keyframes comboPulse {
    0% { 
        transform: scale(1);
        text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    }
    100% { 
        transform: scale(1.2);
        text-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
    }
}

.control-buttons {
    grid-column: span 4;
    display: flex;
    gap: 15px;
}

.btn-control {
    flex: 1;
    background: linear-gradient(135deg, #6a11cb, #2575fc);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    position: relative;
    overflow: hidden;
}

.btn-control::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-control:hover::before {
    left: 100%;
}

.btn-control:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(106, 17, 203, 0.4);
}

/* ===== 游戏主区域 ===== */
.game-main-area {
    margin-bottom: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.game-board-wrapper {
    flex: 1;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: auto;
    min-height: 400px;
}

.game-board-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.1) 100%);
    pointer-events: none;
}

.game-board {
    display: grid;
    gap: 8px;
    justify-content: center;
    align-content: center;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

/* ===== 连接线容器 ===== */
.connection-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 5;
}

/* ===== 连连看卡片样式 ===== */
.card-cell {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card-cell.empty {
    background: rgba(255, 255, 255, 0.05);
    border: 2px dashed rgba(255, 255, 255, 0.1);
    pointer-events: none;
}

.card-cell.has-card {
    background: linear-gradient(135deg, #3498db, #2980b9);
    border: 2px solid #3498db;
    cursor: pointer;
    animation: cardAppear 0.5s ease-out;
}

@keyframes cardAppear {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    70% {
        transform: scale(1.1);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.card-cell.has-card:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 20px rgba(52, 152, 219, 0.3);
    border-color: #4dccff;
}

.card-cell.selected {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    border-color: #2ecc71;
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(46, 204, 113, 0.5);
    animation: selectedPulse 1s infinite alternate;
}

@keyframes selectedPulse {
    0% { box-shadow: 0 0 15px rgba(46, 204, 113, 0.5); }
    100% { box-shadow: 0 0 30px rgba(46, 204, 113, 0.8); }
}

.card-cell.highlighted {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border-color: #FFD700;
    animation: highlightedPulse 0.5s infinite alternate;
}

@keyframes highlightedPulse {
    0% { 
        transform: scale(1);
        box-shadow: 0 0 15px rgba(255, 215, 0, 0.5);
    }
    100% { 
        transform: scale(1.1);
        box-shadow: 0 0 30px rgba(255, 215, 0, 0.8);
    }
}

.card-cell.removing {
    animation: cardRemove 0.6s ease-out forwards;
}

@keyframes cardRemove {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }
    100% {
        transform: scale(0);
        opacity: 0;
    }
}

.card-content {
    width: 90%;
    height: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    position: relative;
}

.nft-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 5px;
}

.card-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s;
}

.card-cell.has-card:hover .card-hover {
    opacity: 1;
}

/* ===== 连接线样式 ===== */
.connection-line {
    position: absolute;
    height: 6px;
    background: linear-gradient(90deg, #FFD700, #FFA500);
    border-radius: 3px;
    z-index: 10;
    pointer-events: none;
    transform-origin: 0 0;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    animation: lineGlow 0.8s ease-out;
}

@keyframes lineGlow {
    0% { 
        opacity: 0;
        transform: scaleX(0);
    }
    50% { 
        opacity: 1;
        transform: scaleX(1);
    }
    100% { 
        opacity: 1;
        transform: scaleX(1);
    }
}

/* ===== 关卡进度条 ===== */
.level-progress {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    padding: 15px;
    margin-bottom: 25px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.progress-bar {
    height: 16px;
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        rgba(255, 255, 255, 0.05) 100%);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 10px;
    position: relative;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.3);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, 
        #4CAF50 0%, 
        #8BC34A 30%, 
        #FFC107 70%,
        #FF5722 100%);
    border-radius: 8px;
    transition: width 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    width: 0%;
    position: relative;
    overflow: hidden;
}

.progress-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.3) 50%, 
        transparent 100%);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.progress-text {
    display: flex;
    justify-content: space-between;
    color: #a0a0c0;
    font-size: 1rem;
    font-weight: bold;
}

#progress-percent {
    color: #FFC107;
    font-weight: bold;
    text-shadow: 0 0 10px rgba(255, 193, 7, 0.8);
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

/* ===== 游戏消息区域 ===== */
.game-message-area {
    margin-bottom: 25px;
}

.game-message {
    background: rgba(33, 150, 243, 0.1);
    border-left: 4px solid #2196F3;
    padding: 15px 20px;
    border-radius: 10px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
    animation: slideIn 0.5s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.game-message i {
    color: #2196F3;
}

/* ===== 游戏提示 ===== */
.game-hint {
    background: rgba(255, 193, 7, 0.1);
    border: 2px solid #FFC107;
    border-radius: 10px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
    animation: pulseHint 2s infinite;
}

@keyframes pulseHint {
    0%, 100% {
        border-color: #FFC107;
        box-shadow: 0 0 0 0 rgba(255, 193, 7, 0.4);
    }
    50% {
        border-color: #FFD54F;
        box-shadow: 0 0 0 5px rgba(255, 193, 7, 0);
    }
}

.game-hint i {
    color: #FFC107;
    font-size: 1.5rem;
}

#hint-text {
    color: #FFD54F;
    font-size: 1rem;
    line-height: 1.4;
}

/* ===== 关卡选择面板 ===== */
.level-select-panel {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(30, 30, 50, 0.95);
    border-radius: 20px;
    padding: 30px;
    width: 90%;
    max-width: 700px;
    z-index: 100;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
    border: 2px solid #6a11cb;
    backdrop-filter: blur(10px);
    animation: popIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.level-select-panel h3 {
    text-align: center;
    margin-bottom: 25px;
    color: #ffd700;
    font-size: 1.8rem;
}

.level-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.level-btn {
    position: relative;
    aspect-ratio: 1;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid #444;
    border-radius: 10px;
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    padding: 10px;
}

.level-btn:hover {
    background: rgba(106, 17, 203, 0.3);
    border-color: #6a11cb;
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(106, 17, 203, 0.3);
}

.level-btn.completed {
    background: rgba(76, 175, 80, 0.2);
    border-color: #4CAF50;
    box-shadow: 0 0 15px rgba(76, 175, 80, 0.3);
}

.level-btn.completed::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 8px;
    background: linear-gradient(45deg, transparent 30%, rgba(76, 175, 80, 0.1) 50%, transparent 70%);
    animation: shine 2s infinite linear;
    background-size: 200px 100%;
}

@keyframes shine {
    0% { background-position: -100px; }
    100% { background-position: 100px; }
}

.level-btn.current {
    background: rgba(33, 150, 243, 0.3);
    border-color: #2196F3;
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(33, 150, 243, 0.5);
}

.level-btn.locked {
    background: rgba(100, 100, 100, 0.3);
    border-color: #666;
    color: #888;
    cursor: not-allowed;
    opacity: 0.7;
}

.level-btn.locked:hover {
    transform: none;
    box-shadow: none;
    background: rgba(100, 100, 100, 0.3);
    border-color: #666;
}

.completed-badge {
    position: absolute;
    top: 5px;
    right: 5px;
    background: #4CAF50;
    color: white;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    z-index: 2;
}

/* ===== 弹窗样式 ===== */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(5px);
}

.popup-content {
    background: linear-gradient(135deg, #1a1a2e, #16213e);
    padding: 40px;
    border-radius: 24px;
    text-align: center;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.7);
    border: 2px solid;
    animation: popIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.popup-content::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, transparent 70%);
}

.pass-popup {
    border-color: #4CAF50;
}

.fail-popup {
    border-color: #f44336;
}

.complete-popup {
    border-color: #FFD700;
}

.popup-header {
    margin-bottom: 25px;
    position: relative;
    z-index: 1;
}

.popup-header i {
    font-size: 4rem;
    margin-bottom: 15px;
    display: block;
    animation: bounce 1s ease infinite alternate;
}

@keyframes bounce {
    0% { transform: translateY(0); }
    100% { transform: translateY(-10px); }
}

.pass-popup .popup-header i { color: #4CAF50; }
.fail-popup .popup-header i { color: #f44336; }
.complete-popup .popup-header i { color: #FFD700; }

.popup-header h2 {
    font-size: 2.5rem;
    color: white;
    margin: 0;
}

.popup-body {
    margin: 20px 0;
    position: relative;
    z-index: 1;
}

.popup-body p {
    margin: 15px 0;
    font-size: 1.1rem;
    color: #ddd;
}

.result-stats, .final-stats {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    padding: 20px;
    margin: 20px 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stat {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 10px 0;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.stat:last-child {
    border-bottom: none;
}

.stat i {
    color: #4dccff;
    margin-right: 10px;
}

.popup-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
    position: relative;
    z-index: 1;
}

.btn-primary, .btn-secondary {
    border: none;
    border-radius: 12px;
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex: 1;
    position: relative;
    overflow: hidden;
}

.btn-primary::before, .btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before, .btn-secondary:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #00b09b, #96c93d);
    color: white;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 176, 155, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #ddd;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.next-level-hint, .fail-hint, .congrats {
    font-style: italic;
    color: #aaa;
    margin-top: 15px;
}

/* ===== 时间警告动画 ===== */
@keyframes timeWarning {
    0%, 100% { 
        opacity: 1; 
        transform: scale(1);
    }
    50% { 
        opacity: 0.5; 
        transform: scale(1.05);
    }
}

.time-warning {
    animation: timeWarning 0.5s infinite !important;
    color: #f44336 !important;
    text-shadow: 0 0 10px rgba(244, 67, 54, 0.5) !important;
}

/* ===== 响应式设计 ===== */
@media (max-width: 1200px) {
    .game-container {
        max-width: 1000px;
    }
}

@media (max-width: 768px) {
    .game-container {
        padding: 15px;
        margin-top: 100px;
    }
    
    .game-stats-panel {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .control-buttons {
        grid-column: span 2;
        flex-direction: column;
    }
    
    .game-board-wrapper {
        min-height: 350px;
        padding: 15px;
    }
    
    .card-cell {
        width: 60px;
        height: 60px;
    }
    
    .level-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .popup-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .game-container {
        padding: 10px;
        margin-top: 90px;
        min-height: 95vh;
    }
    
    .game-header h1 {
        font-size: 1.8rem;
    }
    
    .game-board-wrapper {
        min-height: 300px;
        padding: 10px;
    }
    
    .card-cell {
        width: 50px;
        height: 50px;
    }
    
    .stat-item {
        padding: 8px 10px;
    }
    
    .level-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .popup-content {
        padding: 20px;
    }
    
    .popup-header h2 {
        font-size: 2rem;
    }
}

/* 小屏幕下的卡片大小调整 */
@media (max-height: 700px) {
    .game-container {
        margin-top: 20px;
        padding: 15px;
    }
    
    .game-board-wrapper {
        min-height: 300px;
    }
    
    .game-stats-panel {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .game-header {
        margin-bottom: 15px;
    }
    
    .level-progress {
        margin-bottom: 15px;
    }
}

/* 针对大屏幕优化 */
@media (min-width: 1600px) {
    .game-container {
        max-width: 1400px;
    }
    
    .card-cell {
        width: 100px;
        height: 100px;
    }
}

/* 确保游戏板在小屏幕上仍然可读 */
@media (max-width: 360px) {
    .game-board-wrapper {
        min-height: 280px;
        padding: 8px;
    }
    
    .card-cell {
        width: 45px;
        height: 45px;
    }
    
    .game-stats-panel {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .control-buttons {
        grid-column: span 1;
    }
}

/* 针对高密度屏幕优化 */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .card-cell {
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    }
    
    .card-cell.has-card:hover {
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
    }
}

/* 打印样式 */
@media print {
    .game-board-wrapper,
    .game-hint,
    .popup-overlay {
        display: none !important;
    }
    
    .game-container {
        box-shadow: none;
        border: 1px solid #ccc;
        background: white;
        color: black;
    }
}

/* ===== 连接特效（新增） ===== */
.card-flash {
    animation: flashEffect 0.5s ease-out forwards;
}

@keyframes flashEffect {
    0% {
        opacity: 0;
        transform: scale(0.5);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
    100% {
        opacity: 0;
        transform: scale(1);
    }
}

.connection-particle {
    animation: particleFloat 0.8s ease-out forwards;
}

@keyframes particleFloat {
    0% {
        opacity: 1;
        transform: scale(1) translate(0, 0);
    }
    100% {
        opacity: 0;
        transform: scale(0.5) translate(var(--tx, 0), var(--ty, 0));
    }
}

/* 简化连接线，只显示简单的连线 */
.simple-connection-line {
    position: absolute;
    height: 4px;
    background: linear-gradient(90deg, #FFD700, #FFA500);
    border-radius: 2px;
    z-index: 10;
    pointer-events: none;
    transform-origin: 0 0;
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
}

/* 匹配成功时的特殊效果 */
.match-success {
    animation: matchSuccess 0.6s ease-out forwards;
}

@keyframes matchSuccess {
    0% {
        box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.4);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(46, 204, 113, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(46, 204, 113, 0);
    }
}

/* 添加一个简单的连线动画 */
@keyframes simpleLineDraw {
    0% {
        width: 0;
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        width: 100%;
        opacity: 1;
    }
}