* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html,
body {
  min-height: 100%;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  overflow-x: hidden;
  background: #040d1a;
  color: #e8eef8;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

button,
a,
label {
  touch-action: manipulation;
}

nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 max(16px, env(safe-area-inset-left)) 0 max(16px, env(safe-area-inset-right));
  border-bottom: 1px solid rgba(30, 107, 255, 0.15);
  background: rgba(4, 13, 26, 0.96);
  backdrop-filter: blur(16px);
}

.logo {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-decoration: none;
  background: linear-gradient(135deg, #fff, #0099ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-back {
  color: #6b82a8;
  font-size: 13px;
  text-decoration: none;
}

.ticker-bar {
  position: fixed;
  top: 52px;
  left: 0;
  right: 0;
  z-index: 99;
  height: 32px;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid rgba(30, 107, 255, 0.12);
  background: rgba(7, 16, 34, 0.98);
}

.ticker-live {
  height: 100%;
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 6px;
  padding: 0 14px;
  border-right: 1px solid rgba(30, 107, 255, 0.2);
  color: #0099ff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  white-space: nowrap;
}

.dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00ff88;
  box-shadow: 0 0 6px #00ff88;
  animation: blink 1.4s infinite;
}

@keyframes blink {
  0%,
  100% { opacity: 1; }
  50% { opacity: 0.15; }
}

.ticker-wrap {
  flex: 1;
  overflow: hidden;
}

.ticker-track {
  width: max-content;
  display: flex;
  align-items: center;
  animation: tick 200s linear infinite;
}

@keyframes tick {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.ticker-item {
  height: 32px;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 28px;
  border-right: 1px solid rgba(255, 255, 255, 0.04);
  color: #6b82a8;
  font-size: 12px;
  white-space: nowrap;
}

.ticker-item b {
  color: #0099ff;
  font-weight: 600;
}

.rub {
  padding: 1px 7px;
  border-radius: 4px;
  background: rgba(0, 200, 100, 0.14);
  color: #00d96a;
  font-size: 11px;
  font-weight: 600;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: calc(100px + env(safe-area-inset-top)) 24px calc(48px + env(safe-area-inset-bottom));
  text-align: center;
}

.hero::before {
  content: "";
  position: absolute;
  top: -10%;
  left: 50%;
  width: 140vw;
  height: 80vh;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(30, 107, 255, 0.12) 0%, transparent 65%);
  pointer-events: none;
}

.hero h1 {
  position: relative;
  margin-bottom: 14px;
  font-size: clamp(32px, 9vw, 60px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: 0;
}

.hero h1 span {
  background: linear-gradient(90deg, #1e6bff, #0099ff, #00d4ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero h1 .hero-line {
  display: inline-block;
  color: #e8eef8;
  background: none;
  -webkit-text-fill-color: currentColor;
}

.hero p {
  position: relative;
  max-width: 340px;
  margin-bottom: 28px;
  color: #6b82a8;
  font-size: 16px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}

.cta,
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 340px;
  border: none;
  border-radius: 14px;
  background: linear-gradient(135deg, #1e6bff, #0099ff);
  box-shadow: 0 6px 28px rgba(30, 107, 255, 0.4);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  text-align: center;
}

.cta {
  position: relative;
  padding: 16px 36px;
}

.btn {
  max-width: none;
  padding: 15px;
  margin-top: 4px;
}

.cta:active,
.btn:active {
  opacity: 0.9;
}

.hint {
  position: relative;
  margin-top: 14px;
  color: #3a5280;
  font-size: 12px;
}

.hint b {
  color: #00d96a;
}

.stats {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 36px;
  margin-top: 44px;
}

.stat {
  text-align: center;
}

.stat-n {
  color: #e8eef8;
  font-size: 22px;
  font-weight: 700;
}

.stat-l {
  margin-top: 2px;
  color: #3a5280;
  font-size: 11px;
}

.footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 12px 16px calc(16px + env(safe-area-inset-bottom));
  text-align: center;
}

.footer-row {
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-text {
  color: rgba(107, 130, 168, 0.45);
  font-size: 11px;
  letter-spacing: 0.3px;
}

.footer-info {
  width: 14px;
  height: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid rgba(107, 130, 168, 0.25);
  border-radius: 50%;
  background: transparent;
  color: rgba(107, 130, 168, 0.35);
  cursor: pointer;
  font-size: 9px;
  font-weight: 700;
  line-height: 1;
}

.footer-disc {
  color: rgba(107, 130, 168, 0.3);
  font-size: 10px;
  letter-spacing: 0.2px;
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(4, 13, 26, 0.88);
  backdrop-filter: blur(10px);
}

.overlay.open {
  display: flex;
}

.modal {
  position: relative;
  width: 100%;
  max-width: min(380px, calc(100vw - 32px));
  padding: 28px 22px 22px;
  border: 1px solid #1a2f55;
  border-radius: 18px;
  background: #111f3d;
  animation: popIn 0.25s cubic-bezier(0.34, 1.1, 0.64, 1) both;
}

@keyframes popIn {
  from { opacity: 0; transform: scale(0.93); }
  to { opacity: 1; transform: scale(1); }
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  color: #6b82a8;
  cursor: pointer;
  font-size: 15px;
}

.modal-title {
  margin-bottom: 12px;
  padding-right: 32px;
  font-size: 17px;
  font-weight: 700;
}

.modal-text {
  color: #6b82a8;
  font-size: 14px;
  line-height: 1.7;
}

.steps-bar {
  position: fixed;
  top: 52px;
  left: 0;
  right: 0;
  z-index: 99;
  height: 40px;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  border-bottom: 1px solid rgba(30, 107, 255, 0.12);
  background: rgba(7, 16, 34, 0.98);
}

.sb {
  display: flex;
  align-items: center;
  gap: 6px;
  color: #3a5280;
  font-size: 11px;
  font-weight: 500;
}

.sb.active {
  color: #e8eef8;
}

.sb.done {
  color: #00d96a;
}

.sc {
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 2px solid #1a2f55;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 600;
}

.sb.active .sc {
  border-color: #1e6bff;
  background: rgba(30, 107, 255, 0.2);
  color: #0099ff;
}

.sb.done .sc {
  border-color: #00d96a;
  background: rgba(0, 217, 106, 0.15);
  color: #00d96a;
}

.sl {
  width: 20px;
  min-width: 20px;
  max-width: 20px;
  flex: 0 0 20px;
  align-self: center;
  height: 1px;
  min-height: 1px;
  max-height: 1px;
  margin: 0 5px;
  padding: 0;
  border-radius: 999px;
  background: #1a2f55;
}

.sl.done {
  background: #00d96a;
}

.wrap {
  width: min(100%, 560px);
  max-width: 560px;
  margin: 0 auto;
  padding: calc(112px + env(safe-area-inset-top)) 16px calc(60px + env(safe-area-inset-bottom));
}

.screen {
  display: none;
  padding-top: 20px;
}

.screen.on {
  display: block;
  animation: up 0.3s ease both;
}

@keyframes up {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

.ttl {
  margin-bottom: 6px;
  font-size: 22px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.sub {
  margin-bottom: 20px;
  color: #6b82a8;
  font-size: 14px;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.dropzone {
  display: grid;
  gap: 4px;
  padding: 32px 16px;
  margin-bottom: 12px;
  border: 2px dashed rgba(30, 107, 255, 0.3);
  border-radius: 14px;
  cursor: pointer;
  text-align: center;
  transition: border-color 0.2s, background 0.2s;
}

.dropzone.over {
  border-color: #1e6bff;
  background: rgba(30, 107, 255, 0.05);
}

.dropzone input {
  display: none;
}

.dz-ico {
  margin-bottom: 4px;
  font-size: 32px;
}

.dz-ttl {
  font-size: 16px;
  font-weight: 600;
}

.dz-sub {
  color: #6b82a8;
  font-size: 13px;
}

.counter {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  padding: 10px 14px;
  border: 1px solid #1a2f55;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  color: #6b82a8;
  font-size: 13px;
  gap: 10px;
}

.cnum {
  color: #e8eef8;
  font-size: 18px;
  font-weight: 700;
}

.cbar-wrap {
  width: 80px;
  height: 5px;
  overflow: hidden;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.08);
}

.cbar,
.pbar {
  width: 0%;
  height: 100%;
  border-radius: 3px;
  background: linear-gradient(90deg, #1e6bff, #0099ff);
  transition: width 0.3s;
}

.slots {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 7px;
  margin-bottom: 16px;
}

.slot {
  position: relative;
  aspect-ratio: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid #1a2f55;
  border-radius: 10px;
  background: #0e1a34;
  color: rgba(255, 255, 255, 0.07);
  font-size: 13px;
  font-weight: 600;
}

.slot.has {
  border-color: rgba(30, 107, 255, 0.4);
}

.slot img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.rmv {
  position: absolute;
  top: 3px;
  right: 3px;
  z-index: 2;
  width: 18px;
  height: 18px;
  display: none;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.8);
  color: #fff;
  cursor: pointer;
  font-size: 9px;
}

.slot.has:active .rmv,
.slot.has:hover .rmv {
  display: flex;
}

.screen.proc,
.screen.done {
  padding: 20px 0;
  text-align: center;
}

.screen.proc {
  padding-top: 48px;
}

.scan-loader,
.proc-ico {
  width: 88px;
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 22px;
}

.scan-loader {
  position: relative;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(30, 107, 255, 0.18), rgba(30, 107, 255, 0.04) 58%, transparent 62%);
}

.scan-loader::before,
.scan-loader::after {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  border: 1px solid rgba(0, 153, 255, 0.18);
}

.scan-loader::after {
  inset: -2px;
  border-color: rgba(0, 217, 106, 0.16);
  animation: softPulse 1.8s ease-in-out infinite;
}

.scan-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: conic-gradient(from 20deg, transparent 0 46%, #00d96a 58%, #0099ff 72%, transparent 86% 100%);
  animation: scanSpin 1.45s linear infinite;
}

.scan-ring::after {
  content: "";
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  background: #040d1a;
}

.scan-core {
  position: relative;
  z-index: 1;
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(30, 107, 255, 0.28);
  border-radius: 50%;
  background: #0d1a34;
  color: #0099ff;
  box-shadow: inset 0 0 18px rgba(30, 107, 255, 0.15);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0;
}

.proc-ico {
  border: 2px solid rgba(30, 107, 255, 0.3);
  border-radius: 50%;
  background: rgba(30, 107, 255, 0.1);
  font-size: 28px;
}

.proc-ico.ok {
  position: relative;
  border-color: rgba(0, 217, 106, 0.4);
  background: rgba(0, 217, 106, 0.12);
  color: transparent;
}

.proc-ico.ok::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 46px;
  height: 46px;
  border: 3px solid #071226;
  background: #19d51f;
  transform: translate(-50%, -50%);
}

.proc-ico.ok::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 25px;
  height: 13px;
  border-left: 5px solid #fff;
  border-bottom: 5px solid #fff;
  transform: translate(-50%, -58%) rotate(-45deg);
  transform-origin: center;
}

@keyframes scanSpin {
  to { transform: rotate(360deg); }
}

@keyframes softPulse {
  0%,
  100% { opacity: 0.35; transform: scale(0.96); }
  50% { opacity: 0.9; transform: scale(1.04); }
}

.proc-ttl {
  margin-bottom: 22px;
  font-size: 24px;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.proc-sub {
  margin-bottom: 16px;
  color: #6b82a8;
  font-size: 13px;
  line-height: 1.6;
}

.pbar-wrap {
  width: 100%;
  height: 8px;
  overflow: hidden;
  margin: 0 auto 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
}

.pbar {
  border-radius: 999px;
  background: linear-gradient(90deg, #1e6bff, #0099ff 52%, #00d96a);
  box-shadow: 0 0 16px rgba(0, 153, 255, 0.28);
  transition: width 0.45s ease;
}

.ppct {
  margin-bottom: 18px;
  color: #0099ff;
  font-size: 18px;
  font-weight: 600;
}

.process-card {
  width: 100%;
  min-height: 118px;
  padding: 18px 20px;
  border: 1px solid rgba(30, 107, 255, 0.35);
  border-radius: 14px;
  background: #13264a;
  text-align: left;
  animation: cardIn 0.35s ease both;
  overflow-wrap: anywhere;
}

.process-card.priced {
  border-color: rgba(0, 217, 106, 0.5);
  background: rgba(0, 56, 48, 0.58);
}

.pc-label {
  margin-bottom: 12px;
  color: #7da0dc;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.8px;
}

.process-card.priced .pc-label {
  color: #00d96a;
}

.pc-name {
  margin-bottom: 4px;
  color: #e8eef8;
  font-size: 22px;
  font-weight: 800;
}

.pc-sub {
  color: #7da0dc;
  font-size: 15px;
}

.pc-price {
  display: none;
  margin-top: 10px;
  color: #00d96a;
  font-size: 28px;
  font-weight: 900;
}

.process-card.priced .pc-price {
  display: block;
}

@keyframes cardIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.result-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 18px 0;
  padding: 14px;
  border: 1px solid #1a2f55;
  border-radius: 12px;
  background: #111f3d;
  text-align: left;
}

.result-card span {
  color: #6b82a8;
  font-size: 13px;
}

.result-card b {
  color: #00d96a;
  font-size: 20px;
}

.link-btn {
  display: flex;
}

.result-title {
  max-width: 100%;
  margin-bottom: 12px;
  font-size: 28px;
}

.result-amount {
  margin-bottom: 30px;
  color: #7da0dc;
  font-size: 16px;
}

.cabinet-btn {
  width: 100%;
  max-width: 560px;
  min-height: 65px;
  margin: 0 auto;
  border-radius: 14px;
  font-size: 18px;
  font-weight: 800;
}

.cabinet {
  width: min(100%, 560px);
  margin: 0 auto;
  padding: calc(118px + env(safe-area-inset-top)) 16px calc(46px + env(safe-area-inset-bottom));
}

.cabinet-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 28px;
  text-align: center;
}

.cabinet-avatar {
  width: 90px;
  height: 90px;
  display: grid;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2675ff, #0099ff);
  font-size: 34px;
}

.cabinet-head h1 {
  margin: 0 0 12px;
  font-size: 26px;
  line-height: 1.15;
  overflow-wrap: anywhere;
}

.verified {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 29px;
  padding: 0 14px;
  border: 1px solid rgba(0, 217, 106, 0.45);
  border-radius: 999px;
  background: rgba(0, 217, 106, 0.1);
  color: #00d96a;
  font-size: 13px;
  font-weight: 700;
}

.cabinet-value,
.cabinet-stats > div,
.cabinet-info,
.sale-item {
  border: 1px solid rgba(30, 107, 255, 0.28);
  border-radius: 16px;
  background: #13264a;
}

.cabinet-value {
  padding: 28px 26px;
  margin-bottom: 14px;
}

.cabinet-value span {
  display: block;
  margin-bottom: 10px;
  color: #7da0dc;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2.6px;
}

.cabinet-value strong {
  display: block;
  color: #e8eef8;
  font-size: 52px;
  line-height: 1;
}

.cabinet-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 16px;
}

.cabinet-stats > div {
  min-height: 90px;
  display: grid;
  place-items: center;
  padding: 16px 12px;
  text-align: center;
}

.cabinet-stats strong {
  color: #fff;
  font-size: 28px;
  line-height: 1;
}

.cabinet-stats span {
  color: #7da0dc;
  font-size: 12px;
}

.cabinet-info {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  margin-bottom: 10px;
}

.info-icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  border: 1px solid rgba(30, 107, 255, 0.3);
  border-radius: 9px;
  background: #17315d;
  font-size: 22px;
}

.cabinet-info span {
  display: block;
  margin-bottom: 4px;
  color: #7da0dc;
  font-size: 13px;
}

.cabinet-info strong {
  display: block;
  color: #fff;
  font-size: 17px;
  overflow-wrap: anywhere;
}

.earn-btn {
  width: 100%;
  min-height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 8px 0 18px;
  border: none;
  border-radius: 15px;
  background: #08d66d;
  box-shadow: 0 18px 44px rgba(0, 217, 106, 0.2);
  color: #fff;
  cursor: pointer;
  font: inherit;
  font-size: 22px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
}

.sales-list {
  display: grid;
  gap: 10px;
}

.sale-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 78px;
  padding: 16px 18px;
  animation: saleIn 0.35s ease both;
}

.empty-sales {
  padding: 18px;
  border: 1px dashed rgba(30, 107, 255, 0.28);
  border-radius: 16px;
  color: #7da0dc;
  background: rgba(19, 38, 74, 0.45);
  text-align: center;
  font-size: 14px;
}

.sale-item.new-sale {
  border-color: rgba(0, 217, 106, 0.42);
  box-shadow: 0 0 24px rgba(0, 217, 106, 0.08);
}

.sale-item.sale-history {
  opacity: 0.72;
}

.sale-item.sale-history .sale-price {
  color: #7da0dc;
}

.sale-user {
  display: block;
  margin-bottom: 4px;
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  overflow-wrap: anywhere;
}

.sale-buyer {
  color: #7da0dc;
  font-size: 14px;
}

.sale-price {
  flex-shrink: 0;
  color: #00d96a;
  font-size: 18px;
  font-weight: 900;
  white-space: nowrap;
}

@keyframes saleIn {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

.earn-page {
  width: min(100%, 560px);
  margin: 0 auto;
  padding: calc(118px + env(safe-area-inset-top)) 16px calc(38px + env(safe-area-inset-bottom));
}

.earn-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 32px;
  text-align: center;
}

.earn-icon {
  width: 94px;
  height: 94px;
  display: grid;
  place-items: center;
  margin-bottom: 20px;
  border-radius: 50%;
  background: #08d66d;
  box-shadow: 0 0 42px rgba(0, 217, 106, 0.45);
  font-size: 34px;
}

.earn-hero h1 {
  margin: 0;
  color: #e8eef8;
  font-size: 34px;
  line-height: 1.12;
}

.earn-card {
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 100%;
  margin-bottom: 38px;
  padding: 22px 24px;
  border: 1px solid rgba(0, 217, 106, 0.3);
  border-radius: 16px;
  background: rgba(0, 56, 48, 0.5);
}

.earn-card span {
  display: block;
  margin-bottom: 4px;
  color: #7da0dc;
  font-size: 16px;
  font-weight: 700;
}

.earn-card strong {
  color: #00d96a;
  font-size: 36px;
  line-height: 1;
}

.earn-money {
  flex-shrink: 0;
  font-size: 30px;
}

.instruction h2 {
  margin: 0 0 24px;
  color: #e8eef8;
  font-size: 26px;
}

.steps-timeline {
  position: relative;
  display: grid;
  gap: 32px;
  margin-bottom: 42px;
}

.steps-timeline::before {
  content: "";
  position: absolute;
  left: 26px;
  top: 22px;
  bottom: 22px;
  width: 3px;
  background: #183b76;
}

.earn-step {
  position: relative;
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 16px;
}

.earn-step-num {
  position: relative;
  z-index: 1;
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 3px solid #2271ff;
  border-radius: 50%;
  background: #0a1830;
  color: #0099ff;
  box-shadow: 0 0 0 4px rgba(30, 107, 255, 0.08);
  font-size: 20px;
  font-weight: 900;
}

.earn-step h3 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 23px;
  line-height: 1.22;
  overflow-wrap: anywhere;
}

.earn-step p {
  margin: 0 0 8px;
  color: #7da0dc;
  font-size: 18px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.pro-note {
  margin-top: 16px;
  padding: 18px 20px;
  border: 1px solid rgba(30, 107, 255, 0.28);
  border-radius: 12px;
  background: #0f2142;
  color: #8da3c8;
  font-size: 17px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.pro-note b {
  color: #fff;
}

.earn-bottom {
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0 18px;
  border-radius: 15px;
  background: #08d66d;
  box-shadow: 0 20px 48px rgba(0, 217, 106, 0.24);
  color: #fff;
  font-size: 23px;
  font-weight: 900;
  text-align: center;
  text-decoration: none;
}

@media (min-width: 360px) {
  .sb-lbl {
    display: inline;
  }
}

@media (min-width: 768px) {
  nav {
    padding-left: 28px;
    padding-right: 28px;
  }

  .hero {
    padding-top: 112px;
  }

  .hero p {
    max-width: 390px;
  }

  .wrap {
    padding-top: 128px;
  }

  .screen.proc,
  .screen.done {
    padding-top: 58px;
  }
}

@media (max-width: 520px) {
  nav {
    height: 52px;
  }

  .ticker-live {
    padding: 0 10px;
    letter-spacing: 1px;
  }

  .ticker-item {
    padding: 0 18px;
    font-size: 11px;
  }

  .hero {
    justify-content: center;
    padding-left: 18px;
    padding-right: 18px;
  }

  .hero h1 {
    font-size: clamp(32px, 9.2vw, 42px);
  }

  .hero p {
    max-width: 340px;
    font-size: 15px;
  }

  .cta {
    max-width: 340px;
    min-height: 56px;
    padding: 0 22px;
  }

  .stats {
    gap: 24px;
    margin-top: 36px;
  }

  .stat-n {
    font-size: 20px;
  }

  .wrap {
    padding-left: 14px;
    padding-right: 14px;
  }

  .screen.proc {
    padding-top: 38px;
  }

  .scan-loader,
  .proc-ico {
    width: 82px;
    height: 82px;
    margin-bottom: 18px;
  }

  .scan-core {
    width: 50px;
    height: 50px;
    font-size: 25px;
  }

  .proc-ttl {
    margin-bottom: 18px;
    font-size: 22px;
  }

  .process-card {
    min-height: 112px;
    padding: 16px 18px;
  }

  .pc-name {
    font-size: 20px;
  }

  .pc-price {
    font-size: 26px;
  }

  .result-title {
    font-size: 24px;
  }

  .cabinet-btn {
    min-height: 60px;
    font-size: 17px;
  }

  .cabinet {
    padding-top: 112px;
    padding-left: 14px;
    padding-right: 14px;
  }

  .cabinet-avatar {
    width: 82px;
    height: 82px;
    font-size: 31px;
  }

  .cabinet-head h1 {
    font-size: 24px;
  }

  .cabinet-value {
    padding: 24px 22px;
  }

  .cabinet-value strong {
    font-size: 48px;
  }

  .earn-btn {
    min-height: 64px;
    font-size: 20px;
  }

  .earn-page {
    padding-top: 104px;
    padding-left: 14px;
    padding-right: 14px;
  }

  .earn-icon {
    width: 94px;
    height: 94px;
  }

  .earn-hero h1 {
    font-size: 33px;
  }

  .earn-card {
    margin-bottom: 36px;
    padding: 20px 24px;
  }

  .earn-card span {
    font-size: 15px;
  }

  .instruction h2 {
    font-size: 25px;
  }

  .earn-step h3 {
    font-size: 21px;
  }

  .earn-step p {
    font-size: 18px;
  }

  .earn-bottom {
    min-height: 80px;
    font-size: 21px;
  }
}

@media (max-width: 359px) {
  nav {
    padding-left: 12px;
    padding-right: 12px;
  }

  .logo {
    font-size: 17px;
  }

  .nav-back {
    font-size: 12px;
  }

  .ticker-live {
    padding: 0 8px;
    font-size: 9px;
  }

  .ticker-item {
    padding: 0 14px;
  }

  .sb-lbl {
    display: none;
  }

  .steps-bar {
    height: 38px;
  }

  .sl {
    width: 16px;
    min-width: 16px;
    max-width: 16px;
    flex-basis: 16px;
    margin: 0 4px;
  }

  .wrap {
    padding-top: 104px;
    padding-left: 12px;
    padding-right: 12px;
  }

  .hero {
    padding-left: 14px;
    padding-right: 14px;
  }

  .hero h1 {
    font-size: 31px;
  }

  .hero p {
    font-size: 14px;
  }

  .cta,
  .btn {
    font-size: 15px;
  }

  .stats {
    gap: 18px;
  }

  .stat-n {
    font-size: 18px;
  }

  .dropzone {
    padding: 26px 12px;
  }

  .counter {
    display: grid;
    grid-template-columns: 1fr auto;
  }

  .cbar-wrap {
    grid-column: 1 / -1;
    width: 100%;
  }

  .slots {
    gap: 6px;
  }

  .slot {
    border-radius: 8px;
    font-size: 12px;
  }

  .process-card {
    padding: 14px;
  }

  .pc-label {
    letter-spacing: 1.2px;
    font-size: 11px;
  }

  .pc-name {
    font-size: 18px;
  }

  .pc-sub {
    font-size: 13px;
  }

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

  .cabinet-btn {
    min-height: 56px;
    font-size: 16px;
  }

  .cabinet {
    padding-top: 104px;
    padding-left: 12px;
    padding-right: 12px;
  }

  .cabinet-head h1 {
    font-size: 21px;
  }

  .verified {
    font-size: 12px;
  }

  .cabinet-value {
    padding: 20px 18px;
  }

  .cabinet-value span {
    font-size: 11px;
    letter-spacing: 1.8px;
  }

  .cabinet-value strong {
    font-size: 40px;
  }

  .cabinet-stats {
    gap: 8px;
  }

  .cabinet-stats > div {
    min-height: 82px;
    padding: 14px 8px;
  }

  .cabinet-stats strong {
    font-size: 24px;
  }

  .cabinet-stats span,
  .cabinet-info span,
  .sale-buyer {
    font-size: 12px;
  }

  .cabinet-info {
    gap: 12px;
    padding: 12px 14px;
  }

  .info-icon {
    width: 42px;
    height: 42px;
  }

  .cabinet-info strong,
  .sale-user {
    font-size: 15px;
  }

  .earn-btn {
    min-height: 58px;
    font-size: 18px;
  }

  .earn-page {
    padding-top: 96px;
    padding-left: 12px;
    padding-right: 12px;
  }

  .earn-icon {
    width: 82px;
    height: 82px;
    font-size: 30px;
  }

  .earn-hero h1 {
    font-size: 29px;
  }

  .earn-card {
    padding: 18px;
  }

  .earn-card span {
    font-size: 14px;
  }

  .earn-card strong {
    font-size: 31px;
  }

  .steps-timeline {
    gap: 26px;
  }

  .steps-timeline::before {
    left: 22px;
  }

  .earn-step {
    grid-template-columns: 46px 1fr;
    gap: 14px;
  }

  .earn-step-num {
    width: 44px;
    height: 44px;
    font-size: 17px;
  }

  .earn-step h3 {
    font-size: 19px;
  }

  .earn-step p,
  .pro-note {
    font-size: 15px;
  }

  .earn-bottom {
    min-height: 66px;
    font-size: 18px;
  }

  .sale-item {
    padding: 14px;
    gap: 10px;
  }

  .sale-price {
    font-size: 16px;
  }
}
