body {
  margin: 0;
  font-family: "Chiron GoRound TC", "Inter", "Noto Sans TC", system-ui, sans-serif;
  background: #fed3ee;
  color: #111;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6,
button, input, textarea, select,
.navbar-brand, .nav-link, .btn, .dropdown-item {
  font-family: "Chiron GoRound TC", sans-serif;
}

main#mainContent {
  flex: 1;
  width: 100%;
}

.navbar-nav .nav-link:hover,
.dropdown-menu .dropdown-item:hover {
  color: #ffffff !important;
  text-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
  transition: 0.3s ease;
}

.dropdown-item:hover {
  background-color: #bb377d !important;
}

.nav-social-icon {
  transition: color 0.3s ease;
  text-decoration: none;
}

.nav-social-icon.facebook:hover {
  color: #1877F2 !important;
}

.nav-social-icon.instagram:hover {
  color: #7b0692cc !important;
}

.nav-social-icon.youtube:hover {
  color: #fd0000 !important;
}
#introOverlay {
  position: fixed;
  inset: 0;
  background: #fed3ee;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 1;
  transition: opacity 0.6s ease;
}

#introOverlay.hide {
  opacity: 0;
  pointer-events: none;
}

.introWrap {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#introVideo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
  object-position: center center;
  background: #fed3ee;
}

#tapHint {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  padding: 12px 25px; 
  font-size: 19px;    
  border-radius: 999px;
  background: #fed3ee;
  border: 1px solid #FBD3E9;
  color: #BB377D;
  opacity: 0.85;
  font-weight: 700;
  letter-spacing: 0.5px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  backdrop-filter: blur(8px);
  user-select: none;
  pointer-events: none;
  z-index: 10;
}

#tapHint.hide {
  display: none;
}

.skipBtn {
  position: absolute;
  bottom: 18px;
  right: 18px;
  padding: 0;
  margin: 0;
  border: none;
  background: transparent;
  color: #BB377D;
  font-size: 20px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  user-select: none;
}

.skipBtn:hover {
  color: #C86191;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration: none;
}

#mainContent {
  display: none; 
  max-width: 980px;
  margin: 0 auto;
  padding: 15px 18px 20px 18px; 
  opacity: 0;
}

#mainContent.show {
  display: block;
  animation: fadeIn 0.8s ease forwards;
}

#footer-placeholder {
  display: none;
  opacity: 0;
  width: 100%;
}

#footer-placeholder.show {
  display: block;
  animation: fadeIn 0.8s ease forwards;
}

.mb-1{
  color: #fff;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 900px) {
  #introOverlay {
    background: #fed3ee !important;
    padding: 0;
  }

  #introVideo {
    object-fit: cover;
    background: #fed3ee !important;
  }
  
  .introWrap {
    width: 100%;
    height: 100%;
    aspect-ratio: auto;
    border-radius: 0;
  }
}
@keyframes fadeDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 992px) {
  .navbar .dropdown:hover .dropdown-menu {
    display: block;
    animation: fadeDown 0.3s ease-out forwards; 
  }

  .navbar .dropdown-menu {
    margin-top: 0; 
  }
}

.dropdown-menu.show {
  animation: fadeDown 0.3s ease-out forwards;
}

@media (max-width: 991px) {
  .navbar-collapse .dropdown-menu.show {
    border: none;              
    margin-top: 0;             
    background-color: rgba(251, 211, 233, 0.3) !important; 
    padding-left: 20px;        
  }

  .navbar-collapse .dropdown-item {
    color: #fff !important;    
    padding-top: 10px;
    padding-bottom: 10px;
  }
  
  .navbar-collapse .dropdown-item:hover {
    background-color: rgba(255, 255, 255, 0.1); 
  }
}

@media (max-width: 900px) and (orientation: portrait) {
  #tapHint {
    background: #FCA39D !important;
    border: 1px solid #FFE4E1; 
    opacity: 0.95;
  }
}