* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  color: #ffffff;
}
html {
  background-color: #111111;
  scroll-behavior: smooth;
}
body {
  background:
    linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url("../aset/bg.jpg") no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  display: flex;
  justify-content: center;
  min-height: 100vh;
  overflow-x: hidden;
}
.container {
  width: 100%;
  max-width: 480px;
  padding: 0 20px 50px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
}

:root {
  --text-color: #d1d5db;
  --muted-color: #9ca3af;
  --muted-2: #6b7280;
  --accent: #10b981;
  --wa: #25d366;
  --white: #ffffff;
  --black: #000000;
}

.header {
  text-align: center;
  width: 100%;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.header h1 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 5px;
}

.header p {
  font-size: 0.85rem;
  color: var(--muted-color);
}

.profile-img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  border: 3px solid var(--wa);
  object-fit: cover;
  margin-top: 15px;
  margin-bottom: 5px;
}

.btn-wa {
  background-color: var(--wa);
  color: var(--text-color);
  text-decoration: none;
  padding: 12px 30px;
  border-radius: 25px;
  font-weight: 600;
  margin-top: 15px;
  display: inline-block;
  transition: 0.3s;
}

.btn-wa:hover {
  background-color: #1ebd5a;
}

.glass-panel {
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 20px;
  margin-bottom: 30px;
}

.search-box {
  width: 100%;
  padding: 12px 15px;
  border-radius: 10px;
  border: none;
  background: rgba(0, 0, 0, 0.3);
  color: var(--text-color);
  margin-bottom: 15px;
  outline: none;
}

.search-box::placeholder {
  color: var(--muted-color);
}

.panel-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.member-count {
  font-size: 0.8rem;
  color: var(--text-color);
  margin-bottom: 15px;
}

.member-list {
  max-height: 250px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.member-list::-webkit-scrollbar {
  width: 5px;
}

.member-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 5px;
}

.member-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.member-info .name {
  font-weight: 600;
  font-size: 0.95rem;
  display: block;
}

.member-info .role {
  font-size: 0.75rem;
  color: var(--muted-color);
}

.status {
  font-size: 0.8rem;
  color: var(--wa);
  display: flex;
  align-items: center;
  gap: 5px;
}

.dot {
  width: 8px;
  height: 8px;
  background-color: var(--wa);
  border-radius: 50%;
}

.link-card {
  display: flex;
  align-items: center;
  background: rgba(0, 0, 0, 0.4);
  padding: 12px 15px;
  border-radius: 12px;
  text-decoration: none;
  color: var(--text-color);
  margin-bottom: 10px;
  transition: 0.3s;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.link-card:hover {
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.link-icon {
  font-size: 1.5rem;
  margin-right: 15px;
  background: rgba(255, 255, 255, 0.1);
  padding: 8px;
  border-radius: 8px;
}

.link-text .title {
  font-weight: 600;
  font-size: 0.9rem;
  display: block;
  color: var(--accent);
}

.link-text .desc {
  font-size: 0.75rem;
  color: var(--muted-color);
}

footer {
  margin-top: 10px;
  font-size: 0.7rem;
  color: var(--muted-2);
  text-align: center;
}

.admin-carousel {
  width: 100%;
  overflow-x: auto;
  white-space: nowrap;
  display: flex;
  gap: 15px;
  padding: 5px 5px 15px 5px;
  -webkit-overflow-scrolling: touch;
}

.admin-carousel::-webkit-scrollbar {
  height: 4px;
}
.admin-carousel::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.3);
  border-radius: 4px;
}

.admin-track {
  display: flex;
  gap: 15px;
  width: max-content;
}

.admin-card {
  width: 120px;
  background: rgba(0, 0, 0, 0.4);
  border-radius: 15px;
  padding: 15px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}

.admin-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%; /* Bikin bulet sempurna */
  border: 2px solid #fbbf24; /* Border warna emas/kuning khusus admin */
  object-fit: cover;
  margin-bottom: 8px;
}

.admin-name {
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--text-color);
  text-align: center;
  white-space: normal; /* Biar nama panjang bisa turun baris */
  line-height: 1.1;
  word-break: break-word;
}

.admin-role {
  font-size: 0.65rem;
  color: var(--muted-color);
  margin-top: 4px;
}
/* Styling untuk ikon gambar lokal di Gudang Link */
.link-icon-img {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 8px;
  margin-right: 15px;
  background: rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
}
.link-emoji-box {
  width: 42px;
  height: 42px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  margin-right: 15px;
  flex-shrink: 0;
}

/* Efek animasi klik membesar-mengecil (bounce/pulse) */
@keyframes clickEffect {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(0.9);
  }
  100% {
    transform: scale(1);
  }
}

.btn-wa:active {
  animation: clickEffect 0.3s ease;
}
