@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: 803px;
  position: relative;
  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;
  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);
}

/* --- KOREAN BANNER --- */
.korean-banner {
  position: relative;
  top: -10px;
  width: 100%;
  text-align: center;
  z-index: 5;
  margin-bottom: 10px;
}

.greeting-text {
  font-family: "Single Day";
  font-size: 22px;
  color: #5a1132;
  line-height: 1.6;
}

.greeting-text .sub-text {
  font-family: "Single Day";
  font-size: 15px;
  color: #ffa8d1;
}

/* --- ORDERS CONTAINER --- */
.orders-container {
  position: relative;
  max-width: 310px;
  margin: 0 auto 150px auto;
  display: flex;
  flex-direction: column;
  gap: 18px;
  z-index: 5;
  padding: 10px 0 30px 0;
}

/* --- ORDER CARDS --- */
.order-card {
  background: #ffffff;
  border-radius: 25px;
  padding: 16px 18px;
  box-shadow: 0 4px 15px rgba(90, 17, 50, 0.04);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: all 0.3s ease;
}

/* ===== SCROLL ANIMATION ===== */
.fade-up {
  opacity: 0;
  transform: translateY(40px) scale(0.96);
  transition: opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1), 
              transform 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
}

/* cute hover effect */
.order-card:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 12px 30px rgba(90, 17, 50, 0.10);
  transition: all 0.3s ease;
}

.card-top {
  display: flex;
  align-items: center;
  gap: 15px;
}

.order-img {
  width: 65px;
  height: 65px;
  border-radius: 18px;
  object-fit: cover;
  background: #ffeef4;
}

.order-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.order-title {
  font-family: "Single Day";
  font-size: 17px;
  color: #5a1132;
}

.order-eng {
  font-family: "Vividly-Regular", sans-serif;
  font-size: 12px;
  color: #b37b96;
}

.order-qty {
  font-family: "Single Day";
  font-size: 12px;
  color: #5a1132;
  margin-top: 4px;
}

.order-price {
  font-family: "Single Day";
  font-size: 16px;
  color: #5a1132;
  font-weight: bold;
}

.card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #fce4ed;
  padding-top: 10px;
}

.status {
  font-family: "Single Day";
  font-size: 14px;
  color: #ffa8d1;
}

.status.preparing {
  color: #ffa8d1;
}

.date {
  font-family: "Vividly-Regular", sans-serif;
  font-size: 12px;
  color: #b37b96;
}

/* --- BOTTOM NAV --- */
.bottom-nav {
  position: relative;
  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;
}

.text-wrapper-10 { left: calc(50.00% - 146px); }
.text-wrapper-11 { left: calc(50.00% - 59px); }
.text-wrapper-12 { left: calc(50.00% + 18px); }
.text-wrapper-13 { left: calc(50.00% + 119px); }

a { text-decoration: none; color: inherit; }

/* responsive tweak */
@media (max-width: 420px) {
  .rectangle-3 {
    left: 0;
    width: 100%;
    border-radius: 33px 33px 0 0;
  }
}