/* Coin Master Pro — events hub (events.html / en/events.html) */

.events-hero {
  background: var(--surface, #fff);
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 1.25rem;
  padding: 1.5rem 1.35rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 8px 30px rgba(15, 23, 42, 0.06);
}

html.dark .events-hero {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.events-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1rem 0 1.25rem;
}

.events-filter button {
  font: inherit;
  font-weight: 700;
  font-size: 0.88rem;
  padding: 0.45rem 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--border, #cbd5e1);
  background: var(--bg-soft, #f8fafc);
  color: var(--text, #0f172a);
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}

html.dark .events-filter button {
  background: #1e293b;
  border-color: #475569;
  color: #e2e8f0;
}

.events-filter button[aria-pressed="true"] {
  border-color: #2563eb;
  background: rgba(37, 99, 235, 0.12);
  color: #1d4ed8;
}

html.dark .events-filter button[aria-pressed="true"] {
  color: #93c5fd;
  border-color: #60a5fa;
  background: rgba(96, 165, 250, 0.15);
}

.event-block {
  border: 1px solid var(--border, #e2e8f0);
  border-radius: 1rem;
  padding: 1.1rem 1.15rem;
  margin-bottom: 1rem;
  background: var(--surface, #fff);
}

.event-block[data-hidden="true"] {
  display: none;
}

.event-block h2 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  font-weight: 800;
}

.event-block p {
  margin: 0;
  color: var(--muted, #64748b);
  font-size: 0.95rem;
  line-height: 1.55;
}

.event-block a {
  font-weight: 700;
}

.event-pill {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.2rem 0.5rem;
  border-radius: 0.35rem;
  margin-bottom: 0.5rem;
}

.event-pill--coin {
  background: rgba(234, 179, 8, 0.2);
  color: #a16207;
}

html.dark .event-pill--coin {
  color: #fcd34d;
  background: rgba(234, 179, 8, 0.15);
}

.event-pill--spin {
  background: rgba(147, 51, 234, 0.15);
  color: #6b21a8;
}

html.dark .event-pill--spin {
  color: #e9d5ff;
  background: rgba(147, 51, 234, 0.2);
}
