:root {
  --pauseai-navy: #0f172a;
  --pauseai-navy-light: #1e293b;
  --pauseai-navy-lighter: #273347;
  --pauseai-orange: #ff9416;
  --pauseai-orange-dim: rgba(255, 148, 22, 0.15);
  --text-primary: #e2e8f0;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 148, 22, 0.4);
}

* {
  box-sizing: border-box;
}

html, body {
  margin: 0;
  padding: 0;
}

body {
  background: var(--pauseai-navy);
  color: var(--text-primary);
  font-family: 'Montserrat', system-ui, -apple-system, sans-serif;
  font-weight: 400;
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: inherit;
  text-decoration: none;
}

/* ---------- Topbar ---------- */
.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  border-bottom: 1px solid var(--border);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
  color: var(--text-secondary);
  transition: color 0.15s;
}

.brand:hover {
  color: var(--pauseai-orange);
}

.brand img {
  height: 24px;
  width: 24px;
  border-radius: 50%;
}

.back {
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: color 0.15s;
}

.back:hover {
  color: var(--pauseai-orange);
}

/* ---------- Hero ---------- */
.hero {
  text-align: center;
  padding: 3.5rem 2rem 2.5rem;
  max-width: 760px;
  margin: 0 auto;
}

.hero-logo {
  height: 110px;
  max-width: min(520px, 90%);
  width: auto;
  margin-bottom: 1.75rem;
  opacity: 0.95;
}

.hero h1 {
  font-family: 'Saira Condensed', sans-serif;
  font-weight: 900;
  font-size: clamp(2.5rem, 6vw, 4rem);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--pauseai-orange);
  margin: 0 0 0.5rem;
  line-height: 1;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin: 0.5rem auto 0;
  max-width: 600px;
}

.hero-subtitle strong {
  color: var(--text-primary);
  font-weight: 600;
}

.hero-count {
  margin-top: 1.25rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}

/* ---------- Grid ---------- */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem 4rem;
  flex: 1;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.25rem;
}

/* ---------- Card ---------- */
.card {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  background: var(--pauseai-navy-light);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: transform 0.15s, border-color 0.15s, background 0.15s;
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-2px);
  border-color: var(--border-hover);
  background: var(--pauseai-navy-lighter);
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  margin-bottom: 0.75rem;
}

.card-date {
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.card-langs {
  display: inline-flex;
  margin-left: auto;
  gap: 2px;
  background: rgba(255, 255, 255, 0.04);
  padding: 2px;
  border-radius: 999px;
  position: relative;
  z-index: 2;
}

.card-lang-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font: inherit;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.18rem 0.55rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.card-lang-btn:hover {
  color: var(--text-primary);
}

.card-lang-btn.is-active {
  background: var(--pauseai-orange);
  color: var(--pauseai-navy);
}

.card-title {
  font-family: 'Saira Condensed', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  color: var(--pauseai-orange);
  margin: 0 0 0.35rem;
  line-height: 1.15;
}

.card-title-link {
  color: inherit;
  display: inline;
}

.card-title-link::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
}

.card-subtitle {
  font-family: 'Roboto Slab', serif;
  font-size: 0.95rem;
  color: var(--text-primary);
  margin: 0 0 0.85rem;
  line-height: 1.4;
}

.card-venue {
  font-size: 0.82rem;
  color: var(--text-primary);
  margin: 0 0 0.85rem;
  padding: 0.35rem 0.6rem;
  border-left: 2px solid var(--pauseai-orange);
  background: var(--pauseai-orange-dim);
  border-radius: 0 4px 4px 0;
  line-height: 1.35;
}

.card-description {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin: 0 0 1rem;
  line-height: 1.5;
  flex: 1;
}

.card-cta {
  font-size: 0.8rem;
  color: var(--pauseai-orange);
  font-weight: 600;
  letter-spacing: 0.02em;
  margin-top: auto;
  position: relative;
  z-index: 2;
}

/* ---------- Footer ---------- */
.footer {
  text-align: center;
  padding: 2.5rem 1.5rem 3rem;
  border-top: 1px solid var(--border);
  background: rgba(0, 0, 0, 0.15);
}

.footer p {
  margin: 0.35rem 0;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.footer .small {
  font-size: 0.78rem;
}

.footer .muted {
  color: var(--text-muted);
  margin-top: 0.85rem;
}

.footer a {
  color: var(--text-primary);
  border-bottom: 1px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}

.footer a:hover {
  color: var(--pauseai-orange);
  border-bottom-color: var(--pauseai-orange);
}

.footer .divider {
  margin: 0 0.5rem;
  color: var(--text-muted);
}

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  .topbar {
    padding: 0.75rem 1rem;
  }

  .hero {
    padding: 2.5rem 1rem 1.5rem;
  }

  .hero-logo {
    height: 80px;
  }

  .container {
    padding: 0 1rem 3rem;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .card {
    padding: 1.25rem;
  }
}
