:root {
  --bg: #09090c;
  --bg-soft: #111117;
  --surface: rgba(255, 255, 255, 0.06);
  --surface-strong: rgba(255, 255, 255, 0.1);
  --text: #f4f4f7;
  --muted: #b4b4c2;
  --line: rgba(255, 255, 255, 0.09);

  --accent-1: #7c3aed;
  --accent-2: #e11d48;
  --accent-3: #06b6d4;

  --shadow: 0 20px 80px rgba(0, 0, 0, 0.35);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body:not(.theme-ready) .nav-btn.active {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--line);
  color: var(--text);
}

.nav-btn:hover
.social-links a:hover
.archive-card:hover {
  border-color: color-mix(in srgb, var(--accent-1) 40%, var(--line));
}


body:not(.theme-ready) .page-bg {
  background:
    linear-gradient(180deg, #050507 0%, #0b0b10 100%);
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.55;
  min-height: 100vh;
}

img {
  display: block;
  max-width: 100%;
}

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

button {
  font: inherit;
}

.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 20% 20%, color-mix(in srgb, var(--accent-1) 30%, transparent), transparent 35%),
    radial-gradient(circle at 80% 10%, color-mix(in srgb, var(--accent-2) 22%, transparent), transparent 30%),
    radial-gradient(circle at 60% 80%, color-mix(in srgb, var(--accent-3) 18%, transparent), transparent 35%),
    linear-gradient(180deg, #050507 0%, #0b0b10 100%);
  transition: background 0.35s ease;
}

.container {
  width: min(calc(100% - 32px), var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(18px);
  background: rgba(9, 9, 12, 0.72);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-mark {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2), var(--accent-3));
  box-shadow: 0 0 25px color-mix(in srgb, var(--accent-1) 60%, transparent);
}

.brand-logo {
  height: 28px;
  width: auto;
  display: block;
  border-radius: 20px;
}

.brand-text {
  font-size: 0.95rem;
  text-transform: uppercase;
}

.main-nav {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.nav-btn {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  padding: 12px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: 0.25s ease;
}

.nav-btn:hover,
.nav-btn:focus-visible {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--accent-1) 40%, var(--line));
  background: rgba(255, 255, 255, 0.06);
  outline: none;
}

.nav-btn.active {
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
  border-color: transparent;
  color: white;
}

.main-content {
  padding: 32px 0 80px;
}

.hero-intro {
  padding: 20px 0 32px;
  max-width: 900px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.hero-intro h1,
.archive-header h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4.25rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}

.hero-copy,
.archive-header p {
  color: var(--muted);
  max-width: 760px;
  margin-top: 16px;
  font-size: 1rem;
}

.status-box {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--muted);
  padding: 16px 18px;
  border-radius: var(--radius-md);
  margin-bottom: 24px;
}

.status-box.error {
  border-color: rgba(239, 68, 68, 0.4);
  color: #fecaca;
  background: rgba(127, 29, 29, 0.18);
}

.view-section {
  display: none;
}

.view-section.active {
  display: block;
}

.event-page {
  display: grid;
  gap: 28px;
}

.event-hero {
  display: grid;
  grid-template-columns: minmax(260px, 480px) minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.event-hero-media,
.event-hero-content,
.gallery-section,
.archive-card,
.archive-detail .event-page {
  border: 1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  box-shadow: var(--shadow);
  border-radius: var(--radius-lg);
}

.event-hero-media {
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 5;
  background: #0f0f14;
}

.event-poster {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  background: #0f0f14;
}

.event-hero-content {
  padding: 26px;
}

.event-date-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--muted);
  font-size: 0.9rem;
  border: 1px solid var(--line);
}

.event-title {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
}

.meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 24px;
}

.meta-item {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
}

.meta-label {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.meta-value {
  font-weight: 600;
  word-break: break-word;
}

.ticket-link {
  color: white;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.event-description {
  color: #e9e9f2;
  margin-bottom: 24px;
  white-space: pre-line;
}

.event-description p {
  margin: 0 0 1em;
}

.lineup-block,
.social-block {
  margin-top: 22px;
}

.lineup-block h3,
.social-block h3,
.section-head h3 {
  margin: 0 0 14px;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.lineup-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.lineup-list li {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  font-weight: 600;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  transition: 0.2s ease;
}

.social-links a:hover,
.social-links a:focus-visible {
  transform: translateY(-1px);
  border-color: color-mix(in srgb, var(--accent-2) 45%, var(--line));
  outline: none;
}

.gallery-section {
  padding: 24px;
}

.section-head {
  margin-bottom: 18px;
}

.photo-credit {
  margin-bottom: 16px;
  font-size: 0.9rem;
  color: var(--muted);
}

.photo-credit a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.photo-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
}

.photo-card {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  aspect-ratio: 4 / 5;
  background: #0f0f14;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
}

.photo-card:hover {
  overflow: visible;
  z-index: 5;
}

.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition:
    transform 0.35s ease,
    object-fit 0.25s ease,
    width 0.35s ease,
    height 0.35s ease;
}

/* HOVER = teljes kép */
.photo-card:hover img {
  object-fit: contain;
  transform: scale(1.05);
  background: #0b0b12;
  z-index: 10;
}

.photo-card img.expanded {
  object-fit: contain;
  background: #0b0b12;
  z-index: 10;
}

.archive-header {
  margin-bottom: 24px;
}

.archive-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 30px;
}

.archive-card {
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.22s ease, border-color 0.22s ease;
}

.archive-card:hover,
.archive-card:focus-visible {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--accent-1) 35%, var(--line));
  outline: none;
}

.archive-card {
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.22s ease, border-color 0.22s ease;
  display: flex;
  flex-direction: column;
}

.archive-card-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.archive-card-date {
  color: var(--muted);
  font-size: 0.88rem;
  margin-bottom: 8px;
}

.archive-card-image {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  display: block;
  object-fit: cover;
  object-position: center;
  background: #0f0f14;
}

.archive-card-title {
  margin: 0 0 10px;
  font-size: 1.2rem;
}

.archive-card-location {
  color: var(--muted);
  margin: 0;
  font-size: 0.95rem;
}

.archive-detail {
  margin-top: 10px;
}

.empty-state {
  border: 1px dashed var(--line);
  border-radius: var(--radius-lg);
  padding: 26px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.02);
}

.hidden {
  display: none !important;
}

@media (max-width: 1100px) {
  .event-hero {
    grid-template-columns: 1fr;
  }

  .photo-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .header-inner {
    min-height: auto;
    padding: 14px 0;
    flex-direction: column;
    align-items: flex-start;
  }

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

  .photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .event-hero-content,
  .gallery-section {
    padding: 18px;
  }

  .event-hero-media {
    aspect-ratio: 4 / 5;
  }
}

@media (max-width: 420px) {
  .photo-grid {
    grid-template-columns: 1fr;
  }

  .nav-btn {
    width: 100%;
  }

  .main-nav {
    width: 100%;
  }
}
.archive-card.active {
  border-color: color-mix(in srgb, var(--accent-1) 55%, var(--line));
  box-shadow:
    0 0 0 1px color-mix(in srgb, var(--accent-1) 35%, transparent),
    0 18px 40px rgba(0, 0, 0, 0.35),
    0 0 40px color-mix(in srgb, var(--accent-1) 18%, transparent);
  transform: translateY(-2px);
}

.archive-card.active .archive-card-body {
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--accent-1) 10%, rgba(255,255,255,0.02)),
    rgba(255,255,255,0.02)
  );
}

.archive-open-badge {
  display: inline-flex;
  align-items: center;
  margin-top: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: white;
  background: linear-gradient(135deg, var(--accent-1), var(--accent-2));
}

@media (max-width: 760px) {
  .archive-card.active {
    transform: none;
  }

  .archive-open-badge {
    font-size: 0.74rem;
    padding: 5px 9px;
  }
}