@font-face {
  font-family: "Sora";
  src: url("assets/fonts/Sora-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: optional;
}

@font-face {
  font-family: "Sora";
  src: url("assets/fonts/Sora-Regular.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: optional;
}

@font-face {
  font-family: "Sora";
  src: url("assets/fonts/Sora-SemiBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: optional;
}

@font-face {
  font-family: "Sora";
  src: url("assets/fonts/Sora-SemiBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 700;
  font-display: optional;
}

@font-face {
  font-family: "Sora";
  src: url("assets/fonts/Sora-ExtraBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 800;
  font-display: optional;
}

:root {
  --ink: #020819;
  --muted: #64748b;
  --line: #dfe6ef;
  --green: #12a447;
  --green-soft: #effbf3;
  --green-line: #a8e7bd;
  --selected: #e9fff1;
  --shadow: 0 1px 2px rgba(2, 8, 25, 0.04);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: #ffffff;
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--ink);
  font-family: "Sora", Arial, Helvetica, sans-serif;
  background: #ffffff;
}

body.modal-open {
  overflow: hidden;
}

button,
input,
textarea,
select {
  font: inherit;
}

.app {
  width: min(100%, 508px);
  min-height: 100vh;
  margin: 0 auto;
  background: #ffffff;
}

.brand-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 58px;
  border-bottom: 1px solid #d9e1eb;
}

.brand-logo {
  display: block;
  width: 150px;
  height: 30px;
  fill: #000000;
}

.content {
  width: 100%;
  padding: 28px 44px 62px;
}

.balance-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: fit-content;
  min-height: 44px;
  margin: 0 auto 19px;
  padding: 7px 21px;
  color: var(--green);
  font-size: 20px;
  line-height: 1.1;
  font-weight: 500;
  background: var(--green-soft);
  border: 2px solid var(--green-line);
  border-radius: 999px;
}

.balance-pill strong {
  font-weight: 800;
}

.balance-pill .coin {
  font-size: 18px;
}

.balance-pill .usd {
  color: #68bf7f;
  font-weight: 500;
}

.balance-pill .label {
  color: #687897;
  font-weight: 600;
}

.step {
  margin: 0 0 18px;
  text-align: center;
  font-size: 19px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: 9px;
  transform: translateX(4px);
}

.reward {
  margin: 0 0 20px;
  color: var(--green);
  text-align: center;
  font-size: 19px;
  line-height: 1.25;
  font-weight: 500;
}

.reward .amount-usd {
  color: #647390;
  font-weight: 600;
}

.reward .amount-brl {
  color: var(--green);
  font-weight: 800;
}

.look-card {
  width: min(100%, 240px);
  margin: 0 0 27px;
  margin-inline: auto;
  overflow: hidden;
  border: 2px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.look-card img {
  display: block;
  width: 100%;
  height: 300px;
  object-fit: cover;
  object-position: center top;
}

.answers {
  display: grid;
  gap: 10px;
}

.answer {
  display: flex;
  align-items: center;
  gap: 16px;
  width: 100%;
  min-height: 70px;
  padding: 16px 20px;
  color: var(--ink);
  text-align: left;
  font-size: 19px;
  line-height: 1.25;
  font-weight: 500;
  background: #ffffff;
  border: 2px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.answer span {
  display: inline-grid;
  place-items: center;
  width: 24px;
  min-width: 24px;
  font-size: 23px;
  font-weight: 400;
}

.answer:hover {
  border-color: #c8d4e4;
  transform: translateY(-1px);
}

.answer:focus-visible {
  outline: 3px solid rgba(18, 164, 71, 0.24);
  outline-offset: 2px;
}

.answer.is-selected {
  background: var(--selected);
  border-color: var(--green-line);
  font-weight: 600;
}

.answer:disabled {
  cursor: default;
}

.reward-modal[hidden] {
  display: none;
}

.reward-modal {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: grid;
  place-items: center;
  padding: 16px;
  background: rgba(2, 8, 25, 0.42);
}

.reward-dialog {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(calc(100vw - 32px), 390px);
  max-height: calc(100vh - 32px);
  overflow-y: auto;
  overflow-x: hidden;
  padding: 28px 18px 20px;
  background: #ffffff;
  border-radius: 18px;
  box-shadow: 0 24px 80px rgba(2, 8, 25, 0.24);
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  padding: 0;
  color: #4b5565;
  font-size: 36px;
  line-height: 1;
  font-weight: 400;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.modal-look {
  display: block;
  width: clamp(128px, 36vw, 158px);
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center top;
  border: 2px solid #d9e1eb;
  border-radius: 18px;
}

.modal-balance {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(5px, 1.8vw, 9px);
  width: 100%;
  min-height: 58px;
  max-width: 100%;
  margin-top: 22px;
  padding: 11px 12px;
  color: var(--green);
  font-size: clamp(15px, 4.1vw, 20px);
  line-height: 1.1;
  background: #e7fbef;
  border: 2px solid var(--green-line);
  border-radius: 999px;
}

.modal-balance .coin {
  font-size: clamp(18px, 4.4vw, 22px);
}

.modal-balance strong {
  font-weight: 800;
}

.modal-balance span:not(.coin):not(.label) {
  color: #61bd79;
  font-weight: 500;
}

.modal-balance .label {
  color: #687390;
  font-weight: 600;
}

.modal-added {
  margin: 24px 0 0;
  color: var(--ink);
  text-align: center;
  font-size: clamp(21px, 5.8vw, 25px);
  line-height: 1.2;
  font-weight: 800;
}

.modal-added #modal-reward-usd {
  color: #6a7489;
  font-weight: 500;
}

.modal-copy {
  max-width: 360px;
  margin: 18px 0 0;
  color: #66738d;
  text-align: center;
  font-size: clamp(14px, 4.1vw, 17px);
  line-height: 1.38;
  font-weight: 500;
}

.modal-action {
  width: 100%;
  min-height: 62px;
  margin-top: 24px;
  padding: 15px 12px;
  color: #ffffff;
  text-align: center;
  font-size: clamp(14px, 4.1vw, 18px);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: 0.3px;
  white-space: normal;
  overflow-wrap: anywhere;
  background: #020819;
  border: 0;
  border-radius: 9px;
  cursor: pointer;
}

.modal-action:focus-visible,
.modal-close:focus-visible {
  outline: 3px solid rgba(18, 164, 71, 0.28);
  outline-offset: 3px;
}

.summary-view {
  width: 100%;
  padding: 30px 43px 24px;
}

.summary-pill {
  margin-bottom: 18px;
}

.summary-hero-icon {
  text-align: center;
  font-size: 45px;
  line-height: 1;
}

.summary-title {
  margin: 22px 0 0;
  color: var(--ink);
  text-align: center;
  font-size: 24px;
  line-height: 1.15;
  font-weight: 800;
}

.summary-copy {
  max-width: 390px;
  margin: 25px auto 0;
  color: #66738d;
  text-align: center;
  font-size: 18px;
  line-height: 1.28;
  font-weight: 500;
}

.summary-total {
  display: grid;
  gap: 4px;
  margin-top: 29px;
  text-align: center;
}

.summary-total strong {
  color: var(--green);
  font-size: 31px;
  line-height: 1.05;
  font-weight: 800;
}

.summary-total span {
  color: #66738d;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 600;
}

.earnings-box {
  margin-top: 27px;
  padding: 18px 23px 22px;
  background: #e7fbef;
  border: 2px solid var(--green-line);
  border-radius: 8px;
}

.earnings-box h3 {
  margin: 0 0 16px;
  color: var(--ink);
  text-align: center;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 800;
  letter-spacing: 7px;
}

.earnings-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.4;
  font-weight: 500;
}

.earnings-row > span:last-child {
  text-align: right;
  white-space: nowrap;
}

.earnings-row strong {
  font-weight: 600;
}

.earnings-row span span {
  color: #687390;
}

.earnings-row.positive,
.earnings-row .positive,
.earnings-row .positive span,
.positive {
  color: var(--green);
}

.earnings-divider {
  height: 1px;
  margin: 12px 0 15px;
  background: var(--green-line);
}

.total-row {
  align-items: center;
  font-weight: 800;
}

.total-row > span:last-child {
  display: grid;
  gap: 2px;
  color: var(--green);
}

.total-row strong {
  font-size: 18px;
  font-weight: 800;
}

.total-row span span {
  color: #55b970;
  font-weight: 800;
}

.summary-list {
  display: grid;
  gap: 10px;
  margin-top: 23px;
}

.summary-card {
  display: grid;
  grid-template-columns: 72px 1fr;
  gap: 13px;
  align-items: center;
  min-height: 114px;
  padding: 13px 14px;
  background: #ffffff;
  border: 2px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.summary-card img {
  display: block;
  width: 72px;
  height: 72px;
  object-fit: cover;
  object-position: center top;
  border-radius: 6px;
}

.summary-card h3 {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.1;
  font-weight: 800;
}

.summary-card p {
  margin: 2px 0 0;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.16;
  font-weight: 500;
  overflow-wrap: anywhere;
}

.summary-card strong {
  display: block;
  margin-top: 2px;
  color: var(--green);
  font-size: 18px;
  line-height: 1.1;
  font-weight: 800;
}

.withdraw-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: min(100%, 404px);
  min-height: 59px;
  margin: 31px auto 0;
  padding: 16px 18px;
  color: #ffffff;
  text-align: center;
  font-size: 18px;
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-decoration: none;
  white-space: normal;
  overflow-wrap: anywhere;
  background: #020819;
  border: 0;
  border-radius: 7px;
  cursor: pointer;
}

.withdraw-button:focus-visible {
  outline: 3px solid rgba(18, 164, 71, 0.28);
  outline-offset: 3px;
}

.vsl-app {
  background: #ffffff;
}

.vsl-content {
  padding: 24px 28px 44px;
}

.vsl-balance {
  margin-bottom: 20px;
}

.vsl-content h1 {
  max-width: 420px;
  margin: 0 auto;
  color: var(--ink);
  text-align: center;
  font-size: 26px;
  line-height: 1.14;
  font-weight: 800;
}

.vsl-content h1 span {
  display: inline-block;
  padding: 2px 8px 4px;
  color: #ffffff;
  background: var(--ink);
  border-radius: 4px;
}

.video-shell {
  width: 100%;
  max-width: 400px;
  min-height: 225px;
  margin: 20px auto 0;
  overflow: hidden;
  background: #020819;
  border-radius: 10px;
  box-shadow: 0 12px 40px rgba(2, 8, 25, 0.18);
}

.watching-now {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 15px 0 0;
  color: #66738d;
  font-size: 17px;
  line-height: 1.2;
  font-weight: 500;
}

.watching-now span {
  width: 8px;
  height: 8px;
  background: #ff7d86;
  border-radius: 50%;
}

.watching-now strong {
  color: var(--ink);
  font-weight: 800;
}

.comments-section {
  max-width: 405px;
  margin: 24px auto 0;
}

.comments-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding-top: 18px;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.15;
  font-weight: 800;
  border-top: 1px solid #dce3ed;
}

.comments-heading svg {
  display: block;
  flex: 0 0 auto;
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.comment-thread {
  padding: 13px 0;
  border-bottom: 1px solid #dce3ed;
}

.comment-thread:first-of-type {
  border-top: 0;
}

.comment {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 10px;
  align-items: start;
  padding: 7px 0;
}

.comment.reply {
  grid-template-columns: 32px 1fr;
  margin-left: 36px;
}

.comment-avatar {
  display: block;
  width: 36px;
  height: 36px;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
}

.comment.reply .comment-avatar {
  width: 32px;
  height: 32px;
}

.comment p {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.28;
  font-weight: 500;
}

.comment p:first-child {
  margin-bottom: 2px;
  line-height: 1.12;
}

.comment strong {
  font-weight: 800;
}

.comment span,
.comment div {
  color: #65748d;
  font-weight: 600;
}

.comment a {
  color: #0077ff;
  text-decoration: none;
  font-weight: 600;
}

.comment > div > div {
  display: flex;
  gap: 13px;
  margin-top: 4px;
  font-size: 17px;
  line-height: 1.1;
}

.comment > div > div span:first-child {
  color: #ef4d54;
}

@media (max-width: 430px) {
  .brand-logo {
    width: 142px;
    height: auto;
  }

  .content {
    padding: 26px 22px 46px;
  }

  .balance-pill {
    font-size: 17px;
    gap: 7px;
    padding-inline: 15px;
  }

  .step {
    font-size: 17px;
    letter-spacing: 7px;
  }

  .reward,
  .answer {
    font-size: 17px;
  }

  .look-card {
    width: min(100%, 230px);
    margin-inline: auto;
    margin-bottom: 22px;
  }

  .look-card img {
    height: 285px;
  }

  .answer {
    min-height: 64px;
    padding-inline: 17px;
  }

  .reward-dialog {
    width: min(calc(100vw - 32px), 360px);
    min-height: 0;
    padding: 27px 16px 19px;
  }

  .modal-close {
    top: 8px;
    right: 8px;
    width: 31px;
    height: 31px;
    font-size: 34px;
  }

  .modal-look {
    width: clamp(120px, 36vw, 140px);
    border-radius: 16px;
  }

  .modal-balance {
    gap: 6px;
    min-height: 54px;
    margin-top: 20px;
    padding: 10px 8px;
    font-size: clamp(14px, 4.3vw, 17px);
  }

  .modal-balance .coin {
    font-size: 20px;
  }

  .modal-added {
    margin-top: 22px;
    font-size: 22px;
  }

  .modal-copy {
    margin-top: 16px;
    font-size: 15px;
  }

  .modal-action {
    min-height: 58px;
    margin-top: 22px;
    font-size: clamp(14px, 4vw, 16px);
    border-radius: 9px;
  }

  .summary-view {
    padding: 27px 22px 22px;
  }

  .summary-title {
    font-size: 22px;
  }

  .summary-copy {
    font-size: 17px;
  }

  .earnings-box {
    padding: 17px 18px 20px;
  }

  .earnings-box h3 {
    font-size: 16px;
    letter-spacing: 6px;
  }

  .earnings-row {
    font-size: 16px;
  }

  .summary-card {
    grid-template-columns: 72px 1fr;
    gap: 12px;
    padding: 12px 13px;
  }

  .summary-card h3,
  .summary-card strong {
    font-size: 17px;
  }

  .summary-card p {
    font-size: 16px;
  }

  .vsl-content {
    padding: 22px 24px 38px;
  }

  .vsl-content h1 {
    font-size: 24px;
  }

  .video-shell {
    min-height: 210px;
  }

  .comment p {
    font-size: 17px;
  }

  .comment > div > div {
    font-size: 16px;
  }

  .comment.reply {
    margin-left: 34px;
  }
}
