@charset "utf-8";

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700;800&family=Orbitron:wght@500;700;800&display=swap');

:root {
  --bg: #061015;
  --bg-soft: #0b1a22;
  --surface: rgba(10, 28, 37, 0.72);
  --surface-strong: rgba(14, 37, 48, 0.92);
  --surface-border: rgba(137, 244, 255, 0.18);
  --surface-highlight: rgba(111, 255, 241, 0.1);
  --text-main: #ecffff;
  --text-soft: #9dc8cf;
  --text-muted: #7aa0a8;
  --primary: #79f0ec;
  --primary-strong: #1ab7c7;
  --accent: #bafff0;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  font-size: 15px;
  color: var(--text-soft);
  font-family: "Manrope", sans-serif;
  font-weight: 500;
  background:
    radial-gradient(circle at top left, rgba(47, 161, 166, 0.25), transparent 28%),
    radial-gradient(circle at 80% 12%, rgba(130, 247, 255, 0.12), transparent 25%),
    linear-gradient(180deg, #071116 0%, #08171d 48%, #050d11 100%);
    background-attachment: fixed;
}

a,
a:active,
a:focus,
a:hover,
button,
button:active,
button:focus,
button:hover {
  outline: none;
  transition: all 0.3s ease;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: inline-block;
}

p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-soft);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--text-main);
  margin-bottom: 0;
}

ul {
  margin-bottom: 0;
  padding-left: 0;
}



.site-shell {
  position: relative;
}

.section-space {
  position: relative;
  padding: 56px 0;
}

.alt-surface::before {
  content: ""; z-index: -1;
  position: absolute;
  inset: 24px 0;
  background: linear-gradient(180deg, rgba(15, 36, 46, 0.52), rgba(8, 21, 28, 0.2));
  border-top: 1px solid rgba(133, 239, 255, 0.06);
  border-bottom: 1px solid rgba(133, 239, 255, 0.06);
  pointer-events: none;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 12px;
  margin-bottom: 16px;
  border: 1px solid rgba(126, 240, 240, 0.18);
  border-radius: 999px;
  background: rgba(10, 33, 43, 0.62);
  color: var(--primary);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 10px;
  font-weight: 800;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--primary-strong));
  box-shadow: 0 0 18px rgba(121, 240, 236, 0.8);
}

.section-heading {
  margin-bottom: 28px;
}

.narrow-center {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}

.section-title {
  font-family: "Orbitron", sans-serif;
  font-size: clamp(1.7rem, 3vw, 2.7rem);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.03em;
}

.section-title.small-title {
  font-size: clamp(1.45rem, 2.4vw, 2.1rem);
}

.section-copy {
  max-width: 520px;
  color: var(--text-soft);
}

.card-panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--surface-border);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, rgba(12, 31, 41, 0.88), rgba(8, 20, 27, 0.78));
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.card-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(133, 251, 255, 0.08), transparent 38%, transparent 64%, rgba(133, 251, 255, 0.05));
  pointer-events: none;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 14px 0;
}

.site-shell > main {
  padding-top: 100px;
}

header.menu_fixed .site-navbar,
.site-navbar {
  padding: 12px 18px;
  border: 1px solid rgba(122, 231, 236, 0.14);
  border-radius: 18px;
  background: rgba(8, 18, 24, 0.74);
  backdrop-filter: blur(20px);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
}

.header_logo {
  width: min(180px, 32vw);
}

.nav-links-wrap {
  gap: 10px;
}

.navbar-nav .nav-link {
  padding: 8px 12px;
  color: var(--text-main);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus,
.navbar-nav .nav-link.active {
  color: var(--primary);
}

.navbar-toggler {
  border: 1px solid rgba(121, 240, 236, 0.25);
  box-shadow: none;
  padding: 8px 12px;
}

.navbar-toggler-icon {
  filter: brightness(0) invert(1);
}

.btn_style,
.btn_ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.btn_style {
  color: #041015;
  border: none; white-space: nowrap;
  background: linear-gradient(135deg, #bcfff4 0%, #6feff1 42%, #109fb0 100%);
  box-shadow: 0 18px 35px rgba(42, 190, 190, 0.28);
}

.btn_style:hover {
  color: #041015;
  transform: translateY(-2px);
  box-shadow: 0 24px 40px rgba(42, 190, 190, 0.36);
}

.btn_ghost {
  color: var(--text-main);
  border: 1px solid rgba(130, 247, 255, 0.22);
  background: rgba(255, 255, 255, 0.03);
}

.btn_ghost:hover {
  color: var(--primary);
  border-color: rgba(130, 247, 255, 0.4);
  background: rgba(110, 239, 241, 0.06);
}

.hero-section {
  overflow: hidden;
  padding-top: 40px;
}

.hero-title {
  max-width: 600px;
  font-family: "Orbitron", sans-serif;
  font-size: clamp(2.1rem, 4.8vw, 4.1rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.04em;
}

.hero-title span {
  color: var(--primary);
}

.hero-copy {
  max-width: 520px;
  margin: 18px 0 24px;
  font-size: 16px;
}

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

.hero-stat-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 500px;
  margin-top: 24px;
}

.hero-stat-card {
  padding: 16px 18px;
  border: 1px solid rgba(127, 232, 239, 0.14);
  border-radius: var(--radius-md);
  background: rgba(10, 26, 34, 0.6);
}

.stat-label {
  display: block;
  margin-bottom: 6px;
  color: var(--text-muted);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-stat-card strong {
  display: block;
  color: var(--text-main);
  font-size: 16px;
}

.hero-visual,
.buy-spotlight {
  min-height: 460px;
  padding: 28px;
}

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

.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(129, 239, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(129, 239, 255, 0.08) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: radial-gradient(circle at center, black 35%, transparent 82%);
}

.hero-coin {
  position: relative;
  z-index: 2;
  width: min(100%, 380px);
  filter: drop-shadow(0 26px 40px rgba(0, 0, 0, 0.35));
  animation: floatCoin 6s ease-in-out infinite;
}

.floating-chip {
  position: absolute;
  z-index: 3;
  padding: 8px 14px;
  border: 1px solid rgba(137, 244, 255, 0.2);
  border-radius: 999px;
  background: rgba(8, 26, 35, 0.72);
  color: var(--text-main);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.chip-top {
  top: 28px;
  right: 24px;
}

.chip-bottom {
  left: 24px;
  bottom: 28px;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.45;
  pointer-events: none;
}

.orb-one {
  width: 220px;
  height: 220px;
  top: 40px;
  left: -50px;
  background: rgba(94, 236, 220, 0.38);
}

.orb-two {
  width: 300px;
  height: 300px;
  bottom: -60px;
  right: 5%;
  background: rgba(15, 135, 161, 0.34);
}

.orb-three {
  width: 260px;
  height: 260px;
  top: 20%;
  right: 8%;
  background: rgba(154, 255, 251, 0.18);
}

.brand-banner,
.cta-panel,
.footer-panel,
.tokenomics-panel,
.advantage-copy,
.advantage-visual,
.buy-spotlight,
.benefit-note {
  padding: 26px;
}

.brand-banner,
.cta-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.feature-grid .feature-card,
.step-card,
.timeline-card {
  padding: 24px;
}

.feature-icon {
  width: 54px;
  height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(190, 255, 244, 0.18), rgba(16, 159, 176, 0.2));
  border: 1px solid rgba(137, 244, 255, 0.18);
  color: var(--primary);
  font-size: 22px;
}

.feature-card h3,
.step-card h3,
.timeline-card h3,
.advantage-copy h3,
.buy-spotlight h2,
.benefit-note h3,
.metric-highlight h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.feature-card p,
.step-card p,
.timeline-card p,
.advantage-copy p,
.buy-spotlight p,
.benefit-note p {
  margin-bottom: 0;
}

.content-stack {
 
  flex-direction: column;
  height: 100%;
  gap: 18px;
}

.content-stack .section-title,
.content-stack h3 {
  color: #f3fdff;
}

.content-stack .section-copy,
.content-stack p {
  color: #cdebf0;
}

.content-stack .benefit-note p {
  color: #e3f7fa;
}

.token-visual {
  min-height: 260px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 22px;
}

.token-orbit {
  width: min(100%, 340px);
  animation: floatCoin 5.5s ease-in-out infinite;
}

.metric-card {
  height: 100%;
  padding: 18px;
  border: 1px solid rgba(133, 239, 255, 0.14);
  border-radius: 20px;
  background: rgba(8, 25, 33, 0.76);
}

.metric-card span,
.buy-data-card span,
.launch-item span,
.metric-highlight span {
  display: block;
  margin-bottom: 8px;
  color: var(--text-muted);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.metric-card strong,
.buy-data-card strong,
.launch-item strong {
  color: var(--text-main);
  font-size: 0.95rem;
  line-height: 1.45;
}

.metric-highlight {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px;
  border: 1px solid rgba(188, 255, 244, 0.16);
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(14, 51, 62, 0.76), rgba(7, 19, 26, 0.9));
}

.advantage-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 18px;
}

.clean-list {
  list-style: none;
  margin-top: 16px;
}

.clean-list li {
  position: relative;
  padding-left: 24px;
  margin-bottom: 20px;
  color: var(--text-main);
}

.clean-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--primary-strong));
  box-shadow: 0 0 18px rgba(121, 240, 236, 0.7);
}

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

.timeline-step,
.panel-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 6px 12px;
  margin-bottom: 12px;
  border-radius: 999px;
  border: 1px solid rgba(129, 239, 255, 0.18);
  background: rgba(110, 239, 241, 0.08);
  color: var(--primary);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.modern-accordion .accordion-item {
  margin-bottom: 14px;
  overflow: hidden;
  border: 1px solid rgba(133, 239, 255, 0.14);
  border-radius: 22px;
  background: rgba(9, 24, 31, 0.72);
}

.faq_btn {
  position: relative;
  width: 100%;
  border: none;
  background: transparent;
  padding: 20px 52px 20px 22px;
  text-align: left;
  color: var(--text-main);
  font-size: 16px;
  font-weight: 800;
}

.faq_btn::before {
  content: "\f286";
  font-family: bootstrap-icons !important;
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary);
}

.faq_btn.collapsed::before {
  content: "\f282";
}

.accordion-collapse {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  padding: 0 22px;
  transition: max-height 0.38s ease, opacity 0.28s ease, padding 0.38s ease;
}

.modern-accordion .accordion-collapse.show {
  max-height: 240px;
  opacity: 1;
  padding: 0 22px 18px;
}

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

.buy-hero .hero-title {
  max-width: 620px;
}

.buy-data-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.buy-data-card {
  padding: 18px;
  border-radius: 18px;
  border: 1px solid rgba(133, 239, 255, 0.14);
  background: rgba(7, 22, 28, 0.78);
}

.buy-metric strong {
  font-size: 1rem;
}

.split-cta {
  align-items: stretch;
}

.launch-list {
  min-width: 240px;
  display: grid;
  gap: 10px;
}

.launch-item {
  padding: 14px 16px;
  border: 1px solid rgba(133, 239, 255, 0.14);
  border-radius: 18px;
  background: rgba(7, 23, 30, 0.68);
}

.site-footer {
  padding: 0 0 24px;
}

.footer-panel {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-bottom {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(133, 239, 255, 0.1);
  text-align: center;
}

.footer_logo {
  width: min(170px, 34vw);
  margin-bottom: 10px;
}

.footer-brand p,
.footer-copy {
  color: var(--text-soft);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a {
  color: var(--text-main);
  font-size: 13px;
  font-weight: 700;
}

.footer-links a:hover {
  color: var(--primary);
}

.word-wrap {
  word-break: break-word;
}

.wallet-shell > .wallet-main {
  padding-top: 150px;
}

.wallet-topbar {
  min-height: 78px;
  padding: 14px 18px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

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

.wallet-actions .btn_ghost,
.wallet-actions .btn_style {
  min-height: 38px;
  padding: 8px 14px;
  font-size: 11px;
}

.wallet-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 22px;
}

.wallet-metric-card {
  padding: 14px;
  border: 1px solid rgba(133, 239, 255, 0.12);
  border-radius: 14px;
  background: rgba(10, 23, 31, 0.72);
}

.wallet-metric-card strong {
  display: block;
  margin-bottom: 4px;
  color: var(--primary);
  font-size: 1.45rem;
  line-height: 1;
}

.wallet-metric-card span {
  color: var(--text-main);
  font-size: 13px;
  font-weight: 700;
}

.wallet-section-title-wrap {
  text-align: center;
  margin-bottom: 20px;
}

.wallet-section-title {
  color: #12d4ef;
}

.wallet-workspace-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 16px;
  margin-bottom: 20px;
}

.wallet-form-card,
.wallet-withdraw-card {
  padding: 20px;
}

.wallet-label {
  display: block;
  color: var(--text-main);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 8px;
}

.wallet-input {
  width: 100%;
  min-height: 46px;
  margin-bottom: 12px;
  border: 1px solid rgba(133, 239, 255, 0.14);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-main);
  padding: 10px 12px;
  font-size: 14px;
}

.wallet-input::placeholder {
  color: rgba(236, 255, 255, 0.55);
}

.wallet-input:focus {
  outline: none;
  border-color: rgba(121, 240, 236, 0.42);
  box-shadow: 0 0 0 2px rgba(121, 240, 236, 0.12);
}

.wallet-select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--primary) 50%), linear-gradient(135deg, var(--primary) 50%, transparent 50%);
  background-position: calc(100% - 20px) calc(1em + 8px), calc(100% - 15px) calc(1em + 8px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.wallet-select option {
  background: #0b1e28;
  color: var(--text-main);
}

.wallet-submit,
.wallet-withdraw-btn {
  margin-top: 4px;
  min-width: 140px;
}

.wallet-withdraw-card h3 {
  font-family: "Orbitron", sans-serif;
  margin-bottom: 12px;
}

.wallet-balance-label {
  color: var(--text-main);
  font-size: 14px;
  font-weight: 700;
  margin-top: 6px;
}

.wallet-balance-value {
  color: var(--text-main);
  font-size: 2.2rem;
  line-height: 1;
  margin-bottom: 16px;
  font-weight: 800;
}

.wallet-referral-block {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(133, 239, 255, 0.12);
}

.wallet-referral-block h4 {
  margin-bottom: 8px;
  font-size: 1.7rem;
  font-family: "Orbitron", sans-serif;
}

.wallet-ref-link {
  color: #cfe9ef;
  font-size: 13px;
  word-break: break-all;
  margin-bottom: 8px;
}

.wallet-usdt {
  color: #15ccf1;
  font-size: 14px;
  font-weight: 700;
}

.wallet-history {
  padding: 14px;
  margin-bottom: 26px;
}

.wallet-history-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.wallet-tab {
  border: 1px solid rgba(133, 239, 255, 0.16);
  border-radius: 8px;
  background: rgba(14, 32, 42, 0.75);
  color: #d9f5f7;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 12px;
}

.wallet-tab.active {
  color: var(--primary);
  border-color: rgba(121, 240, 236, 0.35);
}

.wallet-table-wrap {
  overflow-x: auto;
}

.wallet-table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
}

.wallet-table thead th {
  text-align: left;
  padding: 10px 8px;
  color: var(--text-main);
  font-size: 14px;
  font-weight: 700;
  border-bottom: 1px solid rgba(133, 239, 255, 0.14);
}

.wallet-table tbody td {
  padding: 14px 8px;
  text-align: left;
  color: #def8fc;
  font-size: 14px;
  border-bottom: 1px solid rgba(133, 239, 255, 0.07);
}

.wallet-table tbody tr:last-child td {
  border-bottom: none;
}

.wallet-table tbody tr:hover td {
  background: rgba(121, 240, 236, 0.04);
}

.wallet-status {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.wallet-status--success {
  background: rgba(34, 197, 94, 0.14);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.25);
}

.wallet-status--pending {
  background: rgba(250, 204, 21, 0.12);
  color: #facc15;
  border: 1px solid rgba(250, 204, 21, 0.25);
}

.wallet-status--expired {
  background: rgba(239, 68, 68, 0.12);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.22);
}

.wallet-footer {
  border-top: 1px solid rgba(133, 239, 255, 0.14);
  padding-top: 22px;
}

.wallet-footer-brand-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 14px;
}

.wallet-footer-copy {
  margin: 0;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  color: #d2f2f7;
  padding: 10px 20px;
  border-radius: 999px;
  background: linear-gradient(90deg, #8f47ff 0%, #1cc8ff 100%);
}

/* ── Wallet Hero ── */
.wallet-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 36px 40px;
  overflow: hidden;
  position: relative;
}
.wallet-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(121,240,236,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.wallet-hero-text { flex: 1; }
.wallet-hero-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--primary);
  margin: 6px 0 12px;
  line-height: 1.1;
}
.wallet-hero-addr {
  font-size: 13px;
  color: rgba(236,255,255,0.55);
  margin-bottom: 18px;
  word-break: break-all;
}
.wallet-addr-text {
  font-family: monospace;
  color: var(--primary);
  opacity: 0.85;
}
.wallet-token-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.wallet-token-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 14px;
  border-radius: 999px;
  border: 1px solid rgba(121,240,236,0.22);
  background: rgba(121,240,236,0.06);
  font-size: 12px;
  color: var(--text-main);
}
.wallet-token-badge strong { color: var(--primary); }
.wallet-hero-visual {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}
.wallet-token-img {
  width: 160px;
  height: 160px;
  object-fit: contain;
  filter: drop-shadow(0 0 32px rgba(121,240,236,0.35));
  animation: floatCoin 4s ease-in-out infinite;
}
@keyframes floatCoin {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* ── Metric Icon ── */
.wallet-metric-icon {
  font-size: 1.6rem;
  color: var(--primary);
  opacity: 0.75;
  margin-bottom: 8px;
  display: block;
}

/* ── Token Info Bar ── */
.wallet-infobar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 20px 32px;
}
.wallet-infobar-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.wallet-infobar-coin {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 0 8px rgba(121,240,236,0.4));
}
.wallet-infobar-icon {
  font-size: 1.6rem;
  color: var(--primary);
  opacity: 0.7;
}
.wallet-infobar-label {
  font-size: 11px;
  color: rgba(236,255,255,0.45);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.wallet-infobar-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-main);
  margin: 0;
}
.wallet-infobar-divider {
  width: 1px;
  height: 40px;
  background: rgba(121,240,236,0.15);
}

/* ── Package Cards ── */
.wallet-pkg-card {
  padding: 28px 18px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.wallet-pkg-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0,0,0,0.3);
}
.wallet-pkg-icon {
  font-size: 2.4rem;
  margin-bottom: 14px;
  display: block;
}
.wallet-pkg-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}
.wallet-pkg-nft {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: 8px;
}
.wallet-pkg-range {
  font-size: 13px;
  color: rgba(236,255,255,0.5);
  margin-bottom: 14px;
}
.wallet-pkg-roi {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 14px;
  border-radius: 8px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(121,240,236,0.12);
  font-size: 13px;
  color: rgba(236,255,255,0.55);
}
.wallet-pkg-roi strong { font-size: 15px; }

/* ── Wallet Section Sub ── */
.wallet-section-sub {
  color: rgba(236,255,255,0.5);
  font-size: 15px;
  max-width: 520px;
  margin: 0 auto;
}

/* ── Wallet Footer ── */
.wallet-footer .wallet-footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  padding: 28px 0 18px;
  border-top: 1px solid rgba(121,240,236,0.1);
}
.wallet-footer-socials {
  display: flex;
  gap: 14px;
}
.wallet-footer-socials a {
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(121,240,236,0.2);
  color: rgba(236,255,255,0.55);
  font-size: 15px;
  transition: color .2s, border-color .2s;
}
.wallet-footer-socials a:hover {
  color: var(--primary);
  border-color: var(--primary);
}

/* ══════════════════════════════════════
   REFERRAL TREE
══════════════════════════════════════ */

/* Stats bar */
.rtree-stats {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  padding: 20px 28px;
}
.rtree-stat {
  display: flex;
  align-items: center;
  gap: 12px;
}
.rtree-stat > i {
  font-size: 1.5rem;
  color: var(--primary);
  opacity: 0.75;
}
.rtree-stat-val {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--primary);
  margin: 0;
  line-height: 1.1;
}
.rtree-stat-lbl {
  font-size: 11px;
  color: rgba(236,255,255,0.45);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin: 0;
}
.rtree-stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(121,240,236,0.15);
}

/* Legend */
.rtree-legend {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px 20px;
  padding: 14px 22px;
  font-size: 12px;
  color: rgba(236,255,255,0.55);
}
.rtree-legend-title {
  font-weight: 600;
  color: rgba(236,255,255,0.7);
  margin-right: 4px;
}
.rtree-legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.rtree-legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

/* Tree container */
.rtree-wrap {
  padding: 32px 24px;
  overflow: visible;
}
.rtree-scroll {
  overflow-x: auto;
  padding: 16px 24px 16px;
  min-width: 0;
}

.rtree-scroll > .rtree-node-wrap {
  min-width: max-content;
}

/* Root wrap */
.rtree-root-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Node wrapper */
.rtree-node-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

/* Vertical line going down from node */
.rtree-node-wrap .rtree-children::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 48px;
  background: linear-gradient(to bottom, rgba(121,240,236,0.4), rgba(121,240,236,0.15));
}

/* Children row */
.rtree-children {
  display: flex;
  gap: 16px;
  position: relative;
  padding-top: 48px;
  margin-top: 0;
}

/* Horizontal line - handled per-child via borders below */
.rtree-children::after {
  display: none;
}

/* Each child wrap needs top padding so the card sits below the connector */
.rtree-children > .rtree-node-wrap {
  padding-top: 36px;
}

/* Default: only-child → just a vertical line */
.rtree-children > .rtree-node-wrap::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 28px;
  background: rgba(121,240,236,0.25);
  border: none;
}

/* First child (has siblings): vertical line at center + horizontal going right into gap */
.rtree-children > .rtree-node-wrap:not(:only-child):first-child::before {
  left: 50%;
  right: -8px;
  width: auto;
  transform: none;
  background: transparent;
  border-top: 2px solid rgba(121,240,236,0.25);
  border-left: 2px solid rgba(121,240,236,0.25);
}

/* Last child (has siblings): vertical line at center + horizontal going left into gap */
.rtree-children > .rtree-node-wrap:not(:only-child):last-child::before {
  left: -8px;
  right: 50%;
  width: auto;
  transform: none;
  background: transparent;
  border-top: 2px solid rgba(121,240,236,0.25);
  border-right: 2px solid rgba(121,240,236,0.25);
}

/* Middle children: horizontal spans across both gaps */
.rtree-children > .rtree-node-wrap:not(:first-child):not(:last-child)::before {
  left: -8px;
  right: -8px;
  width: auto;
  transform: none;
  height: 0;
  background: transparent;
  border-top: 2px solid rgba(121,240,236,0.25);
}

/* Middle children: vertical line drawn via ::after */
.rtree-children > .rtree-node-wrap:not(:first-child):not(:last-child)::after {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 28px;
  background: rgba(121,240,236,0.25);
}

/* The node card itself */
.rtree-node {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  min-width: 210px;
  max-width: 240px;
  position: relative;
  margin-bottom: 12px;
  transition: box-shadow .2s, transform .2s;
}
.rtree-node:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 36px rgba(0,0,0,0.3);
}
.rtree-node--root {
  border: 1px solid rgba(121,240,236,0.35);
  background: rgba(121,240,236,0.06);
  min-width: 230px;
}
.rtree-node--inactive {
  opacity: 0.45;
}

/* Avatar circle */
.rtree-avatar {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  background: rgba(121,240,236,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.3rem;
  color: var(--primary);
}

/* Info */
.rtree-info { flex: 1; min-width: 0; }
.rtree-name {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  margin: 0 0 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rtree-addr {
  font-size: 10px;
  color: rgba(236,255,255,0.35);
  font-family: monospace;
  margin: 0 0 6px;
}
.rtree-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.rtree-badge {
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid;
  line-height: 1.4;
}
.rtree-income {
  font-size: 11px;
  color: rgba(236,255,255,0.55);
}

/* Expand/collapse toggle */
.rtree-toggle {
  background: rgba(121,240,236,0.08);
  border: 1px solid rgba(121,240,236,0.2);
  border-radius: 50%;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 11px;
  flex-shrink: 0;
  cursor: pointer;
  transition: background .2s;
}
.rtree-toggle:hover {
  background: rgba(121,240,236,0.18);
}

/* Connector line from root down */
.rtree-root-wrap > .rtree-node {
  margin-bottom: 0;
}
.rtree-root-wrap > .rtree-children {
  margin-top: 0;
}



#return-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 999;
  width: 48px;
  height: 48px;
  display: none;
  line-height: 48px;
  text-align: center;
  border-radius: 50%;
  border: 1px solid rgba(121, 240, 236, 0.22);
  background: rgba(8, 22, 29, 0.86);
  color: var(--primary);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.28);
}

#return-to-top:hover {
  transform: translateY(-2px);
  color: var(--text-main);
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
}

.overlay .overlayDoor::before,
.overlay .overlayDoor::after {
  content: "";
  position: absolute;
  width: 50%;
  height: 100%;
  background: #030b0f;
  transition: 0.5s;
  transition-delay: 0.8s;
}

.overlay .overlayDoor::before {
  left: 0;
}

.overlay .overlayDoor::after {
  right: 0;
}

.overlay.loaded .overlayDoor::before {
  left: -50%;
}

.overlay.loaded .overlayDoor::after {
  right: -50%;
}

.overlay.loaded .overlayContent {
  opacity: 0;
  margin-top: -15px;
}

.overlay .overlayContent {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.5s;
}

.overlayContent img {
  width: min(200px, 72vw);
}

@keyframes floatCoin {
  0%,
  100% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-14px);
  }
}
