body {
  margin: 0;
  background: #111; /* just in case something shows behind */
  overflow-x: hidden;
}

.hero {
  position: relative;
  height: 100vh;
  width: 100vw;
  overflow: hidden;
  display: flex;
  align-items: center;
  color: #fff;
}

.hero-inner{
  position: relative;
  z-index: 1;
  width: 92%;
  max-width: 1600px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
}

.hero-copy{
  border-left: 3px solid rgba(255,255,255,.4);
  padding-left: 32px;
  max-width: 560px;
}

.hero-title{
  font-size: clamp(2rem, 4vw + 1rem, 3.5rem);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-cta{
  display: inline-block;
  background: #e50914;
  color: #fff;
  padding: .9rem 1.8rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  font-size: 1.1rem;
  box-shadow: 0 8px 22px rgba(229,9,20,.4);
}

.hero-logo{ justify-self: center; align-self: center; }
.hero-logo img{
  width: 100%;
  height: auto;
  max-width: 700px;
  filter: drop-shadow(0 10px 25px #111);
}

@media (max-width: 992px){
  .hero-inner{ grid-template-columns: 1fr; text-align: center; }
  .hero-copy{ border: 0; padding: 0; margin-bottom: 2rem; }
  .hero-logo img{ max-width: 320px; }
}

/* Transparent navbar floating over hero */
.nav-over-hero {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 10;
  background: #111; /* faint tint */
  backdrop-filter: blur(8px);   /* subtle glass blur */
  border-top: 4px solid #e50914;
  transition: background-color 0.3s ease, backdrop-filter 0.3s ease;
}

.nav-over-hero.scrolled {
  background: #111;
  backdrop-filter: blur(12px);
}

/* Links inside */
.nav-over-hero .nav-link {
  color: #fff;
  font-weight: 500;
}

.nav-over-hero .nav-link:hover,
.nav-link.active {
  color: #e50914 !important;
  font-weight: 600;
  border-bottom: 2px solid #e50914;
}

.dropdown-item.active {
  color: #fff;
  background-color: #e50914 !important;
}

/* Optional: darker background on mobile for contrast */
@media (max-width: 991px) {
  .nav-over-hero {
    background: #111;
  }
}

.lang-switch{
  position: fixed;
  bottom: 80px;
  right: 20px;
  display: flex;
  flex-direction: column;   /* vertical stack */
  align-items: center;
  gap: 10px;
  z-index: 1000;
}

.lang-btn{
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: transform .2s ease, opacity .2s ease;
}

.lang-switch .lang-btn img{
  width: 24px !important;   /* clamp size hard */
  height: auto !important;
  aspect-ratio: 4/3;
  border-radius: 4px;
  box-shadow: 0 2px 8px #111;
  display: block;
}

.lang-btn:hover img{
  transform: scale(1.1);
  opacity: .9;
}

.lang-btn.is-active img{
  outline: 2px solid #e50914;
  outline-offset: 2px;
}


/* =========================
   GLOBAL FULL PAGE BLUR
========================= */

body.blur-bg::before {
  content: "";
  position: fixed;
  inset: 0;
  background: url("/static/img/logo.50bc82cafc8f.png") center / cover no-repeat;
  filter: blur(40px) brightness(0.6);
  transform: scale(1.2);
  z-index: -1;
}

.success-check {
  font-size: 42px;
  color: #198754;
  line-height: 1;
}

.registration-sheet {
  position: relative;
  background: #fff;
  color: #111;
  overflow: hidden;
}

.registration-watermark {
  position: absolute;
  inset: 0;
  background: url("/static/img/sigil.d65655f8091e.png") center 58% / 380px no-repeat;
  opacity: 0.05;
  filter: grayscale(100%) brightness(1.25);
  pointer-events: none;
  z-index: 0;
}

.registration-sheet .card-body {
  position: relative;
  z-index: 1;
}

.registration-sheet .email-note {
  font-size: 0.85rem;
  color: #6c757d;
  font-style: italic;
  opacity: 0.85;
}

.sheet-header {
  position: relative;
}

.sheet-header h1 {
  font-weight: 700;
}

.sheet-header p {
  font-size: 0.95rem;
}

.sheet-header::before {
  content: "";
  display: block;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, #111 0%, #111 70%, #7a0d0d 100%);
  margin-bottom: 1.25rem;
  border-radius: 999px;
}

.registration-id-box {
  min-width: 180px;
}

.registration-id {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.status-banner {
  margin-bottom: 8px !important;
}

.status-pill {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  border-top: 1px solid #ccc !important;
  background: #111;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.info-panel {
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 1rem;
  padding: 1.25rem;
  background: #fff;
}

.section-title {
  font-weight: 700;
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6c757d;
  margin-bottom: 1rem;
}

.info-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.info-row:last-child {
  border-bottom: none;
}

.info-label {
  color: #6c757d;
  font-weight: 600;
  min-width: 140px;
}

.info-value {
  text-align: right;
  font-weight: 500;
}

.important-note p {
  line-height: 1.6;
}

@media (max-width: 767.98px) {
  .info-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .info-value {
    text-align: left;
  }
}

.no-print {
  margin-top: 1.5rem;
}

.no-print .btn {
  min-width: 180px;
  transition: all 0.2s ease;
}

.no-print .btn-outline-secondary:hover {
  background-color: #b30000;
  border-color: #b30000;
  color: #fff;
}

.no-print .btn-dark:hover {
  background-color: #8f0000;
  border-color: #8f0000;
  color: #fff;
}

@media print {
  @page {
    size: A4;
    margin: 8mm;
  }

  html,
  body {
    background: #fff !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  body.blur-bg::before {
    display: none !important;
    content: none !important;
  }

  nav,
  .navbar,
  footer,
  .footer,
  .lang-switch,
  .language-switcher,
  .no-print {
    display: none !important;
  }

  main {
    padding: 0 !important;
    margin: 0 !important;
  }

  .container,
  .row.justify-content-center,
  .col-lg-10,
  .col-xl-8 {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .registration-sheet,
  .card {
    border: 1px solid #ccc !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow: hidden !important;
    background: #fff !important;
  }

  .card-body {
    padding: 14px !important;
  }

  .sheet-header {
    border-bottom: 1px solid #ddd !important;
    padding-bottom: 12px !important;
    margin-bottom: 12px !important;
  }

  .sheet-header::before {
    width: 56px !important;
    height: 3px !important;
    margin-bottom: 0.6rem !important;
  }

  .sheet-header h1 {
    font-size: 1.9rem !important;
    margin-bottom: 0.35rem !important;
  }

  .sheet-header p {
    font-size: 0.95rem !important;
    margin-bottom: 0 !important;
  }

  .registration-id-box {
    min-width: 150px !important;
  }

  .registration-id {
    font-size: 1rem !important;
  }

  .status-banner {
    margin-bottom: 12px !important;
  }

  .status-pill {
    padding: 0.25rem 0.7rem !important;
    font-size: 0.68rem !important;
  }

  .row.g-4 {
    --bs-gutter-x: 12px !important;
    --bs-gutter-y: 12px !important;
  }

  .row.g-4 > .col-md-6 {
    width: 50% !important;
    max-width: 50% !important;
    flex: 0 0 50% !important;
    display: block !important;
  }

  .info-panel {
    padding: 0.85rem !important;
    border-radius: 0.75rem !important;
    page-break-inside: avoid !important;
    break-inside: avoid !important;
  }

  .section-title {
    font-size: 1rem !important;
    margin-bottom: 0.6rem !important;
    letter-spacing: 0.05em !important;
  }

  .info-row {
    padding: 0.42rem 0 !important;
    gap: 0.75rem !important;
    page-break-inside: avoid !important;
    break-inside: avoid !important;
  }

  .info-label,
  .info-value {
    font-size: 0.9rem !important;
    line-height: 1.3 !important;
  }

  .important-note {
    border-top: 1px solid #ddd !important;
    padding-top: 12px !important;
    margin-top: 12px !important;
    margin-bottom: 0 !important;
    page-break-inside: avoid !important;
    break-inside: avoid !important;
  }

  .important-note h3 {
    font-size: 0.9rem !important;
    margin-bottom: 0.35rem !important;
  }

  .important-note p {
    font-size: 0.88rem !important;
    line-height: 1.4 !important;
    margin-bottom: 0.35rem !important;
  }

  .registration-sheet .email-note {
    font-size: 0.8rem !important;
    margin-bottom: 0 !important;
  }

  .registration-watermark {
    opacity: 0.25;
    background-size: 240px;
    filter: grayscale(100%) brightness(1.2);
  }
  .qr-code-img {
    width: 56px !important;
    height: 56px !important;
    padding: 2px !important;
  }

  .qr-caption {
    font-size: 0.6rem !important;
    margin-top: 0.1rem !important;
  }
}

.sheet-logo {
  width: 40px;
  height: 40px;
  object-fit: contain;
  margin-bottom: 4px;
}

.qr-box {
  display: inline-block;
}

.qr-code-img {
  width: 88px;
  height: 88px;
  object-fit: contain;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 0.5rem;
  padding: 4px;
}

.qr-caption {
  font-size: 0.72rem;
  margin-top: 0.35rem;
}

.social-footer {
  background: #0a0a0a;
  color: #fff;
  padding: 3rem 0 1.75rem;
}

.social-footer-title {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  margin-bottom: 1rem;
}

.social-footer-divider {
  width: 120px;
  height: 2px;
  background: #e50914;
  margin: 0 auto 2.5rem auto;
}

.social-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.social-icon {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: transparent;
  border: 2px solid #e50914;
  color: #e50914;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  text-decoration: none;
  transition: all 0.25s ease;
}

.social-icon:hover {
  background: #e50914;
  color: #fff;
  transform: translateY(-3px) scale(1.04);
}

.social-footer-copy {
  text-align: center;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
}

.social-footer-note {
  margin-top: 1rem;
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
  text-align: center;
}



@media (max-width: 767.98px) {
  .social-footer {
    padding: 2.5rem 0 1.5rem;
  }

  .social-footer-title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    margin-bottom: 1rem;
  }

  .social-footer-divider {
    width: 120px;
    height: 2px;
    background: #e50914;
    margin: 0 auto 2.5rem auto;
  }

  .social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
  }

  .social-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #111;
    border: 2px solid #e50914;
    color: #e50914;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: all 0.25s ease;
  }

  .social-icon:hover {
  background: #e50914;
  color: #fff;
  transform: translateY(-3px) scale(1.05);
  }
}


.about-page {
  position: relative;
}

.about-hero {
  max-width: 900px;
}

.about-kicker {
  color: rgba(255, 255, 255, 0.72);
  letter-spacing: 0.08em;
}

.about-title {
  font-size: clamp(2.2rem, 4vw + 1rem, 4rem);
  font-weight: 800;
  text-transform: uppercase;
  line-height: 1.05;
}

.about-lead {
  max-width: 760px;
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
}

.about-panel {
  background: rgba(17, 17, 17, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 3px solid #e50914;
  border-radius: 1.25rem;
  padding: 1.5rem;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.about-section-title {
  font-size: 1.05rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1rem;
}

.about-panel p,
.about-panel li {
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.7;
}

.about-list {
  padding-left: 1.2rem;
}

.about-list li {
  margin-bottom: 0.35rem;
}

.about-mini-card {
  height: 100%;
  padding: 1rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.about-mini-title {
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.75rem;
  color: #fff;
}

.about-closing {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.about-motto {
  font-size: 1.2rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.92);
}

.about-closing-text {
  color: rgba(255, 255, 255, 0.75);
}

/* Remove blue flash on click */
.dropdown-item:focus,
.dropdown-item:active {
    background-color: transparent !important;
    color: #fff !important;
}

/* Optional: keep hover nice */
.dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.05);
}

/* Your active state (red theme) */
.dropdown-item.active {
    background-color: rgba(255, 0, 0, 0.15);
    color: #ff3b3b;
}

.category-item {
  background: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 1rem;
  padding: 1rem 1.1rem;
  height: 100%;
  line-height: 1.5;
  transition: all 0.2s ease;
}

.category-item strong {
  font-size: 0.95rem;
  letter-spacing: 0.02em;
}

.category-item:hover {
  background: rgba(229, 9, 20, 0.10);
  border-color: rgba(229, 9, 20, 0.25);
  transform: translateY(-2px);
}

.about-closing {
  max-width: 700px;
  margin: 3rem auto 0;
  opacity: 0.85;
}

.meet-meta {
  color: rgba(255, 255, 255, 0.72);
}

.meet-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.meet-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.meet-card-title {
  font-size: 1.7rem;
  font-weight: 700;
}

.meet-status-badge {
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}

.meet-card-actions .btn {
  min-width: 160px;
}

button.active {
  border-color: #e50914 !important;
  background-color: #e50914 !important;
  color: #fff !important;
}

.htmx-indicator {
  display: none;
}

.htmx-request .htmx-indicator,
.htmx-request.htmx-indicator {
  display: block;
}

.meet-card-link {
  display: block;
}

.meet-card-link:hover,
.meet-card-link:focus {
  text-decoration: none;
  color: inherit;
}

.meet-meta {
  color: rgba(255, 255, 255, 0.72);
}

.meet-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  cursor: pointer;
}

.meet-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.meet-card-title {
  font-size: 1.7rem;
  font-weight: 700;
}

.meet-status-badge {
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}

.meet-card-cta {
  display: inline-block;
  min-width: 160px;
  text-align: center;
  padding: 0.45rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: 0.375rem;
  color: #fff;
  font-size: 0.875rem;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.meet-card:hover .meet-card-cta {
  background-color: rgba(229, 9, 20, 0.15);
  border-color: #e50914;
}

.meet-card-link:focus .meet-card {
  box-shadow: 0 0 0 0.2rem rgba(229, 9, 20, 0.25);
}

.staff-card {
  background: rgba(17, 17, 17, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-top: 3px solid #e50914;
  border-radius: 1.25rem;
  padding: 1.5rem;
  height: 100%;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  display: flex;
  flex-direction: column;
}

.staff-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.45);
}

.staff-photo,
.staff-photo-placeholder {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  margin-bottom: 1rem;
  border: 2px solid rgba(229, 9, 20, 0.65);
}

.staff-photo {
  object-fit: cover;
  display: block;
}

.staff-photo-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;

  background: linear-gradient(
    145deg,
    rgba(229, 9, 20, 0.18),
    rgba(255, 255, 255, 0.03)
  );

  color: #fff;
  font-weight: 800;
  font-size: 1.4rem;

  box-shadow: 0 0 18px rgba(229, 9, 20, 0.18);
}

.staff-role {
  color: #e50914;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.staff-name {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.staff-description {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.65;
  font-size: 0.95rem;
}

.staff-social {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-weight: 600;
}

.staff-social:hover {
  color: #ff3b3b;
}

.staff-social-muted {
  opacity: 0.65;
}