/* Public site styles */
:root {
    --primary: #1a9e6c;
    --primary-dark: #157a54;
    --gold: #f5a623;
    --dark: #1a1a2e;
}

body {
    font-family: 'Segoe UI', sans-serif;
    background: #f5f5f5;
}

/* Header */
.site-header {
    background: var(--dark);
    padding: 12px 0;
}

.site-logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary) !important;
    text-decoration: none;
}

.site-logo .crown {
    color: var(--gold);
}

/* Hero */
.hero-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: white;
    padding: 40px 0;
    text-align: center;
}

/* Result cards */
.result-card {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
}

.result-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

.result-card .card-header-dark {
    background: var(--dark);
    color: #fff;
    padding: 12px 16px;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.game-time {
    font-size: 0.8rem;
    color: #aaa;
    font-weight: 400;
}

.result-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1.1;
}

.result-date {
    font-size: 0.8rem;
    color: #666;
}

/* History table */
.history-table th {
    background: var(--dark);
    color: #fff;
    font-weight: 600;
    text-align: center;
}

.history-table td {
    text-align: center;
    vertical-align: middle;
}

.history-number {
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--primary);
}

/* Ticker */
.ticker-wrap {
    background: var(--gold);
    overflow: hidden;
    padding: 8px 0;
}

.ticker {
    display: flex;
    animation: ticker 30s linear infinite;
}

.ticker-item {
    white-space: nowrap;
    padding: 0 40px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--dark);
}

@keyframes ticker {
    0% { transform: translateX(100vw); }
    100% { transform: translateX(-100%); }
}

/* Footer */
.site-footer {
    background: var(--dark);
    color: #aaa;
    padding: 30px 0;
    margin-top: 60px;
}

.site-footer a { color: var(--primary); }

/* Responsive */
@media (max-width: 576px) {
    .result-number { font-size: 2.2rem; }
}
