:root {
    --bg-color: #0f172a;
    --card-bg: #1e293b;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --accent: #38bdf8;
    --timer-active: #facc15;
    --timer-ended: #ef4444;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
}

.site-header, .site-footer {
    text-align: center;
    padding: 1.5rem;
    background-color: #0b1120;
}

/* Two Column Layout */
.dashboard {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 1rem;
}

.region-title {
    border-bottom: 2px solid var(--accent);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

/* Card Styling */
.event-card {
    background-color: var(--card-bg);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.event-card img {
    width: 100%;
    height: auto;
    display: block;
    border-bottom: 1px solid #334155;
}

.card-content {
    padding: 1rem;
}

.card-content h3 {
    margin: 0.5rem 0;
    font-size: 1.1rem;
}

.badge {
    background-color: var(--accent);
    color: #000;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
}

.req {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin: 0.5rem 0;
}

.links-container {
    display: flex;
    gap: 1rem; /* Espacio entre los dos enlaces */
    margin-bottom: 1rem;
}

.guide-link {
    color: var(--accent); /* Tu color azul brillante */
    font-weight: bold;
    text-decoration: none;
}

.official-link {
    color: var(--text-muted); /* Un gris claro o color más apagado */
    text-decoration: underline;
    font-size: 0.9rem; /* Un poco más pequeño */
}

.official-link:hover {
    color: var(--text-main); /* Que brille al pasar el mouse */
}

/* The JavaScript target */
.timer {
    font-family: monospace;
    font-size: 1.2rem;
    color: var(--timer-active);
    background: rgba(0, 0, 0, 0.3);
    padding: 0.5rem;
    border-radius: 4px;
    text-align: center;
}

.timer.ended {
    color: var(--timer-ended);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .dashboard {
        grid-template-columns: 1fr; /* Stacks the columns on small screens */
    }
}

/* Placeholder styling for empty regions */
.placeholder-card {
    background-color: transparent;
    border: 2px dashed #334155; /* Dashed border for "under construction" feel */
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 250px; /* Keeps the column from collapsing */
}