@import url('https://fonts.googleapis.com/css2?family=Crafty+Girls&family=Instrument+Serif:ital@0;1&family=Libertinus+Math&family=Mea+Culpa&family=Momo+Signature&family=Ole&family=Roboto+Mono:ital,wght@0,100..700;1,100..700&display=swap');

@font-face {
  font-family: 'tenbitesch';
  src: url("https://files.catbox.moe/gi9id6.ttf") format('woff2');
}


@font-face {
  font-family: 'rainyhearts';
  src: url("https://files.catbox.moe/r4oudq.ttf") format('woff2');
}



@font-face {
  font-family: 'big curls';
  src: url('https://files.catbox.moe/ux9g4t.ttf') format('woff2');
}


@font-face {
  font-family: 'tenbitesch';
  src: url("https://files.catbox.moe/gi9id6.ttf") format('woff2');
}

@font-face {
  font-family: 'gaegu';
  src: url("https://files.catbox.moe/3y203m.ttf") format('woff2');
}

@font-face {
  font-family: 'basiic';
  src: url("https://file.garden/aniZg5cZ1wfJ2PC7/fonts/basiic.ttf") format('woff2');
}

@font-face {
  font-family: 'spirit';
  src: url("https://files.catbox.moe/u949la.ttf") format('woff2');
}


/* ——— PAGE VIBE ——— */
body {
  background: url('https://goooby.neocities.org/graphics%20made%20by%20me/pattern_0_10cd9c1785aa24e71857a10afb85fa3f.png');
  font-family: 'rainyhearts', sans-serif;
  color: #a64c6e;
  padding: 30px;
  max-width: 700px;
  margin: auto;
  line-height: 1.6;
}

h2.travel-title {
    position: relative;
    margin:0;
    margin-top:-60px;
    top: 24px;
    left: 190px;

    font-family: 'big curls', cursive;
    font-size: 50px;
    z-index: 300;

    animation: hover 9s infinite;

    filter: drop-shadow(0px 0px 1px #FDA3C5)
            drop-shadow(0px 0px 1px #E097B3)
            drop-shadow(0px 0px 0px #E097B3)
            drop-shadow(0px 0px 0px #00000066);

    background: url('https://i.postimg.cc/zfb2zZV9/1019634fg66nvlut2.gif');
    background-size: 18%;
    background-repeat: repeat;

    -webkit-background-clip: text;
    background-clip: text;

    -webkit-text-fill-color: transparent;
    color: transparent;
}


.map-window {
  position: relative;
  width: 500px;
  height: 440px;
  margin:0 auto;
  border-radius: 5px;
  border-width: 16px; 
  border-style: solid; 
  border-image: url("https://toyhamu.nekoweb.org/myroom/borders/milk%20strawberry%20filling.png") 13 fill round;
  background-clip: padding-box;
  /*
  overflow: hidden;
  box-shadow: 0 6px 0 #e39ab3;
  background-color: #fff9fc;*/
}

.map-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
  filter: brightness(1.05);
}


.location {
  position: absolute;
  font-size: 18px;
  color: #ffe6f0;
    text-shadow: 
  -1px -1px 0 #000000,
   1px -1px 0 #000000,
  -1px  1px 0 #000000,
   1px  1px 0 #000000;
  text-decoration: none;
  font-weight: bold;
  transition: transform 0.2s ease, color 0.2s ease;
}

.location:hover {
  transform: scale(1.2);
  color: #ffbcd4;
}

.mizi-avatar {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 70px;
  height: 70px;
  cursor: pointer;
  animation: wiggle 0.7s infinite;
  z-index: 500;
}

.mizi-avatar img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  border: 3px solid #ffbcd4;
  box-shadow: 0 3px 0 #e39ab3;
}

@keyframes wiggle {
  0%, 100% { transform: rotate(-6deg); }
  25% { transform: rotate(15deg); }
  75% { transform: rotate(-6deg); }
}

.chat-popup {
  position: fixed;
  bottom: 110px;
  right: 40px;
  width: 240px;
  height:370px;
  background: #fff9fc;
  border: 3px solid #ffbcd4;
  border-radius: 20px;
  box-shadow: 0 6px 0 #e39ab3;
  display: none;
  flex-direction: column;
  font-family: 'rainyhearts';
  color: #a64c6e;
  z-index: 600;
}

.chat-header {
  background: #ffbcd4;
  border-bottom: 3px solid #e39ab3;
  padding: 8px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-radius: 17px 17px 0 0;
}

.chat-header button {
  background: none;
  border: none;
  color: #a64c6e;
  font-size: 20px;
  cursor: pointer;
}

.chat-body {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  height: 240px;
  overflow-y: auto;
  overflow-x: hidden;
}


.chat-message {
  background: #ffd9e6;
  border-radius: 10px;
  padding: 6px 10px;
  max-width: 80%;
  animation: fadeIn 0.6s ease forwards;
}

.chat-message.reply {
  background: #ffbcd4;
  align-self: flex-end;
}

.chat-message.typing {
  width: 30px;
  text-align: center;
  animation: typingDots 1s infinite;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes typingDots {
  0% { opacity: 0; }
  33% { opacity: 1; }
  66% { opacity: 0; }
  100% { opacity: 1; }
}

.chat-input {
  border-top: 3px solid #ffbcd4;
  padding: 8px;
  margin-top:20px;
  border-bottom-left-radius: 15px;
  border-bottom-right-radius: 15px;
  background: #fff0f7;
  display: flex;
  align-items: center;
  gap: 6px;
}

.chat-input input {
  flex: 1;
  background: #ffe6f0;
  border: 2px solid #ffbcd4;
  border-radius: 10px;
  padding: 6px 10px;
  font-family: 'rainyhearts';
  color: #a64c6e;
}

.chat-input input::placeholder {
  color: #d38aa3;
}

.send-button {
  background: #ffbcd4;
  border: 2px solid #e39ab3;
  border-radius: 8px;
  padding: 4px 10px;
  cursor: pointer;
  font-family: 'rainyhearts';
  color: white;
  box-shadow: 0 3px 0 #e39ab3;
}


.chat-message.mizi {
  background: #ffd9e6;
  align-self: flex-start;
  border-radius: 10px 10px 10px 0;
}

.chat-message.you {
  background: #ffbcd4;
  align-self: flex-end;
  border-radius: 10px 10px 0 10px;
}

.chat-message.you {
  animation: slideInRight 0.5s ease forwards;
}

@keyframes slideInRight {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

.typing.mizi {
  align-self: flex-start;
  background: #ffd9e6;
  border-radius: 10px 10px 10px 0;
  padding: 6px 10px;
  width: 40px;
  text-align: center;
  animation: miziTyping 1s infinite;
}

@keyframes miziTyping {
  0%   { content: "..."; opacity: 0.3; }
  33%  { content: ".."; opacity: 1; }
  66%  { content: "."; opacity: 0.6; }
  100% { content: ".."; opacity: 1; }
}

.typing.you {
  align-self: flex-end;
  background: #ffbcd4;
  border-radius: 10px 10px 0 10px;
  padding: 6px 10px;
  width: 55px;
  text-align: center;
  animation: youTyping 1s infinite;
}

@keyframes youTyping {
  0%   { content: "⋆"; opacity: 0.3; }
  33%  { content: "⋆⋆"; opacity: 1; }
  66%  { content: "⋆⋆⋆"; opacity: 0.6; }
  100% { content: "⋆⋆"; opacity: 1; }
}

.chat-message.end {
  align-self: center;
  background: #ffe6f0;
  color: #a64c6e;
  font-style: italic;
  border-radius: 12px;
  padding: 6px 12px;
  margin-top: 10px;
  opacity: 0;
  animation: fadeIn 0.8s forwards;
}

.suggestions {
  display: none; /* hidden until unlock */
  padding: 6px;
  background: #fff0f7;
  border-top: 2px solid #ffbcd4;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}

.suggestions span {
  background: #ffe6f0;
  border: 2px solid #ffbcd4;
  border-radius: 8px;
  padding: 4px 8px;
  font-family: 'rainyhearts';
  color: #a64c6e;
  cursor: pointer;
  font-size: 12px;
  box-shadow: 0 2px 0 #e39ab3;
  transition: transform 0.2s;
}

.suggestions span:hover {
  transform: scale(1.1);
}

.suggestion-popup {
  display: none;
  position: fixed;
  bottom: 110px;
  right: 300px; 
  background: #fff9fc;
  border: 15px solid #ffbcd4;
  border-image: url('https://i.postimg.cc/T1bmK6QV/IMG_1924.gif') round 12;
  /* border-radius: 15px;
  box-shadow: 0 6px 0 #e39ab3; */
  padding: 12px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 6px;
  width:160px;
}

.suggestion-popup span {
  background: #ffe6f0;
  border: 2px solid #ffbcd4;
  border-radius: 8px;
  padding: 6px 10px;
  font-family: 'basiic';
  color: #a64c6e;
  cursor: pointer;
  font-size: 12px;
  box-shadow: 0 2px 0 #e39ab3;
  transition: transform 0.2s;
}

.suggestion-popup span:hover {
  transform: scale(1.1);
}








.sitecontainer {
  width: 700px;
  margin: 0 auto; 
  margin-top: 50px;
  margin-bottom: 30px;
  padding: 20px;
  /*
  background-image: url("https://files.catbox.moe/rs73ep.jpeg");
  background-repeat: repeat;
  background-size: 50%;
  border: 13px solid transparent;
  border-image: url('https://i.postimg.cc/Pxgvs7hP/IMG_1915.png') 12 repeat;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);*/
}


img.pixel {
  position:relative;
    width: auto;
    height: 18px;
}

.stafies {
  padding:30px;
  background:url('https://i.postimg.cc/8CsQ1d4C/8337793.png');
  position:absolute;
  margin:0 auto;
  margin-left:30px;
  margin-top:-68px;
  border:20px solid transparent;
  border-image: url("https://i.postimg.cc/BZP2YTsj/IMG_1923.png") round 12;
}

.destination-popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 240, 247, 0.7); /* faded page */
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup-content {
  background: #fff9fc;
  border: 3px solid #ffbcd4;
  border-radius: 20px;
  padding: 20px;
  width: 300px;
  text-align: center;
  box-shadow: 0 6px 0 #e39ab3;
  animation: popIn 0.4s ease;
}

@keyframes popIn {
  from { transform: scale(0.8); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.popup-gif {
  width: 80px;
  height: auto;
  margin-bottom: 10px;
}

.popup-title {
  font-family: 'spirit';
  font-size: 20px;
  font-weight: none;
  color: #fae7ee;
    text-shadow: 
  -1px -1px 0 #a64c6e,
   1px -1px 0 #a64c6e,
  -1px  1px 0 #a64c6e,
   1px  1px 0 #a64c6e;
  margin-bottom: 10px;
}

.popup-text {
  font-family: 'rainyhearts';
  color: #a64c6e;
  margin-bottom: 15px;
}

.popup-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.popup-buttons button {
  background: #ffbcd4;
  border: 2px solid #e39ab3;
  border-radius: 10px;
  padding: 6px 12px;
  font-family: 'rainyhearts';
  color: white;
  cursor: pointer;
  box-shadow: 0 3px 0 #e39ab3;
}

.popup-buttons button:hover {
  transform: scale(1.05);
}

.popup-status {
  margin-top: 10px;
  font-family: 'rainyhearts';
  color: #a64c6e;
}
