

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* Full-page video (pure background) */
#bg-video {
  position: fixed;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  object-fit: cover;
  transform: translate(-50%, -50%);
  z-index: -2;
  pointer-events: none;
}

/* Dark overlay on top of video */
.bg-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: -1;
  pointer-events: none;
}


/* No z-index needed here; let Bootstrap handle modals */
.page-content {
  position: relative;
}


/* === Responsive Header with Left Logo === */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #fff;
  padding: 10px 20px;
  border-bottom: 1px solid rgba(0,0,0,.08); /* was white-on-white */
}

/* Logo sizing */
.site-header .logo img {
  height: 56px;
  width: auto;
  display: block;
}
@media (max-width: 576px){
  .site-header .logo img { height: 44px; }
}

/* Bootstrap navbar polish (use .navbar/.nav-link) */
.navbar { background: transparent !important; }
.navbar .nav-link {
  color: #0b1726;                /* darker for contrast on white */
  font-weight: 600;
  transition: transform .25s ease, box-shadow .25s ease, color .2s ease;
  display: inline-block;
}
.navbar .nav-link:hover,
.navbar .nav-link:focus {
  color: #0d6efd;                /* Bootstrap primary */
  transform: translateY(-3px);
  box-shadow: 0 4px 10px rgba(13,110,253,.2);
}

/* Stack header content on small screens */
@media (max-width: 768px) {
  .site-header {
    flex-direction: column;
    align-items: center;
    gap: .5rem;
  }
}

/* Modal: fade-up with lightbox shadow */
.modal.fade .modal-dialog {
  transform: translateY(14px);
  transition: transform .25s ease, opacity .25s ease;
}
.modal.show .modal-dialog { transform: translateY(0); }
.modal-content {
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 14px;
  box-shadow: 0 30px 80px rgba(0,0,0,.45);
}

/* Optional centered profile image inside modal */
.centered-profile {
  display: block;
  margin: 0 auto;
  max-width: 250px;
  width: 100%;
  height: auto;
}

/* Cards: single, consolidated set */
.card {
  border-radius: 20px !important;
  overflow: hidden; /* clip rounded corners */
  transition: transform .18s ease, box-shadow .18s ease;
  box-shadow: 0 2px 10px rgba(0,0,0,.08);
}
.card:hover,
.card:focus-within {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(0,0,0,.18);
}
.card > .card-img-top {
  border-top-left-radius: 20px !important;
  border-top-right-radius: 20px !important;
}
.card a.btn:focus-visible { box-shadow: 0 0 0 .2rem rgba(13,110,253,.5); }

/* Header container spacing */
.site-header .container-fluid { gap: 1rem; }

/* Carousel transition with reduced-motion respect */
.carousel .carousel-item { transition: transform .6s ease-in-out; }
@media (prefers-reduced-motion: reduce) {
  .carousel .carousel-item { transition: none; }
}

.modal-body img {
  display: block;
  margin: 0 auto 1rem auto;
  max-width: 180px;        /* adjust size here */
  width: 100%;
  height: auto;
}

/* Newspaper spin reveal */
@keyframes newspaperSpin {
  0% {
    transform: scale(0.1) rotate(-720deg);
    opacity: 0;
  }
  60% {
    opacity: 1;
  }
  100% {
    transform: scale(1) rotate(0deg);
  }
}

.modal-body img.spinning {
  animation: newspaperSpin 0.9s ease-out;
}


.spinning {
  display: block;
  margin: 0 auto 1rem;
  max-width: 220px;
  animation: spinIn 0.7s ease-out;
}

@keyframes spinIn {
  from { transform: scale(0.2) rotate(-360deg); opacity: 0; }
  to   { transform: scale(1) rotate(0deg);      opacity: 1; }
}

.menu-link {
  display: block;
  padding: 12px 0;
  font-size: 1.2rem;
  color: #0b0f14;
  text-decoration: none;
}

.menu-link:hover {
  color: #0d6efd;
}

.submenu {
  padding-left: 15px;
  margin-top: 5px;
}

.submenu-link {
  display: block;
  padding: 8px 0;
  font-size: 1rem;
  text-decoration: none;
  color: #333;
}

.submenu-link:hover {
  color: #0d6efd;
}




.rounded-info-box {
  background: rgba(255, 255, 255, 0.12);
  padding: 1.5rem;
  border-radius: 20px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.2);

  /* Center nicely on all screens */
  max-width: 900px;
  margin: 1.5rem auto;   /* ← this centers it instead of 1rem 20rem */

  /* Fade-in animation */
  opacity: 0;
  transform: translateY(15px);
  animation: fadeInCard 0.8s ease-out forwards;

  /* Drop shadow */
  box-shadow: 0 8px 20px rgba(0,0,0,0.35);

  /* Smooth transition for hover glow */
  transition: box-shadow 0.35s ease, transform 0.35s ease;
}


@media (max-width: 576px) {
  .rounded-info-box {
    margin: 1rem 1rem;   /* small side padding on tiny screens */
  }
}



/* Hover glow + slight lift */
.rounded-info-box:hover {
  box-shadow: 0 0 25px rgba(255, 255, 255, 0.35), 
              0 10px 25px rgba(0, 0, 0, 0.4);
  transform: translateY(-4px);
}

/* Keyframes for fade-in */
@keyframes fadeInCard {
  from {
    opacity: 0;
    transform: translateY(15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Coin reveal animation styles */
/* Start hidden / slightly shrunk */
.coin {
  opacity: 0;
  transform: translateY(20px) scale(0.9) rotateY(10deg);
  transition:
    opacity 0.6s ease-out,
    transform 0.6s ease-out;
  will-change: opacity, transform;
}

/* When activated by JS */
.coin.visible {
  opacity: 1;
  transform: translateY(0) scale(1) rotateY(0);
}