:root {
  color-scheme: dark;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #0b1a3a;
  color: #f8fafc;
}

html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

@keyframes fadeInPage {
  from { opacity: 0; }
  to { opacity: 1; }
}

body {
  margin: 0;
  line-height: 1.6;
  animation: fadeInPage 0.8s ease-in-out forwards;
}

body.events-body {
  background-image: url('./photos/background5.jpg');
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.container {
  width: min(1100px, calc(100% - 2rem));
  margin: 0 auto;
}

.site-header {
  background: #112854;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: sticky;
  top: 0;
  z-index: 100;
  height: 5rem;
}

.join-body .site-header {
  position: relative;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0;
  height: 100%;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  color: #f8fafc;
  font-weight: 700;
  text-decoration: none;
}

.brand-text {
  font-size: 1.1rem;
  letter-spacing: 0.02em;
}

nav {
  display: flex;
  gap: 0;
  align-items: center;
  height: 100%;
}

nav a {
  color: #f8fafc;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 5rem;
  height: 5rem;
  background: #112854;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 0;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

nav a:hover {
  color: #ffffff;
  background: #0b1a3a;
  border-color: #0b1a3a;
}

.nav-join-button {
  background: #2563eb;
  border-color: #2563eb;
}

.nav-join-button:hover {
  background: #3b82f6;
  border-color: #3b82f6;
  color: #ffffff;
}

.hero {
  padding: 8rem 0 5rem;
  /* make the image span the full width of the viewport */
  background: linear-gradient(180deg, rgba(4, 23, 43, 0.233) 0%, rgba(11, 46, 89, 0.274) 45%, rgba(13, 61, 120, 0.199) 100%), url("./photos/background1.jpg");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  min-height: 135vh;
  display: flex;
  align-items: center;
  position: relative;
}

.hero-center {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-direction: column;
}

/* push hero content downward to reveal background subjects */
.hero-center.shift-down {
  padding-top: 60vh;
}

@media (max-width: 860px) {
  .hero-center.shift-down {
    padding-top: 28vh;
  }
}

@keyframes fadeInUpIntro {
  from {
    opacity: 0;
    transform: translate(-50%, calc(-50% + 20px));
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%);
  }
}

.hero-intro {
  max-width: 48rem;
  width: min(90%, 48rem);
  background: #112854;
  padding: 3rem 2rem;
  border-radius: 1.25rem;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: absolute;
  top: 35%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  opacity: 0;
  animation: fadeInUpIntro 1s ease-out 1s forwards;
  filter: drop-shadow(8px 6px 0px #2563eb);
}

.hero-intro::after {
  content: '';
  position: absolute;
  bottom: -70px;
  border-width: 80px 80px 0;
  border-style: solid;
  border-color: #112854 transparent transparent transparent;
  display: block;
  width: 0;
}

.hero-logo {
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1.5rem;
}

.hero .eyebrow {
  display: inline-block;
  margin-bottom: 1rem;
  color: #93c5fd;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.85rem;
}

@keyframes fadeInUpH1 {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero h1 {
  font-size: clamp(2.75rem, 4vw, 4.5rem);
  line-height: 1.05;
  margin: 0;
  color: #f8fafc;
  text-align: center;
}

.hero-text {
  max-width: 40rem;
  margin: 0 0 2rem;
  color: #dbeafe;
  font-size: 1.05rem;
}

.landing-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.logo-image {
  width: 3rem;
  height: 3rem;
  object-fit: contain;
  border-radius: 0.5rem;
}

.hero-logo {
  width: 6rem;
  height: 6rem;
  margin: 0 auto 1.5rem;
}

@keyframes fadeInUpActions {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 1.5rem;
  opacity: 0;
  animation: fadeInUpActions 0.8s ease-out 1.5s forwards;
}

.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1rem;
}

.hero-card {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 1.25rem;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
  color: #0f172a;
}

.hero-card h2 {
  margin-top: 0;
}

.hero-card ul {
  margin: 1.25rem 0 0;
  padding-left: 1.25rem;
  color: #000000;
}

.hero-card li {
  margin-bottom: 0.75rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 1.75rem;
  background: #2563eb;
  color: #ffffff;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
  cursor: pointer;
}

.button:hover,
.button:focus-visible {
  background: #3b82f6;
  transform: translateY(-1px);
  box-shadow: 0 16px 30px rgba(37, 99, 235, 0.18);
}

.button-secondary {
  background: #4b5563;
  color: #ffffff;
  border: 1px solid #374151;
  transition: transform 180ms ease, background-color 180ms ease, color 180ms ease, border-color 180ms ease;
  cursor: pointer;
}

.button-secondary:hover,
.button-secondary:focus-visible {
  background: #374151;
  color: #ffffff;
  border-color: #1f2937;
}

.profile-card h3 {
  margin: 0;
  font-size: clamp(1.25rem, 2vw, 1rem);
  color: #000000;
  text-align: center;
}

.section {
  padding: 5.5rem 0;
  background-color: #0b1a3a;
}

.section-header {
  margin-bottom: 2rem;
  text-align: center;
}

.section-header h1,
.section-header h2 {
  margin: 0 0 1.5rem;
  font-size: clamp(2.25rem, 3vw, 3.5rem);
  color: #ffffff;
  text-align: center;
}

.spacer {
  height: 16rem;
  background-color: transparent !important;
  background-image: none !important;
}

.title-box {
  display: inline-block;
  padding: 0.85rem 2.25rem;
  background: #f6f6f6;
  color: #000000 !important;
  border-radius: 1rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
  margin: 0 auto 1.5rem;
}

.section-header.straddle,
#about .section-header,
#mission .section-header,
#calendar .section-header {
  margin-top: -5.5rem;
  margin-bottom: 0;
  text-align: center;
}

.section-header.straddle .title-box,
#about .section-header h2,
#mission .section-header h2,
#calendar .section-header h2 {
  display: inline-block;
  margin: 0 0 3rem;
  transform: translateY(-25%);
  padding: 0.85rem 2.25rem;
  background: #f6f6f6;
  color: #000000 !important;
  border-radius: 1rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
  position: relative;
  z-index: 5;
}

@media (max-width: 860px) {
  .title-box,
  #about .section-header h2,
  #mission .section-header h2,
  #calendar .section-header h2 {
    padding: 0.75rem 1.75rem;
  }
  .section-header.straddle .title-box,
  #about .section-header h2,
  #mission .section-header h2,
  #calendar .section-header h2 {
    margin: 0 0 2.5rem;
  }
}

.newsletter-form {
  display: grid;
  gap: 1rem;
  max-width: 34rem;
}

.newsletter-form label {
  color: #dbeafe;
  font-weight: 600;
}

.newsletter-form input {
  width: 100%;
  padding: 0.95rem 1rem;
  border-radius: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.08);
  color: #f8fafc;
}

.newsletter-form input::placeholder {
  color: rgba(248, 250, 252, 0.65);
}

.form-message {
  margin: 0;
  min-height: 1.5rem;
}

.form-message.success {
  color: #86efac;
}

.form-message.error {
  color: #fca5a5;
}

.cards.feature-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.cards.social-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.cta-banner {
  background: linear-gradient(135deg, #2563eb, #0f3460);
  color: #ffffff;
  padding: 3.5rem 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.cta-inner h2,
.cta-inner p {
  margin: 0;
}

.contact-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 1.25rem;
  padding: 2rem;
  color: #000000;
}

.cards.team-grid {
  display: grid;
  gap: 3rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  margin-top: 3rem;
  justify-items: center;
  justify-content: center;
  align-items: start;
}

.profile-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1rem;
  max-width: 380px;
  width: 100%;
  position: relative;
  padding-bottom: 18rem;
}

.profile-card {
  padding: 1.75rem;
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 1rem;
  color: #000000;
  width: 100%;
}

.profile-avatar {
  width: 210px;
  height: 210px;
  margin-bottom: 2rem;
  background-color: #dbe9ff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 120'%3E%3Ccircle cx='60' cy='60' r='58' fill='%232563eb'/%3E%3Cpath fill='%23ffffff' d='M60 34a18 18 0 1 0 0 36 18 18 0 0 0 0-36zm0 50c-16.1 0-29.2 11.7-31.2 26.9a3 3 0 0 0 3 3.1h56.4a3 3 0 0 0 3-3.1C89.2 95.7 76.1 84 60 84z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 60%;
  border-radius: 999px;
  border: 3px solid #f8fafc;
}

.profile-card .profile-role {
  margin: 0 0 0.35rem;
  color: #000000;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-align: center;
}

.profile-email-text {
  margin: 0.5rem 0 0;
  color: #0f172a;
  font-size: 0.95rem;
}

.profile-email a {
  color: #2563eb;
  text-decoration: none;
}

.profile-email a:hover {
  text-decoration: underline;
}

.profile-details {
  margin-top: 0;
  text-align: left;
  width: 100%;
  position: absolute;
  top: calc(100% - 18rem);
  left: 0;
  z-index: 10;
  padding-top: 1rem;
}

.profile-details details {
  margin-bottom: 0.5rem;
  background: transparent;
  border: none;
  padding: 0.5rem 0;
}

.profile-details summary {
  font-weight: 600;
  cursor: pointer;
  color: #f6f6f6;
  font-size: 0.95rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  list-style: none;
}

.profile-details summary::-webkit-details-marker {
  display: none;
}

.profile-details summary::after {
  content: '+';
  font-size: 1.25rem;
}

.profile-details details[open] summary::after {
  content: '\2212'; /* Mathematical minus sign for exact vertical centering */
}

.profile-details p {
  font-size: 0.85rem;
  margin: 0;
  color: #f6f6f6;
}

.profile-details .profile-email a {
  color: #f6f6f6;
  text-decoration: underline;
}

/* Details Dropdown Animation */
details[open] summary ~ * {
  animation: dropdownExpand 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

@keyframes dropdownExpand {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.profile-details details summary ~ * {
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), margin-top 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  max-height: 0;
  opacity: 0;
  transform: translateY(-8px);
  overflow: hidden;
  margin-top: 0;
  animation: none;
}

.profile-details details[open] summary ~ * {
  animation: profileDropdownExpand 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  max-height: 400px;
  opacity: 1;
  transform: translateY(0);
  margin-top: 0.5rem;
}

@keyframes profileDropdownExpand {
  from {
    max-height: 0;
    opacity: 0;
    transform: translateY(-8px);
    margin-top: 0;
  }
  to {
    max-height: 400px;
    opacity: 1;
    transform: translateY(0);
    margin-top: 0.5rem;
  }
}

.profile-details details.closing[open] summary ~ * {
  animation: none;
  max-height: 0;
  opacity: 0;
  transform: translateY(-8px);
  margin-top: 0;
}

.footer-inner {
  padding: 1rem 0;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

@media (max-width: 860px) {
  .hero-grid,
  .cta-inner,
  .contact-card {
    grid-template-columns: 1fr;
    display: block;
  }

  .hero-card,
  .contact-card {
    padding: 1.5rem;
  }
}

@media (max-width: 860px) {
  .hero h1 {
    font-size: clamp(1.75rem, 5vw, 2.5rem);
  }

  .hero-intro {
    top: 40%;
    padding: 2rem 1.5rem;
  }
}

.section.alt {
  background: #112854;
}

.section h2 {
  margin: 0 0 1.25rem;
  font-size: 2rem;
  color: #f8fafc;
  text-align: center;
}

.section p {
  max-width: 44rem;
  color: #cbd5e1;
  margin: 0 auto;
  text-align: center;
}

.cards {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  margin-top: 2rem;
}

.card,
.hero-card,
.contact-card {
  color: #000000;
}

.card {
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 1rem;
  padding: 1.75rem;
  color: #000000;
}

.events-body .card,
.join-body .card,
.contact-card,
.social-grid .card {
  box-shadow: 8px 8px 0px #204a99;
  transition: opacity 0.8s ease-out, transform 1s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 1s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.events-body .card:hover,
.join-body .card:hover,
.contact-card:hover,
.social-grid .card:hover {
  transform: translate(-4px, -4px);
  box-shadow: 12px 12px 0px #3b82f6;
}

.card h3 {
  margin-top: 0;
}

.card p {
  color: #6f6f6f;
  text-align: left;
}

.social-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: stretch;
}

.social-card > div {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.social-card p {
  color: #6f6f6f;
  text-align: left;
  margin-bottom: 1.5rem;
}

.social-card .button {
  margin-top: auto;
  align-self: flex-end;
}

.social-logo {
  width: 3rem;
  height: 3rem;
  object-fit: contain;
  align-self: flex-start;
}

.blog-card {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.blog-meta {
  display: flex;
  justify-content: flex-start;
}

.blog-date {
  display: inline-block;
  background: #e0f2fe;
  color: #2563eb;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 700;
}

.site-footer {
  padding: 1.5rem 0;
  background: #112854;
  color: #cbd5e1;
}

.site-footer p {
  margin: 0;
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-social-icon {
  width: 1.5rem;
  height: 1.5rem;
  object-fit: contain;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer-socials a {
  color: #cbd5e1;
  display: inline-flex;
}

.footer-socials a:hover .footer-social-icon {
  opacity: 0.8;
  transform: translateY(-2px);
}

.calendar-embed {
  display: flex;
  justify-content: center;
  width: 100%;
  margin-top: 2rem;
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 1.25rem;
  padding: 1.5rem;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
}

.calendar-embed iframe {
  width: 100%;
  max-width: 100%;
  height: 600px;
  border: none !important;
  border-radius: 0.5rem;
}

@media (max-width: 860px) {
  .calendar-embed iframe {
    width: 100%;
    height: 500px;
  }
}

/* Newsletter Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(11, 26, 58, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  backdrop-filter: blur(4px);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: #ffffff;
  padding: 3rem 1.5rem 1.5rem;
  border-radius: 1.25rem;
  width: min(500px, calc(100% - 2rem));
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  transform: translateY(20px);
  transition: transform 0.3s ease;
  color: #0f172a;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.15);
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 0.75rem;
  right: 1.25rem;
  background: transparent;
  border: none;
  font-size: 2rem;
  cursor: pointer;
  color: #64748b;
  line-height: 1;
  padding: 0;
  transition: color 0.2s ease;
  z-index: 2;
}

.modal-close:hover {
  color: #0f172a;
}

/* Scroll Animations */
.animate-on-scroll {
  opacity: 0;
}

@keyframes fadeInRightScroll {
  from {
    opacity: 0;
    transform: translateX(40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInLeftScroll {
  from {
    opacity: 0;
    transform: translateX(-40px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.fade-in-right.visible {
  animation: fadeInRightScroll 0.8s ease-out forwards;
}

.fade-in-left.visible {
  animation: fadeInLeftScroll 0.8s ease-out forwards;
}

@keyframes fadeInScroll {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in.visible {
  animation: fadeInScroll 0.8s ease-out forwards;
}

@keyframes fadeInUpLinear {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up-linear.visible {
  animation: fadeInUpLinear 0.8s linear forwards;
}

/* We use transitions instead of animations to prevent hover snapping */
.lift-out-shadow {
  opacity: 0;
  transform: translate(8px, 8px);
  box-shadow: 0px 0px 0px #204a99;
  transition: opacity 0.8s ease-out, transform 1s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 1s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.lift-out-shadow.visible {
  opacity: 1;
  transform: translate(0, 0);
  box-shadow: 8px 8px 0px #204a99;
}

/* Parallax Section & Floating Profiles */
.parallax-section {
  background: linear-gradient(rgba(4, 23, 43, 0.7), rgba(4, 23, 43, 0.7)), url("./photos/background2.jpg");
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.parallax-section .profile-card {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.65);
}

.parallax-section .profile-avatar {
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.65);
}

.connect-page-banner {
  height: 35vh;
  min-height: 250px;
  background-image: linear-gradient(rgba(4, 23, 43, 0.6), rgba(4, 23, 43, 0.6)), url('./photos/background3.jpg');
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.connect-page-banner .button-group {
  transform: translateY(-5rem);
}

.events-page-banner {
  height: 40vh;
  min-height: 400px;
  background-image: linear-gradient(rgba(4, 23, 43, 0.267), rgba(4, 23, 43, 0.116)), url('./photos/background4.jpg');
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Global Animation Toggle */
body.no-animations *,
body.no-animations *::before,
body.no-animations *::after {
  animation-duration: 0.01ms !important;
  animation-delay: 0.01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.01ms !important;
  transition-delay: 0.01ms !important;
  scroll-behavior: auto !important;
}

/* Special Join Button */
.special-join-button {
  font-size: 1.5rem !important;
  padding: 1.25rem 3.5rem !important;
  transition: background-color 0.4s ease, box-shadow 0.4s ease, color 0.4s ease !important;
  position: relative;
  z-index: 102;
  will-change: transform;
}

.special-join-button:hover {
  background-color: #60a5fa !important;
  box-shadow: 0 0 50px 20px rgba(96, 165, 250, 0.75) !important;
  color: #ffffff !important;
}

#member-card {
  position: relative;
  z-index: 102;
}

/* Mute Toggle */
.mute-container {
  text-align: center;
  padding-top: 2rem;
  position: relative;
  z-index: 100;
}

.mute-toggle-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #f6f6f6;
  color: #000000;
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid #d1d5db;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: background-color 0.2s ease;
}

.mute-toggle-label:hover {
  background: #e5e7eb;
}

/* Easter Egg Black Hole */
@keyframes collapseToVoid {
  0% { transform: scale(1.5) rotate(0deg); opacity: 1; filter: brightness(1); }
  30% { transform: scale(0.8) rotate(180deg); opacity: 1; filter: brightness(0); background-color: #000000; color: transparent; box-shadow: none; }
  100% { transform: scale(0) rotate(720deg); opacity: 1; filter: brightness(0); background-color: #000000; color: transparent; box-shadow: none; }
}

.collapsing-btn {
  animation: collapseToVoid 1.5s cubic-bezier(0.5, 0, 0.2, 1) forwards !important;
  pointer-events: none;
  color: transparent !important;
}

.bh-shockwave {
  position: absolute;
  width: 20px; height: 20px;
  margin-left: -10px; margin-top: -10px;
  border-radius: 50%;
  background: transparent;
  border: 4px solid rgba(255, 255, 255, 0.8);
  box-shadow: 0 0 40px 20px rgba(200, 220, 255, 0.5), inset 0 0 40px 20px rgba(200, 220, 255, 0.5);
  z-index: 1005;
  pointer-events: none;
  animation: shockwaveExpand 2.5s cubic-bezier(0.1, 0.8, 0.1, 1) forwards;
}
@keyframes shockwaveExpand {
  0% { transform: scale(1); opacity: 1; border-width: 10px; }
  100% { transform: scale(300); opacity: 0; border-width: 0px; }
}

/* Void Button Easter Egg */
#void-btn {
  position: fixed;
  z-index: 105;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translate(-50%, -50%);
  text-decoration: none;
  cursor: pointer;
}

.void-text {
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 6rem;
  white-space: nowrap;
  font-family: 'Courier New', Courier, monospace;
  color: #ffffff;
  font-size: 1.15rem;
  letter-spacing: 0.15em;
  opacity: 0;
  animation: fadeInPage 2s ease-out 5s forwards;
}

.void-hitbox {
  width: 90px;
  height: 90px;
  border-radius: 50%;
}

/* Development Warning Banner */
.dev-warning {
  position: fixed;
  top: 1.25rem;
  left: 1.25rem;
  background: #ffffff;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 9999;
  max-width: 320px;
  transition: opacity 0.5s ease;
}

.dev-warning.fade-out {
  opacity: 0;
  pointer-events: none;
}

.dev-warning-icon {
  background-color: #b8860b; /* Dark yellow */
  color: #ffffff;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.dev-warning-text {
  color: #000000;
  font-family: sans-serif;
  font-size: 0.85rem;
  line-height: 1.3;
}
