@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% - 51px);
  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);
}

/* --- HERO SECTION --- */
.hero-section {
  max-width: 340px;
  margin: 0 auto 40px auto;
  position: relative;
  z-index: 5;
  padding: 0 10px;
}

.hero-badge {
  background: #ffffff;
  display: inline-block;
  padding: 8px 20px;
  border-radius: 50px;
  font-family: "Vividly-Regular", sans-serif;
  font-size: 16px;
  color: #5a1132;
  margin-bottom: 15px;
  box-shadow: 0 2px 10px rgba(255, 168, 209, 0.2);
}

.hero-card {
  background: #ffffff;
  border-radius: 35px;
  padding: 25px;
  box-shadow: 0 10px 30px rgba(90, 17, 50, 0.06);
}

.hero-image-wrapper {
  width: 100%;
  height: 220px;
  background: #fff4f9;
  border-radius: 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
}

.hero-img {
  width: 160px;
  height: 160px;
  object-fit: contain;
  transition: all 0.4s ease;
}

.hero-img:hover {
  transform: scale(1.1) rotate(-5deg);
}

.hero-info {
  text-align: center;
}

.hero-title {
  font-family: "Vividly-Regular", sans-serif;
  font-size: 26px;
  color: #5a1132;
  margin-bottom: 4px;
}

.hero-eng {
  font-family: "Vividly-Regular", sans-serif;
  font-size: 14px;
  color: #b37b96;
  margin-bottom: 15px;
}

.hero-desc {
  font-family: "Vividly-Regular", sans-serif;
  font-size: 14px;
  color: #5a1132;
  line-height: 1.8;
  text-align: left;
  margin-bottom: 20px;
}

.hero-desc .highlight {
  color: #ffa8d1;
  margin-top: 10px;
  font-family: "Vividly-Regular", sans-serif;
  font-size: 15px;
  text-align: center;
}

.hero-price {
  font-family: "Single Day";
  font-size: 24px;
  color: #5a1132;
  font-weight: bold;
  margin-bottom: 20px;
}

.hero-btn {
  display: inline-block;
  background: #ffa8d1;
  color: #ffffff;
  padding: 15px 40px;
  border-radius: 50px;
  font-family: "Vividly-Regular", sans-serif;
  font-size: 18px;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(255, 168, 209, 0.4);
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.hero-btn:hover {
  transform: scale(1.05) translateY(-3px);
  background: #ff8ec2;
}

/* --- GRID SECTION --- */
.grid-section {
  max-width: 340px;
  margin: 0 auto 40px auto;
  position: relative;
  z-index: 5;
  padding: 0 10px;
}

.section-title {
  font-family: "Vividly-Regular", sans-serif;
  font-size: 22px;
  color: #5a1132;
  text-align: center;
  margin-bottom: 20px;
}

.grid-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.grid-card {
  background: #ffffff;
  border-radius: 25px;
  padding: 20px 15px;
  text-align: center;
  box-shadow: 0 4px 15px rgba(90, 17, 50, 0.04);
  transition: all 0.3s ease;
}

.grid-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(255, 168, 209, 0.15);
}

.grid-img-placeholder {
  font-size: 40px;
  margin-bottom: 10px;
}

.grid-name {
  font-family: "Vividly-Regular", sans-serif;
  font-size: 16px;
  color: #5a1132;
  margin-bottom: 5px;
}

.grid-desc {
  font-family: "Vividly-Regular", sans-serif;
  font-size: 11px;
  color: #b37b96;
  line-height: 1.4;
  margin-bottom: 10px;
  height: 30px; /* keeps cards aligned */
  overflow: hidden;
}

.grid-price {
  font-family: "Single Day";
  font-size: 16px;
  color: #5a1132;
}

/* --- REVIEWS SECTION --- */
.reviews-section {
  max-width: 340px;
  margin: 0 auto 40px auto;
  position: relative;
  z-index: 5;
  padding: 0 10px;
}

.review-card {
  background: #ffffff;
  border-radius: 20px;
  padding: 20px;
  margin-bottom: 15px;
  box-shadow: 0 4px 15px rgba(90, 17, 50, 0.04);
  border: 2px solid #fff4f9;
  transition: all 0.3s ease;
}

.review-card:hover {
  border-color: #ffcce0;
  transform: scale(1.02);
}

.review-stars {
  color: #ffa8d1;
  font-size: 18px;
  margin-bottom: 8px;
}

.review-text {
  font-family: "Vividly-Regular", sans-serif;
  font-size: 14px;
  color: #5a1132;
  line-height: 1.6;
  margin-bottom: 10px;
}

.review-author {
  font-family: "Single Day";
  font-size: 13px;
  color: #b37b96;
  text-align: right;
}

/* --- BOTTOM NAV --- */
.bottom-nav {
  bottom: 0px;
  left: 0;
  width: 100%;
      position: absolute;

  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% + 33px); }
  .text-wrapper-13 { left: calc(50% + 119px); }
}