/* ========== GLOBAL STYLES ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", sans-serif;
}

body {
  background: radial-gradient(circle at top, #00130d, #000);
  color: #e5fff6;
  min-height: 100vh;
}

/* ========== HEADER ========== */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
  background: rgba(0, 255, 179, 0.05);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 255, 179, 0.2);
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: #00ffb3;
  letter-spacing: 1px;
}

.btn-connect {
  padding: 10px 20px;
  background: linear-gradient(90deg, #00ffb3, #00b386);
  border: none;
  color: #000;
  font-weight: 600;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-connect:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px #00ffb3;
}

/* ========== HERO ========== */
.hero {
  text-align: center;
  padding: 60px 20px;
}

.hero h2 {
  font-size: 2.5rem;
  color: #00ffb3;
  margin-bottom: 10px;
}

.hero p {
  font-size: 1.1rem;
  color: #b0ffdc;
  margin-bottom: 40px;
}

.features {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.feature-card {
  background: rgba(0, 255, 179, 0.08);
  padding: 15px 25px;
  border-radius: 12px;
  border: 1px solid rgba(0, 255, 179, 0.2);
  font-weight: 500;
  color: #b0ffdc;
  transition: 0.3s;
}

.feature-card:hover {
  background: rgba(0, 255, 179, 0.15);
  transform: translateY(-3px);
}

/* ========== DASHBOARD ========== */
.hidden {
  display: none;
}

.wallet-info {
  text-align: center;
  margin: 20px 0;
}

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  padding: 20px;
}

.card {
  background: rgba(0, 255, 179, 0.07);
  border: 1px solid rgba(0, 255, 179, 0.2);
  border-radius: 16px;
  text-align: center;
  padding: 20px;
  transition: 0.3s;
}

.card:hover {
  background: rgba(0, 255, 179, 0.15);
  transform: translateY(-4px);
}

.card h3 {
  color: #00ffb3;
  margin-bottom: 10px;
}

/* ========== ACTIONS ========== */
.actions {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin: 40px 0;
}

.action-box {
  background: rgba(0, 255, 179, 0.07);
  border: 1px solid rgba(0, 255, 179, 0.2);
  border-radius: 16px;
  padding: 30px;
  width: 300px;
  text-align: center;
}

.action-box input {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 255, 179, 0.2);
  border-radius: 8px;
  color: #e5fff6;
}

.btn-action {
  padding: 10px 20px;
  background: linear-gradient(90deg, #00ffb3, #00b386);
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  color: #000;
  transition: all 0.3s ease;
}

.btn-action:hover {
  transform: scale(1.05);
  box-shadow: 0 0 20px #00ffb3;
}

.btn-action.small {
  padding: 8px 14px;
  font-size: 0.9rem;
}

/* ========== REFERRAL ========== */
.referral {
  text-align: center;
  margin: 40px auto;
  max-width: 600px;
}

.ref-container {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.ref-container input {
  flex: 1;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid rgba(0, 255, 179, 0.2);
  background: rgba(255, 255, 255, 0.05);
  color: #e5fff6;
}

/* ========== TRANSACTIONS ========== */
.transactions {
  padding: 20px;
  text-align: center;
}

.transactions table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.transactions th, .transactions td {
  border: 1px solid rgba(0, 255, 179, 0.2);
  padding: 10px;
}

.transactions th {
  background: rgba(0, 255, 179, 0.1);
  color: #00ffb3;
}

.transactions a {
  color: #00ffb3;
  text-decoration: none;
}

/* ========== CONTRACT STATS ========== */
.contract-stats {
  margin: 50px auto;
  max-width: 1000px;
  text-align: center;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

footer {
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
  color: #00ffb3;
  background: rgba(0, 255, 179, 0.05);
  margin-top: 50px;
}
