/* ====== GLOBAL ====== */
body {
  margin: 0;
  font-family: 'Inter', Arial, sans-serif;
  background: #0d1117;
  color: #e6edf7;
  line-height: 1.6;
}

/* ===== HEADER ===== */
.main-header {
  text-align: center;
  padding: 70px 20px 50px;
  background: linear-gradient(135deg, #1a1f2b, #0d1117 70%);
  border-bottom: 2px solid rgba(255,215,0,0.25);
  box-shadow: 0 4px 18px rgba(0,0,0,0.4);
}
.main-header h1 {
  font-size: 2.4rem;
  margin: 0;
  color: #ffd700;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-weight: 800;
  position: relative;
  display: inline-block;
  text-shadow: 0 0 8px rgba(255,215,0,0.6);
}
.main-header h1::after {
  content: "";
  display: block;
  height: 3px;
  width: 70%;
  margin: 12px auto 0;
  background: linear-gradient(90deg, transparent, #ffd700, transparent);
  border-radius: 2px;
}
.main-header p {
  margin-top: 14px;
  color: #bbb;
  font-size: 1.05rem;
  font-weight: 400;
}

/* ===== RUNNING TEXT ===== */
.running-text {
  margin-top: 20px;
  padding: 10px 0;
  background: linear-gradient(90deg, #1a1f2b, #0d1117);
  border-top: 1px solid rgba(255,215,0,0.3);
  border-bottom: 1px solid rgba(255,215,0,0.3);
}
.running-text marquee {
  color: #ffd700;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 1px;
  text-shadow: 0 0 8px rgba(255,215,0,0.6);
}

/* ===== GRID ===== */
.container {
  padding: 50px 20px;
  max-width: 1280px;
  margin: auto;
}
.grid-profiles {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 320px));
  justify-content: center;
  gap: 32px;
  animation: fadeIn 0.8s ease;
}
@keyframes fadeIn {
  from {opacity: 0; transform: translateY(15px);}
  to {opacity: 1; transform: translateY(0);}
}

/* ===== CARD ===== */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #1a1f2b;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0,0,0,0.6);
  transition: 0.35s ease;
  border: 1px solid rgba(255,215,0,0.15);
  width: 100%;
  max-width: 320px;
  min-height: 420px;  /* ✅ tinggi fix seragam */
}

/* ===== BANNER ===== */
.banner-wrap {
  height: 120px;      /* ✅ banner fix */
  width: 100%;
  overflow: hidden;
  flex-shrink: 0;
}
.banner {
  width: 100%;
  height: 100%;
  object-fit: cover;  /* gambar dipotong biar pas */
  filter: brightness(0.85);
  transition: 0.4s;
}
.card:hover .banner {
  filter: brightness(1);
  transform: scale(1.05);
}

/* ===== CARD BODY ===== */
.card-body {
  flex: 1; /* isi fleksibel */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  padding: 22px 18px 25px;
}

/* Foto profil tetap overlap */
.photo-wrap {
  position: relative;
  width: 100px;
  height: 100px;
  margin: -55px auto 0;
}


/* ===== FOTO PROFIL ===== */
.photo-wrap {
  position: relative;
  width: 100px;
  height: 100px;
  margin: -55px auto 0;
}
.photo-wrap .photo {
  width: 85px;
  height: 85px;
  border-radius: 50%;
  margin-top: 4px;
  object-fit: cover;
  position: relative;
  z-index: 2;
  border: 3px solid #111;
  background: #fff;
  box-shadow: 0 0 15px rgba(255, 217, 0, 0.849);
}
/* Efek cincin emas berputar */
.photo-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  padding: 5px;
  background: conic-gradient(
    from 0deg,
    #382b00,
    #ffffff,
    #382b00,
    #382b00
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  animation: spinGlow 3s linear infinite;
  z-index: 1;
}
@keyframes spinGlow {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* ===== BUTTON 3D KILAU ===== */
.btn {
  display: inline-block;
  margin-top: 16px;
  padding: 12px 26px;
  border-radius: 10px;
  font-weight: bold;
  text-decoration: none;
  font-size: 0.95rem;
  color: #000;
  background: linear-gradient(145deg, #f6d98b, #e9b66b);
  border: 2px solid #e6b800;
  box-shadow: 0 6px 0 #b38b00, 0 8px 18px rgba(255, 215, 0, 0.4);
  position: relative;
  overflow: hidden;
  transition: all 0.25s ease-in-out;
  transform-style: preserve-3d;
}
/* Kilauan bergerak */
.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.6) 0%,
    rgba(255, 255, 255, 0.05) 80%
  );
  transform: skewX(-25deg);
  animation: shineMove 3s infinite linear;
}
@keyframes shineMove {
  0% { left: -100%; }
  60% { left: 120%; }
  100% { left: 120%; }
}
.btn:hover {
  background: linear-gradient(145deg, #ffd700, #e6b800);
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 0 #a57c00, 0 12px 20px rgba(255, 215, 0, 0.7);
  border-color: #ffd700;
}
.btn:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 #a57c00, 0 6px 12px rgba(255, 215, 0, 0.5);
}

/* ===== FOOTER ===== */
.footer {
  text-align: center;
  padding: 25px;
  background: #1a1f2b;
  border-top: 2px solid rgba(255,215,0,0.25);
  font-size: 0.9rem;
  color: #aaa;
  letter-spacing: 0.5px;
}
