* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

header {
    text-align: center;
    color: white;
    margin-bottom: 40px;
    padding: 30px 0;
}

header h1 {
    font-size: 48px;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.subtitle {
    font-size: 18px;
    opacity: 0.9;
}

.main-content {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    margin-bottom: 30px;
}

.current-lottery {
    text-align: center;
    padding: 40px 0;
    border-bottom: 2px solid #f0f0f0;
    margin-bottom: 40px;
}

.period-info h2 {
    font-size: 24px;
    color: #7f8c8d;
    margin-bottom: 15px;
}

.period-number {
    font-size: 36px;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 30px;
}

.result-info h3,
.countdown-info h3 {
    font-size: 20px;
    color: #7f8c8d;
    margin-bottom: 20px;
}

.lottery-number-large {
    font-size: 72px;
    font-weight: bold;
    color: #e74c3c;
    letter-spacing: 8px;
    margin: 20px 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.open-time {
    color: #7f8c8d;
    font-size: 16px;
    margin-top: 15px;
}

.countdown {
    font-size: 64px;
    font-weight: bold;
    color: #3498db;
    margin: 20px 0;
    font-family: 'Courier New', monospace;
}

.countdown .separator {
    margin: 0 10px;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.3; }
}

.next-time {
    color: #7f8c8d;
    font-size: 16px;
    margin-top: 15px;
}

.history-section {
    margin-top: 40px;
}

.history-section h2 {
    font-size: 28px;
    color: #2c3e50;
    margin-bottom: 25px;
    text-align: center;
}

.history-table {
    overflow-x: auto;
}

.history-table table {
    width: 100%;
    border-collapse: collapse;
}

.history-table th {
    background: #f8f9fa;
    padding: 15px;
    text-align: left;
    font-weight: 600;
    color: #2c3e50;
    border-bottom: 2px solid #dee2e6;
}

.history-table td {
    padding: 15px;
    border-bottom: 1px solid #eee;
}

.history-table tr:hover {
    background: #f8f9fa;
}

.lottery-number {
    font-size: 20px;
    font-weight: bold;
    color: #e74c3c;
    letter-spacing: 2px;
}

@media (max-width: 768px) {
    header h1 {
        font-size: 32px;
    }
    
    .lottery-number-large {
        font-size: 48px;
        letter-spacing: 4px;
    }
    
    .countdown {
        font-size: 48px;
    }
    
    .main-content {
        padding: 20px;
    }
}

