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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", system-ui, -apple-system, sans-serif;
  background: #000;
  color: #fff;
}

[hidden] {
  display: none !important;
}

.is-hidden {
  display: none !important;
}

.page {
  min-height: 100vh;
  padding: 28px 48px 60px;
}

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  font-weight: 700;
  letter-spacing: 2px;
  font-size: 20px;
}

.logo img {
  display: block;
  width: 128px;
  height: auto;
}

.nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  color: #c7c7c7;
}

.nav a {
  color: inherit;
  text-decoration: none;
  font-size: 14px;
}

.header-actions {
  display: flex;
  gap: 12px;
  align-items: center;
}

.language-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}

.language-label {
  font-size: 13px;
  color: #8f8f8f;
}

.language-select {
  background: #0f0f0f;
  color: #fff;
  border: 1px solid #2a2a2a;
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 13px;
  cursor: pointer;
}

.language-select:focus {
  outline: none;
  border-color: #5a5a5a;
}

.login-highlight {
  background: #7cffb2;
  color: #000;
  border: none;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  text-decoration: none;
  box-shadow:
    0 0 24px rgba(124, 255, 178, 0.6),
    0 12px 30px rgba(124, 255, 178, 0.22);
}

.login-highlight:hover {
  opacity: 0.9;
}

.text-button {
  background: transparent;
  color: #c7c7c7;
  border: none;
  font-size: 14px;
  cursor: pointer;
}

.outline-button {
  background: transparent;
  color: #fff;
  border: 1px solid #5a5a5a;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 14px;
  cursor: pointer;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  margin-top: 80px;
}

.hero-visual {
  display: grid;
  grid-template-columns: minmax(360px, 520px);
  gap: 24px;
  align-items: center;
  justify-content: start;
}

.hero-copy h1 {
  font-size: 56px;
  line-height: 1.1;
  font-weight: 700;
  margin-bottom: 18px;
}

.hero-copy p {
  color: #b7b7b7;
  font-size: 16px;
  max-width: 420px;
  line-height: 1.6;
  margin-bottom: 28px;
}

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

.primary-button {
  background: #fff;
  color: #000;
  border: none;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
}

.cta-button {
  padding: 14px 28px;
  font-size: 15px;
  box-shadow: 0 14px 40px rgba(255, 255, 255, 0.12);
}

.ghost-button {
  background: transparent;
  color: #fff;
  border: 1px solid #5a5a5a;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
}


.payment-card {
  background: #121212;
  border: 1px solid #2a2a2a;
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  width: 100%;
}


.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
}

.card-title {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #9a9a9a;
}

.badge {
  background: #1d1d1d;
  color: #7cffb2;
  border: 1px solid #2c2c2c;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 12px;
}

.payment-card h2 {
  font-size: 24px;
  margin-bottom: 12px;
}

.payment-card p {
  color: #b7b7b7;
  line-height: 1.6;
  margin-bottom: 20px;
}

.payment-card .wide {
  width: 100%;
}

.mini-steps {
  display: grid;
  gap: 10px;
  margin-bottom: 18px;
  color: #b7b7b7;
  font-size: 13px;
}

.mini-steps div {
  display: flex;
  align-items: center;
  gap: 8px;
}

.step-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #7cffb2;
  box-shadow: 0 0 10px rgba(124, 255, 178, 0.4);
}

.card-footer {
  margin-top: 16px;
  border-top: 1px solid #1f1f1f;
  padding-top: 12px;
}

.muted {
  color: #6f6f6f;
  font-size: 12px;
}

.ticker {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-top: 60px;
  padding: 18px 22px;
  background: #0e0e0e;
  border-radius: 24px;
  border: 1px solid #1f1f1f;
}

.ticker-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  color: #b7b7b7;
}

.ticker-item strong {
  color: #fff;
  font-size: 16px;
}

.positive {
  color: #7cffb2;
  font-style: normal;
}

.negative {
  color: #ff6b6b;
  font-style: normal;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
  margin-top: 50px;
  padding: 20px 24px;
  border-radius: 24px;
  border: 1px solid #1f1f1f;
  background: #0c0c0c;
}

.stats strong {
  font-size: 24px;
}

.stats span {
  color: #9a9a9a;
  font-size: 13px;
}

.features,
.steps,
.faq {
  margin-top: 80px;
}

.section-title h3 {
  font-size: 28px;
  margin-bottom: 8px;
}

.section-title p {
  color: #a8a8a8;
  max-width: 540px;
  line-height: 1.6;
  margin-bottom: 30px;
}

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

.feature-card,
.step-card,
.faq-item {
  background: #111;
  border: 1px solid #202020;
  border-radius: 20px;
  padding: 20px;
}

.feature-card h4,
.step-card h4,
.faq-item h4 {
  margin-bottom: 10px;
  font-size: 18px;
}

.feature-card p,
.step-card p,
.faq-item p {
  color: #a0a0a0;
  line-height: 1.6;
  font-size: 14px;
}

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

.step-number {
  display: inline-block;
  margin-bottom: 12px;
  color: #7cffb2;
  font-size: 14px;
}

.legal {
  margin-top: 80px;
}

.legal-card {
  background: linear-gradient(140deg, #111 0%, #0b0b0b 100%);
  border: 1px solid #232323;
  border-radius: 28px;
  padding: 28px;
}

.legal-card h3 {
  font-size: 24px;
  margin-bottom: 12px;
}

.legal-card p {
  color: #a8a8a8;
  line-height: 1.6;
  margin-bottom: 18px;
}

.legal-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  color: #bcbcbc;
  font-size: 14px;
}

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

.cta {
  margin-top: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 30px;
  border-radius: 24px;
  border: 1px solid #1f1f1f;
  background: #0d0d0d;
}

.cta h3 {
  font-size: 26px;
  margin-bottom: 8px;
}

.cta p {
  color: #a8a8a8;
}

.footer {
  margin-top: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid #1b1b1b;
  padding-top: 24px;
}

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

.footer-links a {
  color: #8f8f8f;
  text-decoration: none;
  font-size: 13px;
}

.footer-brand {
  font-weight: 700;
  letter-spacing: 2px;
}

.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  padding: 24px;
  z-index: 30;
}

.login-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  padding: 24px;
  z-index: 60;
}

.password-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  padding: 24px;
  z-index: 65;
}

.password-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.password-success {
  display: none;
  align-items: center;
  gap: 8px;
  color: #7cffb2;
  font-size: 13px;
}

.password-success.active {
  display: flex;
}
.login-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.login-card {
  background: #101010;
  border: 1px solid #262626;
  border-radius: 24px;
  padding: 32px 36px 34px;
  max-width: 420px;
  width: 100%;
  position: relative;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.login-card h3 {
  margin: 0;
}

.login-card p {
  margin: 0 0 6px;
}

.login-card .popup-input {
  margin-bottom: 0;
}

.login-card .primary-button {
  align-self: flex-start;
}

.login-error {
  display: none;
  align-items: center;
  gap: 8px;
  color: #ff6b6b;
  font-size: 13px;
}

.login-error.active {
  display: flex;
}

.login-error-icon {
  font-size: 16px;
  line-height: 1;
}

.login-progress {
  width: 100%;
  height: 8px;
  background: #151515;
  border: 1px solid #242424;
  border-radius: 999px;
  overflow: hidden;
  opacity: 0;
  transform: scaleY(0.6);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.login-progress.active {
  opacity: 1;
  transform: scaleY(1);
}

.login-progress-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #7cffb2, #ffffff);
  border-radius: inherit;
}

.login-progress.active .login-progress-bar {
  animation: login-progress 2s linear forwards;
}

@keyframes login-progress {
  to {
    width: 100%;
  }
}

.banner-overlay {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(0, 0, 0, 0.6);
  display: grid !important;
  place-items: center !important;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  padding: 24px;
  z-index: 9999;
}

.banner-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.banner-card {
  background: #0f0f0f;
  border: 1px solid #262626;
  border-radius: 24px;
  padding: 28px;
  max-width: 380px;
  width: 100%;
  text-align: center;
  position: relative;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.banner-logo {
  width: 96px;
  height: auto;
  margin: 0 auto 12px;
  display: block;
}

.banner-card h3 {
  font-size: 22px;
  margin-bottom: 8px;
}

.banner-card p {
  color: #b7b7b7;
  line-height: 1.6;
  margin-bottom: 20px;
  font-size: 14px;
}

.banner-note {
  color: #9f9f9f;
  font-size: 13px;
  margin-top: -8px;
  margin-bottom: 18px;
}

.banner-cta {
  width: 100%;
}

.banner-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: transparent;
  border: none;
  color: #8f8f8f;
  font-size: 16px;
  cursor: pointer;
}

.revenue-page {
  min-height: 100vh;
  padding: 40px 48px 80px;
  background: #050505;
}

.revenue-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
}

.revenue-header-actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
}

.revenue-id {
  font-size: 12px;
  color: #7cffb2;
  background: rgba(124, 255, 178, 0.12);
  border: 1px solid rgba(124, 255, 178, 0.35);
  padding: 6px 12px;
  border-radius: 999px;
  letter-spacing: 0.6px;
}

.revenue-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-bottom: 24px;
}

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

.revenue-card {
  background: #111;
  border: 1px solid #202020;
  border-radius: 20px;
  padding: 24px;
}

.revenue-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #9a9a9a;
}

.stat-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.status-pill {
  font-size: 11px;
  color: #7cffb2;
  background: rgba(124, 255, 178, 0.12);
  border: 1px solid rgba(124, 255, 178, 0.35);
  padding: 4px 10px;
  border-radius: 999px;
}

.status-pill.success {
  color: #7cffb2;
  background: rgba(124, 255, 178, 0.12);
  border-color: rgba(124, 255, 178, 0.35);
}

.status-pill.warning {
  color: #7cffb2;
  background: rgba(124, 255, 178, 0.12);
  border-color: rgba(124, 255, 178, 0.35);
}

.revenue-balance {
  display: block;
  font-size: 32px;
  margin: 12px 0 10px;
}

.revenue-list {
  color: #b7b7b7;
  font-size: 14px;
  margin: 8px 0 0;
}

.revenue-change {
  margin-top: 12px;
  font-weight: 600;
  color: #7cffb2;
}

.revenue-action {
  width: 100%;
}

.withdraw-card {
  margin-top: 12px;
}

.withdraw-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  margin: 16px 0;
}

.withdraw-grid label {
  font-size: 12px;
  color: #9a9a9a;
}

.withdraw-grid input {
  width: 100%;
  background: #141414;
  border: 1px solid #262626;
  border-radius: 14px;
  padding: 12px 14px;
  color: #fff;
}

.withdraw-progress {
  width: 100%;
  height: 8px;
  background: #151515;
  border: 1px solid #242424;
  border-radius: 999px;
  overflow: hidden;
  opacity: 0;
  transform: scaleY(0.6);
  transition: opacity 0.2s ease, transform 0.2s ease;
  margin-top: 12px;
}

.withdraw-progress.active {
  opacity: 1;
  transform: scaleY(1);
}

.withdraw-progress .login-progress-bar {
  width: 0%;
  height: 100%;
  background: linear-gradient(90deg, #7cffb2, #ffffff);
  border-radius: inherit;
}

.withdraw-progress.active .login-progress-bar {
  animation: login-progress 2s linear forwards;
}

.withdraw-progress-text {
  margin-top: 8px;
  color: #9f9f9f;
  font-size: 12px;
  min-height: 16px;
}

.revenue-banner-overlay,
.revenue-details-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  padding: 24px;
  z-index: 70;
}

.revenue-loading-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  padding: 24px;
  z-index: 75;
}

.revenue-loading-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.revenue-details-overlay {
  z-index: 80;
}

.revenue-banner-overlay.active,
.revenue-details-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.popup-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.popup {
  background: #101010;
  border: 1px solid #262626;
  border-radius: 24px;
  padding: 28px;
  max-width: 420px;
  width: 100%;
  position: relative;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.popup-step {
  display: none;
}

.popup-step.active {
  display: block;
}

.popup h3 {
  margin-bottom: 12px;
  font-size: 22px;
}

.popup p {
  color: #b7b7b7;
  line-height: 1.6;
  margin-bottom: 20px;
}

.popup-details {
  display: grid;
  gap: 12px;
  margin-bottom: 20px;
}

.popup-details div {
  display: flex;
  justify-content: space-between;
  padding: 10px 12px;
  border-radius: 14px;
  background: #151515;
  border: 1px solid #242424;
}

.popup-details span {
  color: #9a9a9a;
}

.popup-details-text {
  margin-bottom: 20px;
  padding: 12px 14px;
  border-radius: 16px;
  background: #151515;
  border: 1px solid #242424;
  color: #e0e0e0;
  line-height: 1.6;
  white-space: pre-line;
  font-size: 14px;
}

.popup-note {
  display: block;
  margin-top: 12px;
}

.popup-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: transparent;
  border: none;
  color: #8f8f8f;
  font-size: 16px;
  cursor: pointer;
}

.popup-input {
  width: 100%;
  background: #141414;
  border: 1px solid #262626;
  border-radius: 14px;
  padding: 12px 14px;
  color: #fff;
  margin-bottom: 16px;
}

.loader {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 4px solid #2a2a2a;
  border-top-color: #7cffb2;
  margin: 6px auto 16px;
  animation: spin 1s linear infinite;
}

.success-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #1d2a22;
  border: 1px solid #2d5a3c;
  color: #7cffb2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 980px) {
  .page {
    padding: 24px;
  }

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

  .hero {
    grid-template-columns: 1fr;
    margin-top: 50px;
  }

  .language-row {
    margin-top: 10px;
  }

  .hero-visual {
    grid-template-columns: 1fr;
    justify-items: stretch;
  }

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

  .ticker,
  .stats,
  .feature-grid,
  .steps-grid,
  .faq-grid,
  .legal-list {
    grid-template-columns: 1fr;
  }

  .cta,
  .footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .revenue-page {
    padding: 24px;
  }

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

@media (max-width: 640px) {
  .header {
    gap: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .logo {
    order: 1;
  }

  .login-highlight {
    order: 2;
    padding: 12px 20px;
    font-size: 14px;
  }

  .header-actions {
    order: 2;
  }

  .nav {
    order: 3;
  }

  .nav {
    gap: 12px;
    font-size: 12px;
  }

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

  .hero-copy p {
    font-size: 14px;
  }

  .primary-button,
  .ghost-button {
    width: 100%;
    justify-content: center;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .payment-card {
    padding: 22px;
  }

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

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

  .popup,
  .banner-card,
  .login-card {
    padding: 22px;
  }

  .banner-logo {
    width: 80px;
  }

  .language-select {
    width: auto;
  }

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

  .revenue-header-actions {
    align-items: flex-start;
  }
}
