body {
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #0d1117;
  color: #fff;
}

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #161b22;
  padding: 16px 32px;
  border-bottom: 1px solid #222;
}
.logo-menu {
  display: flex;
  align-items: center;
}
.logo {
  width: 150px;
  height: auto;
  margin-right: 12px;
}
.brand {
  font-size: 1.5rem;
  font-weight: bold;
  letter-spacing: 1px;
}
.wallet-btn {
  background: #2081e2;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 10px 20px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}
.wallet-btn:hover {
  background: #1868b7;
}

.main-layout {
  display: flex;
  min-height: 80vh;
}
.sidebar {
  width: 220px;
  background: #161b22;
  padding: 32px 0 0 0;
  border-right: 1px solid #222;
  min-height: 80vh;
}
.sidebar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sidebar li {
  padding: 16px 32px;
  font-size: 1.1rem;
  cursor: pointer;
  color: #c9d1d9;
  display: flex;
  align-items: center;
  border-left: 4px solid transparent;
  transition: background 0.2s, border-color 0.2s;
}
.sidebar li.active, .sidebar li:hover {
  background: #21262c;
  color: #fff;
  border-left: 4px solid #2081e2;
}

.content {
  flex: 1;
  padding: 32px 24px;
  min-width: 0;
}

.right-panel {
  width: 320px;
  background: #161b22;
  border-left: 1px solid #222;
  padding: 32px 16px;
  min-height: 80vh;
}

.footer {
  background: #161b22;
  color: #8b949e;
  padding: 18px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid #222;
  font-size: 0.95rem;
}
.footer-links a {
  color: #8b949e;
  margin-right: 24px;
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: #2081e2;
}
.footer-info span {
  margin-right: 18px;
}

@media (max-width: 1100px) {
  .right-panel {
    display: none;
  }
}
@media (max-width: 800px) {
  .sidebar {
    display: none;
  }
  .main-layout {
    flex-direction: column;
  }
  .content {
    padding: 16px 8px;
  }
  .footer {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: 18px;
}
.collection-card {
  background: #161b22;
  border-radius: 16px;
  box-shadow: 0 2px 8px #0002;
  padding: 18px 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.2s, transform 0.2s;
}
.collection-card:hover {
  box-shadow: 0 4px 16px #2081e244;
  transform: translateY(-2px) scale(1.02);
}
.collection-img {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  margin-bottom: 12px;
  background: #222;
}
.collection-info {
  text-align: center;
}
.collection-title {
  font-size: 1.1rem;
  font-weight: bold;
  color: #fff;
  display: block;
  margin-bottom: 4px;
}
.collection-volume, .collection-listed {
  font-size: 0.97rem;
  color: #8b949e;
  display: block;
}
.collection-card.earn {
  border: 2px dashed #2081e2;
  background: #18202a;
}
.earn-btn {
  margin-top: 10px;
  background: #2081e2;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 8px 18px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s;
}
.earn-btn:hover {
  background: #1868b7;
}

.collections-list {
  margin-top: 0;
}
.collections-list h3 {
  margin-bottom: 18px;
  color: #fff;
  font-size: 1.15rem;
}
.collections-list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.collections-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
  border-bottom: 1px solid #222;
  font-size: 1rem;
}
.mini-logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  margin-right: 10px;
  background: #222;
}
.collections-list li span {
  margin-right: 8px;
}
.price {
  font-weight: bold;
  color: #fff;
}
.variation {
  font-size: 0.98rem;
  font-weight: bold;
}
.variation.positive {
  color: #1ecb7b;
}
.variation.negative {
  color: #ff5c5c;
} 