/* ==================== CSS UTAMA ==================== */

body {
  background: #0a0a0a;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

/* ==================== GLASSMORPHISM ==================== */
.glass-card {
  background: rgba(20, 20, 30, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 215, 0, 0.15);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
}

/* ==================== GOLD GLOW ==================== */
.gold-glow {
  text-shadow: 0 0 12px rgba(212, 175, 55, 0.6), 0 0 30px rgba(243, 156, 18, 0.3);
}

/* ==================== HOVER EFFECTS ==================== */
.gold-border-hover:hover {
  border-color: #D4AF37 !important;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.card-elevate {
  transition: all 0.3s cubic-bezier(0.2, 0, 0, 1);
  cursor: pointer;
}

.card-elevate:hover {
  transform: translateY(-8px) scale(1.01);
  border-color: #D4AF37;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7), 0 0 20px rgba(212, 175, 55, 0.2);
}

.card-elevate:hover .avatar-img {
  transform: scale(1.04);
}

/* ==================== AVATAR ==================== */
.avatar-img {
  transition: transform 0.4s ease;
  width: 64px;
  height: 64px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(212, 175, 55, 0.3);
}

.member-card-img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(212, 175, 55, 0.2);
  flex-shrink: 0;
}

/* ==================== LIGHTBOX ==================== */
.lightbox-overlay {
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(6px);
}

.lightbox-img {
  max-height: 80vh;
  object-fit: contain;
}

/* ==================== SEARCH INPUT ==================== */
.search-input {
  background: rgba(20, 20, 30, 0.6);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 215, 0, 0.2);
  transition: all 0.2s;
  color: #f0e6d0;
}

.search-input:focus {
  border-color: #D4AF37;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.15);
  outline: none;
}

.search-input::placeholder {
  color: #aa9f8f;
}

/* ==================== STAT BADGE ==================== */
.stat-badge {
  background: rgba(20, 20, 30, 0.5);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 215, 0, 0.15);
}

/* ==================== FOOTER ==================== */
.footer-glow {
  border-top: 1px solid rgba(212, 175, 55, 0.15);
}

/* ==================== PROFILE MODAL ==================== */
.profile-modal-overlay {
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(8px);
}

.profile-modal {
  max-width: 420px;
  width: 90%;
}

.profile-modal .modal-avatar {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid #D4AF37;
}

/* ==================== UPLOAD BUTTON ==================== */
.upload-btn {
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: #D4AF37;
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 0.8rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.upload-btn:hover {
  background: rgba(212, 175, 55, 0.3);
}

.upload-btn input[type="file"] {
  display: none;
}

/* ==================== SLIDESHOW ==================== */
.slideshow-container {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
}

.slideshow-container.active {
  display: flex;
}

.slideshow-content {
  max-width: 900px;
  width: 95%;
  position: relative;
}

.slideshow-content img {
  width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 12px;
}

.slideshow-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(212, 175, 55, 0.2);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: #D4AF37;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 1.2rem;
}

.slideshow-nav:hover {
  background: rgba(212, 175, 55, 0.4);
  transform: translateY(-50%) scale(1.05);
}

.slideshow-nav.prev {
  left: -20px;
}

.slideshow-nav.next {
  right: -20px;
}

.slideshow-close {
  position: absolute;
  top: -50px;
  right: 0;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  transition: color 0.3s;
  background: none;
  border: none;
}

.slideshow-close:hover {
  color: #D4AF37;
}

.slideshow-controls {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.slideshow-controls button {
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.3);
  color: #D4AF37;
  padding: 10px 24px;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
}

.slideshow-controls button:hover {
  background: rgba(212, 175, 55, 0.3);
}

/* ==================== BUTTON SLIDESHOW ==================== */
.btn-slideshow {
  background: rgba(212, 175, 55, 0.15);
  border: 1px solid rgba(212, 175, 55, 0.4);
  color: #D4AF37;
  padding: 12px 28px;
  border-radius: 40px;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 16px;
}

.btn-slideshow:hover {
  background: rgba(212, 175, 55, 0.3);
  transform: scale(1.02);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 640px) {
  .hero-title {
    font-size: 2.8rem;
  }
  .slideshow-nav.prev {
    left: 4px;
  }
  .slideshow-nav.next {
    right: 4px;
  }
  .slideshow-nav {
    width: 36px;
    height: 36px;
    font-size: 0.9rem;
  }
}

/* ==================== ANIMATIONS ==================== */
html {
  scroll-behavior: smooth;
}

.animate-fade-in {
  animation: fadeIn 1s ease-out;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
    transform: translateY(10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-bounce {
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* ==================== REVEAL ON SCROLL ==================== */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==================== CUSTOM NOTIFICATION ==================== */
.custom-notification {
  opacity: 0;
  transform: translateX(-50%) translateY(-20px);
  transition: all 0.4s ease;
  pointer-events: none;
  font-size: 0.9rem;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}