
/* ---------- Reset & Base ---------- */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Inter', system-ui, sans-serif;
}

body {
  background: #0f0f0f;
  color: #eaeaea;
  min-height: 100vh;
}

/* ---------- Navbar ---------- */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  background: #0e1015;
  position: sticky;
  top: 0;
  z-index: 10;
  box-shadow: 0 2px 12px rgba(0,0,0,0.5);
}

.logo img {
  height: 36px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 16px;
  transition: max-height 0.35s ease, opacity 0.25s ease;
}

.nav-links a {
  text-decoration: none;
  color: #e9ecf1;
  padding: 8px 14px;
  border-radius: 10px;
  font-weight: 500;
  transition: background 0.25s ease, transform 0.2s ease;
}

.nav-links a:hover {
  background: #1b1f29;
  transform: translateY(-1px);
}

/* Hamburger */
.menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
}
.menu-btn span {
  width: 24px;
  height: 2px;
  background: #fff;
  transition: transform 0.3s, opacity 0.3s;
}

/* Mobile */
@media (max-width: 768px) {
  .menu-btn { display: flex; }

  .nav-links {
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    flex-direction: column;
    background: #0e1015;
    padding: 12px 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
  }

  .nav-links a { padding: 10px 20px; }

  .nav-links.open { max-height: 300px; opacity: 1; }

  .menu-btn.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .menu-btn.active span:nth-child(2) { opacity: 0; }
  .menu-btn.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* ---------- Dashboard Container ---------- */
.dashboard {
  max-width: 850px;
  margin: 50px auto;
  padding: 0 24px;
}

.dashboard h1 {
  font-size: 2.4rem;
  margin-bottom: 30px;
  text-align: center;
  color: #d4a254;
  text-shadow: 0 2px 6px rgba(212,162,84,0.5);
}

/* ---------- Balance Card ---------- */
.balance-card {
  background: linear-gradient(135deg, #1a1a1a, #131313);
  padding: 28px 24px;
  border-radius: 18px;
  margin-bottom: 28px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.balance-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 38px rgba(212,162,84,0.4);
}

.balance-card h2 {
  margin-top: 0;
  color: #d4a254;
}

.balance-card p {
  font-size: 1.8rem;
  margin-top: 12px;
  text-align: center;
  color: #fff;
}

/* ---------- Recent Rewards / Tasks ---------- */
.recent-rewards {
  background: linear-gradient(135deg, #1a1a1a, #131313);
  padding: 24px;
  border-radius: 16px;
  margin-bottom: 24px;
  box-shadow: 0 8px 26px rgba(0,0,0,0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.recent-rewards:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(212,162,84,0.3);
}

.recent-rewards h3 {
  margin-bottom: 16px;
  color: #d4a254;
}

.recent-rewards ul {
  list-style: none;
  padding-left: 0;
}

.recent-rewards li {
  padding: 10px 0;
  border-bottom: 1px solid #222;
  color: #eaeaea;
  font-size: 1rem;
  transition: color 0.2s ease, background 0.2s ease;
}

.recent-rewards li:hover {
  color: #d4a254;
}

/* ---------- Scroll Handling ---------- */
.dashboard {
  overflow-y: auto;
}

/* ---------- Responsive ---------- */
@media (max-width: 640px) {
  .dashboard {
    margin: 30px 16px;
  }

  .dashboard h1 {
    font-size: 2rem;
  }

  .balance-card, .recent-rewards {
    padding: 20px;
  }

  .balance-card p {
    font-size: 1.6rem;
  }
}





footer {
  text-align: center;
  padding: 30px 0;
  color: #7c7c7c;
}


/* Floating Help Button */
.floating-help-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #d4a254, #b8863b);
  color: #0f0f0f;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(212, 162, 84, 0.5);
  transition: all 0.3s ease;
  z-index: 999;
}

.floating-help-btn:hover {
  transform: scale(1.1) rotate(15deg);
  box-shadow: 0 6px 30px rgba(212, 162, 84, 0.7);
}

@media (max-width: 768px) {
  .floating-help-btn {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
    bottom: 20px;
    right: 20px;
  }
}