@import url("https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css");

* {
  -webkit-font-smoothing: antialiased;
  box-sizing: border-box;
}

html, body {
  margin: 0px;
  min-height: 100%;
  background: #fff4f9;
}

@font-face {
  font-family: "Single Day-Regular";
  src: local("Single Day-Regular");
}

@font-face {
  font-family: "Vividly-Regular";
  src: local("Vividly-Regular");
}
@font-face {
    font-family: "Vividly-Regular";
    src: url("./Vividly-Regular.otf") format("woff2"),
         url("./Vividly-Regular.ttf") format("truetype");
    font-weight: normal;
    font-style: normal;
}

.screen {
  background-color: #fff4f9;
  overflow-x: hidden;
  width: 100%;
  min-width: 390px;
  min-height: 100vh;
  position: relative;
  font-family: "Single Day", cursive;
  padding-bottom: 120px; 
}

/* --- HEADER --- */
.header-group {
  position: relative;
  height: 200px;
}

.ellipse {
  position: absolute;
  top: 69px;
  left: calc(50.00% - 132px);
  width: 265px;
  height: 262px;
  background-color: #ffffff;
  border-radius: 132.3px / 130.89px;
  transform: rotate(0.88deg);
  filter: blur(55.5px);
  z-index: 1;
}

.text-wrapper {
  position: absolute;
  top: 92px;
  left: calc(50.00% - 69px);
  font-size: 32px;
  text-align: center;
  font-weight: 400;
  color: #5a1132;
  letter-spacing: 0;
  z-index: 2;
}

.div {
  position: absolute;
  top: 129px;
  left: calc(50.00% - 34px);
  font-family: "Vividly-Regular", sans-serif;
  font-weight: 400;
  color: #5a1132;
  font-size: 17px;
  text-align: center;
  letter-spacing: 0;
  z-index: 2;
}

.back-btn {
  position: absolute;
  top: 35px;
  left: 25px;
  font-family: "Single Day";
  font-size: 15px;
  color: #5a1132;
  text-decoration: none;
  z-index: 5;
  background: rgba(255, 255, 255, 0.7);
  padding: 4px 14px;
  border-radius: 20px;
  backdrop-filter: blur(2px);
  transition: all 0.2s ease;
}

.back-btn:hover {
  background: #ffe2ee;
  transform: scale(1.03);
}

/* --- CUTE BANNER --- */
.cute-banner {
  width: 100%;
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
  z-index: 5;
}

.banner-content {
  background: #ffffff;
  width: 320px;
  padding: 20px;
  border-radius: 100px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  box-shadow: 0 4px 15px rgba(90, 17, 50, 0.04);
}

.bunny-icon {
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.banner-text {
  font-family: "Single Day";
  font-size: 18px;
  color: #5a1132;
}

/* --- SECTION TITLE --- */
.section-title {
    font-family: "Single Day";
  font-size: 22px;
  color: #5a1132;
  text-align: center;
  margin-bottom: 20px;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

/* --- STORY & TIMELINE --- */
.story-section, .promises-section, .baker-section, .gallery-section, .visit-section {
  max-width: 320px;
  margin: 0 auto 40px auto;
  position: relative;
  z-index: 5;
  padding: 0 10px;
}

.timeline {
  background: #ffffff;
  border-radius: 30px;
  padding: 30px 20px;
  box-shadow: 0 4px 15px rgba(90, 17, 50, 0.04);
}

.timeline-item {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
  position: relative;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  width: 16px;
  height: 16px;
  background: #ffa8d1;
  border-radius: 50%;
  margin-top: 5px;
  flex-shrink: 0;
  box-shadow: 0 0 10px rgba(255, 168, 209, 0.4);
}

.timeline-content {
  font-family: "Vividly-Regular", sans-serif;
}

.timeline-year {
  font-family: "Single Day";
  font-size: 18px;
  color: #5a1132;
  font-weight: bold;
}

.timeline-desc {
  font-size: 14px;
  color: #5a1132;
  line-height: 1.6;
    font-family: "Single Day";

  margin-top: 4px;
}

/* --- PROMISES --- */
.promises-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 12px;
}

.promise-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 20px 10px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(90, 17, 50, 0.04);
  transition: all 0.3s ease;
}

.promise-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(255, 168, 209, 0.2);
}

.promise-icon {
  font-size: 28px;
  margin-bottom: 10px;
}

.promise-name {
  font-family: "Single Day";
  font-size: 16px;
  color: #5a1132;
  margin-bottom: 6px;
}

.promise-desc {
    font-family: "Single Day";
  font-size: 11px;
  color: #b37b96;
  line-height: 1.4;
}

/* --- BAKER --- */
.baker-card {
  background: #ffffff;
  border-radius: 30px;
  padding: 25px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(90, 17, 50, 0.04);
}

.baker-img-placeholder {
  font-size: 60px;
  margin-bottom: 10px;
  background: #fff4f9;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 15px auto;
  border: 3px solid #ffcce0;
}

.baker-name {
  font-family: "Single Day";
  font-size: 20px;
  color: #5a1132;
  margin-bottom: 10px;
}

.baker-bio {
    font-family: "Single Day";
  font-size: 14px;
  color: #5a1132;
  line-height: 1.8;
}

/* --- GALLERY --- */
.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}

.gallery-item {
  background: #ffffff;
  border-radius: 15px;
  height: 90px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 30px;
  box-shadow: 0 2px 10px rgba(90, 17, 50, 0.04);
  transition: all 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(255, 168, 209, 0.15);
}

.gallery-sub {
    font-family: "Single Day";
  text-align: center;
  color: #ffa8d1;
  font-size: 13px;
  margin-top: 15px;
}

/* --- VISIT --- */
.visit-card {
  background: #ffffff;
  border-radius: 30px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(90, 17, 50, 0.04);
}

.visit-address {
    font-family: "Single Day";
  font-size: 14px;
  color: #5a1132;
  line-height: 1.8;
  margin-bottom: 15px;
}

.visit-bold {
  font-family: "Single Day";
  font-size: 16px;
  color: #5a1132;
}

.visit-button {
  background: #ffa8d1;
  color: #ffffff;
  text-align: center;
  padding: 15px;
  border-radius: 30px;
  font-family: "Single Day";
  font-size: 18px;
  margin-top: 10px;
  box-shadow: 0 4px 15px rgba(255, 168, 209, 0.4);
  cursor: pointer;
  transition: all 0.3s ease;
}

.visit-button:hover {
  transform: scale(1.02);
  background: #ff8ec2;
}

/* --- BOTTOM NAV --- */
.bottom-nav {
  bottom: 0px;
      position: absolute;

  left: 0;
  width: 100%;
  height: 96px;
  z-index: 100;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.rectangle-3 {
  position: absolute;
  bottom: 0;
  width: 410px;
  height: 96px;
  background-color: #ffffff;
  border-radius: 33px 33px 0 0;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.03);
  pointer-events: auto;
}

.gingerbread-house, .restart-love, .cinnamon-roll, .menu {
  position: absolute;
  bottom: 35px;
  width: 30px;
  height: 30px;
  cursor: pointer;
  pointer-events: auto;
  transition: all 0.2s ease;
}

.gingerbread-house:hover, 
.restart-love:hover, 
.cinnamon-roll:hover, 
.menu:hover {
  transform: scale(1.2) translateY(-3px);
  filter: drop-shadow(0 0 10px rgba(255, 168, 209, 0.5));
}

.gingerbread-house { left: calc(50% - 166px); }
.restart-love { left: calc(50% - 77px); }
.cinnamon-roll { left: calc(50% + 19px); }
.menu { left: calc(50% + 114px); }

.text-wrapper-10, .text-wrapper-11, .text-wrapper-12, .text-wrapper-13 {
  position: absolute;
  bottom: 15px;
  font-family: "Single Day";
  font-weight: 400;
  color: #5a1132;
  font-size: 10px;
  text-align: center;
  text-decoration: none;
  pointer-events: auto;
  transition: 0.2s;
}

.text-wrapper-10:hover, 
.text-wrapper-11:hover, 
.text-wrapper-12:hover, 
.text-wrapper-13:hover {
  color: #ffa8d1;
}

.text-wrapper-10 { left: calc(50% - 146px); }
.text-wrapper-11 { left: calc(50% - 59px); }
.text-wrapper-12 { left: calc(50% + 18px); }
.text-wrapper-13 { left: calc(50% + 119px); }

a { text-decoration: none; color: inherit; }

/* --- Responsive --- */
@media (max-width: 420px) {
  .rectangle-3 {
    width: 100%;
    border-radius: 33px 33px 0 0;
  }
  
  .gingerbread-house { left: 39px; }
  .restart-love { left: 128px; }
  .cinnamon-roll { left: 224px; }
  .menu { left: 319px; }
  
  .text-wrapper-10 { left: calc(50% - 146px); }
  .text-wrapper-11 { left: calc(50% - 59px); }
  .text-wrapper-12 { left: calc(50% + 18px); }
  .text-wrapper-13 { left: calc(50% + 119px); }
}