:root {
  --app-bg: #050607;
  --surface: #0c1115;
  --text: #f6f7f8;
  --muted: #a5abb3;
  --line: #2a302d;
  --cyan: #12eac7;
  --teal: #02a88a;
  --gold: #ffc400;
  --gold-dark: #b97800;
  --silver: #e9edf2;
  --shadow: 0 18px 38px rgba(0, 0, 0, 0.46);
}

* {
  box-sizing: border-box;
}

.bi {
  display: inline-grid;
  place-items: center;
  line-height: 1;
}

.bi::before {
  line-height: 1;
}

body {
  min-height: 100vh;
  margin: 0;
  background: radial-gradient(circle at 50% -12%, rgba(255, 196, 0, 0.14), transparent 34%), #020304;
  color: var(--text);
  font-family: "Rajdhani", "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  -webkit-tap-highlight-color: transparent;
}

.app-shell {
  position: relative;
  width: min(100%, 430px);
  min-height: 100vh;
  margin: 0 auto;
  background:
    radial-gradient(circle at 18% 14%, rgba(18, 234, 199, 0.12), transparent 27%),
    radial-gradient(circle at 86% 2%, rgba(255, 196, 0, 0.12), transparent 30%),
    linear-gradient(rgba(18, 234, 199, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 196, 0, 0.03) 1px, transparent 1px),
    var(--app-bg);
  background-size: auto, auto, 24px 24px, 24px 24px, auto;
  overflow-x: hidden;
  box-shadow: 0 0 0 1px rgba(255, 196, 0, 0.1), 0 0 48px rgba(0, 0, 0, 0.55);
}

.app-header {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 20;
  width: min(100%, 430px);
  height: 72px;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 16px;
  background: rgba(3, 5, 6, 0.93);
  border-bottom: 1px solid rgba(255, 196, 0, 0.22);
  backdrop-filter: blur(16px);
}

.brand {
  width: 148px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.profile-wrap {
  position: relative;
}

.profile-button {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 196, 0, 0.28);
  border-radius: 50%;
  background: linear-gradient(145deg, #101417, #050607);
  color: var(--gold);
  font-size: 25px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.profile-button i {
  width: 25px;
  height: 25px;
}

.profile-button:hover,
.profile-button:focus-visible,
.profile-button[aria-expanded="true"] {
  background: #151a1d;
  box-shadow: 0 10px 24px rgba(255, 196, 0, 0.18), 0 0 0 3px rgba(18, 234, 199, 0.08);
  transform: translateY(-1px);
}

.profile-button:active {
  transform: scale(0.96);
}

.profile-menu {
  position: absolute;
  top: 54px;
  right: 0;
  width: 168px;
  padding: 8px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
}

.profile-menu[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.profile-menu button {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 11px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.2px;
  text-align: left;
}

.profile-menu button i {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.profile-menu button:hover {
  background: rgba(255, 196, 0, 0.09);
  color: var(--cyan);
}

.app-content {
  padding: 82px 14px 100px;
}

.notice-marquee {
  height: 34px;
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  overflow: hidden;
  border: 1px solid rgba(255, 196, 0, 0.32);
  border-radius: 8px;
  background: linear-gradient(90deg, rgba(255, 196, 0, 0.16), rgba(18, 234, 199, 0.08));
  color: #ffe99a;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.22);
}

.notice-track {
  width: max-content;
  display: inline-flex;
  animation: notice-marquee 18s linear infinite;
  will-change: transform;
}

.notice-track span {
  flex: 0 0 auto;
  padding-right: 42px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.35px;
  white-space: nowrap;
}

@keyframes notice-marquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.money-hero {
  height: 128px;
  position: relative;
  display: grid;
  place-items: center;
  margin-bottom: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 196, 0, 0.3);
  border-radius: 8px;
  background:
    radial-gradient(circle at 50% 42%, rgba(255, 196, 0, 0.22), transparent 34%),
    linear-gradient(135deg, rgba(18, 234, 199, 0.12), rgba(255, 196, 0, 0.08)),
    linear-gradient(180deg, #11100b, #050606);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 241, 168, 0.14);
}

.money-label {
  position: absolute;
  top: 12px;
  left: 14px;
  z-index: 2;
  color: #ffe99a;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.money-symbol {
  z-index: 2;
  color: var(--gold);
  font-family: "Orbitron", "Rajdhani", sans-serif;
  font-size: 86px;
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 0 18px rgba(255, 196, 0, 0.52), 0 14px 24px rgba(0, 0, 0, 0.45);
  animation: dollar-pulse 1.8s ease-in-out infinite;
}

.floating-dollar {
  position: absolute;
  z-index: 1;
  color: rgba(255, 241, 168, 0.9);
  font-family: "Orbitron", "Rajdhani", sans-serif;
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 0 12px rgba(255, 196, 0, 0.42);
  animation: dollar-float 3.8s ease-in-out infinite;
}

.dollar-one {
  left: 38px;
  bottom: 20px;
  font-size: 34px;
}

.dollar-two {
  top: 20px;
  right: 42px;
  font-size: 42px;
  animation-delay: -1.2s;
}

.dollar-three {
  right: 92px;
  bottom: 18px;
  color: rgba(18, 234, 199, 0.78);
  font-size: 28px;
  animation-delay: -2.1s;
}

.hero-line {
  position: absolute;
  right: 18px;
  bottom: 18px;
  left: 18px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--cyan), var(--gold), transparent);
  box-shadow: 0 0 16px rgba(255, 196, 0, 0.34);
  animation: line-sweep 2.4s linear infinite;
}

@keyframes dollar-pulse {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-5px) scale(1.08);
  }
}

@keyframes dollar-float {
  0%,
  100% {
    opacity: 0.5;
    transform: translateY(8px) scale(0.94);
  }

  50% {
    opacity: 1;
    transform: translateY(-10px) scale(1.08);
  }
}

@keyframes line-sweep {
  0% {
    transform: translateX(-18%);
  }

  100% {
    transform: translateX(18%);
  }
}

.balance-panel {
  min-height: 150px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  padding: 22px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 196, 0, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 196, 0, 0.16), rgba(18, 234, 199, 0.07)),
    linear-gradient(135deg, #07090a 0%, #111619 55%, #060708 100%);
  color: white;
  box-shadow: var(--shadow);
}

.balance-panel::after {
  content: "";
  position: absolute;
  right: -22px;
  bottom: 16px;
  z-index: 0;
  width: 160px;
  height: 58px;
  border-top: 3px solid rgba(18, 234, 199, 0.68);
  border-right: 3px solid rgba(255, 196, 0, 0.68);
  pointer-events: none;
  transform: skewX(-24deg);
}

.balance-panel > * {
  position: relative;
  z-index: 1;
}

.balance-panel p {
  margin: 0 0 8px;
  color: rgba(233, 237, 242, 0.72);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.45px;
  text-transform: uppercase;
}

.balance-panel h1 {
  margin: 0;
  font-family: "Orbitron", "Rajdhani", sans-serif;
  font-size: 29px;
  font-weight: 800;
  letter-spacing: 0;
}

.balance-panel .btn {
  min-width: 58px;
  border: 0;
  border-radius: 7px;
  background: linear-gradient(135deg, #fff1a8, var(--gold) 58%, #d89500);
  color: #07111f;
  font-weight: 900;
}

.quick-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin: 18px 0;
  padding: 14px 10px;
  border: 1px solid rgba(255, 196, 0, 0.34);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 196, 0, 0.1), rgba(255, 196, 0, 0.02)),
    linear-gradient(180deg, #11100b, #070707);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 241, 168, 0.08);
}

.action-tile {
  min-width: 0;
  min-height: 92px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 4px;
  border: 1px solid rgba(255, 196, 0, 0.18);
  border-radius: 8px;
  background: linear-gradient(180deg, #18150d, #0b0a07);
  color: #f7e7ad;
  font-size: clamp(12px, 3vw, 14px);
  font-weight: 700;
  letter-spacing: 0.2px;
  line-height: 1.15;
  text-align: center;
  transition: transform 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.action-tile span {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: linear-gradient(135deg, #fff6bd 0%, var(--gold) 48%, var(--gold-dark) 100%);
  color: #050607;
  font-size: 22px;
  box-shadow: 0 10px 22px rgba(255, 196, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.34);
}

.action-tile span i {
  width: 22px;
  height: 22px;
}

.action-tile:hover,
.action-tile:focus-visible {
  background: linear-gradient(180deg, #211b0d, #0f0d08);
  border-color: rgba(255, 196, 0, 0.48);
  box-shadow: inset 0 0 0 1px rgba(255, 241, 168, 0.08), 0 12px 26px rgba(0, 0, 0, 0.34);
  transform: translateY(-2px);
}

.action-tile:active {
  transform: scale(0.97);
}

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

.section-title h2 {
  margin: 0;
  color: var(--silver);
  font-family: "Orbitron", "Rajdhani", sans-serif;
  font-size: 16px;
  font-weight: 800;
}

.section-title a {
  color: var(--gold);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.activity-list {
  padding-bottom: 12px;
}

.activity-item {
  min-height: 72px;
  display: grid;
  grid-template-columns: 46px 1fr auto;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
  padding: 12px;
  border: 1px solid rgba(255, 196, 0, 0.13);
  border-radius: 8px;
  background: linear-gradient(180deg, #101417, #080a0c);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.24);
}

.activity-icon {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  font-size: 19px;
}

.activity-icon i {
  width: 19px;
  height: 19px;
}

.activity-icon.success {
  background: rgba(18, 234, 199, 0.13);
  color: var(--cyan);
}

.activity-icon.warning {
  background: rgba(255, 196, 0, 0.14);
  color: var(--gold);
}

.activity-item h3,
.activity-item p {
  margin: 0;
}

.activity-item h3 {
  font-size: 15px;
  font-weight: 700;
}

.activity-item p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.activity-item strong {
  color: var(--gold);
  font-family: "Orbitron", "Rajdhani", sans-serif;
  font-size: 13px;
}

.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 20;
  width: min(100%, 430px);
  min-height: 76px;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
  background: rgba(3, 5, 6, 0.94);
  border-top: 1px solid rgba(255, 196, 0, 0.2);
  backdrop-filter: blur(16px);
}

.bottom-nav a {
  min-width: 0;
  height: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  border-radius: 8px;
  color: var(--muted);
  font-size: clamp(11px, 2.6vw, 12px);
  font-weight: 700;
  line-height: 1.1;
  text-align: center;
  text-decoration: none;
  transition: color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.bottom-nav i {
  width: 24px;
  height: 24px;
  font-size: 21px;
}

.bottom-nav a.active,
.bottom-nav a:hover,
.bottom-nav a:focus-visible {
  background: linear-gradient(180deg, rgba(255, 196, 0, 0.14), rgba(18, 234, 199, 0.08));
  color: var(--gold);
  transform: translateY(-1px);
}

.bottom-nav a:active {
  transform: scale(0.97);
}

.login-shell {
  width: min(100%, 430px);
  min-height: 100vh;
  margin: 0 auto;
  display: flex;
  align-items: center;
  padding: 28px 18px;
  background:
    radial-gradient(circle at 20% 12%, rgba(18, 234, 199, 0.16), transparent 28%),
    radial-gradient(circle at 84% 4%, rgba(255, 196, 0, 0.16), transparent 32%),
    linear-gradient(rgba(18, 234, 199, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 196, 0, 0.03) 1px, transparent 1px),
    var(--app-bg);
  background-size: auto, auto, 24px 24px, 24px 24px, auto;
}

.login-panel {
  width: 100%;
  padding: 26px 18px 22px;
  border: 1px solid rgba(255, 196, 0, 0.26);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 196, 0, 0.08), rgba(18, 234, 199, 0.035)),
    linear-gradient(180deg, #101417, #070808);
  box-shadow: var(--shadow);
}

.login-logo {
  width: 190px;
  height: 118px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}

.login-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
  box-shadow: none;
}

.login-heading {
  margin-bottom: 22px;
  text-align: center;
}

.login-heading p {
  margin: 0 0 4px;
  color: var(--gold);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.45px;
  text-transform: uppercase;
}

.login-heading h1 {
  margin: 0;
  color: var(--silver);
  font-family: "Orbitron", "Rajdhani", sans-serif;
  font-size: 24px;
  font-weight: 800;
}

.login-form {
  display: grid;
  gap: 15px;
}

.login-field {
  display: grid;
  gap: 7px;
}

.login-field > span {
  color: #f7e7ad;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.input-wrap {
  min-height: 52px;
  display: grid;
  grid-template-columns: 42px 1fr auto;
  align-items: center;
  overflow: hidden;
  border: 1px solid rgba(255, 196, 0, 0.2);
  border-radius: 8px;
  background: linear-gradient(180deg, #15120a, #090909);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.input-wrap:focus-within {
  border-color: rgba(255, 196, 0, 0.58);
  box-shadow: 0 0 0 3px rgba(255, 196, 0, 0.1);
}

.input-wrap > i {
  width: 42px;
  height: 52px;
  color: var(--gold);
  font-size: 19px;
}

.input-wrap input {
  width: 100%;
  min-width: 0;
  height: 52px;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 16px;
  font-weight: 600;
}

.input-wrap input::placeholder {
  color: rgba(165, 171, 179, 0.72);
}

.phone-input-wrap {
  grid-template-columns: 42px minmax(96px, 0.42fr) minmax(0, 1fr);
}

.phone-input-wrap .country-code-input {
  padding-right: 8px;
  border-right: 1px solid rgba(255, 196, 0, 0.16);
  color: #fff1a8;
  font-size: 13px;
  font-weight: 900;
}

.phone-input-wrap #mobileInput {
  padding-left: 10px;
}

.password-toggle {
  width: 44px;
  height: 52px;
  display: grid;
  place-items: center;
  border: 0;
  background: transparent;
  color: var(--muted);
  font-size: 18px;
}

.password-toggle:hover,
.password-toggle:focus-visible {
  color: var(--gold);
}

.password-toggle i {
  width: 18px;
  height: 18px;
}

.otp-send-button {
  min-width: 82px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-left: 1px solid rgba(255, 196, 0, 0.18);
  background: rgba(255, 196, 0, 0.08);
  color: #fff1a8;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
  transition: background 0.18s ease, color 0.18s ease;
}

.otp-send-button:hover,
.otp-send-button:focus-visible {
  background: rgba(255, 196, 0, 0.14);
  color: var(--gold);
}

.otp-send-button:disabled {
  color: rgba(18, 234, 199, 0.9);
  cursor: default;
}

.login-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 2px;
}

.remember-me {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.remember-me input {
  width: 16px;
  height: 16px;
  accent-color: var(--gold);
}

.login-row a,
.signup-text a {
  color: var(--gold);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.login-button {
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin-top: 5px;
  border: 0;
  border-radius: 8px;
  background: linear-gradient(135deg, #fff1a8, var(--gold) 58%, #d89500);
  color: #060606;
  font-family: "Orbitron", "Rajdhani", sans-serif;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.3px;
  box-shadow: 0 15px 26px rgba(255, 196, 0, 0.22);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.login-button i {
  width: 18px;
  height: 18px;
}

.login-button:hover,
.login-button:focus-visible {
  box-shadow: 0 18px 32px rgba(255, 196, 0, 0.3);
  transform: translateY(-1px);
}

.login-button:active {
  transform: scale(0.98);
}

.signup-text {
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 600;
  text-align: center;
}

.forgot-panel {
  padding-bottom: 24px;
}

.forgot-info {
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr);
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  padding: 11px;
  border: 1px solid rgba(255, 196, 0, 0.18);
  border-radius: 8px;
  background: rgba(255, 196, 0, 0.07);
  color: rgba(255, 241, 168, 0.76);
}

.forgot-info i {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 196, 0, 0.34);
  border-radius: 8px;
  background: rgba(255, 196, 0, 0.09);
  color: var(--gold);
  font-size: 18px;
}

.forgot-info p {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
}

.register-shell {
  align-items: flex-start;
  padding-top: 20px;
  padding-bottom: 28px;
}

.register-panel {
  padding-top: 18px;
}

.register-logo {
  width: 160px;
  height: 98px;
  margin-bottom: 6px;
}

.register-heading {
  margin-bottom: 16px;
}

.register-form {
  gap: 12px;
}

.success-shell {
  align-items: center;
}

.registration-popup-card {
  width: 100%;
  padding: 22px 16px 18px;
  border: 1px solid rgba(255, 196, 0, 0.28);
  border-radius: 8px;
  background:
    radial-gradient(circle at 88% 0%, rgba(18, 234, 199, 0.12), transparent 30%),
    radial-gradient(circle at 18% 8%, rgba(255, 196, 0, 0.16), transparent 28%),
    linear-gradient(180deg, rgba(255, 196, 0, 0.08), rgba(255, 196, 0, 0.02)),
    rgba(8, 7, 5, 0.94);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.5), inset 0 1px 0 rgba(255, 241, 168, 0.08);
}

.success-icon {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  margin: 0 auto 13px;
  border: 1px solid rgba(18, 234, 199, 0.34);
  border-radius: 8px;
  background: rgba(18, 234, 199, 0.1);
  color: var(--cyan);
  font-size: 28px;
  box-shadow: 0 0 22px rgba(18, 234, 199, 0.12);
}

.success-icon i {
  width: 28px;
  height: 28px;
}

.success-heading {
  margin-bottom: 15px;
  text-align: center;
}

.success-heading p,
.success-heading h1,
.success-heading span {
  margin: 0;
}

.success-heading p {
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.45px;
  text-transform: uppercase;
}

.success-heading h1 {
  margin-top: 3px;
  color: #fff7d2;
  font-family: "Orbitron", "Rajdhani", sans-serif;
  font-size: 22px;
  font-weight: 900;
}

.success-heading span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 241, 168, 0.68);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.registration-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.registration-detail-grid article {
  min-height: 64px;
  display: grid;
  align-content: center;
  padding: 10px;
  border: 1px solid rgba(255, 196, 0, 0.14);
  border-radius: 8px;
  background: rgba(4, 4, 4, 0.5);
}

.registration-detail-grid span {
  color: rgba(255, 241, 168, 0.6);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.45px;
  text-transform: uppercase;
}

.registration-detail-grid strong {
  min-width: 0;
  margin-top: 4px;
  color: #fff7d2;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.registration-actions {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 9px;
  margin-top: 15px;
}

.registration-login-button {
  margin-top: 0;
  text-decoration: none;
}

.readonly-wrap {
  background: linear-gradient(180deg, #111417, #080909);
  border-color: rgba(233, 237, 242, 0.14);
}

.readonly-wrap input {
  color: rgba(233, 237, 242, 0.74);
  cursor: default;
}

.register-button {
  margin-top: 8px;
}

@media (max-width: 360px) {
  .app-header {
    padding-inline: 12px;
  }

  .brand {
    width: 128px;
  }

  .app-content {
    padding-inline: 10px;
  }

  .quick-actions {
    gap: 4px;
    padding-inline: 6px;
  }

  .action-tile span {
    width: 40px;
    height: 40px;
    flex-basis: 40px;
    border-radius: 13px;
    font-size: 19px;
  }

  .login-shell {
    padding-inline: 12px;
  }

  .login-logo {
    width: 170px;
    height: 106px;
  }

  .register-logo {
    width: 142px;
    height: 88px;
  }
}

.dashboard-shell {
  background:
    radial-gradient(circle at 50% 11%, rgba(255, 196, 0, 0.14), transparent 28%),
    radial-gradient(circle at 96% 28%, rgba(255, 196, 0, 0.12), transparent 22%),
    linear-gradient(rgba(255, 196, 0, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 196, 0, 0.075) 1px, transparent 1px),
    #050407;
  background-size: auto, auto, 56px 56px, 56px 56px, auto;
}

.dashboard-shell::before,
.dashboard-shell::after {
  content: "";
  position: fixed;
  left: 50%;
  z-index: 0;
  width: min(100%, 430px);
  transform: translateX(-50%);
  pointer-events: none;
}

.dashboard-shell::before {
  top: 72px;
  height: calc(100vh - 148px);
  background:
    radial-gradient(circle at 66% 9%, rgba(255, 62, 214, 0.58) 0 5px, transparent 7px),
    radial-gradient(circle at 96% 18%, rgba(255, 62, 214, 0.8) 0 7px, transparent 9px),
    radial-gradient(circle at 49% 64%, rgba(255, 62, 214, 0.65) 0 5px, transparent 8px),
    radial-gradient(circle at 0% 78%, rgba(255, 196, 0, 0.48), transparent 12%),
    radial-gradient(circle at 94% 83%, rgba(255, 196, 0, 0.32), transparent 13%);
  opacity: 0.78;
}

.dashboard-shell::after {
  top: 150px;
  height: 760px;
  background:
    linear-gradient(35deg, transparent 47%, rgba(255, 196, 0, 0.12) 48%, transparent 49%),
    linear-gradient(135deg, transparent 47%, rgba(255, 196, 0, 0.08) 48%, transparent 49%);
  background-size: 190px 190px;
  opacity: 0.54;
}

.dashboard-header {
  height: 82px;
  z-index: 30;
  padding: 12px 15px;
  background: rgba(4, 3, 7, 0.94);
  border-bottom-color: rgba(255, 196, 0, 0.28);
}

.dashboard-brand {
  width: 132px;
  height: 58px;
  position: relative;
  z-index: 1;
}

.header-actions {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  position: relative;
  z-index: 1;
}

.header-icon-btn,
.header-avatar {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 196, 0, 0.42);
  border-radius: 50%;
  background: radial-gradient(circle at 50% 30%, rgba(255, 196, 0, 0.18), rgba(12, 10, 4, 0.9));
  color: #ffe99a;
  font-size: 19px;
  box-shadow: inset 0 1px 0 rgba(255, 241, 168, 0.15), 0 10px 22px rgba(0, 0, 0, 0.3);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.header-icon-btn i {
  width: 19px;
  height: 19px;
}

.header-avatar {
  width: 48px;
  height: 48px;
  border-color: rgba(255, 196, 0, 0.76);
  color: #fff7d2;
  font-family: "Orbitron", "Rajdhani", sans-serif;
  font-size: 19px;
  font-weight: 900;
  box-shadow: 0 0 20px rgba(255, 196, 0, 0.22), inset 0 0 0 1px rgba(255, 241, 168, 0.12);
}

.header-icon-btn.compact {
  width: 38px;
  height: 38px;
  border-color: rgba(255, 196, 0, 0.18);
  color: rgba(255, 233, 154, 0.72);
}

.header-icon-btn:hover,
.header-icon-btn:focus-visible,
.header-avatar:hover,
.header-avatar:focus-visible {
  border-color: rgba(255, 196, 0, 0.78);
  box-shadow: 0 0 24px rgba(255, 196, 0, 0.24);
  transform: translateY(-1px);
}

.dashboard-content {
  position: relative;
  z-index: 1;
  padding: 104px 15px 102px;
}

.referral-card {
  position: relative;
  min-height: 318px;
  overflow: hidden;
  padding: 22px 17px 16px;
  border: 1px solid rgba(255, 196, 0, 0.42);
  border-radius: 8px;
  background:
    radial-gradient(circle at 82% 2%, rgba(255, 196, 0, 0.18), transparent 24%),
    linear-gradient(135deg, rgba(255, 196, 0, 0.24), rgba(255, 196, 0, 0.04)),
    linear-gradient(145deg, #2b2107 0%, #160d05 54%, #11080a 100%);
  box-shadow: 0 24px 46px rgba(0, 0, 0, 0.58), inset 0 1px 0 rgba(255, 241, 168, 0.18);
}

.referral-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 0 62%, rgba(255, 196, 0, 0.1) 63%, transparent 74%),
    radial-gradient(circle at 78% 9%, transparent 0 54px, rgba(255, 196, 0, 0.18) 55px 56px, transparent 57px);
  pointer-events: none;
}

.card-ring {
  position: absolute;
  top: -42px;
  right: -16px;
  width: 144px;
  height: 144px;
  border: 2px solid rgba(255, 196, 0, 0.18);
  border-radius: 50%;
  box-shadow: inset 0 0 0 28px rgba(255, 196, 0, 0.04), 0 0 38px rgba(255, 196, 0, 0.12);
  animation: ring-drift 6s ease-in-out infinite;
}

.spark {
  position: absolute;
  z-index: 2;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 18px rgba(255, 196, 0, 0.85);
}

.spark-one {
  top: -6px;
  left: 65%;
  animation: spark-float 3.4s ease-in-out infinite;
}

.spark-two {
  right: -5px;
  top: 86px;
  animation: spark-float 3.9s ease-in-out infinite reverse;
}

.member-row,
.referral-box,
.referral-actions,
.wallet-row,
.wallet-metrics,
.referral-generate-button {
  position: relative;
  z-index: 3;
}

.member-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 17px;
}

.member-row p,
.member-row span {
  margin: 0;
  color: rgba(255, 241, 168, 0.72);
  font-size: 17px;
  font-weight: 700;
}

.member-row h1 {
  margin: 3px 0 2px;
  color: #fff7d2;
  font-family: "Orbitron", "Rajdhani", sans-serif;
  font-size: 34px;
  font-weight: 900;
}

.member-row > strong {
  align-self: flex-start;
  min-width: 118px;
  max-width: none;
  padding: 11px 15px;
  border: 1px solid rgba(255, 196, 0, 0.46);
  border-radius: 8px;
  background: rgba(58, 39, 5, 0.72);
  color: #fff0a6;
  font-family: "Orbitron", "Rajdhani", sans-serif;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.4px;
  text-align: center;
  white-space: nowrap;
}

.referral-box {
  min-height: 76px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-bottom: 12px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 196, 0, 0.16);
  border-radius: 8px;
  background: rgba(8, 6, 9, 0.72);
}

.referral-box span,
.wallet-row span {
  color: rgba(255, 241, 168, 0.76);
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 2.3px;
  text-transform: uppercase;
}

.referral-box p {
  margin: 4px 0 0;
  color: #fff7d2;
  font-size: clamp(18px, 5vw, 23px);
  font-weight: 900;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.referral-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-bottom: 18px;
}

.panel-button {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid rgba(255, 196, 0, 0.34);
  border-radius: 8px;
  background: rgba(255, 196, 0, 0.08);
  color: #fff1a8;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.panel-button i {
  width: 23px;
  height: 23px;
  font-size: 23px;
}

.panel-button:hover,
.panel-button:focus-visible,
.panel-button.is-done {
  background: rgba(255, 196, 0, 0.14);
  border-color: rgba(255, 196, 0, 0.62);
  transform: translateY(-1px);
}

.wallet-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 14px;
  margin: 2px 0 12px;
}

.wallet-row strong {
  color: #fff7d2;
  font-family: "Orbitron", "Rajdhani", sans-serif;
  font-size: clamp(37px, 12vw, 50px);
  font-weight: 900;
  line-height: 0.9;
  white-space: nowrap;
}

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

.wallet-metrics article {
  min-height: 76px;
  display: grid;
  align-content: center;
  padding: 12px 13px;
  border: 1px solid rgba(255, 196, 0, 0.18);
  border-radius: 8px;
  background: rgba(5, 4, 8, 0.7);
}

.wallet-metrics span {
  color: rgba(255, 241, 168, 0.67);
  font-size: 17px;
  font-weight: 700;
}

.wallet-metrics strong {
  margin-top: 2px;
  color: #fff7d2;
  font-family: "Orbitron", "Rajdhani", sans-serif;
  font-size: 23px;
  font-weight: 900;
}

.referral-generate-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  margin-top: 12px;
  border: 1px solid rgba(255, 196, 0, 0.48);
  border-radius: 8px;
  background: linear-gradient(135deg, #fff1a8, var(--gold) 58%, #d89500);
  color: #070604;
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.referral-generate-button i {
  width: 18px;
  height: 18px;
  font-size: 18px;
}

.referral-generate-button:hover,
.referral-generate-button:focus-visible {
  color: #070604;
  transform: translateY(-1px);
  box-shadow: 0 12px 22px rgba(255, 196, 0, 0.18);
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 24px;
}

.summary-card {
  min-height: 150px;
  position: relative;
  overflow: hidden;
  padding: 16px 13px;
  border: 1px solid rgba(255, 196, 0, 0.34);
  border-radius: 8px;
  background:
    radial-gradient(circle at 83% 82%, rgba(255, 196, 0, 0.18), transparent 32%),
    linear-gradient(145deg, rgba(255, 196, 0, 0.16), rgba(10, 6, 2, 0.02)),
    #110b09;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 241, 168, 0.1);
}

.summary-card::after {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -30px;
  width: 88px;
  height: 88px;
  border-radius: 50%;
  background: rgba(255, 196, 0, 0.13);
  filter: blur(2px);
}

.summary-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  margin-bottom: 22px;
  border: 1px solid rgba(255, 196, 0, 0.52);
  border-radius: 8px;
  background: rgba(255, 196, 0, 0.1);
  color: var(--gold);
  font-size: 24px;
}

.summary-icon i {
  width: 24px;
  height: 24px;
}

.summary-card strong {
  display: block;
  color: #fff7d2;
  font-family: "Orbitron", "Rajdhani", sans-serif;
  font-size: 33px;
  font-weight: 900;
  line-height: 1;
}

.summary-card p {
  margin: 8px 0 0;
  color: rgba(255, 241, 168, 0.64);
  font-size: 19px;
  font-weight: 700;
}

.summary-card small {
  display: block;
  margin-top: 8px;
  color: #ffd85a;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

.dashboard-nav {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  min-height: 76px;
  background: rgba(4, 3, 7, 0.96);
  border-top-color: rgba(255, 196, 0, 0.28);
}

.dashboard-nav a {
  height: 60px;
  color: rgba(255, 241, 168, 0.52);
  font-size: 13px;
}

.dashboard-nav i {
  color: inherit;
  font-size: 24px;
}

.dashboard-nav a.active,
.dashboard-nav a:hover,
.dashboard-nav a:focus-visible {
  background: transparent;
  color: #ffd85a;
  text-shadow: 0 0 16px rgba(255, 196, 0, 0.58);
}

.dashboard-nav a.active::after {
  content: "";
  width: 34px;
  height: 4px;
  margin-top: 2px;
  border-radius: 999px;
  background: #ffd85a;
  box-shadow: 0 0 18px rgba(255, 196, 0, 0.84);
}

@keyframes ring-drift {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  50% {
    transform: translate(-10px, 8px) scale(1.06);
  }
}

@keyframes spark-float {
  0%,
  100% {
    transform: translateY(0);
    opacity: 0.7;
  }

  50% {
    transform: translateY(-10px);
    opacity: 1;
  }
}

@keyframes golden-body-shift {
  0% {
    background-position: center top, 0 0, 0 0, 0 0;
  }

  100% {
    background-position: center top, 48px 48px, 48px 48px, 0 0;
  }
}

@keyframes golden-spark-drift {
  0%,
  100% {
    opacity: 0.42;
    transform: translateX(-50%) translateY(0);
  }

  50% {
    opacity: 0.68;
    transform: translateX(-50%) translateY(-10px);
  }
}

@keyframes golden-grid-drift {
  0% {
    background-position: 0 0, 0 0;
  }

  100% {
    background-position: 150px 150px, -150px 150px;
  }
}

@media (max-width: 380px) {
  .dashboard-header {
    padding-inline: 10px;
  }

  .dashboard-brand {
    width: 112px;
  }

  .header-actions {
    gap: 5px;
  }

  .header-icon-btn {
    width: 36px;
    height: 36px;
    font-size: 17px;
  }

  .header-avatar {
    width: 42px;
    height: 42px;
    font-size: 17px;
  }

  .header-icon-btn.compact {
    width: 34px;
    height: 34px;
  }

  .dashboard-content {
    padding-inline: 12px;
  }

  .referral-card {
    padding-inline: 14px;
  }

  .member-row > strong {
    min-width: 106px;
    max-width: none;
    padding-inline: 10px;
    font-size: 11px;
  }

  .panel-button {
    min-height: 50px;
    font-size: 19px;
  }

  .wallet-metrics,
  .dashboard-grid {
    gap: 9px;
  }

  .wallet-metrics span {
    font-size: 15px;
  }

  .summary-card {
    min-height: 138px;
  }

  .summary-card strong {
    font-size: 27px;
  }

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

/* Compact professional dashboard tuning */
.dashboard-shell {
  background:
    radial-gradient(circle at 50% 8%, rgba(255, 196, 0, 0.1), transparent 26%),
    linear-gradient(rgba(255, 196, 0, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 196, 0, 0.045) 1px, transparent 1px),
    #050407;
  background-size: auto, 48px 48px, 48px 48px, auto;
  animation: golden-body-shift 12s linear infinite;
}

.dashboard-shell::before {
  top: 70px;
  height: calc(100vh - 140px);
  background:
    radial-gradient(circle at 70% 8%, rgba(255, 196, 0, 0.42) 0 3px, transparent 5px),
    radial-gradient(circle at 96% 20%, rgba(255, 196, 0, 0.5) 0 5px, transparent 7px),
    radial-gradient(circle at 48% 66%, rgba(255, 196, 0, 0.32) 0 4px, transparent 6px);
  opacity: 0.5;
  animation: golden-spark-drift 5.5s ease-in-out infinite;
}

.dashboard-shell::after {
  top: 132px;
  height: 620px;
  background-size: 150px 150px;
  opacity: 0.2;
  animation: golden-grid-drift 18s linear infinite;
}

.dashboard-header {
  height: 70px;
  padding: 9px 14px;
}

.dashboard-brand {
  width: 108px;
  height: 48px;
}

.header-actions {
  gap: 6px;
}

.header-icon-btn,
.header-avatar {
  width: 34px;
  height: 34px;
  border-color: rgba(255, 196, 0, 0.28);
  background: linear-gradient(180deg, #12100b, #070606);
  color: rgba(255, 233, 154, 0.86);
  font-size: 16px;
  box-shadow: inset 0 1px 0 rgba(255, 241, 168, 0.08);
}

.header-icon-btn i {
  width: 16px;
  height: 16px;
}

.header-avatar {
  width: 40px;
  height: 40px;
  border-color: rgba(255, 196, 0, 0.62);
  font-size: 16px;
}

.header-icon-btn.compact {
  width: 32px;
  height: 32px;
}

.header-icon-btn:hover,
.header-icon-btn:focus-visible,
.header-avatar:hover,
.header-avatar:focus-visible {
  box-shadow: 0 0 16px rgba(255, 196, 0, 0.2);
}

.notification-wrap,
.support-wrap {
  position: relative;
}

.notification-toggle,
.support-toggle {
  position: relative;
}

.notification-dot {
  position: absolute;
  top: 7px;
  right: 8px;
  width: 7px;
  height: 7px;
  border: 1px solid #070606;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 10px rgba(255, 196, 0, 0.86);
}

.notification-popover {
  position: fixed;
  top: 76px;
  left: 50%;
  z-index: 70;
  width: min(340px, calc(100vw - 24px));
  max-height: min(240px, calc(100vh - 116px));
  overflow-y: auto;
  padding: 13px;
  border: 1px solid rgba(255, 196, 0, 0.3);
  border-radius: 8px;
  background:
    radial-gradient(circle at 88% 4%, rgba(255, 196, 0, 0.16), transparent 30%),
    linear-gradient(145deg, rgba(255, 196, 0, 0.11), rgba(255, 196, 0, 0.025)),
    rgba(7, 6, 5, 0.96);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 241, 168, 0.08);
  backdrop-filter: blur(18px);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, -8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s ease;
  visibility: hidden;
}

.notification-popover.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
  visibility: visible;
}

.notification-popover::before {
  content: "";
  position: absolute;
  top: -7px;
  right: 126px;
  width: 13px;
  height: 13px;
  border-top: 1px solid rgba(255, 196, 0, 0.3);
  border-left: 1px solid rgba(255, 196, 0, 0.3);
  background: #100c05;
  transform: rotate(45deg);
}

.support-popover {
  width: min(350px, calc(100vw - 24px));
  max-height: min(330px, calc(100vh - 116px));
}

.support-popover::before {
  right: 84px;
}

.notification-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 9px;
}

.notification-head h2 {
  margin: 0;
  color: #fff7d2;
  font-family: "Orbitron", "Rajdhani", sans-serif;
  font-size: 15px;
  font-weight: 900;
  letter-spacing: 0.3px;
}

.notification-head span {
  flex: 0 0 auto;
  padding: 5px 9px;
  border: 1px solid rgba(255, 196, 0, 0.26);
  border-radius: 999px;
  background: rgba(255, 196, 0, 0.08);
  color: #ffd85a;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.notification-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
}

.notification-item {
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr);
  gap: 10px;
  padding: 11px;
  border: 1px solid rgba(255, 196, 0, 0.14);
  border-radius: 8px;
  background: rgba(4, 4, 4, 0.56);
}

.notification-item.unread {
  border-color: rgba(255, 196, 0, 0.26);
  background: rgba(255, 196, 0, 0.075);
}

.notification-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 196, 0, 0.34);
  border-radius: 8px;
  background: linear-gradient(135deg, #fff1a8, var(--gold) 58%, #d89500);
  color: #070604;
  font-size: 17px;
}

.notification-mark i {
  width: 17px;
  height: 17px;
}

.notification-item h3,
.notification-item p,
.notification-item small {
  margin: 0;
}

.notification-item h3 {
  color: #fff7d2;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.1;
}

.notification-item p {
  margin-top: 4px;
  color: rgba(255, 241, 168, 0.7);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.notification-item small {
  display: block;
  margin-top: 6px;
  color: rgba(255, 196, 0, 0.82);
  font-size: 12px;
  font-weight: 800;
}

.support-list {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 8px;
}

.support-link {
  min-height: 58px;
  display: grid;
  grid-template-columns: 38px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 10px;
  padding: 10px;
  border: 1px solid rgba(255, 196, 0, 0.15);
  border-radius: 8px;
  background: rgba(4, 4, 4, 0.56);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.support-link:hover,
.support-link:focus-visible {
  border-color: rgba(255, 196, 0, 0.34);
  background: rgba(255, 196, 0, 0.08);
  transform: translateY(-1px);
}

.support-mark {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 196, 0, 0.34);
  border-radius: 8px;
  background: linear-gradient(135deg, #fff1a8, var(--gold) 58%, #d89500);
  color: #070604;
  font-size: 17px;
}

.support-mark i,
.support-link > i {
  width: 17px;
  height: 17px;
}

.support-link strong,
.support-link small {
  display: block;
  min-width: 0;
}

.support-link strong {
  color: #fff7d2;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.1;
}

.support-link small {
  margin-top: 4px;
  color: rgba(255, 241, 168, 0.66);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.15;
}

.support-link > i {
  color: rgba(255, 196, 0, 0.72);
  font-size: 17px;
}

.logout-confirm-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(10px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}

.logout-confirm-overlay.is-open {
  opacity: 1;
  pointer-events: auto;
}

.logout-confirm-modal {
  width: min(342px, 100%);
  padding: 18px 16px 16px;
  border: 1px solid rgba(255, 196, 0, 0.32);
  border-radius: 8px;
  background:
    radial-gradient(circle at 88% 0%, rgba(255, 196, 0, 0.18), transparent 30%),
    linear-gradient(145deg, rgba(255, 196, 0, 0.12), rgba(255, 196, 0, 0.025)),
    rgba(7, 6, 5, 0.98);
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.58), inset 0 1px 0 rgba(255, 241, 168, 0.1);
  text-align: center;
  transform: translateY(10px) scale(0.98);
  transition: transform 0.18s ease;
}

.logout-confirm-overlay.is-open .logout-confirm-modal {
  transform: translateY(0) scale(1);
}

.logout-confirm-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  margin: 0 auto 12px;
  border: 1px solid rgba(255, 196, 0, 0.46);
  border-radius: 8px;
  background: linear-gradient(135deg, #fff1a8, var(--gold) 58%, #d89500);
  color: #070604;
  font-size: 23px;
}

.logout-confirm-icon i {
  width: 23px;
  height: 23px;
}

.logout-confirm-modal h2,
.logout-confirm-modal p {
  margin: 0;
}

.logout-confirm-modal h2 {
  color: #fff7d2;
  font-family: "Orbitron", "Rajdhani", sans-serif;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.15;
}

.logout-confirm-modal p {
  margin-top: 8px;
  color: rgba(255, 241, 168, 0.7);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.25;
}

.logout-confirm-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
  margin-top: 16px;
}

.logout-cancel-button,
.logout-yes-button {
  min-height: 44px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 900;
  transition: border-color 0.18s ease, color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.logout-cancel-button {
  border: 1px solid rgba(255, 196, 0, 0.22);
  background: rgba(7, 6, 5, 0.82);
  color: rgba(255, 241, 168, 0.78);
}

.logout-yes-button {
  border: 0;
  background: linear-gradient(135deg, #fff1a8, var(--gold) 58%, #d89500);
  color: #070604;
}

.logout-cancel-button:hover,
.logout-cancel-button:focus-visible,
.logout-yes-button:hover,
.logout-yes-button:focus-visible {
  transform: translateY(-1px);
}

.dashboard-content {
  padding: 86px 14px 92px;
}

.referral-card {
  min-height: 0;
  padding: 16px;
  border-color: rgba(255, 196, 0, 0.3);
  background:
    linear-gradient(135deg, rgba(255, 196, 0, 0.14), rgba(255, 196, 0, 0.035)),
    linear-gradient(145deg, #191207 0%, #0d0906 58%, #080607 100%);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.48), inset 0 1px 0 rgba(255, 241, 168, 0.1);
}

.referral-card::before {
  background:
    linear-gradient(120deg, transparent 0 66%, rgba(255, 196, 0, 0.06) 67%, transparent 76%),
    radial-gradient(circle at 80% 12%, transparent 0 42px, rgba(255, 196, 0, 0.11) 43px 44px, transparent 45px);
}

.card-ring {
  top: -34px;
  right: -22px;
  width: 108px;
  height: 108px;
  border-width: 1px;
  box-shadow: inset 0 0 0 20px rgba(255, 196, 0, 0.025);
}

.spark {
  width: 7px;
  height: 7px;
  box-shadow: 0 0 12px rgba(255, 196, 0, 0.68);
}

.spark-two {
  top: 70px;
}

.member-row {
  gap: 10px;
  margin-bottom: 12px;
}

.member-row p,
.member-row span {
  font-size: 14px;
}

.member-row h1 {
  margin: 1px 0;
  font-size: 26px;
}

.member-row > strong {
  min-width: 112px;
  max-width: none;
  padding: 8px 10px;
  border-color: rgba(255, 196, 0, 0.34);
  background: rgba(34, 23, 5, 0.68);
  font-size: 11px;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.referral-box {
  min-height: 58px;
  margin-bottom: 10px;
  padding: 10px 12px;
  background: rgba(5, 4, 6, 0.68);
}

.referral-box span,
.wallet-row span {
  font-size: 11px;
  letter-spacing: 1.7px;
}

.referral-box p {
  margin-top: 3px;
  font-size: clamp(14px, 4vw, 17px);
  line-height: 1.15;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.referral-actions {
  gap: 8px;
  margin-bottom: 13px;
}

.panel-button {
  min-height: 42px;
  gap: 8px;
  border-color: rgba(255, 196, 0, 0.26);
  background: rgba(255, 196, 0, 0.065);
  font-size: 16px;
}

.panel-button i {
  width: 17px;
  height: 17px;
  font-size: 17px;
}

.wallet-row {
  gap: 10px;
  margin-bottom: 10px;
}

.wallet-row strong {
  font-size: clamp(27px, 8.5vw, 35px);
}

.wallet-metrics {
  gap: 8px;
}

.wallet-metrics article {
  min-height: 58px;
  padding: 9px 10px;
  border-color: rgba(255, 196, 0, 0.14);
}

.wallet-metrics span {
  font-size: 13px;
}

.wallet-metrics strong {
  font-size: 18px;
}

.payment-actions-card {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin: 12px 0 14px;
  padding: 12px 8px;
  border: 1px solid rgba(255, 196, 0, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 196, 0, 0.1), rgba(255, 196, 0, 0.018)),
    rgba(6, 5, 4, 0.82);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.36), inset 0 1px 0 rgba(255, 241, 168, 0.08);
  backdrop-filter: blur(7px);
}

.payment-action {
  min-width: 0;
  min-height: 82px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 7px;
  padding: 7px 4px;
  border: 1px solid rgba(255, 196, 0, 0.13);
  border-radius: 8px;
  background: rgba(9, 7, 4, 0.58);
  color: #fff1a8;
  font-family: inherit;
  text-decoration: none;
  text-align: center;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.payment-action:hover,
.payment-action:focus-visible {
  border-color: rgba(255, 196, 0, 0.42);
  background: rgba(255, 196, 0, 0.09);
  transform: translateY(-1px);
}

.payment-action:active {
  transform: scale(0.97);
}

.payment-action span {
  width: 39px;
  height: 39px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 241, 168, 0.3);
  border-radius: 8px;
  background: linear-gradient(135deg, #fff1a8, var(--gold) 58%, #d89500);
  color: #070604;
  font-size: 18px;
  box-shadow: 0 10px 18px rgba(255, 196, 0, 0.18);
}

.payment-action span i {
  width: 18px;
  height: 18px;
}

.payment-action strong {
  color: rgba(255, 241, 168, 0.82);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.08;
}

.deposit-card {
  display: grid;
  gap: 14px;
  padding: 16px;
  border: 1px solid rgba(255, 196, 0, 0.22);
  border-radius: 8px;
  background:
    radial-gradient(circle at 90% 0%, rgba(255, 196, 0, 0.14), transparent 30%),
    linear-gradient(145deg, rgba(255, 196, 0, 0.1), rgba(255, 196, 0, 0.02)),
    rgba(6, 5, 4, 0.86);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 241, 168, 0.08);
}

.deposit-qr-box {
  width: 208px;
  height: 208px;
  display: grid;
  place-items: center;
  justify-self: center;
  padding: 15px;
  border: 1px solid rgba(255, 196, 0, 0.34);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 196, 0, 0.2), rgba(255, 196, 0, 0.04)),
    #fff7d2;
  box-shadow: 0 16px 28px rgba(0, 0, 0, 0.34), 0 0 24px rgba(255, 196, 0, 0.12);
}

.deposit-qr-box canvas,
.deposit-qr-box img {
  width: 176px;
  height: 176px;
  display: block;
}

.deposit-countdown {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  justify-self: center;
  padding: 8px 14px;
  border: 1px solid rgba(255, 70, 70, 0.34);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 70, 70, 0.12), rgba(255, 70, 70, 0.02)),
    rgba(5, 4, 3, 0.7);
  box-shadow: 0 0 18px rgba(255, 70, 70, 0.1);
}

.deposit-countdown span {
  color: rgba(255, 176, 176, 0.82);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.35px;
  text-transform: uppercase;
}

.deposit-countdown strong {
  color: #ff5a5a;
  font-family: "Orbitron", "Rajdhani", sans-serif;
  font-size: 19px;
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 0 16px rgba(255, 70, 70, 0.45);
}

.deposit-network-note,
.wallet-copy-card {
  border: 1px solid rgba(255, 196, 0, 0.16);
  border-radius: 8px;
  background: rgba(5, 4, 3, 0.62);
}

.deposit-network-note {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  color: rgba(255, 241, 168, 0.76);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
}

.deposit-network-note i {
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
  color: var(--gold);
  font-size: 17px;
}

.wallet-copy-card {
  display: grid;
  gap: 8px;
  padding: 11px;
}

.wallet-copy-card > span {
  color: rgba(255, 241, 168, 0.6);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.wallet-copy-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 42px;
  align-items: center;
  gap: 8px;
}

.wallet-copy-row strong {
  min-width: 0;
  color: #fff7d2;
  font-family: "Rajdhani", "Segoe UI", system-ui, sans-serif;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.15;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.wallet-copy-button {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 196, 0, 0.32);
  border-radius: 8px;
  background: rgba(255, 196, 0, 0.09);
  color: var(--gold);
  font-size: 18px;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.wallet-copy-button:hover,
.wallet-copy-button:focus-visible {
  border-color: rgba(255, 196, 0, 0.56);
  background: rgba(255, 196, 0, 0.14);
  transform: translateY(-1px);
}

.wallet-copy-button i {
  width: 18px;
  height: 18px;
}

.withdraw-atm-card {
  min-height: 198px;
  position: relative;
  overflow: hidden;
  display: grid;
  align-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  padding: 18px;
  border: 1px solid rgba(255, 196, 0, 0.34);
  border-radius: 8px;
  background:
    radial-gradient(circle at 86% 10%, rgba(255, 196, 0, 0.24), transparent 28%),
    linear-gradient(135deg, rgba(255, 196, 0, 0.22), rgba(255, 196, 0, 0.04)),
    linear-gradient(145deg, #241806 0%, #0e0905 58%, #070506 100%);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.48), inset 0 1px 0 rgba(255, 241, 168, 0.12);
}

.withdraw-atm-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(120deg, transparent 0 62%, rgba(255, 196, 0, 0.1) 63%, transparent 76%),
    radial-gradient(circle at 82% 14%, transparent 0 48px, rgba(255, 196, 0, 0.14) 49px 50px, transparent 51px);
  pointer-events: none;
}

.withdraw-atm-card > * {
  position: relative;
  z-index: 1;
}

.withdraw-card-top,
.withdraw-card-bottom,
.withdraw-card-number {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.withdraw-card-top span,
.withdraw-card-bottom > span {
  color: rgba(255, 241, 168, 0.72);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.55px;
  text-transform: uppercase;
}

.withdraw-card-top i {
  width: 23px;
  height: 23px;
  color: var(--gold);
  font-size: 23px;
}

.withdraw-atm-card > strong {
  color: #fff7d2;
  font-family: "Orbitron", "Rajdhani", sans-serif;
  font-size: 38px;
  font-weight: 900;
  line-height: 1;
}

.withdraw-card-number {
  justify-content: flex-start;
  color: rgba(255, 241, 168, 0.86);
  font-family: "Orbitron", "Rajdhani", sans-serif;
  font-size: 16px;
  font-weight: 900;
  letter-spacing: 1px;
}

.card-circles {
  position: relative;
  width: 54px;
  height: 30px;
}

.card-circles span {
  position: absolute;
  top: 0;
  width: 30px;
  height: 30px;
  border-radius: 50%;
}

.card-circles span:first-child {
  left: 0;
  background: rgba(255, 196, 0, 0.78);
}

.card-circles span:last-child {
  right: 0;
  background: rgba(255, 241, 168, 0.42);
}

.withdraw-form {
  margin-top: 0;
}

.withdraw-calculation {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid rgba(255, 196, 0, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 196, 0, 0.08), rgba(255, 196, 0, 0.015)),
    rgba(5, 5, 5, 0.72);
}

.withdraw-calculation div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.withdraw-calculation div + div {
  padding-top: 10px;
  border-top: 1px solid rgba(255, 196, 0, 0.12);
}

.withdraw-calculation span {
  color: rgba(255, 241, 168, 0.68);
  font-size: 13px;
  font-weight: 800;
}

.withdraw-calculation strong {
  color: #fff7d2;
  font-family: "Orbitron", "Rajdhani", sans-serif;
  font-size: 15px;
  font-weight: 900;
  white-space: nowrap;
}

.withdraw-rules {
  margin-top: 14px;
  padding: 14px;
  border: 1px solid rgba(255, 196, 0, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 196, 0, 0.08), rgba(255, 196, 0, 0.015)),
    rgba(6, 5, 4, 0.72);
}

.withdraw-rules h2 {
  margin: 0 0 10px;
  color: #fff7d2;
  font-size: 15px;
  font-weight: 900;
}

.withdraw-rules ol {
  display: grid;
  gap: 8px;
  margin: 0;
  padding-left: 20px;
}

.withdraw-rules li {
  color: rgba(255, 241, 168, 0.74);
  font-size: 13px;
  line-height: 1.45;
}

.withdraw-rules li::marker {
  color: var(--gold);
  font-weight: 900;
}

.trade-clock-card,
.trade-detail-card,
.trade-countdown-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 196, 0, 0.2);
  border-radius: 8px;
  background:
    radial-gradient(circle at 80% 10%, rgba(255, 196, 0, 0.16), transparent 30%),
    linear-gradient(145deg, rgba(255, 196, 0, 0.1), rgba(255, 196, 0, 0.018)),
    rgba(6, 5, 4, 0.78);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.36), inset 0 1px 0 rgba(255, 241, 168, 0.06);
}

.trade-clock-card {
  display: grid;
  justify-items: center;
  gap: 10px;
  margin-bottom: 14px;
  padding: 22px 16px 18px;
  text-align: center;
}

.trade-clock-card::before {
  content: "";
  position: absolute;
  inset: auto -34px -54px auto;
  width: 130px;
  height: 130px;
  border: 1px solid rgba(255, 196, 0, 0.14);
  border-radius: 50%;
  box-shadow: inset 0 0 0 24px rgba(255, 196, 0, 0.035);
}

.sand-clock {
  position: relative;
  width: 92px;
  height: 118px;
  display: grid;
  place-items: center;
  animation: hourglass-turn 6s ease-in-out infinite;
}

.sand-clock-cap {
  position: absolute;
  left: 16px;
  width: 60px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(135deg, #fff1a8, var(--gold) 58%, #d89500);
  box-shadow: 0 0 18px rgba(255, 196, 0, 0.28);
}

.sand-clock-cap.top {
  top: 7px;
}

.sand-clock-cap.bottom {
  bottom: 7px;
}

.sand-clock-glass {
  position: relative;
  width: 54px;
  height: 84px;
  border: 2px solid rgba(255, 196, 0, 0.72);
  clip-path: polygon(12% 0, 88% 0, 62% 50%, 88% 100%, 12% 100%, 38% 50%);
  background: rgba(255, 196, 0, 0.035);
  box-shadow: inset 0 0 20px rgba(255, 196, 0, 0.14);
}

.sand-clock-glass::before,
.sand-clock-glass::after {
  content: "";
  position: absolute;
  left: 10px;
  right: 10px;
  background: linear-gradient(180deg, #fff1a8, var(--gold));
}

.sand-clock-glass::before {
  top: 8px;
  height: 28px;
  clip-path: polygon(0 0, 100% 0, 54% 100%, 46% 100%);
  animation: sand-top 3s ease-in-out infinite;
}

.sand-clock-glass::after {
  bottom: 8px;
  height: 28px;
  clip-path: polygon(46% 0, 54% 0, 100% 100%, 0 100%);
  animation: sand-bottom 3s ease-in-out infinite;
}

.sand-stream {
  position: absolute;
  top: 46px;
  width: 3px;
  height: 30px;
  border-radius: 999px;
  background: linear-gradient(180deg, #fff1a8, var(--gold));
  animation: sand-stream 1.2s ease-in-out infinite;
}

.trade-clock-card h2 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #fff7d2;
  font-family: "Orbitron", "Rajdhani", sans-serif;
  font-size: 20px;
  font-weight: 900;
}

.trade-clock-card p,
.trade-countdown-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: rgba(255, 241, 168, 0.68);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
}

.trade-detail-card {
  margin-bottom: 14px;
}

.trade-detail-table {
  width: 100%;
  border-collapse: collapse;
}

.trade-detail-table th,
.trade-detail-table td {
  padding: 13px 12px;
  border-bottom: 1px solid rgba(255, 196, 0, 0.14);
  color: rgba(246, 247, 248, 0.88);
  font-size: 13px;
  font-weight: 800;
  vertical-align: middle;
}

.trade-detail-table th {
  width: 44%;
  color: rgba(255, 241, 168, 0.72);
  background: rgba(255, 196, 0, 0.055);
  letter-spacing: 0.35px;
  text-transform: uppercase;
}

.trade-detail-table td {
  color: #fff7d2;
  text-align: right;
}

.trade-detail-table tr:last-child th,
.trade-detail-table tr:last-child td {
  border-bottom: 0;
}

.trade-action-button {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  border: 1px solid rgba(255, 196, 0, 0.34);
  border-radius: 8px;
  background: linear-gradient(135deg, #fff1a8, var(--gold) 58%, #d89500);
  color: #070604;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
}

.trade-action-button:hover,
.trade-action-button:focus-visible {
  transform: translateY(-1px);
  box-shadow: 0 10px 18px rgba(255, 196, 0, 0.16);
}

.trade-action-button:disabled {
  border-color: rgba(255, 196, 0, 0.12);
  background: rgba(255, 196, 0, 0.08);
  color: rgba(255, 241, 168, 0.46);
  cursor: default;
  transform: none;
  box-shadow: none;
  opacity: 1;
}

.trade-countdown-card {
  display: grid;
  justify-items: center;
  gap: 7px;
  padding: 16px 14px;
  text-align: center;
}

.trade-countdown-card span {
  color: rgba(255, 241, 168, 0.72);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.trade-countdown-card strong {
  color: #fff7d2;
  font-family: "Orbitron", "Rajdhani", sans-serif;
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
  text-shadow: 0 0 18px rgba(255, 196, 0, 0.22);
}

@keyframes hourglass-turn {
  0%,
  44% {
    transform: rotate(0deg);
  }

  50%,
  94% {
    transform: rotate(180deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

@keyframes sand-top {
  0% {
    transform: scaleY(1);
    transform-origin: top;
    opacity: 1;
  }

  80%,
  100% {
    transform: scaleY(0.18);
    transform-origin: top;
    opacity: 0.7;
  }
}

@keyframes sand-bottom {
  0% {
    transform: scaleY(0.18);
    transform-origin: bottom;
    opacity: 0.7;
  }

  80%,
  100% {
    transform: scaleY(1);
    transform-origin: bottom;
    opacity: 1;
  }
}

@keyframes sand-stream {
  0%,
  100% {
    opacity: 0.35;
    transform: scaleY(0.72);
  }

  50% {
    opacity: 1;
    transform: scaleY(1);
  }
}

.dashboard-grid {
  gap: 10px;
  margin-top: 14px;
}

.summary-card {
  min-height: 112px;
  padding: 12px;
  border-color: rgba(255, 196, 0, 0.22);
  background:
    linear-gradient(145deg, rgba(255, 196, 0, 0.09), rgba(255, 196, 0, 0.015)),
    #0c0907;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 241, 168, 0.07);
}

.summary-card::after {
  width: 62px;
  height: 62px;
  opacity: 0.46;
}

.summary-icon {
  width: 38px;
  height: 38px;
  margin-bottom: 14px;
  border-color: rgba(255, 196, 0, 0.38);
  border-radius: 8px;
  font-size: 19px;
}

.summary-icon i {
  width: 19px;
  height: 19px;
}

.summary-card strong {
  font-size: 23px;
}

.summary-card p {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.1;
  white-space: nowrap;
}

.summary-card small {
  margin-top: 5px;
  font-size: 11px;
  white-space: nowrap;
}

.dashboard-nav {
  min-height: 68px;
  padding-top: 6px;
}

.dashboard-nav a {
  height: 54px;
  font-size: 11px;
}

.dashboard-nav i {
  width: 20px;
  height: 20px;
  font-size: 20px;
}

.dashboard-nav a.active::after {
  width: 28px;
  height: 3px;
}

.app-toast {
  position: fixed;
  left: 50%;
  bottom: 86px;
  z-index: 60;
  max-width: min(340px, calc(100% - 32px));
  padding: 10px 16px;
  border: 1px solid rgba(255, 196, 0, 0.4);
  border-radius: 8px;
  background: rgba(12, 9, 4, 0.94);
  color: #fff1a8;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.2px;
  text-align: center;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.42), 0 0 22px rgba(255, 196, 0, 0.2);
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 12px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.app-toast.is-visible {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 380px) {
  .dashboard-brand {
    width: 98px;
  }

  .header-actions {
    gap: 4px;
  }

  .header-icon-btn {
    width: 31px;
    height: 31px;
  }

  .header-avatar {
    width: 36px;
    height: 36px;
  }

  .header-icon-btn.compact {
    width: 30px;
    height: 30px;
  }

  .dashboard-content {
    padding-inline: 10px;
  }

  .referral-card {
    padding: 14px;
  }

  .member-row > strong {
    min-width: 100px;
    max-width: none;
    font-size: 10px;
  }

  .summary-card {
    min-height: 106px;
    padding: 10px;
  }

  .summary-card strong {
    font-size: 21px;
  }

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

/* Full body golden animation layer */
.dashboard-shell {
  isolation: isolate;
}

.dashboard-shell::before,
.dashboard-shell::after {
  position: absolute;
  left: 0;
  width: 100%;
  height: auto;
  transform: none;
  pointer-events: none;
}

.dashboard-shell::before {
  top: 70px;
  bottom: 68px;
  background:
    radial-gradient(circle at 12% 18%, rgba(255, 196, 0, 0.34) 0 3px, transparent 5px),
    radial-gradient(circle at 86% 24%, rgba(255, 220, 96, 0.32) 0 4px, transparent 7px),
    radial-gradient(circle at 48% 44%, rgba(255, 196, 0, 0.22) 0 3px, transparent 6px),
    radial-gradient(circle at 16% 72%, rgba(255, 196, 0, 0.28) 0 4px, transparent 7px),
    radial-gradient(circle at 78% 86%, rgba(255, 220, 96, 0.26) 0 3px, transparent 6px);
  background-size: 260px 330px, 310px 280px, 230px 300px, 290px 260px, 250px 310px;
  opacity: 0.56;
  animation: full-body-gold-float 8s ease-in-out infinite;
}

.dashboard-shell::after {
  top: 70px;
  bottom: 68px;
  background:
    linear-gradient(115deg, transparent 0 46%, rgba(255, 196, 0, 0.12) 47%, transparent 48%),
    linear-gradient(25deg, transparent 0 47%, rgba(255, 196, 0, 0.08) 48%, transparent 49%),
    radial-gradient(circle, rgba(255, 196, 0, 0.12) 0 1px, transparent 2px);
  background-size: 170px 170px, 170px 170px, 42px 42px;
  opacity: 0.32;
  animation: full-body-gold-grid 16s linear infinite;
}

@keyframes full-body-gold-float {
  0%,
  100% {
    background-position: 0 0, 40px 20px, 20px 80px, 10px 120px, 60px 170px;
    opacity: 0.42;
  }

  50% {
    background-position: 18px -28px, 18px 48px, 42px 54px, -12px 96px, 36px 142px;
    opacity: 0.68;
  }
}

@keyframes full-body-gold-grid {
  0% {
    background-position: 0 0, 0 0, 0 0;
  }

  100% {
    background-position: 170px 170px, -170px 170px, 42px 42px;
  }
}

/* Golden motion inside every dashboard card */
.referral-card,
.wallet-metrics article,
.summary-card {
  position: relative;
  overflow: hidden;
}

.referral-card::before {
  z-index: 1;
}

.referral-card::after,
.wallet-metrics article::after,
.summary-card::before {
  content: "";
  position: absolute;
  inset: -35%;
  z-index: 1;
  background: linear-gradient(115deg, transparent 34%, rgba(255, 239, 170, 0.14) 45%, rgba(255, 196, 0, 0.18) 50%, transparent 62%);
  pointer-events: none;
  transform: translateX(-72%) rotate(8deg);
  animation: card-gold-sweep 5.5s ease-in-out infinite;
}

.wallet-metrics article::after {
  animation-delay: -1.4s;
}

.summary-card:nth-child(1)::before {
  animation-delay: -0.6s;
}

.summary-card:nth-child(2)::before {
  animation-delay: -1.7s;
}

.summary-card:nth-child(3)::before {
  animation-delay: -2.8s;
}

.summary-card:nth-child(4)::before {
  animation-delay: -3.9s;
}

.summary-card::after {
  z-index: 0;
}

.summary-icon,
.summary-card strong,
.summary-card p,
.summary-card small,
.wallet-metrics article span,
.wallet-metrics article strong {
  position: relative;
  z-index: 2;
}

@keyframes card-gold-sweep {
  0%,
  28% {
    opacity: 0;
    transform: translateX(-76%) rotate(8deg);
  }

  48% {
    opacity: 1;
  }

  72%,
  100% {
    opacity: 0;
    transform: translateX(76%) rotate(8deg);
  }
}

/* Static dashboard background */
.dashboard-shell {
  isolation: auto;
  background:
    radial-gradient(circle at 50% 8%, rgba(255, 196, 0, 0.1), transparent 26%),
    linear-gradient(rgba(255, 196, 0, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 196, 0, 0.045) 1px, transparent 1px),
    #050407;
  background-size: auto, 48px 48px, 48px 48px, auto;
  animation: none;
}

.dashboard-shell::before,
.dashboard-shell::after {
  animation: none;
}

.dashboard-shell::before {
  top: 70px;
  height: calc(100vh - 140px);
  background:
    radial-gradient(circle at 70% 8%, rgba(255, 196, 0, 0.26) 0 3px, transparent 5px),
    radial-gradient(circle at 96% 20%, rgba(255, 196, 0, 0.28) 0 5px, transparent 7px),
    radial-gradient(circle at 48% 66%, rgba(255, 196, 0, 0.2) 0 4px, transparent 6px);
  opacity: 0.4;
}

.dashboard-shell::after {
  top: 70px;
  height: 620px;
  background-size: 150px 150px;
  opacity: 0.2;
}

.dashboard-content {
  z-index: 2;
}

.referral-card,
.wallet-metrics article,
.summary-card {
  backdrop-filter: blur(7px);
}

.referral-card {
  background:
    linear-gradient(135deg, rgba(255, 196, 0, 0.18), rgba(255, 196, 0, 0.035)),
    rgba(18, 12, 4, 0.84);
}

.referral-box,
.wallet-metrics article,
.summary-card {
  background:
    linear-gradient(145deg, rgba(255, 196, 0, 0.1), rgba(255, 196, 0, 0.018)),
    rgba(6, 5, 4, 0.78);
}

.referral-card::after,
.wallet-metrics article::after,
.summary-card::before {
  content: none;
  animation: none;
}

.invest-shell {
  min-height: 100vh;
}

.page-header {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 40;
  width: min(100%, 430px);
  height: 70px;
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(4, 3, 7, 0.95);
  border-bottom: 1px solid rgba(255, 196, 0, 0.22);
  backdrop-filter: blur(16px);
}

.page-header h1 {
  margin: 0;
  color: var(--silver);
  font-family: "Orbitron", "Rajdhani", sans-serif;
  font-size: 16px;
  font-weight: 800;
  text-align: center;
}

.page-icon-btn {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 196, 0, 0.28);
  border-radius: 50%;
  background: linear-gradient(180deg, #12100b, #070606);
  color: #ffe99a;
  font-size: 19px;
  text-decoration: none;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.page-icon-btn i {
  width: 19px;
  height: 19px;
}

.page-icon-btn:hover,
.page-icon-btn:focus-visible {
  border-color: rgba(255, 196, 0, 0.62);
  color: var(--gold);
  box-shadow: 0 0 16px rgba(255, 196, 0, 0.2);
  transform: translateY(-1px);
}

.invest-content {
  position: relative;
  z-index: 2;
  padding: 86px 14px 24px;
}

.invest-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 14px;
  padding: 5px;
  border: 1px solid rgba(255, 196, 0, 0.2);
  border-radius: 8px;
  background: rgba(7, 6, 5, 0.82);
}

.history-tabs {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}

.history-tabs .invest-tab {
  min-height: 39px;
  padding-inline: 6px;
  font-size: 13px;
  line-height: 1.1;
}

.invest-tab {
  min-height: 42px;
  border: 0;
  border-radius: 7px;
  background: transparent;
  color: rgba(255, 241, 168, 0.62);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0.2px;
  transition: color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.invest-tab.active {
  background: linear-gradient(135deg, #fff1a8, var(--gold) 58%, #d89500);
  color: #070604;
  box-shadow: 0 12px 22px rgba(255, 196, 0, 0.18);
}

.tab-panel {
  animation: tab-fade 0.22s ease;
}

.fund-card {
  min-height: 132px;
  position: relative;
  overflow: hidden;
  padding: 15px;
  border: 1px solid rgba(255, 196, 0, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 196, 0, 0.14), rgba(255, 196, 0, 0.025)),
    linear-gradient(145deg, #151007 0%, #0b0906 100%);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.36), inset 0 1px 0 rgba(255, 241, 168, 0.08);
}

.fund-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 196, 0, 0.55), transparent);
}

.card-chip {
  width: 34px;
  height: 24px;
  position: absolute;
  top: 14px;
  right: 15px;
  display: block;
  border: 1px solid rgba(255, 241, 168, 0.28);
  border-radius: 6px;
  background:
    linear-gradient(90deg, transparent 47%, rgba(112, 74, 0, 0.52) 48% 52%, transparent 53%),
    linear-gradient(0deg, transparent 47%, rgba(112, 74, 0, 0.44) 48% 52%, transparent 53%),
    linear-gradient(135deg, #fff1a8, var(--gold) 56%, #b97800);
}

.fund-card-top,
.fund-card-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.fund-card-top span,
.fund-card-bottom span {
  color: rgba(255, 241, 168, 0.68);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.42px;
  text-transform: uppercase;
}

.fund-card-top i {
  width: 22px;
  height: 22px;
  color: var(--gold);
  font-size: 22px;
}

.fund-card strong {
  position: relative;
  z-index: 1;
  display: block;
  margin: 12px 0 18px;
  color: #fff7d2;
  font-family: "Orbitron", "Rajdhani", sans-serif;
  font-size: 28px;
  font-weight: 900;
}

.investment-form {
  display: grid;
  gap: 15px;
  margin-top: 16px;
  padding: 15px;
  border: 1px solid rgba(255, 196, 0, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 196, 0, 0.08), rgba(255, 196, 0, 0.015)),
    rgba(6, 5, 4, 0.78);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.35);
}

.amount-wrap input {
  font-family: "Orbitron", "Rajdhani", sans-serif;
}

.amount-max-button {
  width: 58px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-left: 1px solid rgba(255, 196, 0, 0.18);
  background: linear-gradient(180deg, rgba(255, 210, 61, 0.18), rgba(255, 196, 0, 0.06));
  color: #ffe478;
  font-family: "Orbitron", "Rajdhani", sans-serif;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.amount-max-button:hover,
.amount-max-button:focus-visible {
  background: linear-gradient(180deg, rgba(255, 215, 64, 0.28), rgba(255, 196, 0, 0.12));
  color: #fff7d2;
  box-shadow: inset 0 0 16px rgba(255, 196, 0, 0.12);
}

.invest-now-button {
  width: 100%;
}

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

.history-item {
  min-height: 78px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px 12px;
  padding: 12px;
  border: 1px solid rgba(255, 196, 0, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 196, 0, 0.08), rgba(255, 196, 0, 0.015)),
    rgba(6, 5, 4, 0.78);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.32);
}

.history-item h2,
.history-item p {
  margin: 0;
}

.history-item h2 {
  color: var(--silver);
  font-size: 16px;
  font-weight: 800;
}

.history-item p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.history-item strong {
  color: #fff7d2;
  font-family: "Orbitron", "Rajdhani", sans-serif;
  font-size: 15px;
  font-weight: 900;
  white-space: nowrap;
}

.status-badge {
  grid-column: 1 / -1;
  justify-self: start;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.status-badge.success {
  background: rgba(18, 234, 199, 0.12);
  color: var(--cyan);
}

.status-badge.pending {
  background: rgba(255, 196, 0, 0.12);
  color: var(--gold);
}

.history-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
}

.history-pagination button {
  min-width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 196, 0, 0.22);
  border-radius: 8px;
  background: rgba(7, 6, 5, 0.82);
  color: rgba(255, 241, 168, 0.72);
  font-weight: 800;
}

.history-pagination button.active,
.history-pagination button:hover,
.history-pagination button:focus-visible {
  background: linear-gradient(135deg, #fff1a8, var(--gold) 58%, #d89500);
  color: #070604;
}

.profile-content {
  padding-bottom: 96px;
}

.profile-card {
  position: relative;
  overflow: hidden;
  padding: 16px;
  border: 1px solid rgba(255, 196, 0, 0.28);
  border-radius: 8px;
  background:
    radial-gradient(circle at 88% 3%, rgba(255, 196, 0, 0.16), transparent 30%),
    linear-gradient(145deg, rgba(255, 196, 0, 0.13), rgba(255, 196, 0, 0.025)),
    rgba(7, 6, 5, 0.86);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.42), inset 0 1px 0 rgba(255, 241, 168, 0.09);
}

.profile-card::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 196, 0, 0.6), transparent);
}

.profile-card-top {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 66px minmax(0, 1fr);
  align-items: center;
  gap: 13px;
  margin-bottom: 15px;
}

.profile-avatar-large {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 196, 0, 0.58);
  border-radius: 8px;
  background: linear-gradient(135deg, #fff1a8, var(--gold) 58%, #d89500);
  color: #070604;
  font-family: "Orbitron", "Rajdhani", sans-serif;
  font-size: 20px;
  font-weight: 900;
  box-shadow: 0 12px 22px rgba(255, 196, 0, 0.18);
}

.profile-status {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 5px;
  padding: 4px 9px;
  border: 1px solid rgba(18, 234, 199, 0.22);
  border-radius: 999px;
  background: rgba(18, 234, 199, 0.08);
  color: var(--cyan);
  font-size: 11px;
  font-weight: 900;
  line-height: 1;
}

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

.profile-card h2 {
  color: #fff7d2;
  font-family: "Orbitron", "Rajdhani", sans-serif;
  font-size: 25px;
  font-weight: 900;
  line-height: 1.05;
}

.profile-card p {
  margin-top: 4px;
  color: rgba(255, 241, 168, 0.66);
  font-size: 14px;
  font-weight: 700;
}

.profile-details-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.profile-details-grid article {
  min-height: 66px;
  display: grid;
  align-content: center;
  padding: 10px;
  border: 1px solid rgba(255, 196, 0, 0.14);
  border-radius: 8px;
  background: rgba(4, 4, 4, 0.5);
}

.profile-details-grid span {
  color: rgba(255, 241, 168, 0.6);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.profile-details-grid strong {
  min-width: 0;
  margin-top: 4px;
  color: #fff7d2;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.1;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-details-grid .profile-verified-badge {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 9px;
  border: 1px solid rgba(18, 234, 199, 0.28);
  border-radius: 999px;
  background: rgba(18, 234, 199, 0.1);
  color: var(--cyan);
  box-shadow: 0 0 14px rgba(18, 234, 199, 0.12);
}

.profile-verified-badge i {
  width: 14px;
  height: 14px;
  font-size: 14px;
}

.profile-options {
  display: grid;
  gap: 9px;
  margin-top: 14px;
}

.profile-option {
  width: 100%;
  min-height: 58px;
  display: grid;
  grid-template-columns: 40px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 196, 0, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 196, 0, 0.08), rgba(255, 196, 0, 0.015)),
    rgba(6, 5, 4, 0.78);
  color: inherit;
  font-family: inherit;
  text-decoration: none;
  text-align: left;
  cursor: pointer;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
  transition: border-color 0.18s ease, transform 0.18s ease, background 0.18s ease;
}

.profile-option:hover,
.profile-option:focus-visible {
  border-color: rgba(255, 196, 0, 0.42);
  background:
    linear-gradient(145deg, rgba(255, 196, 0, 0.12), rgba(255, 196, 0, 0.025)),
    rgba(8, 6, 4, 0.86);
  transform: translateY(-1px);
}

.profile-option span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 196, 0, 0.34);
  border-radius: 8px;
  background: rgba(255, 196, 0, 0.09);
  color: var(--gold);
  font-size: 18px;
}

.profile-option span i,
.profile-option > i {
  width: 18px;
  height: 18px;
}

.profile-option strong {
  color: #fff7d2;
  font-size: 16px;
  font-weight: 900;
}

.profile-option > i {
  color: rgba(255, 196, 0, 0.72);
  font-size: 18px;
}

.profile-option.danger span {
  border-color: rgba(255, 196, 0, 0.42);
  background: linear-gradient(135deg, #fff1a8, var(--gold) 58%, #d89500);
  color: #070604;
}

.edit-profile-content {
  padding-bottom: 34px;
}

.edit-profile-card {
  padding: 16px;
  border: 1px solid rgba(255, 196, 0, 0.22);
  border-radius: 8px;
  background:
    radial-gradient(circle at 90% 0%, rgba(255, 196, 0, 0.14), transparent 30%),
    linear-gradient(145deg, rgba(255, 196, 0, 0.09), rgba(255, 196, 0, 0.018)),
    rgba(6, 5, 4, 0.82);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.38), inset 0 1px 0 rgba(255, 241, 168, 0.08);
}

.edit-photo-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 196, 0, 0.12);
}

.photo-upload-button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 13px;
  border: 1px solid rgba(255, 196, 0, 0.28);
  border-radius: 8px;
  background: rgba(255, 196, 0, 0.08);
  color: #fff1a8;
  font-size: 14px;
  font-weight: 900;
  line-height: 1;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.18s ease;
}

.photo-upload-button:hover,
.photo-upload-button:focus-within {
  border-color: rgba(255, 196, 0, 0.52);
  background: rgba(255, 196, 0, 0.13);
  transform: translateY(-1px);
}

.photo-upload-button i {
  width: 16px;
  height: 16px;
  font-size: 16px;
}

.photo-upload-button input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.edit-profile-form {
  display: grid;
  gap: 12px;
}

.edit-profile-actions {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 9px;
  margin-top: 6px;
}

.profile-cancel-button {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 196, 0, 0.22);
  border-radius: 8px;
  background: rgba(7, 6, 5, 0.82);
  color: rgba(255, 241, 168, 0.76);
  font-size: 15px;
  font-weight: 900;
  text-decoration: none;
  transition: border-color 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

.profile-cancel-button:hover,
.profile-cancel-button:focus-visible {
  border-color: rgba(255, 196, 0, 0.46);
  color: #fff1a8;
  transform: translateY(-1px);
}

.edit-save-button {
  width: 100%;
  margin-top: 0;
}

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

.password-security-head {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 196, 0, 0.12);
}

.password-security-head > span {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 196, 0, 0.42);
  border-radius: 8px;
  background: linear-gradient(135deg, #fff1a8, var(--gold) 58%, #d89500);
  color: #070604;
  font-size: 22px;
}

.password-security-head i {
  width: 22px;
  height: 22px;
}

.password-security-head h2,
.password-security-head p {
  margin: 0;
}

.password-security-head h2 {
  color: #fff7d2;
  font-family: "Orbitron", "Rajdhani", sans-serif;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.1;
}

.password-security-head p {
  margin-top: 5px;
  color: rgba(255, 241, 168, 0.66);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

.password-note {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 196, 0, 0.16);
  border-radius: 8px;
  background: rgba(255, 196, 0, 0.07);
  color: rgba(255, 241, 168, 0.76);
  font-size: 13px;
  font-weight: 800;
}

.password-note i {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  color: var(--gold);
  font-size: 16px;
}

.wallet-warning {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  padding: 13px;
  border: 1px solid rgba(255, 196, 0, 0.36);
  border-radius: 8px;
  background:
    radial-gradient(circle at 92% 0%, rgba(255, 196, 0, 0.18), transparent 28%),
    linear-gradient(145deg, rgba(255, 196, 0, 0.12), rgba(255, 196, 0, 0.03)),
    rgba(8, 5, 2, 0.9);
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.36), 0 0 20px rgba(255, 196, 0, 0.08);
}

.wallet-warning > span {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 196, 0, 0.46);
  border-radius: 8px;
  background: linear-gradient(135deg, #fff1a8, var(--gold) 58%, #d89500);
  color: #070604;
  font-size: 21px;
}

.wallet-warning i {
  width: 21px;
  height: 21px;
}

.wallet-warning h2,
.wallet-warning p {
  margin: 0;
}

.wallet-warning h2 {
  color: #fff7d2;
  font-family: "Orbitron", "Rajdhani", sans-serif;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.1;
}

.wallet-warning p {
  margin-top: 5px;
  color: #ffe99a;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.2;
}

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

.wallet-security-head > span {
  border-color: rgba(18, 234, 199, 0.3);
  background: rgba(18, 234, 199, 0.11);
  color: var(--cyan);
}

.wallet-format-note {
  min-height: 42px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid rgba(18, 234, 199, 0.18);
  border-radius: 8px;
  background: rgba(18, 234, 199, 0.07);
  color: rgba(210, 255, 247, 0.8);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.2;
}

.wallet-format-note i {
  flex: 0 0 auto;
  width: 16px;
  height: 16px;
  color: var(--cyan);
  font-size: 16px;
}

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

.team-stats article,
.team-item,
.level-item {
  border: 1px solid rgba(255, 196, 0, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 196, 0, 0.08), rgba(255, 196, 0, 0.015)),
    rgba(6, 5, 4, 0.78);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.32);
}

.team-stats article {
  min-height: 82px;
  display: grid;
  align-content: center;
  padding: 12px;
}

.team-stats span,
.level-item span {
  color: rgba(255, 241, 168, 0.68);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.35px;
  text-transform: uppercase;
}

.team-stats strong {
  margin-top: 4px;
  color: #fff7d2;
  font-family: "Orbitron", "Rajdhani", sans-serif;
  font-size: 27px;
  font-weight: 900;
}

.team-list,
.level-list {
  display: grid;
  gap: 10px;
}

.team-item {
  min-height: 82px;
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 12px;
}

.team-avatar {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 196, 0, 0.34);
  border-radius: 50%;
  background: linear-gradient(135deg, #fff1a8, var(--gold) 58%, #d89500);
  color: #070604;
  font-family: "Orbitron", "Rajdhani", sans-serif;
  font-size: 16px;
  font-weight: 900;
}

.team-item h2,
.team-item p,
.level-item p {
  margin: 0;
}

.team-item h2 {
  color: var(--silver);
  font-size: 16px;
  font-weight: 800;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.team-item p,
.level-item p {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.team-item > strong,
.level-item strong {
  color: #fff7d2;
  font-family: "Orbitron", "Rajdhani", sans-serif;
  font-size: 15px;
  font-weight: 900;
  white-space: nowrap;
}

.team-item .status-badge {
  grid-column: 2 / -1;
  justify-self: start;
}

.level-item {
  min-height: 86px;
  display: grid;
  gap: 3px;
  padding: 13px;
}

.level-item strong {
  font-size: 21px;
}

.team-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(255, 196, 0, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 196, 0, 0.08), rgba(255, 196, 0, 0.015)),
    rgba(6, 5, 4, 0.78);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.32);
}

.team-table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  color: var(--text);
}

.level-table {
  min-width: 430px;
}

.history-table {
  min-width: 540px;
}

.team-table th,
.team-table td {
  padding: 11px 12px;
  border-bottom: 1px solid rgba(255, 196, 0, 0.12);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.team-table th {
  color: #fff1a8;
  background: rgba(255, 196, 0, 0.08);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.team-table td {
  color: rgba(246, 247, 248, 0.88);
}

.team-table td:nth-child(2),
.team-table td:nth-child(4),
.level-table td:nth-child(3),
.level-table td:nth-child(4) {
  color: #fff7d2;
  font-family: "Orbitron", "Rajdhani", sans-serif;
  font-size: 12px;
}

.team-table tr:last-child td {
  border-bottom: 0;
}

.team-table .status-badge {
  display: inline-flex;
  grid-column: auto;
  justify-self: auto;
}

.team-table-wrap .dataTables_wrapper {
  padding: 10px;
  color: var(--muted);
  font-family: "Rajdhani", "Segoe UI", system-ui, sans-serif;
}

.team-table-wrap .dataTables_filter {
  float: none;
  margin-bottom: 10px;
  text-align: left;
}

.team-table-wrap .dataTables_filter label {
  width: 100%;
  color: var(--muted);
  font-size: 0;
}

.team-table-wrap .dataTables_filter input {
  width: 100%;
  min-height: 42px;
  margin: 0;
  padding: 8px 12px;
  border: 1px solid rgba(255, 196, 0, 0.22);
  border-radius: 8px;
  background: rgba(7, 6, 5, 0.82);
  color: var(--text);
  font-size: 15px;
  font-weight: 700;
  outline: 0;
}

.team-table-wrap .dataTables_filter input:focus {
  border-color: rgba(255, 196, 0, 0.58);
  box-shadow: 0 0 0 3px rgba(255, 196, 0, 0.1);
}

.team-table-wrap .dataTables_paginate {
  float: none;
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 12px;
  padding-top: 0;
}

.team-table-wrap .dataTables_wrapper .dataTables_paginate .paginate_button {
  min-width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  margin: 0;
  padding: 0 10px;
  border: 1px solid rgba(255, 196, 0, 0.22);
  border-radius: 8px;
  background: rgba(7, 6, 5, 0.82);
  color: rgba(255, 241, 168, 0.78) !important;
  font-weight: 800;
}

.team-table-wrap .dataTables_wrapper .dataTables_paginate .paginate_button.current,
.team-table-wrap .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover,
.team-table-wrap .dataTables_wrapper .dataTables_paginate .paginate_button:hover {
  border-color: rgba(255, 196, 0, 0.52);
  background: linear-gradient(135deg, #fff1a8, var(--gold) 58%, #d89500);
  color: #070604 !important;
}

.team-table-wrap .dataTables_wrapper .dataTables_paginate .paginate_button.disabled,
.team-table-wrap .dataTables_wrapper .dataTables_paginate .paginate_button.disabled:hover {
  border-color: rgba(255, 196, 0, 0.1);
  background: rgba(7, 6, 5, 0.42);
  color: rgba(255, 241, 168, 0.28) !important;
}

.team-table-wrap table.dataTable {
  border-collapse: collapse !important;
}

.team-table-wrap table.dataTable thead th {
  border-bottom: 1px solid rgba(255, 196, 0, 0.18);
}

.team-table-wrap table.dataTable.no-footer {
  border-bottom: 0;
}

.team-table-wrap .dataTables_empty {
  color: var(--muted);
}

@keyframes tab-fade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 360px) {
  .page-header {
    grid-template-columns: 40px 1fr 40px;
    padding-inline: 10px;
  }

  .page-header h1 {
    font-size: 14px;
  }

  .invest-content {
    padding-inline: 10px;
  }

  .fund-card {
    min-height: 126px;
    padding: 14px;
  }

  .fund-card strong {
    font-size: 25px;
  }
}
