/*-----------------------------------*\
  #style.css
\*-----------------------------------*/

:root {
  /**
   * colors
   */

  --cadet-blue-crayola: hsl(227, 13%, 73%);
  --maximum-yellow-red: hsl(41, 95%, 61%);
  --medium-sea-green: hsl(142, 43%, 54%);
  --blue-crayola_10: hsla(222, 100%, 61%, 0.05);
  --smocky-black_30: hsla(0, 0%, 6%, 0.3);
  --eerie-black-1: hsl(240, 5%, 8%);
  --eerie-black-2: hsl(228, 9%, 10%);
  --raisin-black: hsl(225, 15%, 16%);
  --blue-crayola: hsl(222, 100%, 61%);
  --roman-silver: hsl(223, 10%, 52%);
  --presian-red: hsl(0, 64%, 52%);
  --gunmetal_50: hsla(230, 16%, 22%, 0.502);
  --gainsboro: hsl(0, 0%, 85%);
  --cultured: hsl(0, 0%, 93%);
  --white_50: hsla(0, 0%, 100%, 0.5);
  --white_30: hsla(0, 0%, 100%, 0.3);
  --white_10: hsla(0, 0%, 100%, 0.1);
  --black_10: hsla(0, 0%, 0%, 0.1);
  --white: hsl(0, 0%, 100%);
  --primary: #4f46e5;
  --primary-dark: #4338ca;
  --secondary: #6366f1;
  --dark: #1e293b;
  --light: #f8fafc;
  --gray: #94a3b8;
  --eth-gradient: linear-gradient(135deg, #3c3c3d, #8c8c8e);
  --sol-gradient: linear-gradient(135deg, #00ffa3, #dc1fff);
  --border-radius: 16px;

  /**
   * gradient color
   */

  --gradient: linear-gradient(
    90deg,
    var(--white_10) 0px 77%,
    var(--white_50) 92%,
    transparent
  );

  /**
   * typography
   */

  --ff-dm-sans: "DM Sans", sans-serif;

  --fs-1: 3.2rem;
  --fs-2: 3rem;
  --fs-3: 2.4rem;
  --fs-4: 2rem;
  --fs-5: 1.8rem;
  --fs-6: 1.5rem;
  --fs-7: 1.4rem;
  --fs-8: 1.2rem;

  --fw-500: 500;
  --fw-700: 700;

  /**
   * spacing
   */

  --section-padding: 100px;

  /**
   * shadow
   */

  --shadow-1: 0px 4px 8px var(--black_10);
  --shadow-2: 0px 30px 10px -20px var(--smocky-black_30);
  --shadow-3: 0px 15px 10px -20px var(--smocky-black_30);

  /**
   * radius
   */

  --radius-12: 12px;
  --radius-24: 24px;

  /**
   * transition
   */

  --transition-1: 0.25s ease;
  --transition-2: 0.5s ease;
  --transition-3: 1s ease;
  --cubic-out: cubic-bezier(0.33, 0.85, 0.4, 0.96);
}

/*-----------------------------------*\
  #RESET
\*-----------------------------------*/

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

li {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

a,
img,
svg,
data,
span,
button,
ion-icon {
  display: block;
}

img {
  height: auto;
}

button {
  background: none;
  border: none;
  font: inherit;
  cursor: pointer;
}

ion-icon {
  pointer-events: none;
}

address {
  font-style: normal;
}

table {
  border-collapse: collapse;
}

html {
  font-family: var(--ff-dm-sans);
  font-size: 10px;
  scroll-behavior: smooth;
}

body {
  background-color: var(--eerie-black-2);
  color: var(--cadet-blue-crayola);
  font-size: 1.6rem;
  line-height: 1.4;
}

body.active {
  overflow: hidden;
}

::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background-color: hsl(220, 4%, 5%);
}

::-webkit-scrollbar-thumb {
  background-color: hsl(220, 5%, 20%);
}

::-webkit-scrollbar-thumb:hover {
  background-color: hsl(220, 5%, 30%);
}

:focus-visible {
  outline-offset: 4px;
}

/*-----------------------------------*\
  #REUSED STYLE
\*-----------------------------------*/

.container {
  padding-inline: 15px;
}

.btn {
  color: var(--white);
  border-radius: 50px;
}

.btn-outline {
  font-size: var(--fs-6);
  font-weight: var(--fw-500);
  border: 1px solid var(--white);
  padding: 5px 15px;
  transition: var(--transition-1);
}

.btn-outline:is(:hover, :focus) {
  background-color: var(--blue-crayola);
  border-color: var(--blue-crayola);
}

.btn-primary {
  position: relative;
  background-color: var(--blue-crayola);
  max-width: max-content;
  font-weight: var(--fw-700);
  padding: 13px 30px;
  overflow: hidden;
  z-index: 1;
}

.btn-primary::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: -50px;
  background-image: var(--gradient);
  transform: translateX(-100%);
  opacity: 0;
  z-index: -1;
  transition: var(--transition-2);
}

.btn-primary:is(:hover, :focus)::after {
  transform: translateX(0);
  opacity: 1;
}

.section {
  padding-block: var(--section-padding);
}

[data-section] > * {
  transform: translateY(50px);
  opacity: 0;
  transition: var(--transition-3);
}

[data-section].active > * {
  opacity: 1;
  transform: translateY(0);
}

.h1,
.h2,
.h3 {
  color: var(--white);
  line-height: 1.1;
}

.h1 {
  font-size: var(--fs-1);
}

.h2 {
  font-size: var(--fs-2);
}

.h3 {
  font-size: var(--fs-3);
}

.w-100 {
  width: 100%;
}

.badge {
  color: var(--white);
  font-size: var(--fs-8);
  font-weight: var(--fw-700);
  padding: 4px 8px;
  border-radius: 50px;
}

.badge.red {
  background-color: var(--presian-red);
}

.badge.green {
  background-color: var(--medium-sea-green);
}

.last-update.red {
  color: var(--presian-red);
}

.last-update.green {
  color: var(--medium-sea-green);
}

.section-text {
  font-size: var(--fs-5);
  margin-block: 15px 35px;
}

.section-list {
  margin-block-end: 35px;
}

.section-item:not(:last-child) {
  margin-block-end: 25px;
}

.section-item .title-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-block-end: 15px;
}

.section-item .title-wrapper ion-icon {
  flex-shrink: 0;
  color: var(--blue-crayola);
  font-size: 24px;
}

/* Crypto Ticker Styles */
.crypto-ticker {
  background-color: #000;
  color: #fff;
  overflow: hidden;
  white-space: nowrap;
  display: flex;
  align-items: flex-start;
  font-size: 14px;
  padding: 1rem;
  border-bottom: 1px solid #444;
}

.ticker-content {
  display: inline-block;
  padding-left: 100%;
  animation: ticker 50s linear infinite;
}

@keyframes ticker {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}

.wallet-buttons {
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.toast {
  position: fixed;
  right: -300px;
  top: 20px;
  padding: 12px 20px;
  background: #333;
  color: white;
  border-radius: 8px;
  font-size: 14px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  z-index: 9999;
  opacity: 0.9;
  transition: right 0.4s ease-in-out;
}
.toast.show {
  right: 20px;
}
.toast-success {
  background-color: #28a745;
}
.toast-error {
  background-color: #dc3545;
}
.toast-info {
  background-color: #007bff;
}
.toast-install {
  background-color: #c99806;
}
.toast-warning {
  background-color: orange;
}
.toast.fade-out {
  opacity: 0;
  transition: opacity 0.3s ease;
}
.toast-icon {
  margin-right: 8px;
  font-size: 16px;
  vertical-align: middle;
}
.toast-message {
  vertical-align: middle;
  font-weight: bold;
}

/*   Wallet   */
.btn-danger {
  background-color: #e74c3c;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  cursor: pointer;
}

/* Modal background */
.wallet-wrapper {
  position: relative;
  display: inline-block;
}

.wallet-modal {
  position: absolute;
  top: 140%;
  left: -225px;
  z-index: 1000;
  background: transparent;
  display: none;
  animation: slideUp 0.8s ease forwards;
}

/* Close Button (X) */
.wallet-modal .close-btn {
  position: absolute;
  top: 10px;
  right: 14px;
  font-size: 22px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
}

/* Close Button Hover */
.wallet-modal .close-btn:hover {
  color: red;
}

.modal-content {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  min-width: 300px;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.modal-header .icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

/* Slide Up Animation */
@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* General Modal Styling */
.modal-wrapper {
  display: none; /* Hidden by default */
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
  padding-top: 60px;
}

.modal-box {
  background-color: #fff;
  margin: 5% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 400px;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.close-icon {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.close-icon:hover,
.close-icon:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.modal-heading {
  text-align: center;
  font-size: 24px;
}

.input-label {
  display: block;
  margin: 10px 0 5px;
}

.input-field,
.currency-select {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.purchase-btn {
  width: 100%;
  padding: 12px;
  background: linear-gradient(135deg, #3b82f6, #6366f1);
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
}

.purchase-btn:hover {
  background-color: #45a049;
}

/*-----------------------------------*\
  #HEADER
\*-----------------------------------*/

.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background-color: var(--eerie-black-1);
  padding-block: 15px;
  z-index: 4;
}

.header.active {
  position: fixed;
  margin-top: -45px;
  top: -66px;
  background-color: var(--white);
  border-block-start: 1px solid var(--cultured);
  box-shadow: var(--shadow-1);
  animation: slideIn 0.25s var(--cubic-out) forwards;
}

@keyframes slideIn {
  0% {
    transform: translateY(0);
    background-color: var(--white);
  }

  100% {
    transform: translateY(100%);
    background-color: var(--eerie-black-2);
  }
}

.header > .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: -0.15rem;
  gap: 10px;
}

.logo {
  color: var(--white);
  font-size: 2.5rem;
  font-weight: var(--fw-700);
  display: flex;
  align-items: center;
  gap: 5px;
}

.nav-toggle-btn .line {
  width: 26px;
  height: 3px;
  background-color: var(--white);
  transition: var(--transition-1);
}

.nav-toggle-btn .line:not(:last-child) {
  margin-block-end: 4px;
}

.nav-toggle-btn {
  padding: 8px 5px;
  margin-inline-start: auto;
}

.nav-toggle-btn.active .line-1 {
  transform: rotate(45deg) translate(5px, 6px);
}

.nav-toggle-btn.active .line-2 {
  opacity: 0;
}

.nav-toggle-btn.active .line-3 {
  transform: rotate(-45deg) translate(4px, -5px);
}

.navbar {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: var(--eerie-black-1);
  max-height: 0;
  overflow: hidden;
  visibility: hidden;
  transition: 0.25s var(--cubic-out);
}

.navbar.active {
  max-height: calc(100vh - 63px);
  visibility: visible;
  transition-duration: 0.5s;
}

.navbar-item:not(:last-child) {
  border-block-end: 1px solid var(--white_30);
}

.navbar-link {
  color: var(--white);
  font-weight: var(--fw-700);
  padding: 12px 30px;
  transition: var(--transition-1);
}

.navbar-link:is(:hover, :focus, .active) {
  color: var(--blue-crayola);
}

/*-----------------------------------*\
  #HERO
\*-----------------------------------*/

.hero {
  padding-block: 150px 140px;
}

.hero-content {
  margin-block-end: 80px;
}

.hero-text {
  font-size: var(--fs-5);
  margin-block: 25px 40px;
}

/*-----------------------------------*\
  #TREND
\*-----------------------------------*/

.trend {
  background-color: var(--eerie-black-1);
  padding-block-end: 0;
}

.trend-tab {
  background-color: var(--eerie-black-2);
  border: 1px solid var(--raisin-black);
  border-radius: var(--radius-24);
  padding: 20px;
  box-shadow: var(--shadow-2);
  margin-block-start: -160px;
}

.trend-tab .tab-nav {
  display: flex;
  flex-wrap: wrap;
  padding-block-end: 20px;
  margin-block-end: 20px;
  border-block-end: 1px solid var(--raisin-black);
}

.trend-tab .tab-btn {
  color: var(--white);
  font-size: var(--fs-7);
  font-weight: var(--fw-700);
  padding: 7px 15px;
  border-radius: 50px;
  transition: var(--transition-1);
}

.trend-tab .tab-btn.active {
  background-color: var(--blue-crayola);
}

.trend-tab .tab-content {
  display: grid;
  gap: 20px;
}

.trend-card {
  padding: 20px;
  border-radius: var(--radius-12);
  transition: var(--transition-1);
}

.trend-card:is(:hover, .active) {
  background-color: var(--gunmetal_50);
  box-shadow: var(--shadow-3);
}

.trend-card .card-title-wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
}

.trend-card .card-title {
  color: var(--white);
  font-size: var(--fs-7);
  font-weight: var(--fw-700);
  transition: var(--transition-1);
}

.trend-card .card-title:is(:hover, :focus) {
  color: var(--blue-crayola);
}

.trend-card .card-title .span {
  color: var(--cadet-blue-crayola);
  display: inline-block;
  margin-inline-start: 5px;
}

.trend-card .card-value {
  color: var(--white);
  font-size: var(--fs-3);
  font-weight: var(--fw-700);
  margin-block: 10px;
}

.trend-card .card-analytics {
  display: flex;
  align-items: center;
  gap: 8px;
}

.trend-card .current-price {
  font-size: var(--fs-7);
}

/*-----------------------------------*\
  #MARKET
\*-----------------------------------*/

.market {
  background-color: var(--eerie-black-1);
  color: var(--white);
}

.market .title-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-block-end: 25px;
}

.market .btn-link {
  position: relative;
  min-width: max-content;
  font-weight: var(--fw-700);
  transition: var(--transition-1);
}

.market .btn-link:is(:hover, :focus) {
  color: var(--blue-crayola);
}

.market .btn-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--raisin-black);
  transition: var(--transition-1);
}

.market .btn-link:is(:hover, :focus)::after {
  background-color: var(--blue-crayola);
}

.market-tab {
  overflow-x: auto;
  padding-block-end: 30px;
}

.market-tab::-webkit-scrollbar {
  height: 14px;
}

.market-tab::-webkit-scrollbar-thumb {
  border: 2px solid hsl(220, 4%, 5%);
  border-width: 2px 10px;
}

.market-tab .tab-nav {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-block-end: 40px;
}

.market-tab .tab-btn {
  min-width: max-content;
  color: var(--white);
  font-size: var(--fs-7);
  font-weight: var(--fw-700);
  padding: 7px 24px;
  border-radius: 50px;
}

.market-tab .tab-btn.active {
  background-color: var(--blue-crayola);
}

.market-table {
  width: 100%;
}

.table-heading,
.table-data {
  padding: 8px;
}

.table-heading {
  font-size: var(--fs-5);
  text-align: left;
  white-space: nowrap;
}

.market-table .table-head {
  border-block-end: 2px solid var(--white);
}

.table-row:not(.table-title) {
  height: 90px;
}

.market-table .table-row {
  font-size: var(--fs-5);
  border-block-end: 1px solid var(--raisin-black);
  transition: var(--transition-1);
}

.market-table .table-body .table-row:is(:hover, :focus-within) {
  background-color: var(--blue-crayola_10);
}

.market-table .add-to-fav {
  color: var(--cadet-blue-crayola);
  font-size: 18px;
}

.market-table .add-to-fav.active .icon-outline,
.market-table .add-to-fav .icon-fill {
  display: none;
}

.market-table .add-to-fav .icon-outline,
.market-table .add-to-fav.active .icon-fill {
  display: block;
}

.market-table .add-to-fav.active ion-icon {
  color: var(--maximum-yellow-red);
}

.market-table .wrapper {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: max-content;
}

.market-table .coin-name {
  font-size: var(--fs-5);
  display: flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition-1);
}

.market-table .coin-name .span {
  color: var(--roman-silver);
  font-size: var(--fs-7);
}

.market-table .coin-name:is(:hover, :focus) {
  color: var(--blue-crayola);
}

.market-table :is(.rank, .last-price, .market-cap) {
  font-weight: var(--fw-700);
}

.market-table .btn-outline {
  border-width: 2px;
  padding-inline: 10px;
}

.market-table .table-row:is(:hover, :focus-within) .btn-outline {
  background-color: var(--blue-crayola);
  border-color: var(--blue-crayola);
}

/*-----------------------------------*\
  #INSTRUCTION
\*-----------------------------------*/

.instruction :is(.section-title, .section-text) {
  text-align: center;
}

.instruction .section-title {
  margin-block-end: 15px;
}

.instruction-list {
  display: grid;
  gap: 30px;
  margin-block-start: 50px;
}

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

.instruction-card .card-banner {
  transition: var(--transition-2);
}

.instruction-card:hover .card-banner {
  transform: rotateY(1turn);
}

.instruction-card .img {
  margin-inline: auto;
  margin-block-end: 12px;
}

.instruction-card .card-subtitle {
  font-size: var(--fs-8);
  font-weight: var(--fw-700);
  text-transform: uppercase;
}

.instruction-card .card-title {
  font-size: var(--fs-4);
  margin-block: 5px 15px;
}

.instruction-card .card-text {
  padding-inline: 20px;
}

/*-----------------------------------*\
  #ABOUT
\*-----------------------------------*/

.about {
  background-color: var(--eerie-black-1);
}

.about-banner {
  margin-block-end: 40px;
}

/*-----------------------------------*\
  #APP
\*-----------------------------------*/

.app {
  overflow: hidden;
  padding-block-end: 0;
}

.app-wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 15px;
}

.app-banner {
  position: relative;
  margin-block-start: 60px;
}

.app-banner .span {
  position: absolute;
  top: 10%;
  left: 0;
  color: var(--white);
  font-size: var(--fs-7);
  font-weight: var(--fw-700);
  padding: 8px 15px;
  border: 2px solid var(--white);
  border-radius: 50px;
}

/* Stepper indicators */
.signup-card {
  max-width: 600px !important;
  margin: 120px auto;
  padding: 2rem;
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  font-family: system-ui, sans-serif;
  color: #333;
}
.signup-card h1 {
  font-size: 3rem;
}
#signupForm input:focus,
#signupForm select:focus {
  border-color: #2a5ada;
  box-shadow: 0 0 0 3px rgba(42, 90, 218, 0.2);
}
.stepper {
  display: flex;
  justify-content: space-between;
  margin-bottom: 2rem;
  list-style: none;
}
.stepper li {
  flex: 1;
  position: relative;
  text-align: center;
}
.stepper li::before {
  content: counter(step) " ";
  counter-increment: step;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  padding: 0 0.5rem;
  line-height: 2rem;
  border: 2px solid var(--blue-crayola);
  border-radius: 50%;
  background: white;
  color: var(--blue-crayola);
  font-weight: var(--fw-700);
  margin-right: 0.75rem;
}

.stepper li::after {
  content: "";
  position: absolute;
  top: 1rem;
  left: calc(50% + 1rem);
  width: calc(100% - 2rem);
  height: 2px;
  background: var(--blue-crayola);
  z-index: -1;
}
.stepper li:last-child::after {
  display: none;
}
.stepper li.completed::before {
  background: var(--blue-crayola);
  color: white;
}
.stepper li.completed + li::after {
  background: var(--blue-crayola);
}
/* Hide all step sections by default */
.form-step {
  display: none;
  margin-top: 1.5rem;
}
.stepper li.active::before {
  animation: popIn 0.3s ease both;
}

@keyframes popIn {
  from {
    transform: scale(0.8);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}
#prevBtn {
  background: #fff;
  color: var(--blue-crayola);
  border: 2px solid var(--blue-crayola);
}

#prevBtn:hover:not([disabled]) {
  background: rgba(42, 90, 218, 0.1);
}

#prevBtn:disabled {
  background: #f9f9f9;
  color: #aaa;
  border-color: #ddd;
  cursor: none;
}

#nextBtn {
  background: var(--blue-crayola);
  color: #fff;
  border: none;
}
#nextBtn:hover:not([disabled]) {
  background: var(--blue-crayola-hover, #1e3fae);
}

input.touched:invalid,
select.touched:invalid {
  border-color: #e74c3c;
  box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.2);
}
input:invalid::-webkit-validation-bubble-arrow,
select:invalid::-webkit-validation-bubble-arrow {
  display: none;
}

.form-step.active {
  display: block;
}
/* Navigation buttons */
.form-nav {
  margin: 1.5rem 0 2.5rem;
  display: flex;
  justify-content: space-between;
  gap: 5rem;
}
.form-nav button {
  flex: 1 1 0;
  min-width: 0;
  padding: 0.75rem 0;
  background: var(--blue-crayola);
  color: #fff;
  font-size: 1.3rem;
  border: none;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
}
.form-nav button:hover {
  background-color: rgb(11, 79, 239);
}

/*-----------------------------------*\
  Sign In Style
\*-----------------------------------*/
.main-signin {
  max-width: 600px;
  margin: 12rem auto;
  color: #333;
  font-size: 1.2rem;
  padding: 2rem;
  background: #fff;
  border-radius: 0.5rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}
.main-signin h1 {
  text-align: center;
  margin: 1rem 0;
  font-size: 3rem;
}
.main-signin p.intro {
  text-align: center;
  margin-bottom: 2rem;
  font-size: 1.5rem;
}
.main-signin p.intro a {
  color: var(--blue-crayola);
  font-weight: var(--fw-700);
  text-decoration: none;
  display: inline;
  font-size: 1.5rem;
}
.main-signin p.intro a:hover {
  text-decoration: underline;
}
/* ======================================================================= */
/*                         Wallet Connect Buttons                          */
/* ======================================================================= */

/* Container for both buttons */
.wallet-connect {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  justify-content: center;
  margin: 3rem auto 2rem;
  max-width: 600px;
  padding: 0 1rem;
}

/* Base styling for each wallet button */
.wallet-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 20px;
  font-size: 1.4rem;
  font-weight: 600;
  color: #fff;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  min-width: 160px;
  flex: 1 1 40%;
  max-width: 240px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  opacity: 0;
  animation: fadeInUp 0.5s ease forwards;
}

/* Icon size inside the button */
.wallet-icon-btn img {
  width: 24px;
  height: 24px;
}

/* Ethereum button gradient */
.connect-eth-btn {
  background: linear-gradient(135deg, #3c3c3d, #8c8c8e);
}

/* Solana button gradient */
.connect-sol-btn {
  background: linear-gradient(135deg, #00ffa3, #dc1fff);
}

/* Fade‐in animation for each button */
.wallet-icon-btn:nth-child(1) {
  animation-delay: 0.1s;
}
.wallet-icon-btn:nth-child(2) {
  animation-delay: 0.2s;
}
.main-signin p.note {
  /* Make sure it’s centered again on desktop */
  text-align: center;
  /* Restore a comfortable font‐size */
  font-size: 1.5rem;
  /* Reapply any color/spacing you want */
  color: #666;
  margin: 2rem auto 1.5rem;
  /* Limit the width on large screens so it doesn’t stretch too wide */
  max-width: 600px;
  /* Ensure it’s not accidentally flex‐shrunk or inheriting display:flex */
  display: block;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hover state: lift up slightly + stronger shadow */
.wallet-icon-btn:hover:not(:disabled) {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

/* Active (pressed) state: slight shrink + subtle shadow */
.wallet-icon-btn:active:not(:disabled) {
  transform: scale(0.97);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* Disabled state: gray out, remove shadow & cursor */
.wallet-icon-btn:disabled {
  background-color: #ccc;
  color: #888;
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}



/* Responsive: On very narrow screens, stack buttons full-width */
@media (max-width: 480px) {
  .wallet-icon-btn {
    font-size: 0.95rem;
    padding: 12px 16px;
    min-width: 100%;
    flex: 1 1 100%;
  }
  .wallet-connect {
    gap: 1rem;
  }
  .main-signin {
    width: 100%,;
    max-width: 100px;
  }
  .main-signin p.note {
    font-size: 1.2rem;
    margin: 1.5rem auto 1rem;
  }
}

@media (max-width: 600px) {
  .main-signin {
    width: 100%,;
    max-width: 100%;
    margin: 0;
    padding: 2rem 1rem;
    border-radius: 0;
    box-shadow: none;
    min-height: 100vh;
  }
}


/*-----------------------------------*\
  #FOOTER
\*-----------------------------------*/

.footer-top {
  background-color: var(--eerie-black-1);
  padding-block: 80px 50px;
}

.footer-top .container {
  display: grid;
  gap: 50px;
}

.footer .logo {
  font-size: 3rem;
}

.footer-title {
  color: var(--white);
  font-size: var(--fs-3);
  margin-block: 25px 20px;
}

.footer-contact-link:not(:last-child) {
  margin-block-end: 12px;
}

address.footer-contact-link {
  max-width: 30ch;
}

.footer-list-title {
  color: var(--white);
  font-size: var(--fs-7);
  font-weight: var(--fw-700);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-list > li:not(:last-child) {
  margin-block-end: 10px;
}

.footer-list > li:first-child {
  margin-block-end: 20px;
}

.footer-link {
  color: var(--gainsboro);
  transition: var(--transition-1);
}

.footer-link:is(:hover, :focus) {
  color: var(--blue-crayola);
}

.footer-bottom {
  background-color: var(--eerie-black-2);
  padding-block: 20px;
}

.copyright {
  text-align: center;
  margin-block-end: 20px;
}

.copyright-link {
  display: inline-block;
  color: var(--blue-crayola);
}

.social-list {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.social-link {
  font-size: 18px;
  transition: var(--transition-1);
}

.social-link:is(:hover, :focus) {
  color: var(--blue-crayola);
}

/*-----------------------------------*\
  #MEDIA QUERIES
\*-----------------------------------*/

@media (min-width: 10px) and (max-width: 767px) {
  .header > .container {
    margin-top: 1rem;
  }
  .main-signin {
    margin: 11.5rem auto;
    padding: 1rem;
    max-width: 95%;
  }
  .main-signin h1 {
    font-size: 2.5rem;
    margin-top: 1rem;
  }
  .main-signin p.intro,
  .main-signin p.intro a {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
  }
  .main-signin .wallet-connect {
    flex-direction: column;
    gap: 1rem;
  }
  .main-signin .wallet-connect button {
    max-width: 100%;
    font-size: 1.4rem;
  }
  .main-signin p.note {
    font-size: 1rem;
  }
  .signup-card {
    padding: 1.5rem;
    max-width: 90% !important;
  }
  .signup-card h1 {
    font-size: 2.5rem;
  }
  .stepper {
    flex-direction: column;
  }
  .stepper li::after {
    display: none; /* vertical stepper on mobile */
  }
  .field-group.half {
    width: 100%;
  }
  .form-nav {
    flex-direction: column;
    gap: 0.85rem;
  }
  .form-nav button {
    max-width: 100%;
  }
  #nextBtn {
    margin-top: -5rem;
  }
  #nextBtn.is-submit {
    margin-top: 0;
  }
}
/**
 * responsive for larger than 575px screen
 */

@media (min-width: 575px) {
  /**
   * CUSTOM PROPERTY
   */

  :root {
    /**
     * typography
     */

    --fs-1: 4rem;
    --fs-2: 3.4rem;
  }

  /**
   * REUSED STYLE
   */

  .container {
    max-width: 540px;
    width: 100%;
    margin-inline: auto;
  }

  /**
   * HERO
   */

  .hero-text {
    --fs-5: 2rem;
  }
}

/**
 * responsive for larger than 768px screen
 */

@media (min-width: 768px) {
  /**
   * CUSTOM PROPERTY
   */

  :root {
    /**
     * typography
     */

    --fs-1: 5rem;
    --fs-2: 4rem;
  }

  .form-nav.single #prevBtn {
    display: none;
  }

  .form-nav.single #nextBtn {
    flex: 1 1 auto !important;
    width: 100% !important;
    max-width: none !important;
  }

  /**
   * REUSED STYLE
   */

  .container {
    max-width: 750px;
  }

  /**
   * HERO
   */

  .hero-banner {
    max-width: max-content;
    margin-inline: auto;
  }

  /**
   * TREND
   */

  .trend-tab .tab-content {
    grid-template-columns: 1fr 1fr;
  }

  /**
   * INSTRUCTION
   */

  .instruction {
    overflow: hidden;
  }

  .instruction .section-text {
    max-width: 40ch;
    margin-inline: auto;
  }

  .instruction-list {
    grid-template-columns: 1fr 1fr;
  }

  .instruction-card {
    position: relative;
  }

  .instruction-card::after {
    content: "";
    width: 160px;
    height: 12px;
    background-image: url("../images/connect-line.png");
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    position: absolute;
    top: 50px;
    right: -95px;
  }

  .instruction-list > li:nth-child(even) .instruction-card::after {
    display: none;
  }

  /**
   * APP
   */

  .app-banner {
    max-width: max-content;
  }

  /**
   * FOOTER
   */

  .footer-top .container {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-brand {
    grid-column: 1 / 3;
  }

  .footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .copyright {
    margin-block-end: 0;
  }
}

/**
 * responsive for larger than 992px screen
 */

@media (min-width: 992px) {
  /**
   * REUSED STYLE
   */

  .container {
    max-width: 960px;
  }

  /**
   * HEADER
   */

  .header {
    padding-block: 5px;
  }

  .header.active {
    top: -60px;
  }

  .header > .container {
    gap: 50px;
  }

  .nav-toggle-btn {
    display: none;
  }

  .navbar,
  .navbar.active {
    all: unset;
    margin-inline-end: auto;
  }

  .navbar-list {
    display: flex;
    align-items: center;
  }

  .navbar-item:not(:last-child) {
    border-block-end: none;
  }

  .navbar-link {
    font-size: var(--fs-7);
    padding: 15px 12px;
  }

  .navbar-link:is(:hover, :focus, .active) {
    background-color: var(--blue-crayola);
    color: var(--white);
  }

  /**
   * HERO
   */

  .hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 30px;
  }

  .hero-content {
    margin-block-end: 0;
  }

  /**
   * MARKET
   */

  .market-tab {
    padding-block-end: 0;
  }

  /**
   * ABOUT
   */

  .about .container {
    display: grid;
    grid-template-columns: 1fr 0.8fr;
    align-items: center;
    gap: 30px;
  }

  .about-banner {
    margin-block-end: 0;
  }

  /**
   * APP
   */

  .app {
    padding-block: 0;
  }

  .app .container {
    display: grid;
    grid-template-columns: 0.8fr 1fr;
    align-items: flex-end;
    gap: 30px;
  }

  .app-banner {
    margin-block-start: 0;
  }

  .app-content {
    margin-block: 50px;
  }
}

/**
 * responsive for larger than 1200px screen
 */

@media (min-width: 1200px) {
  /**
   * CUSTOM PROPERTY
   */

  :root {
    /**
     * typography
     */

    --fs-1: 6.4rem;
    --fs-2: 4.8rem;
  }

  /**
   * REUSED STYLE
   */

  .container {
    max-width: 1280px;
  }

  /**
   * HEADER
   */

  .header.active {
    top: -64px;
  }

  .navbar-link {
    font-size: unset;
  }

  /**
   * HERO
   */

  .hero .container {
    gap: 100px;
  }

  /**
   * TREND
   */

  .trend-tab .tab-content {
    grid-template-columns: repeat(4, 1fr);
  }

  /**
   * INSTRUCTION
   */

  .instruction-list {
    grid-template-columns: repeat(4, 1fr);
  }

  .instruction-list > li:nth-child(even) .instruction-card::after {
    display: block;
  }

  .instruction-list > li:last-child .instruction-card::after {
    display: none;
  }

  /**
   * ABOUT, APP
   */

  :is(.about, .app) .container {
    gap: 60px;
  }

  /**
   * APP
   */

  .app-content {
    margin-block: 100px;
  }

  /**
   * FOOTER
   */

  .footer-top {
    padding-block: 100px 90px;
  }

  .footer-top .container {
    grid-template-columns: 1fr 0.5fr 0.5fr 0.5fr 0.5fr;
  }

  .footer-brand {
    grid-column: auto;
  }
}
