:root {
  --page: #000912;
  --panel: #19231d;
  --panel-soft: #223026;
  --field: #333333;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.66);
  --line: rgba(255, 255, 255, 0.14);
  --accent: #d7fe51;
  --blue: #2699fb;
  --danger: #ff5570;
  --gold: #ffd166;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: var(--page);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
input,
select {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

input,
select {
  outline: 0;
}

.hidden {
  display: none !important;
}

.phone-page {
  width: min(100vw, 500px);
  min-height: 100vh;
  margin: 0 auto;
  position: relative;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 50% -10%, rgba(215, 254, 81, 0.14), transparent 34%),
    linear-gradient(180deg, #000912 0%, #111712 100%);
}

.auth-screen {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 22px 24px 76px;
}

.lang-btn {
  position: absolute;
  top: 28px;
  right: 24px;
  width: 44px;
  height: 34px;
  border-radius: 17px;
  color: #111;
  background: var(--accent);
  font-weight: 800;
}

.auth-wrap {
  width: 100%;
}

.logo-block {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 42px;
}

.logo-mark {
  width: 92px;
  height: 92px;
  border-radius: 24px;
  display: grid;
  place-items: center;
  background: var(--accent);
  color: #101114;
  font-size: 34px;
  font-weight: 950;
  box-shadow: 0 18px 50px rgba(215, 254, 81, 0.18);
}

.logo-word {
  font-size: 32px;
  font-weight: 850;
}

.auth-card {
  padding: 22px 0 0;
}

.auth-card h1 {
  margin: 0 0 26px;
  font-size: 34px;
  line-height: 1.1;
  text-align: center;
  font-weight: 850;
}

.stack-form {
  display: grid;
  gap: 18px;
}

.input-row {
  min-height: 58px;
  display: grid;
  grid-template-columns: 42px 1fr;
  align-items: center;
  border-radius: 6px;
  padding: 0 14px;
  background: #ffffff;
  color: #111;
}

.input-icon {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #111;
  color: var(--accent);
  font-size: 12px;
  font-weight: 900;
}

.input-row input {
  width: 100%;
  height: 100%;
  min-height: 44px;
  display: block;
  border: 0;
  background: transparent;
  color: #111;
  min-width: 0;
  appearance: none;
  -webkit-appearance: none;
  line-height: 1.2;
}

.main-btn {
  width: 100%;
  min-height: 58px;
  border-radius: 18px;
  margin-top: 18px;
  color: #111;
  background: var(--accent);
  font-weight: 900;
  font-size: 17px;
}

.main-btn.secondary-action {
  margin-top: 10px;
  background: #111;
  color: #fff;
}

.auth-links {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
}

.auth-links.single {
  justify-content: center;
}

.auth-links button {
  background: transparent;
  color: var(--accent);
  padding: 8px 0;
}

.toast-line {
  min-height: 24px;
  margin: 18px 0 0;
  color: var(--accent);
  text-align: center;
}

.auth-footer {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 28px;
  text-align: center;
  color: rgba(255, 255, 255, 0.38);
  font-size: 12px;
}

.app-screen {
  padding-bottom: 72px;
  background: #142017;
}

.app-header {
  position: sticky;
  top: 0;
  z-index: 10;
  height: 60px;
  display: grid;
  grid-template-columns: 48px 1fr 48px;
  align-items: center;
  padding: 0 12px;
  background: #111;
  border-bottom: 1px solid rgba(215, 254, 81, 0.08);
}

.icon-btn,
.service-btn {
  width: 42px;
  height: 42px;
  border-radius: 0;
  background: transparent;
  color: #fff;
}

.icon-btn {
  font-size: 34px;
  line-height: 1;
  justify-self: start;
}

.service-btn {
  justify-self: end;
  padding: 0;
  border: 0;
  display: grid;
  place-items: center;
}

.support-svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: var(--accent);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 10px rgba(215, 254, 81, .22));
}

.support-icon {
  position: relative;
  width: 28px;
  height: 28px;
  display: inline-block;
}

.support-icon:before {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  width: 22px;
  height: 18px;
  border-radius: 13px;
  background: var(--accent);
  box-shadow: 0 0 14px rgba(215, 254, 81, .24);
}

.support-icon:after {
  content: "";
  position: absolute;
  left: 9px;
  top: 11px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #111;
  box-shadow:
    6px 0 0 #111,
    12px 0 0 #111,
    8px 10px 0 1px var(--accent);
}

.top-brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #fff;
  font-size: 28px;
  font-weight: 850;
}

.top-brand-mark {
  width: 31px;
  height: 24px;
  display: grid;
  place-items: center;
  clip-path: polygon(0 100%, 36% 0, 74% 0, 100% 100%, 69% 100%, 56% 68%, 32% 68%, 22% 100%);
  background: var(--accent);
  color: transparent;
}

.app-title {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.content {
  padding: 0 0 28px;
}

.side-menu {
  position: fixed;
  inset: 0;
  z-index: 40;
}

.side-menu-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .72);
  backdrop-filter: blur(10px);
}

.side-menu-panel {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(86vw, 360px);
  padding: 22px 18px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  background:
    radial-gradient(circle at 80% 8%, rgba(215, 254, 81, .15), transparent 36%),
    linear-gradient(180deg, #151a16, #0c110d);
  border-right: 1px solid rgba(215, 254, 81, .22);
  box-shadow: 20px 0 60px rgba(0, 0, 0, .48);
}

.side-menu-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 4px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.side-menu-head small {
  display: block;
  color: var(--accent);
  font-weight: 850;
  margin-bottom: 6px;
}

.side-menu-head strong {
  display: block;
  font-size: 28px;
  line-height: 1;
}

.side-menu-head button {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #111;
  background: var(--accent);
  font-size: 24px;
  font-weight: 900;
}

.side-menu-links {
  display: grid;
  gap: 10px;
  overflow-y: auto;
  padding-right: 2px;
}

.side-menu-links button {
  min-height: 76px;
  padding: 14px 16px 13px;
  text-align: left;
  border-radius: 18px;
  color: #fff;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .08);
}

.side-menu-links button span {
  display: block;
  font-size: 18px;
  font-weight: 900;
}

.side-menu-links button small {
  display: -webkit-box;
  margin-top: 5px;
  color: rgba(255, 255, 255, .58);
  font-size: 12px;
  line-height: 1.35;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.side-menu-links button:active {
  transform: scale(.98);
  background: rgba(215, 254, 81, .13);
}

.side-menu-foot {
  margin-top: auto;
  padding: 16px;
  border-radius: 18px;
  background: var(--accent);
  color: #111;
}

.side-menu-foot span {
  display: block;
  font-weight: 850;
  margin-bottom: 10px;
}

.side-menu-foot button {
  width: 100%;
  min-height: 42px;
  border-radius: 21px;
  background: #111;
  color: var(--accent);
  font-weight: 900;
}

.resource-page {
  min-height: calc(100vh - 132px);
  padding: 20px 18px 32px;
  background:
    radial-gradient(circle at 82% 0%, rgba(215, 254, 81, .18), transparent 34%),
    linear-gradient(180deg, #162117 0%, #101610 100%);
}

.resource-hero {
  padding: 28px 22px;
  border-radius: 28px;
  background: #0f130f;
  border: 1px solid rgba(215, 254, 81, .28);
  box-shadow: 0 22px 60px rgba(0, 0, 0, .32);
}

.resource-hero small {
  color: var(--accent);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 12px;
}

.resource-hero h2 {
  margin: 14px 0;
  font-size: 34px;
  line-height: 1.02;
  letter-spacing: 0;
}

.resource-hero p,
.resource-body p,
.resource-cta p {
  margin: 0;
  color: rgba(255, 255, 255, .68);
  line-height: 1.62;
  font-size: 15px;
}

.resource-body {
  margin-top: 16px;
  display: grid;
  gap: 16px;
}

.resource-image {
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
}

.resource-image img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
}

.resource-point-grid {
  display: grid;
  gap: 12px;
}

.resource-point-grid div {
  display: grid;
  grid-template-columns: 52px 1fr;
  align-items: center;
  min-height: 70px;
  border-radius: 20px;
  padding: 14px 16px;
  background: linear-gradient(135deg, rgba(215, 254, 81, .94), rgba(186, 255, 31, .96));
  color: #111;
}

.resource-point-grid b {
  font-size: 22px;
  font-weight: 950;
}

.resource-point-grid span {
  font-size: 16px;
  font-weight: 850;
}

.resource-cta {
  margin-top: 18px;
  padding: 22px;
  border-radius: 24px;
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .1);
}

.resource-cta h3 {
  margin: 0 0 10px;
  font-size: 24px;
}

.landing-hero {
  min-height: calc(100vh - 160px);
  margin: -18px -18px 0;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  padding: 58px 22px 94px;
  background: #141712;
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.82) 0%, rgba(0, 0, 0, 0.42) 54%, rgba(0, 0, 0, 0.78) 100%),
    radial-gradient(circle at 78% 24%, rgba(215, 254, 81, 0.42), transparent 24%),
    radial-gradient(circle at 22% 76%, rgba(38, 153, 251, 0.32), transparent 28%),
    linear-gradient(135deg, #243122 0%, #101712 42%, #1f2925 100%);
}

.hero-media .compute-scene {
  position: absolute;
  right: -80px;
  top: 74px;
  width: 330px;
  height: 330px;
  opacity: .9;
  filter: drop-shadow(0 0 32px rgba(215, 254, 81, .2));
  animation: sceneFloat 8s ease-in-out infinite;
}

.grid-plane {
  position: absolute;
  inset: 58px 12px 8px;
  transform: perspective(420px) rotateX(64deg) rotateZ(-22deg);
  background:
    linear-gradient(rgba(215, 254, 81, .18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(38, 153, 251, .16) 1px, transparent 1px);
  background-size: 22px 22px;
  mask-image: radial-gradient(circle, #000 0 46%, transparent 72%);
  animation: gridDrift 9s linear infinite;
}

.core-orbit {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(215, 254, 81, .55);
  border-radius: 50%;
  transform: translate(-50%, -50%) rotateX(68deg);
  box-shadow: inset 0 0 28px rgba(215, 254, 81, .08), 0 0 30px rgba(215, 254, 81, .12);
}

.orbit-a {
  animation: orbitSpin 11s linear infinite;
}

.orbit-b {
  width: 286px;
  height: 144px;
  border-color: rgba(38, 153, 251, .55);
  transform: translate(-50%, -50%) rotate(-24deg) rotateX(70deg);
  animation: orbitSpinReverse 15s linear infinite;
}

.compute-core {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 106px;
  height: 106px;
  display: grid;
  place-items: center;
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(215, 254, 81, .98), rgba(38, 153, 251, .82));
  color: #08110c;
  font-size: 34px;
  font-weight: 950;
  transform: translate(-50%, -50%) rotate(-10deg);
  box-shadow: 0 20px 56px rgba(0, 0, 0, .46), 0 0 40px rgba(215, 254, 81, .35);
  animation: corePulse 3.8s ease-in-out infinite;
}

.compute-core span {
  animation: coreCounter 8s ease-in-out infinite;
}

.node {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 18px rgba(215, 254, 81, .9);
}

.n1 { left: 58px; top: 76px; animation: nodeBlink 2.6s ease-in-out infinite; }
.n2 { right: 52px; top: 112px; animation: nodeBlink 3.2s ease-in-out infinite .3s; }
.n3 { left: 96px; bottom: 46px; background: var(--blue); box-shadow: 0 0 18px rgba(38, 153, 251, .9); animation: nodeBlink 2.9s ease-in-out infinite .7s; }
.n4 { right: 108px; bottom: 72px; animation: nodeBlink 3.6s ease-in-out infinite 1s; }

.scan-line {
  position: absolute;
  left: 28px;
  right: 28px;
  top: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(215, 254, 81, .95), transparent);
  opacity: .82;
  animation: scanDrop 4.2s linear infinite;
}

.hero-media:before,
.hero-media:after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  border: 1px solid rgba(215, 254, 81, 0.18);
  transform: rotate(35deg);
}

.hero-media:before {
  right: -210px;
  top: 44px;
}

.hero-media:after {
  left: -240px;
  bottom: -20px;
}

@keyframes sceneFloat {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
  50% { transform: translate3d(-10px, 14px, 0) scale(1.03); }
}

@keyframes gridDrift {
  from { background-position: 0 0, 0 0; }
  to { background-position: 44px 44px, 44px 44px; }
}

@keyframes orbitSpin {
  from { transform: translate(-50%, -50%) rotateX(68deg) rotateZ(0); }
  to { transform: translate(-50%, -50%) rotateX(68deg) rotateZ(360deg); }
}

@keyframes orbitSpinReverse {
  from { transform: translate(-50%, -50%) rotate(-24deg) rotateX(70deg) rotateZ(360deg); }
  to { transform: translate(-50%, -50%) rotate(-24deg) rotateX(70deg) rotateZ(0); }
}

@keyframes corePulse {
  0%, 100% { transform: translate(-50%, -50%) rotate(-10deg) scale(1); }
  50% { transform: translate(-50%, -50%) rotate(-5deg) scale(1.07); }
}

@keyframes coreCounter {
  0%, 100% { transform: rotate(0); }
  50% { transform: rotate(8deg); }
}

@keyframes nodeBlink {
  0%, 100% { opacity: .35; transform: scale(.74); }
  50% { opacity: 1; transform: scale(1.35); }
}

@keyframes scanDrop {
  from { transform: translateY(38px); opacity: 0; }
  18% { opacity: .9; }
  82% { opacity: .9; }
  to { transform: translateY(286px); opacity: 0; }
}

.landing-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.landing-copy h2 {
  margin: 0;
  font-size: clamp(42px, 13vw, 64px);
  line-height: 0.94;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  max-width: 430px;
}

.landing-copy p {
  margin: 0;
  max-width: 320px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.55;
}

.shape-btn {
  width: 183px;
  height: 53px;
  background: var(--accent);
  color: #111;
  font-weight: 850;
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
}

.shape-btn.dark {
  background: #111;
  color: #fff;
}

.logo-marquee {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  height: 74px;
  display: flex;
  align-items: center;
  overflow: hidden;
  backdrop-filter: blur(14px);
  background: rgba(0, 0, 0, 0.34);
  mask-image: linear-gradient(90deg, transparent 0, #000 48px, #000 calc(100% - 48px), transparent);
}

.logo-track {
  display: flex;
  align-items: center;
  gap: 42px;
  animation: marquee 70s linear infinite;
}

.logo-track img {
  flex: 0 0 auto;
  width: auto;
  max-width: 158px;
  max-height: 42px;
  object-fit: contain;
}

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

.stat-band {
  margin: 0 -18px;
  padding: 28px 22px;
  display: grid;
  gap: 22px;
  background: var(--accent);
  color: #111;
}

.stat-band div {
  display: grid;
  gap: 8px;
}

.stat-band strong {
  font-size: 44px;
  line-height: 1;
}

.stat-band span {
  max-width: 260px;
  color: rgba(0, 0, 0, 0.7);
}

.story-section {
  margin: 0 -18px;
  padding: 58px 22px;
  display: grid;
  gap: 24px;
  background: #101712;
}

.story-section.reverse {
  background: #1f2925;
}

.story-section small {
  display: block;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.story-section h3,
.resource-grid h3,
.cta-band h3 {
  margin: 0;
  font-size: 32px;
  line-height: 1.08;
  font-weight: 760;
}

.story-section p {
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.6;
}

.orb-cube {
  position: relative;
  width: 210px;
  height: 210px;
  margin: 0 auto;
  display: grid;
  place-items: center;
  border-radius: 28px;
  color: #111;
  background:
    linear-gradient(135deg, rgba(215, 254, 81, 0.95), rgba(38, 153, 251, 0.72));
  font-size: 56px;
  font-weight: 950;
  transform: rotate(-8deg);
  animation: cubeFloat 7s ease-in-out infinite;
  overflow: hidden;
}

.orb-cube:before,
.orb-cube:after {
  content: "";
  position: absolute;
  inset: 18px;
  border: 1px solid rgba(0, 0, 0, .28);
  border-radius: 22px;
  animation: cubeRing 8s linear infinite;
}

.orb-cube:after {
  inset: 42px;
  border-color: rgba(255, 255, 255, .35);
  animation-duration: 5s;
  animation-direction: reverse;
}

.orb-cube.blue {
  background:
    linear-gradient(135deg, rgba(38, 153, 251, 0.95), rgba(215, 254, 81, 0.72));
  transform: rotate(8deg);
  animation-delay: -2.4s;
}

@keyframes cubeFloat {
  0%, 100% { transform: translateY(0) rotate(-8deg); }
  50% { transform: translateY(-16px) rotate(4deg); }
}

@keyframes cubeRing {
  from { transform: rotate(0) scale(.94); }
  50% { transform: rotate(180deg) scale(1.08); }
  to { transform: rotate(360deg) scale(.94); }
}

.resource-grid {
  margin: 0 -18px;
  padding: 58px 22px;
  display: grid;
  gap: 14px;
  background: #141712;
}

.resource-grid h3 {
  margin-bottom: 16px;
}

.resource-grid button {
  min-height: 116px;
  position: relative;
  text-align: left;
  color: #fff;
  padding: 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  clip-path: polygon(0 0, calc(100% - 18px) 0, 100% 18px, 100% 100%, 18px 100%, 0 calc(100% - 18px));
}

.resource-grid button:after {
  content: "↗";
  position: absolute;
  top: 22px;
  right: 22px;
  color: var(--accent);
}

.resource-grid span {
  display: block;
  margin-bottom: 12px;
  color: var(--accent);
  text-transform: uppercase;
  font-size: 12px;
}

.resource-grid strong {
  display: block;
  max-width: 250px;
  font-size: 20px;
  line-height: 1.25;
}

.cta-band {
  margin: 0 -18px -28px;
  min-height: 330px;
  display: grid;
  place-items: center;
  gap: 28px;
  padding: 54px 22px;
  text-align: center;
  background: var(--accent);
  color: #102016;
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 22px 0 12px;
}

.section-title h3 {
  margin: 0;
  font-size: 18px;
}

.link-btn {
  color: var(--accent);
  background: transparent;
}

.dark-card {
  border-radius: 8px;
  background: var(--panel);
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.rating-product-card {
  display: grid;
  gap: 8px;
}

.rating-product-icon {
  width: 58px;
  height: 58px;
  object-fit: contain;
  justify-self: center;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 10px 22px rgba(0, 0, 0, .12);
}

.balance-card {
  display: grid;
  gap: 16px;
}

.balance-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.balance-row .label {
  color: var(--muted);
}

.balance-row .value {
  color: var(--accent);
  font-weight: 850;
  text-align: right;
}

.start-wallet-panel {
  margin: 34px 17px 0;
  padding: 34px 17px 18px;
  border: 2px solid rgba(255, 255, 255, 0.58);
  border-radius: 6px;
}

.money-box {
  min-height: 78px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
  padding: 13px 18px;
  background: var(--accent);
  color: #111;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.18);
}

.money-box:last-child {
  margin-bottom: 0;
}

.money-box strong,
.money-box span,
.money-box b,
.money-box small {
  display: block;
}

.money-box strong {
  font-size: 21px;
  font-weight: 900;
}

.money-box span {
  margin-top: 5px;
  font-size: 13px;
  font-weight: 850;
}

.money-box b {
  min-width: 58px;
  color: #111;
  font-size: 18px;
  font-weight: 900;
  text-align: right;
}

.money-box small {
  margin-top: 3px;
  font-size: 17px;
  font-weight: 850;
}

.money-box.negative-balance b,
.money-box.negative-balance small,
.negative-text {
  color: #ef3f35 !important;
}

.start-action-wrap {
  display: flex;
  justify-content: center;
  margin-top: 56px;
}

.start-button {
  width: 235px;
  min-height: 67px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 999px;
  background: var(--accent);
  color: #111;
  font-size: 24px;
  font-weight: 750;
  letter-spacing: 0;
}

.start-button span {
  font-size: 17px;
}

.start-button b {
  font-size: 25px;
  font-weight: 850;
}

.brand-scroll {
  display: grid;
  gap: 12px;
  margin-top: 62px;
  overflow: hidden;
}

.brand-row {
  display: flex;
  gap: 12px;
  animation: moveRow 86s linear infinite;
}

.brand-row:nth-child(even) {
  animation-direction: reverse;
}

.brand-row:nth-child(3) {
  animation-duration: 96s;
}

.brand-row:nth-child(4) {
  animation-duration: 78s;
}

.brand-pill {
  flex: 0 0 auto;
  width: auto;
  height: 57px;
  display: grid;
  place-items: center;
  padding: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}

.brand-pill img {
  display: block;
  width: auto;
  height: 57px;
  max-width: none;
  object-fit: contain;
}

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

.note-list {
  display: grid;
  gap: 10px;
  margin: 42px 17px 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.2;
  text-align: center;
}

.note-list div:first-child {
  color: rgba(255, 255, 255, 0.72);
}

.order-list {
  display: grid;
  gap: 14px;
}

.order-card {
  position: relative;
  border-radius: 8px;
  padding: 16px;
  background: #f5f7f1;
  color: #111;
}

.order-card h4 {
  margin: 0 0 12px;
  font-size: 16px;
}

.order-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 12px;
}

.order-metrics div {
  text-align: center;
  font-size: 12px;
}

.order-metrics strong {
  display: block;
  margin-top: 4px;
  color: #ff492c;
}

.status {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  padding: 2px 9px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 800;
}

.status.pending {
  background: rgba(255, 209, 102, 0.24);
  color: #9b6800;
}

.status.completed,
.status.approved {
  background: rgba(84, 214, 138, 0.18);
  color: #078a42;
}

.status.rejected {
  background: rgba(255, 85, 112, 0.18);
  color: #cb2c44;
}

.status.reset {
  background: rgba(148, 163, 184, 0.18);
  color: #94a3b8;
}

.mini-btn {
  min-height: 34px;
  border-radius: 17px;
  padding: 0 13px;
  color: #111;
  background: var(--accent);
  font-weight: 850;
}

.tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 16px;
}

.tabs button {
  min-height: 42px;
  border-radius: 21px;
  background: var(--panel);
  color: #fff;
}

.tabs button.active {
  background: var(--accent);
  color: #111;
  font-weight: 850;
}

.amount-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 14px;
}

.amount-btn {
  min-height: 58px;
  border-radius: 8px;
  color: #111;
  background: #fff;
  font-weight: 850;
}

.form-card {
  display: grid;
  gap: 14px;
}

.form-card label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
}

.form-card input,
.form-card select {
  min-height: 50px;
  border-radius: 6px;
  border: 0;
  padding: 0 14px;
  background: var(--field);
  color: #fff;
}

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

.record-card {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding: 12px 0;
}

.record-main {
  display: grid;
  gap: 4px;
}

.record-note {
  margin-top: 6px;
  padding: 8px 10px;
  border-radius: 12px;
  background: rgba(239, 82, 58, 0.1);
  color: #ef523a;
  font-size: 12px;
  line-height: 1.45;
}

.record-note span {
  display: block;
  color: var(--muted);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.record-rejected {
  border-color: rgba(239, 82, 58, 0.24);
}

.profile-hero {
  position: relative;
  margin: 0 -18px;
  padding: 22px 20px 18px;
  display: grid;
  justify-items: center;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 0%, rgba(215, 254, 81, .18), transparent 42%),
    linear-gradient(180deg, #132016 0%, #0f1712 100%);
}

.profile-hero:before {
  content: "";
  position: absolute;
  inset: -92px 84px auto;
  height: 170px;
  border-radius: 50%;
  border: 1px solid rgba(215, 254, 81, .22);
  animation: profileHalo 8s linear infinite;
}

.profile-avatar {
  position: relative;
  z-index: 1;
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, var(--accent) 0 22%, transparent 23%),
    radial-gradient(circle at 50% 50%, rgba(215, 254, 81, .18) 0 38%, transparent 39%),
    #111;
  box-shadow: 0 18px 42px rgba(0, 0, 0, .4), 0 0 26px rgba(215, 254, 81, .22);
  animation: avatarPulse 3.6s ease-in-out infinite;
}

.profile-avatar span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #d7fe51;
  color: #111;
  font-weight: 950;
  font-size: 18px;
}

.profile-hero h2 {
  position: relative;
  z-index: 1;
  margin: 10px 0 2px;
  font-size: 22px;
}

.profile-code {
  position: relative;
  z-index: 1;
  color: var(--muted);
  font-size: 12px;
}

.vip-badge {
  position: relative;
  z-index: 1;
  margin-top: 10px;
  min-height: 34px;
  width: min(360px, 100%);
  padding: 6px 8px;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center;
  gap: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(215, 254, 81, .35);
}

.vip-badge div {
  min-width: 0;
  display: grid;
  gap: 2px;
  justify-items: center;
  border-right: 1px solid rgba(255, 255, 255, .14);
}

.vip-badge div:last-child {
  border-right: 0;
}

.vip-badge span {
  color: var(--muted);
  font-size: 9px;
  font-weight: 850;
  text-transform: uppercase;
}

.vip-badge strong {
  color: var(--accent);
  font-size: 13px;
  line-height: 1;
  white-space: nowrap;
}

.profile-balance-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 12px 0;
}

.profile-balance-grid button {
  min-height: 104px;
  display: grid;
  align-content: space-between;
  gap: 10px;
  padding: 12px;
  border-radius: 12px;
  text-align: left;
  background: var(--accent);
  color: #111;
  box-shadow: 0 14px 30px rgba(0, 0, 0, .18);
}

.profile-balance-grid button:nth-child(2) {
  background: #fff;
}

.profile-balance-grid small,
.profile-balance-grid span {
  font-weight: 850;
}

.profile-balance-grid strong {
  font-size: 16px;
  line-height: 1.1;
  word-break: break-word;
}

.profile-balance-grid span {
  justify-self: start;
  min-height: 25px;
  padding: 4px 10px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-size: 12px;
}

.profile-stats,
.profile-menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 12px;
}

.profile-stats div,
.profile-stats button {
  min-height: 58px;
  display: flex;
  flex-direction: column;
  place-items: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .08);
}

.profile-stats strong,
.profile-stats span {
  display: block;
}

.profile-stats strong {
  color: var(--accent);
  font-size: 19px;
}

.profile-stats span {
  color: var(--muted);
  font-size: 12px;
}

.profile-stat-action {
  cursor: pointer;
}

.profile-stat-action:active {
  transform: translateY(1px);
}

.profile-menu-grid {
  grid-template-columns: repeat(4, 1fr);
}

.profile-menu-grid button {
  min-height: 68px;
  display: grid;
  place-items: center;
  gap: 6px;
  border-radius: 12px;
  background: #1c251e;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .08);
}

.security-panel {
  color: var(--text);
}

.security-tabs {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  margin-bottom: 18px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .06);
}

.security-tabs button {
  min-height: 42px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .92);
  color: #111;
  font-weight: 850;
  white-space: nowrap;
}

.security-tabs button.active {
  background: var(--accent);
  color: #111;
}

.security-panel h2 {
  margin: 0 40px 20px 0;
}

.security-form {
  display: grid;
  gap: 18px;
}

.security-form label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-size: 13px;
  font-weight: 750;
}

.security-form input {
  width: 100%;
  min-height: 50px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 8px;
  background: #151915;
  color: #fff;
  padding: 0 15px;
  font-size: 15px;
  font-weight: 750;
}

.profile-menu-grid b {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(215, 254, 81, .13);
  color: var(--accent);
  font-size: 16px;
}

.profile-menu-grid b .support-svg {
  width: 23px;
  height: 23px;
  stroke-width: 2.7;
}

.profile-menu-grid b .support-icon {
  width: 23px;
  height: 23px;
}

.profile-menu-grid b .support-icon:before {
  left: 2px;
  top: 3px;
  width: 19px;
  height: 15px;
}

.profile-menu-grid b .support-icon:after {
  left: 7px;
  top: 10px;
  width: 3px;
  height: 3px;
  box-shadow:
    5px 0 0 #111,
    10px 0 0 #111,
    7px 8px 0 1px var(--accent);
}

.profile-menu-grid span {
  font-size: 12px;
  color: rgba(255, 255, 255, .75);
}

.profile-list {
  margin-top: 14px;
  border-radius: 8px;
  background: var(--panel);
  overflow: hidden;
}

.profile-item {
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 16px;
  border-bottom: 1px solid var(--line);
}

.profile-item strong {
  min-width: 0;
  text-align: right;
  overflow-wrap: anywhere;
}

.invite-code-value {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  flex: 1 1 auto;
  min-width: 0;
  gap: 8px;
}

.invite-code-value em {
  min-width: 58px;
  font-style: normal;
  text-align: right;
  line-height: 1;
  white-space: nowrap;
}

.copy-code-btn {
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 9px;
  background: rgba(215, 254, 81, .14);
  border: 1px solid rgba(215, 254, 81, .42);
  color: var(--accent);
  padding: 0;
}

.copy-code-btn svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linejoin: round;
}

.profile-item:last-child {
  border-bottom: 0;
}

.logout-row {
  width: 100%;
  background: transparent;
  color: #ff8b76;
  justify-content: center;
  font-weight: 850;
}

@keyframes profileHalo {
  from { transform: rotate(0); }
  to { transform: rotate(360deg); }
}

@keyframes avatarPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.05); }
}

.tabbar {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 20;
  transform: translateX(-50%);
  width: min(100vw, 500px);
  height: 72px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border-top: 1px solid rgba(0, 0, 0, 0.12);
}

.tabbar button {
  position: relative;
  background: transparent;
  color: #1a1d18;
  display: grid;
  place-items: center;
  gap: 2px;
  padding: 8px 4px;
  font-size: 13px;
  font-weight: 700;
  transition: color .18s ease, transform .18s ease, background .18s ease;
  -webkit-tap-highlight-color: transparent;
}

.tabbar button span {
  width: 34px;
  height: 30px;
  display: grid;
  place-items: center;
  border-radius: 17px;
  font-size: 20px;
  line-height: 1;
  transition: color .18s ease, transform .18s ease, background .18s ease, box-shadow .18s ease;
}

.tabbar button::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 4px;
  width: 0;
  height: 3px;
  border-radius: 999px;
  background: var(--accent);
  transform: translateX(-50%);
  transition: width .18s ease;
}

.tabbar button:active {
  transform: translateY(2px) scale(.98);
}

.tabbar button.active {
  color: #111;
  transform: translateY(-5px);
}

.tabbar button.active span {
  color: var(--accent);
  background: #111;
  transform: scale(1.08);
  text-shadow: 0 0 10px rgba(215, 254, 81, 0.55);
  box-shadow: 0 8px 18px rgba(17, 17, 17, .16);
}

.tabbar button.active::after {
  width: 28px;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: clamp(10px, 3vw, 22px);
  background: rgba(0, 0, 0, 0.62);
}

.modal-card {
  width: min(456px, 100%);
  max-height: 88vh;
  overflow: auto;
  position: relative;
  border-radius: 18px;
  background: #141814;
  border: 1px solid var(--line);
  padding: 22px;
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 34px;
  height: 34px;
  border-radius: 17px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 22px;
}

.rating {
  display: flex;
  justify-content: center;
  gap: 5px;
  color: var(--accent);
  font-size: 28px;
  margin: 14px 0;
}

.comment-list {
  display: grid;
  gap: 10px;
  margin: 16px 0;
}

.comment-option {
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 10px;
  align-items: center;
  padding: 10px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.comment-option input {
  width: 18px;
  height: 18px;
  accent-color: var(--accent);
}

.lucky-wheel-card {
  display: grid;
  justify-items: center;
  gap: 16px;
  text-align: center;
  color: #fff;
}

.lucky-wheel-title span,
.lucky-wheel-title strong {
  display: block;
}

.lucky-wheel-title span {
  color: var(--accent);
  font-size: 34px;
  font-weight: 950;
  text-shadow: 0 0 18px rgba(215, 254, 81, .6);
}

.lucky-wheel-title strong {
  margin-top: 6px;
  font-size: 24px;
}

.lucky-wheel-wrap {
  position: relative;
  width: min(300px, 72vw);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.lucky-wheel-wrap.spinning .lucky-wheel {
  animation: luckySpin .55s linear infinite;
}

.lucky-wheel-wrap.settle .lucky-wheel {
  animation: luckySettle 1.65s cubic-bezier(.12, .72, .16, 1) forwards;
}

.lucky-wheel {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, #111 0 18%, transparent 19%),
    conic-gradient(
      #d7fe51 0 45deg,
      #111820 45deg 90deg,
      #56e28a 90deg 135deg,
      #202124 135deg 180deg,
      #d7fe51 180deg 225deg,
      #111820 225deg 270deg,
      #56e28a 270deg 315deg,
      #202124 315deg 360deg
    );
  border: 10px solid #f6ffca;
  box-shadow: 0 18px 45px rgba(0, 0, 0, .35), 0 0 32px rgba(215, 254, 81, .32);
}

.lucky-wheel span {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 50%;
  height: 30px;
  transform-origin: 0 50%;
  transform: rotate(var(--angle)) translateX(38px);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  text-shadow: 0 1px 4px rgba(0, 0, 0, .45);
}

.lucky-wheel span b {
  display: inline-block;
  transform: rotate(calc(-1 * (var(--angle) + var(--spin-rotation, 0deg))));
}

.lucky-wheel span.active b {
  padding: 4px 8px;
  border-radius: 999px;
  background: #fff;
  color: #111;
  box-shadow: 0 0 16px rgba(215, 254, 81, .9);
}

.lucky-wheel-core {
  position: relative;
  z-index: 2;
  width: 82px;
  height: 82px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #111318;
  color: var(--accent);
  font-size: 22px;
  font-weight: 950;
  box-shadow: inset 0 0 0 7px rgba(215, 254, 81, .9), 0 8px 22px rgba(0, 0, 0, .35);
}

.lucky-pointer {
  position: absolute;
  z-index: 3;
  top: -4px;
  width: 0;
  height: 0;
  border-left: 14px solid transparent;
  border-right: 14px solid transparent;
  border-top: 30px solid #fff;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, .35));
}

.lucky-wheel-card p {
  max-width: 330px;
  margin: 0;
  color: rgba(255, 255, 255, .82);
  line-height: 1.55;
}

.lucky-wheel-card small {
  color: rgba(215, 254, 81, .82);
}

.lucky-wheel-card.won .lucky-wheel-title strong {
  color: #fff;
  text-shadow: 0 0 18px rgba(215, 254, 81, .45);
}

@keyframes luckySpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes luckySettle {
  from { transform: rotate(0deg); }
  to { transform: rotate(var(--spin-rotation, 1440deg)); }
}

.empty {
  padding: 50px 20px;
  text-align: center;
  color: var(--muted);
}

@media (min-width: 501px) {
  body {
    background: #f6f6f3;
  }

  .phone-page {
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.06);
  }
}

/* IoTeX-inspired light interface refresh */
:root {
  --page: #f7f7f2;
  --panel: #ffffff;
  --panel-soft: #f1f2ee;
  --field: #f2f3ee;
  --text: #202124;
  --muted: rgba(32, 33, 36, .58);
  --line: rgba(32, 33, 36, .1);
  --accent: #bfff32;
  --blue: #3b82f6;
  --danger: #e25555;
  --gold: #a67c00;
}

html,
body {
  background: #f6f6f3;
  color: var(--text);
}

.phone-page {
  background:
    radial-gradient(circle at 90% 12%, rgba(191, 255, 50, .22), transparent 28%),
    linear-gradient(180deg, #ffffff 0%, #f6f6f3 100%);
}

.auth-screen {
  background: #fff;
}

.logo-mark,
.lang-btn,
.main-btn,
.shape-btn,
.money-box,
.cta-band,
.profile-balance-grid button:first-child {
  background: var(--accent);
  color: #151713;
}

.logo-word,
.auth-card h1,
.landing-copy h2,
.story-section h3,
.resource-grid h3,
.cta-band h3 {
  color: #26272a;
}

.auth-footer,
.landing-copy p,
.story-section p,
.profile-code,
.profile-stats span,
.profile-menu-grid span,
.profile-list .profile-item span {
  color: var(--muted);
}

.input-row,
.form-card input,
.form-card select {
  background: #f0f1ed;
  color: #171817;
  border: 1px solid rgba(0, 0, 0, .06);
}

.input-icon {
  background: #171817;
  color: var(--accent);
}

.app-screen {
  background: #f6f6f3;
}

.app-header {
  background: rgba(255, 255, 255, .86);
  color: #161716;
  border-bottom: 1px solid rgba(0, 0, 0, .06);
  backdrop-filter: blur(18px);
}

.icon-btn,
.service-btn,
.top-brand,
.top-brand span {
  color: #161716;
}

.top-brand-mark {
  background: #171817;
  color: var(--accent);
}

.cube-logo {
  width: 28px;
  height: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  padding: 3px;
  border-radius: 6px;
  background: transparent;
  transform: rotate(45deg);
}

.cube-logo i {
  display: block;
  border-radius: 1px;
  background: #222;
}

.cube-logo i:nth-child(1),
.cube-logo i:nth-child(3),
.cube-logo i:nth-child(5) {
  background: #757575;
}

.cube-logo i:nth-child(2),
.cube-logo i:nth-child(4) {
  background: #444;
}

.cube-logo i:nth-child(6) {
  background: var(--accent);
}

.support-svg {
  stroke: #171817;
  filter: none;
}

.content {
  padding: 0 18px 28px;
}

.landing-hero {
  min-height: calc(100vh - 132px);
  margin: -18px -18px 0;
  padding: 78px 22px 100px;
  background: #ffffff;
}

.hero-media {
  background:
    radial-gradient(circle at 80% 18%, rgba(191, 255, 50, .35), transparent 25%),
    radial-gradient(circle at 20% 76%, rgba(0, 0, 0, .06), transparent 26%),
    linear-gradient(180deg, #ffffff 0%, #f8f8f4 100%);
}

.hero-media:before,
.hero-media:after {
  border-color: rgba(0, 0, 0, .08);
}

.hero-media .compute-scene {
  opacity: .58;
  filter: none;
}

.core-orbit {
  border-color: rgba(0, 0, 0, .22);
  box-shadow: none;
}

.orbit-b {
  border-color: rgba(191, 255, 50, .9);
}

.grid-plane {
  background:
    linear-gradient(rgba(0, 0, 0, .08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, .08) 1px, transparent 1px);
}

.compute-core {
  background: #171817;
  color: var(--accent);
  box-shadow: 0 26px 70px rgba(0, 0, 0, .2);
}

.landing-copy {
  max-width: 430px;
}

.landing-copy h2 {
  font-size: clamp(48px, 14vw, 72px);
  line-height: .94;
  letter-spacing: -.02em;
  font-weight: 760;
}

.landing-copy h2 em {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.shape-btn {
  width: 166px;
  height: 54px;
  border-radius: 18px;
  clip-path: none;
  box-shadow: 0 18px 46px rgba(0, 0, 0, .08);
}

.logo-marquee {
  background: rgba(255, 255, 255, .72);
  border-top: 1px solid rgba(0, 0, 0, .06);
}

.stat-band {
  margin: 0 -18px;
  background: #171817;
  color: #fff;
}

.stat-band span {
  color: rgba(255, 255, 255, .62);
}

.story-section,
.story-section.reverse,
.resource-grid,
.profile-list,
.dark-card,
.form-card,
.order-card,
.record-card,
.profile-menu-grid button,
.profile-stats div {
  background: rgba(242, 242, 247, .72);
  color: #202124;
  border: 1px solid rgba(0, 0, 0, .06);
  box-shadow: none;
}

.story-section,
.story-section.reverse,
.resource-grid {
  margin: 0 -18px;
}

.story-section small {
  color: #5b5d58;
}

.orb-cube {
  background: #171817;
  color: var(--accent);
}

.orb-cube.blue {
  background: var(--accent);
  color: #171817;
}

.resource-grid button {
  background: #fff;
  color: #202124;
  border: 1px solid rgba(0, 0, 0, .06);
}

.resource-grid button span {
  color: #767872;
}

.cta-band {
  color: #171817;
}

.tabs {
  background: #e9ebe5;
}

.tabs button {
  color: #555852;
}

.tabs button.active {
  background: #171817;
  color: #fff;
}

.start-wallet-panel {
  border: 1px solid rgba(0, 0, 0, .08);
  background: rgba(255, 255, 255, .62);
}

.money-box {
  border-radius: 18px;
  box-shadow: none;
}

.start-button {
  background: #171817;
  color: var(--accent);
  box-shadow: 0 18px 48px rgba(0, 0, 0, .16);
}

.brand-pill img {
  filter: none;
}

.note-list {
  color: var(--muted);
}

.order-card {
  border-radius: 22px;
}

.order-card small {
  color: var(--muted);
}

.order-metrics div {
  background: #fff;
  border-radius: 16px;
  padding: 10px 6px;
}

.mini-btn {
  background: #171817;
  color: var(--accent);
}

.section-title h3 {
  color: #202124;
}

.link-btn {
  color: #171817;
}

.dark-card {
  border-radius: 22px;
}

.balance-row .value {
  color: #171817;
}

.form-card input,
.form-card select {
  background: #fff;
}

.form-card select {
  appearance: none;
  -webkit-appearance: none;
  min-height: 58px;
  border-radius: 14px;
  padding: 0 48px 0 18px;
  color: #171817;
  font-weight: 760;
  background-color: #fff;
  background-image:
    linear-gradient(135deg, transparent 50%, #111 50%),
    linear-gradient(45deg, #111 50%, transparent 50%),
    linear-gradient(to right, rgba(0, 0, 0, .08), rgba(0, 0, 0, .08));
  background-position:
    calc(100% - 24px) 50%,
    calc(100% - 17px) 50%,
    calc(100% - 46px) 50%;
  background-size: 7px 7px, 7px 7px, 1px 24px;
  background-repeat: no-repeat;
  box-shadow: 0 8px 22px rgba(15, 18, 24, .04);
}

.form-card select:focus {
  border-color: rgba(174, 255, 31, .9);
  box-shadow: 0 0 0 3px rgba(174, 255, 31, .18);
}

.form-card select::-ms-expand {
  display: none;
}

#depositAmount {
  font-size: 19px;
  font-weight: 850;
  letter-spacing: 0;
}

.amount-btn {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .08);
}

.record-card {
  border-radius: 18px;
  padding: 14px;
}

.profile-hero {
  background:
    radial-gradient(circle at 50% 0%, rgba(191, 255, 50, .4), transparent 38%),
    linear-gradient(180deg, #ffffff 0%, #f4f5f0 100%);
}

.profile-hero:before {
  border-color: rgba(0, 0, 0, .1);
}

.profile-avatar {
  background:
    radial-gradient(circle at 50% 50%, var(--accent) 0 24%, transparent 25%),
    #171817;
}

.profile-hero h2,
.profile-stats strong,
.profile-list .profile-item strong {
  color: #202124;
}

.vip-badge {
  background: rgba(255, 255, 255, .78);
  border-color: rgba(0, 0, 0, .12);
}

.vip-badge span {
  color: #676a62;
}

.vip-badge strong {
  color: #171817;
}

.profile-balance-grid button {
  box-shadow: none;
}

.profile-balance-grid button:nth-child(2) {
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, .06);
}

.profile-balance-grid span,
.profile-menu-grid b {
  background: #171817;
  color: var(--accent);
}

.profile-menu-grid b .support-svg {
  stroke: var(--accent);
}

.logout-row {
  color: #e25555;
}

.tabbar {
  background: rgba(255, 255, 255, .94);
  border-top: 1px solid rgba(0, 0, 0, .08);
  backdrop-filter: blur(18px);
}

.tabbar button {
  color: #202124;
}

.tabbar button.active span {
  color: var(--accent);
  background: #171817;
  box-shadow: none;
  text-shadow: none;
}

.tabbar button::after {
  background: var(--accent);
}

.modal {
  background: rgba(255, 255, 255, .68);
  backdrop-filter: blur(12px);
}

.modal-card {
  background: #fff;
  color: #202124;
  border: 1px solid rgba(0, 0, 0, .08);
}

.modal-close {
  background: #f0f1ed;
  color: #202124;
}

.support-redirect {
  min-height: 260px;
  display: grid;
  place-items: center;
  gap: 12px;
  text-align: center;
  padding: 22px 8px 10px;
}

.support-redirect h2 {
  margin: 4px 0 0;
  font-size: 24px;
}

.support-redirect p {
  margin: 0;
  max-width: 300px;
  color: #5f6670;
  line-height: 1.55;
}

.support-redirect small {
  color: #00a08d;
  font-weight: 800;
}

.support-loader {
  width: 76px;
  height: 76px;
  border-radius: 50%;
  border: 8px solid #eef2e9;
  border-top-color: var(--accent);
  border-right-color: #00a08d;
  box-shadow: 0 16px 30px rgba(174, 255, 31, .28);
  animation: supportSpin .8s linear infinite;
}

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

.modal-card.support-modal-card {
  width: min(520px, calc(100vw - 14px));
  height: min(760px, calc(var(--support-vh, 100dvh) - max(12px, env(safe-area-inset-top)) - max(12px, env(safe-area-inset-bottom))));
  max-height: calc(var(--support-vh, 100dvh) - max(12px, env(safe-area-inset-top)) - max(12px, env(safe-area-inset-bottom)));
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: 28px;
  background:
    radial-gradient(circle at 84% 10%, rgba(191, 255, 31, .18), transparent 30%),
    linear-gradient(180deg, #fff 0%, #f6f7f3 100%);
  box-shadow: 0 32px 72px rgba(15, 17, 20, .26);
}

.support-modal-card .modal-close {
  top: 18px;
  right: 18px;
  background: #eef0ec;
  color: #14171f;
  font-weight: 900;
}

.support-panel {
  display: flex;
  flex-direction: column;
  gap: clamp(8px, 1.7dvh, 12px);
  height: 100%;
  min-height: 0;
  padding: clamp(14px, 4vw, 28px);
  color: #171a22;
  overflow: hidden;
}

.support-card,
.support-faq,
.support-input {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}

.support-card {
  flex: 0 0 auto;
  padding: clamp(13px, 3vw, 18px) 54px clamp(13px, 3vw, 18px) clamp(13px, 3vw, 18px);
  border: 1px solid #e2e6dd;
  border-radius: 22px;
  background: rgba(255, 255, 255, .84);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .76);
}

.support-title-group {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 10px;
  align-items: center;
}

.support-title-group span {
  grid-column: 2;
}

.support-live-dot {
  width: 12px;
  height: 12px;
  border-radius: 999px;
  background: var(--accent);
  box-shadow: 0 0 0 6px rgba(191, 255, 31, .18), 0 0 18px rgba(191, 255, 31, .75);
}

.support-card strong {
  display: block;
  font-size: clamp(18px, 4.8vw, 21px);
  line-height: 1.05;
}

.support-card span,
.support-hint {
  color: #687080;
  font-size: 13px;
  line-height: 1.4;
}

.support-faq button,
.support-input button,
.support-image-btn {
  border: 0;
  border-radius: 999px;
  padding: 11px 15px;
  min-height: 44px;
  background: var(--accent);
  color: #111;
  font-weight: 950;
  box-shadow: 0 10px 22px rgba(191, 255, 31, .18);
}

.support-faq button {
  flex: 1 1 auto;
  min-width: 112px;
  background: #15171f;
  color: #fff;
  box-shadow: 0 8px 18px rgba(0, 0, 0, .14);
}

.support-faq button:active,
.support-input button:active,
.support-image-btn:active {
  transform: translateY(1px) scale(.99);
}

.support-chat {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 18px;
  border: 1px solid #e0e5dd;
  border-radius: 24px;
  background:
    linear-gradient(180deg, rgba(245, 246, 244, .92), rgba(238, 239, 236, .92)),
    radial-gradient(circle at 18% 12%, rgba(191, 255, 31, .12), transparent 34%);
}

.support-chat article {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  max-width: 92%;
  margin: 0;
}

.support-chat article.user {
  align-self: flex-end;
  flex-direction: row-reverse;
}

.support-avatar {
  flex: 0 0 34px;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: #15171f;
  color: var(--accent);
  font-size: 11px;
  font-weight: 950;
  box-shadow: 0 8px 18px rgba(17, 19, 26, .16);
}

.support-chat .user .support-avatar {
  background: var(--accent);
  color: #111;
}

.support-message {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.support-chat .user .support-message {
  justify-items: end;
}

.support-chat span {
  display: block;
  color: #7a8290;
  font-size: 11px;
  font-weight: 900;
}

.support-chat p {
  display: inline-grid;
  gap: 8px;
  width: fit-content;
  max-width: 100%;
  margin: 0;
  padding: 12px 14px;
  border-radius: 18px 18px 18px 6px;
  background: #fff;
  color: #1d212b;
  text-align: left;
  box-shadow: 0 10px 22px rgba(22, 25, 31, .07);
}

.support-chat .user p {
  border-radius: 18px 18px 6px 18px;
  background: var(--accent);
  color: #111;
}

.support-chat .support-notice-message p {
  background: #fff0f0;
  color: #db3a2e;
  box-shadow: none;
}

.support-chat em {
  font-style: normal;
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  line-height: 1.32;
  font-size: 15px;
  font-weight: 750;
}

.support-chat small {
  color: #808896;
  font-size: 11px;
  font-weight: 700;
}

.support-chat img {
  display: block;
  max-width: min(230px, 58vw);
  border-radius: 14px;
}

.support-input {
  flex: 0 0 auto;
  position: sticky;
  bottom: 0;
  z-index: 3;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 10px;
  padding: 10px;
  border: 1px solid #e4e7df;
  border-radius: 24px;
  background: rgba(255, 255, 255, .86);
  box-shadow: 0 -12px 28px rgba(246, 247, 243, .86);
}

.support-input button,
.support-image-btn {
  white-space: nowrap;
}

.support-input textarea {
  min-height: 46px;
  max-height: 112px;
  resize: none;
  border: 0;
  border-radius: 999px;
  padding: 13px 16px;
  background: #f3f4f1;
  color: #171a22;
  font: inherit;
  font-weight: 850;
  outline: none;
}

.support-input textarea::placeholder {
  color: #9aa0a8;
}

.support-image-btn {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #15171f;
  color: #fff;
  box-shadow: none;
}

.support-image-btn input {
  position: absolute;
  inset: 0;
  opacity: 0;
}

.support-hint {
  flex: 0 0 auto;
  margin: 0;
  padding: 0 2px;
}

@media (max-height: 680px) {
  .modal-card.support-modal-card {
    height: calc(100dvh - 12px);
    max-height: calc(100dvh - 12px);
  }

  .support-panel {
    padding-block: 14px;
  }

  .support-card span,
  .support-hint {
    font-size: 12px;
  }

  .support-chat {
    padding: 12px;
    gap: 10px;
  }

  .support-input {
    padding: 8px;
  }
}

@media (max-height: 620px) {
  .support-panel {
    gap: 8px;
  }

  .support-card {
    padding-top: 12px;
    padding-bottom: 12px;
    border-radius: 18px;
  }

  .support-chat {
    border-radius: 18px;
  }

  .support-hint {
    display: none;
  }
}

@media (max-width: 390px) {
  .modal-card.support-modal-card {
    width: calc(100vw - 10px);
    border-radius: 22px;
  }

  .support-panel {
    padding-inline: 12px;
  }

  .support-card {
    padding-right: 46px;
  }

  .support-input {
    grid-template-columns: 58px minmax(0, 1fr) 58px;
    gap: 7px;
  }

  .support-input button,
  .support-image-btn {
    padding-inline: 11px;
    font-size: 13px;
  }

  .support-input textarea {
    padding-inline: 12px;
  }
}

.comment-option {
  background: #f3f4ef;
  color: #202124;
}

.empty {
  color: var(--muted);
}

/* IoTeX-inspired composition pass */
.app-header {
  height: 58px;
  padding: 0 20px;
  border-bottom: 0;
}

.top-brand {
  justify-content: center;
  gap: 8px;
  font-weight: 760;
}

.top-brand-mark {
  width: 25px;
  height: 25px;
  border-radius: 7px;
  font-size: 12px;
}

.icon-btn {
  font-size: 24px;
  color: #121312;
}

.service-btn {
  width: 38px;
  height: 38px;
  border-radius: 19px;
  background: #f0f1ed;
}

.service-btn .support-svg {
  width: 23px;
  height: 23px;
}

.landing-hero {
  min-height: calc(100vh - 130px);
  align-items: center;
  justify-content: center;
  padding: 78px 24px 120px;
}

.hero-media {
  background:
    radial-gradient(circle at 50% 34%, rgba(191, 255, 50, .24), transparent 20%),
    radial-gradient(circle at 50% 82%, rgba(0, 0, 0, .045), transparent 34%),
    #fff;
}

.hero-media .compute-scene {
  right: auto;
  left: 50%;
  top: 54%;
  width: 420px;
  height: 420px;
  opacity: .2;
  transform: translate(-50%, -50%);
}

.hero-media:before,
.hero-media:after {
  width: 520px;
  height: 520px;
  border-radius: 50%;
  border-color: rgba(0, 0, 0, .055);
}

.hero-media:before {
  right: auto;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) rotate(12deg);
}

.hero-media:after {
  left: 50%;
  bottom: auto;
  top: 50%;
  transform: translate(-50%, -50%) rotate(-18deg) scale(.72);
}

.landing-copy {
  align-items: center;
  text-align: center;
  gap: 26px;
  max-width: 460px;
}

.landing-copy h2 {
  max-width: 460px;
  font-size: clamp(56px, 16vw, 82px);
  line-height: .92;
  font-weight: 780;
}

.landing-copy p {
  max-width: 330px;
  color: rgba(32, 33, 36, .56);
  font-size: 15px;
}

.shape-btn {
  width: auto;
  min-width: 154px;
  height: 52px;
  padding: 0 23px;
  border-radius: 18px;
  background: #f0f1ed;
  color: #202124;
  font-weight: 650;
}

.landing-copy .shape-btn {
  margin-top: 4px;
  background: #eeeeec;
  box-shadow: 0 20px 40px rgba(0, 0, 0, .06);
}

.logo-marquee {
  height: 58px;
  background: rgba(255, 255, 255, .82);
}

.logo-track img {
  max-height: 30px;
  max-width: 132px;
  opacity: .68;
}

.stat-band {
  margin: 18px 0 0;
  padding: 0;
  grid-template-columns: 1fr;
  gap: 12px;
  background: transparent;
  color: #202124;
}

.stat-band div {
  min-height: 112px;
  padding: 20px;
  border-radius: 28px;
  background: rgba(242, 242, 247, .78);
  border: 1px solid rgba(0, 0, 0, .055);
}

.stat-band strong {
  font-size: 46px;
  letter-spacing: -.02em;
}

.stat-band span {
  color: rgba(32, 33, 36, .56);
}

.story-section,
.story-section.reverse,
.resource-grid {
  margin: 14px 0 0;
  border-radius: 30px;
  padding: 34px 22px;
}

.story-section {
  grid-template-columns: 1fr;
  text-align: left;
}

.story-section h3,
.resource-grid h3,
.cta-band h3 {
  font-size: 34px;
  letter-spacing: -.02em;
}

.story-section p {
  color: rgba(32, 33, 36, .6);
}

.orb-cube {
  width: 142px;
  height: 142px;
  border-radius: 36px;
  font-size: 38px;
  margin: 0 0 4px;
}

.resource-grid {
  gap: 12px;
}

.resource-grid button {
  min-height: 90px;
  border-radius: 24px;
  padding: 18px;
}

.cta-band {
  margin: 14px 0 0;
  min-height: 250px;
  border-radius: 34px;
  background: #171817;
  color: #fff;
}

.cta-band h3 {
  color: #fff;
}

.cta-band .shape-btn {
  background: var(--accent);
  color: #171817;
}

.start-wallet-panel,
.profile-hero {
  border-radius: 32px;
}

.profile-hero {
  margin: 0;
  padding: 26px 20px 20px;
}

.profile-balance-grid button,
.profile-menu-grid button,
.profile-stats div,
.profile-list,
.dark-card,
.form-card,
.order-card,
.record-card {
  border-radius: 26px;
}

.profile-menu-grid button {
  background: #fff;
}

.profile-list {
  background: #fff;
}

.tabbar {
  width: min(calc(100vw - 20px), 480px);
  bottom: 10px;
  height: 66px;
  border-radius: 26px;
  box-shadow: 0 16px 45px rgba(0, 0, 0, .1);
  overflow: hidden;
}

.tabbar button {
  font-size: 12px;
}

.tabbar button span {
  height: 28px;
  font-size: 18px;
}

/* Geometric wordmark logo, inspired by modular cube marks */
.top-brand {
  gap: 12px;
}

.top-logo-slot {
  min-width: 0;
  max-width: min(235px, 62vw);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.top-logo-img {
  display: block;
  width: auto;
  max-width: min(230px, 60vw);
  height: 42px;
  object-fit: contain;
}

.top-brand .brand-word {
  color: #4d4f52;
  font-size: 30px;
  line-height: 1;
  font-weight: 780;
  letter-spacing: 0;
  font-family: "Trebuchet MS", "Arial Rounded MT Bold", Arial, sans-serif;
}

.top-brand-mark.cube-logo {
  width: 50px;
  height: 40px;
  display: grid;
  grid-template-columns: repeat(4, 10px);
  grid-auto-rows: 8px;
  gap: 1px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  transform: none;
  transform-origin: 50% 50%;
}

.top-brand-mark.cube-logo i {
  width: 10px;
  height: 8px;
  display: block;
  border-radius: 0;
  clip-path: polygon(50% 0, 100% 28%, 100% 72%, 50% 100%, 0 72%, 0 28%);
  background: #5f6063;
}

.top-brand-mark.cube-logo i:nth-child(1) { grid-column: 2; grid-row: 1; background: #9a9b9d; }
.top-brand-mark.cube-logo i:nth-child(2) { grid-column: 3; grid-row: 1; background: #5a5b5d; }
.top-brand-mark.cube-logo i:nth-child(3) { grid-column: 1; grid-row: 2; background: #b7b8ba; }
.top-brand-mark.cube-logo i:nth-child(4) { grid-column: 2; grid-row: 2; background: #77787b; }
.top-brand-mark.cube-logo i:nth-child(5) { grid-column: 3; grid-row: 2; background: #444548; }
.top-brand-mark.cube-logo i:nth-child(6) { grid-column: 4; grid-row: 2; background: #66676a; }
.top-brand-mark.cube-logo i:nth-child(7) { grid-column: 1; grid-row: 3; background: #8c8d90; }
.top-brand-mark.cube-logo i:nth-child(8) { grid-column: 2; grid-row: 3; background: #5f6063; }
.top-brand-mark.cube-logo i:nth-child(9) { grid-column: 3; grid-row: 3; background: #77787a; }
.top-brand-mark.cube-logo i:nth-child(10) { grid-column: 4; grid-row: 3; background: #3f4042; }
.top-brand-mark.cube-logo i:nth-child(11) { grid-column: 2; grid-row: 4; background: #a4a5a7; }
.top-brand-mark.cube-logo i:nth-child(12) { grid-column: 3; grid-row: 4; background: #6f7073; }

/* Login page visual refresh */
.auth-screen {
  justify-content: flex-start;
  min-height: 100vh;
  padding: 18px 20px 64px;
  background:
    radial-gradient(circle at 86% 8%, rgba(191, 255, 50, .36), transparent 26%),
    radial-gradient(circle at 12% 34%, rgba(0, 0, 0, .08), transparent 25%),
    linear-gradient(180deg, #ffffff 0%, #f3f4ef 100%);
  color: #171817;
}

.auth-screen::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, .045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(0, 0, 0, .035) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, .42), transparent 55%);
}

.auth-screen .lang-btn {
  top: 18px;
  right: 18px;
  width: 42px;
  height: 32px;
  border-radius: 16px;
  background: #111;
  color: var(--accent);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .14);
}

.auth-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: calc(100vh - 96px);
  flex-direction: column;
  justify-content: center;
}

.logo-block {
  align-items: flex-start;
  gap: 12px;
  margin: 0 0 24px;
}

.logo-mark {
  width: 78px;
  height: 78px;
  border-radius: 24px;
  background: #111;
  color: var(--accent);
  font-size: 28px;
  box-shadow:
    0 18px 42px rgba(0, 0, 0, .18),
    inset 0 0 0 10px rgba(191, 255, 50, .09);
}

.logo-mark.has-upload-logo {
  width: min(240px, 62vw);
  height: 72px;
  padding: 8px 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  place-items: start;
}

.logo-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.logo-word {
  display: none;
}

.auth-card {
  padding: 22px;
  border-radius: 28px;
  background: rgba(255, 255, 255, .82);
  border: 1px solid rgba(0, 0, 0, .08);
  box-shadow:
    0 24px 70px rgba(18, 20, 16, .13),
    inset 0 1px 0 rgba(255, 255, 255, .88);
  backdrop-filter: blur(16px);
}

.auth-card h1 {
  margin: 0 0 20px;
  text-align: left;
  font-size: 30px;
  color: #171817;
}

.stack-form {
  gap: 14px;
}

.input-row {
  min-height: 58px;
  height: 58px;
  display: grid;
  grid-template-columns: 40px 1fr;
  align-items: center;
  border-radius: 18px;
  padding: 0 14px;
  background: #f7f8f3;
  border: 1px solid rgba(0, 0, 0, .08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .82);
}

.input-row:focus-within {
  border-color: rgba(191, 255, 50, .95);
  box-shadow:
    0 0 0 4px rgba(191, 255, 50, .18),
    inset 0 1px 0 rgba(255, 255, 255, .82);
}

.input-icon {
  width: 28px;
  height: 28px;
  min-width: 28px;
  display: inline-grid;
  place-items: center;
  background: #111;
  color: var(--accent);
}

.input-row input::placeholder {
  color: rgba(23, 24, 23, .48);
}

.main-btn {
  min-height: 56px;
  margin-top: 8px;
  border-radius: 28px;
  background: var(--accent);
  color: #111;
  box-shadow: 0 16px 34px rgba(113, 141, 28, .24);
}

.auth-links {
  margin-top: 18px;
}

.auth-links button {
  color: #171817;
  font-weight: 750;
  opacity: .72;
}

.toast-line {
  color: #111;
  font-weight: 750;
}

.auth-footer {
  z-index: 1;
  bottom: 18px;
  color: rgba(23, 24, 23, .48);
}

/* Logged-in top navigation color */
.app-screen .app-header {
  background: #171922;
  border-bottom: 1px solid rgba(255, 255, 255, .04);
  box-shadow: none;
}

.app-screen .icon-btn {
  color: #f4f5f7;
}

.app-screen .service-btn {
  background: rgba(255, 255, 255, .06);
  color: #f4f5f7;
}

.app-screen .service-btn .support-svg {
  stroke: var(--accent);
  filter: none;
}

.app-screen .top-brand .brand-word {
  color: rgba(255, 255, 255, .78);
}

.app-screen .top-logo-img {
  filter: none;
}

.app-screen .tabbar {
  background: #171922;
  border-top: 1px solid rgba(255, 255, 255, .05);
  box-shadow: 0 18px 50px rgba(0, 0, 0, .22);
}

.app-screen .tabbar button {
  color: rgba(255, 255, 255, .74);
}

.app-screen .tabbar button span {
  color: rgba(255, 255, 255, .82);
}

.app-screen .tabbar button.active {
  color: #fff;
}

.app-screen .tabbar button.active span {
  color: #171922;
  background: var(--accent);
  box-shadow: 0 10px 24px rgba(191, 255, 50, .24);
  text-shadow: none;
}

.app-screen .tabbar button::after {
  background: var(--accent);
}

/* Starting page color pass */
.start-wallet-panel {
  margin: 24px 0 0;
  padding: 16px;
  border: 1px solid rgba(0, 0, 0, .07);
  background: rgba(242, 242, 247, .7);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .78);
}

.money-box {
  min-height: 82px;
  margin-bottom: 12px;
  border-radius: 22px;
  border: 1px solid rgba(0, 0, 0, .06);
  background: #fff;
  color: #202124;
  box-shadow: none;
}

.money-box:first-child {
  background: #171817;
  color: #fff;
}

.money-box:first-child b,
.money-box:first-child small {
  color: var(--accent);
}

.money-box:nth-child(2) {
  background: var(--accent);
  color: #171817;
}

.money-box span {
  color: rgba(32, 33, 36, .58);
}

.money-box:first-child span {
  color: rgba(255, 255, 255, .58);
}

.money-box b,
.money-box small {
  color: inherit;
}

.start-action-wrap {
  margin-top: 34px;
}

.start-button {
  width: min(260px, 76vw);
  min-height: 64px;
  border: 1px solid rgba(0, 0, 0, .08);
  background: #171817;
  color: var(--accent);
  box-shadow: 0 22px 52px rgba(0, 0, 0, .14);
}

.start-button span {
  color: #fff;
}

.brand-scroll {
  margin: 44px -18px 0;
  padding: 18px 0;
  background: #fff;
  border-top: 1px solid rgba(0, 0, 0, .06);
  border-bottom: 1px solid rgba(0, 0, 0, .06);
}

.brand-row {
  animation-duration: 150s;
}

.brand-row:nth-child(3) {
  animation-duration: 165s;
}

.brand-row:nth-child(4) {
  animation-duration: 138s;
}

.brand-pill {
  height: 48px;
}

.brand-pill img {
  height: 48px;
  opacity: .8;
}

.note-list {
  margin: 28px 0 0;
  padding: 18px;
  border-radius: 24px;
  background: rgba(242, 242, 247, .72);
  border: 1px solid rgba(0, 0, 0, .06);
  color: rgba(32, 33, 36, .58);
}

.note-list div:first-child {
  color: #202124;
  font-weight: 780;
}

/* Formal frontend UI upgrade from uploaded IIoTeX preview */
:root {
  --page: #050605;
  --panel: #171915;
  --panel-soft: #20231d;
  --field: #11130f;
  --text: #f5f2e9;
  --muted: rgba(245, 242, 233, .64);
  --line: rgba(245, 242, 233, .14);
  --accent: #b9ff38;
  --accent-soft: #d9ff83;
  --danger: #ff4f43;
  --gold: #ffd66b;
}

html,
body {
  background:
    radial-gradient(circle at 16% 8%, rgba(185, 255, 56, .12), transparent 30rem),
    radial-gradient(circle at 88% 38%, rgba(245, 242, 233, .06), transparent 24rem),
    #050605;
  color: var(--text);
}

.phone-page.app-screen {
  background:
    radial-gradient(circle at 82% -6%, rgba(185, 255, 56, .18), transparent 33%),
    radial-gradient(circle at 20% 54%, rgba(245, 242, 233, .055), transparent 32%),
    linear-gradient(180deg, #080a07 0%, #111610 48%, #060806 100%);
}

.app-screen .app-header {
  height: 64px;
  padding: 0 18px;
  background: rgba(15, 16, 14, .92);
  border-bottom: 1px solid rgba(245, 242, 233, .08);
  backdrop-filter: blur(18px);
}

.app-screen .service-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(245, 242, 233, .07);
  border: 1px solid rgba(245, 242, 233, .08);
}

.app-screen .top-logo-img {
  width: auto;
  max-width: min(190px, 46vw);
  height: 36px;
  max-height: 36px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  object-fit: contain;
  object-position: center;
}

.content {
  padding: 0 18px 32px;
}

.landing-hero {
  min-height: calc(100vh - 148px);
  margin: 0 -18px;
  padding: 86px 24px 116px;
  overflow: hidden;
  background: #050605;
}

.hero-media {
  background:
    linear-gradient(90deg, rgba(5,6,5,.92) 0%, rgba(5,6,5,.54) 50%, rgba(5,6,5,.88) 100%),
    radial-gradient(circle at 74% 28%, rgba(185,255,56,.22), transparent 16rem),
    url("/assets/ui-preview/hero-space-orbit.png?v=1") 62% center / cover no-repeat;
}

.hero-media .compute-scene {
  opacity: .28;
  filter: drop-shadow(0 0 34px rgba(185,255,56,.2));
}

.hero-media:before,
.hero-media:after {
  border-color: rgba(185, 255, 56, .18);
}

.landing-copy {
  position: relative;
  z-index: 2;
  align-items: flex-start;
  text-align: left;
  max-width: 430px;
}

.landing-copy h2 {
  color: var(--text);
  font-size: clamp(52px, 14vw, 76px);
  line-height: .91;
  font-weight: 780;
  text-transform: lowercase;
}

.landing-copy p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.58;
}

.landing-copy .shape-btn,
.shape-btn {
  min-width: 162px;
  height: 54px;
  border-radius: 999px;
  background: var(--accent);
  color: #070805;
  font-weight: 850;
  box-shadow: 0 16px 46px rgba(185, 255, 56, .22);
}

.logo-marquee {
  height: 66px;
  background: rgba(5, 6, 5, .52);
  border-color: rgba(245, 242, 233, .08);
  backdrop-filter: blur(16px);
}

.logo-track img {
  max-height: 34px;
  opacity: .92;
  filter: none;
}

.stat-band {
  margin: 18px 0 0;
  gap: 12px;
  background: transparent;
}

.stat-band div,
.story-section,
.story-section.reverse,
.resource-grid,
.cta-band,
.dark-card,
.form-card,
.order-card,
.record-card,
.profile-list,
.profile-menu-grid button,
.profile-stats div,
.profile-stats button,
.note-list {
  background: linear-gradient(180deg, rgba(32, 35, 29, .94), rgba(18, 20, 16, .94));
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: 0 22px 70px rgba(0, 0, 0, .28);
}

.stat-band div,
.story-section,
.story-section.reverse,
.resource-grid,
.cta-band {
  border-radius: 30px;
}

.stat-band strong,
.story-section h3,
.resource-grid h3,
.cta-band h3,
.section-title h3,
.order-card h4,
.profile-hero h2,
.profile-list .profile-item strong,
.profile-stats strong {
  color: var(--text);
}

.stat-band span,
.story-section p,
.order-card small,
.profile-code,
.profile-list .profile-item span,
.profile-menu-grid span,
.profile-stats span,
.form-card label,
.balance-row .label,
.note-list,
.support-card span,
.support-hint {
  color: var(--muted);
}

.story-section small,
.resource-grid button span,
.resource-hero small,
.resource-hero .section-label {
  color: var(--accent);
}

.orb-cube,
.orb-cube.blue {
  background:
    radial-gradient(circle at 70% 22%, rgba(217,255,131,.32), transparent 30%),
    linear-gradient(145deg, #20231d, #0f110d);
  color: var(--accent);
  border: 1px solid rgba(185,255,56,.25);
}

.resource-grid button {
  border-radius: 24px;
  background: rgba(245,242,233,.055);
  color: var(--text);
  border: 1px solid rgba(245,242,233,.1);
}

.resource-grid button:after,
.link-btn {
  color: var(--accent);
}

.cta-band {
  background:
    radial-gradient(circle at 72% 12%, rgba(185,255,56,.2), transparent 35%),
    linear-gradient(180deg, #20231d, #11130f);
}

.cta-band .shape-btn {
  background: var(--accent);
  color: #080905;
}

.start-wallet-panel {
  margin: 26px 0 0;
  padding: 16px;
  border-radius: 30px;
  background: rgba(245,242,233,.045);
  border: 1px solid rgba(245,242,233,.14);
  box-shadow: 0 24px 70px rgba(0,0,0,.28);
}

.money-box {
  border-radius: 24px;
  border: 1px solid rgba(245,242,233,.08);
  box-shadow: none;
}

.money-box:first-child {
  background: #11130f;
  color: var(--text);
}

.money-box:nth-child(2) {
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  color: #090a07;
}

.money-box:first-child span {
  color: rgba(245,242,233,.62);
}

.money-box:nth-child(2) span {
  color: rgba(9,10,7,.72);
}

.money-box:first-child b,
.money-box:first-child small {
  color: var(--accent);
}

.start-button {
  background: #11130f;
  color: var(--accent);
  border: 1px solid rgba(185,255,56,.18);
  box-shadow: 0 24px 58px rgba(0,0,0,.34), 0 0 28px rgba(185,255,56,.08);
}

.start-button span {
  color: var(--text);
}

.brand-scroll {
  margin: 46px -18px 0;
  padding: 18px 0;
  background: rgba(245,242,233,.96);
  border-color: rgba(245,242,233,.12);
}

.brand-pill {
  height: 52px;
}

.brand-pill img {
  height: 52px;
  opacity: 1;
}

.note-list {
  margin: 28px 0 0;
  padding: 18px;
  border-radius: 26px;
  text-align: center;
}

.note-list div:first-child {
  color: var(--text);
}

.order-card,
.record-card {
  border-radius: 24px;
}

.order-metrics div {
  background: rgba(245,242,233,.07);
  color: var(--text);
  border: 1px solid rgba(245,242,233,.08);
}

.order-metrics strong {
  color: var(--accent);
}

.mini-btn,
.tabs button.active {
  background: var(--accent);
  color: #090a07;
}

.tabs {
  gap: 8px;
  padding: 6px;
  border-radius: 999px;
  background: rgba(245,242,233,.08);
  border: 1px solid rgba(245,242,233,.08);
}

.tabs button {
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
}

.amount-btn,
.form-card input,
.form-card select,
.support-input textarea {
  background: rgba(245,242,233,.94);
  color: #11130f;
  border: 1px solid rgba(245,242,233,.16);
}

.amount-btn {
  min-height: 68px;
  border-radius: 18px;
  font-size: 18px;
  box-shadow: 0 14px 30px rgba(0,0,0,.16);
}

.form-card input,
.form-card select {
  min-height: 58px;
  border-radius: 18px;
  font-weight: 800;
}

.balance-row .value {
  color: var(--accent);
}

.profile-hero {
  margin: 0;
  padding: 32px 20px 22px;
  border-radius: 0 0 34px 34px;
  background:
    radial-gradient(circle at 50% 0%, rgba(185,255,56,.24), transparent 42%),
    linear-gradient(180deg, #10160f 0%, #080a07 100%);
}

.profile-avatar {
  background:
    radial-gradient(circle at 50% 50%, var(--accent) 0 24%, transparent 25%),
    #11130f;
}

.vip-badge {
  background: rgba(245,242,233,.06);
  border: 1px solid rgba(185,255,56,.35);
}

.vip-badge span {
  color: rgba(245,242,233,.58);
}

.vip-badge strong {
  color: var(--accent);
}

.profile-balance-grid button {
  border-radius: 26px;
  box-shadow: 0 22px 48px rgba(0,0,0,.24);
}

.profile-balance-grid button:first-child {
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  color: #090a07;
}

.profile-balance-grid button:nth-child(2) {
  background: rgba(245,242,233,.96);
  color: #11130f;
}

.profile-balance-grid button:nth-child(2) strong,
.profile-balance-grid button:nth-child(2) small {
  color: #11130f;
}

.profile-balance-grid span,
.profile-menu-grid b {
  background: #11130f;
  color: var(--accent);
}

.profile-menu-grid button {
  border-radius: 24px;
}

.profile-menu-grid b .support-svg {
  stroke: var(--accent);
}

.profile-list {
  border-radius: 24px;
  overflow: hidden;
}

.profile-item {
  border-color: rgba(245,242,233,.1);
}

.logout-row {
  color: #ff7f6e;
}

.app-screen .tabbar {
  width: min(calc(100vw - 22px), 478px);
  bottom: 10px;
  height: 68px;
  border-radius: 28px;
  background: rgba(15, 16, 14, .96);
  border: 1px solid rgba(245,242,233,.08);
  box-shadow: 0 20px 54px rgba(0,0,0,.38);
  backdrop-filter: blur(18px);
}

.app-screen .tabbar button.active span {
  color: #080905;
  background: var(--accent);
  box-shadow: 0 10px 28px rgba(185,255,56,.28);
}

.modal {
  background: rgba(5,6,5,.62);
  backdrop-filter: blur(14px);
}

.modal-card {
  background:
    radial-gradient(circle at 84% 0%, rgba(185,255,56,.12), transparent 30%),
    linear-gradient(180deg, #20231d, #11130f);
  color: var(--text);
  border: 1px solid rgba(245,242,233,.14);
  box-shadow: 0 28px 90px rgba(0,0,0,.42);
}

.modal-close {
  background: rgba(245,242,233,.08);
  color: var(--text);
}

.comment-option {
  background: rgba(245,242,233,.08);
  color: var(--text);
}

.support-modal-card {
  background:
    radial-gradient(circle at 84% 10%, rgba(185,255,56,.14), transparent 28%),
    linear-gradient(180deg, #20231d 0%, #11130f 100%) !important;
}

.support-panel {
  color: var(--text);
}

.support-card,
.support-input,
.support-chat {
  background: rgba(245,242,233,.055);
  border-color: rgba(245,242,233,.12);
  box-shadow: none;
}

.support-chat {
  background:
    radial-gradient(circle at 12% 0%, rgba(185,255,56,.08), transparent 34%),
    rgba(5,6,5,.38);
}

.support-chat p {
  background: rgba(245,242,233,.95);
  color: #11130f;
}

.support-chat .user p {
  background: var(--accent);
  color: #080905;
}

.support-input {
  background: rgba(15, 16, 14, .95);
}

.support-input button,
.support-image-btn {
  background: var(--accent);
  color: #080905;
}

.support-image-btn {
  background: rgba(245,242,233,.1);
  color: var(--text);
}

@media (min-width: 501px) {
  body {
    background:
      radial-gradient(circle at 22% 16%, rgba(185,255,56,.12), transparent 30rem),
      radial-gradient(circle at 82% 52%, rgba(245,242,233,.07), transparent 26rem),
      #050605;
  }

  .phone-page {
    box-shadow: 0 0 0 1px rgba(245,242,233,.08), 0 26px 90px rgba(0,0,0,.35);
  }
}

@media (min-width: 900px) {
  body {
    min-height: 100vh;
    background:
      radial-gradient(circle at 12% 12%, rgba(185, 255, 56, .14), transparent 28rem),
      radial-gradient(circle at 88% 34%, rgba(245, 242, 233, .08), transparent 32rem),
      linear-gradient(180deg, #050605 0%, #111610 100%);
  }

  .phone-page {
    width: min(100vw, 1200px);
    min-height: 100vh;
    border-radius: 0;
    box-shadow: none;
  }

  .auth-screen {
    justify-content: center;
    padding: 44px clamp(34px, 7vw, 92px);
    background:
      radial-gradient(circle at 78% 20%, rgba(185, 255, 56, .16), transparent 28rem),
      linear-gradient(135deg, #f8f9f5 0%, #eef2e9 100%);
  }

  .auth-wrap {
    width: min(1040px, 100%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(280px, .9fr) minmax(380px, 520px);
    align-items: center;
    gap: clamp(40px, 7vw, 96px);
  }

  .logo-block {
    align-items: flex-start;
    margin: 0;
  }

  .logo-mark {
    width: min(280px, 30vw);
    height: auto;
    min-height: 92px;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .logo-mark.has-upload-logo img {
    max-width: 100%;
    height: auto;
    background: transparent;
  }

  .auth-card {
    padding: 30px;
    border-radius: 34px;
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(17, 19, 15, .08);
    box-shadow: 0 30px 90px rgba(0, 0, 0, .18);
  }

  .auth-card h1 {
    text-align: left;
  }

  .phone-page.app-screen {
    width: min(100vw, 1320px);
    background:
      radial-gradient(circle at 82% -6%, rgba(185, 255, 56, .14), transparent 34rem),
      radial-gradient(circle at 14% 60%, rgba(245, 242, 233, .055), transparent 28rem),
      linear-gradient(180deg, #080a07 0%, #111610 48%, #060806 100%);
  }

  .app-screen .app-header {
    grid-template-columns: 72px 1fr 72px;
    height: 76px;
    padding: 0 clamp(28px, 4vw, 56px);
    border-radius: 0 0 34px 34px;
  }

  .app-screen .top-logo-slot {
    width: min(220px, 24vw);
    max-width: min(220px, 24vw);
  }

  .app-screen .top-logo-img {
    height: 42px;
    max-height: 42px;
    max-width: min(220px, 24vw);
  }

  .content {
    width: min(1180px, calc(100vw - 80px));
    margin: 0 auto;
    padding: 0 0 110px;
  }

  .landing-hero {
    min-height: calc(100vh - 180px);
    margin: 0;
    padding: clamp(96px, 11vh, 150px) clamp(52px, 8vw, 112px);
    border-radius: 0 0 42px 42px;
  }

  .landing-copy {
    max-width: 610px;
  }

  .landing-copy h2 {
    font-size: clamp(78px, 7vw, 110px);
  }

  .stat-band,
  .profile-balance-grid,
  .profile-stats,
  .profile-menu-grid,
  .amount-grid,
  .order-metrics {
    gap: 18px;
  }

  .brand-scroll {
    margin-left: 0;
    margin-right: 0;
    border-radius: 30px;
  }

  .start-wallet-panel,
  .note-list,
  .form-card,
  .order-card,
  .record-card,
  .profile-list,
  .profile-menu-grid button,
  .profile-stats div,
  .profile-stats button {
    border-radius: 30px;
  }

  .profile-hero {
    margin: 22px 0 0;
    border-radius: 42px;
  }

  .app-screen .tabbar {
    width: min(720px, calc(100vw - 120px));
    height: 74px;
    bottom: 18px;
    border-radius: 32px;
  }
}
