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

:root {
  --bg: #05070c;
  --panel: #0b1018;
  --panel2: #101722;
  --border: rgba(255,255,255,.08);
  --text: #f6f7f9;
  --muted: #8d98a8;
  --orange: #f7931a;
  --orange-light: #ffb84d;
  --green: #35d98a;
  --red: #ff5d67;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 15% 10%, rgba(247,147,26,.08), transparent 30%),
    radial-gradient(circle at 90% 20%, rgba(40,100,255,.06), transparent 30%),
    var(--bg);
  color: var(--text);
  font-family: "Inter", sans-serif;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.015) 1px, transparent 1px);
  background-size: 45px 45px;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.hidden {
  display: none !important;
}

.page {
  display: none;
  min-height: 100vh;
}

.page.active {
  display: block;
}

/* NAV */

.navbar,
.dashboard-nav {
  min-height: 76px;
  padding: 0 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(5,7,12,.86);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(18px);
  position: relative;
  z-index: 10;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 20px;
}

.logo-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: linear-gradient(135deg,var(--orange),var(--orange-light));
  color: #111;
  font-size: 23px;
  font-weight: 900;
  box-shadow: 0 0 28px rgba(247,147,26,.22);
}

.nav-buttons {
  display: flex;
  gap: 9px;
  align-items: center;
}

/* BUTTONS */

.btn {
  border: 0;
  border-radius: 11px;
  padding: 12px 18px;
  font-size: 13px;
  font-weight: 750;
  transition: .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg,var(--orange),var(--orange-light));
  color: #111;
}

.btn-outline {
  color: white;
  background: transparent;
  border: 1px solid var(--border);
}

.btn-outline:hover {
  border-color: var(--orange);
}

.btn-admin {
  color: var(--orange-light);
  background: rgba(247,147,26,.07);
  border: 1px solid rgba(247,147,26,.25);
}

.btn-large {
  padding: 15px 24px;
}

.full-btn {
  width: 100%;
}

.logout-btn {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 10px 15px;
  background: rgba(255,255,255,.04);
  color: white;
}

/* HERO */

.hero {
  max-width: 1200px;
  min-height: calc(100vh - 76px);
  margin: auto;
  padding: 60px 25px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 60px;
}

.hero-content {
  max-width: 650px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 40px;
  border: 1px solid rgba(247,147,26,.25);
  background: rgba(247,147,26,.05);
  color: var(--orange-light);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 12px var(--orange);
}

.hero h1 {
  margin: 24px 0;
  font-size: clamp(45px,7vw,78px);
  line-height: 1;
  letter-spacing: -4px;
}

.hero h1 span {
  color: var(--orange);
}

.hero p {
  max-width: 580px;
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: 25px;
}

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

.hero-card {
  animation: floatCard 5s ease-in-out infinite;
}

.demo-card,
.atm-card {
  width: min(460px,90vw);
  aspect-ratio: 1.586;
  border-radius: 23px;
  padding: 28px;
  background:
    radial-gradient(circle at 90% 10%,rgba(247,147,26,.28),transparent 30%),
    linear-gradient(135deg,#171d28,#070a10);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 35px 90px rgba(0,0,0,.5);
}

.demo-card-top,
.atm-top {
  display: flex;
  justify-content: space-between;
}

.demo-chip,
.real-chip {
  width: 50px;
  height: 37px;
  border-radius: 8px;
  margin-top: 48px;
  background:
    linear-gradient(90deg,transparent 45%,rgba(0,0,0,.25) 46%,transparent 50%),
    linear-gradient(transparent 45%,rgba(0,0,0,.25) 46%,transparent 50%),
    #d3a95d;
}

.demo-number,
.atm-number {
  margin-top: 24px;
  font-size: 25px;
  letter-spacing: 3px;
  font-weight: 700;
}

.demo-card-bottom,
.atm-bottom {
  display: flex;
  gap: 25px;
  margin-top: 22px;
}

.demo-card-bottom div,
.atm-bottom div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.demo-card-bottom small,
.atm-bottom small {
  font-size: 8px;
  color: var(--muted);
  letter-spacing: 1px;
}

/* AUTH */

.auth-container {
  width: min(480px,92%);
  margin: auto;
  padding: 35px 0;
}

.back-btn {
  border: 0;
  background: transparent;
  color: var(--muted);
  margin-bottom: 15px;
}

.auth-card {
  padding: 34px;
  border: 1px solid var(--border);
  border-radius: 22px;
  background: rgba(11,16,24,.9);
  box-shadow: 0 30px 90px rgba(0,0,0,.4);
}

.auth-heading {
  text-align: center;
  margin-bottom: 25px;
}

.center-logo {
  justify-content: center;
  margin-bottom: 22px;
}

.auth-heading h2 {
  font-size: 29px;
  margin-bottom: 7px;
}

.auth-heading p,
.auth-switch {
  color: var(--muted);
  font-size: 13px;
}

.form-group {
  margin-bottom: 17px;
}

.form-group label {
  display: block;
  margin-bottom: 7px;
  font-size: 12px;
  font-weight: 700;
  color: #d8dde6;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 13px 14px;
  border-radius: 11px;
  border: 1px solid var(--border);
  outline: none;
  color: white;
  background: #080c13;
}

.form-group input:focus,
.form-group select:focus {
  border-color: rgba(247,147,26,.65);
  box-shadow: 0 0 0 3px rgba(247,147,26,.08);
}

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 13px;
}

.auth-switch {
  text-align: center;
  margin-top: 20px;
}

.auth-switch button {
  border: 0;
  background: transparent;
  color: var(--orange-light);
  font-weight: 700;
}

.id-upload {
  margin-bottom: 18px;
  padding: 15px;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 10px;
  align-items: center;
  border-radius: 13px;
  border: 1px dashed rgba(247,147,26,.25);
  background: rgba(247,147,26,.04);
}

.id-icon {
  font-size: 28px;
}

.id-text strong {
  font-size: 13px;
}

.id-text p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 11px;
}

.upload-btn {
  grid-column: 1 / -1;
  display: block;
  padding: 10px;
  text-align: center;
  border-radius: 9px;
  background: rgba(255,255,255,.05);
  cursor: pointer;
  font-size: 12px;
}

.upload-btn input {
  display: none;
}

.file-name {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 11px;
}

/* DASHBOARD */

.dashboard {
  width: min(1150px,92%);
  margin: auto;
  padding: 45px 0 80px;
}

.dashboard-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  margin-bottom: 25px;
}

.dashboard-heading small {
  color: var(--orange);
  font-size: 10px;
  letter-spacing: 2px;
  font-weight: 800;
}

.dashboard-heading h1 {
  margin: 8px 0;
  font-size: clamp(28px,5vw,44px);
}

.dashboard-heading h1 span {
  color: var(--orange);
}

.dashboard-heading p {
  color: var(--muted);
}

.status {
  padding: 8px 13px;
  border-radius: 30px;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}

.status.pending {
  color: #ffd18e;
  background: rgba(247,147,26,.1);
}

.status.verified {
  color: #8ef0bb;
  background: rgba(53,217,138,.1);
}

.status.rejected {
  color: #ff9da3;
  background: rgba(255,93,103,.1);
}

.summary-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 15px;
  margin-bottom: 30px;
}

.summary-card {
  padding: 23px;
  border: 1px solid var(--border);
  border-radius: 17px;
  background: rgba(255,255,255,.025);
}

.summary-card span {
  color: var(--muted);
  font-size: 12px;
}

.summary-card strong {
  display: block;
  margin: 9px 0 4px;
  font-size: 27px;
}

.summary-card small {
  color: var(--muted);
}

.section-heading {
  margin: 30px 0 16px;
}

.section-heading h2 {
  font-size: 21px;
}

.section-heading span {
  color: var(--muted);
  font-size: 12px;
}

.card-layout {
  display: grid;
  grid-template-columns: 1fr .8fr;
  gap: 25px;
  align-items: center;
}

.atm-card {
  width: 100%;
}

.atm-card-inner {
  height: 100%;
}

.atm-number {
  font-size: clamp(17px,3vw,27px);
}

.atm-bottom strong {
  font-size: 11px;
}

.card-details {
  padding: 22px;
  border: 1px solid var(--border);
  border-radius: 18px;
  background: rgba(255,255,255,.025);
}

.detail-row {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.detail-row span {
  color: var(--muted);
  font-size: 12px;
}

.detail-row strong {
  font-size: 12px;
  text-align: right;
}

.show-card-btn {
  width: 100%;
  margin-top: 18px;
  padding: 13px;
  border-radius: 10px;
  border: 1px solid rgba(247,147,26,.25);
  background: rgba(247,147,26,.08);
  color: var(--orange-light);
}

/* WITHDRAWAL */

.withdrawal-card {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 19px;
  background: rgba(11,16,24,.7);
}

.withdraw-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 22px;
}

.withdraw-tab {
  padding: 11px 15px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.04);
  color: var(--muted);
}

.withdraw-tab.active {
  color: #111;
  background: var(--orange);
}

/* ACTIVITIES */

.activities-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.activity {
  padding: 16px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  border: 1px solid var(--border);
  border-radius: 13px;
  background: rgba(255,255,255,.025);
}

.activity strong {
  font-size: 13px;
}

.activity p {
  color: var(--muted);
  margin-top: 4px;
  font-size: 11px;
}

.activity-status {
  color: var(--red);
  font-size: 11px;
  font-weight: 800;
}

.empty {
  padding: 30px;
  text-align: center;
  color: var(--muted);
}

/* ADMIN */

.admin-user-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.admin-user {
  padding: 18px;
  border-radius: 15px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.025);
}

.admin-user-top {
  display: flex;
  justify-content: space-between;
  gap: 15px;
}

.admin-user-name {
  font-weight: 800;
}

.admin-user-email {
  color: var(--muted);
  font-size: 11px;
  margin-top: 4px;
}

.admin-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}

.admin-meta span {
  padding: 7px 9px;
  border-radius: 8px;
  background: rgba(255,255,255,.04);
  color: #bfc5cf;
  font-size: 10px;
}

.admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.admin-actions button {
  padding: 8px 11px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.04);
  color: white;
  font-size: 10px;
}

.admin-actions .danger {
  color: #ff9299;
}

.admin-actions .verify {
  color: #8ef0bb;
}

/* MODAL */

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 20px;
  background: rgba(0,0,0,.75);
  backdrop-filter: blur(10px);
}

.modal-box {
  width: min(470px,100%);
  max-height: 90vh;
  overflow-y: auto;
  padding: 28px;
  border-radius: 20px;
  border: 1px solid var(--border);
  background: #0c121b;
  box-shadow: 0 30px 100px rgba(0,0,0,.5);
}

.modal-close {
  float: right;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 8px;
  background: rgba(255,255,255,.05);
  color: white;
  font-size: 20px;
}

.activation-box {
  text-align: center;
}

.activation-icon {
  font-size: 45px;
  margin-bottom: 15px;
}

.activation-box p {
  color: var(--muted);
  line-height: 1.7;
  margin: 12px 0;
}

/* TOAST */

.toast {
  position: fixed;
  left: 50%;
  bottom: 25px;
  z-index: 200;
  transform: translateX(-50%);
  padding: 13px 18px;
  border-radius: 11px;
  border: 1px solid var(--border);
  background: #151c27;
  box-shadow: 0 20px 60px rgba(0,0,0,.4);
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transition: .25s;
}

.toast.show {
  opacity: 1;
}

/* ANIMATION */

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

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

/* MOBILE */

@media(max-width:850px) {

  .hero {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }

  .hero p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    justify-content: center;
  }

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

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

}

@media(max-width:600px) {

  .navbar,
  .dashboard-nav {
    padding: 0 18px;
  }

  .nav-buttons .btn-outline {
    display: none;
  }

  .hero {
    padding: 40px 15px;
  }

  .hero h1 {
    letter-spacing: -2px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .two-column {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .auth-card {
    padding: 23px 18px;
  }

  .dashboard {
    width: 94%;
    padding-top: 28px;
  }

  .dashboard-heading {
    flex-direction: column;
  }

  .demo-card,
  .atm-card {
    padding: 20px;
  }

  .atm-number {
    letter-spacing: 1px;
  }

  .activity {
    flex-direction: column;
  }
  
}
/* =========================================================
   ANIMATED TECHNOLOGY BACKGROUND
========================================================= */

#techBackground {
  position: fixed;
  inset: 0;

  width: 100%;
  height: 100%;

  z-index: -1;
  pointer-events: none;

  background:
    radial-gradient(
      circle at 50% 0%,
      rgba(20, 70, 110, 0.35),
      transparent 45%
    ),
    linear-gradient(
      180deg,
      #06121f 0%,
      #02070d 55%,
      #000000 100%
    );
}

/*
   Keep dashboard content above animation
*/

body {
  position: relative;
  background: #000;
}

.page,
.dashboard-page,
.dashboard {
  position: relative;
  z-index: 1;
}
/* =========================================
   TRADING HERO IMAGE
========================================= */

.hero-card {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 560px;
  animation: tradingFloat 5s ease-in-out infinite;
}

.trading-image-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.trading-image-wrap::before {
  content: "";
  position: absolute;
  width: 75%;
  height: 75%;
  border-radius: 50%;
  background: rgba(30, 110, 255, 0.16);
  filter: blur(70px);
  z-index: 0;
}

.trading-hero-image {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  max-width: 520px;
  height: auto;
  object-fit: contain;
  border: 0;
  background: transparent;
  mix-blend-mode: normal;
}

/* Floating movement */

@keyframes tradingFloat {

  0% {
    transform: translateY(0);
  }

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

  100% {
    transform: translateY(0);
  }

}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 800px) {

  .hero {
    min-height: auto;
    padding: 45px 20px 70px;
    display: flex;
    flex-direction: column;
    gap: 35px;
  }

  .hero-content {
    width: 100%;
    max-width: 100%;
    text-align: center;
  }

  .badge {
    margin: 0 auto;
  }

  .hero h1 {
    font-size: clamp(43px, 12vw, 65px);
    letter-spacing: -3px;
  }

  .hero p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .hero-card {
    width: 100%;
    max-width: 600px;
  }

  .trading-hero-image {
    width: 100%;
    max-width: 500px;
  }

}