*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #e94560;
  --primary-dark: #c73e54;
  --bg: #1a1a2e;
  --surface: #16213e;
  --text: #eeeeee;
  --muted: #aaaaaa;
  --border: rgba(255,255,255,0.12);
  --radius: 1rem;
  --max: 960px;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  background: linear-gradient(135deg, var(--bg) 0%, var(--surface) 50%, #0f3460 100%);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: var(--max); margin: 0 auto; padding: 0 1.25rem; }

.site-header {
  border-bottom: 1px solid var(--border);
  background: rgba(26,26,46,0.9);
  backdrop-filter: blur(8px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0;
  flex-wrap: wrap;
}

.logo { font-size: 1.35rem; font-weight: 700; color: var(--text); text-decoration: none; }
.logo:hover { color: var(--primary); text-decoration: none; }

.nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.nav a { color: var(--muted); font-size: 0.95rem; }
.nav a:hover, .nav a.active { color: var(--text); }

.btn {
  display: inline-block;
  padding: 0.55rem 1.1rem;
  background: var(--primary);
  color: #fff;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
}
.btn:hover { background: var(--primary-dark); text-decoration: none; }
.btn-outline {
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
}

main { padding: 2rem 0 4rem; }

.breadcrumbs {
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 1.5rem;
}
.breadcrumbs a { color: var(--muted); }
.breadcrumbs span { margin: 0 0.35rem; }

.hero {
  text-align: center;
  padding: 3rem 0 2rem;
}
.hero h1 { font-size: clamp(2rem, 5vw, 3rem); margin-bottom: 0.75rem; }
.hero p { color: var(--muted); font-size: 1.15rem; max-width: 36rem; margin: 0 auto 1.5rem; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.card {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  transition: border-color 0.2s;
}
.card:hover { border-color: rgba(233,69,96,0.4); }
.card h2, .card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.card h2 a, .card h3 a { color: var(--text); text-decoration: none; }
.card h2 a:hover, .card h3 a:hover { color: var(--primary); }
.card p { color: var(--muted); font-size: 0.92rem; }
.card-meta { font-size: 0.8rem; color: var(--muted); margin-top: 0.75rem; }

.section { margin-top: 3rem; }
.section h2 { font-size: 1.5rem; margin-bottom: 1rem; }

.article-body h2 { font-size: 1.35rem; margin: 1.75rem 0 0.75rem; }
.article-body h3 { font-size: 1.1rem; margin: 1.25rem 0 0.5rem; }
.article-body p { margin-bottom: 1rem; }
.article-body ul, .article-body ol { margin: 0 0 1rem 1.25rem; }
.article-body li { margin-bottom: 0.35rem; }
.article-body .lead { font-size: 1.1rem; }

.page-title { font-size: clamp(1.5rem, 4vw, 2.25rem); margin-bottom: 0.5rem; }
.page-intro { color: var(--muted); margin-bottom: 1.5rem; }

.event-badges { display: flex; gap: 0.5rem; flex-wrap: wrap; margin: 1rem 0; }
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: rgba(233,69,96,0.2);
  border-radius: 999px;
  font-size: 0.8rem;
  color: var(--primary);
}

.event-details {
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin: 1.5rem 0;
}
.event-details dt { font-weight: 600; margin-top: 0.75rem; }
.event-details dt:first-child { margin-top: 0; }
.event-details dd { color: var(--muted); margin-left: 0; }

.article-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  font-size: 0.9rem;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0;
  text-align: center;
  color: var(--muted);
  font-size: 0.85rem;
}
.site-footer a { color: var(--muted); }

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.footer-counters {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  min-height: 15px;
}
.footer-counters img { vertical-align: middle; }

@media (max-width: 600px) {
  .header-inner { flex-direction: column; align-items: flex-start; }
}
