
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background-color: white;
    overflow-x: hidden;
}

body {
    font-family: 'Poppins', system-ui, sans-serif;
}

.intro {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    overflow: hidden;
}

.background-image {
    width: 100%;
    position: relative;
    border-radius: 12%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.build {
    position: absolute;
    z-index: 2;
    padding: 12px 24px;
    font-size: 1.5rem;
    width: 15%;
    color: black;
    background-color: #FCF5BE;
    border-radius: 30px;
    text-decoration: none;
    bottom: 15%;
    left: 14%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.build:hover,
.collection:hover {
    background-color: #a7c7e7;
    box-shadow: 0 6px 16px rgba(167, 199, 231, 0.45);
}

.section_1 {
    position: relative;
    display: flex;
    overflow: visible;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 600px;
    contain: layout;
}

.container {
    position: relative;
    height: 100%;
    width: 70%;
    z-index: 2;
}

.Section1_Bracelet {
    position: absolute;
    width: 40%;
    right: 23%;
    transform: rotate(-10deg);
    height: auto;
    max-width: 600px;
    z-index: 3;
}

.anim-container {
    position: relative;
    width: 70%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.Circle {
    position: absolute;
    z-index: 1;
    width: 50%;
    filter: blur(10px);
    height: auto;
    transform: translate(100px, -40px);
    max-width: 600px;
}

.text-container {
    position: absolute;
    display: flex;
    height: 23%;
    width: 43%;
    max-width: 100%;
    top: 9%;
    left: 0;
    z-index: 4;
    justify-content: flex-end;
    align-items: center;
    flex-direction: column;
}

.title {
    position: absolute;
    font-family: KoPub Batang;
    bottom: 13%;
    font-weight: 400;
    font-size: clamp(3rem, 10vw, 9rem);
    text-align: center;
    color: #a7c7e7;
    z-index: 3;
}

.subtitle, .subtitle_effect {
    position: absolute;
    font-family: KoPub Batang;
    font-weight: 400;
    font-size: 3rem;
    text-align: center;
    color: rgb(253, 155, 201);
    z-index: 2;
}

.subtitle_effect {
    text-shadow: 0 8px 7px #000000;
    -webkit-text-stroke: 15px #FFFFFF;
    z-index: 1;
}

.text-container2 {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    right: 3.4%;
    bottom: 9%;
    width: 27%;
}

.primary-text, .secondary-text {
    font-family: 'kantumruy', system-ui, sans-serif;
    font-weight: 700;
    font-size: 2.2rem;
    text-align: right;
}

.secondary-text {
    font-family: 'Mate';
    font-style: italic;
    font-size: 1.5rem;
    font-weight: 300;
}

.collection {
    margin-top: 20px;
    padding: 10px 20px;
    background-color: #FCF5BE;
    color: black;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 500;
    font-size: 1.3rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.collections {
  scroll-margin-top: 110px;
  background-color: #b8d8ea;
  border-radius: 12px;
  padding: 28px 24px 63px;
  font-family: 'Segoe UI', Arial, sans-serif;
}

.collections__title {
  font-size: 3.5rem;
  font-weight: 700;
  font-family: kantumruy, system-ui, sans-serif;
  color: #fff;
  margin: 0 0 20px 0;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.collections__plus {
  width: 5%;
  max-width: 100%;
}

.collections__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.collections__card {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.collections__card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.collections__img-wrap {
  background: #fff;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}

.collections__img-wrap img {
  max-width: 100%;
  width: 60%;
  max-height: 65%;
  object-fit: contain;
}

.collections__label {
  width: 100%;
  color: #fff;
  text-align: center;
  padding: 8px 4px;
  font-size: 1.6rem;
  font-weight: 500;
  border: solid;
  border-width: 1px;
  box-sizing: border-box;
}

/* Desktop only: keep the blue panel full width, but centre the title and
   cards in a narrower column so the cards aren't huge on big screens. */
@media (min-width: 769px) {
  .collections { padding: 28px 24px 44px; }
  .collections__title,
  .collections__grid { max-width: 980px; margin-left: auto; margin-right: auto; }
  .collections__title { font-size: 2.8rem; margin-bottom: 16px; }
  .collections__plus { width: 44px; }
  .collections__grid { gap: 16px; }
  .collections__label { font-size: 1.25rem; }
}

.info {
    position: relative;
    width: 100%;
    height: 700px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    background-color: #fff;
}

.glow {
    position: absolute;
    pointer-events: none;
    z-index: 1;
    opacity: 0.7;
}

.glow--yellow { top: -10%; left: -10%; width: 45%; }
.glow--pink { bottom: -5%; left: 5%; width: 40%; }
.glow--blue { top: -5%; right: -10%; width: 50%; }

.info__wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.info__main-img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.info__point {
    position: absolute;
    display: flex;
    gap: 15px;
    max-width: 260px;
}

.info__point::after {
    content: "";
    position: absolute;
    background-color: #000;
    width: 1px;
}

.point-1 { top: -27%; left: 3.3%; }
.point-1::after { height: 80px; top: 100%; left: 15px; }

.point-2 { bottom: -23%; left: 16%; }
.point-2::after { height: 80px; bottom: 100%; left: 15px; }

.point-3 { top: -27%; right: 26%; }
.point-3::after { height: 80px; top: 100%; left: 15px; }

.point-4 { bottom: -23%; right: 7%; }
.point-4::after { height: 80px; bottom: 100%; left: 15px; }

.info__num { font-size: 3rem; font-family: serif; font-style: italic; font-weight: bold; }
.info__text h3 { font-size: 1.5rem; font-weight: 700; font-style: italic; margin-bottom: 5px; font-family: 'Source Serif 4', serif;}
.info__text p { width: 120%; font-size: 1.1rem; line-height: 1.4; color: #333; font-family: 'Source Serif 4', serif; }

.discount-area {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 4%;
}

.left-image {
    width: 75%;
    max-width: 100%;
    transform: translate(20%);
    border-radius: 70px;
    box-shadow: -2px 5px 10px rgba(0, 0, 0, 0.3);
}

.discount-container {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #FFE1E6;
    border-radius: 70px;
    transform: translate(20%);
    width: 70%;
    max-width: 100%;
    box-shadow: -2px 5px 10px rgba(0, 0, 0, 0.3);
}

.text-container3 {
    display: flex;
    text-align: center;
    width: 80%;
    max-width: 100%;
    flex-direction: column;
    align-items: center;
}

.greeting-text {
    text-align: right;
    position: relative;
    right: -16%;
    font-family: 'Source Serif 4', serif;
    font-style: italic;
    font-size: 1.8rem;
    font-weight: 500;
}

.take-text {
    position: absolute;
    top: 35%;
    left: 8%;
    font-family: 'Kantumruy', sans-serif;
    font-size: 3.5vw;
    font-weight: 700;
    color: #5182B3;
    -webkit-text-stroke: 12px white;
    paint-order: stroke fill;
    filter: drop-shadow(4px 4px 0px rgba(0,0,0,0.1));
}

.Star1 {
    position: absolute;
    top: 20%;
    right: -15%;
    scale: calc(.2);
}

.Star2 {
    position: absolute;
    top: 35%;
    right: -2%;
    scale: calc(.4);
}

.percent-text {
    position: absolute;
    top: 36%;
    left: 31%;
    font-family: 'Source Serif Pro';
    font-style: italic;
    font-size: 6.4vw;
    font-weight: 900;
    color: #FD9AC8;
    -webkit-text-stroke: 12px white;
    paint-order: stroke fill;
    filter: drop-shadow(4px 4px 0px rgba(0,0,0,0.1));
}

.instruction-text {
    font-family: 'Source Serif 4', sans-serif;
    font-style: italic;
    font-size: 1.6rem;
    margin-top: 42%;
}

.promo-text {
    background-color: #A7C7E7;
    align-items: center;
    color: white;
    margin-top: 4%;
    border-radius: 15px;
    scale: calc(1.5);
    height: 30px;
    width: 40%;
    max-width: 100%;
    font-weight: 700;
}

@media (max-width: 768px) {
    .build { height: 7%; width: 40%; bottom: 9%; left: 8%; font-size: 1rem; }


    .section_1 { height: 480px; }
    .anim-container { width: 80%; top: -8%;}
    .container { width: 100%; }
    .Circle { width: 70%; transform: translate(25%, -10%); }
    .Section1_Bracelet { width: 60%; bottom: 9%; right: 9%; transform: rotate(-1deg); }
    .subtitle, .subtitle_effect { font-size: 1.4rem; }
    .subtitle_effect { text-shadow: 0 3px 1px #000000; -webkit-text-stroke: 5px #FFFFFF; }
    .text-container { scale: 120%; top: 0; }
    .text-container2 { right: 5%; bottom: 5%; scale: 90%;}
    .primary-text, .secondary-text { width: 300%; font-size: 1.1rem; }


    .collection { display: inline-block; width: auto; white-space: nowrap; text-align: center; font-size: 1rem; padding: 10px 24px; margin-top: 16px; }
    .collections { padding: 28px 24px 42px; }
    .collections__grid { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding-bottom: 15px; -webkit-overflow-scrolling: touch;}
    .collections__grid::-webkit-scrollbar { display: none; }
    .collections__card { flex: 0 0 calc(50% - 6px); scroll-snap-align: start; }
    .collections__title { font-size: 2.5rem; }
    .collections__plus { width: 10%; }
    .collections__dots { display: flex; justify-content: center; gap: 8px; margin-top: 20px; }
    .dot { width: 10px; height: 10px; border-radius: 50%; background-color: rgba(255, 255, 255, 0.5); transition: all 0.3s ease; }
    .dot.active { background-color: #fff; transform: scale(1.2); }


    .info { height: auto; padding: 60px 20px; }
    .info__wrapper { flex-direction: column; align-items: flex-start; gap: 40px; }
    .info__main-img { order: -1; width: 100%; margin-bottom: 20px; }
    .info__point { position: static; max-width: 100%; gap: 15px; }
    .info__point::after { display: none; }
    .info__num { font-size: 2.2rem; min-width: 35px; }
    .info__text h3 { font-size: 1.2rem; }
    .info__text p { font-size: 0.9rem; width: 100%; }
    .glow--yellow { width: 80%; top: 0; left: -30%; }
    .glow--pink { width: 70%; bottom: 10%; left: -20%; }
    .glow--blue { width: 90%; top: 30%; right: -30%; }


    .discount-area { grid-template-columns: 1fr; gap: 20px; padding: 5%; }
    .left-image { width: 100%; transform: translate(0); border-radius: 40px; }
    .discount-container { width: 100%; transform: translate(0); border-radius: 40px; padding: 30px 10px; min-height: auto; }
    .text-container3 { width: 90%; }
    .greeting-text { right: 0; text-align: center; font-size: 1.4rem; margin-bottom: 15px; }
    .offer-row { display: flex; align-items: center; justify-content: center; gap: 8px; white-space: nowrap; margin: 10px 0; position: relative; }
    .take-text { position: relative; top: 0; left: 0; font-size: 1.5rem; -webkit-text-stroke: 4px white; }
    .percent-text { position: relative; top: 0; left: 0; font-size: 2.5rem; -webkit-text-stroke: 6px white; }
    .Star1 { position: absolute; right: -5%; top: -10%; width: 35px; height: auto; scale: 1; }
    .Star2 { display: none; }
    .instruction-text { margin-top: 10px; font-size: 1.1rem; }
    .promo-text { scale: 1; width: 80%; height: 45px; display: flex; justify-content: center; align-items: center; font-size: 1.1rem; border-radius: 12px; margin-top: 15px; }
}

html.dark-mode {
    background-color: #0f172a;
}

html.dark-mode body {
    color: #e5e7eb;
}

html.dark-mode .info {
    background-color: #16233d;
}

html.dark-mode .info__text p {
    color: #cbd5e1;
}

html.dark-mode .info__point::after {
    background-color: #cbd5e1;
}

html.dark-mode .collections {
    background-color: #1c2b4b;
}

html.dark-mode .collections__img-wrap {
    background: #0f172a;
}

html.dark-mode .discount-container {
    background-color: #3a2530;
}

html.dark-mode .promo-text {
    background-color: #3a5a82;
}

/* --- Hover lift on the hero / section buttons --- */
.build,
.collection {
    transition: background-color 0.3s ease, box-shadow 0.3s ease, transform 0.2s ease;
}

.build:hover,
.collection:hover,
.build:focus-visible,
.collection:focus-visible {
    transform: translateY(-3px);
}
