/* =========================================================
   Variables
   ========================================================= */
:root {
  /* Color Palette - brand & semantic */
  --color-bg: #050818;
  --color-surface: #0e1224;
  --color-surface-soft: #151a30;
  --color-surface-alt: #ffffff;

  --color-text: #f7f7ff;
  --color-text-soft: #c1c6e0;
  --color-text-muted: #8b90af;
  --color-text-invert: #050818;

  --color-primary: #4f46e5;      /* Indigo */
  --color-primary-soft: rgba(79, 70, 229, 0.12);
  --color-primary-strong: #3730a3;

  --color-accent-blue: #22d3ee;  /* Turquoise / Cyan */
  --color-accent-purple: #a855f7;/* Purple */
  --color-accent-gold: #facc15;  /* Gold */

  --color-success: #22c55e;
  --color-success-soft: rgba(34, 197, 94, 0.15);
  --color-warning: #f97316;
  --color-warning-soft: rgba(249, 115, 22, 0.15);
  --color-danger: #ef4444;
  --color-danger-soft: rgba(239, 68, 68, 0.15);

  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2933;
  --gray-900: #111827;

  /* Typography */
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-display: "Poppins", "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --font-size-xs: 0.75rem;   /* 12px */
  --font-size-sm: 0.875rem;  /* 14px */
  --font-size-base: 1rem;    /* 16px */
  --font-size-lg: 1.125rem;  /* 18px */
  --font-size-xl: 1.25rem;   /* 20px */
  --font-size-2xl: 1.5rem;   /* 24px */
  --font-size-3xl: 1.875rem; /* 30px */
  --font-size-4xl: 2.25rem;  /* 36px */
  --font-size-5xl: 3rem;     /* 48px */

  --line-height-tight: 1.1;
  --line-height-snug: 1.25;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.7;

  /* Spacing scale (0–96px) */
  --space-0: 0;
  --space-1: 0.25rem;  /* 4px */
  --space-2: 0.5rem;   /* 8px */
  --space-3: 0.75rem;  /* 12px */
  --space-4: 1rem;     /* 16px */
  --space-5: 1.25rem;  /* 20px */
  --space-6: 1.5rem;   /* 24px */
  --space-8: 2rem;     /* 32px */
  --space-10: 2.5rem;  /* 40px */
  --space-12: 3rem;    /* 48px */
  --space-16: 4rem;    /* 64px */
  --space-20: 5rem;    /* 80px */
  --space-24: 6rem;    /* 96px */

  /* Radius */
  --radius-sm: 0.375rem;  /* 6px */
  --radius-md: 0.75rem;   /* 12px */
  --radius-lg: 1rem;      /* 16px */
  --radius-xl: 1.5rem;    /* 24px */
  --radius-pill: 999px;

  /* Shadows */
  --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.35);
  --shadow-soft-up: 0 -10px 30px rgba(15, 23, 42, 0.25);
  --shadow-elevated: 0 18px 45px rgba(15, 23, 42, 0.55);
  --shadow-border-glow: 0 0 0 1px rgba(148, 163, 253, 0.35), 0 0 25px rgba(56, 189, 248, 0.5);

  /* Transitions */
  --transition-fast: 120ms ease-out;
  --transition-base: 200ms ease;
  --transition-slow: 320ms ease;
  --transition-accelerate: 180ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* =========================================================
   Reset / Normalize
   ========================================================= */
*, *::before, *::after {
  box-sizing: border-box;
}

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

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg,
video,
canvas,
audio,
iframe,
embed,
object {
  display: block;
  max-width: 100%;
}

img,
video {
  height: auto;
}

picture {
  display: contents;
}

button,
input,
select,
textarea {
  margin: 0;
  font: inherit;
  color: inherit;
}

button {
  border: none;
  background: none;
  padding: 0;
}

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

ul,
ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
 h2,
 h3,
 h4,
 h5,
 h6,
 p,
 figure,
 blockquote,
 dl,
 dd {
  margin: 0;
}

body,
html {
  min-height: 100%;
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* =========================================================
   Base Styles
   ========================================================= */
body {
  font-family: var(--font-sans);
  font-size: var(--font-size-base);
  line-height: var(--line-height-relaxed);
  color: var(--color-text);
  background-color: var(--color-bg);
  background-image: radial-gradient(circle at top left, rgba(56, 189, 248, 0.08), transparent 55%),
    radial-gradient(circle at top right, rgba(129, 140, 248, 0.18), transparent 60%),
    radial-gradient(circle at bottom, rgba(250, 204, 21, 0.06), transparent 55%);
}

main {
  display: block;
}

h1,
 h2,
 h3,
 h4,
 h5,
 h6 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: var(--line-height-tight);
  letter-spacing: -0.02em;
  color: var(--color-text);
}

h1 {
  font-size: clamp(var(--font-size-3xl), 3vw + 1rem, var(--font-size-5xl));
  margin-bottom: var(--space-4);
}

h2 {
  font-size: clamp(var(--font-size-2xl), 2.2vw + 0.9rem, var(--font-size-4xl));
  margin-bottom: var(--space-3);
}

h3 {
  font-size: clamp(var(--font-size-xl), 1.4vw + 0.8rem, var(--font-size-3xl));
  margin-bottom: var(--space-2);
}

h4 {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-2);
}

h5 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--space-1);
}

h6 {
  font-size: var(--font-size-base);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
  margin-bottom: var(--space-1);
}

p {
  margin-bottom: var(--space-4);
  color: var(--color-text-soft);
}

strong {
  font-weight: 600;
}

a {
  position: relative;
  color: var(--color-accent-blue);
  text-decoration: none;
  transition: color var(--transition-base), opacity var(--transition-base);
}

a:hover {
  color: var(--color-accent-purple);
}

a:focus-visible {
  outline: 2px solid var(--color-accent-gold);
  outline-offset: 3px;
}

code,
pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

hr {
  border: none;
  border-bottom: 1px solid rgba(148, 163, 184, 0.2);
  margin: var(--space-8) 0;
}

/* =========================================================
   Utilities
   ========================================================= */

/* Layout: container */
.container {
  width: 100%;
  margin-inline: auto;
  padding-inline: var(--space-4);
  max-width: 1200px;
}

@media (min-width: 768px) {
  .container {
    padding-inline: var(--space-6);
  }
}

@media (min-width: 1280px) {
  .container {
    max-width: 1280px;
  }
}

/* Flex utilities */
.flex {
  display: flex;
}

.inline-flex {
  display: inline-flex;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flex-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.flex-col {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.items-center {
  align-items: center;
}

.items-start {
  align-items: flex-start;
}

.items-end {
  align-items: flex-end;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.gap-2 {
  gap: var(--space-2);
}

.gap-4 {
  gap: var(--space-4);
}

.gap-6 {
  gap: var(--space-6);
}

/* Grid utilities */
.grid {
  display: grid;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: var(--space-4);
}

@media (min-width: 768px) {
  .grid-2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: var(--space-4);
}

@media (min-width: 992px) {
  .grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Spacing helpers (margin/padding blocks) */
.section {
  padding-block: var(--space-10);
}

@media (min-width: 768px) {
  .section {
    padding-block: var(--space-16);
  }
}

.section--tight {
  padding-block: var(--space-6);
}

.mt-0 { margin-top: 0 !important; }
.mt-4 { margin-top: var(--space-4) !important; }
.mt-8 { margin-top: var(--space-8) !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-4 { margin-bottom: var(--space-4) !important; }
.mb-8 { margin-bottom: var(--space-8) !important; }

.text-center { text-align: center; }
.text-right { text-align: right; }

/* Visually hidden for screen readers */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Hero & section background helpers for event mood */
.bg-hero-gradient {
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.22), transparent 60%),
    radial-gradient(circle at top right, rgba(168, 85, 247, 0.24), transparent 55%),
    linear-gradient(135deg, #020617 0%, #020617 40%, #0b1120 100%);
}

.bg-surface {
  background-color: var(--color-surface);
}

.bg-surface-alt {
  background-color: var(--color-surface-soft);
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: var(--font-size-xs);
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.badge--primary {
  background: linear-gradient(120deg, rgba(79, 70, 229, 0.12), rgba(56, 189, 248, 0.16));
  color: var(--color-accent-blue);
  border: 1px solid rgba(129, 140, 248, 0.6);
}

.badge--gold {
  background: rgba(250, 204, 21, 0.1);
  color: var(--color-accent-gold);
  border: 1px solid rgba(250, 204, 21, 0.8);
}

/* =========================================================
   Accessibility & Focus
   ========================================================= */
:focus-visible {
  outline: 2px solid var(--color-accent-blue);
  outline-offset: 3px;
}

[data-focus-inset="true"]:focus-visible {
  outline-offset: -2px;
}

/* =========================================================
   Components
   ========================================================= */

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding-inline: 1.5rem;
  padding-block: 0.7rem;
  border-radius: var(--radius-pill);
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-size: var(--font-size-sm);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  cursor: pointer;
  transition:
    background-color var(--transition-base),
    color var(--transition-base),
    box-shadow var(--transition-base),
    transform var(--transition-accelerate),
    border-color var(--transition-base);
  text-decoration: none;
}

.btn--primary {
  background-image: linear-gradient(120deg, #4f46e5, #7c3aed);
  color: #ffffff;
  box-shadow: var(--shadow-soft);
}

.btn--primary:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-elevated);
}

.btn--primary:active {
  transform: translateY(0);
  box-shadow: var(--shadow-soft);
}

.btn--outline {
  background-color: transparent;
  color: var(--color-accent-blue);
  border-color: rgba(56, 189, 248, 0.6);
  background-image: linear-gradient(120deg, rgba(79, 70, 229, 0.08), rgba(34, 211, 238, 0.08));
}

.btn--outline:hover {
  background-color: rgba(15, 23, 42, 0.7);
  box-shadow: var(--shadow-soft);
}

.btn--ghost {
  background-color: rgba(15, 23, 42, 0.5);
  color: var(--color-text-soft);
  border-color: rgba(148, 163, 184, 0.4);
}

.btn--ghost:hover {
  background-color: rgba(15, 23, 42, 0.85);
}

.btn:disabled,
.btn[aria-disabled="true"] {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}

.btn:focus-visible {
  outline: none;
  box-shadow: var(--shadow-border-glow);
}

/* Inputs, textareas, selects */
.input,
textarea,
select {
  width: 100%;
  padding: 0.7rem 0.9rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(148, 163, 184, 0.4);
  background-color: rgba(15, 23, 42, 0.7);
  color: var(--color-text);
  font-size: var(--font-size-sm);
  line-height: var(--line-height-normal);
  transition:
    border-color var(--transition-base),
    box-shadow var(--transition-base),
    background-color var(--transition-base);
}

.input::placeholder,
textarea::placeholder {
  color: var(--color-text-muted);
}

.input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: none;
  border-color: var(--color-accent-blue);
  box-shadow: 0 0 0 1px rgba(56, 189, 248, 0.5), 0 0 0 6px rgba(56, 189, 248, 0.18);
  background-color: rgba(15, 23, 42, 0.95);
}

.input[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: var(--color-danger);
  box-shadow: 0 0 0 1px rgba(239, 68, 68, 0.6);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

label {
  display: inline-block;
  margin-bottom: 0.3rem;
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--color-text-soft);
}

.form-field {
  margin-bottom: var(--space-4);
}

.form-help {
  margin-top: 0.35rem;
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

.form-error {
  margin-top: 0.35rem;
  font-size: var(--font-size-xs);
  color: var(--color-danger);
}

/* Card component */
.card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: var(--space-5);
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.14), transparent 60%),
    radial-gradient(circle at bottom right, rgba(250, 204, 21, 0.12), transparent 65%),
    linear-gradient(145deg, rgba(15, 23, 42, 0.96), rgba(15, 23, 42, 0.98));
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(148, 163, 184, 0.35);
  backdrop-filter: blur(18px);
}

.card--surface-alt {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.9), rgba(10, 10, 25, 0.96));
}

.card:hover {
  box-shadow: var(--shadow-elevated);
  transform: translateY(-2px);
  transition: transform var(--transition-accelerate), box-shadow var(--transition-base), border-color var(--transition-base);
  border-color: rgba(129, 140, 248, 0.7);
}

.card-header {
  margin-bottom: var(--space-3);
}

.card-title {
  font-size: var(--font-size-xl);
  margin-bottom: var(--space-1);
}

.card-meta {
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
}

.card-actions {
  margin-top: var(--space-4);
}

/* Hero slider basics (full-width, image-first) */
.hero {
  position: relative;
  overflow: hidden;
  min-height: min(80vh, 760px);
  color: var(--color-text);
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: -2;
}

.hero__media img,
.hero__media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(120deg, rgba(5, 8, 24, 0.95) 0%, rgba(5, 8, 24, 0.75) 40%, rgba(15, 23, 42, 0.65) 70%, rgba(15, 23, 42, 0.9) 100%),
    radial-gradient(circle at top left, rgba(56, 189, 248, 0.28), transparent 55%),
    radial-gradient(circle at bottom right, rgba(168, 85, 247, 0.32), transparent 55%);
}

.hero__content {
  position: relative;
  z-index: 1;
  padding-block: var(--space-16);
}

.hero__eyebrow {
  margin-bottom: var(--space-2);
}

.hero__title {
  max-width: 18ch;
}

.hero__subtitle {
  max-width: 40ch;
  font-size: var(--font-size-lg);
}

.hero__actions {
  margin-top: var(--space-6);
}

/* Event tag chips for categories (póker, koncert, stand-up, DJ, stb.) */
.chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-pill);
  font-size: var(--font-size-xs);
  font-weight: 500;
  background-color: rgba(15, 23, 42, 0.8);
  color: var(--gray-100);
  border: 1px solid rgba(148, 163, 184, 0.5);
}

.chip--poker {
  border-color: rgba(251, 191, 36, 0.9);
  color: var(--color-accent-gold);
}

.chip--concert {
  border-color: rgba(56, 189, 248, 0.85);
  color: var(--color-accent-blue);
}

.chip--standup {
  border-color: rgba(168, 85, 247, 0.85);
  color: var(--color-accent-purple);
}

.chip--dj {
  border-color: rgba(59, 130, 246, 0.9);
}

/* Footer notice emphasis */
.footer-notice {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
  max-width: 72ch;
}

.footer-notice strong {
  color: var(--color-accent-gold);
  font-weight: 600;
}

/* Top navigation basics (header) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  backdrop-filter: blur(18px);
  background: linear-gradient(to bottom, rgba(2, 6, 23, 0.94), rgba(2, 6, 23, 0.85), rgba(2, 6, 23, 0));
  border-bottom: 1px solid rgba(148, 163, 184, 0.4);
}

.navbar {
  height: 4.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: var(--font-size-sm);
}

.navbar-brand__mark {
  width: 32px;
  height: 32px;
  border-radius: 0.9rem;
  background: conic-gradient(from 160deg, #22d3ee, #4f46e5, #a855f7, #facc15, #22d3ee);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 0 2px rgba(15, 23, 42, 0.9), 0 12px 30px rgba(15, 23, 42, 0.9);
}

.navbar-nav {
  display: none;
  align-items: center;
  gap: 1.25rem;
  font-size: var(--font-size-sm);
}

@media (min-width: 992px) {
  .navbar-nav {
    display: flex;
  }
}

.nav-link {
  position: relative;
  color: var(--color-text-soft);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 500;
  padding-block: 0.1rem;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.35rem;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #22d3ee, #a855f7, #facc15);
  opacity: 0;
  transform-origin: left;
  transition: width var(--transition-base), opacity var(--transition-base);
}

.nav-link:hover {
  color: var(--gray-50);
}

.nav-link:hover::after,
.nav-link--active::after {
  width: 100%;
  opacity: 1;
}

.nav-link--active {
  color: var(--gray-50);
}

/* Mobile nav toggle */
.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(148, 163, 184, 0.6);
  background-color: rgba(15, 23, 42, 0.85);
  color: var(--color-text-soft);
}

@media (min-width: 992px) {
  .nav-toggle {
    display: none;
  }
}

/* Event calendar / table base */
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--font-size-sm);
}

.table th,
.table td {
  padding: 0.75rem 0.75rem;
  text-align: left;
}

.table thead th {
  font-size: var(--font-size-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-text-muted);
  border-bottom: 1px solid rgba(148, 163, 184, 0.4);
}

.table tbody tr {
  border-bottom: 1px solid rgba(30, 64, 175, 0.4);
}

.table tbody tr:hover {
  background: rgba(15, 23, 42, 0.8);
}

/* Tagline / legal highlight block (for offline-only notice) */
.notice-banner {
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(250, 204, 21, 0.8);
  background: linear-gradient(120deg, rgba(15, 23, 42, 0.98), rgba(15, 23, 42, 0.9));
  color: var(--color-text-soft);
  font-size: var(--font-size-sm);
  box-shadow: 0 14px 35px rgba(15, 23, 42, 0.75);
}

.notice-banner strong {
  color: var(--color-accent-gold);
}

/* Badge & pill section labels (e.g. “Póker estek”, “Élő koncertek”) */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.2rem 0.75rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(129, 140, 248, 0.7);
  background: linear-gradient(120deg, rgba(15, 23, 42, 0.9), rgba(30, 64, 175, 0.85));
  font-size: var(--font-size-xs);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-soft);
}

.section-label__dot {
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 999px;
  background: conic-gradient(from 130deg, #22d3ee, #a855f7, #facc15, #22d3ee);
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.8);
}

/* Simple tag list for keywords / filters */
.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.tag {
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-pill);
  background-color: rgba(15, 23, 42, 0.85);
  color: var(--color-text-muted);
  font-size: var(--font-size-xs);
}

/* Pagination (for past events, archives) */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.page-link {
  min-width: 2.1rem;
  height: 2.1rem;
  border-radius: var(--radius-pill);
  border: 1px solid rgba(148, 163, 184, 0.5);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-xs);
  color: var(--color-text-soft);
  background-color: rgba(15, 23, 42, 0.7);
  cursor: pointer;
  transition: background-color var(--transition-base), color var(--transition-base), border-color var(--transition-base);
}

.page-link:hover {
  background-color: rgba(37, 99, 235, 0.7);
  color: #ffffff;
  border-color: rgba(59, 130, 246, 0.9);
}

.page-link--active {
  background: linear-gradient(120deg, #4f46e5, #22d3ee);
  color: #ffffff;
  border-color: transparent;
}

.page-link:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.4);
}

/* Gallery grid basics */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-3);
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 380ms ease-out, filter 380ms ease-out;
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.85), transparent 55%);
  opacity: 0;
  transition: opacity 280ms ease-out;
}

.gallery-item:hover img {
  transform: scale(1.06);
  filter: saturate(1.25);
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-item__label {
  position: absolute;
  left: 0.75rem;
  bottom: 0.7rem;
  font-size: var(--font-size-xs);
  font-weight: 500;
  color: #f9fafb;
}

/* Breadcrumbs (for legal pages, detail views) */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

.breadcrumbs a {
  color: var(--color-accent-blue);
}

.breadcrumbs-separator {
  opacity: 0.6;
}

/* Chips for date & venue meta info */
.meta-inline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

.meta-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.25rem 0.7rem;
  border-radius: var(--radius-pill);
  background-color: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(148, 163, 184, 0.4);
}

/* Utility for subtle gradients behind event categories blocks */
.gradient-strip {
  position: relative;
  border-radius: var(--radius-xl);
  padding: var(--space-5);
  background: radial-gradient(circle at top left, rgba(56, 189, 248, 0.24), transparent 55%),
    radial-gradient(circle at top right, rgba(168, 85, 247, 0.28), transparent 50%),
    linear-gradient(120deg, rgba(15, 23, 42, 0.98), rgba(17, 24, 39, 0.96));
  border: 1px solid rgba(129, 140, 248, 0.55);
}

.gradient-strip::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(120deg, rgba(56, 189, 248, 0.6), rgba(168, 85, 247, 0.6), rgba(250, 204, 21, 0.6));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0.6;
}

/* End of base.css */
