* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

html {
  background: #0d0d0d;
}

body {
  background: radial-gradient(ellipse at top, #0a1f12 0%, #0d0d0d 60%);
  min-height: 100vh;
  color: #fff;
  padding: 18px;
  max-width: 700px;
  margin: auto;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1.5px solid #00d26a;
  margin-bottom: 20px;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo-img {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  object-fit: cover;
}

.nav-title {
  font-size: 20px;
  font-weight: 900;
}

.green {
  color: #00d26a;
}

.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger div {
  width: 22px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
}

.search-wrap {
  position: relative;
  margin-bottom: 20px;
}

.search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
}

.search {
  width: 100%;
  padding: 13px 14px 13px 42px;
  font-size: 14px;
  border-radius: 12px;
  border: 1px solid #222;
  outline: none;
  background: #161616;
  color: #fff;
}

.search::placeholder {
  color: #444;
}

#reports {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 12px;
}

.card {
  background: #141414;
  border: 1px solid #1f1f1f;
  padding: 16px;
  border-radius: 16px;
}

.card-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.card-header-left {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.tg-circle {
  width: 30px;
  min-width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #00d26a18;
  border: 1px solid #00d26a33;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

.tg-circle svg {
  width: 14px;
  height: 14px;
  fill: #00d26a;
}

.card-name {
  font-size: 14px;
  font-weight: 900;
  line-height: 1.35;
}

.card-right {
  text-align: right;
  flex-shrink: 0;
}

.card-at {
  font-size: 12px;
  color: #666;
}

.card-amt {
  font-size: 15px;
  font-weight: 900;
  color: #00d26a;
}

.card-id {
  font-size: 11px;
  color: #444;
  font-style: italic;
  margin: 6px 0 10px;
}

.card-desc {
  font-size: 13px;
  color: #999;
  line-height: 1.6;
  margin-bottom: 14px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  line-clamp: 3;
}

.card-btns {
  display: flex;
  gap: 10px;
}

.btn {
  flex: 1;
  padding: 11px 8px;
  border-radius: 10px;
  text-align: center;
  font-weight: 800;
  font-size: 13px;
  text-decoration: none;
  display: block;
  cursor: pointer;
  border: none;
}

.btn-solid {
  background: #00d26a;
  color: #000;
}

.btn-ghost {
  background: transparent;
  color: #00d26a;
  border: 1px solid #00d26a44;
}

a {
  text-decoration: none;
}

footer {
  text-align: center;
  margin-top: 36px;
  color: #333;
  font-size: 13px;
}

.menu-overlay {
  opacity: 0;
  pointer-events: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 99;
  transition: opacity 0.5s ease;
}

.menu-overlay.show {
  opacity: 1;
  pointer-events: all;
}

.menu-overlay.show {
  display: block;
}

.side-menu {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100vh;
  background: #111;
  z-index: 100;
  padding: 60px 28px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: right 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.side-menu.open {
  right: 0;
}

.menu-links {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.menu-item {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  padding: 14px 16px;
  border-radius: 12px;
  transition: background 0.2s;
}

.menu-item:hover {
  background: #1a1a1a;
}

.menu-item.active {
  background: #00d26a18;
  color: #00d26a;
}

.menu-submit {
  display: block;
  width: 100%;
  padding: 16px;
  background: #fff;
  color: #000;
  font-size: 16px;
  font-weight: 800;
  text-align: center;
  border-radius: 14px;
  text-decoration: none;
}

.menu-submit:hover {
  background: #eee;
}

.hero {
  padding: 40px 0 30px;
}

.hero-title {
  font-size: 58px;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -2px;
  color: #fff;
  margin-bottom: 16px;
}

.hero-sub {
  font-size: 15px;
  font-weight: 400;
  color: #666;
  line-height: 1.7;
  max-width: 420px;
}

.page-buttons {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 30px;
}

.page-btn {
  background: #141414;
  border: 1px solid #222;
  color: #fff;
  padding: 10px 16px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  transition: all 0.2s;
}

.page-btn:hover {
  background: #1e1e1e;
}

.page-btn.active {
  background: #00d26a;
  color: #000;
  border-color: #00d26a;
}

.page-btn.disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.page-dots {
  color: #555;
  padding: 10px 4px;
  font-size: 14px;
}

.page-info {
  text-align: center;
  color: #444;
  font-size: 13px;
  margin-top: 12px;
  margin-bottom: 30px;
}

.modal-overlay {
  opacity: 0;
  pointer-events: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  z-index: 200;
  transition: opacity 0.3s ease;
}

.modal-overlay.show {
  opacity: 1;
  pointer-events: all;
}

.modal {
  position: fixed;
  bottom: -100%;
  left: 0;
  right: 0;
  max-width: 700px;
  margin: auto;
  background: #111;
  border: 1px solid #1f1f1f;
  border-radius: 24px 24px 0 0;
  padding: 28px 24px;
  z-index: 201;
  max-height: 85vh;
  overflow-y: auto;
  transition: bottom 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal.show {
  bottom: 0;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: #1a1a1a;
  border: 1px solid #222;
  color: #fff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-report-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 16px;
  padding-right: 30px;
}

.modal-report-left {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.modal-name {
  font-size: 20px;
  font-weight: 800;
  color: #fff;
}

.modal-uid {
  font-size: 12px;
  color: #555;
  margin-top: 3px;
}

.modal-amount {
  font-size: 22px;
  font-weight: 900;
  color: #00d26a;
}

.modal-divider {
  height: 1px;
  background: #1f1f1f;
  margin: 14px 0;
}

.modal-meta-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.modal-meta-label {
  font-size: 11px;
  color: #444;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.modal-meta-value {
  font-size: 13px;
  color: #888;
}

.modal-case-badge {
  background: #00d26a18;
  color: #00d26a;
  border: 1px solid #00d26a33;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
}

.modal-desc-label {
  font-size: 11px;
  color: #444;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 8px;
}

.modal-desc-text {
  font-size: 14px;
  color: #bbb;
  line-height: 1.7;
}

.modal-btns {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}