:root {
  --overlay-dark: rgba(0, 0, 0, 0.55);
  --glass-bg: rgba(255, 255, 255, 0.07);
  --glass-border: rgba(255, 255, 255, 0.12);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  min-height: 100vh;
  padding: 20px;
  color: #fff;
  background: #000;
}

/* HEADER TITLE */
header {
  margin-bottom: 35px;
  position: relative;
}

header h1 {
  font-size: 2.3rem;
  font-weight: 700;
  color: #2ecc71;
  text-shadow: 0 0 12px #2ecc71;
  letter-spacing: 1.2px;
}

/* CREDIT AREA (bawah kiri judul) */
.credit {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
}

.logo-credit {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  opacity: 0.9;
}

.username {
  font-size: 0.95rem;
  font-weight: 600;
  opacity: 0.85;
  cursor: pointer;
  color: #ddd;
  text-decoration: none;
}

.username:hover {
  opacity: 1;
  color: var(--accent);
}

/* GRID CARD */
main {
  display: grid;
  gap: 26px;
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  padding-bottom: 40px;
}

/* CARD */
.card {
  background: #0f1627;
  border-left: 6px solid var(--accent);
  padding: 18px;
  border-radius: 12px;
  transition: 0.2s;
  box-shadow: 0 4px 18px rgba(0,255,180,0.1);
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(0,255,180,0.25);
}

.card h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 14px;
}

/* COLLAPSE */
.card-content.collapsed {
  display: none;
}

/* TABLE BERWARNA */
table {
  width: 100%;
  border-collapse: collapse;
  background: #141c30;
  border-radius: 8px;
  overflow: hidden;
}

thead {
  background: var(--accent);
  color: #000;
}

th {
  padding: 13px 15px;
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
}

td {
  padding: 12px 15px;
  font-size: 0.92rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

tbody tr:nth-child(even) {
  background: rgba(255,255,255,0.04);
}

tbody tr:hover {
  background: rgba(0,255,180,0.15);
  transition: 0.18s;
}

/* RESPONSIVE MOBILE */
@media (max-width: 600px) {
  header h1 {
    font-size: 1.6rem;
  }
  .logo-credit {
    width: 18px;
    height: 18px;
  }
  .username {
    font-size: 0.8rem;
  }
  main {
    grid-template-columns: 1fr;
  }
  table, td, th {
    font-size: 0.8rem;
  }
}
