@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: 1300px;
  position: relative;
  padding-bottom: 120px;
  font-family: "Single Day", cursive;
}

/* --- HEADER --- */
.header-group {
  position: relative;
  height: 220px;
}

.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;

    font-family: "Single Day";

  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% - 49px);
  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);
}

/* ===== STORY CONTAINER ===== */
.story-container {
  position: relative;
  top: -5px;
  max-width: 310px;
  margin: 0 auto 100px auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
  z-index: 5;
  padding: 10px 0 30px 0;
}

/* --- INTRO BOX --- */
.intro-box {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(3px);
  padding: 25px 20px;
  border-radius: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(255, 168, 209, 0.15);
  border: 1px solid #ffffff;
  transition: transform 0.3s ease;
}

.intro-box:hover {
  transform: scale(1.02);
}

.intro-icon {
  font-size: 40px;
  margin-bottom: 5px;
}

.intro-title {
  font-family: "Single Day";
  font-size: 24px;
  color: #5a1132;
  margin-bottom: 2px;
}

.intro-sub {
  font-family: "Vividly-Regular", sans-serif;
  font-size: 13px;
  color: #b37b96;
  margin-bottom: 12px;
}

.intro-text {
  font-family: "Single Day";
  font-size: 12px;
  color: #5a1132;
  line-height: 1.6;
}

.pink-highlight {
  font-family: "Single Day";
  color: #ffa8d1;
  font-size: 15px;
  display: inline-block;
  margin-top: 8px;
}

/* --- SECTION CARDS --- */
.section-card {
  background: #ffffff;
  border-radius: 25px;
  padding: 20px;
  box-shadow: 0 4px 15px rgba(90, 17, 50, 0.04);
  border: 1px solid #fce4ed;
  transition: all 0.3s ease;
}

.section-card:hover {
  box-shadow: 0 8px 25px rgba(90, 17, 50, 0.08);
}

.section-header {
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 2px solid #fce4ed;
  padding-bottom: 12px;
  margin-bottom: 15px;
}

.section-emoji {
  font-size: 22px;
}

.section-title {
  font-family: "Single Day";
  font-size: 16px;
  color: #5a1132;
}

/* --- MEET THE RABBIT --- */
.meet-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
}

.rabbit-profile {
  text-align: center;
}

.rabbit-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  background: #ffeef4;
  border: 3px solid #ffa8d1;
  margin-bottom: 8px;
  transition: transform 0.3s ease;
}

.rabbit-img:hover {
  transform: scale(1.08) rotate(-3deg);
}

.rabbit-name {
  font-family: "Single Day";
  font-size: 18px;
  color: #5a1132;
}

.rabbit-sub {
  font-family: "Vividly-Regular", sans-serif;
  font-size: 12px;
  color: #b37b96;
}

.rabbit-bio p {
  font-family: "Single Day";
  font-size: 12px;
  color: #5a1132;
  line-height: 1.6;
  margin-bottom: 10px;
}

.rabbit-bio strong {
  font-family: "Single Day";
  color: #ffa8d1;
}

/* --- PROMISE GRID --- */
.promise-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.promise-item {
  background: #fff4f9;
  padding: 15px 10px;
  border-radius: 20px;
  text-align: center;
  border: 1px solid #ffeef4;
  transition: all 0.3s ease;
}

.promise-item:hover {
  background: #ffeef4;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(255, 168, 209, 0.2);
}

.promise-icon {
  font-size: 24px;
  margin-bottom: 4px;
}

.promise-title {
  font-family: "Single Day";
  font-size: 14px;
  color: #5a1132;
  margin-bottom: 4px;
}

.promise-desc {
  font-family: "Single Day";
  font-size: 11px;
  color: #b37b96;
  line-height: 1.4;
}

/* --- TIMELINE --- */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 15px;
  padding-left: 10px;
}

.timeline-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.timeline-dot {
  font-size: 20px;
  background: #ffeef4;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 2px solid #ffa8d1;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.timeline-item:hover .timeline-dot {
  transform: scale(1.15) rotate(10deg);
}

.timeline-content {
  background: #fff4f9;
  padding: 12px 15px;
  border-radius: 18px;
  flex: 1;
  border: 1px solid #ffeef4;
  transition: all 0.3s ease;
}

.timeline-item:hover .timeline-content {
  background: #ffeef4;
}

.timeline-year {
  font-family: "Single Day";
  font-size: 15px;
  color: #5a1132;
  margin-bottom: 3px;
}

.timeline-text {
  font-family: "Single Day";
  font-size: 11px;
  color: #5a1132;
  line-height: 1.5;
}

/* --- CLOSING CARD --- */
.closing-card {
  background: #ffa8d1;
  padding: 25px 20px;
  border-radius: 30px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(255, 168, 209, 0.3);
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

.closing-card:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 30px rgba(255, 168, 209, 0.4);
}

.closing-text {
  font-family: "Single Day";
  font-size: 14px;
  color: #ffffff;
  line-height: 1.6;
  margin-bottom: 8px;
}

.closing-sub {
  font-family: "Vividly-Regular", sans-serif;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.8);
}

/* ===== SCROLL ANIMATION ===== */
.fade-up {
  opacity: 0;
  transform: translateY(35px) scale(0.97);
  transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), 
              transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* ===== BOTTOM NAV ===== */
.bottom-nav {
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 96px;
  z-index: 10;
  margin-top: -80px;
}

.rectangle-3 {
  position: absolute;
  bottom: 0;
  left: calc(50.00% - 205px);
  width: 410px;
  height: 96px;
  background-color: #ffffff;
  border-radius: 33px;
}

.gingerbread-house, .restart-love, .cinnamon-roll, .menu {
  position: absolute;
  bottom: 35px;
  width: 30px;
  height: 30px;
  cursor: pointer;
}

.gingerbread-house { left: 39px; }
.restart-love { left: 128px; }
.cinnamon-roll { left: 224px; }
.menu { left: 319px; }

.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;
  white-space: nowrap;
}

.text-wrapper-10 { left: calc(50.00% - 146px); }
.text-wrapper-11 { left: calc(50.00% - 59px); }
.text-wrapper-12 { 
  left: calc(50.00% + 39px); 
  width: 85px;
  margin-left: -42px;
}
.text-wrapper-13 { left: calc(50.00% + 119px); }

.text-wrapper-12.active {
  font-weight: bold;
  color: #ffa8d1;
}

a { text-decoration: none; color: inherit; }

/* responsive */
@media (max-width: 420px) {
  .rectangle-3 {
    left: 0;
    width: 100%;
    border-radius: 33px 33px 0 0;
  }
}