/* ============================
   PALET WARNA SURYA INSPIRASI
   ============================ */
:root {
  color-scheme: dark;

  /* Diambil dari logo */
  --color-navy: #243b63;
  --color-magenta: #b63e59;
  --color-orange: #f8b858;

  /* Turunan (default = dark theme) */
  --color-bg-dark: #050814;
  --color-bg-soft: #0b1020;
  --color-border-soft: rgba(148, 163, 184, 0.35);

  --color-text-main: #f9fafb;
  --color-text-muted: #9ca3af;

  /* Utility */
  --radius-lg: 24px;
  --radius-pill: 999px;
  --shadow-strong: 0 18px 45px rgba(0, 0, 0, 0.75);
  --transition-fast: 0.15s ease;
}

/* Override variabel ketika tema = terang */
html[data-theme="light"] {
  color-scheme: light;

  --color-bg-dark: #f3f4f6;
  --color-bg-soft: #ffffff;
  --color-border-soft: rgba(148, 163, 184, 0.5);

  --color-text-main: #0f172a;
  --color-text-muted: #6b7280;

  --shadow-strong: 0 20px 40px rgba(15, 23, 42, 0.16);
}

/* ========== RESET SINGKAT ========== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

/* ========== BODY & WRAPPER ========== */
body {
  min-height: 100vh;
  font-family: "Poppins", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  color: var(--color-text-main);
  background:
    radial-gradient(circle at top left, rgba(182, 62, 89, 0.32), transparent 55%),
    radial-gradient(circle at bottom right, rgba(248, 184, 88, 0.25), transparent 55%),
    linear-gradient(145deg, var(--color-bg-dark), #020617);
}

/* Grid halus di background untuk kesan modern */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(
      rgba(15, 23, 42, 0.55) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(15, 23, 42, 0.45) 1px,
      transparent 1px
    );
  background-size: 48px 48px;
  opacity: 0.16;
  pointer-events: none;
  z-index: -1;
}

.page-shell {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

/* Background lebih terang ketika tema light */
html[data-theme="light"] body {
  background:
    radial-gradient(circle at top left, rgba(182, 62, 89, 0.12), transparent 55%),
    radial-gradient(circle at bottom right, rgba(248, 184, 88, 0.16), transparent 55%),
    linear-gradient(145deg, #e5e7eb, #f9fafb);
}

html[data-theme="light"] body::before {
  background-image:
    linear-gradient(
      rgba(209, 213, 219, 0.65) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(209, 213, 219, 0.5) 1px,
      transparent 1px
    );
  opacity: 0.18;
}

/* Link badge header */
.site-badge-link {
  text-decoration: none;
  color: inherit;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition:
    filter var(--transition-fast),
    transform var(--transition-fast),
    box-shadow var(--transition-fast);
}

.site-badge-link::after {
  content: "↗";
  font-size: 0.72rem;
  opacity: 0.7;
}

.site-badge-link:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
}

/* ========== KONTEN UTAMA ========== */
.page {
  width: 100%;
  max-width: 520px;
  background: url('assets/BGUTAMA.jpg') no-repeat center center; /* Menggunakan gambar sebagai background */
  background-size: cover; /* Gambar akan menutupi seluruh area tanpa terdistorsi */
  border-radius: var(--radius-lg);
  padding: 20px 18px 24px;
  box-shadow: var(--shadow-strong);
  border: 1px solid rgba(148, 163, 184, 0.32);
  backdrop-filter: blur(24px); /* Filter blur untuk efek transparansi */
  position: relative;
  overflow: hidden;
  transform: translateY(8px);
  opacity: 0;
  animation: page-in 0.55s cubic-bezier(0.19, 1, 0.22, 1) forwards;
}

/* Kartu versi DARK: gambar diblend dengan gradient gelap */
html[data-theme="dark"] .page {
  background:
    linear-gradient(140deg, rgba(5, 8, 20, 0.92), rgba(15, 23, 42, 0.96)),
    url('assets/BGUTAMA.jpg') center center / cover no-repeat;
  background-blend-mode: multiply;
  border-color: rgba(148, 163, 184, 0.55);
}

/* Accent halus di sudut kartu + border glow lembut */
.page::before,
.page::after {
  content: "";
  position: absolute;
  inset: -40%;
  pointer-events: none;
}

.page::before {
  background:
    radial-gradient(circle at top right, rgba(248, 184, 88, 0.2), transparent 66%),
    radial-gradient(circle at bottom left, rgba(182, 62, 89, 0.18), transparent 72%);
  opacity: 0.75;
}

.page::after {
  background:
    conic-gradient(
      from 220deg,
      rgba(248, 184, 88, 0.16),
      rgba(182, 62, 89, 0.22),
      rgba(36, 59, 99, 0.22),
      rgba(248, 184, 88, 0.16)
    );
  mix-blend-mode: soft-light;
  opacity: 0.45;
}

/* Agar konten tidak terkena pseudo background */
.page > * {
  position: relative;
  z-index: 1;
}

/* Kartu utama versi light */
html[data-theme="light"] .page {
  background: url('assets/BGUTAMA.jpg') no-repeat center center; /* Gambar sebagai background */
  background-size: cover; /* Gambar menutupi seluruh area */
  border-color: rgba(148, 163, 184, 0.7);
}


/* ========== ANIMASI ========== */
@keyframes page-in {
  0% {
    opacity: 0;
    transform: translateY(18px) scale(0.97);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes faq-fade-in {
  0% {
    opacity: 0;
    transform: translateY(4px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========== SITE HEADER ========== */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.site-header-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.site-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  border: 1px solid rgba(148, 163, 184, 0.75);
  background: radial-gradient(circle at top left, rgba(36, 59, 99, 0.9), #020617);
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.6);
}

.site-tagline {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

html[data-theme="light"] .site-badge {
  background: linear-gradient(135deg, #ffffff, #e5e7eb);
  color: #111827;
  border-color: rgba(148, 163, 184, 0.9);
  box-shadow: 0 6px 18px rgba(148, 163, 184, 0.5);
}

/* ========== TOGGLE TEMA ========== */
.theme-toggle-container {
  display: flex;
  justify-content: flex-end;
}

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid var(--color-border-soft);
  width: 34px;
  height: 34px;
  background: rgba(15, 23, 42, 0.96);
  color: var(--color-text-main);
  font-size: 1.1rem;
  cursor: pointer;
  opacity: 0.96;
  transition:
    background var(--transition-fast),
    border-color var(--transition-fast),
    box-shadow var(--transition-fast),
    transform var(--transition-fast),
    opacity var(--transition-fast);
}

.theme-toggle-icon {
  pointer-events: none;
}

.theme-toggle:hover {
  opacity: 1;
  transform: translateY(-0.5px);
  border-color: rgba(248, 184, 88, 0.95);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.35);
}

.theme-toggle:active {
  transform: translateY(0);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.45);
}

.theme-toggle:focus-visible {
  outline: 2px solid rgba(248, 184, 88, 0.95);
  outline-offset: 2px;
}

html[data-theme="light"] .theme-toggle {
  background: #ffffff;
}

/* ========== PROFIL ========== */
.profile {
  text-align: center;
  margin-bottom: 16px;
}

/* BULAT PUTIH GLOW UNTUK LOGO */
.profile-avatar-wrapper {
  width: 150px;
  height: 150px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ffffff, #f3f4f7 70%);
  box-shadow:
    0 0 40px rgba(255, 255, 255, 0.25),
    0 18px 40px rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast),
    filter var(--transition-fast);
}

.profile-avatar {
  width: 70%;
  height: 70%;
  object-fit: contain;
  display: block;
  background: transparent !important;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.18));
}

.profile:hover .profile-avatar-wrapper {
  transform: translateY(-3px) scale(1.02);
  box-shadow:
    0 0 52px rgba(255, 255, 255, 0.32),
    0 22px 48px rgba(0, 0, 0, 0.65);
}

.profile-name {
  font-size: 1.45rem;
  font-weight: 700;
  margin: 4px 0 6px;
  letter-spacing: 0.02em;
}

.profile-bio {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin: 0;
  line-height: 1.6;
}

/* ====== FEEDBACK BUTTON ====== */
.feedback-section {
  margin-bottom: 18px;
  display: flex;
  justify-content: center;
}

.feedback-button {
  border: 1px solid #ffffff; /* Border putih */
  border-radius: var(--radius-pill);
  padding: 6px 16px;
  font-size: 0.82rem;
  font-weight: 500;
  background: #243b63;  /* Dark blue background */
  color: #ffffff; /* Teks warna putih */
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.55);
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast),
    filter var(--transition-fast);
}

.feedback-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.65);
  filter: brightness(1.02);
}

.feedback-button:active {
  transform: translateY(0);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.7);
}

.feedback-button:focus-visible {
  outline: 2px solid #fbbf24;
  outline-offset: 2px;
}

/* ========== FAQ SECTION & LIST ========== */
.faq-section {
  margin-top: 6px;
  padding-top: 16px;
  border-top: 1px dashed rgba(148, 163, 184, 0.35);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Item FAQ (seperti tombol linktree) */
.faq-item {
  width: 100%;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border-soft);
  padding: 10px 14px;
  background:
    radial-gradient(circle at top left, rgba(36, 59, 99, 0.7), rgba(5, 8, 20, 0.98));
  color: var(--color-text-main);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  text-align: left;
  position: relative;
  overflow: hidden;
  transition:
    transform var(--transition-fast),
    box-shadow var(--transition-fast),
    border-color var(--transition-fast),
    background var(--transition-fast);
  animation: faq-fade-in 0.4s ease forwards;
}

/* Stagger animasi FAQ */
.faq-item:nth-child(1) {
  animation-delay: 0.05s;
}
.faq-item:nth-child(2) {
  animation-delay: 0.12s;
}
.faq-item:nth-child(3) {
  animation-delay: 0.19s;
}

/* Garis highlight halus di atas item */
.faq-item::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at top, rgba(248, 184, 88, 0.24), transparent 60%),
    radial-gradient(circle at left, rgba(182, 62, 89, 0.18), transparent 60%);
  opacity: 0;
  transition: opacity 0.22s ease;
}

.faq-item:hover {
  transform: translateY(-1px) scale(1.005);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.8);
  border-color: rgba(248, 184, 88, 0.95);
}

.faq-item:hover::before {
  opacity: 1;
}

.faq-item:active {
  transform: translateY(0) scale(0.985);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.82);
}

.faq-item:focus-visible {
  outline: 2px solid rgba(182, 62, 89, 0.95);
  outline-offset: 2px;
}

.faq-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.faq-question {
  font-size: 0.95rem;
  font-weight: 500;
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

.faq-short {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  white-space: nowrap;
  text-overflow: ellipsis;
  overflow: hidden;
}

/* Penyesuaian warna teks kartu FAQ untuk tema terang */
html[data-theme="light"] .faq-item {
  color: #f9fafb;
  background: linear-gradient(
    145deg,
    #243b63,
    #020617
  );
}

/* Badge kecil di kanan (Play) */
.faq-badge {
  flex-shrink: 0;
  font-size: 0.72rem;
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid #f9fafb; /* Border putih */
  background: #ffffff; /* Background putih */
  color: #111827; /* Warna teks gelap */
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}

/* Pesan ketika tidak ada hasil pencarian */
.faq-empty {
  font-size: 0.86rem;
  color: var(--color-text-muted);
  text-align: center;
  padding: 16px 10px 4px;
}

/* ============================ 
   Styling for collapsible FAQ categories
   ============================ */

/* Tombol kategori FAQ */
.faq-category-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--color-bg-soft);
  border: none;
  padding: 12px 20px;
  font-size: 1rem;
  font-weight: 600;
  width: 100%;
  text-align: left;
  cursor: pointer;
  border-radius: var(--radius-lg);
  transition: background-color 0.3s ease;
}

.faq-category-toggle:hover {
  background-color: var(--color-bg-dark);
}

.faq-category-toggle .arrow {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.faq-list {
  display: none; /* Mulai dengan daftar tersembunyi */
  flex-direction: column;
  gap: 10px;
  margin-top: 10px;
}

.faq-list.open {
  display: flex; /* Menampilkan daftar ketika kategori dibuka */
}

.faq-item {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-soft);
  padding: 12px 20px;
  background: var(--color-bg-dark);
  color: var(--color-text-main);
  display: flex;
  justify-content: space-between;
  gap: 10px;
  cursor: pointer;
  text-align: left;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.faq-item:hover {
  background-color: var(--color-bg-soft);
  transform: translateY(-2px);
}

.faq-item .faq-question {
  font-size: 1rem;
}

.faq-item .faq-badge {
  background-color: #ffffff; /* Background putih */
  color: #243b63; /* Teks berwarna dark blue */
  padding: 4px 8px;
  border-radius: var(--radius-pill);
  font-size: 0.85rem;
  font-weight: 600;
  border: 1px solid #243b63; /* Border dark blue */
}

.faq-item .faq-badge:hover {
  background-color: var(--color-orange);
}

/* Modifikasi untuk tema terang */
html[data-theme="light"] .faq-category-toggle {
  background-color: #e5e7eb;
  color: #111827;
}

html[data-theme="light"] .faq-category-toggle:hover {
  background-color: #f3f4f6;
}

html[data-theme="light"] .faq-item:hover {
  background-color: #f9fafb;
}

/* Pastikan teks pertanyaan jelas di light mode */
html[data-theme="light"] .faq-item .faq-question,
html[data-theme="light"] .faq-item .faq-short {
  color: #111827;      /* teks gelap */
  opacity: 0.95;       /* sedikit lembut, tapi tetap jelas */
}

.faq-category-toggle .arrow {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
  transform: rotate(0deg); /* default mengarah ke bawah */
}

/* Kalau aria-expanded = true, putar panah ke atas */
.faq-category-toggle[aria-expanded="true"] .arrow {
  transform: rotate(180deg);
}

/* ======= FAQ SEARCH BAR ======= */
.faq-search {
  margin-bottom: 16px;
  margin-top: 4px;
}

.faq-search-inner {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--color-border-soft);
  background: radial-gradient(circle at top left, rgba(15, 23, 42, 0.9), #020617);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.6);
}

html[data-theme="light"] .faq-search-inner {
  background: linear-gradient(135deg, #ffffff, #e5e7eb);
  box-shadow: 0 10px 24px rgba(148, 163, 184, 0.5);
}

.faq-search-icon {
  font-size: 0.95rem;
  opacity: 0.85;
}

.faq-search-input {
  border: none;
  background: transparent;
  outline: none;
  width: 100%;
  font-size: 0.9rem;
  color: var(--color-text-main);
}

html[data-theme="light"] .faq-search-input {
  color: #111827;
}

.faq-search-input::placeholder {
  color: var(--color-text-muted);
  opacity: 0.82;
}

/* Penyesuaian komponen di dalam kartu untuk DARK MODE */
html[data-theme="dark"] .faq-search-inner,
html[data-theme="dark"] .faq-category-toggle,
html[data-theme="dark"] .faq-item {
  background: rgba(15, 23, 42, 0.7);        /* navy transparan */
  border-color: rgba(148, 163, 184, 0.6);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.7);
}

html[data-theme="dark"] .faq-category-toggle:hover,
html[data-theme="dark"] .faq-item:hover {
  background: rgba(15, 23, 42, 0.85);
}

html[data-theme="dark"] .faq-search-input {
  color: #e5e7eb;
}

html[data-theme="dark"] .faq-search-input::placeholder {
  color: rgba(209, 213, 219, 0.78);
}

/* Badge "Play" sedikit lebih kontras di dark mode */
html[data-theme="dark"] .faq-item .faq-badge {
  background: #f9fafb;
  color: #111827;
  border-color: #f9fafb;
}

/* ============================= 
   Modal Video & Feedback
   ============================ */

.modal-close {
  font-size: 1.5rem;
  color: var(--color-text-muted);
  cursor: pointer;
}

.modal-close:hover {
  color: var(--color-text-main);
}

.modal-dialog {
  background-color: var(--color-bg-dark);
}

.modal-dialog iframe {
  border-radius: var(--radius-lg);
}

/* ============================= 
   Additional Customization for Feedback
   ============================ */

.feedback-button {
  background-color: #243b63; /* Background dark blue */
  color: #ffffff; /* Teks berwarna putih */
  border: 1px solid #243b63; /* Border dark blue */
  border-radius: var(--radius-pill); /* Bulatkan border */
  padding: 6px 16px; /* Padding agar tombol lebih besar */
  font-size: 0.82rem; /* Ukuran font sesuai desain */
  font-weight: 500; /* Berat font sedang */
  cursor: pointer; /* Menunjukkan bahwa ini adalah tombol yang bisa diklik */
  transition: background-color 0.3s, border-color 0.3s, color 0.3s; /* Efek transisi saat hover */
}

.feedback-button:hover {
  background-color: #6a88d3; /* Soft blue (lebih lembut, tetap harmonis dengan dark blue) */
  color: #ffffff; /* Teks tetap putih */
  border-color: #6a88d3; /* Border sesuai dengan background hover */
}


.feedback-qr-wrapper {
  margin-top: 10px;
}

.feedback-qr-img {
  max-width: 100%;
  border-radius: var(--radius-lg);
}

/* ============================ 
   General Styling Enhancements
   ============================ */

/* General Reset */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
}

body {
  font-family: "Poppins", sans-serif;
  background-color: var(--color-bg-dark);
  color: var(--color-text-main);
  min-height: 100vh;
}

/* Responsive Design */
@media (max-width: 768px) {
  .faq-category-toggle {
    font-size: 0.9rem;
  }

  .faq-item {
    font-size: 0.9rem;
  }

  .faq-item .faq-badge {
    font-size: 0.75rem;
  }
}

/* ========== MODAL VIDEO & FEEDBACK ========== */
.modal {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.18s ease;
}

.modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(5, 8, 20, 0.86);
  backdrop-filter: blur(14px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}

.modal-dialog {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 720px;
  border-radius: 20px;
  background: radial-gradient(circle at top left, #020617, #050814);
  border: 1px solid rgba(148, 163, 184, 0.6);
  padding: 18px 18px 20px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.9);
}

/* Sedikit lebih kecil untuk modal feedback */
.feedback-modal {
  max-width: 420px;
}

/* Modal versi light */
html[data-theme="light"] .modal-dialog {
  background: radial-gradient(circle at top left, #ffffff, #f3f4f6);
  border-color: rgba(148, 163, 184, 0.7);
  box-shadow: 0 22px 50px rgba(15, 23, 42, 0.38);
}

.modal-close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: none;
  background: transparent;
  color: var(--color-text-muted);
  font-size: 1.4rem;
  cursor: pointer;
  transition: color 0.15s ease, transform 0.15s ease;
}

.modal-close:hover {
  color: var(--color-text-main);
  transform: scale(1.08);
}

.modal-title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0 0 6px;
  padding-right: 32px;
}

.modal-description {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  margin: 0 0 12px;
}

/* VIDEO WRAPPER UNTUK IFRAME YOUTUBE */
.modal-video-wrapper {
  margin-top: 4px;
  background: #020617;
  border-radius: 14px;
  border: 1px solid rgba(31, 41, 55, 0.9);
  padding: 0;
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}

.modal-video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 14px;
  display: block;
}

/* FEEDBACK QR MODAL */
.feedback-qr-wrapper {
  display: flex;
  justify-content: center;
  padding: 6px 0 2px;
}

.feedback-qr-img {
  width: 190px;
  max-width: 70vw;
  border-radius: 16px;
  background: #ffffff;
  padding: 8px;
  box-shadow:
    0 8px 20px rgba(0, 0, 0, 0.45),
    0 0 24px rgba(148, 163, 184, 0.45);
}

.feedback-link {
  color: var(--color-magenta);
  font-weight: bold;
  text-decoration: underline;
  transition: color 0.2s ease;
}

.feedback-link:hover {
  color: var(--color-orange);
}

/* ========== FOOTER ========== */
.site-footer {
  margin-top: 18px;
  padding-top: 10px;
  border-top: 1px dashed rgba(148, 163, 184, 0.4);
  text-align: center;
}

.site-footer small {
  font-size: 0.72rem;
  color: var(--color-text-muted);
}

/* ========== RESPONSIVE ========== */
@media (min-width: 640px) {
  .page {
    padding: 22px 26px 26px;
    border-radius: 26px;
    max-width: 640px;
  }

  .profile-name {
    font-size: 1.55rem;
  }

  .faq-item {
    padding: 12px 16px;
  }
}

@media (max-width: 380px) {
  .page {
    padding: 18px 14px 22px;
  }

  .faq-item {
    padding-inline: 12px;
  }

  .profile-bio {
    font-size: 0.86rem;
  }

  .profile-avatar-wrapper {
    width: 140px;
    height: 140px;
  }
}

/* ============================
   FINAL FAQ OVERRIDE PER TEMA
   (taruh PALING BAWAH di file)
   ============================ */

/* LIGHT MODE: pill terang, teks gelap */
html[data-theme="light"] .faq-item {
  background: linear-gradient(145deg, #ffffff, #e5e7eb) !important;
  border-color: rgba(148, 163, 184, 0.5) !important;
  box-shadow: 0 10px 24px rgba(148, 163, 184, 0.32);
}

html[data-theme="light"] .faq-item:hover {
  background: linear-gradient(145deg, #f9fafb, #e5e7eb) !important;
  box-shadow: 0 14px 30px rgba(148, 163, 184, 0.45);
}

html[data-theme="light"] .faq-item .faq-question,
html[data-theme="light"] .faq-item .faq-short {
  color: #111827 !important;  /* teks gelap, jelas */
  opacity: 0.98;
}

/* DARK MODE: pill navy, teks putih */
html[data-theme="dark"] .faq-item {
  background: rgba(15, 23, 42, 0.85) !important;
  border-color: rgba(148, 163, 184, 0.7) !important;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.9);
}

html[data-theme="dark"] .faq-item:hover {
  background: rgba(15, 23, 42, 0.95) !important;
}

html[data-theme="dark"] .faq-item .faq-question,
html[data-theme="dark"] .faq-item .faq-short {
  color: #f9fafb !important;  /* teks putih, kontras */
  text-shadow: 0 1px 3px rgba(15, 23, 42, 0.9);
}

/* Light mode: glow FAQ lebih netral (abu lembut) */
html[data-theme="light"] .faq-item::before {
  background:
    radial-gradient(circle at top, rgba(148, 163, 184, 0.18), transparent 60%),
    radial-gradient(circle at left, rgba(148, 163, 184, 0.12), transparent 60%);
}

/* Dark mode: glow FAQ bernuansa navy, bukan kuning */
html[data-theme="dark"] .faq-item::before {
  background:
    radial-gradient(circle at top, rgba(15, 23, 42, 0.7), transparent 60%),
    radial-gradient(circle at left, rgba(36, 59, 99, 0.5), transparent 60%);
}

/* Sedikit lebih kuat saat hover, tapi tetap biru */
html[data-theme="dark"] .faq-item:hover::before {
  opacity: 1;
}
