:root {
  --teal: #00a99d;
  --green: #00b894;
  --deep-teal: #007c73;
  --navy: #071b4d;
  --muted: #65708a;
  --orange: #ff8a00;
  --orange-deep: #ff5f00;
  --purple: #6c35f5;
  --purple-2: #9b35f5;
  --line: #dbe6ea;
  --soft: #f6fffc;
  --shadow: 0 12px 30px rgba(7, 27, 77, 0.12);
  --radius: 22px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  color: var(--navy);
  background: #edf9fb;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
  overflow-x: hidden;
}

body {
  background:
    radial-gradient(circle at 10% 12%, rgba(0, 184, 148, 0.12), transparent 24%),
    linear-gradient(180deg, #ffffff 0%, #e9faff 42%, #fff2d8 100%);
}

button,
input,
textarea {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}

.app-shell {
  width: 100%;
  max-width: 460px;
  min-height: 100vh;
  margin: 0 auto;
  position: relative;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.95), rgba(235,250,255,0.86) 35%, rgba(255,241,213,0.92) 100%),
    radial-gradient(circle at 50% 48%, rgba(0,169,157,0.1), transparent 36%);
  overflow: hidden;
}

.app-shell::before,
.app-shell::after {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  pointer-events: none;
  background:
    radial-gradient(ellipse at center, rgba(0, 139, 83, 0.18) 0 38%, transparent 39%),
    linear-gradient(45deg, transparent 47%, rgba(0, 139, 83, 0.22) 48% 52%, transparent 53%);
  border-radius: 50%;
  opacity: 0.55;
  filter: blur(0.2px);
}

.app-shell::before {
  left: -82px;
  top: 190px;
  transform: rotate(-22deg);
}

.app-shell::after {
  right: -80px;
  bottom: 40px;
  transform: rotate(32deg);
}

.page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  padding: 16px 14px 28px;
}

.topbar {
  display: grid;
  grid-template-columns: 48px 1fr auto;
  align-items: center;
  gap: 8px;
  margin: 6px 0 18px;
}

.topbar.center-title {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  position: relative;
  margin: 8px 0 18px;
  padding: 0 54px;
}

.topbar.center-title.has-right {
  padding: 0 158px 0 48px;
}

.topbar.center-title.has-right .section-title {
  font-size: 20px;
}

.topbar.center-title .icon-button {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.topbar.center-title > div {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  min-width: 0;
  max-width: 146px;
  overflow: hidden;
}

.topbar.center-title .section-title {
  margin: 0;
  line-height: 1.1;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.topbar.center-title .reward-pill {
  min-height: 40px;
  padding: 0 16px;
  gap: 6px;
  font-size: 13px;
  border-radius: 20px;
  max-width: 146px;
}

.topbar.center-title .reward-pill .star-icon {
  width: 20px;
  height: 20px;
}

.icon-button {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: transparent;
  color: var(--deep-teal);
  font-size: 36px;
  line-height: 1;
}

.hamburger {
  width: 30px;
  height: 22px;
  display: grid;
  gap: 6px;
}

.hamburger span,
.small-menu span {
  display: block;
  height: 4px;
  border-radius: 6px;
  background: var(--navy);
}

.brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 900;
  font-size: 27px;
  color: var(--navy);
}

.brand .accent {
  color: var(--teal);
}

.brand-mark {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: conic-gradient(from 210deg, #12357c, #00b894 52%, #20d3c4);
  position: relative;
  box-shadow: 0 8px 16px rgba(0, 169, 157, 0.22);
}

.brand-mark::before {
  content: "";
  position: absolute;
  width: 20px;
  height: 10px;
  left: 11px;
  top: 13px;
  border-left: 6px solid #fff;
  border-bottom: 6px solid #fff;
  transform: rotate(-45deg);
  border-radius: 3px;
}

.balance-pill,
.reward-pill {
  min-height: 44px;
  padding: 0 13px;
  border-radius: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #e6fbf3;
  color: #087f5b;
  border: 1px solid rgba(0, 169, 157, 0.25);
  font-size: 18px;
  font-weight: 850;
  white-space: nowrap;
}

.reward-pill.premium {
  color: #fff;
  background: linear-gradient(135deg, var(--purple), var(--purple-2));
  border: 0;
  box-shadow: 0 8px 18px rgba(108, 53, 245, 0.22);
}

.coin-icon,
.star-icon,
.wallet-icon {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
}

.section-title {
  margin: 2px 0 18px;
  text-align: center;
  font-size: 26px;
  font-weight: 900;
  color: var(--deep-teal);
}

.cashout-card,
.survey-card,
.spin-card,
.form-card,
.completion-card,
.question-card,
.rules-card {
  border-radius: var(--radius);
  position: relative;
  box-shadow: var(--shadow);
}

.cashout-card {
  overflow: hidden;
  padding: 24px 22px;
  min-height: 238px;
  color: #fff;
  background:
    radial-gradient(circle at 86% 32%, rgba(255,255,255,0.16), transparent 24%),
    linear-gradient(135deg, #00c5bc 0%, #008f9c 100%);
}

.cashout-card h2,
.cashout-card p {
  margin: 0;
}

.cashout-card h2 {
  font-size: 24px;
  line-height: 1.15;
  font-weight: 900;
  text-shadow: 0 3px 8px rgba(0,0,0,0.12);
}

.cashout-amount {
  margin-top: 16px;
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-weight: 900;
  text-shadow: 0 4px 8px rgba(0,0,0,0.13);
}

.cashout-amount .big {
  font-size: 48px;
}

.cashout-amount .target {
  font-size: 28px;
  opacity: 0.94;
}

.progress-track {
  width: 100%;
  height: 22px;
  border-radius: 99px;
  background: rgba(255,255,255,0.75);
  overflow: hidden;
  border: 2px solid rgba(255,255,255,0.85);
  position: relative;
  margin-top: 16px;
}

.progress-fill {
  height: 100%;
  width: var(--progress, 0%);
  min-width: 0;
  border-radius: inherit;
  background: linear-gradient(90deg, #a9e800, #00b894);
  color: #fff;
  display: grid;
  place-items: center;
  font-size: 14px;
  font-weight: 900;
  transition: width 0.35s ease;
}

.cashout-sub {
  margin-top: 14px;
  font-size: 18px;
  font-weight: 600;
}

.primary-button,
.secondary-button,
.orange-button,
.purple-button,
.teal-button {
  min-height: 52px;
  width: 100%;
  border-radius: 17px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 18px;
  color: #fff;
  font-size: 23px;
  font-weight: 900;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.12);
}

.primary-button {
  margin-top: 22px;
  background: #fff;
  color: var(--deep-teal);
}

.teal-button {
  background: linear-gradient(135deg, #14d4c7, #008f96);
}

.purple-button {
  background: linear-gradient(135deg, var(--purple), var(--purple-2));
}

.orange-button {
  background: linear-gradient(135deg, var(--orange), var(--orange-deep));
}

.secondary-button {
  color: var(--deep-teal);
  background: #fff;
  border: 1px solid rgba(0, 169, 157, 0.26);
  box-shadow: none;
}

.home-list {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

.survey-card,
.spin-card {
  overflow: hidden;
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) 82px;
  gap: 8px;
  align-items: center;
  min-height: 122px;
  padding: 14px;
  border: 1px solid rgba(0, 169, 157, 0.25);
  background: rgba(255,255,255,0.86);
}

.survey-card.premium {
  border-color: rgba(108, 53, 245, 0.27);
  background: linear-gradient(135deg, rgba(255,255,255,0.92), rgba(243,235,255,0.94));
}

.spin-card {
  border-color: rgba(255, 138, 0, 0.32);
  background: linear-gradient(135deg, rgba(255,255,255,0.96), rgba(255,246,226,0.96));
}

.card-art {
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
}

.card-art svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 8px 8px rgba(0,0,0,0.12));
}

.card-copy h3 {
  margin: 0 0 5px;
  font-size: 20px;
  line-height: 1.08;
  color: var(--navy);
  white-space: nowrap;
}

.card-copy p {
  margin: 0 0 7px;
  color: var(--muted);
  font-size: 16px;
  font-weight: 600;
}

.earn {
  color: #008d66;
  font-size: 15px;
  font-weight: 850;
  line-height: 1.18;
}

.premium .earn {
  color: var(--purple);
}

.card-badge {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  margin-top: 8px;
  padding: 0 8px;
  border-radius: 999px;
  color: var(--purple);
  background: rgba(108, 53, 245, 0.1);
  font-size: 12px;
  font-weight: 850;
  white-space: nowrap;
}

.card-progress-text {
  color: var(--muted);
  font-size: 17px;
  font-weight: 750;
}

.card-action {
  display: grid;
  justify-items: center;
  gap: 8px;
  min-width: 0;
}

.ring {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at center, #fff 48%, transparent 50%),
    conic-gradient(var(--ring-color, var(--green)) var(--ring-progress, 0%), rgba(0,0,0,0.09) 0);
  color: var(--ring-color, var(--green));
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0;
  white-space: nowrap;
}

.mini-button {
  min-height: 44px;
  min-width: 82px;
  padding: 0 12px;
  border-radius: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.button-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 19px;
  line-height: 1;
  transform: translateY(-1px);
}

.mini-button.green {
  background: linear-gradient(135deg, #0fc9ae, #00a56d);
}

.mini-button.purple {
  background: linear-gradient(135deg, var(--purple), var(--purple-2));
}

.mini-button.orange {
  background: linear-gradient(135deg, var(--orange), var(--orange-deep));
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0, 0, 0, 0.62);
}

.interstitial-backdrop {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: grid;
  place-items: center;
  padding: 12px;
  background: rgba(0, 0, 0, 0.72);
}

.interstitial-panel {
  width: min(430px, 100%);
  height: min(760px, 94vh);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.34);
}

.interstitial-header {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 10px 9px 12px;
  color: var(--navy);
  background:
    radial-gradient(circle at 7% 30%, rgba(255, 203, 46, 0.22), transparent 28%),
    linear-gradient(135deg, #f7fffc 0%, #ffffff 58%, #eff8ff 100%);
  border-bottom: 1px solid rgba(0, 169, 157, 0.14);
}

.interstitial-header strong {
  min-width: 0;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: #06194a;
  font-size: 15px;
  line-height: 1.18;
  font-weight: 900;
}

.interstitial-header strong::before {
  content: "$";
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(135deg, #ffc928, #ff8a00);
  box-shadow: 0 6px 12px rgba(255, 138, 0, 0.24);
  font-size: 18px;
  line-height: 1;
  font-weight: 950;
}

.interstitial-close {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--teal), var(--deep-teal));
  box-shadow: 0 6px 12px rgba(0, 124, 115, 0.22);
  font-size: 17px;
  line-height: 1;
  font-weight: 900;
}

.interstitial-frame {
  flex: 1;
  width: 100%;
  border: 0;
  background: #fff;
}

.modal {
  width: min(330px, 92vw);
  min-height: 420px;
  padding: 24px 22px 26px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 24px 55px rgba(0,0,0,0.28);
  position: relative;
  text-align: center;
}

.modal .close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid rgba(7, 27, 77, 0.14);
  background: #fff;
  color: var(--navy);
  font-size: 30px;
  line-height: 1;
}

.modal h2 {
  margin: 32px 0 18px;
  font-size: 31px;
  line-height: 1.08;
}

.gift-art {
  width: 178px;
  height: 145px;
  margin: 0 auto 16px;
  position: relative;
}

.gift-box {
  position: absolute;
  left: 34px;
  right: 34px;
  bottom: 0;
  height: 94px;
  border-radius: 14px;
  background: linear-gradient(135deg, #18d4cb, #00aa9f);
  box-shadow: inset 0 2px 0 rgba(255,255,255,0.36), 0 14px 22px rgba(0, 169, 157, 0.24);
}

.gift-box::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 26px;
  height: 100%;
  transform: translateX(-50%);
  background: linear-gradient(180deg, #ffc436, #ff8a00);
}

.gift-box::after {
  content: "";
  position: absolute;
  inset: 0;
  top: -18px;
  height: 26px;
  border-radius: 14px;
  background: linear-gradient(135deg, #1fe3db, #00b8ad);
  box-shadow: inset 0 2px 0 rgba(255,255,255,0.4);
}

.gift-bow {
  position: absolute;
  left: 50%;
  top: 0;
  width: 74px;
  height: 54px;
  transform: translateX(-50%);
}

.gift-bow::before,
.gift-bow::after {
  content: "";
  position: absolute;
  width: 58px;
  height: 32px;
  border: 10px solid #ffc436;
  border-radius: 50% 50% 8px 50%;
}

.gift-bow::before {
  right: 31px;
  transform: rotate(22deg);
}

.gift-bow::after {
  left: 31px;
  transform: rotate(-22deg) scaleX(-1);
}

.modal-amount {
  margin: 0 0 18px;
  color: var(--deep-teal);
  font-size: 48px;
  line-height: 1;
  font-weight: 950;
}

.question-meta {
  margin: 4px 4px 14px;
  color: var(--navy);
}

.question-meta .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 10px;
  font-size: 19px;
  font-weight: 700;
}

.question-meta strong {
  color: var(--purple);
}

.thin-progress {
  height: 12px;
  width: 100%;
  border-radius: 999px;
  background: #e7e9f1;
  overflow: hidden;
}

.thin-progress span {
  display: block;
  height: 100%;
  width: var(--progress, 0%);
  border-radius: inherit;
  background: linear-gradient(90deg, var(--purple), var(--purple-2));
}

.quick-hero {
  min-height: 180px;
  border-radius: 22px;
  color: #fff;
  padding: 25px 22px;
  background:
    radial-gradient(circle at 82% 58%, rgba(255,255,255,0.22), transparent 25%),
    linear-gradient(135deg, #14cfc4, #008c9a);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 22px;
}

.quick-hero h2 {
  margin: 32px 0 18px;
  font-size: 30px;
}

.quick-hero .reward {
  position: absolute;
  right: 18px;
  top: 24px;
  min-height: 46px;
  padding: 0 16px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #087f5b;
  background: rgba(255,255,255,0.9);
  font-size: 20px;
  font-weight: 900;
}

.quick-hero .wallet-illustration {
  position: absolute;
  right: 20px;
  bottom: 16px;
  width: 118px;
  height: 86px;
  pointer-events: none;
}

.question-card {
  background: rgba(255,255,255,0.93);
  padding: 26px 22px;
  border: 1px solid rgba(7, 27, 77, 0.08);
}

.question-card h1 {
  margin: 0 0 14px;
  font-size: 27px;
  line-height: 1.35;
}

.question-card .hint {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 18px;
  font-weight: 600;
}

.options {
  display: grid;
  gap: 13px;
}

.option {
  min-height: 64px;
  border-radius: 16px;
  border: 1.5px solid var(--line);
  background: rgba(255,255,255,0.92);
  display: grid;
  grid-template-columns: 38px 1fr;
  align-items: center;
  gap: 14px;
  padding: 13px 16px;
  color: var(--navy);
  text-align: left;
  font-size: 19px;
  font-weight: 700;
}

.option.selected.radio {
  border-color: #b28af8;
  background: linear-gradient(135deg, rgba(108, 53, 245, 0.08), rgba(255,255,255,0.95));
}

.option.selected.check {
  border-color: #16bfa1;
  background: linear-gradient(135deg, rgba(0, 184, 148, 0.09), rgba(255,255,255,0.95));
}

.radio-dot,
.check-box {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 3px solid #c8cbd0;
  position: relative;
}

.selected .radio-dot {
  border-color: #8d53f7;
}

.selected .radio-dot::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: #7f3ff2;
}

.check-box {
  border-radius: 7px;
}

.selected .check-box {
  background: #13bfa4;
  border-color: #13bfa4;
}

.selected .check-box::after {
  content: "";
  position: absolute;
  left: 7px;
  top: 3px;
  width: 10px;
  height: 16px;
  border-right: 4px solid #fff;
  border-bottom: 4px solid #fff;
  transform: rotate(45deg);
}

.survey-next {
  margin-top: 24px;
}

.rank-list {
  display: grid;
  gap: 12px;
}

.rank-row {
  min-height: 62px;
  border: 1.5px solid var(--line);
  border-radius: 15px;
  display: grid;
  grid-template-columns: 32px 56px 1fr 44px;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  background: #fff;
}

.grip {
  width: 23px;
  height: 32px;
  background-image: radial-gradient(#99a1b4 2px, transparent 2.8px);
  background-size: 10px 10px;
}

.rank-index {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: #f0eaff;
  color: var(--purple);
  font-size: 23px;
  font-weight: 900;
}

.rank-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.rank-actions button {
  width: 22px;
  height: 30px;
  border-radius: 8px;
  color: #6f7890;
  background: #f3f5f9;
  font-weight: 900;
}

.text-answer {
  width: 100%;
  min-height: 260px;
  resize: vertical;
  border-radius: 17px;
  border: 1.5px solid #bfcbd3;
  padding: 18px;
  outline: none;
  color: var(--navy);
  font-size: 18px;
}

.text-answer:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 4px rgba(108, 53, 245, 0.1);
}

.char-count {
  margin: 8px 4px 0;
  text-align: right;
  color: #3d4556;
  font-size: 18px;
  font-weight: 700;
}

.survey-flow .page {
  padding-top: 8px;
  padding-bottom: 18px;
}

.survey-flow .topbar.center-title {
  min-height: 44px;
  margin: 2px 0 10px;
}

.survey-flow .icon-button {
  width: 42px;
  height: 42px;
}

.survey-flow .question-meta {
  margin: 0 2px 10px;
}

.survey-flow .question-meta .row {
  margin-bottom: 8px;
  font-size: 17px;
}

.survey-flow .thin-progress {
  height: 10px;
}

.survey-flow .quick-hero {
  min-height: 132px;
  margin-bottom: 14px;
  padding: 17px 18px;
  border-radius: 20px;
}

.survey-flow .quick-hero h2 {
  margin: 20px 0 12px;
  font-size: 26px;
  line-height: 1.05;
}

.survey-flow .quick-hero .reward {
  top: 15px;
  right: 14px;
  min-height: 38px;
  padding: 0 13px;
  font-size: 18px;
}

.survey-flow .quick-hero .wallet-illustration {
  right: 16px;
  bottom: 10px;
  width: 94px;
  height: 68px;
}

.survey-flow .quick-hero .progress-track {
  height: 18px;
  margin-top: 0;
}

.survey-flow .question-card {
  padding: 18px 18px 20px;
  border-radius: 20px;
}

.survey-flow .question-card h1 {
  margin-bottom: 8px;
  font-size: 23px;
  line-height: 1.24;
}

.survey-flow .question-card .hint {
  margin-bottom: 14px;
  font-size: 16px;
}

.survey-flow .options {
  gap: 9px;
}

.survey-flow .option {
  min-height: 54px;
  grid-template-columns: 32px 1fr;
  gap: 10px;
  padding: 9px 13px;
  border-radius: 13px;
  font-size: 17px;
  line-height: 1.18;
}

.survey-flow .radio-dot,
.survey-flow .check-box {
  width: 26px;
  height: 26px;
  border-width: 3px;
}

.survey-flow .selected .radio-dot::after {
  inset: 4px;
}

.survey-flow .survey-next {
  min-height: 48px;
  margin-top: 16px;
  border-radius: 15px;
  font-size: 20px;
}

.survey-flow .rank-list {
  gap: 8px;
}

.survey-flow .rank-row {
  min-height: 52px;
  grid-template-columns: 24px 40px 1fr 38px;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 13px;
}

.survey-flow .grip {
  width: 20px;
  height: 28px;
  background-size: 9px 9px;
}

.survey-flow .rank-index {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  font-size: 20px;
}

.survey-flow .rank-actions button {
  width: 19px;
  height: 25px;
}

.survey-flow .text-answer {
  min-height: 190px;
  padding: 14px;
  border-radius: 14px;
  font-size: 17px;
}

.survey-flow .char-count {
  margin-top: 6px;
  font-size: 16px;
}

.completion-card {
  width: min(360px, 92%);
  margin: 90px auto 0;
  padding: 46px 28px 34px;
  text-align: center;
  background: rgba(255,255,255,0.94);
  border: 1px solid rgba(7, 27, 77, 0.08);
}

.completion-card h1 {
  margin: 0 0 30px;
  color: var(--deep-teal);
  font-size: 30px;
  line-height: 1.15;
}

.completion-card.premium h1,
.completion-card.premium .completion-amount {
  color: #4b20dd;
}

.check-circle {
  width: 128px;
  height: 128px;
  margin: 0 auto 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, #35d979, #009b62);
  box-shadow: 0 18px 28px rgba(0, 155, 98, 0.2);
}

.premium .check-circle {
  background: linear-gradient(135deg, #8e45ff, #421ad7);
  box-shadow: 0 18px 28px rgba(66, 26, 215, 0.22);
}

.check-circle::after {
  content: "";
  width: 54px;
  height: 28px;
  border-left: 12px solid #fff;
  border-bottom: 12px solid #fff;
  transform: rotate(-45deg);
  border-radius: 6px;
}

.completion-amount {
  margin: 0 0 24px;
  color: #0f9d68;
  font-size: 48px;
  line-height: 1;
  font-weight: 950;
}

.completion-card p {
  margin: -10px 0 28px;
  color: #263040;
  font-size: 18px;
  line-height: 1.45;
}

.spin-stage {
  text-align: center;
}

.available-box {
  width: min(300px, 94%);
  min-height: 58px;
  margin: 0 auto 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-radius: 18px;
  border: 1.5px solid rgba(0, 169, 157, 0.28);
  background: rgba(255,255,255,0.82);
  padding: 8px 20px;
  font-size: 19px;
  font-weight: 850;
}

.available-box .count {
  color: var(--orange-deep);
  font-size: 28px;
}

.wheel-wrap {
  width: min(340px, 92vw);
  height: min(340px, 92vw);
  margin: 18px auto 22px;
  position: relative;
  display: grid;
  place-items: center;
}

.wheel-pointer {
  position: absolute;
  top: -5px;
  z-index: 2;
  width: 46px;
  height: 70px;
  background: linear-gradient(180deg, #ffd94f, #ffad00);
  clip-path: polygon(50% 100%, 8% 0, 92% 0);
  border-radius: 14px;
  filter: drop-shadow(0 5px 5px rgba(0,0,0,0.2));
}

.spin-stage.is-spinning .wheel-pointer {
  animation: pointerTick 0.12s linear infinite;
}

.wheel {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  position: relative;
  display: grid;
  place-items: center;
  background:
    radial-gradient(circle at center, #ffd764 0 13%, #ec9e00 14% 18%, transparent 19%),
    conic-gradient(
      #ff315f 0 45deg,
      #8c35f5 45deg 90deg,
      #089cf1 90deg 135deg,
      #08c9b4 135deg 180deg,
      #91d918 180deg 225deg,
      #ffd600 225deg 270deg,
      #ffad00 270deg 315deg,
      #ff681f 315deg 360deg
    );
  border: 16px solid #f8b914;
  box-shadow: inset 0 0 0 5px #ffe26e, 0 18px 28px rgba(151, 89, 0, 0.2);
  transition: transform 2.4s cubic-bezier(.08,.72,.12,1);
  will-change: transform;
}

.wheel.is-spinning {
  transition: transform 2.4s cubic-bezier(.08,.72,.12,1);
}

.spin-button.loading {
  background: linear-gradient(135deg, #ffb22c, #ff6a00);
  box-shadow: 0 0 0 4px rgba(255, 138, 0, 0.12), 0 10px 18px rgba(0, 0, 0, 0.12);
}

.wheel::before {
  content: "";
  position: absolute;
  inset: 2px;
  border-radius: 50%;
  background:
    linear-gradient(0deg, transparent 49.5%, rgba(255,255,255,0.95) 50%, transparent 50.5%),
    linear-gradient(45deg, transparent 49.5%, rgba(255,255,255,0.95) 50%, transparent 50.5%),
    linear-gradient(90deg, transparent 49.5%, rgba(255,255,255,0.95) 50%, transparent 50.5%),
    linear-gradient(135deg, transparent 49.5%, rgba(255,255,255,0.95) 50%, transparent 50.5%);
  pointer-events: none;
}

.wheel-labels {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  pointer-events: none;
}

.wheel-labels span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 76px;
  margin-left: -38px;
  margin-top: -14px;
  color: #fff;
  font-size: 18px;
  font-weight: 950;
  text-shadow: 0 2px 4px rgba(0,0,0,0.28);
  text-align: center;
  transform: rotate(var(--angle)) translateY(-105px) rotate(calc(var(--angle) * -1));
}

.spin-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 18px auto 0;
  width: min(330px, 94%);
  color: #455269;
  font-size: 17px;
  line-height: 1.35;
  font-weight: 650;
}

.info-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 2px solid var(--deep-teal);
  color: var(--deep-teal);
  font-weight: 900;
}

.result-modal {
  text-align: center;
}

.result-modal h2 {
  margin-top: 18px;
  color: var(--deep-teal);
  font-size: 37px;
}

.result-coin {
  width: 145px;
  height: 145px;
  margin: 6px auto 22px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff9b5;
  background: radial-gradient(circle at 32% 28%, #fff078, #ffc400 38%, #f29a00 100%);
  box-shadow: inset 0 0 0 12px rgba(255,255,255,0.35), 0 18px 24px rgba(224, 126, 0, 0.25);
  font-size: 76px;
  font-weight: 950;
}

.result-coin.extra {
  color: var(--deep-teal);
  background: radial-gradient(circle at 32% 28%, #e6fff2, #99e9c7 45%, #45bf80 100%);
  box-shadow: inset 0 0 0 12px rgba(255,255,255,0.38), 0 18px 24px rgba(0, 147, 94, 0.19);
}

.result-amount {
  margin: 0 0 24px;
  font-size: 36px;
  font-weight: 950;
  color: var(--deep-teal);
}

.result-amount .orange {
  color: var(--orange-deep);
}

.form-card {
  background: rgba(255,255,255,0.94);
  padding: 22px;
  border: 1px solid rgba(7, 27, 77, 0.08);
}

.withdraw-hero {
  border-radius: 22px;
  color: #fff;
  background: linear-gradient(135deg, #10bdb3, #008e8f);
  padding: 24px;
  min-height: 176px;
  margin-bottom: 22px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.withdraw-hero h2,
.withdraw-hero p {
  margin: 0;
}

.withdraw-hero h2 {
  font-size: 20px;
}

.withdraw-hero .balance {
  margin: 8px 0 18px;
  font-size: 50px;
  line-height: 1;
  font-weight: 950;
}

.withdraw-hero .min {
  padding-top: 18px;
  border-top: 1px dashed rgba(255,255,255,0.55);
  font-size: 20px;
  font-weight: 800;
}

.field-group {
  display: grid;
  gap: 8px;
  margin-bottom: 18px;
}

.field-group label {
  font-size: 19px;
  font-weight: 900;
  color: #083d45;
}

.text-field {
  width: 100%;
  min-height: 56px;
  border-radius: 13px;
  border: 1.5px solid #b8d4d4;
  background: #fff;
  padding: 0 16px;
  color: #10151f;
  font-size: 22px;
  outline: none;
}

.text-field:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(0, 169, 157, 0.1);
}

.payment-option {
  min-height: 72px;
  border: 2px solid var(--teal);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 18px;
  background: rgba(255,255,255,0.9);
  font-size: 30px;
  color: #16429c;
  font-weight: 950;
  margin-bottom: 18px;
}

.payment-option .selected-mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--teal);
}

.payment-option .selected-mark::after {
  content: "";
  width: 16px;
  height: 9px;
  border-left: 4px solid #fff;
  border-bottom: 4px solid #fff;
  transform: rotate(-45deg);
}

.rules-card {
  margin-top: 18px;
  padding: 22px;
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 16px;
  align-items: center;
  background: rgba(240, 255, 251, 0.9);
  border: 1px solid rgba(0, 169, 157, 0.2);
}

.rules-card h3 {
  margin: 0 0 10px;
  color: #08484c;
  font-size: 22px;
}

.rules-card ul {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 8px;
  list-style: none;
  color: #0b5b61;
  font-size: 17px;
  font-weight: 700;
}

.rules-card li::before {
  content: "\2713";
  color: var(--teal);
  font-weight: 950;
  margin-right: 8px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 26px;
  z-index: 60;
  transform: translateX(-50%) translateY(120px);
  max-width: min(360px, 92vw);
  padding: 13px 18px;
  border-radius: 999px;
  color: #fff;
  background: rgba(5, 20, 34, 0.92);
  box-shadow: 0 12px 26px rgba(0,0,0,0.18);
  font-weight: 750;
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@keyframes pointerTick {
  0%, 100% {
    transform: rotate(0deg);
  }
  50% {
    transform: rotate(-7deg);
  }
}

.hidden {
  display: none !important;
}

@media (max-width: 380px) {
  .page {
    padding-left: 10px;
    padding-right: 10px;
  }

  .brand {
    font-size: 23px;
  }

  .balance-pill,
  .reward-pill {
    font-size: 16px;
    padding: 0 10px;
  }

  .cashout-card {
    padding: 22px 18px;
  }

  .cashout-amount .big {
    font-size: 43px;
  }

  .cashout-amount .target {
    font-size: 24px;
  }

  .survey-card,
  .spin-card {
    grid-template-columns: 68px minmax(0, 1fr) 78px;
    gap: 7px;
    padding: 13px 10px;
  }

  .card-art {
    width: 68px;
    height: 68px;
  }

  .card-copy h3 {
    font-size: 19px;
  }

  .mini-button {
    min-width: 78px;
    padding: 0 10px;
    font-size: 17px;
  }

  .question-card h1 {
    font-size: 24px;
  }

  .option {
    font-size: 17px;
    padding: 12px;
  }

  .survey-flow .page {
    padding: 6px 9px 14px;
  }

  .survey-flow .topbar.center-title {
    min-height: 40px;
    margin-bottom: 8px;
  }

  .survey-flow .section-title {
    font-size: 23px;
  }

  .survey-flow .quick-hero {
    min-height: 118px;
    margin-bottom: 11px;
    padding: 14px;
  }

  .survey-flow .quick-hero h2 {
    margin: 19px 0 9px;
    font-size: 23px;
  }

  .survey-flow .quick-hero .reward {
    min-height: 34px;
    padding: 0 10px;
    font-size: 16px;
  }

  .survey-flow .quick-hero .wallet-illustration {
    width: 78px;
    height: 58px;
  }

  .survey-flow .quick-hero .progress-track {
    height: 16px;
  }

  .survey-flow .question-card {
    padding: 15px 14px 16px;
    border-radius: 18px;
  }

  .survey-flow .question-card h1 {
    margin-bottom: 7px;
    font-size: 21px;
    line-height: 1.2;
  }

  .survey-flow .question-card .hint {
    margin-bottom: 10px;
    font-size: 15px;
  }

  .survey-flow .options {
    gap: 7px;
  }

  .survey-flow .option {
    min-height: 49px;
    grid-template-columns: 28px 1fr;
    gap: 9px;
    padding: 8px 11px;
    border-radius: 12px;
    font-size: 16px;
  }

  .survey-flow .radio-dot,
  .survey-flow .check-box {
    width: 24px;
    height: 24px;
  }

  .survey-flow .survey-next {
    min-height: 46px;
    margin-top: 12px;
    font-size: 19px;
  }

  .survey-flow .question-meta {
    margin-bottom: 8px;
  }

  .survey-flow .question-meta .row {
    margin-bottom: 6px;
    font-size: 16px;
  }

  .survey-flow .rank-row {
    min-height: 48px;
    grid-template-columns: 22px 36px 1fr 36px;
    padding: 7px 9px;
    font-size: 15px;
  }

  .survey-flow .rank-index {
    width: 32px;
    height: 32px;
    font-size: 18px;
  }

  .survey-flow .text-answer {
    min-height: 150px;
  }

  .wheel-labels span {
    transform: rotate(var(--angle)) translateY(-92px) rotate(calc(var(--angle) * -1));
    font-size: 16px;
  }
}

@media (max-width: 430px) {
  .topbar:not(.center-title) {
    grid-template-columns: 42px minmax(0, 1fr) auto;
    gap: 4px;
  }

  .topbar:not(.center-title) .brand {
    justify-content: flex-start;
    gap: 6px;
    font-size: 23px;
    min-width: 0;
  }

  .topbar:not(.center-title) .brand-mark {
    width: 36px;
    height: 36px;
  }

  .topbar:not(.center-title) .brand-mark::before {
    left: 9px;
    top: 11px;
    width: 17px;
    height: 9px;
    border-left-width: 5px;
    border-bottom-width: 5px;
  }

  .topbar:not(.center-title) .balance-pill {
    min-height: 40px;
    padding: 0 9px;
    gap: 5px;
    font-size: 16px;
  }

  .topbar:not(.center-title) .wallet-icon {
    width: 23px;
    height: 23px;
  }

  .topbar:not(.center-title) .icon-button {
    width: 42px;
    height: 42px;
  }
}

.home-flow .page {
  padding-top: 10px;
  padding-bottom: 20px;
}

.home-flow .topbar:not(.center-title) {
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 6px;
  margin: 2px 0 12px;
}

.home-flow .topbar:not(.center-title) .icon-button {
  width: 44px;
  height: 44px;
  font-size: 32px;
}

.home-flow .topbar:not(.center-title) .brand {
  gap: 6px;
  font-size: 25px;
}

.home-flow .topbar:not(.center-title) .brand-mark {
  width: 38px;
  height: 38px;
}

.home-flow .topbar:not(.center-title) .balance-pill {
  min-height: 40px;
  padding: 0 12px;
  gap: 6px;
  font-size: 17px;
}

.home-flow .topbar:not(.center-title) .wallet-icon {
  width: 24px;
  height: 24px;
}

.home-flow .cashout-card {
  min-height: 188px;
  padding: 18px;
  border-radius: 20px;
}

.home-flow .cashout-card h2 {
  font-size: 22px;
}

.home-flow .cashout-amount {
  margin-top: 10px;
}

.home-flow .cashout-amount .big {
  font-size: 42px;
}

.home-flow .cashout-amount .target {
  font-size: 24px;
}

.home-flow .progress-track {
  height: 18px;
  margin-top: 12px;
}

.home-flow .cashout-sub {
  margin-top: 8px;
  font-size: 16px;
  line-height: 1.2;
}

.home-flow .primary-button {
  min-height: 48px;
  margin-top: 14px;
  border-radius: 15px;
  font-size: 22px;
}

.home-flow .home-list {
  gap: 12px;
  margin-top: 12px;
}

@media (max-width: 380px) {
  .home-flow .page {
    padding: 8px 9px 14px;
  }

  .home-flow .topbar:not(.center-title) {
    grid-template-columns: 38px minmax(0, 1fr) auto;
    gap: 4px;
    margin: 0 0 10px;
  }

  .home-flow .topbar:not(.center-title) .icon-button {
    width: 38px;
    height: 38px;
    font-size: 30px;
  }

  .home-flow .topbar:not(.center-title) .brand {
    gap: 5px;
    font-size: 21px;
  }

  .home-flow .topbar:not(.center-title) .brand-mark {
    width: 34px;
    height: 34px;
  }

  .home-flow .topbar:not(.center-title) .balance-pill {
    min-height: 36px;
    padding: 0 8px;
    font-size: 15px;
  }

  .home-flow .topbar:not(.center-title) .wallet-icon {
    width: 22px;
    height: 22px;
  }

  .home-flow .cashout-card {
    min-height: 158px;
    padding: 14px 15px;
    border-radius: 18px;
  }

  .home-flow .cashout-card h2 {
    font-size: 19px;
  }

  .home-flow .cashout-amount {
    gap: 6px;
    margin-top: 8px;
  }

  .home-flow .cashout-amount .big {
    font-size: 34px;
  }

  .home-flow .cashout-amount .target {
    font-size: 19px;
  }

  .home-flow .progress-track {
    height: 14px;
    margin-top: 9px;
  }

  .home-flow .cashout-sub {
    margin-top: 6px;
    font-size: 14px;
  }

  .home-flow .primary-button {
    min-height: 40px;
    margin-top: 10px;
    font-size: 18px;
  }

  .home-flow .home-list {
    gap: 10px;
    margin-top: 11px;
  }
}
