/* ============================================
   游戏通用样式 - 孟菲斯风格
   ============================================ */

/* 游戏卡片网格 - 孟菲斯风格 */
.game-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    padding: 20px 0;
}

/* 游戏卡片 - 孟菲斯风格 */
.game-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 24px 18px;
    text-align: center;
    border: 3px solid var(--text);
    box-shadow: 5px 5px 0 var(--text);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    color: var(--text);
    display: block;
    position: relative;
    overflow: hidden;
}

/* 卡片装饰元素 */
.game-card::before {
    content: '';
    position: absolute;
    top: -10px;
    right: -10px;
    width: 40px;
    height: 40px;
    background: var(--secondary);
    border-radius: 50%;
    border: 2px solid var(--text);
    z-index: 0;
}

.game-card::after {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 10px;
    width: 20px;
    height: 20px;
    background: var(--accent-blue);
    border-radius: 4px;
    border: 2px solid var(--text);
    transform: rotate(45deg);
    z-index: 0;
}

.game-card:hover {
    transform: translate(-4px, -4px) rotate(-2deg);
    box-shadow: 9px 9px 0 var(--text);
}

.game-card:active {
    transform: translate(2px, 2px);
    box-shadow: 3px 3px 0 var(--text);
}

/* 为不同卡片设置不同颜色 */
.game-card:nth-child(4n+1) {
    border-color: var(--primary);
    box-shadow: 5px 5px 0 var(--primary);
}

.game-card:nth-child(4n+1)::before { background: var(--primary); }
.game-card:nth-child(4n+1)::after { background: var(--accent-green); }

.game-card:nth-child(4n+2) {
    border-color: var(--accent-blue);
    box-shadow: 5px 5px 0 var(--accent-blue);
}

.game-card:nth-child(4n+2)::before { background: var(--secondary); }
.game-card:nth-child(4n+2)::after { background: var(--accent-orange); }

.game-card:nth-child(4n+3) {
    border-color: var(--accent-green);
    box-shadow: 5px 5px 0 var(--accent-green);
}

.game-card:nth-child(4n+3)::before { background: var(--accent-blue); }
.game-card:nth-child(4n+3)::after { background: var(--primary); }

.game-card:nth-child(4n) {
    border-color: var(--accent-orange);
    box-shadow: 5px 5px 0 var(--accent-orange);
}

.game-card:nth-child(4n)::before { background: var(--accent-green); }
.game-card:nth-child(4n)::after { background: var(--secondary); }

.game-card:nth-child(4n+1):hover { box-shadow: 9px 9px 0 var(--primary); }
.game-card:nth-child(4n+2):hover { box-shadow: 9px 9px 0 var(--accent-blue); }
.game-card:nth-child(4n+3):hover { box-shadow: 9px 9px 0 var(--accent-green); }
.game-card:nth-child(4n):hover { box-shadow: 9px 9px 0 var(--accent-orange); }

.game-card .game-icon {
    font-size: 56px;
    display: block;
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
    animation: float 3s ease-in-out infinite;
}

.game-card .game-name {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.game-card .game-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 14px;
    position: relative;
    z-index: 1;
}

.game-card .btn {
    position: relative;
    z-index: 1;
    width: 100%;
}

.game-card .difficulty {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.game-card .difficulty .star {
    font-size: 14px;
    color: var(--text-light);
    transition: var(--transition);
}

.game-card .difficulty .star.active {
    color: var(--secondary);
    text-shadow: 0 0 8px rgba(255, 217, 61, 0.5);
}

/* 单词库列表 - 孟菲斯风格 */
.wordbank-list {
    padding: 16px 0 80px;
}

.wordbank-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 18px;
    margin-bottom: 16px;
    border: 3px solid var(--text);
    box-shadow: 4px 4px 0 var(--text);
    display: flex;
    align-items: center;
    gap: 14px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.wordbank-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--bg-dark) 0%, transparent 70%);
    border-radius: 0 0 0 100%;
}

.wordbank-card:hover {
    transform: translate(-3px, -3px) rotate(-1deg);
    box-shadow: 7px 7px 0 var(--text);
}

.wordbank-card:active {
    transform: translate(1px, 1px);
    box-shadow: 2px 2px 0 var(--text);
}

.wordbank-card .wb-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent-purple) 100%);
    border: 3px solid var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
    box-shadow: 3px 3px 0 var(--text);
    transition: var(--transition);
}

.wordbank-card:hover .wb-icon {
    transform: rotate(-5deg) scale(1.05);
}

.wordbank-card .wb-info {
    flex: 1;
    min-width: 0;
}

.wordbank-card .wb-name {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wordbank-card .wb-meta {
    font-size: 13px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 14px;
}

.wordbank-card .wb-arrow {
    color: var(--primary);
    font-size: 22px;
    transition: var(--transition);
}

.wordbank-card:hover .wb-arrow {
    transform: translateX(4px);
}

.wordbank-card .wb-actions {
    display: flex;
    gap: 8px;
}

.wb-actions .btn-sm {
    padding: 6px 14px;
    font-size: 12px;
}

/* 游戏界面 - 孟菲斯风格 */
.game-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background: var(--bg);
    background-image: 
        radial-gradient(circle at 5% 10%, rgba(255, 107, 157, 0.15) 0%, transparent 25%),
        radial-gradient(circle at 95% 90%, rgba(108, 92, 231, 0.15) 0%, transparent 25%),
        radial-gradient(circle at 50% 50%, rgba(255, 217, 61, 0.1) 0%, transparent 35%);
}

.game-status-bar {
    background: linear-gradient(135deg, var(--card-bg) 0%, #FFF5F8 100%);
    padding: 12px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 3px solid var(--primary);
    box-shadow: 0 3px 0 var(--secondary);
}

.game-status-bar .stat {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 15px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: 20px;
    border: 2px solid var(--text);
    background: var(--card-bg);
}

.game-status-bar .stat-score {
    color: var(--primary-dark);
    background: linear-gradient(135deg, #FFF0F5 0%, #FFE0EB 100%);
}

.game-status-bar .stat-time {
    color: var(--accent-blue);
    background: linear-gradient(135deg, #F0F0FF 0%, #E0E0FF 100%);
}

.game-status-bar .stat-progress {
    color: var(--accent-green);
    background: linear-gradient(135deg, #F0FFF5 0%, #E0FFE8 100%);
}

.game-area {
    flex: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* 游戏结果弹窗 - 孟菲斯风格 */
.result-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(45, 52, 54, 0.7);
    backdrop-filter: blur(6px);
    z-index: 300;
    display: flex;
    align-items: center;
    justify-content: center;
}

.result-card {
    background: var(--card-bg);
    border-radius: var(--radius-lg);
    border: 4px solid var(--text);
    box-shadow: 8px 8px 0 var(--text);
    padding: 36px 28px;
    text-align: center;
    width: 90%;
    max-width: 420px;
    animation: pop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

/* 结果卡片装饰 */
.result-card::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    width: 80px;
    height: 80px;
    background: var(--secondary);
    border-radius: 50%;
    border: 3px solid var(--text);
    opacity: 0.5;
}

.result-card::after {
    content: '';
    position: absolute;
    bottom: -15px;
    right: -15px;
    width: 60px;
    height: 60px;
    background: var(--primary);
    border-radius: 50%;
    border: 3px solid var(--text);
    opacity: 0.5;
}

.result-card .result-emoji {
    font-size: 80px;
    margin-bottom: 16px;
    animation: bounce 0.6s ease infinite;
    position: relative;
    z-index: 1;
}

.result-card .result-title {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 18px;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    z-index: 1;
}

.result-card .result-score {
    font-size: 56px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent-purple) 50%, var(--accent-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
    text-shadow: none;
}

.result-card .result-details {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 28px;
    position: relative;
    z-index: 1;
}

.result-card .result-detail {
    text-align: center;
    padding: 12px 8px;
    border-radius: var(--radius-sm);
    border: 2px solid var(--text);
    background: var(--bg);
}

.result-card .result-detail .label {
    font-size: 12px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.result-card .result-detail .value {
    font-size: 20px;
    font-weight: 700;
    color: var(--text);
    margin-top: 4px;
}

.result-card .result-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
    position: relative;
    z-index: 1;
}

/* 倒计时遮罩 - 孟菲斯风格 */
.countdown-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(45, 52, 54, 0.8);
    backdrop-filter: blur(8px);
    z-index: 300;
    display: flex;
    align-items: center;
    justify-content: center;
}

.countdown-number {
    font-size: 150px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 50%, var(--accent-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: bounce 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
    text-shadow: none;
}

/* 排行榜 - 孟菲斯风格 */
.leaderboard-list {
    padding: 16px 0;
}

.rank-card {
    background: var(--card-bg);
    border-radius: var(--radius);
    padding: 16px 18px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 14px;
    border: 3px solid var(--text);
    box-shadow: 3px 3px 0 var(--text);
    transition: var(--transition);
}

.rank-card:hover {
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0 var(--text);
}

.rank-card.top-1 {
    background: linear-gradient(135deg, #FFF9E6 0%, #FFE066 100%);
    border-color: #FFD700;
    box-shadow: 4px 4px 0 #FFD700;
}

.rank-card.top-2 {
    background: linear-gradient(135deg, #F5F5F5 0%, #E0E0E0 100%);
    border-color: #C0C0C0;
    box-shadow: 4px 4px 0 #C0C0C0;
}

.rank-card.top-3 {
    background: linear-gradient(135deg, #FFF0E6 0%, #FFD699 100%);
    border-color: #CD7F32;
    box-shadow: 4px 4px 0 #CD7F32;
}

.rank-card .rank-num {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--bg-dark);
    border: 3px solid var(--text);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 800;
    flex-shrink: 0;
}

.rank-card.top-1 .rank-num { 
    background: linear-gradient(135deg, #FFD700 0%, #FFC000 100%); 
    color: #fff; 
    border-color: #B8860B;
}
.rank-card.top-2 .rank-num { 
    background: linear-gradient(135deg, #E0E0E0 0%, #C0C0C0 100%); 
    color: #fff;
    border-color: #A0A0A0;
}
.rank-card.top-3 .rank-num { 
    background: linear-gradient(135deg, #CD7F32 0%, #B87333 100%); 
    color: #fff;
    border-color: #8B5A2B;
}

.rank-card .rank-avatar {
    font-size: 28px;
}

.rank-card .rank-info {
    flex: 1;
}

.rank-card .rank-name {
    font-size: 15px;
    font-weight: 700;
}

.rank-card .rank-meta {
    font-size: 12px;
    color: var(--text-secondary);
}

.rank-card .rank-score {
    font-size: 24px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.my-rank {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--card-bg) 0%, #FFF5F8 100%);
    padding: 14px 18px;
    border-top: 3px solid var(--primary);
    box-shadow: 0 -4px 0 var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    font-weight: 700;
}

/* 游戏大厅 - 孟菲斯风格 */
.lobby-container {
    text-align: center;
    padding: 32px 20px 120px;
    max-width: 480px;
    margin: 0 auto;
}

.lobby-game-icon {
    font-size: 72px;
    margin-bottom: 12px;
    animation: float 3s ease-in-out infinite;
}

.lobby-game-name {
    font-size: 28px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.lobby-wb-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--accent-blue);
    margin-bottom: 6px;
}

.lobby-wb-meta {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.lobby-words-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 28px;
}

.lobby-word-tag {
    padding: 6px 14px;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 600;
    background: linear-gradient(135deg, var(--bg) 0%, var(--bg-dark) 100%);
    border: 2px solid var(--text);
    box-shadow: 2px 2px 0 var(--text);
}

.lobby-word-more {
    padding: 6px 14px;
    border-radius: 16px;
    font-size: 13px;
    font-weight: 600;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-dark) 100%);
    border: 2px solid var(--text);
    color: var(--text);
}

.lobby-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
}

.lobby-start-btn {
    min-width: 240px;
    font-size: 20px;
    padding: 18px 40px;
    animation: pulse 2s ease infinite;
}

.lobby-btn-row {
    display: flex;
    gap: 12px;
    width: 100%;
    justify-content: center;
}

.lobby-btn-row .btn {
    flex: 1;
    max-width: 180px;
}

/* 游戏特定样式 - 匹配游戏 */
.match-columns {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    width: 100%;
    max-width: 600px;
}

.match-column {
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex: 1;
}

.match-item {
    padding: 14px 18px;
    border-radius: var(--radius-sm);
    border: 3px solid var(--text);
    background: var(--card-bg);
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    box-shadow: 3px 3px 0 var(--text);
}

.match-item:hover {
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0 var(--text);
}

.match-item.selected {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    border-color: var(--primary-dark);
}

.match-item.correct {
    background: linear-gradient(135deg, var(--accent-green) 0%, #00B894 100%);
    color: #fff;
    border-color: #00B894;
}

.match-item.wrong {
    background: linear-gradient(135deg, var(--error) 0%, #E84A7F 100%);
    color: #fff;
    border-color: #E84A7F;
    animation: shake 0.4s ease;
}

/* 单词拼写输入框 */
.word-input {
    width: 100%;
    max-width: 400px;
    padding: 16px 24px;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    border: 4px solid var(--text);
    border-radius: var(--radius);
    background: var(--card-bg);
    box-shadow: 5px 5px 0 var(--text);
    transition: var(--transition);
    letter-spacing: 4px;
}

.word-input:focus {
    border-color: var(--primary);
    box-shadow: 5px 5px 0 var(--primary);
    transform: translate(-2px, -2px);
}

/* 提示文字 */
.hint-text {
    font-size: 32px;
    font-weight: 700;
    color: var(--accent-blue);
    text-align: center;
    margin-bottom: 20px;
    padding: 16px 24px;
    background: linear-gradient(135deg, #F0F0FF 0%, #E0E0FF 100%);
    border-radius: var(--radius);
    border: 3px solid var(--accent-blue);
}

/* 字母格子 */
.letter-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    max-width: 500px;
}

.letter-box {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    font-weight: 800;
    border: 3px solid var(--text);
    border-radius: 12px;
    background: var(--card-bg);
    box-shadow: 3px 3px 0 var(--text);
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
}

.letter-box:hover {
    transform: translate(-2px, -2px) rotate(-3deg);
    box-shadow: 5px 5px 0 var(--text);
}

.letter-box.selected {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    transform: scale(1.1);
}

.letter-box.correct {
    background: linear-gradient(135deg, var(--accent-green) 0%, #00B894 100%);
    color: #fff;
}

.letter-box.wrong {
    background: linear-gradient(135deg, var(--error) 0%, #E84A7F 100%);
    color: #fff;
    animation: shake 0.3s ease;
}

/* 记忆卡片 */
.memory-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    max-width: 500px;
    margin: 0 auto;
}

.memory-card {
    aspect-ratio: 1;
    border-radius: var(--radius);
    border: 3px solid var(--text);
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent-purple) 100%);
    box-shadow: 3px 3px 0 var(--text);
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: #fff;
    position: relative;
    transform-style: preserve-3d;
}

.memory-card:hover {
    transform: translate(-2px, -2px) scale(1.02);
    box-shadow: 5px 5px 0 var(--text);
}

.memory-card.flipped {
    background: var(--card-bg);
    color: var(--text);
}

.memory-card.matched {
    background: linear-gradient(135deg, var(--accent-green) 0%, #00B894 100%);
    color: #fff;
    animation: bounce 0.4s ease;
}

/* 进度条 - 孟菲斯风格 */
.progress-bar {
    width: 100%;
    height: 16px;
    background: var(--bg-dark);
    border-radius: 10px;
    border: 3px solid var(--text);
    overflow: hidden;
    box-shadow: inset 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 50%, var(--accent-green) 100%);
    border-radius: 8px;
    transition: width 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

.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%); }
}

/* 选项按钮组 */
.options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    max-width: 500px;
    width: 100%;
}

.option-btn {
    padding: 18px 20px;
    font-size: 16px;
    font-weight: 600;
    border: 3px solid var(--text);
    border-radius: var(--radius);
    background: var(--card-bg);
    box-shadow: 4px 4px 0 var(--text);
    cursor: pointer;
    transition: var(--transition);
}

.option-btn:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--text);
}

.option-btn.selected {
    background: linear-gradient(135deg, var(--accent-blue) 0%, #5B4ED1 100%);
    color: #fff;
}

.option-btn.correct {
    background: linear-gradient(135deg, var(--accent-green) 0%, #00B894 100%);
    color: #fff;
    animation: bounce 0.3s ease;
}

.option-btn.wrong {
    background: linear-gradient(135deg, var(--error) 0%, #E84A7F 100%);
    color: #fff;
    animation: shake 0.3s ease;
}

/* 游戏标题样式 */
.game-title {
    font-size: 28px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 24px;
    color: var(--text);
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    display: inline-block;
}

.game-title::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent-blue), var(--accent-green));
    border-radius: 2px;
}

/* 分数显示 */
.score-display {
    font-size: 48px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--accent-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 连击显示 */
.combo-display {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    padding: 8px 20px;
    background: linear-gradient(135deg, #FFF0F5 0%, #FFE0EB 100%);
    border-radius: 25px;
    border: 3px solid var(--primary);
    animation: pulse 0.5s ease infinite;
}

/* 游戏提示卡片 */
.tip-card {
    padding: 16px 20px;
    background: linear-gradient(135deg, #FFF9E6 0%, #FFE066 100%);
    border-radius: var(--radius);
    border: 3px solid var(--secondary);
    box-shadow: 3px 3px 0 var(--secondary);
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    text-align: center;
}

/* 动画关键帧 */
@keyframes pop {
    0% { transform: scale(0.8); opacity: 0; }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); opacity: 1; }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes bounce {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.15); }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-6px); }
    40%, 80% { transform: translateX(6px); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}
