:root {
  color-scheme: dark;
  --bg: #020604;
  --panel: #06100b;
  --panel-2: #0a1a10;
  --line: rgba(116, 255, 74, 0.3);
  --text: #f7f7f7;
  --muted: #b0b8aa;
  --gold: #f5c64a;
  --gold-2: #ffe893;
  --blue: #76f84c;
  --green: #74f849;
  --green-2: #25b72c;
  --green-soft: rgba(116, 248, 73, 0.16);
  --pink: #f5c64a;
  --danger: #ff5c70;
  --shadow: 0 22px 60px rgba(5, 255, 72, 0.14), 0 22px 70px rgba(0, 0, 0, 0.48);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 18% 0%, rgba(116, 248, 73, 0.16), transparent 34%),
    radial-gradient(circle at 86% 18%, rgba(245, 198, 74, 0.12), transparent 34%),
    radial-gradient(circle at 50% 100%, rgba(37, 183, 44, 0.12), transparent 38%),
    linear-gradient(145deg, #000201, #031009 48%, #020504);
  color: var(--text);
  font-family: Inter, Segoe UI, Roboto, Arial, sans-serif;
}

button,
input,
textarea,
select {
  font: inherit;
}

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

button {
  cursor: pointer;
}

.app {
  width: min(100%, 1220px);
  margin: 0 auto;
  min-height: 100vh;
  padding: 18px 18px 104px;
}

.topbar {
  display: grid;
  grid-template-columns: auto minmax(120px, 1fr) auto auto auto;
  gap: 14px;
  align-items: center;
  position: sticky;
  top: 0;
  z-index: 20;
  padding: 10px 0 18px;
  backdrop-filter: blur(18px);
}

.admin-shell .topbar {
  grid-template-columns: auto minmax(120px, 1fr) auto auto auto;
}

.admin-shell {
  width: 100%;
  max-width: none;
  height: 100vh;
  overflow: hidden;
  padding: 18px 32px;
}

.admin-menu-button,
.admin-mobile-head,
.admin-mobile-links,
.admin-menu-scrim {
  display: none;
}

.brand,
.drawer-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand {
  border: 0;
  background: transparent;
  color: var(--text);
  text-align: left;
  padding: 0;
}

.brand-mark {
  width: 58px;
  height: 58px;
  display: inline-grid;
  place-items: center;
  border: 2px solid rgba(255, 226, 125, 0.75);
  border-radius: 50%;
  color: #080808;
  font-weight: 950;
  letter-spacing: -2px;
  background:
    linear-gradient(140deg, #fff3ac, #b87509 42%, #ffcd3c 70%, #8d5207),
    #d89918;
  box-shadow: inset 0 -10px 16px rgba(0, 0, 0, 0.3), 0 0 26px rgba(248, 189, 41, 0.28);
}

.site-logo {
  width: 210px;
  max-width: 42vw;
  height: 58px;
  object-fit: contain;
  object-position: left center;
}

.brand strong {
  display: block;
  font-size: clamp(1.28rem, 4vw, 2.1rem);
  font-style: italic;
  line-height: 1;
}

.brand strong span,
.gold {
  color: var(--gold);
}

.brand small,
.drawer-head small,
.launch-timer small {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.launch-timer {
  justify-self: center;
  min-width: 142px;
  text-align: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 9px 14px;
  background: rgba(16, 20, 27, 0.72);
}

.launch-timer strong {
  color: var(--gold-2);
  font-size: 0.94rem;
}

.admin-link,
.menu-button,
.icon-button,
.ghost-button,
.primary-button {
  border: 1px solid var(--line);
  color: var(--text);
  background: rgba(16, 20, 27, 0.82);
}

.admin-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 11px 16px;
}

.menu-button {
  width: 54px;
  height: 48px;
  border: 0;
  background: transparent;
  display: grid;
  gap: 6px;
  padding: 10px 6px;
}

.menu-button span {
  display: block;
  height: 5px;
  border-radius: 999px;
  background: #e9e9e9;
}

.drawer,
.scrim,
.modal-backdrop {
  position: fixed;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: 180ms ease;
}

.drawer {
  inset: 0 auto 0 0;
  width: min(360px, 84vw);
  padding: 22px;
  z-index: 50;
  transform: translateX(-100%);
  background: #0b0f15;
  border-right: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.drawer.open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.scrim {
  z-index: 45;
  background: rgba(0, 0, 0, 0.56);
}

.scrim.open {
  opacity: 1;
  pointer-events: auto;
}

.drawer nav {
  display: grid;
  gap: 8px;
  margin-top: 28px;
}

.drawer nav a,
.drawer nav button,
.admin-row button,
.quick-card,
.explore-card,
.nav-card,
.table-row {
  border: 1px solid rgba(248, 189, 41, 0.38);
  color: var(--text);
  background: rgba(255, 255, 255, 0.035);
  box-shadow: 0 10px 24px rgba(248, 189, 41, 0.08);
}

.drawer nav a,
.drawer nav button {
  display: block;
  border-radius: 14px;
  padding: 14px;
  text-align: left;
}

.dashboard {
  display: grid;
  gap: 18px;
}

.public-home {
  display: grid;
  gap: 22px;
}

.public-hero {
  position: relative;
  overflow: hidden;
  min-height: 430px;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: clamp(24px, 4vw, 46px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) 0.9fr;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(5, 8, 13, 0.98), rgba(5, 8, 13, 0.52)),
    var(--hero-image, linear-gradient(transparent, transparent)),
    radial-gradient(circle at 76% 44%, rgba(248, 189, 41, 0.36), transparent 28%),
    #080b10;
  background-size: cover, cover, auto, auto;
  background-position: center, center, center, center;
  box-shadow: var(--shadow);
}

.public-hero h1 {
  margin: 0;
  max-width: 720px;
  font-size: clamp(2.4rem, 8vw, 5rem);
  line-height: 0.98;
}

.public-hero h1 span,
.landing-section h2 span {
  color: var(--gold);
}

.public-hero p {
  max-width: 470px;
  margin: 22px 0 28px;
  color: #dedede;
  font-size: clamp(1.05rem, 2.5vw, 1.45rem);
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-actions a,
.refer-band a {
  gap: 10px;
}

.public-coin {
  position: static;
  justify-self: center;
  transform: none;
  width: min(310px, 42vw);
  opacity: 1;
}

.hero-coin-image {
  position: absolute;
  right: clamp(-12px, 5vw, 42px);
  top: 50%;
  width: clamp(118px, 22vw, 260px);
  aspect-ratio: 1;
  object-fit: contain;
  transform: translateY(-50%);
  filter: drop-shadow(0 0 34px rgba(248, 189, 41, 0.45));
}

.hero-coin-image.public-coin {
  position: static;
  transform: none;
  justify-self: center;
  width: min(330px, 42vw);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.feature-card {
  min-height: 240px;
  border: 1px solid rgba(248, 189, 41, 0.38);
  border-radius: 16px;
  padding: 24px;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  text-align: center;
  background: rgba(255, 255, 255, 0.025);
  box-shadow: 0 14px 34px rgba(248, 189, 41, 0.1);
}

.feature-card span,
.public-stats article > span,
.how-grid article > span {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid currentColor;
  background: rgba(255, 255, 255, 0.04);
  font-size: 2rem;
}

.feature-card h3 {
  margin: 0;
}

.feature-card p {
  margin: 0;
  color: #e0e0e0;
  line-height: 1.45;
}

.feature-card.gold,
.gold {
  color: var(--gold);
}

.public-stats {
  border: 1px solid rgba(248, 189, 41, 0.38);
  border-radius: 18px;
  padding: 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  background: rgba(16, 20, 27, 0.78);
  box-shadow: var(--shadow), 0 12px 34px rgba(248, 189, 41, 0.14);
}

.public-stats article {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

.public-stats small {
  display: block;
  color: var(--muted);
}

.public-stats strong {
  display: block;
  margin-top: 6px;
  color: var(--gold);
  font-size: clamp(1.2rem, 3vw, 1.8rem);
}

.landing-section {
  display: grid;
  gap: 18px;
  text-align: center;
}

.landing-section h2 {
  margin: 8px 0 0;
  font-size: clamp(1.8rem, 4.5vw, 2.5rem);
}

.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  text-align: left;
}

.plan-card {
  position: relative;
  border: 1px solid rgba(248, 189, 41, 0.38);
  border-radius: 16px;
  padding: 24px;
  display: grid;
  gap: 10px;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: 0 14px 34px rgba(248, 189, 41, 0.1);
}

.plan-card.popular {
  border-color: var(--gold);
  box-shadow: 0 0 24px rgba(248, 189, 41, 0.2);
}

.popular-badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 8px;
  padding: 7px 18px;
  color: #1b1200;
  background: var(--gold);
  font-weight: 850;
}

.plan-card h3 {
  margin: 0;
}

.plan-card strong {
  color: var(--gold);
  font-size: 2.2rem;
}

.plan-card ul {
  display: grid;
  gap: 10px;
  padding: 0;
  margin: 12px 0;
  list-style: none;
}

.plan-card li i {
  color: var(--gold);
  margin-right: 8px;
}

.how-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.how-grid article {
  display: grid;
  justify-items: center;
  gap: 10px;
}

.how-grid h3,
.how-grid p {
  margin: 0;
}

.how-grid p {
  color: #dfdfdf;
}

.refer-band {
  border: 1px solid rgba(219, 88, 255, 0.5);
  border-radius: 18px;
  padding: 24px;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 24px;
  align-items: center;
  background: linear-gradient(135deg, rgba(219, 88, 255, 0.18), rgba(20, 10, 36, 0.78));
}

.refer-band h2 {
  margin: 0 0 12px;
  color: var(--pink);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.welcome-card,
.mining-banner,
.coin-total,
.section-panel,
.admin-panel,
.profile-panel {
  border: 1px solid rgba(248, 189, 41, 0.45);
  border-radius: 18px;
  background: rgba(16, 20, 27, 0.78);
  box-shadow: var(--shadow), 0 12px 34px rgba(248, 189, 41, 0.16);
}

.welcome-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  padding: 20px;
}

.user-chip {
  display: flex;
  gap: 16px;
  align-items: center;
  min-width: 0;
}

.avatar {
  position: relative;
  width: 78px;
  height: 78px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 3px solid var(--gold);
  background: linear-gradient(#f8bf32, #744405);
  color: #111;
  font-size: 0;
}

.avatar-img {
  object-fit: cover;
  padding: 0;
  background: #111;
}

.avatar-img::before,
.avatar-img::after {
  display: none;
}

.avatar::before,
.avatar::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  background: #151006;
  opacity: 0.82;
}

.avatar::before {
  top: 16px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
}

.avatar::after {
  bottom: 14px;
  width: 48px;
  height: 30px;
  border-radius: 28px 28px 10px 10px;
}

.welcome-card h1,
.wallet-box strong,
.stat-value {
  color: var(--gold);
}

.welcome-card h1 {
  margin: 4px 0;
  font-size: clamp(1.35rem, 5vw, 2.2rem);
}

.copy-line {
  color: var(--muted);
}

.copy-line button {
  margin-left: 6px;
}

.wallet-box {
  display: block;
  min-width: 170px;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
  background: #090b10;
}

.wallet-box span,
.metric span,
.table-head,
.muted {
  color: var(--muted);
}

.wallet-box strong {
  display: block;
  margin-top: 7px;
  font-size: 1.85rem;
}

.wallet-box strong.break-text {
  font-size: 0.85rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.wallet-box .primary-button {
  width: 100%;
  margin-top: 12px;
}

.wallet-box .ghost-button {
  width: 100%;
  margin-top: 8px;
}

.wallet-box small {
  display: block;
  margin-top: 8px;
}

.wallet-status-panel {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.wallet-status-panel div {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 10px;
  background: rgba(255, 255, 255, 0.03);
  min-width: 0;
}

.wallet-status-panel span,
.wallet-status-panel strong {
  display: block;
}

.wallet-status-panel span {
  color: var(--muted);
  font-size: 0.78rem;
}

.wallet-status-panel strong {
  margin-top: 4px;
  overflow-wrap: anywhere;
}

.mining-banner {
  position: relative;
  overflow: hidden;
  min-height: 224px;
  padding: 30px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(5, 8, 13, 0.95), rgba(5, 8, 13, 0.42)),
    var(--hero-image, linear-gradient(transparent, transparent)),
    radial-gradient(circle at 78% 45%, rgba(255, 200, 53, 0.26), transparent 28%),
    #080b10;
  background-size: cover, cover, auto, auto;
  background-position: center, center, center, center;
}

.mining-banner h2 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 8vw, 4.7rem);
  line-height: 0.95;
}

.mining-banner p {
  margin: 8px 0;
  font-size: clamp(1rem, 3.8vw, 1.42rem);
  font-weight: 800;
}

.coin-art {
  position: absolute;
  right: clamp(-12px, 5vw, 42px);
  top: 50%;
  width: clamp(118px, 22vw, 215px);
  aspect-ratio: 1;
  transform: translateY(-50%);
  border: 10px solid #d69413;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #251400;
  font-size: clamp(2.8rem, 10vw, 6rem);
  font-weight: 950;
  background: radial-gradient(circle at 36% 28%, #fff1a8, #f5b828 36%, #8b4e06 76%);
  box-shadow: 0 0 34px rgba(248, 189, 41, 0.45);
  opacity: 0.84;
}

.quick-actions,
.overview-grid,
.explore-grid,
.admin-grid,
.metrics-grid {
  display: grid;
  gap: 14px;
}

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

.quick-card,
.explore-card,
.metric,
.nav-card {
  border-radius: 16px;
  padding: 18px;
}

.quick-card {
  min-height: 116px;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 800;
  font-size: clamp(0.95rem, 3vw, 1.25rem);
}

.quick-card span,
.explore-art,
.metric-icon {
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.07);
  font-size: 1.8rem;
}

.blue {
  color: var(--blue);
}

.pink {
  color: var(--pink);
}

.green {
  color: var(--green);
}

.quick-card.blue {
  background: linear-gradient(135deg, rgba(38, 169, 255, 0.22), rgba(38, 169, 255, 0.05));
}

.quick-card.pink {
  background: linear-gradient(135deg, rgba(219, 88, 255, 0.23), rgba(219, 88, 255, 0.05));
}

.quick-card.green {
  background: linear-gradient(135deg, rgba(62, 223, 118, 0.23), rgba(62, 223, 118, 0.05));
}

.coin-total {
  display: flex;
  gap: 18px;
  align-items: center;
  padding: 24px;
}

.coin-stack {
  width: 92px;
  height: 72px;
  position: relative;
}

.coin-stack::before,
.coin-stack::after,
.coin-stack span {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(#ffdc72, #ba7508);
  border: 2px solid #ffd65a;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.35);
}

.coin-stack::before {
  width: 58px;
  height: 28px;
  left: 6px;
  bottom: 4px;
}

.coin-stack::after {
  width: 52px;
  height: 26px;
  left: 28px;
  bottom: 22px;
}

.coin-stack span {
  width: 34px;
  height: 18px;
  left: 52px;
  bottom: 0;
}

.coin-total strong {
  display: block;
  margin-top: 10px;
  color: var(--gold);
  font-size: clamp(1.55rem, 5vw, 2.1rem);
}

.section-title {
  margin: 14px 0 0;
  font-size: clamp(1.35rem, 4vw, 1.9rem);
}

.overview-grid,
.explore-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.metric {
  display: flex;
  gap: 16px;
  align-items: center;
  border: 1px solid rgba(248, 189, 41, 0.38);
  background: rgba(255, 255, 255, 0.045);
  box-shadow: 0 14px 34px rgba(248, 189, 41, 0.1);
}

.stat-value {
  display: block;
  margin-top: 8px;
  font-size: clamp(1.45rem, 5vw, 2.05rem);
  font-weight: 850;
}

.explore-card {
  min-height: 192px;
  display: grid;
  grid-template-columns: 0.9fr 1.15fr;
  gap: 14px;
  align-items: center;
  text-align: left;
}

.explore-card h3 {
  margin: 0 0 10px;
  font-size: clamp(1.35rem, 4.4vw, 1.9rem);
}

.explore-card p {
  color: #d8d8d8;
  line-height: 1.48;
}

.explore-card button,
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 12px;
  padding: 13px 18px;
  background: linear-gradient(135deg, var(--gold), #f6a915);
  color: #181000;
  font-weight: 850;
}

.explore-card:nth-child(2) button,
.explore-card:nth-child(2) .primary-button {
  background: linear-gradient(135deg, #ce58ff, #6a33d4);
  color: white;
}

.explore-art {
  width: 100%;
  height: 150px;
  font-size: 4.2rem;
  background:
    radial-gradient(circle at 42% 42%, rgba(248, 189, 41, 0.34), transparent 36%),
    rgba(255, 255, 255, 0.06);
}

.section-panel,
.admin-panel,
.profile-panel {
  padding: 22px;
}

.page-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 18px;
}

.page-head h1,
.modal h2,
.admin-panel h2 {
  margin: 0;
}

.metrics-grid {
  grid-template-columns: repeat(3, 1fr);
}

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

.table {
  display: grid;
  gap: 8px;
}

.table-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 10px;
  align-items: center;
  border-radius: 12px;
  padding: 12px 14px;
}

.profile-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 18px;
}

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

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

.field-list div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}

.admin-toolbar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 0 0 18px;
}

.admin-toolbar button,
.admin-toolbar a,
.ghost-button,
.icon-button {
  border-radius: 12px;
  padding: 10px 14px;
}

.admin-toolbar a {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  background: rgba(16, 20, 27, 0.82);
}

.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.admin-toolbar button.active,
.admin-toolbar a.active {
  border-color: rgba(248, 189, 41, 0.7);
  color: var(--gold);
}

.admin-grid {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.admin-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  height: calc(100vh - 104px);
  overflow: hidden;
}

.admin-sidebar {
  position: sticky;
  top: 0;
  max-height: calc(100vh - 104px);
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 16px;
  display: grid;
  gap: 8px;
  background: rgba(16, 20, 27, 0.78);
  box-shadow: var(--shadow);
}

.admin-panel {
  max-height: calc(100vh - 104px);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.admin-sidebar strong {
  margin-bottom: 8px;
}

.admin-sidebar a {
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 11px 12px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
}

.admin-sidebar a.active {
  border-color: rgba(248, 189, 41, 0.72);
  color: var(--gold);
}

.admin-menu-scrim {
  position: fixed;
  inset: 0;
  z-index: 49;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(4px);
}

.admin-menu-scrim.open {
  display: block;
}

.admin-row {
  display: grid;
  gap: 10px;
  border: 1px solid rgba(248, 189, 41, 0.38);
  border-radius: 14px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.035);
  box-shadow: 0 14px 34px rgba(248, 189, 41, 0.1);
}

.admin-row.unread-row {
  border-color: rgba(248, 189, 41, 0.55);
  background: rgba(248, 189, 41, 0.06);
}

.admin-table-tools {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 190px;
  gap: 14px;
  margin-bottom: 14px;
}

.admin-table-wrap {
  overflow-x: auto;
  border: 1px solid rgba(248, 189, 41, 0.28);
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(248, 189, 41, 0.08);
}

.admin-users-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
}

.admin-users-table th,
.admin-users-table td {
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.admin-users-table th {
  color: var(--gold);
  background: rgba(248, 189, 41, 0.08);
  font-size: 0.86rem;
}

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

.link-button {
  border: 0;
  padding: 0;
  color: var(--gold);
  background: transparent;
  font-weight: 800;
}

.admin-pagination {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin-top: 14px;
}

.admin-pagination div {
  display: flex;
  gap: 8px;
}

.table-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 180px;
}

.table-actions form {
  margin: 0;
}

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

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

.tiny-status {
  padding: 7px 10px;
  margin: 0;
}

.admin-row button {
  border-radius: 10px;
  padding: 9px 12px;
  justify-self: start;
}

.row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.row-actions form {
  margin: 0;
}

.danger-button {
  border: 1px solid rgba(255, 92, 112, 0.45);
  color: var(--danger);
  background: rgba(255, 92, 112, 0.08);
}

.success,
.alert {
  border-radius: 12px;
  padding: 12px 14px;
}

.success {
  border: 1px solid rgba(62, 223, 118, 0.4);
  color: var(--green);
  background: rgba(62, 223, 118, 0.08);
}

.alert {
  border: 1px solid rgba(255, 92, 112, 0.42);
  color: var(--danger);
  background: rgba(255, 92, 112, 0.08);
}

.login-wrap {
  display: grid;
  place-items: center;
  padding-bottom: 18px;
}

.login-panel {
  width: min(460px, 100%);
}

.wide-login {
  width: min(760px, 100%);
}

.login-brand {
  margin-bottom: 18px;
}

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

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

.compact-form {
  margin-top: 10px;
}

.auth-choice-grid,
.suggestion-row {
  display: grid;
  gap: 14px;
}

.auth-choice-grid {
  grid-template-columns: repeat(2, 1fr);
}

.suggestion-row {
  grid-template-columns: repeat(3, 1fr);
  margin: 16px 0;
}

.available-text {
  color: var(--green);
}

.taken-text {
  color: var(--danger);
}

.recovery-card {
  display: grid;
  gap: 14px;
  margin: 18px 0;
}

.recovery-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 28px;
  padding: 14px;
  border: 1px solid rgba(248, 189, 41, 0.3);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.035);
}

.recovery-list div {
  min-width: 0;
}

.recovery-list span {
  color: var(--muted);
  display: inline-block;
  width: 30px;
  text-align: right;
}

.break-text {
  overflow-wrap: anywhere;
}

.mini-actions,
.inline-pay-form,
.modal-inline-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 12px;
}

.inline-pay-form input,
.modal-inline-form input {
  min-width: 120px;
  flex: 1;
}

.support-thread-list {
  display: grid;
  gap: 14px;
  margin-top: 18px;
}

.chat-bubble {
  margin-top: 10px;
  padding: 10px;
  border-radius: 10px;
  border: 1px solid rgba(248, 189, 41, 0.28);
  background: rgba(255, 255, 255, 0.04);
}

.chat-bubble.support {
  border-color: rgba(62, 223, 118, 0.32);
}

.radio-row {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  margin: 10px 0;
}

.terms-box {
  line-height: 1.7;
  color: #e6e6e6;
}

.bottom-nav {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 30;
  width: min(100%, 1220px);
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 4px;
  padding: 13px 14px max(13px, env(safe-area-inset-bottom));
  border-radius: 28px 28px 0 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(20, 20, 20, 0.96);
}

.bottom-nav a,
.bottom-nav button {
  border: 0;
  background: transparent;
  color: #a6a6a6;
  display: grid;
  place-items: center;
  gap: 3px;
  min-height: 60px;
}

.bottom-nav span {
  font-size: 1.85rem;
}

.bottom-nav .active {
  color: var(--gold);
}

.modal-backdrop {
  z-index: 70;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(0, 0, 0, 0.72);
}

.modal-backdrop.open {
  opacity: 1;
  pointer-events: auto;
}

.modal {
  width: min(720px, 100%);
  max-height: min(760px, 92vh);
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px;
  background: #10141b;
  box-shadow: var(--shadow);
}

.modal-title,
.modal-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
}

.modal-actions {
  grid-template-columns: auto 1fr auto auto;
  margin-top: 18px;
}

.icon-button {
  width: 42px;
  height: 42px;
  padding: 0;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 18px;
}

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

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label {
  color: var(--muted);
  font-size: 0.9rem;
}

.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px;
  color: var(--text);
  background: #090c12;
}

.form-field textarea {
  min-height: 110px;
  resize: vertical;
}

#deleteItem {
  color: var(--danger);
}

/* Nex-style green and gold theme polish */
.brand-mark {
  border-color: rgba(135, 255, 87, 0.86);
  color: #020604;
  background:
    radial-gradient(circle at 34% 26%, #dfffd5, #76f84c 26%, #13771c 64%, #031307 100%);
  box-shadow:
    inset 0 -12px 18px rgba(0, 0, 0, 0.38),
    0 0 26px rgba(116, 248, 73, 0.48),
    0 0 54px rgba(116, 248, 73, 0.18);
}

.brand strong span {
  color: var(--green);
  text-shadow: 0 0 18px rgba(116, 248, 73, 0.38);
}

.topbar {
  background: linear-gradient(180deg, rgba(2, 6, 4, 0.9), rgba(2, 6, 4, 0.48));
}

.launch-timer,
.admin-link,
.ghost-button,
.icon-button,
.admin-toolbar a,
.drawer nav a,
.drawer nav button {
  border-color: rgba(245, 198, 74, 0.46);
  background: rgba(3, 13, 8, 0.78);
  box-shadow: inset 0 0 0 1px rgba(116, 248, 73, 0.04);
}

.launch-timer strong,
.admin-link:hover,
.ghost-button:hover,
.icon-button:hover,
.drawer nav a:hover,
.drawer nav button:hover {
  color: var(--gold-2);
}

.menu-button {
  border: 1px solid rgba(116, 248, 73, 0.5);
  border-radius: 14px;
  background: rgba(4, 18, 10, 0.72);
  box-shadow: 0 0 20px rgba(116, 248, 73, 0.18);
}

.menu-button span {
  background: linear-gradient(90deg, var(--green), var(--gold));
  box-shadow: 0 0 10px rgba(116, 248, 73, 0.48);
}

.drawer,
.modal,
.login-panel,
.section-panel,
.admin-panel,
.profile-panel,
.welcome-card,
.mining-banner,
.coin-total,
.public-hero,
.public-stats,
.refer-band,
.feature-card,
.plan-card,
.quick-card,
.explore-card,
.metric,
.nav-card,
.admin-sidebar,
.admin-row,
.admin-table-wrap,
.wallet-box,
.recovery-list,
.chat-bubble {
  border-color: rgba(116, 248, 73, 0.42);
  background:
    radial-gradient(circle at 82% 18%, rgba(116, 248, 73, 0.1), transparent 32%),
    linear-gradient(145deg, rgba(4, 18, 10, 0.95), rgba(2, 8, 5, 0.92));
  box-shadow:
    0 0 0 1px rgba(245, 198, 74, 0.12),
    0 18px 46px rgba(0, 0, 0, 0.48),
    0 0 32px rgba(116, 248, 73, 0.12);
}

.public-hero,
.mining-banner {
  border-color: rgba(245, 198, 74, 0.56);
  background:
    linear-gradient(90deg, rgba(1, 5, 3, 0.98), rgba(1, 12, 5, 0.68)),
    var(--hero-image, linear-gradient(transparent, transparent)),
    radial-gradient(circle at 76% 42%, rgba(116, 248, 73, 0.32), transparent 30%),
    radial-gradient(circle at 38% 78%, rgba(245, 198, 74, 0.18), transparent 34%),
    #020604;
  box-shadow:
    0 0 0 1px rgba(245, 198, 74, 0.22),
    0 0 34px rgba(116, 248, 73, 0.18),
    var(--shadow);
}

.public-hero h1,
.mining-banner h2,
.login-panel h1,
.login-panel h2,
.landing-section h2 {
  letter-spacing: 0;
  text-transform: uppercase;
  text-shadow: 0 0 22px rgba(116, 248, 73, 0.14);
}

.public-hero h1,
.login-panel h1,
.login-panel h2 {
  color: var(--gold-2);
}

.public-hero h1 span,
.landing-section h2 span,
.mining-banner h2 .gold,
.gold {
  color: var(--gold);
  text-shadow: 0 0 18px rgba(245, 198, 74, 0.28);
}

.hero-coin-image,
.coin-art,
.public-coin {
  filter: drop-shadow(0 0 32px rgba(116, 248, 73, 0.58));
}

.feature-card span,
.public-stats article > span,
.how-grid article > span,
.quick-card span,
.metric-icon,
.explore-art {
  border-color: rgba(116, 248, 73, 0.55);
  color: var(--green);
  background:
    radial-gradient(circle at 48% 40%, rgba(116, 248, 73, 0.2), transparent 58%),
    rgba(4, 18, 10, 0.84);
  box-shadow:
    inset 0 0 18px rgba(116, 248, 73, 0.08),
    0 0 22px rgba(116, 248, 73, 0.18);
}

.feature-card h3,
.plan-card strong,
.public-stats strong,
.coin-total strong,
.wallet-box strong,
.stat-value,
.bottom-nav .active,
.admin-users-table th,
.link-button {
  color: var(--gold);
}

.plan-card.popular,
.admin-row.unread-row,
.admin-toolbar button.active,
.admin-toolbar a.active,
.admin-sidebar a.active {
  border-color: rgba(245, 198, 74, 0.86);
  box-shadow:
    0 0 0 1px rgba(245, 198, 74, 0.18),
    0 0 30px rgba(116, 248, 73, 0.18);
}

.popular-badge,
.primary-button,
.explore-card button,
.explore-card:nth-child(2) button,
.explore-card:nth-child(2) .primary-button {
  border: 1px solid rgba(151, 255, 88, 0.72);
  color: #ffe69a;
  background: linear-gradient(180deg, #62f039 0%, #25b72c 52%, #08620f 100%);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.24),
    0 0 24px rgba(116, 248, 73, 0.42),
    0 10px 26px rgba(0, 0, 0, 0.42);
}

.primary-button:hover,
.explore-card button:hover {
  transform: translateY(-1px);
  filter: brightness(1.06);
}

.quick-card.blue,
.quick-card.pink,
.quick-card.green {
  background:
    radial-gradient(circle at 22% 18%, rgba(116, 248, 73, 0.18), transparent 38%),
    linear-gradient(145deg, rgba(5, 36, 15, 0.72), rgba(2, 9, 5, 0.92));
}

.avatar {
  border-color: var(--green);
  background: radial-gradient(circle at 42% 28%, #bcffa7, #5ee444 44%, #115f18 100%);
  box-shadow: 0 0 26px rgba(116, 248, 73, 0.36);
}

.avatar::before,
.avatar::after {
  background: rgba(2, 8, 5, 0.82);
}

.coin-stack::before,
.coin-stack::after,
.coin-stack span {
  border-color: rgba(116, 248, 73, 0.72);
  background: linear-gradient(#baff9d, #25b72c 52%, #0d5d13);
  box-shadow: 0 0 18px rgba(116, 248, 73, 0.28);
}

.bottom-nav {
  border-color: rgba(116, 248, 73, 0.34);
  background:
    linear-gradient(180deg, rgba(5, 19, 11, 0.97), rgba(2, 7, 4, 0.98));
  box-shadow: 0 -16px 42px rgba(0, 0, 0, 0.42), 0 0 24px rgba(116, 248, 73, 0.12);
}

.bottom-nav a,
.bottom-nav button {
  color: #a5aea1;
}

.bottom-nav .active i,
.bottom-nav .active span {
  color: var(--green);
  text-shadow: 0 0 16px rgba(116, 248, 73, 0.5);
}

.form-field input,
.form-field textarea,
.form-field select,
.modal-inline-form input,
.inline-pay-form input {
  border-color: rgba(116, 248, 73, 0.36);
  background: rgba(1, 7, 4, 0.92);
  box-shadow: inset 0 0 18px rgba(116, 248, 73, 0.04);
}

.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus,
.modal-inline-form input:focus,
.inline-pay-form input:focus {
  outline: none;
  border-color: rgba(116, 248, 73, 0.9);
  box-shadow: 0 0 0 3px rgba(116, 248, 73, 0.14), 0 0 24px rgba(116, 248, 73, 0.18);
}

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

.wallet-connect-row .primary-button {
  min-height: 46px;
  white-space: nowrap;
}

.alert-text {
  color: var(--danger) !important;
}

.login-wrap {
  min-height: calc(100vh - 122px);
  align-items: start;
  padding-top: clamp(16px, 4vw, 48px);
}

.login-panel {
  padding: clamp(22px, 5vw, 42px);
  border-radius: 22px;
}

.wide-login {
  width: min(820px, 100%);
}

.login-brand .brand-mark {
  width: 76px;
  height: 76px;
}

.login-form {
  gap: 18px;
}

.auth-choice-grid .ghost-button,
.suggestion-row .ghost-button {
  min-height: 54px;
}

.recovery-list {
  padding: 22px;
  gap: 14px 34px;
}

.recovery-list b {
  color: var(--text);
}

.recovery-list span {
  color: var(--green);
  font-weight: 850;
}

.admin-sidebar a:hover {
  color: var(--gold-2);
  border-color: rgba(116, 248, 73, 0.54);
}

.admin-users-table th {
  background: rgba(245, 198, 74, 0.1);
}

.admin-users-table td {
  background: rgba(2, 8, 5, 0.62);
}

.table-row {
  background: rgba(2, 8, 5, 0.72);
  border: 1px solid rgba(116, 248, 73, 0.24);
}

.success {
  border-color: rgba(116, 248, 73, 0.5);
  color: var(--green);
  background: rgba(116, 248, 73, 0.1);
}

@media (min-width: 860px) {
  .admin-menu-button {
    display: none !important;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr) 330px;
  }

  .welcome-card {
    grid-column: 1 / -1;
  }

  .coin-total {
    grid-column: 2;
    grid-row: 2 / span 2;
    align-self: stretch;
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 760px) {
  .app {
    padding: 14px 14px 108px;
  }

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

  .admin-link {
    display: none;
  }

  .admin-shell .topbar {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .admin-shell .admin-link,
  .admin-shell .launch-timer {
    display: none;
  }

  .admin-menu-button {
    display: inline-flex;
    justify-self: end;
  }

  .brand-mark {
    width: 50px;
    height: 50px;
  }

  .site-logo {
    width: 160px;
    height: 50px;
  }

  .brand small {
    font-size: 0.58rem;
  }

  .launch-timer {
    min-width: 104px;
    padding: 8px;
  }

  .launch-timer strong {
    font-size: 0.78rem;
  }

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

  .wallet-box {
    width: 100%;
  }

  .mining-banner {
    padding: 24px;
    min-height: 190px;
  }

  .coin-art {
    opacity: 0.52;
  }

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

  .quick-card {
    min-height: 118px;
    flex-direction: column;
    align-items: flex-start;
    padding: 13px;
  }

  .quick-card span {
    width: 48px;
    height: 48px;
  }

  .overview-grid,
  .explore-grid,
  .metrics-grid,
  .profile-grid,
  .feature-grid,
  .public-stats,
  .plans-grid,
  .how-grid,
  .refer-band,
  .admin-layout {
    grid-template-columns: 1fr;
  }

  .auth-choice-grid,
  .suggestion-row {
    grid-template-columns: 1fr;
  }

  .recovery-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    padding: 14px;
  }

  .admin-shell {
    height: auto;
    overflow: visible;
    padding: 14px 14px 108px;
  }

  .admin-layout,
  .admin-panel {
    height: auto;
    max-height: none;
    overflow: visible;
  }

  .admin-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 50;
    width: min(86vw, 340px);
    height: 100vh;
    max-height: 100vh;
    overflow-y: auto;
    overscroll-behavior: contain;
    border-radius: 20px 0 0 20px;
    transform: translateX(110%);
    transition: transform 180ms ease;
  }

  .admin-sidebar.open {
    transform: translateX(0);
  }

  .admin-mobile-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
  }

  .admin-mobile-links {
    display: grid;
    gap: 8px;
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid var(--line);
  }

  .admin-table-tools,
  .admin-pagination {
    grid-template-columns: 1fr;
    flex-direction: column;
    align-items: stretch;
  }

  body.admin-menu-open {
    overflow: hidden;
  }

  .public-hero {
    min-height: 340px;
    grid-template-columns: 1fr;
  }

  .public-hero h1 {
    font-size: clamp(2.15rem, 11vw, 3.4rem);
  }

  .public-coin {
    position: absolute;
    right: -24px;
    bottom: 18px;
    width: 190px;
    opacity: 0.42;
  }

  .hero-coin-image.public-coin {
    position: absolute;
    right: -24px;
    bottom: 18px;
    top: auto;
    width: 190px;
    opacity: 0.55;
  }

  .feature-card {
    min-height: 180px;
  }

  .public-stats article {
    justify-content: flex-start;
  }

  .refer-band .explore-art {
    width: 100%;
  }

  .explore-card {
    min-height: 188px;
    grid-template-columns: 0.85fr 1.15fr;
    padding: 14px;
  }

  .explore-art {
    height: 145px;
    font-size: 3.5rem;
  }

  .table-row {
    grid-template-columns: 1fr;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .modal-actions {
    grid-template-columns: 1fr 1fr;
  }

  .modal-actions span {
    display: none;
  }

  .wallet-connect-row {
    grid-template-columns: 1fr;
  }

  .wallet-status-panel {
    grid-template-columns: 1fr;
  }
}
