:root {
  --navy-950: #061226;
  --navy-900: #0a1830;
  --navy-800: #102442;
  --navy-700: #183355;
  --gold-500: #f6b536;
  --gold-400: #ffd36a;
  --gold-300: #ffe19a;
  --blue-500: #5a8dff;
  --violet-500: #8065ff;
  --green-500: #31bf74;
  --red-500: #ff4d55;
  --ink: #07142b;
  --muted: #6c7690;
  --line: #e8ebf2;
  --surface: #ffffff;
  --surface-soft: #f6f8fc;
  --shadow-soft: 0 22px 70px rgba(8, 20, 43, 0.12);
  --shadow-deep: 0 24px 80px rgba(4, 13, 31, 0.38);
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 32px;
  --font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --brand-font: Cinzel, Georgia, "Times New Roman", serif;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  color: var(--ink);
  font-family: var(--font);
  background: var(--surface-soft);
}

body {
  min-height: 100%;
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 18px;
  color: var(--gold-400);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(247, 250, 255, 0.84) 48%, rgba(255, 255, 255, 0.78) 100%),
    url("../img/auth-products-bg.png") center center / cover no-repeat,
    #f7faff;
  transition: opacity 420ms ease, visibility 420ms ease;
}

.auth-page .preloader {
  backdrop-filter: blur(12px);
}

.preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.preloader-symbol {
  position: relative;
  display: grid;
  place-items: center;
  width: 108px;
  height: 108px;
}

.preloader-ring {
  position: absolute;
  inset: 0;
  border: 1px solid rgba(255, 211, 106, 0.18);
  border-top-color: var(--gold-400);
  border-radius: 50%;
  animation: preloader-spin 900ms linear infinite;
}

.preloader-mark {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  color: var(--gold-400);
}

.preloader-mark svg {
  width: 46px;
  height: 46px;
  filter: drop-shadow(0 8px 24px rgba(246, 181, 54, 0.28));
}

.preloader-mark img {
  display: block;
  width: 58px;
  height: 58px;
  object-fit: contain;
  filter: drop-shadow(0 10px 26px rgba(7, 20, 43, 0.22));
}

.preloader-status {
  min-width: min(360px, calc(100vw - 48px));
  margin: 0;
  color: #273247;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.35;
  text-align: center;
  text-wrap: balance;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.72);
  transition: opacity 180ms ease, transform 180ms ease;
}

.preloader-status.is-changing {
  opacity: 0;
  transform: translateY(4px);
}

@keyframes preloader-spin {
  to {
    transform: rotate(360deg);
  }
}

.auth-page {
  min-height: 100svh;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  overflow: hidden;
  background: #f7faff;
}

.auth-page::before {
  content: "";
  position: fixed;
  inset: -28px;
  z-index: 0;
  background:
    url("../img/auth-products-bg.png") center center / cover no-repeat;
  filter: blur(4px);
  opacity: 0.72;
  transform: scale(1.04);
  pointer-events: none;
}

.auth-page::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, rgba(247, 250, 255, 0.8) 44%, rgba(7, 20, 43, 0.16) 100%),
    radial-gradient(circle at 18% 14%, rgba(246, 181, 54, 0.13), transparent 30%),
    radial-gradient(circle at 92% 80%, rgba(90, 141, 255, 0.12), transparent 28%);
  pointer-events: none;
}

.light-orbs {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.light-orbs {
  overflow: hidden;
}

.auth-page .light-orbs {
  display: none;
}

.orb-particle {
  position: absolute;
  left: 0;
  top: 0;
  width: var(--orb-size);
  height: var(--orb-size);
  border-radius: 50%;
  background:
    radial-gradient(circle at 36% 32%, rgba(255, 255, 255, 0.5), transparent 0 16%),
    radial-gradient(circle, var(--orb-color) 0 28%, transparent 68%);
  box-shadow: 0 0 var(--orb-glow-size) var(--orb-glow);
  opacity: var(--orb-opacity);
  transform: translate3d(var(--orb-x), var(--orb-y), 0);
  mix-blend-mode: screen;
  animation: orb-float var(--orb-duration) ease-in-out var(--orb-delay) infinite alternate;
  will-change: transform, opacity;
}

.orb-particle:nth-child(3n) {
  animation-timing-function: cubic-bezier(0.45, 0.02, 0.3, 1);
}

.orb-particle:nth-child(4n) {
  animation-direction: alternate-reverse;
}

@keyframes orb-float {
  from {
    transform: translate3d(var(--orb-x), var(--orb-y), 0) scale(0.9);
    opacity: var(--orb-low-opacity);
  }

  to {
    transform: translate3d(calc(var(--orb-x) + var(--orb-drift-x)), calc(var(--orb-y) + var(--orb-drift-y)), 0) scale(1.1);
    opacity: var(--orb-opacity);
  }
}

.auth-layout {
  width: min(100%, 1180px);
  min-height: min(720px, calc(100svh - 80px));
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(420px, 0.72fr);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 30px;
  background: rgba(255, 255, 255, 0);
  box-shadow: 0 34px 90px rgba(6, 18, 38, 0.24);
  backdrop-filter: blur(2px);
}

.auth-brand-panel {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: 720px;
  overflow: hidden;
  padding: 52px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(7, 20, 43, 0.08) 0%, rgba(7, 20, 43, 0.42) 46%, rgba(7, 20, 43, 0.86) 100%),
    linear-gradient(90deg, rgba(7, 20, 43, 0.34), rgba(7, 20, 43, 0.03) 45%),
    url("../img/promote-prestige-fashion.png") center 42% / cover no-repeat;
}

.auth-brand-panel::before {
  content: "";
  position: absolute;
  inset: 24px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 22px;
  pointer-events: none;
}

.auth-brand-panel::after {
  display: none;
}

.auth-page--signup .auth-brand-panel {
  background:
    linear-gradient(180deg, rgba(7, 20, 43, 0.08) 0%, rgba(7, 20, 43, 0.42) 46%, rgba(7, 20, 43, 0.86) 100%),
    linear-gradient(90deg, rgba(7, 20, 43, 0.34), rgba(7, 20, 43, 0.03) 45%),
    url("../img/auth-signup-community.png") center 42% / cover no-repeat;
}

.auth-page--forgot .auth-brand-panel {
  background:
    linear-gradient(180deg, rgba(7, 20, 43, 0.08) 0%, rgba(7, 20, 43, 0.42) 46%, rgba(7, 20, 43, 0.86) 100%),
    linear-gradient(90deg, rgba(7, 20, 43, 0.34), rgba(7, 20, 43, 0.03) 45%),
    url("../img/auth-forgot-support.png") center 42% / cover no-repeat;
}

.auth-page--signup {
  align-items: flex-start;
  overflow-x: hidden;
  overflow-y: auto;
}

.auth-page--signup .auth-layout,
.auth-page--signup .phone-screen {
  overflow: visible;
}

.auth-page--signup .auth-content {
  justify-content: flex-start;
}

.brand-panel-content {
  position: relative;
  z-index: 3;
  width: min(100%, 560px);
}

.brand-mark-large {
  margin: 0 0 26px;
  width: 72px;
  height: 72px;
}

.brand-mark-large svg {
  width: 42px;
  height: 42px;
}

.panel-kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  line-height: 1;
}

.panel-kicker-mark {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0);
  box-shadow: 0 12px 26px rgba(7, 20, 43, 0.24);
}

.panel-kicker-mark img {
  display: block;
  width: 21px;
  height: 21px;
  object-fit: contain;
}

.panel-kicker span {
  color: rgba(255, 255, 235, 0.94);
}

.panel-kicker strong {
  color: var(--gold-400);
  font-weight: 600;
}

.auth-brand-heading {
  margin: 0;
  max-width: 480px;
  font-family: var(--font);
  font-size: clamp(40px, 2.3vw, 44px);
  line-height: 1.04;
  letter-spacing: 0;
  font-weight: 400;
  color: #fff;
}

.auth-brand-panel p:not(.panel-kicker) {
  max-width: 500px;
  margin: 18px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 16px;
  line-height: 1.65;
}

.brand-context {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  max-width: 540px;
  margin-top: 24px;
}

.brand-context span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 13px;
  border: 1px solid rgba(255, 241, 191, 0.32);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.11);
  font-size: 12px;
  font-weight: 400;
  backdrop-filter: blur(16px);
}

.auth-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  width: min(100%, 520px);
  margin-top: 44px;
}

.auth-stats div {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
}

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

.auth-stats strong {
  color: #fff;
  font-size: 24px;
}

.auth-stats span {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.64);
  font-size: 13px;
}

.phone-shell {
  width: 100%;
  min-height: 100%;
  display: flex;
  align-items: stretch;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.phone-screen {
  width: 100%;
  min-height: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 0;

  color: var(--ink);
}

.phone-screen::before {
  display: none;
}

.verify-auth-layout {
  position: relative;
  z-index: 2;
  display: grid;
  place-items: center;
  width: min(100%, 760px);
  min-height: min(680px, calc(100svh - 80px));
}

.verify-glass-card {
  width: min(100%, 560px);
  padding: 42px;
  border: 1px solid rgba(255, 255, 255, 0.68);
  border-radius: 28px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.88), rgba(255, 255, 255, 0.66)),
    rgba(255, 255, 255, 0.72);
  box-shadow: 0 34px 90px rgba(6, 18, 38, 0.24);
  backdrop-filter: blur(22px);
  text-align: center;
}

.verify-glass-card .logo-content {
  margin-bottom: 28px;
}

.verify-status-icon {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  margin: 0 auto 18px;
  border: 1px solid rgba(246, 181, 54, 0.34);
  border-radius: 24px;
  color: #12213a;
  background:
    linear-gradient(135deg, var(--gold-300), var(--gold-500));
  box-shadow: 0 18px 34px rgba(246, 181, 54, 0.28);
}

.verify-status-icon.is-error {
  color: #8a2630;
  border-color: rgba(255, 77, 85, 0.28);
  background: linear-gradient(135deg, #ffe4e6, #ffc5ca);
  box-shadow: 0 18px 34px rgba(255, 77, 85, 0.16);
}

.verify-status-icon svg {
  width: 34px;
  height: 34px;
}

.verify-kicker {
  margin: 0 0 10px;
  color: var(--gold-500);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  line-height: 1.2;
  text-transform: uppercase;
}

.verify-glass-card h2 {
  margin: 0;
  color: var(--navy-950);
  font-size: clamp(27px, 4vw, 27px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: 0;
}

.verify-copy {
  width: min(100%, 420px);
  margin: 16px auto 0;
  color: #5f6b83;
  font-size: 16px;
  line-height: 1.65;
}

.verify-copy strong {
  color: var(--navy-950);
  font-weight: 800;
}

.verify-primary-action {
  width: min(100%, 310px);
  margin: 28px auto 0;
}

.security-code-card .auth-message {
  width: min(100%, 430px);
  margin: 20px auto 0;
}

.security-code-form {
  margin-top: 22px;
}

.security-code-inputs {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 10px;
  width: min(100%, 430px);
  margin: 0 auto;
}

.security-code-inputs input {
  width: 100%;
  aspect-ratio: 1 / 1.08;
  min-height: 54px;
  border: 1px solid rgba(232, 235, 242, 0.9);
  border-radius: 16px;
  color: var(--navy-950);
  background: rgba(255, 255, 255, 0.72);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.8),
    0 14px 30px rgba(8, 20, 43, 0.08);
  font: 800 28px/1 Inter, sans-serif;
  text-align: center;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.security-code-inputs input:focus {
  border-color: rgba(246, 181, 54, 0.9);
  box-shadow:
    0 0 0 4px rgba(246, 181, 54, 0.18),
    0 16px 34px rgba(8, 20, 43, 0.1);
  transform: translateY(-1px);
}

.security-link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  margin: 10px auto 0;
  border: 0;
  color: var(--gold-500);
  background: transparent;
  font: 800 13px/1 Inter, sans-serif;
  cursor: pointer;
}

.security-link-button:hover {
  color: var(--navy-950);
}

.security-context-strip span {
  overflow: hidden;
  min-width: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.verify-help {
  margin: 16px auto 0;
  color: #7b869a;
  font-size: 13px;
  line-height: 1.55;
}

.verify-help span {
  color: var(--navy-950);
  font-weight: 700;
}

.verify-status-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.verify-status-strip span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(232, 235, 242, 0.82);
  border-radius: 14px;
  color: #334155;
  background: rgba(255, 255, 255, 0.58);
  font-size: 13px;
  font-weight: 700;
}

.verify-status-strip svg {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  color: var(--gold-500);
}

.auth-content {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 100%;
  flex-direction: column;
  justify-content: center;
  width: min(100%, 430px);
  margin: 0 auto;
  padding: 56px 42px;
}

.logo-content {
  display: flex;
  align-items: center;
  justify-content: center
}

.brand-mark {
  display: block;
  width: 50px;
  height: 50px;
  object-fit: contain;
  filter: drop-shadow(0 18px 28px rgba(7, 20, 43, 0.14));
  animation: brand-mark-hop 2.8s ease-in-out infinite;
  margin-right: 5px;
}

@keyframes brand-mark-hop {

  0%,
  76%,
  100% {
    transform: translateY(0) scale(1);
  }

  84% {
    transform: translateY(-8px) scale(1.03);
  }

  92% {
    transform: translateY(0) scale(0.99);
  }
}

@media (prefers-reduced-motion: reduce) {
  .brand-mark {
    animation: none;
  }
}

.brand-title {
  margin: 0;
  font-family: var(--font);
  font-size: 27px;
  font-weight: 500;
  line-height: 1.08;
  text-align: left;
  letter-spacing: 0;
  color: var(--navy-950);
}

.brand-title span {
  margin-left: 2px;
  color: #eea322;
}

.brand-tagline {
  margin: 10px 0 30px;
  color: #4e4e4e;
  text-align: center;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
}

.brand-tagline span {
  color: #fa8d5e;

}

.auth-title {
  margin: 0 0 8px;
  font-size: 23px;
  letter-spacing: 0;
  font-weight: 700;
}

.auth-copy {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
}

.auth-message {
  display: none;
  margin: 0 0 16px;
  padding: 11px 14px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  font-size: 13px;
  font-weight: 500;
  line-height: 1.45;
  backdrop-filter: blur(18px);
  box-shadow:
    0 10px 26px rgba(7, 20, 43, 0.035),
    inset 0 1px 0 rgba(255, 255, 255, 0.44);
}

.auth-message.is-visible {
  display: block;
}

.auth-message.is-error {
  color: #d05151;
  border-color: none;
  background: none;
}

.auth-message.is-success {
  color: #21865c;

}

.input-wrap.is-error {
  border-color: rgba(210, 76, 76, 0.32);
  box-shadow: 0 0 0 3px rgba(210, 76, 76, 0.055);
}

.input-wrap.is-success {
  border-color: rgba(37, 151, 100, 0.3);
}

.field-group {
  display: grid;
  gap: 12px;
}

.auth-page--forgot .field-group + .btn {
  margin-top: 20px;
}

.auth-inline-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 56px;
  padding: 0 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fff;
  box-shadow: 0 12px 30px rgba(7, 20, 43, 0.045);
}

.auth-inline-fields .input-wrap {
  min-width: 0;
  padding-inline: 12px;
}

.auth-phone-fields {
  grid-template-columns: minmax(106px, 0.42fr) minmax(0, 1fr);
}

.country-code-wrap {
  gap: 8px;
}

.country-code-wrap::before {
  content: "";
  position: absolute;
  right: 12px;
  width: 7px;
  height: 7px;
  border-right: 1.7px solid #93a0b4;
  border-bottom: 1.7px solid #93a0b4;
  pointer-events: none;
  transform: translateY(-2px) rotate(45deg);
}

.country-code-wrap::after {
  content: attr(data-selected-code);
  position: absolute;
  left: 38px;
  max-width: calc(100% - 72px);
  overflow: hidden;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
  line-height: 1;
  pointer-events: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.input-wrap:focus-within {
  border-color: rgba(246, 181, 54, 0.72);
  box-shadow: 0 0 0 3px rgba(246, 181, 54, 0.12);
}

.input-icon {
  width: 18px;
  height: 18px;
  color: #93a0b4;
  flex: 0 0 auto;
}

.input-wrap input {
  width: 100%;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-size: 14px;
  font-weight: 400;
}

.input-wrap select {
  appearance: none;
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  color: transparent;
  background: transparent;
  font-size: 13px;
  font-weight: 500;
}

.input-wrap select option {
  color: var(--ink);
}

.input-wrap input::placeholder {
  color: #9aa4b5;
}

.date-input-wrap input[type="date"] {
  min-height: 24px;
  color: #9aa4b5;
}

.date-input-wrap input[type="date"]:not(:focus):invalid {
  color: transparent;
}

.date-input-placeholder {
  position: absolute;
  left: 43px;
  right: 42px;
  color: #9aa4b5;
  font-size: 14px;
  font-weight: 400;
  line-height: 1;
  pointer-events: none;
}

.date-input-wrap input[type="date"]:valid,
.date-input-wrap input[type="date"]:focus {
  color: var(--ink);
}

.date-input-wrap input[type="date"]:valid + .date-input-placeholder,
.date-input-wrap input[type="date"]:focus + .date-input-placeholder {
  opacity: 0;
}

.date-input-wrap input[type="date"]::-webkit-date-and-time-value {
  min-height: 24px;
  text-align: left;
}

.date-input-wrap input[type="date"]::-webkit-calendar-picker-indicator {
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  margin: 0;
  opacity: 0;
  color: transparent;
  background: transparent;
  cursor: pointer;
}

.icon-button {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 0;
  padding: 0;
  border-radius: 50%;
  color: #93a0b4;
  background: transparent;
  cursor: pointer;
}

.form-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin: 16px 0 20px;
  font-size: 12px;
  font-weight: 400;
}

.check-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
}

.check-label input {
  width: 14px;
  height: 14px;
  accent-color: var(--gold-500);
}

.check-label.is-error {
  color: #b63535;
}

.link-gold {
  color: #fa8d5e;
  font-weight: 500;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  width: 100%;
  border: 0;
  border-radius: var(--radius-sm);
  font-weight: 500;
  letter-spacing: 0;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, opacity 180ms ease;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  color: #1b1606;
  background: linear-gradient(135deg, #ffe28b, #f5b232 58%, #e89817);
  box-shadow: 0 16px 38px rgba(246, 181, 54, 0.28);
}

.btn-primary:active {
  transform: translateY(0);
  opacity: 0.92;
}

.auth-footer {
  margin: 24px 0 0;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
  font-weight: 400;
}

.page-shell {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: 28px;
  background: var(--surface-soft);
}

.placeholder-panel {
  width: min(100%, 760px);
  padding: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow-soft);
}

.placeholder-kicker {
  margin: 0 0 10px;
  color: var(--gold-500);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.placeholder-panel h1 {
  margin: 0 0 12px;
  font-size: clamp(32px, 6vw, 58px);
  letter-spacing: 0;
}

.placeholder-panel p {
  margin: 0 0 24px;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.placeholder-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.placeholder-links a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: var(--radius-sm);
  color: var(--navy-900);
  background: #fff7e2;
  border: 1px solid #f7d889;
  font-weight: 750;
}

.home-page {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  color: var(--ink);
  background:
    radial-gradient(circle at 86% 6%, rgba(246, 181, 54, 0.1), transparent 25%),
    linear-gradient(180deg, #fbfcff 0%, var(--surface-soft) 42%, #eef3fb 100%);
}

.page-preloader {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  place-items: center;
  pointer-events: none;
  background: #fff;
  transition: opacity 360ms ease, visibility 360ms ease;
}

.page-preloader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.page-transition-preloader {
  pointer-events: auto;
}

.page-preloader-symbol {
  position: relative;
  display: grid;
  place-items: center;
  width: 112px;
  height: 112px;
  border: 1px solid rgba(255, 211, 106, 0.28);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 211, 106, 0.16), transparent 38%),
    linear-gradient(180deg, #fff, #f7f9fd);
  box-shadow:
    0 28px 90px rgba(5, 16, 36, 0.14),
    0 0 0 12px rgba(246, 181, 54, 0.045),
    inset 0 0 34px rgba(255, 211, 106, 0.08);
  backdrop-filter: blur(16px);
}

.page-preloader-symbol img {
  position: relative;
  z-index: 1;
  display: block;
  width: 64px;
  height: 58px;
  border-radius: 18px;
  object-fit: contain;
  filter: drop-shadow(0 10px 26px rgba(246, 181, 54, 0.42));
}

.page-preloader-ring {
  position: absolute;
  inset: -3px;
  border: 2px solid rgba(255, 211, 106, 0.16);
  border-top-color: var(--gold-400);
  border-right-color: rgba(255, 211, 106, 0.42);
  border-radius: 50%;
  box-shadow: 0 0 24px rgba(246, 181, 54, 0.16);
  animation: preloader-spin 820ms linear infinite;
}

.app-sidebar {
  position: sticky;
  top: 0;
  height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  padding: 26px 18px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(6, 18, 38, 0.92), rgba(5, 16, 36, 0.98)),
    url("../img/login-bg-waves.png") center center / cover no-repeat,
    var(--navy-950);
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 18px 0 55px rgba(7, 20, 43, 0.12);
}

.app-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 36px;
  color: rgb(255, 255, 225);
  font-family: var(--brand-font);
  font-size: 20px;
  font-weight: 600;
}

.app-logo svg {
  width: 30px;
  height: 30px;
  color: var(--gold-400);
  filter: drop-shadow(0 10px 24px rgba(246, 181, 54, 0.28));
}

.app-nav {
  display: grid;
  gap: 7px;
  margin-top: 34px;
}

.app-nav a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  font-weight: 600;
}

.app-nav a:hover,
.app-nav a.is-active {
  color: var(--gold-400);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.08);
}

.app-nav svg {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
}

.sidebar-card {
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  background:
    radial-gradient(circle at 92% 10%, rgba(246, 181, 54, 0.2), transparent 30%),
    rgba(255, 255, 255, 0.07);
}

.sidebar-card span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--gold-400);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.sidebar-card strong {
  display: block;
  color: #fff;
  font-size: 15px;
  line-height: 1.35;
}

.sidebar-card p {
  margin: 8px 0 16px;
  color: rgba(255, 255, 255, 0.63);
  font-size: 12px;
  line-height: 1.55;
}

.sidebar-card a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 10px;
  color: #1b1606;
  background: linear-gradient(135deg, #ffe28b, #f5b232 58%, #e89817);
  font-size: 12px;
  font-weight: 800;
}

.home-main {
  min-width: 0;
  padding: 24px clamp(18px, 3vw, 42px) 54px;
}

.home-showcase {
  position: relative;
  overflow: hidden;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 30px;
  color: #fff;
  background:
    linear-gradient(90deg, rgba(6, 18, 38, 0.9), rgba(7, 24, 50, 0.72)),
    url("../img/login-bg-waves.png") center center / cover no-repeat,
    linear-gradient(145deg, #061226 0%, #102442 100%);
  box-shadow: var(--shadow-deep);
}

.home-showcase::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.42;
  background:
    radial-gradient(circle at 82% 24%, rgba(246, 181, 54, 0.18), transparent 24%),
    radial-gradient(circle at 16% 78%, rgba(90, 141, 255, 0.18), transparent 26%),
    linear-gradient(115deg, rgba(255, 255, 255, 0.04), transparent 44%);
  pointer-events: none;
}

.home-showcase>* {
  position: relative;
  z-index: 1;
}

.home-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
  padding: 2px 2px 0;
}

.home-header p {
  margin: 0 0 3px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 13px;
}

.home-header h1 {
  margin: 0;
  color: #fff;
  font-size: 24px;
  line-height: 1.1;
}

.home-header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.status-pill,
.header-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: none;
  backdrop-filter: blur(12px);
}

.status-pill {
  gap: 7px;
  padding: 0 13px;
  color: var(--gold-400);
  font-size: 12px;
  font-weight: 800;
}

.soft-pill {
  color: rgba(255, 255, 255, 0.72);
}

.status-pill svg,
.header-icon svg {
  width: 17px;
  height: 17px;
}

.header-icon {
  width: 38px;
  color: rgba(255, 255, 255, 0.74);
}

.home-hero {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(430px, 0.78fr);
  align-items: stretch;
  gap: 24px;
}

.info-panel,
.home-benefits article {
  border: 1px solid rgba(218, 224, 236, 0.9);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: var(--shadow-soft);
}

.hero-copy {
  position: relative;
  overflow: hidden;
  min-height: 590px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 5vw, 70px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.055);
  backdrop-filter: blur(16px);
}

.hero-copy::after {
  content: "";
  position: absolute;
  right: -180px;
  bottom: -230px;
  width: 520px;
  height: 520px;
  border: 1px solid rgba(246, 181, 54, 0.16);
  border-radius: 50%;
  box-shadow: inset 0 0 0 54px rgba(90, 141, 255, 0.035), inset 0 0 0 118px rgba(246, 181, 54, 0.04);
  pointer-events: none;
}

.home-brand-line {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 18px;
  color: var(--gold-400);
  font-family: var(--brand-font);
  font-size: 17px;
  font-weight: 600;
}

.home-brand-line strong {
  margin-left: 6px;
  color: rgb(255, 255, 225);
  font-weight: 600;
}

.hero-copy h2 {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0;
  color: #fff;
  font-size: clamp(46px, 5.6vw, 76px);
  line-height: 1.06;
  font-weight: 500;
  letter-spacing: 0;
}

.hero-copy>p:not(.home-brand-line) {
  position: relative;
  z-index: 1;
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: 17px;
  line-height: 1.75;
}

.hero-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.home-cta {
  width: auto;
  min-width: 150px;
  min-height: 48px;
  padding: 0 22px;
}

.btn-secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

.hero-mini-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 36px;
}

.hero-mini-grid div {
  min-height: 118px;
  padding: 17px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.07);
}

.hero-mini-grid svg {
  width: 28px;
  height: 28px;
  margin-bottom: 16px;
  color: var(--gold-400);
}

.hero-mini-grid strong,
.hero-mini-grid span {
  display: block;
}

.hero-mini-grid strong {
  color: #fff;
  font-size: 13px;
}

.hero-mini-grid span {
  margin-top: 5px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 12px;
}

.hero-globe-panel {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 590px;
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 26px;
  color: #fff;
  background:
    linear-gradient(180deg, rgba(6, 18, 38, 0.1), rgba(6, 18, 38, 0.84)),
    url("../img/login-bg-waves.png") center center / cover no-repeat,
    linear-gradient(145deg, #061226, #102442);
  box-shadow: 0 22px 70px rgba(5, 16, 36, 0.28);
}

.outcome-card {
  position: absolute;
  left: 22px;
  right: 22px;
  top: 22px;
  z-index: 4;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.08);
  text-align: center;
  backdrop-filter: blur(14px);
}

.outcome-card span {
  display: block;
  margin-bottom: 7px;
  color: rgba(255, 255, 255, 0.54);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.outcome-card strong {
  display: block;
  color: #fff8d9;
  font-size: 20px;
  line-height: 1.35;
}

.globe-stage {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 470px;
}

.globe-sphere {
  position: relative;
  width: min(82vw, 390px);
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 50%;
  background: #030b1a;
  border: 1px solid rgba(90, 141, 255, 0.4);
  box-shadow: 0 34px 90px rgba(5, 16, 36, 0.5), 0 0 50px rgba(246, 181, 54, 0.12);
}

.globe-sphere img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.72;
  animation: rotate-globe 70s linear infinite;
}

.globe-sphere::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 28%, rgba(255, 255, 255, 0.28), transparent 0 22%),
    linear-gradient(135deg, rgba(16, 36, 66, 0.15), rgba(246, 181, 54, 0.1)),
    repeating-linear-gradient(7deg, rgba(255, 255, 255, 0.08) 0 1px, transparent 1px 12px),
    repeating-linear-gradient(88deg, rgba(255, 255, 255, 0.055) 0 1px, transparent 1px 18px);
  mix-blend-mode: screen;
  z-index: 1;
}

.globe-shine {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 24%, rgba(255, 255, 255, 0.34), transparent 0 30%);
  z-index: 2;
}

.globe-sphere svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
}

.globe-sphere path {
  fill: none;
  stroke: rgba(255, 211, 106, 0.62);
  stroke-width: 1.2;
  stroke-linecap: round;
}

.globe-sphere circle {
  fill: var(--gold-400);
  filter: drop-shadow(0 0 8px rgba(255, 211, 106, 0.8));
}

.start-orbit-button {
  position: absolute;
  left: 50%;
  top: 54%;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-height: 56px;
  padding: 0 10px 0 22px;
  border-radius: 999px;
  color: #1b1606;
  background: linear-gradient(135deg, #ffe28b, #f5b232 58%, #e89817);
  box-shadow: 0 18px 38px rgba(246, 181, 54, 0.32);
  font-size: 14px;
  font-weight: 800;
  transform: translate(-50%, -50%);
}

.start-orbit-button svg {
  display: grid;
  width: 36px;
  height: 36px;
  padding: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.26);
}

.round-strip {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 126px;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.round-strip div {
  min-height: 70px;
  display: grid;
  place-items: center;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  text-align: center;
  backdrop-filter: blur(10px);
}

.round-strip strong,
.round-strip span {
  display: block;
}

.round-strip strong {
  color: #fff8d9;
  font-size: 22px;
}

.round-strip span {
  color: rgba(255, 255, 255, 0.62);
  font-size: 11px;
}

.inside-card {
  position: relative;
  z-index: 5;
  min-height: 102px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius-md);
}

.inside-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.inside-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(5, 16, 36, 0.9), rgba(5, 16, 36, 0.22));
}

.inside-card div {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 102px;
  flex-direction: column;
  justify-content: end;
  max-width: 300px;
  padding: 18px;
}

.inside-card strong {
  color: var(--gold-400);
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.inside-card span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
  line-height: 1.45;
}

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

.home-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.55fr);
  gap: 22px;
  margin-top: 24px;
}

.info-panel {
  padding: 28px;
  border-radius: var(--radius-md);
}

.section-label {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--gold-500);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.info-panel h3 {
  margin: 0;
  color: var(--ink);
  font-size: 28px;
  line-height: 1.18;
}

.info-panel p {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}

.flow-steps div {
  min-height: 130px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: #fbfcff;
}

.flow-steps span {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  margin-bottom: 14px;
  border-radius: 50%;
  color: #1b1606;
  background: var(--gold-400);
  font-size: 12px;
  font-weight: 800;
}

.flow-steps strong {
  display: block;
  color: var(--ink);
  font-size: 14px;
}

.flow-steps p {
  font-size: 12px;
}

.reward-panel {
  color: #fff;
  background:
    radial-gradient(circle at 90% 16%, rgba(246, 181, 54, 0.24), transparent 28%),
    linear-gradient(145deg, var(--navy-950), var(--navy-800));
  border-color: rgba(255, 255, 255, 0.1);
}

.reward-panel .section-label,
.reward-panel h3,
.reward-panel strong {
  color: var(--gold-400);
}

.reward-panel p {
  color: rgba(255, 255, 255, 0.68);
}

.progress-bar {
  height: 9px;
  overflow: hidden;
  margin: 26px 0 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
}

.progress-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold-400), var(--gold-500));
}

.home-benefits {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.home-benefits article {
  padding: 24px;
  border-radius: var(--radius-md);
}

.home-benefits svg {
  width: 38px;
  height: 38px;
  color: var(--gold-500);
  margin-bottom: 18px;
}

.home-benefits h3 {
  margin: 0;
  font-size: 17px;
}

.home-benefits p {
  margin: 9px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.mobile-tabbar {
  display: none;
}

.dashboard-main {
  min-width: 0;
  min-height: 100svh;
  padding: 28px 32px 36px;
  background: #fff;
  border: 1px solid rgba(246, 181, 54, 0.55);
  border-left: 0;
  border-radius: 0 0 18px 0;
}

.dashboard-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.user-welcome {
  display: flex;
  align-items: center;
  gap: 16px;
}

.user-welcome img {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  box-shadow: 0 12px 30px rgba(8, 20, 43, 0.14);
}

.user-welcome span {
  display: block;
  margin-bottom: 4px;
  color: var(--muted);
  font-size: 13px;
}

.user-welcome h1 {
  margin: 0;
  color: var(--ink);
  font-size: 27px;
  line-height: 1.08;
  font-weight: 700;
}

.member-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.member-badges em {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 10px;
  border: 1px solid rgba(90, 141, 255, 0.18);
  border-radius: 999px;
  color: #4779df;
  background: rgba(90, 141, 255, 0.08);
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}

.member-badges em:first-child {
  color: #c5810a;
  border-color: rgba(246, 181, 54, 0.28);
  background: rgba(246, 181, 54, 0.1);
}

.dashboard-tools {
  display: flex;
  align-items: center;
  gap: 14px;
}

.dashboard-tools>a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: #6d7894;
  border-radius: 50%;
}

.dashboard-tools svg {
  width: 19px;
  height: 19px;
}

.mini-user {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.mini-user img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
}

.stat-grid {
  display: grid;
  grid-template-columns: 1.1fr repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 20px;
}

.stat-card,
.daily-progress-card,
.dashboard-panel,
.vip-summary-card {
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  box-shadow: 0 16px 42px rgba(8, 20, 43, 0.06);
}

.stat-card {
  position: relative;
  min-height: 116px;
  overflow: hidden;
  padding: 22px;
}

.stat-card span,
.task-total span,
.vip-summary-card span {
  display: block;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.stat-card strong {
  display: block;
  margin-top: 14px;
  color: var(--ink);
  font-size: 28px;
  line-height: 1;
}

.stat-card small {
  display: block;
  margin-top: 9px;
  color: var(--green-500);
  font-size: 12px;
  font-weight: 800;
}

.stat-card svg {
  position: absolute;
  right: 20px;
  bottom: 22px;
  width: 44px;
  height: 44px;
  color: rgba(90, 141, 255, 0.56);
}

.balance-card {
  color: #fff;
  background: linear-gradient(135deg, #6d7dff 0%, #63b9ff 100%);
  border-color: transparent;
}

.balance-card span,
.balance-card strong {
  color: #fff;
}

.balance-card svg {
  color: rgba(255, 255, 255, 0.72);
}

.commission-card {
  background:
    radial-gradient(circle at 88% 24%, rgba(191, 111, 255, 0.22), transparent 35%),
    linear-gradient(135deg, #fff, #fbf3ff);
}

.commission-card strong {
  color: #8a28eb;
}

.daily-progress-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  align-items: center;
  gap: 24px;
  min-height: 120px;
  padding: 22px 24px;
  margin-bottom: 20px;
}

.daily-progress-card h2,
.dashboard-panel h2,
.vip-summary-card h2 {
  margin: 0;
  color: var(--ink);
  font-size: 17px;
  line-height: 1.2;
}

.daily-progress-card p {
  margin: 8px 0 12px;
  color: var(--muted);
  font-size: 13px;
}

.task-progress {
  height: 9px;
  overflow: hidden;
  border-radius: 999px;
  background: #eef1f7;
}

.task-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold-400), var(--gold-500));
}

.daily-progress-card small {
  display: block;
  margin-top: 10px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}

.task-total {
  text-align: center;
}

.task-total strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-size: 18px;
}

.dashboard-content-grid {
  display: grid;
  grid-template-columns: minmax(250px, 0.92fr) minmax(330px, 1.25fr) minmax(270px, 0.95fr);
  gap: 20px;
}

.dashboard-panel {
  padding: 22px;
}

.quick-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px 12px;
  margin-top: 24px;
}

.quick-actions a {
  display: grid;
  justify-items: center;
  gap: 9px;
  color: #66728b;
  font-size: 11px;
  font-weight: 700;
  text-align: center;
}

.quick-actions span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: #5a8dff;
  background: #eef3ff;
  font-size: 18px;
  font-weight: 800;
}

.quick-actions a:nth-child(3) span {
  color: #31a964;
  background: #e8f8ef;
}

.quick-actions a:nth-child(4) span,
.quick-actions a:nth-child(8) span {
  color: #e89817;
  background: #fff5df;
}

.order-list {
  display: grid;
  gap: 0;
  margin-top: 18px;
}

.order-list div {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  gap: 14px;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
}

.order-list div:last-child {
  border-bottom: 0;
}

.order-list img {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  object-fit: cover;
}

.order-list p,
.order-list strong,
.order-list span {
  display: block;
  margin: 0;
}

.order-list strong {
  color: var(--ink);
  font-size: 12px;
  line-height: 1.35;
}

.order-list span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 11px;
}

.order-list em {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  padding: 0 10px;
  border-radius: 999px;
  color: #c5810a;
  background: rgba(246, 181, 54, 0.18);
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
}

.order-list em.done {
  color: #279d5a;
  background: rgba(49, 191, 116, 0.15);
}

.vip-summary-card {
  position: relative;
  overflow: hidden;
  min-height: 280px;
  padding: 26px;
  color: #fff;
  background:
    radial-gradient(circle at 78% 23%, rgba(246, 181, 54, 0.25), transparent 25%),
    url("../img/login-bg-waves.png") center center / cover no-repeat,
    linear-gradient(145deg, var(--navy-950), var(--navy-800));
  border: 0;
}

.vip-summary-card h2 {
  color: var(--gold-400);
  font-size: 30px;
}

.vip-summary-card p {
  max-width: 180px;
  margin: 8px 0 28px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
  line-height: 1.5;
}

.vip-medal {
  position: absolute;
  top: 26px;
  right: 22px;
  display: grid;
  place-items: center;
  width: 94px;
  height: 94px;
  border-radius: 50%;
  color: #fff3bd;
  background: linear-gradient(135deg, #ffe28b, #f0a826);
  box-shadow: 0 18px 38px rgba(246, 181, 54, 0.28);
}

.vip-medal svg {
  width: 48px;
  height: 48px;
}

.vip-summary-card span,
.vip-summary-card small {
  color: rgba(255, 255, 255, 0.72);
}

.vip-progress {
  height: 9px;
  overflow: hidden;
  margin: 10px 0 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.vip-progress i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--gold-400), var(--gold-500));
}

.vip-summary-card small {
  display: block;
  margin-bottom: 22px;
  font-size: 12px;
}

.vip-summary-card>strong {
  color: var(--gold-400);
  font-size: 18px;
  line-height: 1.55;
}

@media (max-width: 860px) {

  .auth-message.is-error {
    color: #7b2323;
    border-color: none;
    background: none;
    text-align: center;
  }


  .auth-message.is-success {
    background: #0000007d;
    box-shadow: 0 10px 26px rgba(7, 20, 43, 0.035),
      inset 0 1px 0 rgba(48, 48, 48, 0.44);
  }

  .auth-page {
    display: grid;
    place-items: center;
    padding: 32px 18px;
  }

  .link-gold {
    color: #f8ce74;
    font-weight: 500;
  }

  .auth-layout {
    display: block;
    width: 100%;
    justify-self: stretch;
    min-height: 0;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
  }

  .auth-brand-panel {
    display: none;
  }

  .phone-shell {
    width: min(100%, 390px);
    min-height: auto;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.68);
    border-radius: 38px;
    background: linear-gradient(180deg, rgba(7, 20, 43, 0.08) 0%, rgba(7, 20, 43, 0.42) 46%, rgba(7, 20, 43, 0.86) 100%),
      linear-gradient(90deg, rgba(7, 20, 43, 0.34), rgba(7, 20, 43, 0.03) 45%),
      url("../img/promote-prestige-fashion.png") center 42% / cover no-repeat;
    box-shadow: 0 24px 70px rgba(6, 18, 38, 0.18);
  }

  .auth-page--signup .phone-shell {
    background:
      linear-gradient(180deg, rgba(7, 20, 43, 0.08) 0%, rgba(7, 20, 43, 0.42) 46%, rgba(7, 20, 43, 0.86) 100%),
      linear-gradient(90deg, rgba(7, 20, 43, 0.34), rgba(7, 20, 43, 0.03) 45%),
      url("../img/auth-signup-community.png") center 42% / cover no-repeat;
  }

  .auth-page--forgot .phone-shell {
    background:
      linear-gradient(180deg, rgba(7, 20, 43, 0.08) 0%, rgba(7, 20, 43, 0.42) 46%, rgba(7, 20, 43, 0.86) 100%),
      linear-gradient(90deg, rgba(7, 20, 43, 0.34), rgba(7, 20, 43, 0.03) 45%),
      url("../img/auth-forgot-support.png") center 42% / cover no-repeat;
  }

  .phone-screen {
    min-height: 680px;
    border-radius: 30px;
  }

  .auth-content {
    min-height: 680px;
    width: auto;
    padding: 32px 0px 24px;
  }

  .auth-page--signup .auth-content,
  .auth-page--signup .phone-screen {
    min-height: 0;
  }

  .mobile-screen {
    border: 1px solid rgba(255, 255, 255, 0.213);
    padding: 60px 18px;
    border-radius: 18px;
    margin: 0px 20px;
    backdrop-filter: blur(2px);
    box-shadow: 0 24px 62px rgba(4, 10, 21, 0.28),
      inset 0 1px 0 rgba(255, 255, 255, 0.16);
    background: #ffffff17;
  }

  .brand-tagline {
    margin-bottom: 36px;
    color: white;
  }

  .brand-tagline span {
    color: #f8ce74;

  }

  .auth-page .check-label {
    color: rgba(255, 255, 255, 0.86);
  }

}

@media (max-width: 460px) {

  .auth-message.is-error {
    color: #7b2323;
    border-color: none;
    background: none;
    text-align: center;
  }

  .auth-message.is-success {
    background: #0000007d;
    box-shadow: 0 10px 26px rgba(7, 20, 43, 0.035),
      inset 0 1px 0 rgba(48, 48, 48, 0.44);
  }

  .link-gold {
    color: #f8ce74;
    font-weight: 500;
  }

  .auth-page {
    display: block;
    padding: 0;
    background:
      radial-gradient(circle at 18% 8%, rgba(246, 181, 54, 0.14), transparent 34%),
      linear-gradient(180deg, #f8faff 0%, #eef3fb 100%);
  }

  .phone-shell {
    width: 100%;
    min-height: 100svh;
    padding: 0;
    border: 0;
    border-radius: 0;
  }

  .phone-screen {
    min-height: 100svh;
    border-radius: 0;
  }

  .auth-content {
    min-height: 100svh;
    padding: 60px 0px 34px;
  }

  .auth-page--signup .phone-shell,
  .auth-page--signup .phone-screen,
  .auth-page--signup .auth-content {
    min-height: 0;
  }

  .auth-page--signup .auth-content {
    padding: 22px 0 28px;
  }

  .preloader-status {
    font-size: 16px;
  }

  .brand-tagline {
    margin-bottom: 36px;
    color: white;
  }

  .brand-tagline span {
    color: #f8ce74;

  }

  .placeholder-panel {
    padding: 28px;
  }
}

@media (max-width: 980px) {
  .home-page {
    display: block;
    padding-bottom: 82px;
  }

  .app-sidebar {
    display: none;
  }

  .dashboard-main {
    min-height: 100svh;
    padding: 18px 16px 92px;
    border: 0;
    border-radius: 0;
  }

  .dashboard-header {
    align-items: flex-start;
    margin-bottom: 20px;
  }

  .user-welcome img {
    width: 52px;
    height: 52px;
  }

  .user-welcome h1 {
    font-size: 21px;
  }

  .dashboard-tools>a,
  .mini-user span,
  .member-badges em:nth-child(2) {
    display: none;
  }

  .stat-grid,
  .dashboard-content-grid {
    grid-template-columns: 1fr;
  }

  .stat-grid {
    gap: 12px;
  }

  .daily-progress-card {
    grid-template-columns: 1fr;
  }

  .task-total {
    display: none;
  }

  .quick-actions {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .vip-summary-card {
    min-height: 250px;
  }

  .home-main {
    padding: 14px 14px 34px;
  }

  .home-showcase {
    padding: 16px;
    border-radius: 24px;
  }

  .home-header {
    position: relative;
    margin: 0 0 18px;
    padding: 0;
    background: transparent;
    border-bottom: 0;
    backdrop-filter: none;
  }

  .home-header p {
    color: rgba(255, 255, 255, 0.62);
  }

  .home-header h1 {
    color: #fff;
    font-size: 20px;
  }

  .home-header .status-pill,
  .home-header .header-icon {
    min-height: 34px;
    color: var(--gold-400);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: none;
  }

  .home-header .header-icon {
    width: 34px;
  }

  .home-hero,
  .home-grid,
  .home-benefits {
    grid-template-columns: 1fr;
  }

  .home-hero {
    gap: 16px;
  }

  .hero-copy {
    min-height: auto;
    padding: 28px;
    border-radius: 24px;
  }

  .hero-copy h2 {
    font-size: clamp(36px, 11vw, 50px);
  }

  .hero-copy>p:not(.home-brand-line) {
    font-size: 15px;
    line-height: 1.65;
  }

  .hero-actions {
    display: grid;
  }

  .hero-mini-grid {
    grid-template-columns: 1fr;
    margin-top: 26px;
  }

  .hero-mini-grid div {
    min-height: 0;
  }

  .home-cta {
    width: 100%;
  }

  .hero-globe-panel {
    min-height: 620px;
    border-radius: 24px;
  }

  .globe-stage {
    min-height: 470px;
  }

  .globe-sphere {
    width: min(78vw, 310px);
  }

  .round-strip {
    bottom: 116px;
  }

  .flow-steps {
    grid-template-columns: 1fr;
  }

  .flow-steps div {
    min-height: 0;
  }

  .mobile-tabbar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 50;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    min-height: 66px;
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(18px);
    box-shadow: 0 -12px 32px rgba(8, 20, 43, 0.08);
  }

  .mobile-tabbar a {
    display: grid;
    place-items: center;
    gap: 3px;
    color: var(--muted);
    font-size: 11px;
    font-weight: 500;
  }

  .mobile-tabbar a.is-active {
    color: var(--gold-500);
  }

  .mobile-tabbar svg {
    width: 20px;
    height: 20px;
  }
}

@media (max-width: 520px) {

  .auth-page--verify {
    padding: 22px;
  }

  .verify-auth-layout {
    min-height: calc(100svh - 44px);
  }

  .verify-glass-card {
    padding: 30px 20px;
    border-radius: 24px;
  }

  .verify-glass-card .brand-mark {
    width: 42px;
    height: 42px;
  }

  .verify-glass-card .brand-title {
    font-size: 24px;
  }

  .verify-status-icon {
    width: 64px;
    height: 64px;
    border-radius: 20px;
  }

  .verify-status-icon svg {
    width: 30px;
    height: 30px;
  }

  .verify-copy {
    font-size: 15px;
  }

  .security-code-inputs {
    gap: 7px;
  }

  .security-code-inputs input {
    min-height: 44px;
    border-radius: 13px;
    font-size: 23px;
  }

  .verify-status-strip {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .auth-message.is-success {
    background: #0000007d;
    box-shadow: 0 10px 26px rgba(7, 20, 43, 0.035),
      inset 0 1px 0 rgba(48, 48, 48, 0.44);
  }

  .round-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
  }

  .round-strip div {
    min-height: 62px;
    padding: 10px 6px;
  }

  .round-strip strong {
    font-size: 18px;
  }

  .round-strip span {
    font-size: 10px;
  }

  .info-panel,
  .home-benefits article {
    padding: 22px;
  }

  .info-panel h3 {
    font-size: 24px;
  }
}

@media (max-width: 820px) {
  input:not([type="checkbox"]):not([type="radio"]),
  select,
  textarea {
    font-size: 16px;
  }
}
