/* =========================================================================
   TopUp Sudan — Clean Matte FinTech Landing Stylesheet (Binance Standard v4)
   - Strict multi-device responsiveness: Mobile (320-480), Phablet (481-767),
     Tablet/iPad (768-1079), Laptop & Wide Desktop (1080+).
   - Every CSS grid uses minmax(0, 1fr) + overflow-x: clip -> ZERO RTL clipping.
========================================================================= */

:root,
[data-theme="obsidian"] {
  --bg-page: #181A20;
  --bg-alt: #0B0E11;
  --bg-card: #1E2329;
  --bg-elevated: #262C34;
  --bg-hover: #2B3139;
  --bg-btn-dark: #2B3139;
  --border-line: #2B3139;
  --text-main: #EAECEF;
  --text-sub: #848E9C;
  --text-body: #B7BDC6;
  --brand-gold: #FCD535;
  --brand-gold-hover: #F0B90B;
  --brand-gold-ink: #181A20;
  --pos-green: #0ECB81;
  --neg-red: #F6465D;
  --header-bg: #181A20;
  --panel-shadow: 0 24px 56px rgba(0, 0, 0, 0.42);
}

[data-theme="daylight"] {
  --bg-page: #FFFFFF;
  --bg-alt: #FAFAFA;
  --bg-card: #FFFFFF;
  --bg-elevated: #F5F7FA;
  --bg-hover: #EAECEF;
  --bg-btn-dark: #EAECEF;
  --border-line: #E2E6EC;
  --text-main: #1E2329;
  --text-sub: #707A8A;
  --text-body: #474D57;
  --brand-gold: #FCD535;
  --brand-gold-hover: #F0B90B;
  --brand-gold-ink: #181A20;
  --pos-green: #03A66D;
  --neg-red: #CF304A;
  --header-bg: #FFFFFF;
  --panel-shadow: 0 20px 48px rgba(15, 23, 42, 0.08);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  -webkit-tap-highlight-color: transparent;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

*::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

html {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  scroll-behavior: smooth;
}

body {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  font-family: 'Cairo', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

html[dir="ltr"] body {
  font-family: 'Inter', 'Cairo', -apple-system, BlinkMacSystemFont, sans-serif;
}

img {
  max-width: 100%;
  height: auto;
}

.en,
.num {
  font-family: 'Inter', 'Cairo', sans-serif;
  direction: ltr;
  unicode-bidi: embed;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

[hidden] {
  display: none !important;
}

.bn-container {
  width: 100%;
  max-width: 1248px;
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 640px) {
  .bn-container {
    padding: 0 24px;
  }
}

/* Proportion Mino cleanly on compact mobile viewports so she never covers card copy */
@media (max-width: 600px) {
  #tusMascot {
    width: 56px !important;
    height: 66px !important;
  }
}

/* ==================== FULL-WIDTH TOP HEADER ==================== */
.bn-header {
  position: sticky;
  top: 0;
  z-index: 60;
  width: 100%;
  background: var(--header-bg);
  border-bottom: 1px solid var(--border-line);
}

.bn-header-bar {
  width: 100%;
  height: 58px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

@media (min-width: 640px) {
  .bn-header-bar {
    height: 64px;
    padding: 0 24px;
    gap: 16px;
  }
}

@media (min-width: 1280px) {
  .bn-header-bar {
    padding: 0 40px;
  }
}

.bn-header-start {
  display: flex;
  align-items: center;
  gap: 24px;
  min-width: 0;
  flex-shrink: 1;
}

.bn-logo {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.bn-logo img {
  width: 28px;
  height: 28px;
  border-radius: 7px;
  display: block;
  flex-shrink: 0;
}

.bn-logo span {
  font-size: 16.5px;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: var(--text-main);
  white-space: nowrap;
}

@media (min-width: 640px) {
  .bn-logo {
    gap: 10px;
  }
  .bn-logo img {
    width: 32px;
    height: 32px;
    border-radius: 8px;
  }
  .bn-logo span {
    font-size: 19px;
  }
}

.bn-logo b {
  color: var(--brand-gold);
}

[data-theme="daylight"] .bn-logo b {
  color: #C99400;
}

/* Desktop Navigation Links ONLY >= 1080px so tablets never crowd or wrap */
.bn-nav {
  display: none;
  align-items: center;
  gap: 22px;
}

@media (min-width: 1080px) {
  .bn-nav {
    display: flex;
  }
}

.bn-nav-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  white-space: nowrap;
  transition: color 0.15s ease;
}

.bn-nav-link:hover {
  color: var(--brand-gold);
}

[data-theme="daylight"] .bn-nav-link:hover {
  color: #C99400;
}

.bn-header-end {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .bn-header-end {
    gap: 10px;
  }
}

.bn-icon-btn {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: var(--text-main);
  flex-shrink: 0;
  transition: background 0.15s ease, color 0.15s ease;
}

@media (min-width: 640px) {
  .bn-icon-btn {
    width: 36px;
    height: 36px;
    font-size: 12.5px;
  }
}

.bn-icon-btn:hover {
  background: var(--bg-hover);
}

@media (max-width: 359px) {
  .bn-logo span {
    font-size: 15px;
  }
  .bn-cta-top {
    padding: 0 9px;
    font-size: 11.5px;
  }
}

.bn-burger {
  display: inline-flex;
}

@media (min-width: 1080px) {
  .bn-burger {
    display: none !important;
  }
}

@media (max-width: 479px) {
  .bn-hide-xs {
    display: none !important;
  }
}

@media (max-width: 767px) {
  .bn-hide-md {
    display: none !important;
  }
}

/* ==================== BUTTONS ==================== */
.bn-btn {
  height: 36px;
  padding: 0 16px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  transition: background 0.15s ease, opacity 0.15s ease;
}

.bn-cta-top {
  height: 33px;
  padding: 0 12px;
  font-size: 12.5px;
}

@media (min-width: 640px) {
  .bn-cta-top {
    height: 36px;
    padding: 0 16px;
    font-size: 14px;
  }
}

.bn-btn-lg {
  height: 46px;
  padding: 0 22px;
  font-size: 15px;
  border-radius: 10px;
}

@media (min-width: 640px) {
  .bn-btn-lg {
    height: 48px;
    padding: 0 28px;
    font-size: 16px;
  }
}

.bn-btn-primary {
  background: var(--brand-gold);
  color: var(--brand-gold-ink);
}

.bn-btn-primary:hover {
  background: var(--brand-gold-hover);
}

.bn-btn-dark {
  background: var(--bg-btn-dark);
  color: var(--text-main);
}

.bn-btn-dark:hover {
  opacity: 0.88;
}

.bn-w100 {
  width: 100%;
}

/* ==================== HERO SECTION ==================== */
.bn-hero {
  padding: 28px 0 44px;
}

@media (min-width: 640px) {
  .bn-hero {
    padding: 48px 0 60px;
  }
}

@media (min-width: 1024px) {
  .bn-hero {
    padding: 72px 0 84px;
  }
}

.bn-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}

@media (min-width: 1024px) {
  .bn-hero-grid {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: 52px;
  }
}

.bn-hero-main,
.bn-hero-panel {
  min-width: 0;
}

.bn-hero-title {
  font-size: clamp(27px, 6.8vw, 54px);
  font-weight: 800;
  line-height: 1.26;
  letter-spacing: -0.4px;
  margin-bottom: 16px;
  overflow-wrap: break-word;
}

@media (min-width: 640px) {
  .bn-hero-title {
    margin-bottom: 20px;
    line-height: 1.22;
  }
}

.bn-accent {
  color: var(--brand-gold);
}

[data-theme="daylight"] .bn-accent {
  color: #C99400;
}

.bn-hero-sub {
  font-size: clamp(14.5px, 2vw, 18px);
  color: var(--text-sub);
  max-width: 560px;
  margin-bottom: 24px;
  line-height: 1.72;
}

@media (min-width: 640px) {
  .bn-hero-sub {
    margin-bottom: 30px;
  }
}

.bn-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

@media (max-width: 479px) {
  .bn-hero-actions .bn-btn-lg {
    flex: 1 1 calc(50% - 5px);
    padding: 0 12px;
  }
}

@media (min-width: 640px) {
  .bn-hero-actions {
    gap: 12px;
    margin-bottom: 40px;
  }
}

/* Mobile: 3 symmetric mini-columns; Tablet/Desktop: inline row with separators */
.bn-hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.bn-hstat-sep {
  display: none;
}

@media (min-width: 600px) {
  .bn-hero-stats {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px 28px;
  }
  .bn-hstat-sep {
    display: block;
    width: 1px;
    height: 34px;
    background: var(--border-line);
  }
}

.bn-hstat {
  min-width: 0;
}

.bn-hstat strong {
  display: block;
  font-size: clamp(18px, 3vw, 24px);
  font-weight: 800;
  line-height: 1.2;
  color: var(--text-main);
}

.bn-hstat span {
  display: block;
  font-size: 12px;
  color: var(--text-sub);
  line-height: 1.4;
}

@media (min-width: 600px) {
  .bn-hstat span {
    font-size: 13px;
  }
}

/* ==================== VIBRANT HERO EXCHANGE & MARKET PANEL ==================== */
.bn-widget-card {
  width: 100%;
  min-width: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  border-top: 2px solid rgba(252, 213, 53, 0.65);
  border-radius: 18px;
  padding: 16px;
  box-shadow: var(--panel-shadow);
}

@media (min-width: 640px) {
  .bn-widget-card {
    border-radius: 20px;
    padding: 22px;
  }
}

.bn-widget-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border-bottom: 1px solid var(--border-line);
  margin-bottom: 16px;
}

.bn-widget-tabs {
  display: flex;
  gap: 14px;
  min-width: 0;
}

@media (min-width: 640px) {
  .bn-widget-tabs {
    gap: 20px;
  }
}

.bn-wtab {
  padding: 0 2px 12px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-sub);
  position: relative;
  white-space: nowrap;
  transition: color 0.15s ease;
}

@media (min-width: 640px) {
  .bn-wtab {
    font-size: 14px;
    padding-bottom: 13px;
  }
}

.bn-wtab:hover,
.bn-wtab.is-active {
  color: var(--text-main);
}

.bn-wtab.is-active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 2px;
  background: var(--brand-gold);
}

.bn-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(14, 203, 129, 0.12);
  color: var(--pos-green);
  font-size: 11px;
  font-weight: 700;
  margin-bottom: 9px;
  flex-shrink: 0;
}

.bn-live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--pos-green);
  box-shadow: 0 0 0 3px rgba(14, 203, 129, 0.22);
  animation: bnPulse 2.2s infinite ease-in-out;
}

@keyframes bnPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.45; transform: scale(0.88); }
}

/* Dual Asset Tiles (USDT + TUS) */
.bn-assets-strip {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 10px;
  margin-bottom: 12px;
}

@media (min-width: 460px) {
  .bn-assets-strip {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 14px;
  }
}

.bn-asset-tile {
  min-width: 0;
  background: var(--bg-alt);
  border: 1px solid var(--border-line);
  border-radius: 14px;
  padding: 12px 13px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 10px;
  transition: border-color 0.16s ease, transform 0.16s ease;
}

.bn-tile-usdt:hover {
  border-color: rgba(14, 203, 129, 0.55);
  transform: translateY(-2px);
}

.bn-tile-tus:hover {
  border-color: rgba(252, 213, 53, 0.55);
  transform: translateY(-2px);
}

.bn-atile-top {
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.bn-coin-usdt {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(145deg, #2EC495 0%, #1C8E6A 100%);
  color: #FFFFFF;
  font-size: 16px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(38, 161, 123, 0.35);
}

.bn-coin-tus {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(252, 213, 53, 0.28);
}

.bn-atile-name {
  flex: 1;
  min-width: 0;
}

.bn-atile-name strong {
  display: block;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.15;
}

.bn-atile-name small {
  display: block;
  font-size: 11px;
  color: var(--text-sub);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bn-atile-badge {
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  flex-shrink: 0;
}

.bn-atile-badge.is-green {
  background: rgba(14, 203, 129, 0.14);
  color: var(--pos-green);
}

.bn-atile-badge.is-red {
  background: rgba(246, 70, 93, 0.14);
  color: var(--neg-red);
}

.bn-atile-badge.is-gold {
  background: rgba(252, 213, 53, 0.16);
  color: var(--brand-gold);
}

[data-theme="daylight"] .bn-atile-badge.is-gold {
  color: #B48200;
}

.bn-atile-bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 8px;
  min-height: 26px;
}

.bn-atile-price {
  font-size: 14px;
  font-weight: 800;
  color: var(--text-main);
}

.bn-atile-sub {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-sub);
}

.bn-mini-spark {
  width: 78px;
  height: 25px;
  display: block;
  flex-shrink: 0;
}

/* Gateway Rows inside Hero Widget */
.bn-gateway-list,
.bn-pop-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bn-gateway-row,
.bn-pop-item {
  width: 100%;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 12px;
  border-radius: 13px;
  background: var(--bg-elevated);
  border: 1px solid transparent;
  transition: border-color 0.16s ease, transform 0.16s ease;
}

@media (min-width: 640px) {
  .bn-gateway-row,
  .bn-pop-item {
    padding: 12px 14px;
    gap: 12px;
  }
}

.bn-gateway-row.is-featured {
  border-color: rgba(252, 213, 53, 0.28);
}

.bn-gateway-row:hover,
.bn-pop-item:hover {
  border-color: var(--brand-gold);
}

.bn-gw-start {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex: 1;
}

.bn-gw-ico {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bn-gw-ico.is-gold {
  background: rgba(252, 213, 53, 0.15);
  color: var(--brand-gold);
}

[data-theme="daylight"] .bn-gw-ico.is-gold {
  color: #C99400;
}

.bn-gw-ico.is-emerald {
  background: rgba(14, 203, 129, 0.15);
  color: var(--pos-green);
}

.bn-gw-ico.is-blue {
  background: rgba(59, 130, 246, 0.15);
  color: #3B82F6;
}

.bn-gw-text,
.bn-pop-info {
  flex: 1;
  min-width: 0;
}

.bn-gw-text strong,
.bn-pop-info strong {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 1px;
  line-height: 1.35;
}

@media (min-width: 640px) {
  .bn-gw-text strong,
  .bn-pop-info strong {
    font-size: 14px;
  }
}

.bn-gw-text small,
.bn-pop-info span {
  display: block;
  font-size: 11.5px;
  color: var(--text-sub);
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
}

@media (min-width: 560px) {
  .bn-gw-text small,
  .bn-pop-info span {
    font-size: 12px;
    white-space: nowrap;
  }
}

.bn-pop-item img {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.bn-gw-cta {
  padding: 6px 11px;
  border-radius: 8px;
  background: var(--bg-hover);
  color: var(--text-main);
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease;
}

@media (min-width: 640px) {
  .bn-gw-cta {
    padding: 6px 13px;
    font-size: 12.5px;
  }
}

.bn-gw-cta.is-primary,
.bn-gateway-row:hover .bn-gw-cta,
.bn-pop-item:hover .bn-gw-cta {
  background: var(--brand-gold);
  color: var(--brand-gold-ink);
}

/* ==================== SECTIONS ==================== */
.bn-section {
  padding: 46px 0;
}

@media (min-width: 768px) {
  .bn-section {
    padding: 68px 0;
  }
}

.bn-section-surface {
  background: var(--bg-alt);
}

.bn-section-hd {
  margin-bottom: 26px;
}

@media (min-width: 768px) {
  .bn-section-hd {
    margin-bottom: 36px;
  }
}

.bn-section-hd h2,
.bn-section-row h2,
.bn-faq-heading {
  font-size: clamp(22px, 3.6vw, 36px);
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 8px;
}

.bn-section-hd p,
.bn-section-row p {
  font-size: 14.5px;
  color: var(--text-sub);
}

.bn-section-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .bn-section-row {
    margin-bottom: 32px;
  }
}

/* 3 Symmetric Feature / Blockchain Cards:
   - Mobile (<640): 1-col vertical cards
   - Tablet (640-959): 1-col sleek horizontal split cards for .bn-feature-card (zero 2+1 orphan!)
   - Desktop (>=960): 3 equal columns */
.bn-tri-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

@media (min-width: 960px) {
  .bn-tri-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
}

.bn-feature-card {
  min-width: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.18s ease, transform 0.18s ease;
}

@media (min-width: 640px) and (max-width: 959px) {
  .bn-feature-card {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    align-items: stretch;
  }
}

.bn-feature-card:hover {
  border-color: var(--brand-gold);
  transform: translateY(-3px);
}

.bn-fcard-media {
  width: 100%;
  aspect-ratio: 2 / 1;
  background: #0B0E11;
  overflow: hidden;
}

@media (min-width: 640px) and (max-width: 959px) {
  .bn-fcard-media {
    aspect-ratio: auto;
    height: 100%;
    min-height: 176px;
  }
}

.bn-fcard-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.bn-feature-card:hover .bn-fcard-media img {
  transform: scale(1.03);
}

.bn-fcard-body {
  padding: 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
  min-width: 0;
}

@media (min-width: 768px) {
  .bn-fcard-body {
    padding: 22px;
  }
}

.bn-fcard-body h3 {
  font-size: 17.5px;
  font-weight: 800;
  margin-bottom: 8px;
}

@media (min-width: 768px) {
  .bn-fcard-body h3 {
    font-size: 19px;
  }
}

.bn-fcard-body p {
  font-size: 13.5px;
  color: var(--text-sub);
  margin-bottom: 16px;
  flex: 1;
}

@media (min-width: 768px) {
  .bn-fcard-body p {
    font-size: 14px;
    margin-bottom: 18px;
  }
}

.bn-link-arrow {
  font-size: 14px;
  font-weight: 700;
  color: var(--brand-gold);
}

[data-theme="daylight"] .bn-link-arrow {
  color: #C99400;
}

/* ==================== STORE 6-CARD SYMMETRIC GRID ==================== */
.bn-pill-switch {
  display: inline-flex;
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  border-radius: 10px;
  padding: 4px;
  gap: 4px;
}

.bn-ps-btn {
  padding: 7px 16px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-sub);
}

.bn-ps-btn.is-active {
  background: var(--brand-gold);
  color: var(--brand-gold-ink);
}

/* 2x3 on phones, 3x2 on tablets, 6x1 on desktop — 100% symmetric on every screen! */
.bn-store-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

@media (min-width: 640px) {
  .bn-store-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }
}

@media (min-width: 1120px) {
  .bn-store-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
}

.bn-store-card {
  min-width: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  border-radius: 14px;
  overflow: hidden;
  transition: transform 0.18s ease, border-color 0.18s ease;
}

.bn-store-card:hover {
  transform: translateY(-3px);
  border-color: var(--brand-gold);
}

.bn-store-card img {
  width: 100%;
  aspect-ratio: 7 / 6;
  object-fit: cover;
  display: block;
  background: #0B0E11;
}

.bn-scard-meta {
  padding: 10px 12px;
}

.bn-scard-meta strong {
  display: block;
  font-size: 13.5px;
  font-weight: 700;
  margin-bottom: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bn-scard-meta span {
  display: block;
  font-size: 11.5px;
  color: var(--text-sub);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==================== BLOCKCHAIN & PAY CARDS ==================== */
.bn-rail-card {
  min-width: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  border-radius: 16px;
  padding: 22px 18px;
  transition: border-color 0.16s ease, transform 0.16s ease;
}

@media (min-width: 768px) {
  .bn-rail-card {
    padding: 26px 22px;
  }
}

.bn-rail-card:hover {
  border-color: var(--text-sub);
  transform: translateY(-2px);
}

.bn-rail-ico {
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.bn-rail-ico.is-emerald { background: rgba(14, 203, 129, 0.14); color: var(--pos-green); }
.bn-rail-ico.is-gold { background: rgba(252, 213, 53, 0.15); color: var(--brand-gold); }
.bn-rail-ico.is-blue { background: rgba(59, 130, 246, 0.15); color: #3B82F6; }
[data-theme="daylight"] .bn-rail-ico.is-gold { color: #C99400; }

.bn-rail-card h3 {
  font-size: 17.5px;
  font-weight: 800;
  margin-bottom: 8px;
}

.bn-rail-card p {
  font-size: 13.5px;
  color: var(--text-sub);
  line-height: 1.68;
}

/* ==================== 4 TRUST PILLARS ==================== */
.bn-quad-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

@media (min-width: 600px) {
  .bn-quad-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
  }
}

@media (min-width: 1080px) {
  .bn-quad-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px;
  }
}

.bn-trust-card {
  min-width: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  border-radius: 16px;
  padding: 20px 18px;
}

@media (min-width: 768px) {
  .bn-trust-card {
    padding: 24px 20px;
  }
}

.bn-trust-ico {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg-hover);
  color: var(--brand-gold);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

[data-theme="daylight"] .bn-trust-ico {
  color: #C99400;
}

.bn-trust-card h3 {
  font-size: 16.5px;
  font-weight: 700;
  margin-bottom: 6px;
}

.bn-trust-card p {
  font-size: 13.5px;
  color: var(--text-sub);
  line-height: 1.65;
}

/* ==================== FAQ (BINANCE NUMBERED LIST) ==================== */
.bn-faq-container {
  max-width: 920px;
}

.bn-faq-heading {
  text-align: center;
  margin-bottom: 24px;
}

@media (min-width: 768px) {
  .bn-faq-heading {
    margin-bottom: 32px;
  }
}

.bn-faq-list {
  display: flex;
  flex-direction: column;
}

.bn-faq-item {
  border-bottom: 1px solid var(--border-line);
}

.bn-faq-btn {
  width: 100%;
  padding: 18px 2px;
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: start;
}

.bn-faq-num {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 1px solid var(--border-line);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-sub);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bn-faq-q {
  flex: 1;
  min-width: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
}

@media (min-width: 640px) {
  .bn-faq-q {
    font-size: 16px;
  }
}

.bn-faq-sign {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: var(--text-sub);
  flex-shrink: 0;
}

.bn-faq-item.is-open .bn-faq-sign {
  background: var(--brand-gold);
  color: var(--brand-gold-ink);
}

.bn-faq-ans {
  display: none;
  padding: 0 12px 18px;
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.75;
}

@media (min-width: 640px) {
  .bn-faq-ans {
    padding: 0 42px 22px;
    font-size: 14.5px;
  }
}

.bn-faq-item.is-open .bn-faq-ans {
  display: block;
}

/* ==================== BOTTOM CTA BAND ==================== */
.bn-cta-band {
  background: var(--bg-alt);
  padding: 44px 0;
  border-top: 1px solid var(--border-line);
  border-bottom: 1px solid var(--border-line);
}

@media (min-width: 768px) {
  .bn-cta-band {
    padding: 56px 0;
  }
}

.bn-cta-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.bn-cta-inner h2 {
  font-size: clamp(22px, 3.4vw, 36px);
  font-weight: 800;
}

/* ==================== FOOTER & LIVELY SOCIAL ICONS ==================== */
.bn-footer {
  background: var(--bg-page);
  padding: 44px 0 56px;
}

.bn-footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border-line);
}

@media (min-width: 600px) and (max-width: 959px) {
  .bn-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 960px) {
  .bn-footer-grid {
    grid-template-columns: minmax(0, 1.5fr) repeat(3, minmax(0, 1fr));
    gap: 28px;
  }
}

.bn-footer-brand,
.bn-footer-col {
  min-width: 0;
}

.bn-footer-tag {
  font-size: 13.5px;
  color: var(--text-sub);
  margin: 12px 0 20px;
  max-width: 340px;
}

.bn-soc-heading {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 12px;
}

.bn-social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.bn-soc-link {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

@media (min-width: 640px) {
  .bn-soc-link {
    width: 40px;
    height: 40px;
  }
}

.bn-soc-link.is-x    { color: var(--text-main); }
.bn-soc-link.is-fb   { color: #1877F2; }
.bn-soc-link.is-ig   { color: #E1306C; }
.bn-soc-link.is-snap { color: #F7D300; }
.bn-soc-link.is-tt   { color: #25F4EE; }
.bn-soc-link.is-yt   { color: #FF0033; }
.bn-soc-link.is-in   { color: #0A66C2; }
.bn-soc-link.is-tg   { color: #2AABEE; }
.bn-soc-link.is-wa   { color: #25D366; }

[data-theme="daylight"] .bn-soc-link.is-snap { color: #C9A800; }
[data-theme="daylight"] .bn-soc-link.is-tt   { color: #111827; }

.bn-soc-link:hover {
  transform: translateY(-3px);
}

.bn-soc-link.is-x:hover    { background: #000000; color: #FFFFFF; border-color: #EAECEF; box-shadow: 0 8px 20px rgba(255, 255, 255, 0.12); }
.bn-soc-link.is-fb:hover   { background: #1877F2; color: #FFFFFF; border-color: #1877F2; box-shadow: 0 8px 20px rgba(24, 119, 242, 0.35); }
.bn-soc-link.is-ig:hover   { background: linear-gradient(135deg, #F58529, #DD2A7B, #8134AF); color: #FFFFFF; border-color: #DD2A7B; box-shadow: 0 8px 20px rgba(221, 42, 123, 0.35); }
.bn-soc-link.is-snap:hover { background: #FFFC00; color: #111111; border-color: #FFFC00; box-shadow: 0 8px 20px rgba(255, 252, 0, 0.32); }
.bn-soc-link.is-tt:hover   { background: #0B0E11; color: #25F4EE; border-color: #FE2C55; box-shadow: 0 8px 20px rgba(254, 44, 85, 0.28); }
.bn-soc-link.is-yt:hover   { background: #FF0033; color: #FFFFFF; border-color: #FF0033; box-shadow: 0 8px 20px rgba(255, 0, 51, 0.35); }
.bn-soc-link.is-in:hover   { background: #0A66C2; color: #FFFFFF; border-color: #0A66C2; box-shadow: 0 8px 20px rgba(10, 102, 194, 0.35); }
.bn-soc-link.is-tg:hover   { background: #2AABEE; color: #FFFFFF; border-color: #2AABEE; box-shadow: 0 8px 20px rgba(42, 171, 238, 0.35); }
.bn-soc-link.is-wa:hover   { background: #25D366; color: #06130D; border-color: #25D366; box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35); }

.bn-footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.bn-footer-col h4 {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 2px;
}

.bn-footer-col a,
.bn-foot-btn {
  font-size: 13.5px;
  color: var(--text-sub);
  text-align: start;
  transition: color 0.15s ease;
}

.bn-footer-col a:hover,
.bn-foot-btn:hover {
  color: var(--text-main);
}

.bn-footer-bottom {
  padding-top: 22px;
  text-align: center;
  font-size: 13px;
  color: var(--text-sub);
}

/* ==================== CENTERED MODALS & MOBILE MENU ==================== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(0, 0, 0, 0.72);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.bn-modal-card {
  width: 100%;
  max-width: 460px;
  max-height: min(84vh, 620px);
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.bn-drawer-card {
  max-width: 380px;
}

.bn-modal-hd {
  padding: 15px 18px;
  border-bottom: 1px solid var(--border-line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.bn-modal-hd strong {
  font-size: 16px;
  font-weight: 700;
}

.bn-close-btn,
.bn-back-btn {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--bg-hover);
  color: var(--text-main);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
}

.bn-modal-body {
  padding: 18px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 13.5px;
  color: var(--text-body);
}

.bn-modal-sec {
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-line);
}

.bn-modal-sec:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.bn-modal-sec h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}

.bn-modal-foot {
  padding: 14px 18px;
  border-top: 1px solid var(--border-line);
}

.bn-mino-greet {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bn-mino-greet img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.bn-mino-qbtn {
  width: 100%;
  padding: 11px 14px;
  border-radius: 10px;
  background: var(--bg-hover);
  text-align: start;
  font-size: 13px;
  font-weight: 600;
}

.bn-mino-ans {
  padding: 14px;
  border-radius: 10px;
  background: var(--bg-alt);
  border: 1px solid var(--border-line);
  color: var(--text-main);
  line-height: 1.7;
}

.bn-drawer-list {
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  overflow-y: auto;
}

.bn-drawer-link {
  padding: 11px 12px;
  border-radius: 8px;
  font-size: 14.5px;
  font-weight: 600;
  text-align: start;
}

.bn-drawer-link:hover {
  background: var(--bg-hover);
}

.bn-drawer-prefs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid var(--border-line);
}

.bn-pref-chip {
  height: 36px;
  border-radius: 8px;
  background: var(--bg-hover);
  font-size: 12.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.bn-drawer-actions {
  padding: 14px 16px;
  border-top: 1px solid var(--border-line);
  display: flex;
  flex-direction: column;
  gap: 10px;
}


/* =========================================================================
   TUS Token Standalone Page Extensions (Shared Clean Matte System)
========================================================================= */
.tus-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-body);
  margin-bottom: 18px;
}

.tus-status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-gold);
  flex-shrink: 0;
}

.tus-showcase-card {
  padding: 16px;
}

@media (min-width: 640px) {
  .tus-showcase-card {
    padding: 20px;
  }
}

.tus-hero-art {
  width: 100%;
  aspect-ratio: 2 / 1;
  border-radius: 14px;
  overflow: hidden;
  background: #0B0E11;
  margin-bottom: 16px;
  border: 1px solid var(--border-line);
}

.tus-hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.tus-fact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

@media (max-width: 420px) {
  .tus-fact-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

.tus-fact-item {
  background: var(--bg-alt);
  border: 1px solid var(--border-line);
  border-radius: 12px;
  padding: 11px 13px;
  min-width: 0;
}

.tus-fact-item span {
  display: block;
  font-size: 11.5px;
  color: var(--text-sub);
  margin-bottom: 2px;
}

.tus-fact-item strong {
  display: block;
  font-size: 13.5px;
  font-weight: 800;
  color: var(--text-main);
  overflow-wrap: break-word;
}

/* Visual Tokenomics Bar & Cards */
.tus-alloc-bar-wrap {
  margin-bottom: 26px;
}

.tus-alloc-bar {
  width: 100%;
  height: 14px;
  border-radius: 999px;
  overflow: hidden;
  display: flex;
  gap: 3px;
  background: var(--bg-alt);
}

.tus-seg { height: 100%; display: block; }
.seg-burn { width: 30%; background: #F6465D; }
.seg-comm { width: 20%; background: #0ECB81; }
.seg-liq  { width: 20%; background: #3B82F6; }
.seg-team { width: 20%; background: #8B5CF6; }
.seg-eco  { width: 10%; background: #FCD535; }

.tus-alloc-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 16px;
}

@media (min-width: 640px) {
  .tus-alloc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .tus-alloc-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }
}

.tus-alloc-card {
  min-width: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  border-radius: 16px;
  padding: 22px 20px;
}

.tus-burn-highlight {
  border-color: rgba(252, 213, 53, 0.35);
}

.tus-alloc-top {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.tus-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot-burn { background: #F6465D; }
.dot-comm { background: #0ECB81; }
.dot-liq  { background: #3B82F6; }
.dot-team { background: #8B5CF6; }
.dot-eco,
.dot-gold { background: #FCD535; }

.tus-alloc-top strong {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-main);
}

.tus-alloc-top small {
  font-size: 12px;
  font-weight: 700;
  color: var(--text-sub);
  margin-inline-start: auto;
}

.tus-alloc-card h3 {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 8px;
}

.tus-alloc-card p {
  font-size: 13.5px;
  color: var(--text-sub);
  line-height: 1.68;
}

/* Roadmap Stage Cards */
.tus-stage-card {
  min-width: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  border-radius: 16px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
}

.tus-stage-card.is-done {
  border-color: rgba(14, 203, 129, 0.38);
}

.tus-stage-card.is-active {
  border-color: rgba(252, 213, 53, 0.55);
}

.tus-stage-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 14px;
}

.tus-stage-num {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-main);
}

.tus-stage-pill {
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 700;
  background: var(--bg-hover);
  color: var(--text-sub);
}

.tus-stage-pill.pill-done {
  background: rgba(14, 203, 129, 0.14);
  color: var(--pos-green);
}

.tus-stage-pill.pill-active {
  background: rgba(252, 213, 53, 0.18);
  color: var(--brand-gold);
}

[data-theme="daylight"] .tus-stage-pill.pill-active {
  color: #B48200;
}

.tus-stage-card h3 {
  font-size: 17px;
  font-weight: 800;
  margin-bottom: 8px;
}

.tus-stage-card p {
  font-size: 13.5px;
  color: var(--text-sub);
  line-height: 1.68;
}

/* Dual Whitepaper & Live Transparency Cards */
.tus-dual-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
}

@media (min-width: 900px) {
  .tus-dual-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px;
  }
}

.tus-doc-card {
  min-width: 0;
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  border-radius: 18px;
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
}

@media (min-width: 640px) {
  .tus-doc-card {
    padding: 28px 26px;
  }
}

.tus-doc-tag {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 10px;
  border-radius: 7px;
  background: var(--bg-hover);
  font-size: 12px;
  font-weight: 700;
  color: var(--brand-gold);
  margin-bottom: 12px;
}

[data-theme="daylight"] .tus-doc-tag {
  color: #B48200;
}

.tus-doc-card h2 {
  font-size: clamp(20px, 2.6vw, 26px);
  font-weight: 800;
  margin-bottom: 10px;
}

.tus-doc-card p {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.72;
  margin-bottom: 22px;
  flex: 1;
}

.tus-doc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tus-live-rows {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 6px;
}

.tus-lrow {
  padding: 11px 13px;
  border-radius: 11px;
  background: var(--bg-alt);
  border: 1px solid var(--border-line);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}

.tus-lrow span {
  font-size: 13px;
  color: var(--text-sub);
}

.tus-lrow strong {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--text-main);
  word-break: break-all;
}

.tus-feed-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
}

.tus-feed-links a {
  color: var(--brand-gold);
}

[data-theme="daylight"] .tus-feed-links a {
  color: #B48200;
}

.tus-legal-box {
  margin-top: 28px;
  padding: 16px 18px;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-line);
  font-size: 12.5px;
  color: var(--text-sub);
  line-height: 1.7;
  text-align: center;
}

/* Centered Whitepaper Reader Modal */
.tus-wp-modal {
  max-width: 780px;
  max-height: min(88vh, 760px);
}

.tus-wp-head-acts {
  display: flex;
  align-items: center;
  gap: 8px;
}

.tus-wp-article h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-main);
  margin-bottom: 6px;
}

.tus-wp-article p {
  font-size: 13.5px;
  color: var(--text-body);
  line-height: 1.78;
}

.tus-wp-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 6px;
  font-size: 12.5px;
}

.tus-wp-table th,
.tus-wp-table td {
  padding: 8px 10px;
  border: 1px solid var(--border-line);
  text-align: start;
}

.tus-wp-table th {
  background: var(--bg-alt);
  color: var(--text-main);
  font-weight: 700;
}

/* Print-to-PDF Executive Whitepaper Formatting */
@media print {
  .bn-header,
  .tus-page-main,
  .bn-footer,
  .tus-wp-head-acts {
    display: none !important;
  }
  .modal-backdrop {
    position: static !important;
    background: #FFFFFF !important;
    padding: 0 !important;
  }
  .tus-wp-modal {
    max-width: 100% !important;
    max-height: none !important;
    border: none !important;
    background: #FFFFFF !important;
    color: #0F172A !important;
  }
  .bn-modal-body {
    overflow: visible !important;
    color: #1E293B !important;
  }
  .tus-wp-article h3,
  .bn-modal-hd strong {
    color: #0F172A !important;
  }
}
