/* 日照中心4碼樂透系統 - 自定義樣式 */

/* 全局樣式 */
body {
    font-family: 'Microsoft JhengHei', '微軟正黑體', 'PingFang TC', '蘋果儷中黑', sans-serif;
}

/* 卡片陰影效果 */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* 按鈕動畫效果 */
.btn-pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(59, 130, 246, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(59, 130, 246, 0);
    }
}

/* 中獎號碼特殊樣式 */
.winning-number {
    background: linear-gradient(45deg, #ff6b6b, #feca57);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

/* 投注號碼輸入框特殊樣式 */
.bet-number-input {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    letter-spacing: 0.2em;
}

.bet-number-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

/* 獎金池金額特殊效果 */
.prize-pool {
    background: linear-gradient(45deg, #12c2e9, #c471ed, #f64f59);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 3s ease-in-out infinite;
}

@keyframes gradient-shift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* 中獎提示動畫 */
.winner-badge {
    animation: winner-glow 1.5s ease-in-out infinite alternate;
}

@keyframes winner-glow {
    from {
        box-shadow: 0 0 5px #ffd700, 0 0 10px #ffd700, 0 0 15px #ffd700;
    }
    to {
        box-shadow: 0 0 10px #ffd700, 0 0 20px #ffd700, 0 0 30px #ffd700;
    }
}

/* 響應式改進 */
@media (max-width: 768px) {
    .bet-number-input {
        font-size: 1.5rem;
    }
    
    .grid {
        gap: 1rem;
    }
}

/* 深色模式支援 */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #1a202c;
        color: #e2e8f0;
    }
}

/* 列印樣式 */
@media print {
    .no-print {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
}

/* 無障礙支援 */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* 高對比度模式 */
@media (prefers-contrast: high) {
    .card {
        border: 2px solid #000;
    }
    
    button {
        border: 2px solid #000;
    }
}