:root {
  --of-gold: #D3A85D;
  --of-gold-bright: #E8C47A;
  --of-gold-soft: rgba(211, 168, 93, 0.12);
  --of-bg: #061520;
  --of-sidebar: #0A1E30;
  --of-card: #0D2539;
  --of-card-2: #102B43;
  --of-line: rgba(255, 255, 255, 0.08);
  --of-gold-line: rgba(211, 168, 93, 0.18);
  --of-text: #FFFFFF;
  --of-muted: rgba(255, 255, 255, 0.64);
  --of-faint: rgba(255, 255, 255, 0.38);
  --of-success: #2ECC71;
  --of-warning: #F39C12;
  --of-danger: #E74C3C;
  --of-info: #3498DB;
  --of-radius: 12px;
  --of-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
}

body {
  background: var(--of-bg) !important;
  color: var(--of-text);
  font-family: var(--font-body, "Plus Jakarta Sans", sans-serif);
}

.of-app-shell {
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% 0%, rgba(211, 168, 93, 0.08), transparent 28%),
    linear-gradient(135deg, #061520 0%, #071927 52%, #0B1E30 100%);
}

.of-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.of-icon--chevron {
  width: 15px;
  height: 15px;
  transition: transform .18s ease;
}

.side-menu--open .of-icon--chevron,
.rotate-180 {
  transform: rotate(180deg);
}

.of-text-gold {
  color: var(--of-gold) !important;
}

.of-text-success {
  color: var(--of-success) !important;
}

.of-text-warning {
  color: var(--of-warning) !important;
}

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

.of-text-info {
  color: var(--of-info) !important;
}

.of-eyebrow {
  color: var(--of-faint);
  display: block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .09em;
  line-height: 1.2;
  text-transform: uppercase;
}

.dashboard-sidebar.of-sidebar {
  background: rgba(10, 30, 48, 1) !important;
  border-right: 1px solid var(--of-line) !important;
  box-shadow: 18px 0 48px rgba(0, 0, 0, 0.18);
  color: var(--of-text);
  display: flex;
  flex-direction: column;
  padding: 22px 18px;
  width: 310px;
}

.of-sidebar__header {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-content: space-between;
  margin-bottom: 8px;
  min-height: 52px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.of-sidebar__brand {
  align-items: center;
  color: #061520;
  display: flex;
  flex: 0 1 auto;
  min-width: 0;
}

.of-sidebar__brand:hover {
  color: #061520;
}

.of-sidebar__brand img {
  display: block;
  height: auto;
  max-height: 44px;
  max-width: 100%;
  object-fit: contain;
}

.of-sidebar__token-price {
  color: var(--of-gold);
  flex: 0 0 auto;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.2;
  text-align: right;
  white-space: nowrap;
}

.of-sidebar__balances {
  background: linear-gradient(180deg, rgba(211, 168, 93, .08), rgba(255, 255, 255, .03));
  border: 1px solid var(--of-gold-line);
  border-radius: 14px;
  margin-bottom: 14px;
  padding: 14px;
}

.of-balance-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.of-balance-card {
  background: rgba(6, 21, 32, 0.58);
  border: 1px solid var(--of-line);
  border-radius: 10px;
  display: flex;
  flex: 1 1 calc(50% - 4px);
  flex-direction: column;
  max-width: 100%;
  min-width: 104px;
  padding: 10px;
}

.of-balance-card--primary {
  background: rgba(211, 168, 93, .1);
  border-color: var(--of-gold-line);
  margin-top: 8px;
}

.of-balance-card span {
  color: var(--of-faint);
  display: block;
  font-size: 10px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 4px;
  overflow-wrap: anywhere;
  text-transform: uppercase;
}

.of-balance-card strong {
  align-items: baseline;
  color: var(--of-success);
  display: flex;
  flex-wrap: wrap;
  font-family: var(--font-display, "Sora", sans-serif);
  font-size: clamp(15px, 1.25vw, 18px);
  gap: 3px 5px;
  line-height: 1.1;
  max-width: 100%;
  min-width: 0;
  overflow-wrap: normal;
  white-space: nowrap;
  word-break: normal;
}

.of-balance-card small {
  align-self: flex-end;
  color: var(--of-faint);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.2;
}

.of-balance-card--wide {
  flex-basis: 100%;
}

.of-sidebar__actions {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.of-sidebar__actions .btn {
  border-radius: 8px;
  min-height: 38px;
  width: 100%;
}

.btn--base,
.btn--primary {
  background: var(--of-gold) !important;
  border-color: var(--of-gold) !important;
  color: #061520 !important;
  font-weight: 800;
}

.btn--base:hover,
.btn--primary:hover {
  background: var(--of-gold-bright) !important;
  border-color: var(--of-gold-bright) !important;
  box-shadow: 0 0 22px rgba(211, 168, 93, .24);
}

.btn--secondary {
  background: rgba(211, 168, 93, .08) !important;
  border: 1px solid var(--of-gold-line) !important;
  color: var(--of-gold) !important;
  font-weight: 700;
}

.btn--secondary:hover {
  background: var(--of-gold) !important;
  border-color: var(--of-gold) !important;
  color: #061520 !important;
}

.disabled-button {
  background: rgba(255, 255, 255, .05) !important;
  border-color: var(--of-line) !important;
  color: var(--of-faint) !important;
  opacity: .72;
  pointer-events: none;
}

.of-sidebar-menu {
  margin: 0;
  padding: 0 0 20px;
}

.of-sidebar-menu li {
  padding: 2px 0;
}

.of-nav-section {
  color: rgba(255, 255, 255, .26);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .1em;
  margin: 16px 10px 7px;
  text-transform: uppercase;
}

.of-sidebar-menu li a,
.of-sidebar-menu .sidebar-submenu li a {
  align-items: center;
  border-radius: 10px !important;
  color: var(--of-muted) !important;
  display: flex;
  font-size: 13px !important;
  font-weight: 700;
  gap: 10px;
  letter-spacing: 0;
  min-height: 39px;
  padding: 9px 10px !important;
  position: relative;
}

.of-sidebar-menu li a::before,
.of-sidebar-menu .sidebar-submenu li a::before {
  display: none !important;
}

.of-sidebar-menu li a.active,
.of-sidebar-menu li a:hover,
.of-sidebar-menu li a.side-menu--open {
  background: rgba(211, 168, 93, .1) !important;
  color: var(--of-gold) !important;
}

.of-sidebar-menu .sidebar-submenu {
  padding: 5px 0 5px 28px !important;
}

.of-sidebar-menu .sidebar-submenu ul {
  margin: 0;
  padding: 0;
}

.of-sidebar-menu .sidebar-submenu li a {
  color: rgba(255, 255, 255, .48) !important;
  font-size: 12px !important;
  min-height: 32px;
}

.menu-badge {
  border-radius: 999px !important;
  box-shadow: none !important;
  font-size: 10px !important;
  padding: 3px 8px !important;
}

.green--bg--show {
  background: rgba(46, 204, 113, .14) !important;
  color: var(--of-success) !important;
}

.orange--bg--show {
  background: rgba(243, 156, 18, .14) !important;
  color: var(--of-warning) !important;
}

.red--bg--show {
  background: rgba(231, 76, 60, .14) !important;
  color: var(--of-danger) !important;
}

.dashboard-wrapper.of-content {
  background: transparent !important;
  margin-left: 310px;
  min-height: 100vh;
  width: calc(100% - 310px);
}

.dashboard-container.of-content__inner {
  margin: 0 auto;
  max-width: 1800px;
  padding: 0 24px 42px;
}

.dashboard-container .dashboard-inner.of-dashboard {
  padding: 28px 0 0;
}

.dashboard-nav.of-topbar {
  backdrop-filter: blur(18px);
  background: rgba(6, 21, 32, 0.82) !important;
  border-bottom: 1px solid var(--of-line) !important;
  box-shadow: 0 12px 34px rgba(0, 0, 0, .16);
  min-height: 72px;
  padding: 14px 24px;
  position: sticky;
  top: 0;
  z-index: 20;
}

.of-topbar__left,
.of-topbar__right {
  gap: 12px;
}

.of-icon-button {
  align-items: center;
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--of-line);
  border-radius: 10px;
  color: var(--of-text);
  display: inline-flex;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.of-page-title {
  display: flex;
  flex-direction: column;
}

.of-page-title span {
  color: var(--of-faint);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.of-page-title strong {
  color: var(--of-text);
  font-family: var(--font-display, "Sora", sans-serif);
  font-size: 20px;
  line-height: 1.2;
}

.of-market-chip {
  background: rgba(211, 168, 93, .09);
  border: 1px solid var(--of-gold-line);
  border-radius: 999px;
  display: flex;
  flex-direction: column;
  min-width: 146px;
  padding: 8px 14px;
}

.of-market-chip span {
  color: var(--of-faint);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.of-market-chip strong {
  color: var(--of-gold);
  font-size: 12px;
  line-height: 1.2;
  white-space: nowrap;
}

.of-language-select {
  background: rgba(255, 255, 255, .06);
  border: 1px solid var(--of-line);
  border-radius: 10px;
  color: var(--of-text);
  font-size: 13px;
  height: 42px;
  padding: 0 12px;
}

.of-language-select option {
  color: #061520;
}

.of-sidebar__footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: auto;
  padding-top: 14px;
}

.of-sidebar__footer .of-language-select {
  width: 100%;
}

.nav-header-link.of-user-menu {
  margin: 0;
  padding: 0;
}

.nav-header-link.of-user-menu li {
  position: relative;
}

.nav-header-link li .link.of-avatar,
.of-avatar {
  align-items: center;
  background: linear-gradient(135deg, var(--of-gold), #B9873D) !important;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 50% !important;
  color: #061520 !important;
  display: inline-flex;
  font-family: var(--font-display, "Sora", sans-serif);
  font-size: 14px;
  font-weight: 800;
  height: 42px;
  justify-content: center;
  width: 42px;
}

.nav-header-link .dropdown-wrapper.of-account-dropdown {
  background: #0A1E30 !important;
  border: 1px solid var(--of-gold-line);
  border-radius: 14px;
  box-shadow: var(--of-shadow);
  color: var(--of-text);
  overflow: hidden;
}

.nav-header-link .dropdown-wrapper.of-account-dropdown::before {
  background: #0A1E30 !important;
  border-left: 1px solid var(--of-gold-line);
  border-top: 1px solid var(--of-gold-line);
}

.nav-header-link .dropdown-wrapper .dropdown-header {
  border-bottom: 1px solid var(--of-line);
}

.nav-header-link .dropdown-wrapper .links li a {
  color: var(--of-muted);
}

.nav-header-link .dropdown-wrapper .links li a:hover {
  color: var(--of-gold) !important;
}

.of-dashboard {
  color: var(--of-text);
}

.of-promo-timer {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(13, 37, 57, .96), rgba(15, 46, 71, .92)),
    radial-gradient(circle at 84% 0%, rgba(211, 168, 93, .2), transparent 34%);
  border-color: var(--of-gold-line);
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(0, 1.25fr) minmax(320px, .75fr);
  margin-bottom: 22px;
  overflow: hidden;
  padding: 24px;
  text-decoration: none;
  transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.of-promo-timer:hover {
  border-color: rgba(211, 168, 93, .42);
  box-shadow: 0 20px 56px rgba(0, 0, 0, .32), 0 0 28px rgba(211, 168, 93, .12);
  transform: translateY(-2px);
}

.of-promo-timer__copy h1 {
  color: var(--of-text);
  font-family: var(--font-display, "Sora", sans-serif);
  font-size: 32px;
  line-height: 1.12;
  margin: 8px 0 10px;
}

.of-promo-timer__copy p {
  color: var(--of-muted);
  margin: 0;
  max-width: 700px;
}

.of-promo-timer__panel {
  background: rgba(6, 21, 32, .48);
  border: 1px solid var(--of-gold-line);
  border-radius: 14px;
  padding: 16px;
}

.of-promo-timer__price {
  align-items: center;
  border-bottom: 1px solid var(--of-line);
  display: flex;
  justify-content: space-between;
  margin-bottom: 14px;
  padding-bottom: 14px;
}

.of-promo-timer__price span {
  color: var(--of-faint);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.of-promo-timer__price strong {
  color: var(--of-gold);
  font-family: var(--font-display, "Sora", sans-serif);
  font-size: 22px;
}

.of-promo-timer__price small {
  color: var(--of-faint);
  font-size: 11px;
}

.of-promo-clock {
  display: grid;
  gap: 8px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.of-promo-clock span {
  background: rgba(211, 168, 93, .09);
  border: 1px solid var(--of-gold-line);
  border-radius: 10px;
  color: var(--of-text);
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-size: 18px;
  font-weight: 800;
  padding: 12px 6px;
  text-align: center;
}

.of-dashboard-hero {
  background:
    linear-gradient(135deg, rgba(13, 37, 57, .96), rgba(15, 46, 71, .92)),
    radial-gradient(circle at 80% 12%, rgba(211, 168, 93, .18), transparent 32%);
  border: 1px solid var(--of-gold-line);
  border-radius: 18px;
  box-shadow: var(--of-shadow);
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, .65fr);
  margin-bottom: 22px;
  overflow: hidden;
  padding: 24px;
}

.of-hero-copy h1 {
  color: var(--of-text);
  font-family: var(--font-display, "Sora", sans-serif);
  font-size: 34px;
  line-height: 1.1;
  margin: 8px 0 10px;
}

.of-hero-copy p {
  color: var(--of-muted);
  margin: 0;
  max-width: 680px;
}

.of-hero-metrics {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 20px;
}

.of-metric,
.of-card,
.of-status-tile,
.of-mini-card {
  background: rgba(13, 37, 57, .86);
  border: 1px solid var(--of-line);
  border-radius: var(--of-radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .14);
}

.of-metric {
  padding: 14px;
}

.of-metric span,
.of-mini-card span {
  color: var(--of-faint);
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .06em;
  margin-bottom: 6px;
  text-transform: uppercase;
}

.of-metric strong,
.of-mini-card strong {
  color: var(--of-text);
  font-family: var(--font-display, "Sora", sans-serif);
  font-size: 22px;
  line-height: 1.05;
}

.of-metric small,
.of-mini-card small {
  color: var(--of-faint);
  font-size: 11px;
  font-weight: 800;
}

.of-hero-panel {
  align-self: stretch;
  background: rgba(6, 21, 32, .48);
  border: 1px solid var(--of-gold-line);
  border-radius: 14px;
  display: grid;
  gap: 12px;
  padding: 16px;
}

.of-hero-panel__item {
  align-items: center;
  display: flex;
  gap: 12px;
}

.of-hero-panel__item .of-icon-wrap {
  border-radius: 12px;
  flex: 0 0 44px;
  height: 44px;
  width: 44px;
}

.of-icon-wrap {
  align-items: center;
  background: var(--of-gold-soft);
  color: var(--of-gold);
  display: inline-flex;
  justify-content: center;
}

.of-hero-panel__item span {
  color: var(--of-faint);
  display: block;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.of-hero-panel__item strong {
  color: var(--of-text);
  display: block;
  font-size: 14px;
}

.of-section {
  margin-top: 22px;
}

.of-section-header {
  align-items: end;
  display: flex;
  gap: 14px;
  justify-content: space-between;
  margin-bottom: 12px;
}

.of-section-header h2 {
  color: var(--of-text);
  font-family: var(--font-display, "Sora", sans-serif);
  font-size: 20px;
  margin: 0;
}

.of-section-header p {
  color: var(--of-faint);
  margin: 3px 0 0;
}

.of-grid {
  display: grid;
  gap: 14px;
}

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

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

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

.of-card {
  padding: 18px;
}

.of-voucher-card {
  background:
    linear-gradient(135deg, rgba(24, 34, 58, .92), rgba(31, 122, 102, .76), rgba(211, 168, 93, .42));
  border-color: var(--of-gold-line);
  min-height: 190px;
  overflow: hidden;
  position: relative;
}

.of-voucher-card--casino {
  background: linear-gradient(135deg, rgba(23, 32, 51, .94), rgba(107, 47, 109, .72), rgba(211, 168, 93, .45));
}

.of-voucher-card--locked .of-voucher-card__content {
  filter: blur(5px);
  pointer-events: none;
  user-select: none;
}

.of-voucher-card__content h3 {
  color: var(--of-text);
  font-family: var(--font-display, "Sora", sans-serif);
  font-size: 38px;
  margin: 8px 0;
}

.of-voucher-card__content p {
  color: rgba(255, 255, 255, .74);
  margin-bottom: 18px;
}

.of-voucher-card__overlay {
  align-items: center;
  background: rgba(6, 21, 32, .42);
  display: flex;
  inset: 0;
  justify-content: center;
  position: absolute;
}

.of-status-tile {
  display: flex;
  flex-direction: column;
  min-height: 160px;
  padding: 16px;
}

.of-status-tile .of-icon-wrap {
  border-radius: 12px;
  height: 42px;
  margin-bottom: 14px;
  width: 42px;
}

.of-status-tile h3 {
  color: var(--of-text);
  font-size: 14px;
  line-height: 1.28;
  margin: 0 0 7px;
}

.of-status-tile p {
  color: var(--of-faint);
  font-size: 12px;
  line-height: 1.45;
  margin: 0;
}

.of-status-tile a {
  color: var(--of-gold);
  font-size: 12px;
  font-weight: 800;
  margin-top: auto;
  padding-top: 12px;
}

.of-status--success .of-icon-wrap {
  background: rgba(46, 204, 113, .12);
  color: var(--of-success);
}

.of-status--success h3 {
  color: var(--of-success);
}

.of-status--warning .of-icon-wrap {
  background: rgba(243, 156, 18, .12);
  color: var(--of-warning);
}

.of-status--warning h3 {
  color: var(--of-warning);
}

.of-status--danger .of-icon-wrap {
  background: rgba(231, 76, 60, .12);
  color: var(--of-danger);
}

.of-status--danger h3 {
  color: var(--of-danger);
}

.of-status--gold .of-icon-wrap {
  background: rgba(211, 168, 93, .12);
  color: var(--of-gold);
}

.of-status--gold h3 {
  color: var(--of-gold);
}

.of-mini-card {
  align-items: center;
  display: flex;
  gap: 14px;
  padding: 16px;
}

.of-mini-card .of-icon-wrap {
  border-radius: 12px;
  flex: 0 0 48px;
  height: 48px;
  width: 48px;
}

.of-table-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.of-data-table {
  overflow-x: auto;
}

.of-data-table .table,
.of-data-table table,
.of-data-table thead,
.of-data-table tbody,
.of-data-table tr,
.of-data-table th,
.of-data-table td {
  background: transparent !important;
}

.of-data-table table {
  margin: 0;
  min-width: 100%;
}

.of-data-table th,
.of-data-table td {
  border-bottom: 1px solid var(--of-line) !important;
  color: var(--of-muted) !important;
  padding: 12px 0;
  vertical-align: middle;
}

.of-data-table th {
  color: var(--of-faint);
  font-size: 10px;
  letter-spacing: .08em;
}

.of-data-table tr:last-child td {
  border-bottom: 0 !important;
}

.of-chart-card #chart {
  min-height: 350px;
}

.of-social-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.of-social-link {
  align-items: center;
  background:
    linear-gradient(135deg, rgba(13, 37, 57, .88), rgba(16, 43, 67, .74)),
    radial-gradient(circle at 82% 0%, rgba(211, 168, 93, .1), transparent 34%);
  border: 1px solid var(--of-line);
  border-radius: 12px;
  color: var(--of-text);
  display: flex;
  gap: 12px;
  min-height: 76px;
  overflow: hidden;
  padding: 14px;
  transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.of-social-link:hover {
  border-color: rgba(211, 168, 93, .34);
  box-shadow: 0 16px 38px rgba(0, 0, 0, .2);
  color: var(--of-text);
  transform: translateY(-2px);
}

.of-social-link>span:last-child {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.of-social-link strong {
  color: var(--of-text);
  font-family: var(--font-display, "Sora", sans-serif);
  font-size: 14px;
  line-height: 1.18;
  overflow-wrap: anywhere;
}

.of-social-link small {
  color: var(--of-faint);
  font-size: 11px;
  font-weight: 700;
  margin-top: 4px;
}

.of-social-icon {
  align-items: center;
  border-radius: 14px;
  display: inline-flex;
  flex: 0 0 46px;
  height: 46px;
  justify-content: center;
  width: 46px;
}

.of-social-icon .of-icon {
  height: 24px;
  width: 24px;
}

.of-social-icon--telegram {
  background: rgba(52, 152, 219, .14);
  color: #4FB3FF;
}

.of-social-icon--youtube {
  background: rgba(231, 76, 60, .14);
  color: #FF5F52;
}

.of-social-icon--link {
  background: rgba(46, 204, 113, .14);
  color: var(--of-success);
}

.of-social-icon--site {
  background: rgba(211, 168, 93, .14);
  color: var(--of-gold);
}

.form-control,
.form--control,
.input-group-text {
  background: rgba(6, 21, 32, .72) !important;
  border-color: var(--of-line) !important;
  color: var(--of-text) !important;
}

.modal-content {
  background: #0D2539 !important;
  border: 1px solid var(--of-gold-line) !important;
  color: var(--of-text);
}

.modal-content p,
.modal-content label,
.modal-content h5,
.modal-content h6,
.modal-content td,
.modal-content th {
  color: var(--of-text);
}

.modal-header,
.modal-footer {
  border-color: var(--of-line) !important;
}

.voucher-code-field {
  font-family: var(--font-mono, "JetBrains Mono", monospace);
  font-weight: 800;
}

.of-copy-field {
  align-items: stretch;
  display: flex;
  gap: 8px;
  min-width: 0;
}

.of-copy-field .form-control {
  min-width: 0;
}

.of-copy-field--table {
  min-width: 230px;
}

.of-copy-button {
  align-items: center;
  background: rgba(211, 168, 93, .12);
  border: 1px solid var(--of-gold-line);
  border-radius: 8px;
  color: var(--of-gold);
  display: inline-flex;
  flex: 0 0 42px;
  justify-content: center;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

.of-copy-button:hover,
.of-copy-button.is-copied {
  background: var(--of-gold);
  color: #061520;
}

.of-copy-button:active {
  transform: scale(.96);
}

.of-generated-code {
  background: rgba(46, 204, 113, .09);
  border: 1px solid rgba(46, 204, 113, .2);
  border-radius: 12px;
  margin-bottom: 18px;
  padding: 14px;
}

.of-generated-code>span {
  color: var(--of-success);
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .08em;
  margin-bottom: 8px;
  text-transform: uppercase;
}

@media (max-width: 1199px) {
  .dashboard-sidebar.of-sidebar {
    left: 0;
    transform: translateX(-100%);
    z-index: 111;
  }

  .dashboard-sidebar.of-sidebar.active {
    transform: translateX(0);
  }

  .dashboard-sidebar.of-sidebar .dash-sidebar-close {
    flex: 0 0 auto;
    top: -20px;
    right: -2px;
    position: relative;
  }

  .of-sidebar__token-price {
    margin-left: auto;
  }

  .dashboard-wrapper.of-content {
    margin-left: 0;
    width: 100%;
  }
}

@media (max-width: 991px) {

  .of-dashboard-hero,
  .of-promo-timer,
  .of-grid--vouchers,
  .of-table-grid {
    grid-template-columns: 1fr;
  }

  .of-grid--three,
  .of-hero-metrics {
    grid-template-columns: 1fr;
  }

  .of-topbar .of-market-chip {
    display: none;
  }
}

@media (max-width: 767px) {
  .dashboard-nav.of-topbar {
    align-items: flex-start !important;
    gap: 12px;
    padding: 12px 16px;
  }

  .of-topbar__right {
    gap: 8px;
  }

  .of-language-select {
    max-width: 92px;
  }

  .dashboard-container.of-content__inner {
    padding: 0 14px 32px;
  }

  .dashboard-container .dashboard-inner.of-dashboard {
    padding-top: 18px;
  }

  .of-dashboard-hero {
    padding: 18px;
  }

  .of-promo-timer {
    padding: 18px;
  }

  .of-hero-copy h1 {
    font-size: 28px;
  }

  .of-promo-timer__copy h1 {
    font-size: 26px;
  }

  .of-grid--status,
  .of-social-grid {
    grid-template-columns: 1fr;
  }

  .of-section-header {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* ── Deposit Form ──────────────────────────────────────────── */
.of-deposit-step {
  margin-bottom: 1.5rem;
}
.of-deposit-step__label {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--of-faint);
  margin-bottom: 0.5rem;
}
.of-deposit-address {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: var(--of-bg);
  border: 1px solid var(--of-gold-line);
  border-radius: var(--of-radius);
  padding: 0.85rem 1rem;
}
.of-deposit-address__value {
  flex: 1;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.8rem;
  color: var(--of-gold);
  word-break: break-all;
  margin: 0;
}
.of-deposit-preview {
  background: var(--of-bg);
  border: 1px solid var(--of-line);
  border-radius: var(--of-radius);
  padding: 1rem 1.25rem;
  margin-top: 1.5rem;
}
.of-deposit-preview ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.of-deposit-preview li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--of-line);
  font-size: 0.875rem;
}
.of-deposit-preview li:last-child {
  border-bottom: none;
}
.of-deposit-preview li span:first-child {
  color: var(--of-muted);
}
.of-deposit-preview li span:last-child {
  font-weight: 600;
  color: var(--of-text);
}
.of-deposit-preview li span.of-text-success {
  color: var(--of-success) !important;
}

/* ── Referrals ───────────────────────────────────────────── */
.of-referrals-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.of-ref-tabs {
  display: flex;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}
.of-ref-tab {
  background: transparent;
  border: 1px solid var(--of-line);
  border-radius: 8px;
  color: var(--of-muted);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.45rem 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: border-color 0.18s, color 0.18s, background 0.18s;
}
.of-ref-tab:hover {
  border-color: var(--of-gold-line);
  color: var(--of-text);
}
.of-ref-tab.active,
.of-ref-tab.nav-link.active {
  border-color: var(--of-gold) !important;
  color: var(--of-gold) !important;
  background: var(--of-gold-soft) !important;
}
/* override Bootstrap nav-link default resets */
.of-ref-tabs .nav-link {
  color: var(--of-muted);
  background: transparent;
  border: 1px solid var(--of-line);
  border-radius: 8px;
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: border-color 0.18s, color 0.18s, background 0.18s;
}
.of-ref-tabs .nav-link:hover {
  border-color: var(--of-gold-line);
  color: var(--of-text);
  background: transparent;
}
.of-ref-tabs .nav-item {
  list-style: none;
}
/* referral avatar initial */
.of-referral-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--of-gold-soft);
  border: 1px solid var(--of-gold-line);
  color: var(--of-gold);
  font-size: 0.78rem;
  font-weight: 700;
  font-family: 'Sora', sans-serif;
  flex-shrink: 0;
}
.of-referral-table {
  margin-top: 0.5rem;
}
.of-ref-badge {
  font-size: 0.72rem;
  font-weight: 700;
  background: var(--of-line);
  color: var(--of-muted);
  border-radius: 99px;
  padding: 1px 7px;
}
.of-ref-badge--success {
  background: rgba(46, 204, 113, 0.15);
  color: var(--of-success);
}
.of-ref-badge--danger {
  background: rgba(231, 76, 60, 0.15);
  color: var(--of-danger);
}
.of-ref-tree-content {
  padding-top: 0.25rem;
}

/* ── Transactions filter bar ─────────────────────────────── */
.of-trx-filters {
  margin-bottom: 1.25rem;
}
.of-trx-filters__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 1rem;
  align-items: end;
}
@media (max-width: 900px) {
  .of-trx-filters__grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 560px) {
  .of-trx-filters__grid {
    grid-template-columns: 1fr;
  }
}
.of-trx-search {
  position: relative;
}
.of-trx-search .form-control {
  padding-right: 2.6rem;
}
.of-trx-search__btn {
  position: absolute;
  top: 50%;
  right: 0.75rem;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  padding: 0;
  color: var(--of-faint);
  cursor: pointer;
  display: flex;
  align-items: center;
}
.of-trx-search__btn:hover {
  color: var(--of-gold);
}
.of-trx-search-form {
  margin: 0;
}

/* ── Empty state ──────────────────────────────────────────── */
.of-empty-state {
  text-align: center;
  color: var(--of-faint);
  padding: 2.5rem 1rem;
  font-size: 0.95rem;
}

/* ── Mono helper ─────────────────────────────────────────── */
.of-mono {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.875rem;
}

/* ── Auth / Onboarding page ──────────────────────────────── */
.of-auth-page {
  min-height: 100vh;
  background: var(--of-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}
.of-auth-box {
  width: 100%;
  max-width: 500px;
  background: var(--of-card);
  border: 1px solid var(--of-line);
  border-radius: var(--of-radius);
  padding: 2.5rem 2rem;
  box-shadow: var(--of-shadow);
}
.of-auth-brand {
  text-align: center;
  margin-bottom: 2rem;
}
.of-auth-brand img {
  height: 48px;
  width: auto;
}
.of-auth-header {
  text-align: center;
  margin-bottom: 2rem;
}
.of-auth-header h2 {
  font-family: 'Sora', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--of-text);
  margin-bottom: 0.4rem;
}
.of-auth-header p {
  color: var(--of-muted);
  font-size: 0.9rem;
  margin: 0;
}
.of-auth-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 1.25rem;
}
@media (max-width: 480px) {
  .of-auth-box {
    padding: 1.75rem 1.25rem;
  }
  .of-auth-form__grid {
    grid-template-columns: 1fr;
  }
}

/* ── History table status column ─────────────────────────── */
.of-deposit-history-table .of-status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 6px;
  flex-shrink: 0;
}
.of-deposit-history-table td,
.of-deposit-history-table th {
  vertical-align: middle;
}
.of-deposit-history-table .of-trx {
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.78rem;
  color: var(--of-muted);
}

/* ── Public policy pages ────────────────────────────────── */
.of-policy-page {
  min-height: 100vh;
  background: var(--of-bg);
  color: var(--of-muted);
  padding: clamp(1.5rem, 4vw, 4rem) 1rem;
}
.of-policy-shell {
  width: min(100%, 920px);
  margin: 0 auto;
}
.of-policy-actions {
  margin-bottom: 1.25rem;
}
.of-policy-card {
  background: var(--of-card);
  border: 1px solid var(--of-line);
  border-radius: var(--of-radius);
  padding: clamp(1.25rem, 3vw, 2.25rem);
  box-shadow: var(--of-shadow);
}
.of-policy-card h1 {
  color: var(--of-text);
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.45rem, 2.8vw, 2rem);
  font-weight: 700;
  line-height: 1.2;
  margin: 0 0 1.25rem;
}
.of-policy-content {
  color: var(--of-muted);
  font-size: 0.95rem;
  line-height: 1.75;
}
.of-policy-content :is(h1, h2, h3, h4, h5, h6) {
  color: var(--of-text);
  font-family: 'Sora', sans-serif;
  line-height: 1.25;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}
.of-policy-content :is(p, ul, ol, table) {
  margin-bottom: 1rem;
}
.of-policy-content a {
  color: var(--of-gold);
}
.of-policy-content :is(table, img) {
  max-width: 100%;
}
.of-policy-content table {
  color: inherit;
}
.of-policy-content * {
  overflow-wrap: anywhere;
}
.of-policy-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 44px;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  background: var(--of-gold);
  color: var(--of-bg);
  font-weight: 700;
  text-decoration: none;
}
.of-policy-back:hover,
.of-policy-back:focus {
  color: var(--of-bg);
  background: var(--of-gold-bright);
}

/* ── Authorization pages ────────────────────────────────── */
.of-auth-page {
  min-height: 100vh;
  background: radial-gradient(circle at top, rgba(211, 168, 93, 0.12), transparent 30%), var(--of-bg);
  color: var(--of-text);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(2rem, 5vw, 4rem) 1rem;
}
.of-auth-shell {
  width: min(100%, 520px);
}
.of-auth-logo {
  display: flex;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.of-auth-logo img {
  max-width: 180px;
  height: auto;
}
.of-auth-card {
  background: var(--of-card);
  border: 1px solid var(--of-line);
  border-radius: var(--of-radius);
  box-shadow: var(--of-shadow);
  padding: clamp(1.4rem, 4vw, 2rem);
}
.of-auth-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(211, 168, 93, 0.12);
  border: 1px solid rgba(211, 168, 93, 0.34);
  color: var(--of-gold);
  display: grid;
  place-items: center;
  margin-bottom: 1rem;
}
.of-auth-card h1 {
  color: var(--of-text);
  font-family: 'Sora', sans-serif;
  font-size: clamp(1.35rem, 4vw, 1.75rem);
  line-height: 1.2;
  font-weight: 700;
  margin: 0 0 0.55rem;
}
.of-auth-card p {
  color: var(--of-muted);
  font-size: 0.94rem;
  line-height: 1.65;
}
.of-auth-target {
  display: block;
  color: var(--of-gold);
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.86rem;
  margin-top: 0.45rem;
  overflow-wrap: anywhere;
}
.of-auth-card .verification-code label,
.of-auth-card label {
  color: var(--of-text);
  font-weight: 600;
  margin-bottom: 0.45rem;
}
.of-auth-card .form-control {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  color: var(--of-text);
  border-radius: 8px;
  min-height: 52px;
}
.of-auth-card .form-control:focus {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--of-gold);
  box-shadow: none;
  color: var(--of-text);
}
.of-auth-card #verification-code {
  font-family: 'JetBrains Mono', monospace;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}
.of-auth-card .btn--base {
  width: 100%;
  min-height: 46px;
  border-radius: 8px;
  background: var(--of-gold);
  border-color: var(--of-gold);
  color: var(--of-bg);
  font-weight: 700;
}
.of-auth-card .btn--base:hover,
.of-auth-card .btn--base:focus {
  background: var(--of-gold-bright);
  border-color: var(--of-gold-bright);
  color: var(--of-bg);
}
.of-auth-help {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--of-line);
  color: var(--of-muted);
  font-size: 0.9rem;
}
.of-auth-help a {
  color: var(--of-gold);
  font-weight: 700;
  text-decoration: none;
}
.of-auth-alert {
  background: rgba(231, 76, 60, 0.1);
  border: 1px solid rgba(231, 76, 60, 0.24);
  color: var(--of-text);
  border-radius: 10px;
  padding: 1rem;
  margin-top: 1rem;
}
