@charset "UTF-8";
@import url("https://fonts.googleapis.com/css?family=Poppins:400,500,600&display=swap");

/* ================= THEME ================= */
:root {
  --primary: #ff8c00;
  --primary-dark: #140c09;
  --primary-light: #ffa94d;

  --bg-start: #ff8c00;
  --bg-mid: #ff4500;
  --bg-end: #a72500;
  
--btn-deposit: #3b82f6;
--btn-withdraw: #a72500;
--btn-history: #140c09;
--btn-team: #16a34a;
--text-color: #ffffff;
--bg-warning: #ffa94d;
--bg-input: #b24903;
  --glow: rgba(255,140,0,0.7);
}

/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

a {
  color: var(--text-color);
  text-decoration: none;
}

a:hover {
  color: var(--text-color);
}

/* ================= BODY ================= */
html, body {
  width: 100%;
  overflow-x: hidden;
}

body {
  margin: 0;
  padding: 0;

  min-height: 100vh;

  font-family: 'Poppins', sans-serif;
  color: var(--text-color);

  background: radial-gradient(circle at top, var(--bg-start), var(--bg-mid), var(--bg-end));

  overflow-x: hidden;
  overflow-y: auto;

  position: relative;

  animation: fadeIn 0.3s ease;
}

/* background glow */
body::before {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--glow), transparent);
  top: -100px;
  right: -100px;
  pointer-events: none;
}
.auth-page {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

/* ================= LAYOUT ================= */
.app {
  width: 460px;
  padding: 20px;
  z-index: 2;
}

/* ================= CARD ================= */
.card {
  background: var(--primary);
  backdrop-filter: blur(18px);
  border-radius: 26px;
  padding: 35px 28px;
  border: 1px solid var(--primary-light);
  box-shadow: 0 25px 60px var(--primary-dark);
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* glow */
.card::before {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, var(--glow), transparent);
  top: -60px;
  right: -60px;
  pointer-events: none;
}

/* ================= ICON ================= */
.icon {
  width: 75px;
  height: 75px;
  margin: auto;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  font-size: 28px;
  margin-bottom: 18px;
  box-shadow: 0 0 20px var(--glow);
}

/* ================= TEXT ================= */
.title {
  font-size: 22px;
  font-weight: 600;
}

.subtitle {
  font-size: 13px;
  opacity: .8;
  margin-bottom: 25px;
}

/* ================= INPUT ================= */
.input-group {
  background: var(--bg-input);
  border: 1px solid var(--primary-dark);
  border-radius: 14px;
  display: flex;
  align-items: center;
  padding: 12px 15px;
  margin-bottom: 15px;
}

.input-group i {
  color: var(--primary-light);
  margin-right: 10px;
}

.input-group input {
  background: none;
  border: none;
  outline: none;
  color: var(--text-color);
  width: 100%;
}

/* ================= BUTTON ================= */
.btn {
  width: 100%;
  padding: 14px;
  border: none;
  border-radius: 30px;
   background: radial-gradient(circle, var(--primary-dark), transparent);
  color: var(--text-color);
  font-weight: 600;
  cursor: pointer;
  position: relative;
  transition: .3s;
}

.btn:hover {
  box-shadow: 0 0 15px var(--glow);
  background: linear-gradient(135deg, var(--primary-light), var(--primary));
}

/* ================= BUTTON LOADING ================= */
.btn.btn-loading span {
  visibility: hidden;
}

.btn.btn-loading::after {
  content: "";
  width: 18px;
  height: 18px;
  border: 2px solid var(--text-color);
  border-top: transparent;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: spin 0.6s linear infinite;
}

@keyframes spin {
  100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ================= LINKS ================= */
.signup, .login-link {
  margin-top: 15px;
  font-size: 13px;
}

.signup a, .login-link a {
  color: var(--primary-light);
}

/* ================= ALERT ================= */
.alert {
  color: var(--primary-light);
}

/* ================= FEATURES ================= */
.features {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.feature {
  font-size: 11px;
  text-align: center;
}

.feature i {
  display: block;
  font-size: 18px;
  margin-bottom: 5px;
  color: var(--primary-light);
}



/* ================= SIDEBAR restrt ================= */
.sidebar {
  position: fixed;
  top: 0;
  left: -260px;

  width: 260px;
  height: 100%;

  background: var(--primary-dark);
  backdrop-filter: blur(16px);

  transition: 0.3s;
  z-index: 9999;

  display: flex;
  flex-direction: column;
}

/* ACTIVE */
.sidebar.active {
  left: 0;
}

/* ================= HEADER ================= */
.sidebar-header {
  padding: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;

  border-bottom: 1px solid var(--primary);
}

.sidebar-header h3 {
  font-size: 16px;
}

.sidebar-header button {
  background: none;
  border: none;
  font-size: 20px;
  color: var(--text-color);
}

/* ================= MENU ================= */
.sidebar-menu {
  padding: 10px;
}

.sidebar-menu a {
  display: flex;
  align-items: center;
  gap: 10px;

  padding: 12px;
  border-radius: 10px;

  color: var(--text-color);
  text-decoration: none;
  font-size: 13px;

  transition: 0.3s;
}

.sidebar-menu a i {
  width: 18px;
}

/* HOVER */
.sidebar-menu a:hover {
  background: var(--bg-end);
}

/* LOGOUT */
.sidebar-menu .logout {
  margin-top: 10px;
 background: linear-gradient(135deg, var(--primary), var(--primary-end));
}

/* ================= SAVED USERS ================= */
.saved-user {
  display: flex;
  justify-content: space-between;
  padding: 10px;
  margin-bottom: 8px;
  border-radius: 10px;
  background: var(--btn-history);
}

.saved-user button {
  background: var(--primary);
  border: none;
  color: var(--text-color);
  border-radius: 6px;
  padding: 4px 8px;
}

/* ================= PREVIEW IMAGE ================= */
.preview-img {
  width: 120px;
  display: none;
  margin: 10px auto;
  border-radius: 10px;
}

/* ================= AUTH REDESIGN ================= */
.auth-page {
  --auth-bg: #061308;
  --auth-panel: rgba(10, 24, 12, 0.76);
  --auth-panel-strong: rgba(18, 40, 16, 0.92);
  --auth-border: rgba(211, 255, 83, 0.18);
  --auth-glow: rgba(201, 255, 84, 0.65);
  --auth-glow-soft: rgba(196, 255, 88, 0.2);
  --auth-text: #f4ffd5;
  --auth-muted: rgba(231, 246, 185, 0.72);
  --auth-input: rgba(213, 255, 103, 0.08);
  --auth-input-border: rgba(215, 255, 98, 0.12);
  --auth-accent: #dfff58;
  --auth-accent-strong: #b7e632;
  --text-color: var(--auth-text);

  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background:
    radial-gradient(circle at 50% 28%, rgba(220, 255, 112, 0.24), transparent 20rem),
    radial-gradient(circle at 50% 50%, rgba(196, 255, 88, 0.2), transparent 30rem),
    linear-gradient(180deg, #031006 0%, #0a1b0d 45%, #09140b 100%);
  position: relative;
  overflow: hidden;
}

.auth-page::before,
.auth-page::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.auth-page::before {
  background:
    radial-gradient(circle, rgba(225, 255, 124, 0.18) 0, transparent 2px) 0 0 / 26px 26px,
    radial-gradient(circle, rgba(225, 255, 124, 0.1) 0, transparent 1px) 13px 13px / 20px 20px;
  opacity: 0.45;
  filter: blur(0.4px);
}

.auth-page::after {
  background:
    radial-gradient(circle at center, rgba(221, 255, 100, 0.28), transparent 34%),
    radial-gradient(circle at center, rgba(221, 255, 100, 0.14), transparent 48%);
}

.auth-page .app.auth-shell {
  width: min(100%, 430px);
  padding: 22px;
  position: relative;
  z-index: 1;
}

.auth-device-glow {
  position: absolute;
  inset: 4% -4%;
  border-radius: 42px;
  background:
    radial-gradient(circle at center, rgba(217, 255, 91, 0.42), transparent 42%),
    radial-gradient(circle at 50% 8%, rgba(196, 255, 88, 0.2), transparent 18rem);
  filter: blur(24px);
  opacity: 0.95;
  z-index: 0;
}

.auth-page .card.auth-card {
  background:
    linear-gradient(180deg, rgba(23, 43, 17, 0.94) 0%, rgba(11, 26, 12, 0.96) 100%);
  border: 1px solid rgba(223, 255, 88, 0.22);
  border-radius: 42px;
  padding: 34px 22px 28px;
  box-shadow:
    0 28px 70px rgba(0, 0, 0, 0.55),
    0 0 0 1px rgba(255, 255, 255, 0.03) inset,
    0 0 48px rgba(211, 255, 83, 0.16);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.auth-page .card.auth-card::before {
  content: "";
  position: absolute;
  inset: 14px;
  width: auto;
  height: auto;
  top: auto;
  right: auto;
  border-radius: 34px;
  border: 1px solid rgba(236, 255, 173, 0.06);
  background: none;
  pointer-events: none;
}

.auth-page .card.auth-card::after {
  content: "";
  position: absolute;
  top: -22%;
  left: 50%;
  transform: translateX(-50%);
  width: 38%;
  height: 24px;
  border-radius: 0 0 18px 18px;
  background: rgba(5, 10, 5, 0.92);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.auth-frame {
  position: absolute;
  inset: 18px;
  border-radius: 34px;
  border: 1px solid rgba(215, 255, 98, 0.08);
  background:
    radial-gradient(circle at top, rgba(211, 255, 83, 0.08), transparent 36%),
    transparent;
  pointer-events: none;
}

.auth-page .auth-icon {
  width: 96px;
  height: 96px;
  margin: 30px auto 20px;
  border: 1px solid rgba(223, 255, 88, 0.22);
  background:
    radial-gradient(circle at 30% 30%, rgba(225, 255, 143, 0.42), rgba(161, 203, 44, 0.22) 40%, rgba(10, 22, 10, 0.6) 75%),
    linear-gradient(180deg, rgba(32, 59, 23, 0.95), rgba(13, 26, 12, 0.96));
  box-shadow:
    0 0 0 8px rgba(196, 255, 88, 0.08),
    0 0 32px rgba(211, 255, 83, 0.34);
  color: var(--auth-accent);
  font-size: 38px;
}

.auth-page .title {
  font-size: 2rem;
  line-height: 1.1;
  font-weight: 600;
  color: #f8ffd8;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.auth-page .subtitle {
  font-size: 0.98rem;
  color: var(--auth-muted);
  margin-bottom: 18px;
}

.auth-section-label {
  text-align: left;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(228, 244, 181, 0.62);
  margin-bottom: 10px;
}

.auth-page .alert.auth-alert {
  margin-bottom: 14px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(245, 104, 104, 0.08);
  border: 1px solid rgba(255, 177, 177, 0.18);
  color: #ffe4b8;
  font-size: 0.9rem;
  text-align: left;
}

.auth-page .input-group.auth-input-group,
.auth-page .input-group.auth-select-wrap {
  min-height: 58px;
  background: linear-gradient(180deg, rgba(218, 255, 116, 0.11), rgba(100, 128, 28, 0.06));
  border: 1px solid var(--auth-input-border);
  border-radius: 18px;
  padding: 0 16px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.auth-page .input-group.auth-input-group i,
.auth-page .input-group.auth-select-wrap i {
  color: rgba(221, 255, 116, 0.82);
  font-size: 0.98rem;
  margin-right: 0;
  width: 18px;
  flex: 0 0 18px;
}

.auth-page .input-group.auth-input-group input,
.auth-page .input-group.auth-select-wrap select {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  color: #f5ffd6;
  font-size: 0.96rem;
}

.auth-page .input-group.auth-input-group input::placeholder {
  color: rgba(236, 246, 196, 0.5);
}

.auth-page .input-group.auth-select-wrap select {
  appearance: none;
  cursor: pointer;
}

.auth-page .input-group.auth-select-wrap {
  position: relative;
}

.auth-page .input-group.auth-select-wrap::after {
  content: "\f107";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: rgba(221, 255, 116, 0.7);
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.auth-page .input-group.auth-select-wrap select option {
  color: #13210f;
}

.auth-page .btn.auth-btn {
  margin-top: 6px;
  min-height: 58px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(180deg, #efff77 0%, #ceef4d 100%);
  color: #1f2a0f;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow:
    0 18px 28px rgba(201, 255, 84, 0.22),
    inset 0 -3px 0 rgba(88, 117, 18, 0.18);
}

.auth-page .btn.auth-btn:hover {
  background: linear-gradient(180deg, #f4ff97 0%, #daf452 100%);
  box-shadow:
    0 18px 34px rgba(201, 255, 84, 0.34),
    inset 0 -3px 0 rgba(88, 117, 18, 0.16);
}

.auth-page .btn.auth-btn.btn-loading::after {
  border-color: #24310d;
  border-top-color: transparent;
}

.auth-page .auth-signup {
  margin-top: 18px;
  text-align: center;
  color: var(--auth-muted);
  font-size: 0.96rem;
}

.auth-page .auth-signup a {
  display: inline-block;
  margin-left: 6px;
  color: var(--auth-accent);
  font-weight: 600;
}

.auth-page .auth-shell-signup {
  width: min(100%, 470px);
}

.auth-page .auth-card-signup {
  padding-bottom: 32px;
}

.auth-page .auth-features {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}

.auth-page .auth-feature {
  background: linear-gradient(180deg, rgba(219, 255, 118, 0.09), rgba(102, 129, 31, 0.05));
  border: 1px solid rgba(223, 255, 88, 0.12);
  border-radius: 18px;
  padding: 12px 8px 10px;
  color: var(--auth-muted);
  font-size: 0.72rem;
  line-height: 1.35;
}

.auth-page .auth-feature i {
  color: var(--auth-accent);
  font-size: 1rem;
  margin-bottom: 7px;
}

.auth-page .auth-readonly-group input[readonly] {
  color: rgba(245, 255, 200, 0.88);
}

.auth-page .auth-trust {
  margin-top: 16px;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(223, 255, 88, 0.12);
  background: linear-gradient(180deg, rgba(214, 255, 98, 0.07), rgba(104, 128, 33, 0.04));
  color: var(--auth-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 0.9rem;
  text-align: center;
}

.auth-page .auth-trust i {
  color: var(--auth-accent);
}

.auth-page .auth-login-link {
  margin-top: 18px;
  text-align: center;
  color: var(--auth-muted);
  font-size: 0.96rem;
}

.auth-page .auth-login-link span {
  display: block;
  margin-bottom: 12px;
}

.auth-page .auth-secondary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  border: 1px solid rgba(223, 255, 88, 0.18);
  background: rgba(214, 255, 98, 0.08);
  color: #f3ffd0;
  font-weight: 600;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

.auth-page .auth-secondary-btn:hover {
  color: #f9ffd8;
  background: rgba(214, 255, 98, 0.14);
  box-shadow: 0 0 24px rgba(201, 255, 84, 0.16);
}

@media (min-width: 768px) {
  .auth-page {
    padding: 36px 20px;
  }

  .auth-page .app.auth-shell {
    width: min(100%, 460px);
  }

  .auth-page .card.auth-card {
    padding: 38px 28px 30px;
  }
}

@media (max-width: 520px) {
  .auth-page {
    padding: 18px 8px;
  }

  .auth-page .app.auth-shell {
    width: 100%;
    max-width: none;
    padding: 10px;
  }

  .auth-page .card.auth-card {
    border-radius: 34px;
    padding: 28px 18px 24px;
  }

  .auth-frame {
    inset: 12px;
    border-radius: 28px;
  }

  .auth-page .auth-features {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .auth-page .auth-feature {
    padding: 10px 6px 9px;
    font-size: 0.68rem;
    border-radius: 16px;
  }

  .auth-page .auth-feature i {
    font-size: 0.94rem;
    margin-bottom: 6px;
  }
}

@media (max-width: 360px) {
  .auth-page {
    padding: 12px 4px;
  }

  .auth-page .app.auth-shell {
    padding: 4px;
  }

  .auth-page .card.auth-card {
    border-radius: 28px;
    padding: 24px 14px 20px;
  }

  .auth-frame {
    inset: 10px;
    border-radius: 22px;
  }

  .auth-page .auth-features {
    gap: 6px;
  }

  .auth-page .auth-feature {
    padding: 9px 4px 8px;
    font-size: 0.62rem;
    line-height: 1.25;
  }

  .auth-page .auth-feature i {
    font-size: 0.88rem;
    margin-bottom: 5px;
  }
}
