/* PCSO Lotto Results - Modern Styling */
.pcso-lotto-results {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}

.lotto-game {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.lotto-game:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* Logo Styling */
.lotto-logo {
    margin-bottom: 5px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    border-radius: 15px;
    padding: 12px;
}

.lotto-logo img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 10px;
    object-fit: contain;
}

/* Game Name Styling */
.game-name {
    font-size: 18px;
    font-weight: 700;
    color: #f09d19;
    margin: 0 0 10px 0;
    width: 100%;
    text-align: center;
    line-height: 1;
}

/* Combinations Styling - Simple Red Background */
.combinations {
    font-size: 13px;
    font-weight: 900;
    color: white;
    letter-spacing: 0.5px;
    margin: 0 0 5px 0;
    padding: 12px 20px;
    border-radius: 8px;
    width: 100%;
    box-sizing: border-box;
    text-align: center;
    background: #3e87e5;
    line-height: 0.5;
}

.game-details {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 3px 0;
    border-bottom: 1px solid #f1f5f9;
}

.detail-item:last-child {
    border-bottom: none;
}

.detail-label {
    font-size: 14px;
    color: #64748b;
    font-weight: 500;
    text-align: left;
}

.detail-value {
    font-size: 14px;
    color: #1e293b;
    font-weight: 600;
    text-align: right;
}

.jackpot .detail-value {
    color: #059669;
    font-weight: 700;
}

.winners .detail-value {
    color: #7c3aed;
}

.draw-date .detail-value {
    color: #0ea5e9;
}

/* 空状态样式 */
.pcso-lotto-results.empty {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 40px 20px;
    color: #64748b;
    font-size: 16px;
}

.pcso-lotto-results.empty:before {
    content: "🎯";
    font-size: 50px;
    display: block;
    margin-bottom: 15px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .pcso-lotto-results {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .lotto-game {
        padding: 15px;
    }
    
    .combinations {
        font-size: 18px;
        padding: 10px 15px;
        letter-spacing: 2px;
    }
    
    .game-name {
        font-size: 16px;
    }
    
    .lotto-logo {
        width: 80px;
        height: 80px;
    }
}

/* 加载动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.lotto-game {
    animation: fadeInUp 0.5s ease forwards;
}

/* 无数据状态 */
.combinations.no-data {
    background: #94a3b8;
    color: #e2e8f0;
}

/* 确保所有元素居中 */
.lotto-game * {
    box-sizing: border-box;
}

/* 强制居中显示 */
.lotto-game,
.lotto-logo,
.game-name,
.combinations,
.game-details {
    text-align: center;
}