/* ═══════════════════════════════════════════════════════
   UnderRapShows — Design System
   ═══════════════════════════════════════════════════════ */

/* ── 1. CSS Custom Properties ────────────────────────── */
:root {
  /* Palette */
  --clr-bg: #0a0a0a;
  --clr-surface: #141414;
  --clr-surface-alt: #1c1c1c;
  --clr-border: #2a2a2a;
  --clr-text: #f5f5f5;
  --clr-text-muted: #a3a3a3;
  --clr-accent: #ef4444;
  /* crimson red */
  --clr-accent-dim: rgba(239, 68, 68, .12);
  --clr-secondary: #f87171;
  /* lighter red */
  --clr-secondary-dim: rgba(248, 113, 113, .12);
  --clr-danger: #f43f5e;
  --clr-overlay: rgba(0, 0, 0, .72);

  /* Typography */
  --ff-main: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  --ff-display: 'Outfit', var(--ff-main);
  --fs-xs: .75rem;
  --fs-sm: .875rem;
  --fs-md: 1rem;
  --fs-lg: 1.25rem;
  --fs-xl: 1.5rem;
  --fs-2xl: 2rem;
  --fs-3xl: 2.75rem;
  --fs-4xl: 3.75rem;
  --fw-regular: 400;
  --fw-medium: 500;
  --fw-bold: 700;
  --fw-black: 900;
  --lh-tight: 1.15;
  --lh-normal: 1.55;

  /* Spacing */
  --sp-1: .25rem;
  --sp-2: .5rem;
  --sp-3: .75rem;
  --sp-4: 1rem;
  --sp-5: 1.25rem;
  --sp-6: 1.5rem;
  --sp-8: 2rem;
  --sp-10: 2.5rem;
  --sp-12: 3rem;
  --sp-16: 4rem;
  --sp-20: 5rem;
  --sp-24: 6rem;

  /* Radius */
  --r-sm: .375rem;
  --r-md: .625rem;
  --r-lg: 1rem;
  --r-xl: 1.5rem;
  --r-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, .4);
  --shadow-md: 0 4px 12px rgba(0, 0, 0, .5);
  --shadow-lg: 0 8px 28px rgba(0, 0, 0, .55);
  --shadow-glow: 0 0 24px rgba(239, 68, 68, .2);

  /* Transitions */
  --ease: cubic-bezier(.4, 0, .2, 1);
  --dur-fast: 150ms;
  --dur-normal: 280ms;
  --dur-slow: 450ms;

  /* Layout */
  --container: min(92%, 1200px);
  --header-h: 64px;
}

/* ── 2. Reset ────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--ff-main);
  font-size: var(--fs-md);
  font-weight: var(--fw-regular);
  line-height: var(--lh-normal);
  color: var(--clr-text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(239, 68, 68, .15) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 80%, rgba(248, 113, 113, .08) 0%, transparent 50%),
    var(--clr-bg);
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="4" height="4"><rect width="1" height="1" fill="rgba(255,255,255,.03)"/></svg>');
  background-size: 4px 4px;
}

img,
video {
  display: block;
  max-width: 100%;
  height: auto;
}

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

ul,
ol {
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
  border: none;
  background: none;
}

button {
  cursor: pointer;
}

/* ── 3. Typography ───────────────────────────────────── */
h1,
h2,
h3,
h4 {
  font-family: var(--ff-display);
  font-weight: var(--fw-black);
  line-height: var(--lh-tight);
  letter-spacing: -.02em;
}

h1 {
  font-size: var(--fs-3xl);
}

h2 {
  font-size: var(--fs-2xl);
}

h3 {
  font-size: var(--fs-xl);
}

h4 {
  font-size: var(--fs-lg);
}

.section-label {
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--clr-accent);
  margin-bottom: var(--sp-3);
}

.section-title {
  margin-bottom: var(--sp-8);
}

/* ── 4. Layout Utilities ─────────────────────────────── */
.container {
  width: var(--container);
  margin-inline: auto;
}

.flex {
  display: flex;
}

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

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

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

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

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

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

.gap-3 {
  gap: var(--sp-3);
}

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

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

.gap-8 {
  gap: var(--sp-8);
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

/* ── 5. Components ───────────────────────────────────── */

/* 5a. Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: .75rem 1.75rem;
  font-weight: var(--fw-bold);
  font-size: var(--fs-sm);
  border-radius: var(--r-full);
  transition: all var(--dur-normal) var(--ease);
  white-space: nowrap;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.btn:focus-visible {
  outline: 2px solid var(--clr-accent);
  outline-offset: 3px;
}

.btn--primary {
  background: var(--clr-accent);
  color: var(--clr-bg);
}

.btn--primary:hover {
  background: #dc2626;
  box-shadow: var(--shadow-glow);
  transform: translateY(-2px);
}

.btn--primary:active {
  transform: translateY(0);
}

.btn--secondary {
  border: 2px solid var(--clr-accent);
  color: var(--clr-accent);
  background: transparent;
}

.btn--secondary:hover {
  background: var(--clr-accent-dim);
  transform: translateY(-2px);
}

.btn--secondary:active {
  transform: translateY(0);
}

.btn--ghost {
  color: var(--clr-text-muted);
  padding: .5rem 1rem;
}

.btn--ghost:hover {
  color: var(--clr-text);
}

.btn--sm {
  padding: .5rem 1.15rem;
  font-size: var(--fs-xs);
}

.btn--lg {
  padding: 1rem 2.25rem;
  font-size: var(--fs-md);
}

/* 5b. Cards */
.card {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: transform var(--dur-normal) var(--ease),
    box-shadow var(--dur-normal) var(--ease),
    border-color var(--dur-normal) var(--ease);
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--clr-accent);
}

.card__img {
  width: 100%;
  aspect-ratio: 16 / 10;
  background-size: 100% auto;
  background-position: center bottom;
  background-repeat: no-repeat;
  background-color: #000;
  transition: transform .4s var(--transition-bounce);
}

.card__body {
  padding: var(--sp-5);
}

.card__date {
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  color: var(--clr-accent);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: var(--sp-2);
}

.card__title {
  font-size: var(--fs-lg);
  margin-bottom: var(--sp-2);
}

.card__meta {
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  margin-bottom: var(--sp-4);
}

.card__meta span+span::before {
  content: '·';
  margin: 0 var(--sp-2);
}

/* 5c. Badge / Tag */
.badge {
  display: inline-block;
  padding: .2rem .65rem;
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  border-radius: var(--r-full);
  background: var(--clr-accent-dim);
  color: var(--clr-accent);
  text-transform: uppercase;
  letter-spacing: .06em;
}

.badge--secondary {
  background: var(--clr-secondary-dim);
  color: var(--clr-secondary);
}

.badge--outline {
  background: transparent;
  border: 1px solid var(--clr-border);
  color: var(--clr-text-muted);
}

/* 5d. Form Inputs */
.input {
  width: 100%;
  padding: .7rem 1rem;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-md);
  color: var(--clr-text);
  font-size: var(--fs-sm);
  transition: border-color var(--dur-fast) var(--ease);
}

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

.input:focus {
  outline: none;
  border-color: var(--clr-accent);
  box-shadow: 0 0 0 3px var(--clr-accent-dim);
}

.select-wrap {
  position: relative;
}

.select-wrap::after {
  content: '▾';
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--clr-text-muted);
  pointer-events: none;
}

.select-wrap select {
  appearance: none;
  width: 100%;
  padding: .7rem 2.5rem .7rem 1rem;
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-md);
  color: var(--clr-text);
  font-size: var(--fs-sm);
  cursor: pointer;
}

.select-wrap select:focus {
  outline: none;
  border-color: var(--clr-accent);
  box-shadow: 0 0 0 3px var(--clr-accent-dim);
}

/* 5e. Toast */
.toast {
  position: fixed;
  bottom: var(--sp-6);
  right: var(--sp-6);
  background: var(--clr-accent);
  color: var(--clr-bg);
  padding: var(--sp-4) var(--sp-6);
  border-radius: var(--r-md);
  font-weight: var(--fw-bold);
  font-size: var(--fs-sm);
  box-shadow: var(--shadow-lg);
  transform: translateY(120%);
  opacity: 0;
  transition: transform var(--dur-normal) var(--ease),
    opacity var(--dur-normal) var(--ease);
  z-index: 1000;
}

.toast.show {
  transform: translateY(0);
  opacity: 1;
}

/* ── 6. Header ───────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  height: var(--header-h);
  background: rgba(10, 10, 10, .88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--clr-border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  font-family: var(--ff-display);
  font-weight: var(--fw-black);
  font-size: var(--fs-lg);
  color: var(--clr-text);
  text-transform: uppercase;
  letter-spacing: .08em;
}

.logo em {
  font-style: normal;
  color: var(--clr-accent);
}

.nav-list {
  display: flex;
  gap: var(--sp-6);
}

.nav-list a {
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--clr-text-muted);
  transition: color var(--dur-fast) var(--ease);
  position: relative;
}

.nav-list a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--clr-accent);
  transition: width var(--dur-normal) var(--ease);
}

.nav-list a:hover,
.nav-list a.active {
  color: var(--clr-text);
}

.nav-list a:hover::after,
.nav-list a.active::after {
  width: 100%;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 950;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--clr-text);
  border-radius: 2px;
  transition: transform var(--dur-normal) var(--ease),
    opacity var(--dur-fast) var(--ease);
}

.hamburger.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.is-active span:nth-child(2) {
  opacity: 0;
}

.hamburger.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav overlay */
.btn-file input[type="file"] {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
  opacity: 0;
  pointer-events: none;
}

.nav-overlay {
  display: none;
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-list {
    position: fixed;
    inset: 0;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--sp-8);
    background: rgba(10, 10, 10, .96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    opacity: 0;
    visibility: hidden;
    transition: opacity var(--dur-normal) var(--ease),
      visibility var(--dur-normal) var(--ease);
    z-index: 940;
  }

  .nav-list.is-open {
    opacity: 1;
    visibility: visible;
  }

  .nav-list a {
    font-size: var(--fs-xl);
  }
}

/* ── 7. Hero ─────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}


.hero .container {
  position: relative;
  z-index: 1;
  padding: var(--sp-24) 0 var(--sp-16);
}

/* Centered hero layout */
.hero__centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero__tagline {
  display: inline-block;
  padding: .35rem 1rem;
  background: var(--clr-accent-dim);
  color: var(--clr-accent);
  border-radius: var(--r-full);
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-bottom: var(--sp-6);
}

.hero__title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  max-width: 16ch;
  margin-bottom: var(--sp-6);
}

.hero__title em {
  font-style: normal;
  color: var(--clr-accent);
  display: inline-block;
}

.hero__desc {
  font-size: var(--fs-lg);
  color: var(--clr-text-muted);
  max-width: 50ch;
  margin-inline: auto;
  margin-bottom: var(--sp-8);
  line-height: var(--lh-normal);
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  justify-content: center;
}

/* Hero logo — behind text, transparent, decorative */
.hero__logo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(300px, 50vw, 600px);
  height: auto;
  opacity: 0.05;
  pointer-events: none;
  user-select: none;
  z-index: -1;
  animation: spin-slow-centered 90s linear infinite;
}

@keyframes spin-slow-centered {
  from {
    transform: translate(-50%, -50%) rotate(0deg);
  }

  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}


/* ── 8. Sections ─────────────────────────────────────── */
.section {
  padding: var(--sp-20) 0;
}

.section--alt {
  background: var(--clr-surface);
}

/* Events Grid */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: var(--sp-6);
}



/* Newsletter / CTA Block */
.cta-block {
  background: linear-gradient(135deg, var(--clr-surface-alt), var(--clr-surface));
  border: 1px solid var(--clr-border);
  border-radius: var(--r-xl);
  padding: var(--sp-12) var(--sp-8);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-block::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(200, 255, 46, .07), transparent 70%);
  pointer-events: none;
}

.cta-block__title {
  font-size: var(--fs-2xl);
  margin-bottom: var(--sp-3);
  position: relative;
}

.cta-block__desc {
  color: var(--clr-text-muted);
  margin-bottom: var(--sp-6);
  max-width: 45ch;
  margin-inline: auto;
  position: relative;
}

.cta-block__form {
  display: flex;
  max-width: 420px;
  margin-inline: auto;
  gap: var(--sp-3);
  position: relative;
}

.cta-block__form .input {
  flex: 1;
}

/* ── 9. Footer ───────────────────────────────────────── */
.site-footer {
  background: var(--clr-surface);
  border-top: 1px solid var(--clr-border);
  padding: var(--sp-12) 0 var(--sp-6);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-8);
  margin-bottom: var(--sp-10);
}

.footer-brand .logo {
  margin-bottom: var(--sp-3);
}

.footer-brand p {
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  max-width: 30ch;
}

.footer-col h4 {
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--clr-text-muted);
  margin-bottom: var(--sp-4);
}

.footer-col a {
  display: block;
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  padding: var(--sp-1) 0;
  transition: color var(--dur-fast) var(--ease);
}

.footer-col a:hover {
  color: var(--clr-accent);
}

.footer-socials {
  display: flex;
  gap: var(--sp-3);
}

.footer-socials a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--clr-border);
  font-size: var(--fs-sm);
  transition: border-color var(--dur-fast) var(--ease),
    background var(--dur-fast) var(--ease);
}

.footer-socials a:hover {
  border-color: var(--clr-accent);
  background: var(--clr-accent-dim);
}

.footer-bottom {
  border-top: 1px solid var(--clr-border);
  padding-top: var(--sp-6);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: var(--fs-xs);
  color: var(--clr-text-muted);
}

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

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

  .footer-bottom {
    flex-direction: column;
    gap: var(--sp-3);
    text-align: center;
  }
}

/* ── 10. Event Detail Page ───────────────────────────── */
.event-hero {
  position: relative;
  padding: var(--sp-24) 0 var(--sp-12);
  min-height: 50vh;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.event-hero__date-badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: .4rem 1rem;
  background: var(--clr-accent);
  color: var(--clr-bg);
  font-weight: var(--fw-bold);
  font-size: var(--fs-sm);
  border-radius: var(--r-full);
  margin-bottom: var(--sp-4);
}

.event-hero__title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: var(--sp-3);
}

.event-hero__venue {
  font-size: var(--fs-lg);
  color: var(--clr-text-muted);
  margin-bottom: var(--sp-6);
}

.event-hero__venue strong {
  color: var(--clr-text);
}

/* Price Tiers */
.price-tiers {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: var(--sp-4);
}

.price-tier {
  background: var(--clr-surface);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-lg);
  padding: var(--sp-5);
  text-align: center;
  transition: border-color var(--dur-fast) var(--ease);
}

.price-tier:hover {
  border-color: var(--clr-accent);
}

.price-tier__label {
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: var(--sp-2);
}

.price-tier__price {
  font-size: var(--fs-2xl);
  font-weight: var(--fw-black);
  color: var(--clr-accent);
}

.price-tier__price small {
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  color: var(--clr-text-muted);
}

/* Timetable */
.timetable {
  width: 100%;
  border-collapse: collapse;
}

.timetable th,
.timetable td {
  padding: var(--sp-4);
  text-align: left;
  border-bottom: 1px solid var(--clr-border);
}

.timetable th {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--clr-text-muted);
  font-weight: var(--fw-bold);
}

.timetable td:first-child {
  font-weight: var(--fw-bold);
  color: var(--clr-accent);
  white-space: nowrap;
}

/* FAQ Accordion */
.faq-list {
  max-width: 700px;
}

.faq-item {
  border-bottom: 1px solid var(--clr-border);
}

.faq-item__q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--sp-5) 0;
  font-weight: var(--fw-bold);
  font-size: var(--fs-md);
  color: var(--clr-text);
  cursor: pointer;
  text-align: left;
  background: none;
  border: none;
}

.faq-item__q:focus-visible {
  outline: 2px solid var(--clr-accent);
  outline-offset: 2px;
}

.faq-item__icon {
  font-size: var(--fs-lg);
  color: var(--clr-accent);
  transition: transform var(--dur-normal) var(--ease);
}

.faq-item.is-open .faq-item__icon {
  transform: rotate(45deg);
}

.faq-item__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--dur-normal) var(--ease),
    padding var(--dur-normal) var(--ease);
  font-size: var(--fs-sm);
  color: var(--clr-text-muted);
  line-height: var(--lh-normal);
}

.faq-item.is-open .faq-item__a {
  max-height: 300px;
  padding-bottom: var(--sp-5);
}

/* Map Placeholder */
.map-placeholder {
  width: 100%;
  aspect-ratio: 16 / 7;
  background: var(--clr-surface-alt);
  border: 1px dashed var(--clr-border);
  border-radius: var(--r-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--clr-text-muted);
  font-size: var(--fs-sm);
}

/* ── 11. Events List Page ────────────────────────────── */
.filters-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-4);
  margin-bottom: var(--sp-8);
  align-items: flex-end;
}

.filter-group {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  flex: 1;
  min-width: 160px;
}

.filter-group label {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--clr-text-muted);
  font-weight: var(--fw-bold);
}

.load-more-wrap {
  text-align: center;
  margin-top: var(--sp-10);
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: var(--sp-16) 0;
  color: var(--clr-text-muted);
}

.empty-state__icon {
  font-size: 3rem;
  margin-bottom: var(--sp-4);
  opacity: .4;
}

/* ── 12. Registration Form (Glassmorphism Tabs) ──────── */
.tab-switcher {
  display: flex;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--clr-border);
  padding: .35rem;
  border-radius: var(--r-full);
  width: max-content;
  margin: 0 auto var(--sp-8);
  position: relative;
}

.tab-btn {
  background: transparent;
  color: var(--clr-text-muted);
  padding: .6rem 1.5rem;
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  border-radius: var(--r-full);
  transition: all var(--dur-fast) var(--ease);
  letter-spacing: .02em;
}

.tab-btn:hover {
  color: var(--clr-text);
}

.tab-btn.active {
  background: var(--clr-surface);
  color: var(--clr-text);
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.tab-btn:focus-visible {
  outline: 2px solid var(--clr-accent);
  outline-offset: -2px;
}

.form-card {
  background: rgba(24, 24, 27, 0.4);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-lg);
  padding: var(--sp-10);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  max-width: 800px;
  margin: 0 auto;
}

.form-card .card-title {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  margin-bottom: var(--sp-8);
  letter-spacing: .03em;
  color: var(--clr-text);
  border-bottom: 1px solid var(--clr-border);
  padding-bottom: var(--sp-4);
}

.tab-panel.is-hidden {
  display: none;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-6);
  margin-bottom: var(--sp-6);
}

.form-group.full-width {
  grid-column: 1 / -1;
}

.form-group label {
  display: block;
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--clr-text-muted);
  margin-bottom: var(--sp-2);
}

/* Base input overrides for the form block specifically using existing .input class */
.form-group .input,
.form-group textarea {
  background: rgba(0, 0, 0, 0.5);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.form-group textarea {
  width: 100%;
  padding: .7rem 1rem;
  border: 1px solid var(--clr-border);
  border-radius: var(--r-md);
  color: var(--clr-text);
  font-size: var(--fs-sm);
  transition: border-color var(--dur-fast) var(--ease);
  resize: vertical;
  min-height: 100px;
  font-family: inherit;
}

.form-group textarea::placeholder {
  color: var(--clr-text-muted);
}

.form-group textarea:focus {
  outline: none;
  border-color: var(--clr-accent);
  box-shadow: 0 0 0 3px var(--clr-accent-dim), inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hint {
  display: block;
  font-size: var(--fs-xs);
  color: var(--clr-text-muted);
  margin-top: var(--sp-1);
}

.error-text {
  color: var(--clr-danger);
  font-size: var(--fs-xs);
  margin-top: var(--sp-1);
  display: block;
}

.input-error {
  border-color: var(--clr-danger) !important;
}

/* Form Checkbox */
.checkbox-label {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  cursor: pointer;
  font-size: var(--fs-sm);
  color: var(--clr-text);
  margin-bottom: var(--sp-8);
  user-select: none;
}

.checkbox-label input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.custom-checkbox {
  width: 20px;
  height: 20px;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid var(--clr-border);
  border-radius: var(--r-sm);
  position: relative;
  display: inline-block;
  flex-shrink: 0;
  transition: all var(--dur-fast);
}

.checkbox-label input:checked~.custom-checkbox {
  background: var(--clr-primary, #fff);
  border-color: var(--clr-primary, #fff);
}

.checkbox-label input:checked~.custom-checkbox::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid var(--clr-bg);
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.checkbox-label input:focus-visible~.custom-checkbox {
  outline: 2px solid var(--clr-accent);
  outline-offset: 2px;
}

/* Pill Submit Button mapping */
.btn-submit {
  width: 100%;
  background: #ffffff;
  color: #000000;
  border-radius: var(--r-full);
  padding: var(--sp-4);
  font-size: var(--fs-md);
  text-transform: uppercase;
  font-weight: var(--fw-bold);
  letter-spacing: .05em;
  transition: all var(--dur-normal) var(--ease);
}

.btn-submit:hover {
  background: #e4e4e7;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.15);
}

.btn-submit:active {
  transform: translateY(0);
}

.btn-submit:focus-visible {
  outline: 2px solid var(--clr-accent);
  outline-offset: 3px;
}

/* Form Success/Error Messages */
.form-messages {
  margin-bottom: var(--sp-4);
  text-align: center;
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  min-height: 1.5em;
}

.msg-success {
  color: #22c55e;
}

.msg-error {
  color: var(--clr-danger);
}





/* ── 14. Animations & Reduced Motion ─────────────────── */
@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-in {
  animation: fade-up var(--dur-slow) var(--ease) both;
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* ── 15. Global Responsive Adjustments ───────────────── */
@media (max-width: 640px) {
  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-card {
    padding: var(--sp-6);
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: var(--fs-2xl);
  }

  h2 {
    font-size: var(--fs-xl);
  }

  .hero {
    min-height: 70vh;
  }

  .hero__cta {
    flex-direction: column;
  }

  .cta-block__form {
    flex-direction: column;
  }

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


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

  .filters-bar {
    flex-direction: column;
  }
}

@media (min-width: 1280px) {
  :root {
    --fs-md: 1.0625rem;
    --fs-lg: 1.375rem;
  }
}