/* ==================== 游戏结算页面样式 ==================== */
.game-result-container {
    max-width: 600px;
    margin: 0 auto;
}

.result-header {
    text-align: center;
    padding: 20px 0;
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
    margin-bottom: 20px;
}

.result-title {
    font-size: 28px;
    background: linear-gradient(135deg, #ffd700 0%, #ff9500 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    font-weight: bold;
}

.winner-section {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15) 0%, rgba(255, 150, 0, 0.1) 100%);
    border: 2px solid rgba(255, 215, 0, 0.4);
    border-radius: 15px;
    padding: 20px;
    margin: 15px 0;
}

.winner-crown {
    font-size: 48px;
    margin-bottom: 10px;
    animation: crownPulse 2s ease-in-out infinite;
}

@keyframes crownPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.winner-name {
    font-size: 24px;
    color: #ffd700;
    font-weight: bold;
    margin-bottom: 8px;
}

.winner-prize {
    font-size: 18px;
    color: #90ee90;
}

/* 玩家手牌展示区域 */
.players-cards-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin: 20px 0;
}

.player-result-card {
    background: linear-gradient(145deg, rgba(30, 45, 74, 0.9) 0%, rgba(21, 34, 56, 0.9) 100%);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 15px;
    transition: all 0.3s ease;
}

.player-result-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.player-result-card.winner {
    border-color: #ffd700;
    background: linear-gradient(145deg, rgba(255, 215, 0, 0.15) 0%, rgba(255, 150, 0, 0.1) 100%);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}

.player-result-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 5px;
}

.player-rank {
    font-size: 20px;
}

.player-result-name {
    font-size: 16px;
    color: #fff;
    font-weight: bold;
    flex: 1;
    text-align: center;
}

.player-hand-type {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: bold;
}

.hand-leopard {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a5a 100%);
    color: #fff;
}

.hand-straight-flush {
    background: linear-gradient(135deg, #ffd700 0%, #ff9500 100%);
    color: #1a1a2e;
}

.hand-flush {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: #fff;
}

.hand-straight {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    color: #fff;
}

.hand-pair {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    color: #fff;
}

.hand-high {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    color: #1a1a2e;
}

.hand-normal {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.player-cards-display {
    display: flex;
    justify-content: center;
    gap: 5px;
}

.player-cards-display .poker-card {
    width: 45px;
    height: 65px;
}

.player-cards-display .card-value {
    font-size: 12px;
}

.player-cards-display .card-suit-small {
    font-size: 10px;
}

.player-cards-display .card-center {
    font-size: 24px;
}

/* 筹码统计 */
.chips-summary {
    background: linear-gradient(145deg, rgba(30, 45, 74, 0.6) 0%, rgba(21, 34, 56, 0.6) 100%);
    border-radius: 12px;
    padding: 15px;
    margin: 20px 0;
}

.chips-title {
    font-size: 16px;
    color: #ffd700;
    text-align: center;
    margin-bottom: 12px;
    font-weight: bold;
}

.chips-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.chip-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.chip-item.winner-chip {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2) 0%, rgba(255, 150, 0, 0.15) 100%);
    border-color: rgba(255, 215, 0, 0.4);
}

.chip-rank {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    width: 30px;
}

.chip-name {
    flex: 1;
    color: #fff;
    font-size: 14px;
    text-align: center;
}

.chip-amount {
    font-size: 16px;
    color: #90ee90;
    font-weight: bold;
}

.chip-item.winner-chip .chip-amount {
    color: #ffd700;
}

/* 底部区域 */
.result-footer {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.round-info {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 15px;
}

.result-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}
