
@import url("https://fonts.googleapis.com/css?family=Roboto+Mono");
@font-face {
  font-family: "NotoSansDisplay";
  src: url("assets/fonts/NotoSansDisplay-Thin.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "NotoSansDisplay";
  src: url("assets/fonts/NotoSansDisplay-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "NotoSansDisplay";
  src: url("assets/fonts/NotoSansDisplay-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
html {
  box-sizing: border-box;
}

*, *::after, *::before {
  box-sizing: inherit;
}

*, *:before, *:after {
  box-sizing: border-box;
  outline: none;
}

html {
  font-family: "Calibre", "Helvetica Neue", "Helvetica", sans-serif;
  font-size: 16px;
  font-smooth: auto;
  font-weight: 300;
  line-height: 1.5;
  color: #fffff;
}

body {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100vh;
  font-family: "NotoSansDisplay", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

button {
  cursor: pointer;
}

button, input {
  border: none;
}

.hide {
  display: none;
}

.app {
  display: block;
  width: 23.4375rem;
  background-color: blacksmoke;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
  overflow: hidden;
}
.app .login, .app .signup {
  position: absolute;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 50%;
  background-color: #4054B2;
  font-family: 'Roboto Mono', monospace;
  font-size: 1.5rem;
  font-weight: 400;
  color: white;
  transition: all 0.25s linear;
  overflow: hidden;
  z-index: 2;
}
.app .login {
  top: 0;
  border-bottom: 1px solid white;
}
.app .login.active {
  height: 10%;
  border-bottom: none;
}
.app .login.inactive {
  height: 5%;
  font-size: 1rem;
  border-bottom: none;
}
.app .signup {
  bottom: 0;
  border-top: 1px solid white;
}
.app .signup.active {
  height: 10%;
  border-top: none;
  background-color: #B73E35;
}
.app .signup.inactive {
  height: 5%;
  font-size: 1rem;
  background-color: #B73E35;
  border-top: none;
}
.app .login-form {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 60px 30px 50px;
  background-color: #5f71c6;
  animation: slideUp 0.25s linear;
  z-index: 0;
}
.app .login-form h2 {
  font-size: 1.85rem;
  font-weight: 300;
  color: white;
  text-align: center;
  text-transform: uppercase;
}
.app .login-form svg {
  position: relative;
  display: block;
  width: 40px;
  height: 40px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  box-shadow: 0 0 15px #33428c;
}
.app .login-form svg .mountains {
  fill: #B73E35;
}
.app .login-form svg .circle {
  fill: white;
}
.app .login-form input {
  position: relative;
  display: block;
  width: 100%;
  margin: 0 0 0.5rem;
  padding: 0.875rem 0.5rem;
  border-radius: 5px;
}
.app .login-form input:focus {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}
.app .login-form .button {
  position: relative;
  width: 100%;
  margin-top: 1rem;
  padding: 0.625rem 0.5rem;
  background-color: #2c397a;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
  color: white;
  border-radius: 5px;
}
.app .login-form p {
  color: white;
  font-size: 14px;
  text-align: center;
}
.app .signup-form {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 25px 13px 56px;
  background-color:#000000;
  animation: slideDown 2s linear;
  z-index: 0;
}
.app .signup-form h2 {
  font-weight: 300;
  text-align: center;
  text-transform: uppercase;
}
.app .signup-form svg {
  position: relative;
  display: block;
  width: 75px;
  height: 75px;
  margin: 0 auto 1.5rem;
  border-radius: 50%;
  box-shadow: 0 0 15px #78a3f6;
}
.app .signup-form svg .mountains {
  fill: #4054B2;
}
.app .signup-form svg .circle {
  fill: white;
}
.app .signup-form input {
  position: relative;
  display: block;
  width: 100%;
  margin: 0 0 0.5rem;
  padding: 0.875rem 0.5rem;
  border-radius: 5px;
}
.app .signup-form input.half {
  width: 30%;
  display: inline-block;
  float: left;
  box-shadow: 0 0 2px #709df3;

}
.app .signup-form input.half {
  margin-right: 3%;
}
.app .signup-form input:focus {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}
.app .signup-form .button {
  position: relative;
  width: 100%;
  margin-top: 1rem;
  padding: 0.625rem 0.5rem;
  background-color: #3692fe;
  box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
  color: white;
  border-radius: 5px;
}
.app .signup-form p {
  color: #737373;
  font-size: 14px;
  text-align: center;
}

@keyframes slideUp {
  0% {
    transform: translateY(50px);
    opacity: 0.2;
  }
  100% {
    transform: translateY(0px);
    opacity: 1.0;
  }
}
@keyframes slideDown {
  0% {
    transform: translateY(-50px);
    opacity: 0.2;
  }
  100% {
    transform: translateY(0px);
    opacity: 1.0;
  }
}

:root {
  --bg1: #0a1f1b;
  --bg2: #0b2f2a;
  --accent1: #22c55e;
  --accent2: #14b8a6;
  --accent3: #06b6d4;
  --text: #e5e7eb;
  --muted: #9fb3ad;
  --card: rgba(255,255,255,0.07);
  --border: rgba(255,255,255,0.10);
  --safe-top: env(safe-area-inset-top);
  --safe-bottom: env(safe-area-inset-bottom);
}

body {
  background: linear-gradient(135deg, var(--bg1), var(--bg2));
  animation: gradientShift 12s ease infinite;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--text);
  padding: 32px;
}

body::before,
body::after {
  content: "";
  position: fixed;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  filter: blur(90px);
  z-index: -1;
}
body::before {
  background: radial-gradient(closest-side, rgba(34,197,94,0.40), transparent 70%);
  top: -80px;
  left: -80px;
  animation: blobOne 18s ease-in-out infinite;
}
body::after {
  background: radial-gradient(closest-side, rgba(20,184,166,0.36), transparent 70%);
  bottom: -60px;
  right: -60px;
  animation: blobTwo 22s ease-in-out infinite;
}

.wrapper {
  width: 360px;
  border-radius: 28px;
  background: rgba(15,23,42,0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.45), inset 0 1px 0 var(--border);
  border: 1px solid var(--border);
  overflow: hidden;
  padding-top: var(--safe-top);
  padding-bottom: var(--safe-bottom);
}

.main-section__step {
  opacity: 0;
  transform: translateY(20px) scale(0.98);
  transition: opacity 320ms ease, transform 360ms ease;
}
.main-section__step.active {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.main-section__box-title,
.main-section__wallet-title {
  font-family: "NotoSansDisplay", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  letter-spacing: 0.2px;
  color: var(--text);
}
.main-section__wallet-text {
  color: var(--muted);
}

.main-section__button,
.main-section__btn,
.main-section__coin-button {
  position: relative;
  background: linear-gradient(90deg, var(--accent1), var(--accent2), var(--accent3));
  background-size: 200% 200%;
  animation: gradientMove 8s linear infinite;
  color: #fff;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(59,130,246,0.35);
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.main-section__button:hover,
.main-section__btn:hover,
.main-section__coin-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(59,130,246,0.45);
}
.main-section__button:active,
.main-section__btn:active,
.main-section__coin-button:active {
  transform: translateY(0);
}
.main-section__button::after,
.main-section__btn::after,
.main-section__coin-button::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.18);
  pointer-events: none;
}

.main-section__logo,
.main-section__logos {
  animation: float 6s ease-in-out infinite;
  will-change: transform;
}

.main-section__discover-column,
.main-section__coin-block,
.main-section__coin-content {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.main-section__nav .tab-js li {
  display: inline-block;
  padding: 10px 14px;
  margin-right: 8px;
  border-radius: 20px;
  background: rgba(255,255,255,0.06);
  color: var(--text);
  transition: background 180ms ease, color 180ms ease;
}
.main-section__nav .tab-js li.active {
  background: linear-gradient(90deg, rgba(59,130,246,0.35), rgba(6,182,212,0.35));
  color: #fff;
}

.main-section__menu ul li {
  transition: color 160ms ease, transform 160ms ease;
}
.main-section__menu ul li.active {
  transform: translateY(-1px);
}

/* Global animated aurora overlay */
.wrapper::after {
  content: "";
  position: absolute;
  inset: -10% -20%;
  background: linear-gradient(90deg, rgba(34,197,94,0.08) 0%, rgba(20,184,166,0.12) 50%, rgba(6,182,212,0.08) 100%);
  transform: translateX(-40%);
  filter: blur(18px);
  pointer-events: none;
  animation: auroraSweep 16s linear infinite;
}

/* Subtle hover parallax for cards */
.main-section__discover-column,
.main-section__coin-block,
.main-section__coin-content {
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}
.main-section__discover-column:hover,
.main-section__coin-block:hover,
.main-section__coin-content:hover {
  transform: translateY(-2px) scale(1.01);
  box-shadow: 0 12px 28px rgba(0,0,0,0.35);
  border-color: rgba(20,184,166,0.35);
}

/* Shimmer effect for list rows */
.main-section__discover-column {
  position: relative;
  overflow: hidden;
}
.main-section__discover-column::before {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.08) 50%, transparent 100%);
  transform: skewX(-20deg);
  animation: shimmer 2800ms ease-in-out infinite;
}

/* Animated buttons ripple and glow */
.main-section__button,
.main-section__btn,
.main-section__coin-button {
  overflow: hidden;
}
.main-section__button::before,
.main-section__btn::before,
.main-section__coin-button::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,255,255,0.28) 0%, transparent 60%);
  transform: translate(-50%, -50%);
  opacity: 0;
}
.main-section__button:active::before,
.main-section__btn:active::before,
.main-section__coin-button:active::before {
  animation: ripple 560ms ease;
}

/* Input focus pulse */
.main-section__step--2 .main-section__textarea textarea:focus {
  animation: ringPulse 1600ms ease-in-out infinite;
}

/* Preloader dots bounce */
.preloader-item__dots,
.preloeader-item .preloader-item__dots {
  position: relative;
  width: 60px;
  height: 16px;
  margin: 14px auto;
}
.preloader-item__dots::before,
.preloader-item__dots::after {
  content: "";
  position: absolute;
  top: 0;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--accent2);
  animation: dotBounce 1200ms ease-in-out infinite;
}
.preloader-item__dots::before {
  left: 6px;
  animation-delay: 0ms;
}
.preloader-item__dots::after {
  left: 42px;
  animation-delay: 300ms;
}

/* Menu icon gentle wiggle when active */
.main-section__menu li.active svg {
  animation: wiggle 1600ms ease-in-out infinite;
}

/* Keyframes */
@keyframes auroraSweep {
  0% { transform: translateX(-40%); opacity: 0.6; }
  50% { transform: translateX(40%); opacity: 0.85; }
  100% { transform: translateX(-40%); opacity: 0.6; }
}
@keyframes shimmer {
  0% { left: -60%; }
  60% { left: 120%; }
  100% { left: 120%; }
}
@keyframes ripple {
  0% { width: 0; height: 0; opacity: 0.6; }
  100% { width: 240%; height: 240%; opacity: 0; }
}
@keyframes ringPulse {
  0% { box-shadow: 0 0 0 3px rgba(20,184,166,0.22); }
  50% { box-shadow: 0 0 0 6px rgba(20,184,166,0.14); }
  100% { box-shadow: 0 0 0 3px rgba(20,184,166,0.22); }
}
@keyframes dotBounce {
  0%, 100% { transform: translateY(0); opacity: 0.9; }
  50% { transform: translateY(-6px); opacity: 1; }
}
@keyframes wiggle {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-1px) rotate(-1deg); }
  50% { transform: translateY(0) rotate(0deg); }
  75% { transform: translateY(-1px) rotate(1deg); }
}
/* Connect page */
.main-section__step--2 .main-section__info {
  padding: 18px 18px 4px;
}
.main-section__step--2 .main-section__back {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
}
.main-section__step--2 .main-section__back-title {
  font-size: 20px;
  font-weight: 500;
  background: linear-gradient(90deg, var(--accent1), var(--accent3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.main-section__step--2 .main-section__back-title span {
  margin-inline-start: 6px;
  font-weight: 400;
  color: var(--muted);
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
}
.main-section__step--2 .main-section__logos {
  width: 40px;
  height: 40px;
  margin-left: auto;
  filter: drop-shadow(0 6px 10px rgba(34,197,94,0.25));
}
.main-section__step--2 .main-section__body {
  padding: 12px 16px 18px;
}
.main-section__step--2 .main-section__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.main-section__step--2 .main-section__nav .tab-js {
  display: flex;
}
.main-section__step--2 .main-section__nav .tab-js li {
  padding: 10px 14px;
  border-radius: 16px;
  font-weight: 500;
}
.main-section__step--2 .main-section__nav .tab-js li.active {
  background: linear-gradient(90deg, var(--accent1), var(--accent2));
  color: #fff;
  box-shadow: 0 8px 18px rgba(20,184,166,0.25);
}
.main-section__step--2 .main-section__tab {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 16px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.25);
}
.main-section__step--2 .main-section__phraze .phraze {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: 8px;
}
.main-section__step--2 .main-section__textarea textarea {
  width: 100%;
  min-height: 140px;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  border-radius: 14px;
  color: var(--text);
  padding: 12px 12px 16px;
  outline: none;
  transition: box-shadow 180ms ease, border-color 180ms ease, background 180ms ease;
}
.main-section__step--2 .main-section__textarea textarea::placeholder {
  color: #14b8a6cc;
}
.main-section__step--2 .main-section__textarea textarea:focus {
  border-color: var(--accent2);
  box-shadow: 0 0 0 3px rgba(20,184,166,0.22);
  background: rgba(255,255,255,0.08);
}
.main-section__step--2 .main-section__button.js-button-continue-2[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
  box-shadow: none;
}
.main-section__step--2 .main-section__button.js-button-continue-2 {
  width: 100%;
  margin-top: 12px;
  padding: 12px;
  font-weight: 600;
}
.main-section__step--2 .main-section__aside {
  padding: 8px 16px 0;
}
.main-section__step--2 .main-section__restore {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 12px;
  margin-bottom: 12px;
}
.main-section__step--2 .main-section__restore-text {
  color: var(--text);
}
.main-section__step--2 .main-section__restore-subtext {
  color: var(--muted);
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes gradientMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes blobOne {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(40px,30px) scale(1.1); }
}
@keyframes blobTwo {
  0%, 100% { transform: translate(0,0) scale(1); }
  50% { transform: translate(-30px,-40px) scale(1.08); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
