/* ==========================================================================
   Birthday Countdown Widget
   ========================================================================== */
.countdown-widget {
  width: 92%;
  max-width: 340px;
  background: linear-gradient(160deg, #ffffff 0%, #faf8f0 100%);
  border: 1.5px solid #d8cdb4;
  border-radius: 18px;
  position: relative;
  overflow: hidden;
  box-shadow:
    0 4px 20px rgba(180, 160, 110, 0.15),
    0 1px 4px rgba(180, 160, 110, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
  z-index: 4;
}

.countdown-widget::after {
  content: '';
  position: absolute;
  top: 5px;
  left: 5px;
  right: 5px;
  bottom: 5px;
  border: none;
  pointer-events: none;
  z-index: 2;
}

.cd-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 18px 60px 14px;
}

.cd-balloons {
  position: absolute;
  width: 58px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  padding-bottom: 4px;
  z-index: 1;
}

.cd-balloons-left {
  left: 0;
  top: 15%;
}

.cd-balloons-right {
  right: 0;
  top: 43%;
}

.cd-balloon-blue {
  animation: cdFloat 5s ease-in-out infinite;
}

.cd-balloon-yellow-sm {
  animation: cdFloat 6s ease-in-out 0.8s infinite;
}

.cd-balloon-yellow {
  animation: cdFloat 5.5s ease-in-out 0.4s infinite;
}

.cd-balloon-blue-sm {
  animation: cdFloat 6.5s ease-in-out 1.2s infinite;
}

.cd-star {
  position: absolute;
  color: #d4b84a;
  font-size: 10px;
  opacity: 0.65;
  z-index: 3;
  animation: cdStarTwinkle 3s ease-in-out infinite;
}

.cd-star.s1 {
  top: 14%;
  left: 18%;
  font-size: 9px;
  animation-delay: 0s;
}

.cd-star.s2 {
  top: 22%;
  right: 16%;
  font-size: 11px;
  animation-delay: 1.2s;
  color: #b8c8d8;
}

.cd-star.s3 {
  bottom: 22%;
  left: 22%;
  font-size: 8px;
  animation-delay: 0.5s;
}

.cd-star.s4 {
  top: 12%;
  right: 22%;
  font-size: 8px;
  animation-delay: 2s;
  color: #b8c8d8;
}

.cd-star.s5 {
  bottom: 18%;
  right: 20%;
  font-size: 10px;
  animation-delay: 0.9s;
}

.cd-star.s6 {
  top: 50%;
  left: 14%;
  font-size: 9px;
  animation-delay: 1.7s;
}

.cd-header-label {
  font-family: var(--font-eng);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 3px;
  color: #a89070;
  margin-bottom: 6px;
  opacity: 0.85;
}

.cd-title {
  font-family: var(--font-jap);
  font-size: 14px;
  font-weight: 700;
  color: #826f59;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  line-height: 1.4;
}

.cd-number-block {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  margin-bottom: 8px;
}

.cd-num-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}

.cd-num {
  font-family: var(--font-eng);
  font-size: 58px;
  font-weight: 700;
  color: #6c5c4a;
  line-height: 1;
  letter-spacing: -1px;
  animation: cdNumBounce 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275) 0.2s both;
}

.cd-num-label {
  font-family: var(--font-eng);
  font-size: 10px;
  font-weight: 600;
  color: #a89070;
  letter-spacing: 2.5px;
}

.cd-footer-date {
  font-family: var(--font-eng);
  font-size: 12px;
  font-weight: 600;
  color: #a89070;
  letter-spacing: 1.5px;
  margin-top: 2px;
  opacity: 0.85;
}

.countdown-widget.is-birthday {
  background: linear-gradient(160deg, #fff8e0 0%, #ffeea0 100%);
  border-color: #c8a830;
  animation: birthdayPulse 2.5s ease-in-out infinite;
}

.countdown-widget.is-birthday .cd-num {
  font-size: 44px;
  animation: none;
}

/* Mobile Countdown Overrides */
@media (max-width: 768px) {
  .hero-footer {
    left: 16px;
    transform: none;
    width: 60%;
    max-width: 270px;
    min-width: 220px;
    align-items: flex-start;
  }

  .countdown-widget {
    border-radius: 14px;
  }

  .countdown-widget::after {
    top: 4px;
    left: 4px;
    right: 4px;
    bottom: 4px;
    border-radius: 10px;
  }

  .cd-inner {
    padding: 10px 0px 10px;
  }

  .cd-balloons {
    width: 40px;
    gap: 2px;
    padding-bottom: 2px;
  }

  .cd-balloon-blue {
    width: 22px;
    height: 60px;
  }

  .cd-balloon-yellow-sm {
    width: 18px;
    height: 50px;
  }

  .cd-balloon-yellow {
    width: 22px;
    height: 60px;
  }

  .cd-balloon-blue-sm {
    width: 18px;
    height: 50px;
  }

  .cd-header-label {
    font-size: 10px;
    margin-bottom: 8px;
    letter-spacing: 2px;
  }

  .cd-title {
    font-size: 10px;
    margin-bottom: 5px;
    letter-spacing: 0.2px;
  }

  .cd-num {
    font-size: 45px;
    margin-bottom: 3px;
  }

  .countdown-widget.is-birthday .cd-num {
    font-size: 35px;
  }

  .cd-num-label {
    font-size: 10px;
    letter-spacing: 2px;
  }

  .cd-footer-date {
    font-size: 12px;
    letter-spacing: 1px;
    margin-top: 2px;
  }

  .cd-balloons-left {
    top: 24%;
  }

  .cd-balloons-right {
    top: 60%;
  }

  .cd-star {
    font-size: 9px;
  }

  .cd-star.s1 {
    top: 10%;
    left: 12%;
    font-size: 7px;
  }

  .cd-star.s2 {
    top: 20%;
    right: 12%;
    font-size: 10px;
  }

  .cd-star.s3 {
    bottom: 20%;
    left: 14%;
    font-size: 6px;
  }

  .cd-star.s4 {
    top: 10%;
    right: 14%;
    font-size: 6px;
  }

  .cd-star.s5 {
    bottom: 15%;
    right: 12%;
    font-size: 9px;
  }

  .character-bubble {
    white-space: normal;
    max-width: 240px;
    width: max-content;
  }

  br.sp-only {
    display: inline;
  }
}

/* ==========================================================================
   Keyframe Animations & Common Utility Classes
   ========================================================================== */
@keyframes twinkle {

  0%,
  100% {
    opacity: 0.2;
    transform: scale(0.85);
  }

  50% {
    opacity: 0.9;
    transform: scale(1.15);
  }
}

@keyframes fallAndTwinkle {
  0% {
    top: -10%;
    transform: translateX(0) rotate(0deg) scale(0.4);
    opacity: 0;
  }

  5% {
    opacity: 0;
  }

  15% {
    opacity: 0.95;
  }

  40% {
    transform: translateX(20px) rotate(120deg) scale(0.85);
    opacity: 0.3;
  }

  70% {
    transform: translateX(-20px) rotate(240deg) scale(0.65);
    opacity: 0.95;
  }

  90% {
    opacity: 0.95;
  }

  100% {
    top: 100%;
    transform: translateX(10px) rotate(360deg) scale(0.4);
    opacity: 0;
  }
}

@keyframes floatBalloon {

  0%,
  100% {
    transform: translateY(0) rotate(-4deg);
  }

  50% {
    transform: translateY(-8px) rotate(4deg);
  }
}

@keyframes cdFloat {

  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }

  50% {
    transform: translateY(-6px) rotate(1.5deg);
  }
}

@keyframes cdStarTwinkle {

  0%,
  100% {
    opacity: 0.35;
    transform: scale(0.85);
  }

  50% {
    opacity: 1;
    transform: scale(1.15);
  }
}

@keyframes cdNumBounce {
  from {
    opacity: 0;
    transform: scale(0.65) translateY(8px);
  }

  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

@keyframes birthdayPulse {

  0%,
  100% {
    box-shadow: 0 4px 20px rgba(200, 168, 48, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  }

  50% {
    box-shadow: 0 4px 36px rgba(200, 168, 48, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.95);
  }
}

@keyframes bobbing {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

.bobbing {
  animation: bobbing 4s infinite ease-in-out;
}

.fade-in {
  opacity: 0;
}

.fade-in.animate {
  animation: fadeInUp 0.8s forwards ease-out;
}

.fade-in-up {
  opacity: 0;
  transform: translateY(20px);
}

.fade-in-up.animate {
  animation: fadeInUp 0.8s forwards cubic-bezier(0.19, 1, 0.22, 1);
}

.delay-1 {
  animation-delay: 0.2s;
}

.delay-2 {
  animation-delay: 0.4s;
}

.delay-3 {
  animation-delay: 0.6s;
}

.delay-4 {
  animation-delay: 0.8s;
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.gate-texts.fade-in-up {
  transform: translate(-50%, 20px);
}

.gate-texts.fade-in-up.animate {
  animation: fadeInUpGate 0.8s forwards cubic-bezier(0.19, 1, 0.22, 1);
}

@keyframes fadeInUpGate {
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

.character-wrapper.fade-in-up {
  transform: translate(-50%, 20px);
}

.character-wrapper.fade-in-up.animate {
  animation: fadeInUpCharacter 0.8s forwards cubic-bezier(0.19, 1, 0.22, 1);
}

@keyframes fadeInUpCharacter {
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

.hero-footer.fade-in-up {
  transform: translate(-50%, 20px);
}

.hero-footer.fade-in-up.animate {
  animation: fadeInUpFooter 0.8s forwards cubic-bezier(0.19, 1, 0.22, 1);
}

@keyframes fadeInUpFooter {
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

.hero-footer.countdown-reveal {
  opacity: 0;
  transition: opacity 1000ms;
}

.hero-footer.countdown-reveal.visible {
  opacity: 1;
}

/* ==========================================================================
   Magical Section Transition Gate Overlay
   ========================================================================== */
.transition-gate {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 2000;
  pointer-events: none;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.transition-gate.is-transitioning {
  pointer-events: auto;
}

/* Hide disclaimer button / site footer during gate animation & initial closed gate */
html.gate-closed-initial .site-footer,
.transition-gate.is-transitioning ~ .site-footer {
  opacity: 0 !important;
  pointer-events: none !important;
  visibility: hidden !important;
}

.tg-wing {
  position: absolute;
  top: 0;
  width: 50.5%;
  height: 100%;
  background: linear-gradient(135deg, #a4b8cc 0%, #7a90a6 100%);
  border: 4px double #ffffff;
  box-sizing: border-box;
  transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.2);
}

.tg-wing-left {
  left: 0;
  transform: translateX(-100%);
  border-right: 3px solid #5c4a38;
}

.tg-wing-right {
  right: 0;
  transform: translateX(100%);
  border-left: 3px solid #5c4a38;
}

html.gate-closed-initial .transition-gate .tg-wing-left,
html.gate-closed-initial .transition-gate .tg-wing-right,
.transition-gate.is-transitioning .tg-wing-left,
.transition-gate.is-transitioning .tg-wing-right {
  transform: translateX(0);
}

.tg-wing-pattern {
  position: absolute;
  top: 15px;
  bottom: 15px;
  left: 15px;
  right: 15px;
  border: 2px dashed rgba(255, 255, 255, 0.4);
  border-radius: 12px;
  pointer-events: none;
}

.tg-wing::before {
  content: '✦';
  position: absolute;
  color: rgba(255, 255, 255, 0.3);
  font-size: 40px;
  top: 20%;
}

.tg-wing-left::before {
  right: 20%;
}

.tg-wing-right::before {
  left: 20%;
}

.tg-content {
  position: relative;
  z-index: 2010;
  opacity: 0;
  transform: scale(0.6) rotate(-8deg);
  transition: all 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

html.gate-closed-initial .transition-gate .tg-content,
.transition-gate.is-transitioning .tg-content {
  opacity: 1;
  transform: scale(1) rotate(0deg);
  transition-delay: 0.35s;
}

.tg-sign {
  background: #fffdf7;
  border: 3px solid #5c4a38;
  border-radius: 20px 24px 18px 22px / 22px 18px 24px 20px;
  padding: 24px 32px;
  box-shadow: 6px 6px 0px #dfd9c4, 0 10px 25px rgba(0, 0, 0, 0.1);
  text-align: center;
  min-width: 180px;
  position: relative;
}

.tg-sign::before {
  content: '';
  position: absolute;
  top: 4px;
  left: 4px;
  right: 4px;
  bottom: 4px;
  border: 1px dashed #dfd9c4;
  border-radius: 16px 20px 14px 18px / 18px 14px 20px 16px;
  pointer-events: none;
}

.tg-sign-sparkle {
  color: #d4b84a;
  font-size: 20px;
  display: block;
  margin-bottom: 8px;
  animation: spinSparkle 2s linear infinite;
}

@keyframes spinSparkle {
  0% {
    transform: rotate(0deg) scale(1);
  }

  50% {
    transform: rotate(180deg) scale(1.2);
  }

  100% {
    transform: rotate(360deg) scale(1);
  }
}

.tg-sign-title {
  font-family: 'Fredoka', var(--font-eng), sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: #5c4a38;
  letter-spacing: 2px;
  margin: 0 0 6px 0;
  -webkit-font-smoothing: antialiased;
}

.tg-sign-sub {
  font-family: var(--font-jap);
  font-size: 11px;
  font-weight: 700;
  color: #7a90a6;
  letter-spacing: 1px;
  display: block;
}

@keyframes charJump {

  0%,
  100% {
    transform: translateX(-50%) translateY(0) scale(1);
  }

  40% {
    transform: translateX(-50%) translateY(-24px) scale(1.05);
  }

  60% {
    transform: translateX(-50%) translateY(4px) scale(0.95);
  }
}

.character-wrapper.char-jump {
  animation: charJump 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}

@keyframes bubblePop {
  0% {
    transform: scale(0) rotate(-10deg);
    opacity: 0;
  }

  70% {
    transform: scale(1.1) rotate(2deg);
    opacity: 0.9;
  }

  100% {
    transform: scale(1) rotate(0deg);
    opacity: 1;
  }
}

.character-bubble.bubble-pop {
  animation: bubblePop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
  transform-origin: bottom right;
}

/* ==========================================================================
   Disclaimer Modal Styles
   ========================================================================== */
.disclaimer-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 3000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px 10px;
  box-sizing: border-box;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.disclaimer-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.disclaimer-modal-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(43, 48, 58, 0.65);
  backdrop-filter: blur(4px);
}

.disclaimer-modal-card {
  position: relative;
  width: 100%;
  max-width: 380px;
  max-height: calc(100dvh - 24px);
  background: #fdfbf7;
  border: 2px solid #dfd9c4;
  border-radius: 24px 30px 20px 35px / 30px 25px 35px 28px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2), 0 4px 0 #eadebf;
  padding: 20px 16px 16px;
  text-align: center;
  z-index: 2010;
  transform: scale(0.9) translateY(10px);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

.disclaimer-modal.is-open .disclaimer-modal-card {
  transform: scale(1) translateY(0);
}

.disclaimer-modal-card::before {
  content: '';
  position: absolute;
  top: 6px;
  left: 6px;
  right: 6px;
  bottom: 6px;
  border: 1.5px dashed #dfd9c4;
  border-radius: 18px 24px 15px 28px / 24px 18px 28px 22px;
  pointer-events: none;
}

.disclaimer-modal-close {
  position: absolute;
  top: 14px;
  right: 16px;
  background: transparent;
  border: none;
  font-size: 24px;
  color: #8a8a85;
  cursor: pointer;
  z-index: 10;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

.disclaimer-modal-close:hover {
  background: #eae3d2;
  color: #5c4a38;
}

.disclaimer-modal-icon {
  font-size: 28px;
  margin-bottom: 4px;
}

.disclaimer-modal-title {
  font-family: var(--font-jap);
  font-size: 16.5px;
  font-weight: 700;
  color: #5c4a38;
  margin-bottom: 2px;
}

.disclaimer-modal-divider {
  font-size: 10px;
  color: #dcb871;
  margin-bottom: 12px;
  letter-spacing: 4px;
}

.disclaimer-modal-content {
  font-family: var(--font-jap);
  font-size: 12.5px;
  line-height: 1.65;
  color: #575752;
  text-align: left;
  margin-bottom: 14px;
  padding-right: 6px;
  max-height: calc(100dvh - 190px);
  overflow-y: auto;
  box-sizing: border-box;
  -webkit-overflow-scrolling: touch;
}

/* Custom Scrollbar for Modal Content */
.disclaimer-modal-content::-webkit-scrollbar {
  width: 5px;
}

.disclaimer-modal-content::-webkit-scrollbar-track {
  background: #f3edd9;
  border-radius: 4px;
}

.disclaimer-modal-content::-webkit-scrollbar-thumb {
  background: #cbb994;
  border-radius: 4px;
}

.disclaimer-section {
  margin-bottom: 16px;
}

.disclaimer-section:last-child {
  margin-bottom: 0;
}

.disclaimer-section-title {
  font-family: var(--font-jap);
  font-size: 13.5px;
  font-weight: 800;
  color: #4a3b2c;
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 6px 0;
  padding-left: 2px;
}

.disclaimer-section-icon {
  font-size: 14px;
}

.disclaimer-card-box {
  background: #ffffff;
  border: 1.5px solid #eae3d2;
  border-radius: 14px;
  padding: 12px 14px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.disclaimer-card-box p {
  margin-bottom: 8px;
}

.disclaimer-card-box p:last-child {
  margin-bottom: 0;
}

.disclaimer-card-box strong {
  color: #5c4a38;
}

.disclaimer-email-link {
  color: #b45309;
  font-weight: 700;
  text-decoration: underline;
  word-break: break-all;
  transition: color 0.2s ease;
}

.disclaimer-email-link:hover {
  color: #d97706;
}

.disclaimer-modal-btn {
  background: var(--color-sub-blue);
  color: var(--color-white);
  border: 2px solid var(--color-white);
  border-radius: 20px;
  padding: 10px 28px;
  font-family: var(--font-jap);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(122, 144, 166, 0.3);
  transition: all 0.2s ease;
}

.disclaimer-modal-btn:hover {
  background: #627991;
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(122, 144, 166, 0.4);
}

/* ==========================================================================
   Game-style Attraction Choice UI & Zoom Effects
   ========================================================================== */
.attraction-selector {
  width: 88%;
  max-width: 360px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  pointer-events: none;
}

.attraction-selector.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.attraction-selector-inner {
  background: linear-gradient(160deg, #fffdf7 0%, #faf6ea 100%);
  border: 2px solid #dfd9c4;
  border-radius: 18px 22px 16px 20px / 20px 16px 22px 18px;
  padding: 12px 14px 14px;
  box-shadow: 4px 4px 0px #dfd9c4, 0 8px 24px rgba(92, 74, 56, 0.12);
  position: relative;
}

.attraction-selector-inner::before {
  content: '';
  position: absolute;
  top: 4px;
  left: 4px;
  right: 4px;
  bottom: 4px;
  border: 1px dashed #dfd9c4;
  border-radius: 14px 18px 12px 16px / 16px 12px 18px 14px;
  pointer-events: none;
}

.attraction-selector-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-bottom: 10px;
}

.attraction-selector-sparkle {
  color: #d4b84a;
  font-size: 11px;
}

.attraction-selector-title {
  font-family: var(--font-eng);
  font-size: 10px;
  font-weight: 700;
  color: #826f59;
  letter-spacing: 2px;
}

.attraction-grid {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.attraction-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  border: 1.5px solid #dfd9c4;
  border-radius: 10px 8px 12px 9px / 9px 10px 8px 11px;
  padding: 8px 12px;
  color: var(--color-text-dark);
  cursor: pointer;
  box-shadow: 2px 2px 0px rgba(223, 217, 196, 0.3);
  transition: all 0.2s ease;
  text-align: left;
}

.attraction-btn:hover,
.attraction-btn:active {
  background: var(--color-accent-yellow-light);
  border-color: #dcb871;
  color: #5c4a2b;
  transform: translate(-1px, -1px);
  box-shadow: 3px 3px 0px #dcb871;
}

.attraction-icon {
  font-size: 15px;
  flex-shrink: 0;
}

.attraction-name {
  font-family: var(--font-jap);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

/* Path-based Gate Zoom-in Animation */
.illustration-area {
  transition: transform 3.4s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: 50% 85%;
}

.illustration-area.zoom-into-gate {
  transform: scale(2.6) translateY(22%);
}

/* Magical Whiteout Transition Overlay (Glare Effect) */
.whiteout-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 50% 40%, #ffffff 20%, rgba(255, 255, 255, 0.95) 70%, #fffdf7 100%);
  z-index: 1500;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.whiteout-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}

@media (min-width: 769px) {
  .attraction-selector {
    max-width: 440px;
  }

  .attraction-selector-inner {
    padding: 14px 18px 16px;
  }

  .attraction-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .attraction-btn {
    padding: 8px 12px;
  }

  .attraction-icon {
    font-size: 15px;
  }

  .attraction-name {
    font-size: 13.5px;
  }

  .illustration-area.zoom-into-gate {
    transform: scale(2.8) translateY(20%);
  }
}



/* ==========================================================================
   Fixed Site Footer Disclaimer Button (Right Bottom Fixed)
   ========================================================================== */
.site-footer {
  position: fixed;
  bottom: 16px;
  right: 16px;
  left: auto;
  transform: none;
  z-index: 500;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  pointer-events: auto;
}

.footer-disclaimer-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--color-sub-blue);
  border: 2px solid var(--color-white);
  border-radius: 24px;
  padding: 8px 14px;
  font-family: var(--font-jap);
  font-size: 11px;
  font-weight: 700;
  color: var(--color-white);
  cursor: pointer;
  box-shadow: 0 3px 8px rgba(122, 144, 166, 0.35);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.footer-disclaimer-btn:hover,
.footer-disclaimer-btn:active {
  transform: scale(1.05);
  background: #627991;
  box-shadow: 0 5px 12px rgba(122, 144, 166, 0.5);
}

.footer-btn-icon-svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  stroke: var(--color-white);
}

.footer-btn-text {
  letter-spacing: 0.5px;
  white-space: nowrap;
}

@media (min-width: 769px) {
  .site-footer {
    bottom: 24px;
    right: 24px;
  }

  .footer-disclaimer-btn {
    font-size: 12px;
    padding: 10px 18px;
  }

  .footer-btn-icon-svg {
    width: 15px;
    height: 15px;
  }
}
