* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: '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;
}

/* Marquee */
.marquee-container {
    background: #ff6b6b;
    color: white;
    padding: 10px 0;
    overflow: hidden;
}

.marquee {
    display: inline-block;
    white-space: nowrap;
    animation: marquee 20s linear infinite;
    font-weight: bold;
    font-size: 16px;
}

@keyframes marquee {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* Header */
header {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
    padding: 30px 0;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

header h1 {
    font-size: 3em;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    margin-bottom: 10px;
}

.tagline {
    font-size: 1.2em;
    opacity: 0.95;
}

/* Results Grid */
.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.result-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}

.result-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.3);
}

.city-name {
    font-size: 1.4em;
    font-weight: bold;
    color: #667eea;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.result-number {
    font-size: 3em;
    font-weight: bold;
    color: #f5576c;
    margin: 20px 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
}

.result-number .pending {
    color: #999;
    font-size: 0.8em;
}

.result-time {
    font-size: 1.1em;
    color: #555;
    margin-bottom: 5px;
}

.result-date {
    font-size: 0.9em;
    color: #888;
}

/* Refresh Section */
.refresh-section {
    text-align: center;
    margin: 40px 0;
}

.refresh-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 1.1em;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    transition: all 0.3s;
}

.refresh-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0,0,0,0.3);
}

.last-update {
    margin-top: 15px;
    color: white;
    font-size: 1em;
}

/* Chart Section */
.chart-section {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin: 30px 0;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

.chart-section h2 {
    color: #667eea;
    margin-bottom: 20px;
    text-align: center;
}

.filter-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    align-items: flex-end;
    justify-content: center;
    margin-bottom: 25px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.filter-group label {
    font-weight: bold;
    color: #555;
    font-size: 14px;
}

.filter-select {
    padding: 10px 15px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    background: white;
    cursor: pointer;
    transition: border-color 0.3s;
    min-width: 150px;
}

.filter-select:focus {
    outline: none;
    border-color: #667eea;
}

.filter-btn {
    padding: 10px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s;
}

.filter-btn:hover {
    transform: scale(1.05);
}

.chart-container {
    overflow-x: auto;
}

.chart-table {
    width: 100%;
    border-collapse: collapse;
}

.chart-table th,
.chart-table td {
    padding: 12px;
    text-align: center;
    border: 1px solid #ddd;
}

.chart-table th {
    background: #667eea;
    color: white;
    font-weight: bold;
}

.chart-table tr:nth-child(even) {
    background: #f8f9fa;
}

/* Footer */
footer {
    background: rgba(0,0,0,0.3);
    color: white;
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
}

.disclaimer {
    margin-top: 10px;
    font-size: 0.85em;
    opacity: 0.8;
}

/* Responsive */
@media (max-width: 768px) {
    header h1 {
        font-size: 2em;
    }
    
    .results-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 15px;
    }
    
    .result-card {
        padding: 15px;
    }
    
    .result-number {
        font-size: 2em;
    }
    
    .filter-container {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-select,
    .filter-btn {
        width: 100%;
    }
}