:root {
  --bg: #000000;
  --surface: rgba(10, 12, 16, 0.88);
  --surface-border: rgba(255, 255, 255, 0.14);
  --text-main: #f4f5f7;
  --text-muted: #afb3bb;
  --orange: #ff9f0a;
  --orange-soft: #ff7b00;
  --shadow-strong: 0 30px 68px rgba(0, 0, 0, 0.72);
}

@font-face {
  font-family: "Manrope Local";
  src: url("../assets/fonts/Manrope-Variable.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}
* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

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

html {
  max-width: 100%;
  overflow-x: hidden;
}

body {
  color: var(--text-main);
  font-family: "Manrope Local", "Segoe UI", "Trebuchet MS", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

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

.home-page {
  background: #000;
  min-height: 100svh;
}

.home-shell {
  min-height: 100svh;
  min-height: 100dvh;
  display: flex;
  width: 100%;
  padding: clamp(1rem, 3vh, 2rem) 0;
}

.home-stack {
  width: 100%;
  margin-block: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(0.75rem, 1.8vh, 1.25rem);
}

.home-hero {
  width: min(860px, 92vw);
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo {
  display: block;
  width: min(29rem, 78vw);
  height: auto;
  max-height: 36dvh;
  object-fit: contain;
  filter: brightness(1.14) contrast(1.08);
}

.content-wrap {
  width: min(860px, 92vw);
  margin: 0 auto;
  padding: 0;
}

.page-nav {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  gap: 0.75rem;
  width: 100%;
  margin: 1.3rem auto 1.5rem;
}

.page-link {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
  min-height: 4.5rem;
  padding: 0.95rem 1.2rem;
  border: 1px solid rgba(255, 177, 74, 0.38);
  border-radius: 18px;
  background: rgba(7, 9, 12, 0.48);
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.035);
  color: var(--text-main);
  text-decoration: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.page-link-symbol {
  display: grid;
  place-items: center;
  flex: 0 0 2.7rem;
  height: 2.7rem;
  border: 1px solid rgba(255, 177, 74, 0.2);
  border-radius: 12px;
  background: rgba(255, 159, 10, 0.08);
  color: #ffb14a;
}

.page-link-symbol .icon-mask {
  width: 1.3rem;
  height: 1.3rem;
}

.page-link-copy {
  display: grid;
  gap: 0.12rem;
  min-width: 0;
  text-align: left;
  overflow-wrap: anywhere;
}

.page-link-title {
  font-size: 1.1rem;
  font-weight: 800;
}

.page-link-description {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
}

.page-link-arrow {
  margin-left: auto;
  color: #ffb14a;
  transform: rotate(180deg);
}

.page-link:focus-visible {
  border-color: #ffb14a;
  outline: 2px solid #ffcc83;
  outline-offset: 3px;
}

.page-link:active {
  background: rgba(255, 159, 10, 0.08);
}

@media (hover: hover) and (pointer: fine) {
  .page-link:hover {
    border-color: rgba(255, 177, 74, 0.72);
    background: rgba(255, 159, 10, 0.045);
    box-shadow:
      0 4px 16px rgba(0, 0, 0, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.045);
  }
}

.info-card {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  margin: 0 auto;
  max-width: 820px;
  border: 1px solid rgba(255, 171, 54, 0.2);
  border-radius: 24px;
  background:
    radial-gradient(circle at 14% 0%, rgba(255, 153, 0, 0.12), transparent 34%),
    radial-gradient(circle at 92% 100%, rgba(255, 86, 0, 0.07), transparent 35%),
    linear-gradient(180deg, rgba(14, 16, 21, 0.9), rgba(7, 9, 12, 0.97));
  box-shadow:
    var(--shadow-strong),
    0 0 40px rgba(255, 125, 0, 0.045),
    inset 0 1px 0 rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(6px);
  text-align: center;
  padding: clamp(1.4rem, 3.5vw, 2.2rem) clamp(1rem, 5vw, 2.4rem) clamp(1.25rem, 3vw, 1.65rem);
}

.info-card::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0 auto auto 50%;
  width: 58%;
  height: 1px;
  transform: translateX(-50%);
  background: linear-gradient(90deg, transparent, rgba(255, 180, 72, 0.8), transparent);
  box-shadow: 0 0 18px rgba(255, 143, 22, 0.45);
}

.info-card::after {
  content: "";
  position: absolute;
  z-index: -1;
  top: -5rem;
  right: -4rem;
  width: 13rem;
  height: 13rem;
  border-radius: 50%;
  background: rgba(255, 128, 0, 0.055);
  filter: blur(36px);
  pointer-events: none;
}

h1,
h2,
h3,
h4 {
  margin-top: 0;
}

h2 {
  margin-bottom: 0.6rem;
  font-family: "Manrope Local", "Segoe UI", "Trebuchet MS", sans-serif;
  font-size: clamp(2rem, 4.6vw, 3rem);
  font-weight: 800;
  letter-spacing: 0.01em;
}

.info-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.55rem;
  color: #ffb14a;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.info-kicker::before,
.info-kicker::after {
  content: "";
  width: 1.45rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 177, 74, 0.72));
}

.info-kicker::after {
  transform: scaleX(-1);
}

.info-card h2 {
  margin-bottom: 0.55rem;
  text-shadow: 0 0 26px rgba(255, 145, 20, 0.09);
}

.lead {
  max-width: 46ch;
  margin: 0 auto;
  color: var(--text-muted);
  font-size: clamp(1rem, 2.2vw, 1.14rem);
}

.cta-row {
  margin-top: 1.45rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(0.5rem, 2vw, 0.85rem);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.52rem;
  min-width: 10.7rem;
  padding: 0.72rem 1rem;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), rgba(255, 255, 255, 0.012)),
    rgba(8, 10, 14, 0.8);
  color: #f3f4f7;
  text-decoration: none;
  font-family: inherit;
  font-weight: 800;
  font-size: 1.02rem;
  letter-spacing: 0.01em;
  cursor: pointer;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.035);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.btn:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(255, 164, 43, 0.48);
  background:
    linear-gradient(180deg, rgba(255, 157, 26, 0.08), rgba(255, 157, 26, 0.025)),
    rgba(8, 10, 14, 0.88);
  box-shadow:
    0 10px 22px rgba(0, 0, 0, 0.34),
    0 0 18px rgba(255, 126, 0, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.055);
  outline: 2px solid rgba(255, 255, 255, 0.8);
  outline-offset: 2px;
}

.btn-icon {
  width: 1.02rem;
  height: 1.02rem;
  flex: 0 0 auto;
  color: #ffb14a;
  filter: drop-shadow(0 0 5px rgba(255, 145, 20, 0.16));
  transition: color 180ms ease, filter 180ms ease, transform 180ms ease;
}

.cta-row .btn {
  flex-direction: column;
  gap: 0.55rem;
  width: 100%;
  min-width: 0;
  min-height: 5.2rem;
  padding: 0.9rem 0.4rem;
  font-size: clamp(0.9rem, 4vw, 1.02rem);
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.cta-row .btn-icon {
  width: 1.4rem;
  height: 1.4rem;
}

.btn:focus-visible .btn-icon {
  color: #ffc06a;
  filter: drop-shadow(0 0 7px rgba(255, 145, 20, 0.28));
  transform: scale(1.05);
}

.btn:active {
  transform: translateY(1px);
  border-color: rgba(255, 164, 43, 0.34);
  background:
    linear-gradient(180deg, rgba(255, 157, 26, 0.06), rgba(255, 157, 26, 0.02)),
    rgba(8, 10, 14, 0.9);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

@media (hover: hover) and (pointer: fine) {
  .btn:hover {
    transform: translateY(-2px);
    border-color: rgba(255, 164, 43, 0.48);
    background:
      linear-gradient(180deg, rgba(255, 157, 26, 0.08), rgba(255, 157, 26, 0.025)),
      rgba(8, 10, 14, 0.88);
    box-shadow:
      0 10px 22px rgba(0, 0, 0, 0.34),
      0 0 18px rgba(255, 126, 0, 0.08),
      inset 0 1px 0 rgba(255, 255, 255, 0.055);
  }

  .btn:hover .btn-icon {
    color: #ffc06a;
    filter: drop-shadow(0 0 7px rgba(255, 145, 20, 0.28));
    transform: scale(1.05);
  }
}

.icon-mask {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  flex: 0 0 auto;
  background: currentColor;
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: contain;
  -webkit-mask-position: center;
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-size: contain;
}

.icon-instagram {
  mask-image: url("../assets/icons/instagram.svg");
  -webkit-mask-image: url("../assets/icons/instagram.svg");
}

.icon-facebook {
  mask-image: url("../assets/icons/facebook.svg");
  -webkit-mask-image: url("../assets/icons/facebook.svg");
}

.icon-envelope {
  mask-image: url("../assets/icons/envelope.svg");
  -webkit-mask-image: url("../assets/icons/envelope.svg");
}

.icon-copy {
  mask-image: url("../assets/icons/copy.svg");
  -webkit-mask-image: url("../assets/icons/copy.svg");
}

.icon-check {
  mask-image: url("../assets/icons/check-lg.svg");
  -webkit-mask-image: url("../assets/icons/check-lg.svg");
}

.icon-close {
  mask-image: url("../assets/icons/x-lg.svg");
  -webkit-mask-image: url("../assets/icons/x-lg.svg");
}

.btn-icon path,
.btn-icon rect,
.btn-icon circle {
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn-facebook .btn-icon path {
  fill: currentColor;
  stroke: none;
}

.contact-dialog {
  width: min(34rem, calc(100vw - 2rem));
  max-width: none;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--text-main);
}

.contact-dialog::backdrop {
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(5px);
}

.contact-dialog-card {
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(14, 16, 21, 0.98), rgba(8, 10, 13, 0.99));
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.8);
  padding: 1.55rem;
}

.contact-dialog h3 {
  margin: 0 3rem 0.35rem 0;
  font-size: 1.7rem;
  font-weight: 800;
}

.contact-dialog-text {
  margin: 0;
  color: var(--text-muted);
}

.icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.45rem;
  height: 2.45rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.055);
  color: #d9dce2;
  cursor: pointer;
}

.contact-dialog-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.icon-button:hover,
.icon-button:focus-visible {
  background: rgba(255, 255, 255, 0.11);
  outline: 2px solid rgba(255, 255, 255, 0.7);
  outline-offset: 2px;
}

.contact-address-box {
  display: grid;
  gap: 0.25rem;
  margin-top: 1.15rem;
  padding: 0.9rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.045);
  text-align: left;
}

.contact-address-label {
  color: #9197a0;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.contact-address {
  overflow-wrap: anywhere;
  color: #fff;
  font-size: clamp(1.03rem, 4vw, 1.18rem);
  font-weight: 750;
  user-select: all;
}

.contact-copy-button {
  width: 100%;
  margin-top: 0.8rem;
  padding: 0.76rem 1rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(120deg, #ffb31f 0%, var(--orange) 55%, var(--orange-soft) 100%);
  color: #1c1400;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.contact-copy-button:hover,
.contact-copy-button:focus-visible {
  filter: brightness(1.06);
  outline: 2px solid rgba(255, 255, 255, 0.8);
  outline-offset: 2px;
}

.contact-copy-status {
  min-height: 1.35em;
  margin: 0.5rem 0 0;
  color: #aeb4bd;
  font-size: 0.86rem;
}

.inline-email-reveal {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0;
  border: 0;
  border-bottom: 1px solid rgba(199, 223, 255, 0.4);
  background: transparent;
  color: #c7dfff;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
}

.inline-email-icon {
  width: 0.95rem;
  height: 0.95rem;
}

.inline-email-reveal:hover,
.inline-email-reveal:focus-visible {
  color: #e0eeff;
  border-bottom-color: rgba(224, 238, 255, 0.85);
  outline: 0;
}

.inline-email-reveal.is-revealed {
  cursor: text;
  user-select: text;
}

.card-copy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin: 1.15rem 0 0;
  color: #858a93;
  font-size: 0.88rem;
}

.card-copy::before,
.card-copy::after {
  content: "";
  width: 2rem;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.14));
}

.card-copy::after {
  transform: scaleX(-1);
}

.site-footer {
  width: min(860px, 92vw);
  margin: 0 auto;
  padding: 0;
  text-align: center;
}

.site-footer a {
  color: #959aa2;
  text-decoration: none;
  border-bottom: 1px solid rgba(149, 154, 162, 0.35);
  transition: color 170ms ease, border-color 170ms ease;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  color: #c2c7ce;
  border-color: rgba(194, 199, 206, 0.75);
}

.legal-page {
  background:
    radial-gradient(circle at 50% -8%, rgba(255, 146, 0, 0.1), transparent 40%),
    #000;
}

.legal-header {
  width: min(980px, 92vw);
  margin: 0 auto;
  padding: clamp(1.2rem, 3vw, 2rem) 0 0.52rem;
}

.back-link {
  display: inline-flex;
  margin-bottom: 0.65rem;
  color: #ffba4d;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 186, 77, 0.42);
}

.back-link:hover,
.back-link:focus-visible {
  color: #ffd08a;
  border-color: rgba(255, 208, 138, 0.8);
}

.legal-header h1 {
  margin: 0;
  font-family: "Manrope Local", "Segoe UI", "Trebuchet MS", sans-serif;
  font-size: clamp(2rem, 5vw, 3.05rem);
  font-weight: 700;
}

.legal-shell {
  width: min(980px, 92vw);
  margin: 0 auto;
  padding: 0.64rem 0 2.2rem;
  display: grid;
  gap: 1rem;
}

.legal-card {
  border: 1px solid var(--surface-border);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(12, 14, 18, 0.86), rgba(8, 10, 13, 0.94));
  box-shadow: var(--shadow-strong);
  padding: clamp(1.05rem, 3vw, 1.82rem);
}

.legal-card h2 {
  margin-bottom: 0.7rem;
  font-size: clamp(1.7rem, 4vw, 2.28rem);
}

.legal-card h3 {
  margin: 1.1rem 0 0.4rem;
  font-family: "Manrope Local", "Segoe UI", "Trebuchet MS", sans-serif;
  font-size: clamp(1.14rem, 3vw, 1.35rem);
  color: #ffc477;
}

.legal-card h4 {
  margin: 0.86rem 0 0.35rem;
  font-size: 1.03rem;
  color: #d8dce4;
}

.legal-card p,
.legal-card li {
  color: #d2d6dd;
}

.legal-card ul {
  margin: 0.4rem 0 0.7rem;
  padding-left: 1.1rem;
}

.legal-card a {
  color: #c7dfff;
}

.legal-footer {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.95rem;
  flex-wrap: wrap;
  padding-bottom: 2.2rem;
}

.legal-footer span {
  color: #91949c;
}

.reveal {
  animation: reveal-up 640ms ease-out both;
}

.reveal-stagger > * {
  opacity: 0;
  animation: reveal-up 560ms ease-out both;
}

.reveal-stagger > *:nth-child(1) {
  animation-delay: 80ms;
}

.reveal-stagger > *:nth-child(2) {
  animation-delay: 140ms;
}

.reveal-stagger > *:nth-child(3) {
  animation-delay: 200ms;
}

@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 720px) {
  .home-shell {
    padding-inline: 0;
  }

  .home-stack {
    gap: clamp(0.65rem, 1.5vh, 1rem);
  }

  .hero-logo {
    width: min(23.6rem, 86vw);
    max-height: 32dvh;
  }

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

  .btn {
    width: 100%;
    min-width: 0;
  }
}

@media (max-width: 480px) {
  .home-shell {
    padding-block:
      max(0.8rem, env(safe-area-inset-top))
      max(0.8rem, env(safe-area-inset-bottom));
  }

  .hero-logo {
    width: min(22rem, 87vw);
    max-height: 30dvh;
  }

  .content-wrap {
    width: 94vw;
  }

  .info-card {
    border-radius: 20px;
    padding: 1.3rem 0.9rem 1.2rem;
  }

  .page-link {
    padding: 0.85rem 0.9rem;
    border-radius: 16px;
  }

  h2 {
    font-size: clamp(1.95rem, 9vw, 2.3rem);
  }

  .lead {
    font-size: 1.03rem;
    line-height: 1.45;
  }

  .btn {
    padding: 0.72rem 0.92rem;
    font-size: 1.01rem;
  }

  .card-copy {
    margin-top: 0.9rem;
  }

  .site-footer {
    width: 94vw;
    padding-top: 0.1rem;
    font-size: 0.95rem;
  }

  .legal-header,
  .legal-shell {
    width: 94vw;
  }

  .legal-card {
    border-radius: 16px;
    padding: 1rem 0.9rem 1.1rem;
  }

  .legal-header h1 {
    font-size: clamp(1.8rem, 8.5vw, 2.35rem);
  }
}

@media (max-width: 380px) {
  .hero-logo {
    width: min(20.8rem, 88vw);
    max-height: 28dvh;
  }

  .info-card {
    padding: 1.15rem 0.78rem 1.08rem;
  }

  h2 {
    font-size: clamp(1.78rem, 9.4vw, 2.08rem);
  }
}

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


/* Events + Admin (Dev) */
.icon-calendar-event {
  mask-image: url("../assets/icons/calendar-event.svg");
  -webkit-mask-image: url("../assets/icons/calendar-event.svg");
}

.icon-plus {
  mask-image: url("../assets/icons/plus-lg.svg");
  -webkit-mask-image: url("../assets/icons/plus-lg.svg");
}

.icon-pencil {
  mask-image: url("../assets/icons/pencil.svg");
  -webkit-mask-image: url("../assets/icons/pencil.svg");
}

.icon-trash {
  mask-image: url("../assets/icons/trash3.svg");
  -webkit-mask-image: url("../assets/icons/trash3.svg");
}

.icon-save {
  mask-image: url("../assets/icons/floppy.svg");
  -webkit-mask-image: url("../assets/icons/floppy.svg");
}

.icon-logout {
  mask-image: url("../assets/icons/box-arrow-right.svg");
  -webkit-mask-image: url("../assets/icons/box-arrow-right.svg");
}

.icon-arrow-left {
  mask-image: url("../assets/icons/arrow-left.svg");
  -webkit-mask-image: url("../assets/icons/arrow-left.svg");
}

.events-page {
  min-height: 100svh;
  overflow-x: hidden;
  background: #000;
}

.admin-page {
  min-height: 100svh;
  background:
    radial-gradient(circle at 50% -10%, rgba(255, 133, 0, 0.14), transparent 33rem),
    #000;
}

.events-hero,
.events-shell,
.events-footer,
.admin-header,
.admin-shell {
  width: min(980px, 92vw);
  margin-inline: auto;
}

.events-hero {
  position: relative;
  isolation: isolate;
  padding: clamp(1rem, 3vw, 2rem) 0 1.1rem;
  text-align: center;
}

.events-logo-stage {
  display: grid;
  place-items: center;
  width: min(17rem, 66vw);
  margin: 0.2rem auto 0.55rem;
}

.events-logo {
  display: block;
  width: min(15rem, 58vw);
  height: auto;
  max-height: 26svh;
  object-fit: contain;
  margin: 0;
  filter: brightness(1.04) contrast(1.03);
}

.events-back {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  color: #a9adb5;
  text-decoration: none;
  font-weight: 700;
}

.events-back .icon-mask {
  width: 0.95rem;
  height: 0.95rem;
}

.events-hero h1 {
  margin: 0.25rem 0 0.45rem;
  font-size: clamp(2rem, 7vw, 3.1rem);
  line-height: 1.05;
}


.events-shell {
  position: relative;
  isolation: isolate;
  padding-bottom: 1.2rem;
}

.events-shell::before {
  content: "";
  position: absolute;
  z-index: -1;
  top: -2.25rem;
  left: 50%;
  width: min(76rem, 100%);
  height: 30rem;
  transform: translateX(-50%);
  background:
    radial-gradient(ellipse at 50% 10%, rgba(255, 132, 0, 0.14), rgba(255, 92, 0, 0.065) 34%, transparent 70%);
  filter: blur(18px);
  pointer-events: none;
}

.events-panel,
.admin-panel {
  border: 1px solid rgba(255, 171, 54, 0.18);
  border-radius: 24px;
  background:
    radial-gradient(circle at 15% 0%, rgba(255, 153, 0, 0.09), transparent 32%),
    linear-gradient(180deg, rgba(14, 16, 21, 0.94), rgba(7, 9, 12, 0.98));
  box-shadow: var(--shadow-strong), inset 0 1px 0 rgba(255, 255, 255, 0.04);
  padding: clamp(1rem, 3vw, 1.5rem);
}

.events-panel-heading,
.admin-panel-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.events-panel + .events-panel {
  margin-top: 1rem;
}

.events-panel-heading h2,
.admin-panel-heading h2 {
  margin: 0;
  font-size: clamp(1.45rem, 4vw, 2rem);
}

.events-eyebrow {
  margin: 0 0 0.25rem;
  color: #ffb14a;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.events-count {
  color: #9297a0;
  font-size: 0.88rem;
  white-space: nowrap;
}

.events-status,
.admin-events-status {
  padding: 1.3rem 0.5rem;
  color: #aeb3bb;
  text-align: center;
}

.events-retry.event-action {
  display: flex;
  width: fit-content;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.45rem;
  margin: 0 auto 1rem;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.events-retry[hidden] {
  display: none;
}

.events-retry:focus-visible {
  outline: 2px solid #ffcc83;
  outline-offset: 3px;
}

.events-list,
.admin-events-list {
  display: grid;
  gap: 0.78rem;
}

.event-card {
  display: grid;
  grid-template-columns: minmax(8.2rem, 0.34fr) 1fr;
  gap: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 18px;
  background: rgba(4, 6, 9, 0.66);
  padding: 1rem;
}

.event-card.is-cancelled {
  opacity: 0.72;
}

.event-date {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.15rem;
  border-right: 1px solid rgba(255, 166, 48, 0.2);
  padding-right: 1rem;
  color: #e7e9ed;
}

.event-date strong {
  font-size: 1rem;
}

.event-body,
.event-details {
  min-width: 0;
  overflow-wrap: anywhere;
}

.event-body.has-flyer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) min(6.5rem, 22vw);
  gap: 1rem;
  align-items: start;
}

.event-flyer {
  display: block;
  padding: 0.45rem;
  border: 1px solid rgba(255, 171, 54, 0.24);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.025);
  text-decoration: none;
  transition: border-color 180ms ease, background 180ms ease;
}

.event-flyer img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 10rem;
  border-radius: 6px;
  object-fit: contain;
}

.event-flyer:hover,
.event-flyer:focus-visible {
  border-color: rgba(255, 171, 54, 0.7);
  background: rgba(255, 171, 54, 0.055);
}

.event-flyer:focus-visible {
  outline: 2px solid #ffcc83;
  outline-offset: 3px;
}

.icon-file-image {
  mask-image: url("../assets/icons/file-earmark-image.svg");
  -webkit-mask-image: url("../assets/icons/file-earmark-image.svg");
}

.icon-ticket {
  mask-image: url("../assets/icons/ticket-perforated.svg");
  -webkit-mask-image: url("../assets/icons/ticket-perforated.svg");
}

.icon-map-pin {
  mask-image: url("../assets/icons/geo-alt.svg");
  -webkit-mask-image: url("../assets/icons/geo-alt.svg");
}

.events-panel-heading h2.events-eyebrow {
  margin: 0;
  font-family: inherit;
  font-size: 0.76rem;
  line-height: 1.4;
}

html.flyer-open {
  overflow: hidden;
}

.flyer-dialog {
  width: min(64rem, 94vw);
  max-height: 92svh;
  padding: 1rem;
  overflow: auto;
  border: 1px solid rgba(255, 171, 54, 0.3);
  border-radius: 18px;
  background: #080a0d;
  color: var(--text-main);
}

.flyer-dialog[open] {
  display: grid;
  gap: 0.8rem;
}

.flyer-dialog::backdrop {
  background: rgba(0, 0, 0, 0.88);
}

.flyer-dialog-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.flyer-dialog-header h2 {
  margin: 0;
  font-size: 1.15rem;
  overflow-wrap: anywhere;
}

.flyer-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.055);
  color: inherit;
  cursor: pointer;
}

.flyer-close:focus-visible {
  outline: 2px solid #ffcc83;
  outline-offset: 3px;
}

.flyer-dialog-image {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: calc(92svh - 8rem);
  margin: 0 auto;
  object-fit: contain;
}

.flyer-status {
  margin: 0;
  color: var(--text-muted);
  text-align: center;
}

.event-date span,
.event-address {
  color: #959aa3;
  font-size: 0.9rem;
}

.event-title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.event-title-row h3 {
  margin: 0;
  font-size: 1.24rem;
}

.event-location {
  margin: 0.25rem 0 0;
  color: #c9cdd3;
  font-weight: 700;
}

.event-address,
.event-note {
  margin: 0.25rem 0 0;
}

.event-note {
  color: #adb2ba;
}

.event-badge,
.admin-status-badge {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 105, 72, 0.35);
  border-radius: 999px;
  padding: 0.16rem 0.48rem;
  background: rgba(255, 74, 45, 0.08);
  color: #ff9a7f;
  font-size: 0.7rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.event-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 0.8rem;
}

.event-ticket-door,
.event-ticket-free {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  max-width: 100%;
  border: 1px solid rgba(255, 171, 54, 0.28);
  border-radius: 11px;
  padding: 0.5rem 0.7rem;
  background: rgba(255, 171, 54, 0.055);
  color: #ffc06a;
  font-size: 0.88rem;
  font-weight: 700;
}

.event-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-radius: 11px;
  padding: 0.56rem 0.8rem;
  background: linear-gradient(120deg, #ffb31f, #ff7b00);
  color: #1c1400;
  text-decoration: none;
  font-weight: 800;
}

.event-action-secondary {
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.035);
  color: #e9ebef;
}

.event-action-compact {
  align-self: center;
  min-height: 2.25rem;
  max-width: 100%;
  gap: 0.4rem;
  padding: 0.4rem 0.65rem;
  border: 1px solid rgba(255, 171, 54, 0.22);
  border-radius: 10px;
  background: rgba(255, 171, 54, 0.035);
  color: #dfc7a5;
  font-size: 0.85rem;
  font-weight: 600;
  line-height: 1.35;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease;
}

.event-action-compact .icon-mask {
  width: 0.95rem;
  height: 0.95rem;
}

.event-action-compact:hover {
  border-color: rgba(255, 171, 54, 0.48);
  background: rgba(255, 171, 54, 0.075);
  color: #ffc06a;
}

.event-action-compact:focus-visible {
  outline: 2px solid #ffcc83;
  outline-offset: 3px;
}

.icon-info-circle {
  mask-image: url("../assets/icons/info-circle.svg");
  -webkit-mask-image: url("../assets/icons/info-circle.svg");
}

.events-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.45rem 0 2rem;
}

.admin-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  padding: clamp(1rem, 4vw, 2rem) 0 1rem;
}

.admin-header h1 {
  margin: 0;
  font-size: clamp(2rem, 6vw, 3rem);
}

.admin-session {
  margin: 0.3rem 0 0;
  color: #9297a0;
  font-size: 0.9rem;
}

.admin-header-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.5rem;
}

.admin-link,
.admin-secondary-button {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.035);
  color: #cfd3d9;
  padding: 0.55rem 0.7rem;
  text-decoration: none;
  font: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
}

.admin-link .icon-mask {
  width: 0.9rem;
  height: 0.9rem;
}

.admin-shell {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 1rem;
  align-items: start;
  padding-bottom: 2rem;
}

.admin-form-panel {
  position: sticky;
  top: 1rem;
}

.event-form {
  display: grid;
  gap: 0.8rem;
}

.event-form label {
  display: grid;
  min-width: 0;
  gap: 0.32rem;
  color: #c8ccd2;
  font-size: 0.88rem;
  font-weight: 700;
}

.field-optional {
  color: #777d87;
  font-weight: 500;
}

.admin-flyer-field {
  min-width: 0;
  margin: 0;
  padding: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 12px;
}

.admin-flyer-field legend {
  padding: 0 0.3rem;
  color: #c8ccd2;
  font-size: 0.88rem;
  font-weight: 700;
}

.admin-field-hint {
  margin: 0.4rem 0 0;
  color: #9297a0;
  font-size: 0.8rem;
}

.admin-flyer-preview {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 0.8rem;
}

.admin-flyer-preview img {
  width: 5rem;
  max-height: 8rem;
  border-radius: 7px;
  object-fit: contain;
}

.admin-flyer-preview > div {
  min-width: 0;
}

.admin-flyer-name {
  margin: 0 0 0.5rem;
  color: #c8ccd2;
  font-size: 0.82rem;
  overflow-wrap: anywhere;
}

.admin-flyer-field button {
  min-height: 2.75rem;
}

.event-form :disabled,
.admin-event-actions button:disabled {
  opacity: 0.6;
  cursor: wait;
}

.event-form input,
.event-form textarea,
.event-form select {
  width: 100%;
  min-width: 0;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 12px;
  background: rgba(3, 5, 8, 0.84);
  color: #f4f5f7;
  padding: 0.7rem 0.75rem;
  font: inherit;
  color-scheme: dark;
}

.event-form textarea {
  resize: vertical;
  min-height: 5.5rem;
}

.event-form input:focus-visible,
.event-form textarea:focus-visible,
.event-form select:focus-visible {
  outline: 2px solid rgba(255, 171, 74, 0.72);
  outline-offset: 1px;
  border-color: rgba(255, 171, 74, 0.46);
}

.admin-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem;
}

.admin-form-actions {
  display: grid;
  gap: 0.45rem;
  margin-top: 0.15rem;
}

.admin-primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.48rem;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(120deg, #ffb31f, #ff7b00);
  color: #1b1300;
  padding: 0.72rem 0.9rem;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.admin-primary-button .icon-mask {
  width: 1rem;
  height: 1rem;
}

.admin-form-status {
  min-height: 1.35em;
  margin: 0;
  color: #aab0b8;
  font-size: 0.84rem;
}

.admin-event-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  background: rgba(3, 5, 8, 0.66);
  padding: 0.82rem 0.9rem;
}

.admin-event-content {
  min-width: 0;
}

.admin-event-title-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.admin-event-title-row h3 {
  margin: 0;
  font-size: 1rem;
}

.admin-event-meta,
.admin-event-location {
  margin: 0.2rem 0 0;
  color: #9da2aa;
  font-size: 0.84rem;
}

.admin-status-badge {
  border-color: rgba(255, 184, 76, 0.28);
  background: rgba(255, 151, 22, 0.07);
  color: #ffc06a;
}

.admin-status-badge.is-draft {
  border-color: rgba(160, 168, 181, 0.22);
  background: rgba(160, 168, 181, 0.06);
  color: #a8aeb7;
}

.admin-status-badge.is-cancelled {
  border-color: rgba(255, 105, 72, 0.35);
  background: rgba(255, 74, 45, 0.08);
  color: #ff9a7f;
}

.admin-event-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 0.4rem;
}

.admin-icon-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.35rem;
  height: 2.35rem;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.035);
  color: #cfd3d9;
  cursor: pointer;
}

.admin-icon-button .icon-mask {
  width: 0.95rem;
  height: 0.95rem;
}

.admin-icon-button.is-destructive {
  color: #ff9a7f;
}

@media (max-height: 1000px) {
  .admin-form-panel {
    position: static;
  }
}

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

  .event-date {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 166, 48, 0.18);
    padding: 0 0 0.7rem;
  }

  .admin-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .admin-header-actions {
    justify-content: flex-start;
  }

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

  .admin-form-panel {
    position: static;
  }
}

.event-title-link {color: inherit; text-decoration: none;}
.event-title-link:hover, .event-title-link:focus-visible {color: #ffd078; text-decoration: underline;}
