/* 游戏页面样式 */

/* 游戏选择器 */
.game-selector {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin: 40px auto;
    max-width: 800px;
    padding: 0 20px;
    flex-wrap: wrap;
}

.game-card {
    flex: 1;
    min-width: 280px;
    max-width: 360px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 8px 32px rgba(15, 240, 252, 0.12);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.game-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(15, 240, 252, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.game-card:hover::before {
    opacity: 1;
}

.game-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 60px rgba(188, 19, 254, 0.25);
    border-color: rgba(188, 19, 254, 0.3);
}

.game-icon {
    font-size: 64px;
    margin-bottom: 20px;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.game-title {
    font-family: 'Noto Serif SC', serif;
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #0ff0fc, #bc13fe);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.game-desc {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.game-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #0ff0fc, #bc13fe);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(15, 240, 252, 0.4);
}

.game-badge.hot {
    background: linear-gradient(135deg, #ff6b9d, #bc13fe);
    box-shadow: 0 4px 15px rgba(255, 107, 157, 0.4);
}

/* 游戏容器 */
.game-container {
    max-width: 800px;
    margin: 40px auto;
    padding: 0 20px;
}

.game-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.back-btn {
    background: linear-gradient(135deg, #0ff0fc, #bc13fe);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(15, 240, 252, 0.3);
}

.back-btn:hover {
    transform: translateX(-3px);
    box-shadow: 0 6px 20px rgba(188, 19, 254, 0.4);
}

.game-name {
    font-family: 'Noto Serif SC', serif;
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(135deg, #0ff0fc, #bc13fe);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ========== 情侣问答样式 ========== */

.quiz-section {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.quiz-progress {
    font-size: 18px;
    font-weight: 600;
    color: #bc13fe;
    background: rgba(188, 19, 254, 0.1);
    padding: 8px 20px;
    border-radius: 20px;
}

/* 游戏教程 */
.tutorial-card {
    max-width: 500px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 24px;
    padding: 40px 35px;
    box-shadow: 0 10px 40px rgba(188, 19, 254, 0.15);
    border: 2px solid rgba(188, 19, 254, 0.2);
}

.tutorial-icon {
    font-size: 60px;
    text-align: center;
    margin-bottom: 20px;
    animation: bounce 2s ease-in-out infinite;
}

.tutorial-title {
    font-family: 'Noto Serif SC', serif;
    font-size: 24px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #0ff0fc, #bc13fe);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.tutorial-content {
    margin-bottom: 25px;
}

.tutorial-step {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 18px;
    padding: 15px;
    background: linear-gradient(135deg, rgba(15, 240, 252, 0.05), rgba(188, 19, 254, 0.05));
    border-radius: 12px;
    transition: all 0.3s ease;
}

.tutorial-step:hover {
    transform: translateX(5px);
    background: linear-gradient(135deg, rgba(15, 240, 252, 0.1), rgba(188, 19, 254, 0.1));
}

.step-number {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0ff0fc, #bc13fe);
    color: white;
    border-radius: 50%;
    font-weight: 700;
    font-size: 16px;
}

.step-text {
    font-size: 15px;
    color: #333;
    line-height: 1.6;
    padding-top: 4px;
}

.tutorial-tips {
    background: linear-gradient(135deg, rgba(255, 107, 157, 0.1), rgba(188, 19, 254, 0.1));
    padding: 15px 20px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 30px;
}

.tip-icon {
    font-size: 24px;
}

.tutorial-tips span:last-child {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.start-btn {
    display: block;
    width: 200px;
    margin: 40px auto;
    padding: 15px 40px;
    background: linear-gradient(135deg, #0ff0fc, #bc13fe);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(15, 240, 252, 0.4);
    transition: all 0.3s ease;
}

.start-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(188, 19, 254, 0.5);
}

/* 答题区域 */
.current-player {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, rgba(15, 240, 252, 0.1), rgba(188, 19, 254, 0.1));
    border-radius: 20px;
    margin-bottom: 20px;
    font-size: 18px;
    font-weight: 600;
}

.player-name {
    color: #bc13fe;
    font-size: 22px;
}

.question-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.6);
}

.question-number {
    font-size: 14px;
    color: #999;
    margin-bottom: 20px;
    text-align: center;
}

.question-text {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    text-align: center;
    margin-bottom: 30px;
    line-height: 1.6;
}

.answer-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.answer-option {
    padding: 18px 25px;
    background: linear-gradient(135deg, rgba(15, 240, 252, 0.05), rgba(188, 19, 254, 0.05));
    border: 2px solid rgba(188, 19, 254, 0.2);
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 15px;
    color: #333;
    text-align: center;
}

.answer-option:hover {
    transform: translateX(5px);
    border-color: #bc13fe;
    background: linear-gradient(135deg, rgba(15, 240, 252, 0.15), rgba(188, 19, 254, 0.15));
    box-shadow: 0 4px 15px rgba(188, 19, 254, 0.2);
}

.answer-option.selected {
    background: linear-gradient(135deg, #0ff0fc, #bc13fe);
    color: white;
    border-color: transparent;
    box-shadow: 0 6px 20px rgba(15, 240, 252, 0.4);
}

/* 结果展示 */
.result-card {
    text-align: center;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 24px;
    padding: 50px 40px;
    box-shadow: 0 10px 40px rgba(188, 19, 254, 0.15);
    border: 2px solid rgba(188, 19, 254, 0.2);
}

.result-icon {
    font-size: 80px;
    margin-bottom: 20px;
    animation: bounce 1.5s ease-in-out infinite;
}

.result-score {
    font-size: 72px;
    font-weight: 700;
    background: linear-gradient(135deg, #0ff0fc, #bc13fe, #ff6b9d);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 10px;
    animation: glow 2s ease-in-out infinite;
}

@keyframes glow {
    0%, 100% { text-shadow: 0 0 20px rgba(15, 240, 252, 0.5); }
    50% { text-shadow: 0 0 40px rgba(188, 19, 254, 0.8); }
}

.result-label {
    font-size: 18px;
    color: #666;
    margin-bottom: 30px;
}

.result-message {
    font-size: 20px;
    color: #333;
    margin-bottom: 30px;
    line-height: 1.6;
    padding: 20px;
    background: rgba(188, 19, 254, 0.05);
    border-radius: 15px;
}

.result-details {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 30px;
}

.detail-item {
    text-align: center;
}

.detail-label {
    display: block;
    font-size: 14px;
    color: #999;
    margin-bottom: 8px;
}

.detail-value {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: #bc13fe;
}

.retry-btn {
    padding: 15px 40px;
    background: linear-gradient(135deg, #0ff0fc, #bc13fe);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(15, 240, 252, 0.4);
    transition: all 0.3s ease;
}

.retry-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(188, 19, 254, 0.5);
}

/* ========== 转盘样式 ========== */

.wheel-types {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.wheel-type-card {
    padding: 20px 30px;
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(188, 19, 254, 0.2);
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    min-width: 150px;
}

.wheel-type-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(188, 19, 254, 0.2);
}

.wheel-type-card.active {
    background: linear-gradient(135deg, #0ff0fc, #bc13fe);
    color: white;
    border-color: transparent;
    box-shadow: 0 8px 25px rgba(15, 240, 252, 0.4);
}

.type-icon {
    font-size: 36px;
    margin-bottom: 10px;
}

.type-name {
    font-size: 14px;
    font-weight: 600;
}

/* 转盘主体 */
.wheel-wrapper {
    position: relative;
    width: 400px;
    height: 400px;
    margin: 0 auto 40px;
}

#spin-wheel-canvas {
    border-radius: 50%;
    box-shadow: 
        0 0 0 10px rgba(255, 255, 255, 0.9),
        0 0 0 15px rgba(188, 19, 254, 0.3),
        0 10px 40px rgba(0, 0, 0, 0.2);
}

.wheel-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

.wheel-pointer {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 30px solid #bc13fe;
    filter: drop-shadow(0 4px 8px rgba(188, 19, 254, 0.5));
}

.spin-button {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0ff0fc, #bc13fe);
    border: 5px solid white;
    color: white;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.3;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 
        0 8px 30px rgba(15, 240, 252, 0.5),
        inset 0 -5px 15px rgba(0, 0, 0, 0.2);
}

.spin-button:hover:not(:disabled) {
    transform: scale(1.1);
    box-shadow: 
        0 12px 40px rgba(188, 19, 254, 0.6),
        inset 0 -5px 15px rgba(0, 0, 0, 0.2);
}

.spin-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* 自定义输入 */
.custom-input-area {
    max-width: 500px;
    margin: 0 auto 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.input-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 12px;
    text-align: center;
}

.custom-textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid rgba(188, 19, 254, 0.2);
    border-radius: 15px;
    font-size: 14px;
    resize: vertical;
    font-family: inherit;
    transition: all 0.3s ease;
}

.custom-textarea:focus {
    outline: none;
    border-color: #bc13fe;
    box-shadow: 0 0 20px rgba(188, 19, 254, 0.2);
}

.apply-btn {
    display: block;
    width: 150px;
    margin: 15px auto 0;
    padding: 12px 25px;
    background: linear-gradient(135deg, #0ff0fc, #bc13fe);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.apply-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(15, 240, 252, 0.4);
}

/* 转盘结果 */
.wheel-result {
    text-align: center;
    padding: 30px;
    background: linear-gradient(135deg, rgba(15, 240, 252, 0.1), rgba(188, 19, 254, 0.1));
    border-radius: 20px;
    margin-bottom: 30px;
    animation: bounceIn 0.5s ease;
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.8);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

.result-title {
    font-size: 28px;
    font-weight: 700;
    color: #bc13fe;
    margin-bottom: 15px;
}

.result-content {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    padding: 15px 30px;
    background: white;
    border-radius: 15px;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(188, 19, 254, 0.2);
}

/* 历史记录 */
.wheel-history {
    max-width: 600px;
    margin: 0 auto;
    padding: 25px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.history-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
    text-align: center;
}

.history-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.history-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    background: rgba(188, 19, 254, 0.05);
    border-radius: 10px;
    font-size: 14px;
}

.history-time {
    color: #999;
    font-size: 12px;
}

.history-result {
    font-weight: 600;
    color: #bc13fe;
}

/* ========== 骰子游戏样式 ========== */

.dice-section {
    animation: fadeIn 0.5s ease;
}

/* 选择先手 */
.selector-title {
    text-align: center;
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 30px;
}

.player-selector {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.select-player-card {
    flex: 1;
    min-width: 200px;
    max-width: 280px;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(188, 19, 254, 0.2);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

.select-player-card:hover {
    transform: translateY(-8px);
    border-color: #bc13fe;
    box-shadow: 0 12px 40px rgba(188, 19, 254, 0.25);
}

.select-avatar {
    font-size: 80px;
    margin-bottom: 20px;
    animation: pulse 2s ease-in-out infinite;
}

.select-label {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.vs-badge {
    font-size: 28px;
    font-weight: 700;
    color: #bc13fe;
    text-shadow: 0 4px 15px rgba(188, 19, 254, 0.3);
}

/* 骰子游戏区域 */
.dice-turn {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, rgba(15, 240, 252, 0.1), rgba(188, 19, 254, 0.1));
    border-radius: 20px;
    margin-bottom: 30px;
    font-size: 18px;
    font-weight: 600;
}

.turn-player {
    color: #bc13fe;
    font-size: 22px;
}

/* 结果预览卡片 - 放在上方 */
.dice-result-preview {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(188, 19, 254, 0.15);
    margin-bottom: 20px;
    border: 2px solid rgba(188, 19, 254, 0.2);
}

.result-preview-item {
    text-align: center;
    flex: 1;
}

.preview-avatar {
    font-size: 50px;
    margin-bottom: 10px;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.preview-label {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
    font-weight: 500;
}

.preview-score {
    font-size: 48px;
    font-weight: 700;
    background: linear-gradient(135deg, #0ff0fc, #bc13fe);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 2px 10px rgba(15, 240, 252, 0.2);
}

.result-preview-divider {
    width: 3px;
    height: 70px;
    background: linear-gradient(to bottom, #0ff0fc, #bc13fe, #ff6b9d);
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(188, 19, 254, 0.3);
}

.dice-display {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.dice-box {
    width: 140px;
    height: 140px;
    background: linear-gradient(135deg, #0ff0fc, #bc13fe);
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 15px 50px rgba(15, 240, 252, 0.5),
        inset 0 -8px 25px rgba(0, 0, 0, 0.2),
        inset 0 8px 25px rgba(255, 255, 255, 0.2);
    transition: transform 0.1s ease;
    perspective: 1000px;
    transform-style: preserve-3d;
}

.dice {
    font-size: 90px;
    color: white;
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.5);
    transition: transform 0.1s ease;
    display: block;
}

.roll-btn {
    display: block;
    width: 200px;
    margin: 0 auto 40px;
    padding: 15px 40px;
    background: linear-gradient(135deg, #0ff0fc, #bc13fe);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(15, 240, 252, 0.4);
    transition: all 0.3s ease;
}

.roll-btn:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(188, 19, 254, 0.5);
}

.roll-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* ========== 结果弹窗样式 ========== */

.result-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.result-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.modal-card {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.9);
    max-width: 450px;
    width: 90%;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 24px;
    padding: 40px 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease forwards;
}

@keyframes modalSlideIn {
    to {
        transform: translate(-50%, -50%) scale(1);
    }
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 32px;
    height: 32px;
    border: none;
    background: rgba(0, 0, 0, 0.1);
    color: #666;
    font-size: 24px;
    cursor: pointer;
    border-radius: 50%;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.15);
    color: #333;
}

.modal-icon {
    font-size: 70px;
    text-align: center;
    margin-bottom: 20px;
    animation: bounce 1.5s ease-in-out infinite;
}

.modal-title {
    font-family: 'Noto Serif SC', serif;
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #0ff0fc, #bc13fe);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.modal-result {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, rgba(15, 240, 252, 0.1), rgba(188, 19, 254, 0.1));
    border-radius: 15px;
    margin-bottom: 20px;
}

.modal-scores {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 15px;
}

.modal-score-item {
    text-align: center;
}

.modal-label {
    display: block;
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
}

.modal-score {
    display: block;
    font-size: 36px;
    font-weight: 700;
    background: linear-gradient(135deg, #0ff0fc, #bc13fe);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.modal-btn {
    display: block;
    width: 200px;
    margin: 0 auto;
    padding: 15px 40px;
    background: linear-gradient(135deg, #0ff0fc, #bc13fe);
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(15, 240, 252, 0.4);
    transition: all 0.3s ease;
}

.modal-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(188, 19, 254, 0.5);
}

/* 中间结果卡片 */
.intermediate-card {
    max-width: 350px;
    padding: 35px 25px;
}

.intermediate-score {
    font-size: 56px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 25px;
    background: linear-gradient(135deg, #0ff0fc, #bc13fe, #ff6b9d);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: pulse 1.5s ease-in-out infinite;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .game-selector {
        flex-direction: column;
        align-items: center;
        padding: 0 8px;
    }

    .game-card {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }

    .game-header {
        flex-direction: column;
        gap: 15px;
    }

    .question-card {
        padding: 25px 20px;
    }

    .question-text {
        font-size: 18px;
    }

    .wheel-wrapper {
        width: 320px;
        height: 320px;
    }

    #spin-wheel-canvas {
        width: 320px !important;
        height: 320px !important;
    }

    .spin-button {
        width: 80px;
        height: 80px;
        font-size: 14px;
    }

    .result-score {
        font-size: 56px;
    }

    .result-details {
        gap: 20px;
    }

    .wheel-types {
        gap: 10px;
    }

    .wheel-type-card {
        padding: 15px 20px;
        min-width: 120px;
    }

    .type-icon {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .game-card {
        padding: 30px 20px;
    }

    .game-icon {
        font-size: 48px;
    }

    .player-avatar {
        font-size: 60px;
    }

    .vs-divider {
        font-size: 24px;
    }

    .result-card {
        padding: 30px 20px;
    }

    .result-score {
        font-size: 48px;
    }

    .wheel-wrapper {
        width: 280px;
        height: 280px;
    }

    #spin-wheel-canvas {
        width: 280px !important;
        height: 280px !important;
    }

    .spin-button {
        width: 70px;
        height: 70px;
        font-size: 13px;
    }
}
