:root {
  --Beige: #b0ad8f;
  --Black: #060606;
  --White: #ffffff;
  --Yellow: #ebff54;
  --Green: #7a7d3d;
  --Dark-Green: #525229;
}

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

@font-face {
  font-family: "Litheum Text";
  src: url("../fonts/Litheum\ Text_beta\ v1.0.otf");
}

@font-face {
  font-family: "Litheum Title";
  src: url("../fonts/Litheum\ Title_beta\ v1.0.otf");
}

body {
  background: var(--Black);
  /* background: linear-gradient(90deg, var(--Black) 50%, #151515 50%); */
  display: flex;
  align-items: center;
  /* justify-content: center; */
  flex-direction: column;
  width: 100%;
  height: 100vh;
  position: relative;
}

button {
  background: transparent;
  cursor: pointer;
  border: none;
}

/* Navbar Layout */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--Yellow);
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-family: 'Litheum Title', sans-serif;
  color: var(--Black);
  font-size: 1.5rem;
  font-weight: bold;
}

.nav-links {
  display: flex;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  font-family: 'Litheum Title', sans-serif;
  color: var(--Black);
  font-weight: 500;
  transition: color 0.3s ease;
}
.nav-links a:hover {
  color: #7b3fe4;
}

.actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.hamburger {
  display: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Mobile */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hamburger {
    display: block;
  }

  .mobile-menu {
    display: none;
    flex-direction: column;
    background: white;
    border-top: 1px solid #eaeaea;
  }

  .open {
    display: flex;
  }

  .mobile-menu-link {
    padding: 1rem 0rem 1rem 2rem;
    text-decoration: none;
    background-color: var(--Dark-Green);
    color: var(--Black);
    font-family: 'Litheum Title', sans-serif;
    font-weight: 500;
    transition: color 0.3s ease;
  }

  .mobile-menu-link:hover {
    background-color: var(--Beige);
    color: var(--Black);
  }
}

/* Desktop */
@media (min-width: 769px) {
  .mobile-menu {
    display: none;
  }
}
/** POOL PAGE STYLES **/

.pair-container {
  background: #1c1c1c;
  padding: 1.5rem;
  border-radius: 1rem;
  border: 1px solid #333;
  max-width: 500px;
  margin: auto;
}

.pair-container h2,
.fee-tier h3 {
  font-family: 'Litheum Text', sans-serif;
  font-size: 1.2rem;
  margin-bottom: 0.25rem;
  color: var(--Yellow);
}

.pair-container p,
.fee-tier p {
  font-family: 'Litheum Text', sans-serif;
  font-size: 0.9rem;
  color: var(--Dark-Green);
  margin: 10px auto;
}

.token-select-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.token-button {
  background: #2b2b2b;
  border: none;
  padding: 0.8rem 1.2rem;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  flex: 1;
}

.token-button img {
  width: 20px;
  height: 20px;
}

.arrow {
  margin-left: auto;
  font-size: 0.8rem;
  color: #ccc;
}

.continue-button {
  background: var(--Yellow);
  color: var(--Black);
  font-family: "Litheum Title";
  font-size: 28px;
  font-style: normal;
  font-weight: 400;
  line-height: 110%; /* 30.8px */
  transition: all 0.5s;

  /* font-family: 'Litheum Text', sans-serif; */
  /* font-weight: bold; */
  border: none;
  padding: 1rem;
  width: 100%;
  border-radius: 1rem;
  cursor: pointer;
  margin-top: 1.5rem;
  /* transition: background 0.2s; */
}

.continue-button:hover {
  background: #e5e5e5;
}

.token-selector {
  display: flex;
  flex-wrap: wrap;
  margin: 25px auto;
  justify-content: space-evenly;
}
.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-button {
  padding: 8px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  border: 1px solid var(--Beige);
  border-radius: 8px;
  background-color: var(--Black);
  color: var(--Yellow);
  cursor: pointer;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 110%;
  left: 0;
  z-index: 100;
  background: var(--Black);
  color: var(--Yellow);
  border: 1px solid #ccc;
  border-radius: 8px;
  width: 100%;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.dropdown-menu.show {
  display: block;
}

.dropdown-item {
  padding: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
}

.dropdown-item:hover {
  background-color: #f0f0f0;
}

.token-icon {
  width: 20px;
  height: 20px;
  font-family: 'Litheum Text', sans-serif;
}

.token-label {
  font-family: 'Litheum Text', sans-serif;
  font-weight: bold;
  font-size: 0.9rem;
}



.market-card {
  background-color: #1c1c1c;
  border: 1px solid #333;
  border-radius: 32px;
  padding: 32px;
  /* max-width: 500px; */
  font-family: sans-serif;
  color: #fff;
  margin-bottom: 20px;
}

.pair-info {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.pair-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
}

.pair-text {
  color: var(--Yellow);
  font-family: 'Litheum Text', sans-serif;
  font-weight: bold;
  font-size: 1rem;
}

.tag {
  background-color: #333;
  color: #ccc;
  font-size: 0.75rem;
  padding: 2px 6px;
  border-radius: 4px;
}

.market-price {
  font-size: 0.875rem;
  color: #aaa;
}

.usd-price {
  color: #888;
}

.deposit-section {
  background-color: #1c1c1c;
  border: 1px solid #333;
  padding: 24px;
  border-radius: 32px;
  margin: 0 auto;
  color: white;
  font-family: sans-serif;
}

.deposit-section h2 {
  font-size: 1.25rem;
  margin-bottom: 4px;
}

.subtext {
  color: #aaa;
  margin-bottom: 16px;
  font-size: 0.9rem;
}

.token-input {
  background: #222;
  border-radius: 16px;
  padding: 16px;
  margin-bottom: 12px;
  position: relative;
}

.amount-input {
  background: none;
  border: none;
  color: white;
  font-size: 1.8rem;
  font-weight: bold;
  width: 100%;
  outline: none;
}

.red-text {
  color: #ff4a4a;
}

.token-display {
  position: absolute;
  top: 18px;
  right: 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.token-icon {
  width: 24px;
  height: 24px;
}

.token-symbol {
  font-family: 'Litheum Text', sans-serif;
  color: var(--Yellow);
  font-weight: bold;
}

.balance-row {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--Dark-Green);
  margin-top: 4px;
}

.max {
  color: var(--Green);
  cursor: pointer;
}

.insufficient-btn {
  background: #2a2a2a;
  border: none;
  color: #888;
  font-weight: bold;
  padding: 16px;
  border-radius: 16px;
  width: 100%;
  margin-top: 12px;
  cursor: not-allowed;
}
