:root {
    --bg-color: #0a0a0f;
    --card-bg: rgba(255, 255, 255, 0.03);
    --card-border: rgba(255, 255, 255, 0.08);
    --text-primary: rgba(255, 255, 255, 0.92);
    --text-secondary: rgba(255, 255, 255, 0.6);
    --accent-color: #4d7cff;
    --font-family: 'Outfit', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: radial-gradient(circle at top, #1a1a2e, var(--bg-color));
    color: var(--text-primary);
    font-family: var(--font-family);
    min-height: 100vh;
}

.app-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1rem;
}

header {
    text-align: center;
    margin-bottom: 2rem;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(to right, #fff, #a0a0ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

.dot {
    width: 8px;
    height: 8px;
    background: #00ff88;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
    100% { opacity: 1; transform: scale(1); }
}

.jackpot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.jackpot-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 18px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    transition: transform 0.3s, box-shadow 0.3s;
}

.jackpot-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.suit {
    font-size: 1.5rem;
    opacity: 0.9;
}

h3 {
    font-size: 1.25rem;
    font-weight: 600;
}

.current-value {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    letter-spacing: -0.02em;
}

.currency {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.stats-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
}

.value {
    font-size: 1.1rem;
    font-weight: 600;
}

.date {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.level-1 { border-top: 3px solid #4d7cff; }
.level-2 { border-top: 3px solid #ff4d9d; }
.level-3 { border-top: 3px solid #ffcc00; }
.level-4 { border-top: 3px solid #00ff88; }

@media (max-width: 600px) {
    h1 {
        font-size: 2rem;
    }

    .current-value {
        font-size: 2rem;
    }

    .jackpot-card {
        padding: 1.25rem;
    }
}

/* Dashboard additions for multi-brand view */
.brand-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.brand-card {
    padding: 1.25rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
}

.brand-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.brand-title {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.brand-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pill {
    font-size: 0.75rem;
    padding: 0.35rem 0.6rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.85);
}

.pill-ok { box-shadow: 0 0 14px rgba(0, 255, 136, 0.25); }
.pill-warn { box-shadow: 0 0 14px rgba(255, 255, 255, 0.12); }
.pill-bad { box-shadow: 0 0 14px rgba(255, 77, 77, 0.18); }

.toolbar {
    margin-top: 0.75rem;
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    font-family: var(--font-family);
    font-weight: 600;
    border-radius: 12px;
    padding: 0.6rem 0.9rem;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: var(--text-primary);
    cursor: pointer;
}

.btn:hover {
    background: rgba(255, 255, 255, 0.10);
}

.small {
    font-size: 0.85rem;
    color: var(--text-secondary);
}
