/* --------------------------- */
/* FONT & UMUM */
/* --------------------------- */
body {
  font-family: "Poppins", Arial, Helvetica, sans-serif !important;
  margin: 0;
  padding: 0;
  background-color: #f8fafc;
  color: #1f2937;
}

a {
  text-decoration: none;
  color: inherit;
}

/* --------------------------- */
/* SECTION: LOBI DAPUR DATA */
/* --------------------------- */
.lobi-gradient-bg {
  background: linear-gradient(135deg, #f8fafc 0%, #e0e7ff 100%);
  min-height: 100vh;
  overflow: hidden;
  padding-top: 60px;
  padding-bottom: 40px;
}

/* --------------------------- */
/* FIX HIERARKI JUDUL */
/* --------------------------- */

.lobi-title-updated {
  font-size: 1.9rem;
  font-weight: 800;
  text-transform: none; /* biar tidak semua huruf besar */
  text-align: center;
  margin-bottom: 0.6rem;
  line-height: 1.4;
  animation: fadeInDown 1s ease;
}

/* "Selamat Datang" */
.lobi-title-updated .welcome-text {
  display: inline;
  font-size: 1.5rem;
  font-weight: 500;
  color: #ffffff;
}

/* username (fokus utama tapi tetap kalem) */
.lobi-title-updated .user-name {
  display: inline;
  font-size: 1.3rem;
  font-weight: 700;
  color: #fde047;
  margin-top: 4px;
}

/* efek glow halus */
.lobi-enhanced .user-name {
  text-shadow: 0 4px 12px rgba(253, 224, 71, 0.4);
}

.lobi-subtitle-enhanced {
  color: #ffffff;
  font-weight: 600;
  font-size: 1.5rem;
  letter-spacing: 0.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 0.75rem;
  animation: fadeIn 1.2s ease;
}

.lobi-subtitle-enhanced i {
  font-size: 1.2rem;
  color: #fde047;
}

.lobi-subtext {
  font-size: 0.95rem;
  color: #fde047;
  font-weight: 500;
  animation: fadeIn 1.4s ease;
  text-align: center;
}

/* --------------------------- */
/* ENHANCED */
/* --------------------------- */
.lobi-enhanced {
  position: relative;
}

.lobi-enhanced .section-title-01 {
  position: relative;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeUp 0.8s ease forwards;
}

/* Glow background */
.lobi-enhanced .section-title-01::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  background: rgba(79, 70, 229, 0.15);
  filter: blur(70px);
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
}

/* tambahan animasi tanpa override utama */
.lobi-enhanced .lobi-title-updated {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 0.2s;
}

.lobi-enhanced .lobi-title-updated span {
  text-shadow: 0 5px 20px rgba(255, 224, 130, 0.4);
}

.lobi-enhanced .lobi-subtitle-enhanced {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 0.4s;
}

.lobi-enhanced .lobi-subtitle-enhanced i {
  animation: pulseIcon 2s infinite;
}

.lobi-enhanced .lobi-subtext {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.8s ease forwards;
  animation-delay: 0.6s;
}

/* --------------------------- */
/* KARTU FEATURE BOX */
/* --------------------------- */
.m-15px-tb {
  margin-top: 15px !important;
  margin-bottom: 15px !important;
}

.feature-box-02 {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
  transition:
    box-shadow 0.3s,
    border 0.3s,
    transform 0.3s;
  cursor: pointer;
  padding: 32px 18px 24px 18px;
  position: relative;
  z-index: 1;
  border: 2px solid transparent;
  background-clip: padding-box;
}

.feature-box-02::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 20px;
  z-index: -1;
  background: linear-gradient(120deg, #6366f1 0%, #a5b4fc 100%);
  opacity: 0;
  transition: opacity 0.3s;
}
/* --------------------------- */
/* HOVER CARD → ORANGE PREMIUM */
/* --------------------------- */
.feature-box-02:hover {
  background: linear-gradient(
    135deg,
    #fb923c,
    #ea580c
  ); /* orange soft → deep */
  color: #ffffff;
  border-color: transparent;
  transform: translateY(-8px) scale(1.03) rotateZ(-1deg);

  animation: featureBoxGlow 0.7s cubic-bezier(0.4, 2, 0.6, 1);
}

/* glow border orange */
.feature-box-02:hover::before {
  opacity: 0.25;
  background: linear-gradient(120deg, #fdba74 0%, #ea580c 100%);
}

@keyframes featureBoxGlow {
  0% {
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
  }
  60% {
    box-shadow:
      0 24px 64px 0 rgba(234, 88, 12, 0.35),
      0 0 0 12px rgba(234, 88, 12, 0.2);
  }
  100% {
    box-shadow:
      0 20px 48px 0 rgba(234, 88, 12, 0.3),
      0 0 0 6px rgba(234, 88, 12, 0.15);
  }
}

/* teks jadi putih */
.feature-box-02:hover .feature-content h5 {
  color: #ffffff;
}

.feature-box-02:hover .feature-content p {
  color: rgba(255, 255, 255, 0.85);
}

.feature-box-02 .icon {
  margin-bottom: 18px;
  display: inline-block;
  border-radius: 50%;
}

.feature-box-02 .icon img {
  transition: transform 0.3s;
}

.feature-box-02:hover .icon img {
  transform: scale(1.08) rotate(-4deg);
}

.feature-box-02 .feature-content h5 {
  margin-bottom: 8px;
  font-weight: 700;
  color: #3f3e52;
  font-size: 1.18rem;
}

.feature-box-02 .feature-content p {
  color: #64748b;
  font-size: 15px;
  font-weight: 500;
}

.card-link-wrapper {
  text-decoration: none;
  color: inherit;
  display: block;
}

.card-link-wrapper:hover .feature-box-02 {
  transform: scale(1.02);
}

/* --------------------------- */
/* LOGOUT DROPDOWN */
/* --------------------------- */
.logout-dropdown {
  color: #dc2626;
  font-weight: 500;
  transition: all 0.2s ease;
  border-radius: 6px;
}

/* hover effect */
.logout-dropdown:hover {
  background-color: #fee2e2;
  color: #b91c1c;
  padding-left: 18px;
}

/* icon */
.logout-dropdown i {
  transition: transform 0.2s ease;
}

.logout-dropdown:hover i {
  transform: translateX(3px);
}

/* --------------------------- */
/* FOOTER PUTIH (FINAL CLEAN) */
/* --------------------------- */
.footer {
  background: #ffffff;
  color: #334155;
  box-shadow: 0 -2px 12px rgba(0, 0, 0, 0.06);
  font-family: "Poppins", sans-serif;
  margin-top: 0;
  border-top: 1px solid #e5e7eb;
}

.footer-copy {
  padding: 24px 0 14px 0;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60px;
}

.footer-copy p {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.3px;
  color: #64748b;
}

/* --------------------------- */
/* RESPONSIVE */
/* --------------------------- */
@media (max-width: 767px) {
  .lobi-title-updated {
    font-size: 1.75rem;
  }

  .lobi-title-updated span {
    font-size: 1.5rem;
  }

  .lobi-subtitle-enhanced {
    font-size: 0.95rem;
  }

  .lobi-subtext {
    font-size: 0.88rem;
  }

  .feature-box-02 {
    padding: 22px 12px 18px 12px;
  }

  .logout-btn {
    top: 16px;
    right: 12px;
    padding: 8px 14px 8px 12px;
    font-size: 1rem;
  }

  .logout-btn span {
    display: none;
  }

  .footer-copy {
    padding: 18px 0 10px 0;
    min-height: 40px;
  }

  .footer-copy p {
    font-size: 0.82rem;
  }
}

/* --------------------------- */
/* ANIMASI */
/* --------------------------- */
@keyframes fadeInDown {
  0% {
    opacity: 0;
    transform: translateY(-40px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

/* tambahan animasi */
@keyframes fadeUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulseIcon {
  0% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(1.15);
    opacity: 0.85;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

/* --------------------------- */
/* GRADIENT PREMIUM (SMOOTH BLUE - ORANGE) */
/* --------------------------- */
.lobi-gradient-bg {
  background: linear-gradient(
    270deg,
    #0f172a,
    /* navy deep */ #1e3a5f,
    /* blue calm */ #2563eb,
    /* blue utama */ #f97316,
    /* orange soft */ #1e3a5f,
    #0f172a
  );
  background-size: 500% 500%;
  animation: gradientMove 18s ease-in-out infinite;
}

@keyframes gradientMove {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}
