@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Sora:wght@400;500;600;700;800&display=swap");
@import url("./layout.css");
@import url("./components.css");

:root {
  --bg: #74639d;
  --bg-soft: #f6f0ff;
  --surface: rgba(255, 255, 255, 0.92);
  --surface-strong: #ffffff;
  --surface-muted: rgba(255, 255, 255, 0.78);
  --border: rgba(132, 107, 197, 0.16);
  --border-soft: rgba(132, 107, 197, 0.08);
  --shadow: 0 26px 56px rgba(69, 42, 121, 0.18);
  --shadow-soft: 0 20px 38px rgba(81, 54, 138, 0.14);
  --text: #281f41;
  --text-soft: #3b3157;
  --muted: #7f73a3;
  --muted-2: #a293c8;
  --primary: #8b5cf6;
  --primary-2: #c084fc;
  --accent: #ffb347;
  --accent-2: #ffd56a;
  --danger: #ff6b6b;
  --danger-2: #ff8e53;
  --success: #12b981;
  --success-2: #34d399;
  --dark: #5b4a87;
  --dark-2: #403260;
  --nav-bg: rgba(131, 103, 188, 0.84);
  --radius-sm: 14px;
  --radius-md: 20px;
  --radius-lg: 26px;
  --radius-xl: 32px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Sora", sans-serif;
}

html,
body {
  width: 100%;
  overflow-x: hidden;
}

body {
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(255, 190, 92, 0.2), transparent 26%),
    radial-gradient(circle at 82% 18%, rgba(192, 132, 252, 0.28), transparent 18%),
    radial-gradient(circle at bottom right, rgba(52, 211, 153, 0.16), transparent 20%),
    linear-gradient(180deg, #74639d 0%, #6f6099 100%);
  position: relative;
  animation: pageFade 0.35s ease;
}

body::before,
body::after {
  content: "";
  position: fixed;
  border-radius: 999px;
  filter: blur(10px);
  pointer-events: none;
  z-index: 0;
}

body::before {
  width: 360px;
  height: 360px;
  top: -120px;
  right: -140px;
  background: rgba(255, 214, 106, 0.2);
}

body::after {
  width: 280px;
  height: 280px;
  left: -120px;
  bottom: 40px;
  background: rgba(192, 132, 252, 0.18);
}

body,
button,
input,
select,
textarea {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

canvas {
  max-width: 100%;
}

button,
a {
  color: inherit;
  outline: 0 !important;
}

a {
  text-decoration: none;
}

a:hover,
a:active,
a:focus {
  color: inherit;
  text-decoration: none;
}

button:active,
a:active {
  transform: scale(0.98);
}

input,
button,
select,
textarea {
  font: inherit;
}

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

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

@keyframes blink {
  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.25;
  }
}

@keyframes pageFade {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Golden Meta Trades login redesign */
body.login-trading-page {
  color: #f8fafc;
  background:
    radial-gradient(circle at 8% 52%, rgba(255, 190, 34, 0.2), transparent 24%),
    radial-gradient(circle at 94% 45%, rgba(38, 196, 91, 0.18), transparent 18%),
    linear-gradient(180deg, #020202 0%, #050505 100%);
}

body.login-trading-page .login-shell {
  width: min(100%, 1040px);
  min-height: 100vh;
  padding: 28px 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-reference-frame {
  width: min(100%, 860px);
  padding: 32px clamp(16px, 4vw, 64px) 24px;
  border: 1px solid #f6b900;
  border-radius: 36px;
  background:
    linear-gradient(rgba(255, 185, 0, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 185, 0, 0.045) 1px, transparent 1px),
    radial-gradient(circle at 17% 24%, rgba(255, 190, 30, 0.22), transparent 16%),
    radial-gradient(circle at 85% 22%, rgba(255, 190, 30, 0.28), transparent 20%),
    linear-gradient(180deg, rgba(6, 7, 8, 0.96) 0%, rgba(5, 6, 7, 0.99) 100%);
  background-size: auto, 70px 70px, auto, auto, auto;
  box-shadow:
    0 0 42px rgba(255, 185, 0, 0.16),
    inset 0 0 46px rgba(255, 190, 28, 0.06);
  overflow: hidden;
  position: relative;
}

.login-reference-frame::before,
.login-reference-frame::after {
  content: "";
  position: absolute;
  width: 130px;
  height: 430px;
  bottom: 110px;
  background:
    linear-gradient(90deg, transparent 38%, rgba(31, 183, 64, 0.56) 39% 61%, transparent 62%),
    linear-gradient(rgba(31, 183, 64, 0.72), rgba(31, 183, 64, 0.72)) center 70% / 54px 108px no-repeat;
  opacity: 0.55;
  pointer-events: none;
}

.login-reference-frame::before {
  left: -70px;
}

.login-reference-frame::after {
  right: -74px;
  bottom: 175px;
}

.trading-hero {
  min-height: 235px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 250px;
  align-items: center;
  gap: 28px;
  position: relative;
  z-index: 1;
}

.brand-copy {
  display: flex;
  align-items: center;
  justify-content: center;
}

.top-brand-logo {
  width: min(100%, 360px);
  max-height: 220px;
  object-fit: contain;
  border-radius: 18px;
  border: 1px solid rgba(255, 193, 7, 0.36);
  background: rgba(5, 5, 5, 0.72);
  box-shadow:
    0 18px 34px rgba(0, 0, 0, 0.42),
    0 0 0 4px rgba(255, 193, 7, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  filter:
    drop-shadow(0 0 18px rgba(255, 190, 20, 0.32));
}

.market-art {
  height: 220px;
  position: relative;
}

.growth-line {
  position: absolute;
  inset: 32px 10px 16px 4px;
  border-right: 3px solid #ffc107;
  border-top: 3px solid #ffc107;
  border-radius: 0 100% 0 0;
  transform: rotate(-12deg);
  box-shadow: 0 0 18px rgba(255, 193, 7, 0.72);
}

.growth-line::after {
  content: "";
  position: absolute;
  right: -11px;
  top: -14px;
  width: 22px;
  height: 22px;
  border-top: 4px solid #ffc107;
  border-right: 4px solid #ffc107;
  transform: rotate(8deg);
}

.candle {
  position: absolute;
  bottom: 18px;
  width: 17px;
  background: linear-gradient(180deg, #ffe46d, #c78900);
  border: 1px solid rgba(255, 220, 86, 0.7);
  box-shadow: 0 0 14px rgba(255, 193, 7, 0.3);
}

.candle::before {
  content: "";
  position: absolute;
  left: 50%;
  width: 2px;
  height: 44px;
  top: -22px;
  background: rgba(255, 211, 60, 0.7);
  transform: translateX(-50%);
}

.c1 { left: 18px; height: 34px; }
.c2 { left: 52px; height: 54px; }
.c3 { left: 88px; height: 78px; }
.c4 { left: 126px; height: 112px; }
.c5 { left: 166px; height: 142px; }
.c6 { left: 210px; height: 176px; }

body.login-trading-page .trading-login-card {
  width: min(100%, 730px);
  max-width: none;
  min-height: 0;
  margin: -8px auto 0;
  padding: 34px clamp(18px, 5vw, 56px) 26px;
  border-radius: 24px;
  border: 1px solid #f6b900;
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 211, 84, 0.1), transparent 30%),
    linear-gradient(180deg, rgba(16, 17, 19, 0.96), rgba(7, 8, 10, 0.98));
  box-shadow:
    0 24px 54px rgba(0, 0, 0, 0.5),
    0 0 32px rgba(255, 185, 0, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

body.login-trading-page .trading-login-card::before,
body.login-trading-page .trading-login-card::after {
  display: none;
}

body.login-trading-page .auth-copy .title {
  color: #f7f7f7;
  font-size: clamp(28px, 4vw, 38px);
  line-height: 1.1;
  text-transform: none;
  text-shadow: none;
}

body.login-trading-page .auth-copy .subtitle {
  margin: 10px 0 20px;
  color: rgba(255, 255, 255, 0.72);
  font-size: clamp(16px, 2.2vw, 21px);
}

body.login-trading-page .auth-copy::after {
  content: "";
  width: 58px;
  height: 4px;
  margin: 0 auto 28px;
  display: block;
  border-radius: 999px;
  background: linear-gradient(90deg, #ffdc60, #f2a900);
  box-shadow: 0 0 14px rgba(255, 193, 7, 0.42);
}

body.login-trading-page .select-wrap,
body.login-trading-page .auth-card .input-group {
  min-height: 72px;
  margin-bottom: 18px;
  padding: 0 24px;
  border-radius: 14px;
  border-color: rgba(255, 193, 7, 0.32);
  background: rgba(18, 18, 18, 0.8);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

body.login-trading-page .select-wrap i,
body.login-trading-page .auth-card .input-group > i {
  color: #ffc107;
  font-size: 25px;
}

body.login-trading-page .auth-card .input-group input,
body.login-trading-page .auth-card .auth-select {
  height: 70px;
  color: #f8fafc;
  font-size: clamp(16px, 2.3vw, 21px);
}

body.login-trading-page .auth-card .input-group input::placeholder {
  color: rgba(255, 255, 255, 0.58);
}

.password-group {
  gap: 12px;
}

.password-toggle {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: rgba(255, 255, 255, 0.68);
  cursor: pointer;
}

.forgot-password {
  margin: -4px 2px 26px auto;
  width: fit-content;
  color: #ffc107;
  font-size: 16px;
  font-weight: 700;
}

body.login-trading-page .auth-card .btn {
  min-height: 72px;
  margin-top: 0;
  border-radius: 14px;
  color: #080808;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 800;
  text-transform: none;
  letter-spacing: 0;
  background: linear-gradient(180deg, #ffdf67 0%, #ffc022 46%, #d99500 100%);
  border: 1px solid rgba(255, 233, 117, 0.74);
  box-shadow:
    0 14px 28px rgba(255, 174, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

body.login-trading-page .auth-card .btn span {
  flex: 1 1 auto;
  text-align: center;
}

body.login-trading-page .auth-card .btn::after {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  margin-left: 0;
  color: #ffc107;
  background: #101010;
  border: 0;
  font-size: 24px;
}

body.login-trading-page .auth-card .btn.btn-loading::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 22px;
  height: 22px;
  flex-basis: auto;
  margin: 0;
  border: 3px solid rgba(10, 10, 10, 0.72);
  border-top-color: transparent;
  background: transparent;
  transform: translate(-50%, -50%);
  animation: spin 0.65s linear infinite;
}

.login-divider {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  margin: 28px 0 20px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 700;
}

.login-divider::before,
.login-divider::after {
  content: "";
  height: 1px;
  background: rgba(255, 255, 255, 0.24);
}

.whatsapp-login {
  width: 100%;
  min-height: 66px;
  border: 1px solid #f6b900;
  border-radius: 14px;
  background: rgba(7, 7, 7, 0.85);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 800;
  cursor: pointer;
}

.whatsapp-login i {
  color: #ffc107;
  font-size: 32px;
}

.signup-cta:hover {
  color: #ffffff;
  box-shadow:
    0 0 24px rgba(255, 193, 7, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 34px 0 0;
  padding-top: 8px;
}

.trust-row span {
  min-width: 0;
  padding: 0 12px;
  text-align: center;
  border-right: 1px solid rgba(255, 255, 255, 0.22);
}

.trust-row span:last-child {
  border-right: 0;
}

.trust-row i {
  margin-bottom: 10px;
  color: #ffc107;
  font-size: 34px;
  filter: drop-shadow(0 0 12px rgba(255, 193, 7, 0.28));
}

.trust-row strong,
.trust-row small {
  display: block;
  color: #ffffff;
  line-height: 1.25;
}

.trust-row strong {
  font-size: 14px;
  font-weight: 800;
}

.trust-row small {
  margin-top: 2px;
  font-size: 13px;
}

body.login-trading-page .auth-card .signup {
  margin: 24px -56px -26px;
  padding: 22px 16px 0;
  border-top: 1px solid rgba(255, 193, 7, 0.14);
  color: rgba(255, 255, 255, 0.78);
  font-size: 18px;
}

body.login-trading-page .auth-card .signup a {
  color: #ffc107;
  font-weight: 800;
}

body.login-trading-page .auth-card .alert {
  margin-bottom: 16px;
  border-color: rgba(255, 193, 7, 0.24);
  background: rgba(255, 193, 7, 0.1);
  color: #ffe4a1;
}

body.login-trading-page .signup-card {
  padding-top: 32px;
}

body.login-trading-page .signup-card .input-group {
  min-height: 64px;
  margin-bottom: 14px;
}

body.login-trading-page .signup-card .input-group input {
  height: 62px;
}

body.login-trading-page .signup-card .trust {
  margin-top: 20px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  font-weight: 600;
}

body.login-trading-page .signup-card .trust i {
  color: #ffc107;
}

body.login-trading-page .signup-card .login-link {
  margin: 20px -56px -26px;
  padding: 22px 16px 0;
  border-top: 1px solid rgba(255, 193, 7, 0.14);
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
}

body.login-trading-page .signup-card .login-link a {
  color: #ffc107;
  font-weight: 800;
}

@media (max-width: 860px) {
  body.login-trading-page .login-shell {
    padding: 14px 10px;
  }

  .login-reference-frame {
    padding: 22px 14px 18px;
    border-radius: 28px;
  }

  .trading-hero {
    min-height: 210px;
    grid-template-columns: 1fr;
    grid-template-areas:
      "brand"
      "market";
    gap: 12px;
  }

  .brand-copy {
    grid-area: brand;
  }

  .top-brand-logo {
    width: min(72vw, 300px);
    max-height: 160px;
  }

  .market-art {
    grid-area: market;
    height: 90px;
  }

  .growth-line {
    inset: 6px 26px 8px 30%;
  }

  .candle {
    bottom: 4px;
    width: 12px;
  }

  .c1 { left: 40%; height: 18px; }
  .c2 { left: 48%; height: 28px; }
  .c3 { left: 56%; height: 38px; }
  .c4 { left: 64%; height: 48px; }
  .c5 { left: 72%; height: 58px; }
  .c6 { left: 80%; height: 70px; }

  body.login-trading-page .trading-login-card {
    margin-top: 0;
    padding: 28px 18px 22px;
  }

  body.login-trading-page .signup-card {
    padding-top: 26px;
  }

  .trust-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 22px;
  }

  .trust-row span:nth-child(2) {
    border-right: 0;
  }
}

@media (max-width: 480px) {
  body.login-trading-page.auth-page {
    padding: 0;
  }

  body.login-trading-page .login-shell {
    padding: 10px;
  }

  .login-reference-frame {
    padding: 16px 10px;
    border-radius: 24px;
  }

  .trading-hero {
    min-height: 172px;
  }

  .top-brand-logo {
    width: min(78vw, 260px);
    max-height: 126px;
  }

  body.login-trading-page .trading-login-card {
    padding: 24px 14px 18px;
    border-radius: 20px;
  }

  body.login-trading-page .select-wrap,
  body.login-trading-page .auth-card .input-group {
    min-height: 60px;
    padding: 0 16px;
  }

  body.login-trading-page .auth-card .input-group input,
  body.login-trading-page .auth-card .auth-select {
    height: 58px;
  }

  body.login-trading-page .auth-card .btn,
  .whatsapp-login {
    min-height: 60px;
  }

  body.login-trading-page .auth-card .btn::after {
    width: 40px;
    height: 40px;
  }

  .login-divider {
    gap: 12px;
    margin: 22px 0 16px;
  }

  .trust-row {
    margin-top: 28px;
  }

  .trust-row span {
    padding: 0 8px;
  }

  .trust-row i {
    font-size: 28px;
  }

  .trust-row strong,
  .trust-row small {
    font-size: 12px;
  }

  body.login-trading-page .auth-card .signup {
    margin: 20px -14px -18px;
    font-size: 15px;
  }

  body.login-trading-page .signup-card .login-link {
    margin: 18px -14px -18px;
    font-size: 15px;
  }

  body.login-trading-page .signup-card .trust {
    font-size: 13px;
  }
}
