/* styles.css */

:root {
  --dark-color: #080a0e;
  --secondary-dark-color: #11141b;
  --primary-color: #1beaa5;
  --gray-color: #979ba2;
  --light-gray-color: #b7b7b7;
  --secondary-color: #f5c59f;
  --text-color: #fff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Quicksand', sans-serif;
  color: var(--text-color);
}

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

body {
  background-color: var(--secondary-dark-color);
  scroll-behavior: smooth;
}

.main-container {
  display: flex;
  min-height: 100vh;
}

/* Sidebar */
.sidebar {
  width: 20rem;
  background-color: var(--dark-color);
  padding: 1.5rem;
  border-right: 1px solid #2a2c31;
  position: sticky;
  top: 0;
  height: 100vh;
}

.sidebar ul {
  list-style: none;
}

.sidebar li {
  margin-bottom: 1rem;
}

.sidebar a {
  color: var(--light-gray-color);
  font-size: 1.15rem;
  display: block;
  padding: 0.7rem 1rem;
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.sidebar a:hover,
.sidebar a.active {
  background-color: var(--secondary-color);
  color: var(--text-color);
}

/* Main Content */
.content {
  flex: 1;
  padding: 2rem;
  overflow-x: hidden;
}

.header {
  background-color: var(--dark-color);
  padding: 1rem 2rem;
  border-bottom: 1px solid #2a2c31;
  margin-bottom: 2rem;
}

.container {
  max-width: 1200px;
  margin: auto;
}

/* Hero Section */
.hero {
  padding: 4rem 2rem;
  text-align: center;
}

.hero h1 {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.1rem;
  color: var(--light-gray-color);
  margin-bottom: 1.5rem;
}

.btn {
  background-color: var(--primary-color);
  color: #000;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  box-shadow: 0 0 10px var(--primary-color);
  transition: background-color 0.3s;
  display: inline-block;
}

.btn:hover {
  background-color: #14b594;
}

/* Features Section */
.features {
  padding: 4rem 2rem;
  background-color: var(--dark-color);
}

.section-title {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 2rem;
  text-align: center;
}

.features-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.feature-item {
  background-color: var(--secondary-dark-color);
  padding: 2rem;
  border-radius: 1rem;
  text-align: center;
  border: 1px solid #2a2c31;
}

.feature-item h3 {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.feature-item p {
  font-size: 1rem;
  color: var(--gray-color);
}
/* --- Wallet Specific Styles --- */
.wallet-overview {
  display: flex;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.connected-wallet {
  background-color: var(--secondary-dark-color);
  padding: 1.5rem;
  border-radius: 1rem;
  margin-top: 2rem;
  border: 1px solid #2a2c31;
}

.connected-wallet span {
  color: var(--primary-color);
  font-weight: 600;
}

.btn-secondary {
  background-color: var(--secondary-color);
  color: #000;
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-small {
  padding: 0.4rem 0.8rem;
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.wallet-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
}

.transaction-history {
  margin-top: 2rem;
}

.transaction-history table {
  width: 100%;
  border-collapse: collapse;
  color: var(--gray-color);
}

.transaction-history th,
.transaction-history td {
  text-align: left;
  padding: 1rem;
  border-bottom: 1px solid #2a2c31;
}

.status {
  display: inline-block;
  padding: 0.3rem 0.6rem;
  border-radius: 0.5rem;
  font-size: 0.85rem;
}

.status.success {
  background-color: #28a74533;
  color: #28a745;
}

.status.pending {
  background-color: #ffc10733;
  color: #ffc107;
}

/* Bottom Navigation */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--secondary-dark-color);
  border-top: 1px solid #2a2c31;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0.75rem 0;
  z-index: 999;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.4);
}

.bottom-nav .nav-item {
  flex: 1;
  text-align: center;
  color: var(--light-gray-color);
  font-size: 0.85rem;
  text-decoration: none;
  transition: color 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.bottom-nav .nav-item.active {
  color: var(--primary-color);
  font-weight: 600;
}

.bottom-nav .nav-item span {
  margin-top: 0.25rem;
}

/* Hide on desktop */
@media (min-width: 769px) {
  .bottom-nav {
    display: none;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .sidebar {
    display: none;
  }
  .content {
    padding: 1rem;
  }
}

/* Bottom Navigation with Icons */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: var(--secondary-dark-color);
  border-top: 1px solid #2a2c31;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0.75rem 0;
  z-index: 999;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.4);
}

.bottom-nav .nav-item {
  flex: 1;
  text-align: center;
  color: var(--light-gray-color);
  font-size: 0.75rem;
  text-decoration: none;
  transition: color 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.bottom-nav .nav-item.active {
  color: var(--primary-color);
  font-weight: 600;
}

.bottom-nav .nav-icon {
  fill: currentColor;
  transition: fill 0.3s ease;
}

.bottom-nav .nav-item.active .nav-icon {
  fill: var(--primary-color);
}

/* Bottom Navigation Bar - Fixed & Centered at Bottom of Screen */
.bottom-nav {
  position: fixed;            /* Always stays in place */
  bottom: 0;                  /* Stick to bottom edge */
  left: 50%;                  /* Start from center */
  transform: translateX(-50%); /* Center it perfectly */
  width: 100%;
  max-width: 500px;           /* Optional: limit width on large screens */
  background-color: var(--secondary-dark-color);
  border-top: 1px solid #2a2c31;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 0.75rem 0;
  z-index: 9999;              /* On top of everything */
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.4);
}

.bottom-nav .nav-item {
  flex: 1;
  text-align: center;
  color: var(--light-gray-color);
  font-size: 0.75rem;
  text-decoration: none;
  transition: color 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.bottom-nav .nav-item.active {
  color: var(--primary-color);
  font-weight: 600;
}

.bottom-nav .nav-icon {
  fill: currentColor;
  transition: fill 0.3s ease;
}

.bottom-nav .nav-item.active .nav-icon {
  fill: var(--primary-color);
}

/* Hide on desktop */
@media (min-width: 769px) {
  .bottom-nav {
    display: none;
  }
}