@font-face {
  font-family: "Campaign Pretendard";
  src: url("fonts/Pretendard-Black.woff2?v=20261030190831") format("woff2");
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}

[data-fit-mobile] {
  display: block;
  min-width: 0;
}

#quant .panel {
  min-width: 0;
}

main p,
.hero .lead,
.step,
.scene div,
#consult-dialog-message {
  word-break: keep-all;
  overflow-wrap: break-word;
}

@media (max-width: 850px) {
  .mobile-text-fit [data-fit-mobile] {
    white-space: nowrap;
  }
}

#simulation {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  max-width: none;
  margin: 28px auto 38px;
  padding: 32px 26px 28px !important;
  border: 1px solid #6b9bff;
  border-radius: 20px;
  background: #071a3e;
  box-shadow: inset 0 0 20px #2c7fff30, 0 12px 40px #006aff15;
  text-align: center;
}

#simulation::before {
  content: "";
  position: absolute;
  z-index: -2;
  inset: 0;
  background: url("trading-banner-background.webp?v=20261030190831") center / 100% 100% no-repeat;
}

#simulation::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, #04102a10, #03102b35 45%, #04102a00);
}

#simulation .kicker {
  margin: 0 0 12px;
  color: #8ebeff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 2.6px;
}

#simulation .sim-question,
#simulation h3 {
  font-family: "Campaign Pretendard", "Pretendard", "Noto Sans KR", sans-serif;
  font-weight: 900;
  color: #fff;
  text-shadow: 0 2px 2px #0005;
  word-break: keep-all;
}

#simulation .sim-question {
  font-size: clamp(23px, 3vw, 34px);
  line-height: 1.2;
  letter-spacing: -1.2px;
  margin: 0 0 12px;
}

#simulation h3 {
  font-size: clamp(34px, 5.7vw, 66px) !important;
  line-height: 1.12 !important;
  letter-spacing: -2.4px;
  margin: 0 auto 20px !important;
}

#simulation h3 > .sim-title-line {
  display: inline-block;
  color: #fff;
  margin-top: 5px;
}

#simulation strong,
#simulation .sim-profit-text {
  color: #14e4ff;
  font-weight: 900;
  display: inline-block;
  background: linear-gradient(180deg, #b6ffff 0%, #32f4ff 28%, #00d6f7 58%, #0089d4 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 0 5px #00e5ffb3) drop-shadow(0 0 16px #00b9ff80);
}

#simulation .sim-text {
  display: inline-block;
  margin: 0;
  background: linear-gradient(180deg, #ffffff 0%, #ffffff 40%, #dae5fc 68%, #9aaed7 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 2px 1px #03102a80) drop-shadow(0 0 5px #bad7ff66);
}

#simulation .sim-underlined {
  position: relative;
  display: inline-block;
  background: none;
  filter: none;
}

#simulation .sim-underlined::after {
  content: "";
  position: absolute;
  left: -15%;
  bottom: -0.17em;
  width: 130%;
  height: 0.38em;
  background: url("profit-brush-underline.svg?v=20261030190831") center / 100% 100% no-repeat;
  filter: none;
  pointer-events: none;
}

#simulation p {
  max-width: 820px;
  margin: 0 auto;
  color: #eef5ff;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.7;
  word-break: keep-all;
  background: linear-gradient(180deg, #ffffff 15%, #eff7ff 48%, #9cdbff 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: none;
  filter: drop-shadow(0 1px 2px #020b1f) drop-shadow(0 0 5px #a0d7ff70);
}

#simulation .sim-cta {
  max-width: 520px;
  margin: 20px auto 0;
  padding: 11px 18px;
  font-size: 15px;
}

#room .cards {
  gap: 14px;
}

#room .card {
  display: grid;
  grid-template-columns: 1fr auto;
  align-content: start;
  align-items: center;
  gap: 16px 8px;
  min-height: 0;
  padding: 22px 18px 24px;
  background: linear-gradient(155deg, #102642, #071628 78%);
}

#room .card .n {
  font-size: 13px;
}

#room .card .ico {
  margin: 0;
  font-size: 27px;
  line-height: 1;
  color: #78c6ff;
}

#room .card h3 {
  grid-column: 1 / -1;
  margin: 2px 0 0;
  color: #fff;
  font-family: "Campaign Pretendard", "Pretendard", "Noto Sans KR", sans-serif;
  font-size: 19px;
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: -0.65px;
  word-break: keep-all;
  overflow-wrap: break-word;
}

#room .card h3 strong {
  color: #79d1ff;
  font-weight: 900;
}

#room .card p {
  grid-column: 1 / -1;
  margin: 0;
  color: #e1eaf5;
  font-size: 16px;
  line-height: 1.65;
  word-break: keep-all;
}

#room .card p strong {
  color: #fff000;
  font-weight: 800;
  text-shadow: 0 0 7px #fff00026;
}

#room .card .card-exclamation {
  display: inline-block;
  color: #fff;
  transform: skewX(-14deg);
}

@media (max-width: 550px) {
  #simulation {
    padding: 26px 16px 24px !important;
    border-radius: 18px;
  }

  #simulation::before {
    background-size: 100% auto;
    background-position: center bottom;
    opacity: 0.75;
  }

  #simulation::after {
    background: linear-gradient(180deg, #071a3e00 40%, #071a3e99 70%, #071a3e33);
  }

  #simulation .kicker {
    font-size: 8px;
    letter-spacing: 1.8px;
  }

  #simulation .sim-question {
    font-size: clamp(21px, 6.1vw, 30px);
    letter-spacing: -0.8px;
  }

  #simulation h3 {
    font-size: clamp(31px, 8.7vw, 46px) !important;
    letter-spacing: -1.3px;
    margin-bottom: 16px !important;
  }

  #simulation p {
    font-size: 15px;
  }

  #simulation .sim-cta {
    margin-top: 16px;
    font-size: 14px;
  }

  #room .cards {
    gap: 12px;
  }

  #room .card {
    padding: 16px 18px 18px;
    gap: 10px 8px;
  }

  #room .card .ico {
    font-size: 23px;
  }

  #room .card h3 {
    font-size: 19px;
    line-height: 1.38;
  }
}
