/* inter */
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

@import url("https://cdn.jsdelivr.net/gh/orioncactus/pretendard@v1.3.9/dist/web/variable/pretendardvariable-dynamic-subset.min.css");

:root {
    --cr-co01:#fff0eb; --cr-r01:#ffebe9; --cr-pk01:#ffeff7;
    --cr-co02:#ffd6cc; --cr-r02:#ffcecb; --cr-pk02:#ffd3eb;
    --cr-co03:#ffb4a1; --cr-r03:#ffaba8; --cr-pk03:#ffadda;
    --cr-co04:#fd8c73; --cr-r04:#ff8182; --cr-pk04:#ff80c8;
    --cr-co05:#ec6547; --cr-r05:#fa4549; --cr-pk05:#e85aad;
    --cr-co06:#c4432b; --cr-r06:#cf222e; --cr-pk06:#bf3989;
    --cr-co07:#9e2f1c; --cr-r07:#a40e26; --cr-pk07:#99286e;
    --cr-co08:#801f0f; --cr-r08:#82071e; --cr-pk08:#772057;
    --cr-co09:#691105; --cr-r09:#660018; --cr-pk09:#611347;
    --cr-co10:#510901; --cr-r10:#4c0014; --cr-pk10:#4d0336;

    --cr-or01:#fff1e5; --cr-y01:#fff8c5; --cr-gr01:#dafbe1;
    --cr-or02:#ffd8b5; --cr-y02:#fae17d; --cr-gr02:#aceebb;
    --cr-or03:#ffb77c; --cr-y03:#eac54f; --cr-gr03:#6fdd8b;
    --cr-or04:#fb8f44; --cr-y04:#d4a72c; --cr-gr04:#4ac26b;
    --cr-or05:#e16f24; --cr-y05:#bf8700; --cr-gr05:#2da44e;
    --cr-or06:#bc4c00; --cr-y06:#9a6700; --cr-gr06:#1a7f37;
    --cr-or07:#953800; --cr-y07:#7d4e00; --cr-gr07:#116329;
    --cr-or08:#762c00; --cr-y08:#633c01; --cr-gr08:#044f1e;
    --cr-or09:#5c2200; --cr-y09:#4d2d00; --cr-gr09:#003d16;
    --cr-or10:#471700; --cr-y10:#3b2300; --cr-gr10:#002d11;

    --cr-p01:#fbefff; --cr-b01:#ddf4ff; --cr-g01:#f6f8fa;
    --cr-p02:#ecd8ff; --cr-b02:#b6e3ff; --cr-g02:#E5E5E4;
    --cr-p03:#d8b9ff; --cr-b03:#80ccff; --cr-g03:#d0d7de; --cr-g03a:#C0C0C0;
    --cr-p04:#c297ff; --cr-b04:#54aeff; --cr-g04:#afb8c1;
    --cr-p05:#a475f9; --cr-b05:#218bff; --cr-g05:#898989;
    --cr-p06:#8250df; --cr-b06:#0969da; --cr-g06:#6e7781;
    --cr-p07:#6639ba; --cr-b07:#0550ae; --cr-g07:#57606a;
    --cr-p08:#512a97; --cr-b08:#033d8b; --cr-g08:#424a53;
    --cr-p09:#3e1f79; --cr-b09:#0a3069; --cr-g09:#32383f;
    --cr-p10:#2e1461; --cr-b10:#002155; --cr-g10:#24292f;

    --cr-bk00: #000000;
    --cr-bk01: #111111;
    --cr-bk02: #222222;
    --cr-bk03: #333333;
    --cr-bk04: #444444;
    --cr-bk05: #555555;
    --cr-bk06: #666666;

    --cr-btn-primary: linear-gradient(90deg, #A7A4E0 0%, #625DCA 100%);
    --cr-primary: #A7A4E0;
    --cr-primary-selected: #A7A4E0;
    --cr-type01: #D09FE6;
    --cr-type02: #7DB1E3;
    --cr-type03: #8F7BE0;
}

:root {
    --safe-area-inset-top: env(safe-area-inset-top);
    --safe-area-inset-bottom: env(safe-area-inset-bottom);
    --safe-area-inset-left: env(safe-area-inset-left);
    --safe-area-inset-right: env(safe-area-inset-right);

    --fs-h1: 32px;
    --fs-h2: 24px;
    --fs-h3: 20px;
    --fs-h3a: 18px;
    --fs-h4: 16px;
    --fs-h5: 14px;
    --fs-h6: 12px;

    --pd-side: 20px;
}
html, body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  -webkit-overflow-scrolling: touch;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
}

*{margin: 0; padding: 0;box-sizing: border-box;word-break: keep-all;
  font-family: "Inter";
  font-optical-sizing: auto;
  font-style: normal;
}

.cursor-pointer{cursor: pointer;}

.termRoot {
  position: absolute;
  bottom: 20px;
  gap: 20px;
  width: 100%;
  display: flex;
  justify-content: center;
}

.termRoot .termBtn {
  cursor: pointer;
  color: #fff;
  font-family: "Pretendard Variable", Pretendard, sans-serif;
  text-decoration: none;
}

.termRoot .termBtn:hover {
  text-decoration: underline;
}

.intro{width: 100vw;height: 100vh;position: fixed;top: 0;left: 0;background-color: #000;background-size: cover;background-position: center;background-repeat: no-repeat;overflow: hidden;}

.intro_2 {
  background-image: url("../image/bg_image.png");
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.intro_2 .phoneContainer {
  position: relative;
  width: max(38vh, 21.3vw);
  height: max(75vh, 42.1vw);
}

.intro_2 .phoneBody {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: contain;
  z-index: 1;
}

.intro_2 .phoneScreen {
  position: absolute;
  top: 12%;
  left: 8%;
  width: 84%;
  height: 72%;
  object-fit: cover;
  border-radius: 24px;
  z-index: 0;
}

.intro_2 .centerPhone {
  height: 100vh;
  max-width: 90vw;
  object-fit: contain;
}

.intro_2 .mobilePhone {
  display: none;
  height: 100vh;
  max-width: 90vw;
  object-fit: contain;
}

.intro_2 .marketBtnRoot {
  position: absolute;
  bottom: 21.5%;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 12px;
  z-index: 10;
}

.intro_2 .marketBtnRoot .googleBtn {
  background-image: url("../image/google_btn.svg");
  width: min(150px, 17vw, 18vh);
  height: min(45px, 5vw, 5.3vh);
  cursor: pointer;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

.intro_2 .marketBtnRoot .appleBtn {
  background-image: url("../image/apple_btn.png");
  width: min(135px, 15vw, 16vh);
  height: min(45px, 5vw, 5.3vh);
  cursor: pointer;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
}

/* 가로가 긴 화면 (aspect-ratio > 1.5) */
@media (min-aspect-ratio: 3/2) and (min-width: 770px) {
  .intro_2 .marketBtnRoot .googleBtn {
    width: min(162px, 12vh);
    height: min(48px, 3.5vh);
  }

  .intro_2 .marketBtnRoot .appleBtn {
    width: min(144px, 11vh);
    height: min(48px, 3.5vh);
  }
}


@media all and (max-width:770px) {
  .intro_2 {
    background-image: none;
    background-color: transparent;
  }

  .intro_2 .centerPhone {
    display: none;
  }

  .intro_2 .mobilePhone {
    display: block;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100vw;
    min-height: 100vh;
    width: auto;
    height: auto;
    object-fit: cover;
  }

  .intro_2 .phoneContainer {
    display: none;
  }

  .intro_2 .marketBtnRoot {
    bottom: 10%;
  }

  .intro_2 .marketBtnRoot .googleBtn {
    width: min(140px, 22vw);
    height: min(42px, 6.5vw);
  }

  .intro_2 .marketBtnRoot .appleBtn {
    width: min(125px, 20vw);
    height: min(42px, 6.5vw);
  }

  .termRoot {
    display: none;
  }
}

@media all and (max-width:550px) {
  .intro_2 .marketBtnRoot .googleBtn {
    width: min(130px, 26vw);
    height: min(40px, 8vw);
  }

  .intro_2 .marketBtnRoot .appleBtn {
    width: min(115px, 23vw);
    height: min(40px, 8vw);
  }
}

/* Agreement & Policy Styles */
.signup__cont {
  width: 100%;
  min-height: 100vh;
  background-color: #fff;
  padding: 20px;
}

.signup__cont.agreement {
  padding-top: 60px;
}

.signup__top {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #fff;
  z-index: 100;
}

.signup__title {
  font-size: 18px;
  font-weight: 600;
}

.signup__back {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}

.signup__back img {
  width: 24px;
  height: 24px;
}

.agreement__content {
  max-width: 800px;
  margin: 0 auto;
}

.term_container {
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
  font-size: 14px;
  line-height: 1.8;
  color: #333;
}

.term_h1 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #000;
}

.term_h2 {
  font-size: 16px;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 10px;
  color: #000;
}

.term_box {
  background-color: #f5f5f5;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.term_indent {
  padding-left: 20px;
  margin: 10px 0;
}

/* Privacy Policy Styles */
.public-wrap {
  width: 100%;
  min-height: 100vh;
  background-color: #fff;
  padding: 40px 20px;
}

.privacy {
  max-width: 800px;
  margin: 0 auto;
}

.privacy h1 {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 30px;
  color: #000;
}

.privacy p {
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, sans-serif;
  font-size: 14px;
  line-height: 1.8;
  color: #333;
}
