:root {
  --bg: #0a0d12;
  --bg-elevated: rgba(15, 20, 29, 0.88);
  --panel: rgba(18, 24, 35, 0.78);
  --panel-border: rgba(255, 255, 255, 0.08);
  --text: #f5f7fb;
  --text-muted: #d5dbe6;
  --gold: #f3b33b;
  --gold-strong: #ffca62;
  --accent: #df3232;
  --shadow-lg: 0 18px 50px rgba(0, 0, 0, 0.38);
  --shadow-md: 0 10px 24px rgba(0, 0, 0, 0.28);
  --radius-lg: 24px;
  --radius-md: 18px;
  --header-max: 1200px;
  --section-max: 1200px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
  background:
    radial-gradient(circle at top center, rgba(243, 179, 59, 0.12), transparent 35%),
    linear-gradient(180deg, #10141d 0%, #090c11 100%);
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.section-shell {
  width: min(var(--section-max), calc(100% - 2rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(18px);
  background: rgba(8, 11, 17, 0.76);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.header-inner {
  width: min(var(--header-max), calc(100% - 2rem));
  margin-inline: auto;
  padding: 1rem 0 0.9rem;
}

.branding-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-block;
  text-decoration: none;
  flex: 0 0 auto;
}

.brand-logo-wrap {
  position: relative;
  display: inline-block;
  line-height: 0;
}

.brand-logo-wrap picture {
  display: block;
}

.brand-logo-wrap img,
.brand img {
  display: block;
  width: clamp(160px, 34vw, 320px);
  height: auto;
}

.admin-logo-text {
  position: absolute;
  left: 50%;
  top: 75%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  pointer-events: none;
  z-index: 2;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.03);
  cursor: pointer;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  border-radius: 999px;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

body.nav-open .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

body.nav-open .nav-toggle span:nth-child(2) {
  opacity: 0;
}

body.nav-open .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.site-nav {
  display: none;
}

.site-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-nav a,
.footer-nav a {
  color: var(--text);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.site-nav a:hover,
.footer-nav a:hover,
.site-nav a:focus-visible,
.footer-nav a:focus-visible {
  color: var(--gold-strong);
}

body.nav-open .site-nav {
  display: block;
  margin-top: 0.9rem;
  padding: 0.9rem;
  border: 1px solid var(--panel-border);
  border-radius: var(--radius-md);
  background: rgba(12, 17, 26, 0.96);
  box-shadow: var(--shadow-md);
}

body.nav-open .site-nav ul {
  display: grid;
  gap: 0.35rem;
}

body.nav-open .site-nav a {
  display: block;
  padding: 0.75rem 0.85rem;
  border-radius: 12px;
}

body.nav-open .site-nav a:hover,
body.nav-open .site-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.06);
}

main {
  padding: .5rem 0 4rem;
}

.hero-copy {
  text-align: center;
  padding-top: 1.5rem;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 0.9rem;
  flex-wrap: wrap;
  margin-top: 1.6rem;
}

.hero-date {
  position: absolute;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  text-align: center;
  pointer-events: none;
  text-transform: uppercase;
}

.hero-date-left {
  left: 25%;
  bottom: 4%;
  transform: translateX(-50%);
}

.hero-date-right {
  left: 75%;
  bottom: 4%;
  transform: translateX(-50%);
}

.hero-date-label {
  font-family: "Arial Black", Impact, Haettenschweiler, sans-serif;
  font-size: clamp(0.7rem, 1.2vw, 1rem);
  font-style: italic;
  letter-spacing: 0.08em;
  color: #ffe7a2;
  text-shadow:
    2px 2px 0 #000,
    4px 4px 8px rgba(0, 0, 0, 0.75);
}

.hero-date-value {
  font-family: "Arial Black", Impact, Haettenschweiler, sans-serif;
  font-size: clamp(1rem, 2vw, 1.8rem);
  line-height: 1;
  font-style: italic;
  letter-spacing: 0.03em;
  color: #ffbf33;
  text-shadow:
    2px 2px 0 #000,
    4px 4px 10px rgba(0, 0, 0, 0.8),
    0 0 10px rgba(0, 0, 0, 0.35);
}

.hero-date-location {
  font-family: "Arial Black", Impact, Haettenschweiler, sans-serif;
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1;
  font-style: italic;
  letter-spacing: 0.03em;
  color: #f5f7fb;
  text-shadow:
    2px 2px 0 #000,
    4px 4px 10px rgba(0, 0, 0, 0.8),
    0 0 10px rgba(0, 0, 0, 0.35);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 160px;
  padding: 0.9rem 1.25rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-1px);
}

.button-primary {
  color: #111;
  background: linear-gradient(135deg, var(--gold-strong), var(--gold));
  box-shadow: 0 12px 25px rgba(243, 179, 59, 0.22);
}

.button-secondary {
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.02);
}

.showcase {
  margin-top: 2rem;
}

.hero-image-shell {
  margin: 0;
  overflow: hidden;
  border-radius: clamp(20px, 2.6vw, 30px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-lg);
  background: rgba(255, 255, 255, 0.02);
}

.hero-image {
  width: 100%;
  height: auto;
}

.hero-image-links {
  position: relative;
}

.hero-hotspot {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%;
  z-index: 2;
  text-decoration: none;
  outline: none;
}

.hero-hotspot-left {
  left: 0;
}

.hero-hotspot-right {
  right: 0;
}

.hero-hotspot:hover,
.hero-hotspot:focus-visible {
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.04), rgba(243, 179, 59, 0.10));
}

.hero-hotspot-left:hover,
.hero-hotspot-left:focus-visible,
.hero-hotspot-right:hover,
.hero-hotspot-right:focus-visible {
  box-shadow: inset 0 0 0 2px rgba(243, 179, 59, 0.45);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.highlights {
  margin-top: 3rem;
}

.section-heading {
  width: min(100%);
  margin: 0 auto;
  padding-top: 60px;
}

.section-heading + .section-heading {
  margin-top: 0.5rem;
}

.eyebrow {
  margin: 0 0 1rem;
}

.event-wordmark {
  display: block;
  width: clamp(127px, 62vw, 400px);
  max-width: 100%;
  height: auto;
  margin-inline: auto;
}

.title-wordmark {
  display: block;
  width: clamp(127px, 62vw, 200px);
  max-width: 100%;
  height: auto;
  margin-inline: auto;
}

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

.page-title {
  font-family: "Arial Black", Impact, Haettenschweiler, sans-serif;
  font-size: clamp(1rem, 8vw, 3.2rem);
  display: inline-block;
  font-style: italic;
  line-height: 1;
  letter-spacing: 0.03em;
  color: #ffbf33;
  text-shadow:
    2px 2px 0 #000,
    4px 4px 10px rgba(0, 0, 0, 0.8),
    0 0 10px rgba(0, 0, 0, 0.35);
}

.section-title {
  margin: 40px 0px -20px;  
  max-width: 78ch;
  margin-inline: auto;
  color: var(--text-muted);
  font-size: clamp(1rem, 1.45vw, 3.00rem);
  text-align: justify;
  font-style: italic;
}

.section-copy {
  margin: 0px;
  max-width: 78ch;
  margin-inline: auto;
  color: var(--text-muted);
  font-size: clamp(1rem, 1.45vw, 2.00rem);
  text-align: justify;
}

.section-copy-admin {
  margin: 0;
  padding: 10px 0px;
  max-width: 78ch;
  margin-inline: auto;
  color: var(--text-muted);
  font-size: clamp(1rem, 1.45vw, 2.00rem);
  text-align: justify;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(5, 8, 13, 0.8);
}

.footer-inner {
  display: grid;
  gap: 1rem;
  padding: 1.35rem 0 2rem;
}

.footer-brand {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-strong);
}

.footer-copy {
  margin: 0.35rem 0 0;
  color: var(--text-muted);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem 1.2rem;
}

.login-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px 16px 60px;
}

.login-card {
  width: min(100%, 420px);
  margin: 0 auto;
  background: #11161f;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px;
  padding: 28px 24px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.35);
}

.login-title {
  text-align: center;
  margin: 0 0 24px;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  text-align: left;
  margin-bottom: 30px;
}

.form-group label {
  margin-bottom: 8px;
  font-weight: 600;
}

.login-input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,0.15);
  background: #0c0f14;
  color: #fff;
  font-size: 16px;
  box-sizing: border-box;
}

.login-input:focus {
  outline: none;
  border-color: #d4af37;
  box-shadow: 0 0 0 3px rgba(212,175,55,0.20);
}

.login-button {
  width: 100%;
  justify-content: center;
  margin-top: 8px;
}

@media (min-width: 768px) {
  .header-inner {
    padding-top: 1.05rem;
  }

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

  .nav-toggle {
    display: none;
  }

  .site-nav {
    display: block;
    margin-top: 0.75rem;
  }

  .site-nav ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3.5rem;
  }

  .site-nav a {
    font-weight: 600;
    color: rgba(245, 247, 251, 0.92);
  }

  .footer-inner {
    grid-template-columns: 1fr auto;
    align-items: center;
  }
}

@media (max-width: 767px) {
  .event-title {
    width: clamp(140px, 50vw, 220px);
  }

  .header-inner {
    padding-bottom: 0.9rem;
  }

  .button {
    width: 50%;
  }

  .hero-actions {
    gap: 0.75rem;
  }

  .section-heading {
    padding-top: 44px;

  }

  .hero-date-left,
  .hero-date-right {
    bottom: 4.5%;
  }

  .hero-date-left {
    left: 28%;
  }

  .hero-date-right {
    left: 72%;
  }

  .hero-date-label {
    font-size: clamp(0.55rem, 2.2vw, 0.75rem);
  }

  .hero-date-value {
    font-size: clamp(0.75rem, 3vw, 1.05rem);
  }  

  .admin-logo-text {
    top: 69%;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

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

.admin-form-section {
  padding: 0.5rem 0 0;
}

.admin-form-card {
  width: min(100%, 980px);
  margin: 0 auto;
  padding: clamp(20px, 3vw, 36px);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #11161f;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.admin-form-intro {
  margin: 0 0 1.5rem;
  color: var(--text-muted);
  text-align: center;
}

.admin-form {
  display: grid;
  gap: 1.15rem;
}

.form-grid {
  display: grid;
  gap: 1rem;
}

.date-grid {
  display: grid;
  gap: 1rem;
}

.date-block {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.date-row {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 0.75rem;
}

.field-label,
.date-label {
  display: inline-block;
  margin-bottom: 8px;
  font-weight: 700;
  color: var(--text);
}

.admin-input,
.admin-select,
.admin-textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #0c0f14;
  color: #fff;
  font-size: 16px;
  box-sizing: border-box;
}

.admin-input:focus,
.admin-select:focus,
.admin-textarea:focus {
  outline: none;
  border-color: #d4af37;
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.20);
}

.admin-textarea {
  min-height: 190px;
  resize: vertical;
}

.field-help {
  margin-top: 6px;
  font-size: 0.92rem;
  color: var(--text-muted);
}

.field-error {
  margin-top: 6px;
  font-size: 0.92rem;
  color: #ff8f8f;
}

.is-invalid {
  border-color: #ff6b6b !important;
  box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.16) !important;
}

.actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 0.35rem;
}

.actions-row .button {
  min-width: 180px;
}

.helper-note,
.record-meta {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.record-meta {
  text-align: center;
  margin-bottom: 1rem;
}

.missing-card {
  width: min(100%, 760px);
  margin: 0 auto;
  padding: clamp(24px, 4vw, 38px);
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #11161f;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
  text-align: center;
}

@media (min-width: 768px) {
  .form-grid.two-col {
    grid-template-columns: 1fr 1fr;
  }

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

@media (max-width: 640px) {
  .date-row {
    gap: 0.55rem;
  }

  .actions-row .button {
    width: 100%;
  }
}

.event-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.event-card {
  padding: 0 0 22px;
  margin: 0 0 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.event-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.event-thumb-link {
  flex: 0 0 auto;
  line-height: 0;
}

.event-thumb {
  display: block;
  width: 96px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.18);
  background: #1b1f27;
  box-shadow: 0 4px 12px rgba(0,0,0,0.18);
}

.event-copy-wrap {
  min-width: 0;
  flex: 1 1 auto;
}

.event-copy-wrap .section-copy-admin {
  margin: 0;
}

.event-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
  margin-left: 110px;
}

.event-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.16);
  background: #161b22;
  color: #fff;
  font-size: .92rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
}

.event-action-btn:hover {
  transform: translateY(-1px);
  background: #212836;
  border-color: rgba(255,255,255,0.28);
}

.event-action-edit {
  background: #1f3f67;
}

.event-action-visibility {
  background: #245531;
}

.event-action-danger {
  background: #6a2222;
}

.action-form {
  display: none;
}

@media (max-width: 640px) {
  .event-row {
    align-items: flex-start;
    gap: 10px;
  }

  .event-thumb {
    width: 72px;
    height: 54px;
  }

  .event-actions {
    margin-left: 0;
    margin-top: 12px;
  }      
}

.event-location {
  font-size: 0.80em;
  opacity: 0.9;
  font-style: italic;
}