/* ===== PMTOTO / keluhanpm.org — Gold Metallic Theme ===== */
:root {
  --gold: #FFD700;
  --gold-bright: #FFE566;
  --gold-soft: #F5D76E;
  --gold-deep: #C9A227;
  --gold-dark: #A67C00;
  --gold-glow: rgba(255, 215, 0, 0.45);
  --gold-soft-bg: rgba(255, 215, 0, 0.08);
  --black: #000000;
  --bg: #050505;
  --bg-card: #0e0e0e;
  --bg-elevated: #161616;
  --bg-input: #121212;
  --text: #F5F0E1;
  --text-muted: #9A9178;
  --success: #4ade80;
  --error: #f87171;
  --border: rgba(255, 215, 0, 0.18);
  --border-strong: rgba(255, 215, 0, 0.4);
  --radius: 16px;
  --nav-h: 68px;
  --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-gold: 0 0 20px rgba(255, 215, 0, 0.25), 0 0 60px rgba(255, 215, 0, 0.08);
  --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 215, 0, 0.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.65;
  overflow-x: hidden;
  padding-bottom: calc(var(--nav-h) + 20px);
}

.bg-glow {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(ellipse 100% 60% at 50% -10%, rgba(255, 200, 0, 0.14), transparent 55%),
    radial-gradient(ellipse 40% 30% at 100% 40%, rgba(201, 162, 39, 0.08), transparent),
    radial-gradient(ellipse 35% 25% at 0% 70%, rgba(255, 215, 0, 0.05), transparent),
    radial-gradient(circle at 50% 100%, rgba(255, 180, 0, 0.06), transparent 40%);
}

.container {
  width: 100%; max-width: 720px; margin: 0 auto; padding: 0 18px; position: relative; z-index: 1;
}
.container-wide {
  width: 100%; max-width: 960px; margin: 0 auto; padding: 0 18px; position: relative; z-index: 1;
}

/* TOP LOGO BAR */
.top-bar {
  position: sticky; top: 0; z-index: 90;
  background: rgba(5, 5, 5, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}
.top-bar-inner {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 960px; margin: 0 auto; padding: 0 18px;
}
.logo {
  display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--gold);
}
.logo-img {
  width: 42px; height: 42px; object-fit: contain; border-radius: 50%;
  filter: drop-shadow(0 0 12px rgba(255, 215, 0, 0.5));
  box-shadow: 0 0 0 2px rgba(255, 215, 0, 0.25);
}
.logo-text {
  font-size: 1.35rem; font-weight: 800; letter-spacing: 2px;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.4));
}
.logo-domain {
  font-size: 0.68rem; color: var(--text-muted); font-weight: 500; letter-spacing: 0.5px;
  display: block; margin-top: -2px; -webkit-text-fill-color: var(--text-muted);
}
.top-actions { display: flex; gap: 8px; align-items: center; }
.btn-top {
  padding: 7px 16px; border-radius: 50px; font-size: 0.82rem; font-weight: 600;
  text-decoration: none; transition: var(--transition); border: 1px solid var(--border);
}
.btn-top-outline { color: var(--gold-soft); background: transparent; }
.btn-top-outline:hover {
  background: var(--gold-soft-bg); border-color: var(--border-strong);
  box-shadow: 0 0 14px rgba(255, 215, 0, 0.2);
}
.btn-top-fill {
  color: #0a0a0a;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep));
  border-color: transparent;
  box-shadow: 0 2px 12px rgba(255, 215, 0, 0.3);
}
.btn-top-fill:hover {
  box-shadow: 0 4px 20px rgba(255, 215, 0, 0.45);
  transform: translateY(-1px);
}

/* BOTTOM NAV */
.bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(8, 8, 8, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid var(--border);
  box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.6), 0 -1px 0 rgba(255, 215, 0, 0.1);
  display: flex; align-items: stretch; justify-content: center;
  padding: 0 4px;
  padding-bottom: env(safe-area-inset-bottom, 0);
}
.bottom-nav-inner {
  display: flex; width: 100%; max-width: 520px; justify-content: space-around; align-items: stretch;
}
.nav-item {
  flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 3px; text-decoration: none; color: var(--text-muted);
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.3px;
  transition: var(--transition); position: relative; padding: 6px 4px;
  -webkit-tap-highlight-color: transparent;
}
.nav-item i {
  font-size: 1.25rem; transition: var(--transition);
}
.nav-item:hover, .nav-item.active { color: var(--gold); }
.nav-item.active i, .nav-item:hover i {
  filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.55));
  transform: translateY(-2px);
}
.nav-item.active::before {
  content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 28px; height: 3px; border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold-bright), var(--gold-deep));
  box-shadow: 0 0 12px var(--gold-glow);
}

/* HERO */
.hero { padding: 36px 0 28px; text-align: center; }
.hero-logo-wrap { margin-bottom: 18px; display: inline-block; }
.hero-logo {
  width: 110px; height: 110px; object-fit: contain; border-radius: 50%;
  filter: drop-shadow(0 0 25px rgba(255, 215, 0, 0.45));
  animation: logoPulse 3.5s ease-in-out infinite;
}
@keyframes logoPulse {
  0%, 100% { filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.35)); }
  50% { filter: drop-shadow(0 0 35px rgba(255, 215, 0, 0.6)); }
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, rgba(255,215,0,0.12), rgba(201,162,39,0.06));
  border: 1px solid var(--border-strong);
  color: var(--gold); padding: 6px 18px; border-radius: 50px;
  font-size: 0.8rem; font-weight: 600; margin-bottom: 16px;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.1);
}
.hero h1 {
  font-size: clamp(1.7rem, 5vw, 2.4rem); font-weight: 800; margin-bottom: 12px;
  line-height: 1.25; letter-spacing: -0.02em;
}
.glow-text { color: var(--text); }
.glow-text span {
  background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 40%, var(--gold-deep) 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.5));
}
.hero-desc {
  color: var(--text-muted); max-width: 480px; margin: 0 auto 24px; font-size: 0.98rem;
}
.hero-cats { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.cat-pill {
  background: var(--bg-card); border: 1px solid var(--border); color: var(--gold-soft);
  padding: 8px 16px; border-radius: 50px; font-size: 0.82rem; font-weight: 600;
  display: flex; align-items: center; gap: 7px; transition: var(--transition);
  box-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.cat-pill:hover {
  border-color: var(--border-strong); background: var(--gold-soft-bg);
  box-shadow: 0 0 18px rgba(255, 215, 0, 0.2); transform: translateY(-2px);
}
.cat-pill i { color: var(--gold); font-size: 0.9rem; }

/* FORM */
.main { padding: 8px 0 40px; }
.form-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 22px;
  padding: 28px 24px; box-shadow: var(--shadow-card), var(--shadow-gold);
  position: relative; overflow: hidden;
}
.form-card::before {
  content: ''; position: absolute; top: 0; left: 10%; right: 10%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--gold-bright), var(--gold), transparent);
  box-shadow: 0 0 20px var(--gold-glow);
}
.form-header { text-align: center; margin-bottom: 24px; position: relative; z-index: 1; }
.form-icon {
  font-size: 2.2rem; color: var(--gold); margin-bottom: 8px;
  filter: drop-shadow(0 0 14px rgba(255, 215, 0, 0.5));
}
.form-header h2 {
  font-size: 1.4rem;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: 4px;
}
.form-header p { color: var(--text-muted); font-size: 0.9rem; }

.form-group { margin-bottom: 16px; position: relative; z-index: 1; }
.form-group label {
  display: block; margin-bottom: 6px; font-weight: 600; font-size: 0.85rem; color: var(--gold-soft);
}
.form-group label i { margin-right: 5px; opacity: 0.9; color: var(--gold); }
.required { color: var(--error); }

.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 13px 15px; background: var(--bg-input);
  border: 1px solid var(--border); border-radius: 12px; color: var(--text);
  font-size: 0.95rem; transition: var(--transition); outline: none;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: #5a5548; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.12), 0 0 20px rgba(255, 215, 0, 0.12);
  background: #151510;
}
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='%23FFD700'%3E%3Cpath d='M6 8L0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px;
}
.form-group select option { background: #121212; color: var(--text); }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.char-count { text-align: right; font-size: 0.75rem; color: var(--text-muted); margin-top: 3px; }

.file-upload input[type="file"] { position: absolute; opacity: 0; width: 0; height: 0; }
.file-label {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  padding: 22px 14px; border: 2px dashed var(--border); border-radius: 14px;
  background: rgba(255, 215, 0, 0.03); cursor: pointer; transition: var(--transition); color: var(--text-muted);
}
.file-label:hover {
  border-color: var(--gold); background: var(--gold-soft-bg); color: var(--gold);
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.1);
}
.file-label i { font-size: 1.6rem; color: var(--gold); }
.preview-container { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.preview-item {
  position: relative; width: 78px; height: 78px; border-radius: 10px; overflow: hidden;
  border: 1px solid var(--border-strong); box-shadow: 0 0 10px rgba(255,215,0,0.15);
}
.preview-item img { width: 100%; height: 100%; object-fit: cover; }

.captcha-group {
  background: linear-gradient(135deg, rgba(255,215,0,0.06), rgba(201,162,39,0.03));
  padding: 14px; border-radius: 14px; border: 1px solid var(--border);
}
.captcha-box { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.captcha-question {
  background: var(--black); padding: 12px 18px; border-radius: 12px;
  font-size: 1.2rem; font-weight: 800; color: var(--gold); letter-spacing: 2px;
  min-width: 120px; text-align: center; border: 1px solid var(--border-strong);
  box-shadow: inset 0 0 20px rgba(255, 215, 0, 0.08), 0 0 15px rgba(255, 215, 0, 0.15);
  user-select: none;
}
.captcha-refresh {
  background: transparent; border: 1px solid var(--border); color: var(--gold);
  width: 42px; height: 42px; border-radius: 12px; cursor: pointer; transition: var(--transition);
  font-size: 0.95rem; display: flex; align-items: center; justify-content: center; text-decoration: none;
}
.captcha-refresh:hover { background: var(--gold-soft-bg); box-shadow: 0 0 14px rgba(255, 215, 0, 0.25); }
.captcha-box input { flex: 1; min-width: 90px; max-width: 120px; }
.captcha-hint { font-size: 0.75rem; color: var(--text-muted); margin-top: 6px; }

.form-actions { display: flex; gap: 10px; margin-top: 22px; flex-wrap: wrap; position: relative; z-index: 1; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 24px; border: none;
  border-radius: 12px; font-size: 0.95rem; font-weight: 700; cursor: pointer;
  transition: var(--transition); text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 40%, var(--gold-deep) 100%);
  color: #0a0a0a;
  box-shadow: 0 4px 24px rgba(255, 215, 0, 0.35), inset 0 1px 0 rgba(255,255,255,0.25);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255, 215, 0, 0.5), inset 0 1px 0 rgba(255,255,255,0.3);
}
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; transform: none; }
.btn-secondary {
  background: transparent; color: var(--text-muted); border: 1px solid var(--border);
}
.btn-secondary:hover { color: var(--gold); border-color: var(--gold); background: var(--gold-soft-bg); }

.alert {
  margin-bottom: 16px; padding: 14px 16px; border-radius: 12px; font-weight: 500;
  text-align: center; font-size: 0.92rem; position: relative; z-index: 1;
}
.alert-success { background: rgba(74,222,128,0.1); border: 1px solid rgba(74,222,128,0.3); color: var(--success); }
.alert-error { background: rgba(248,113,113,0.1); border: 1px solid rgba(248,113,113,0.3); color: var(--error); }

/* SECTIONS */
.section { padding: 40px 0; }
.section.alt { background: linear-gradient(180deg, transparent, rgba(255,215,0,0.02), transparent); }
.section-title {
  font-size: 1.35rem; margin-bottom: 10px; display: flex; align-items: center; gap: 10px; font-weight: 800;
}
.section-title i { color: var(--gold); filter: drop-shadow(0 0 8px rgba(255,215,0,0.4)); }
.section-desc { color: var(--text-muted); margin-bottom: 22px; font-size: 0.92rem; }

.services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.service-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px;
  padding: 22px 16px; text-align: center; transition: var(--transition); position: relative; overflow: hidden;
}
.service-card:hover {
  border-color: var(--border-strong); box-shadow: 0 0 28px rgba(255, 215, 0, 0.15); transform: translateY(-3px);
}
.service-card i {
  font-size: 1.8rem; color: var(--gold); margin-bottom: 10px;
  filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.4));
}
.service-card h3 { color: var(--gold-soft); margin-bottom: 6px; font-size: 1rem; }
.service-card p { color: var(--text-muted); font-size: 0.82rem; }

.about-box {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px;
  padding: 24px; line-height: 1.8; color: var(--text-muted); box-shadow: var(--shadow-card);
}
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px;
  padding: 16px 18px; transition: var(--transition);
}
.faq-item:hover { border-color: var(--border-strong); }
.faq-item h4 { color: var(--gold-soft); margin-bottom: 5px; font-size: 0.95rem; }
.faq-item p { color: var(--text-muted); font-size: 0.88rem; }

.contact-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
@media (min-width: 500px) { .contact-grid { grid-template-columns: repeat(3, 1fr); } }
.contact-item {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px;
  padding: 20px 14px; text-align: center; transition: var(--transition);
}
.contact-item:hover { border-color: var(--border-strong); box-shadow: 0 0 20px rgba(255,215,0,0.1); }
.contact-item i {
  font-size: 1.5rem; color: var(--gold); margin-bottom: 8px;
  filter: drop-shadow(0 0 8px rgba(255,215,0,0.35));
}
.contact-item h4 { color: var(--gold-soft); margin-bottom: 4px; font-size: 0.88rem; }
.contact-item p, .contact-item a {
  color: var(--text-muted); font-size: 0.85rem; text-decoration: none; word-break: break-all;
}
.contact-item a:hover { color: var(--gold); }

.footer {
  background: #030303; border-top: 1px solid var(--border);
  padding: 28px 0 20px; margin-top: 10px; text-align: center;
}
.footer-brand .logo-text { font-size: 1.15rem; }
.footer-brand p { color: var(--text-muted); font-size: 0.82rem; margin-top: 4px; }
.footer-bottom {
  margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255,215,0,0.06);
  color: var(--text-muted); font-size: 0.78rem;
}

/* ADMIN */
.admin-body { background: var(--bg); min-height: 100vh; padding-bottom: 0; }
.admin-login-wrap {
  display: flex; align-items: center; justify-content: center; min-height: 100vh; padding: 20px;
}
.admin-login-card {
  max-width: 400px; width: 100%; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 20px; padding: 36px; box-shadow: var(--shadow-gold); text-align: center;
}
.admin-login-card h1 {
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  font-size: 1.4rem; margin-bottom: 4px;
}
.admin-login-card .sub { color: var(--text-muted); margin-bottom: 22px; font-size: 0.88rem; }
.admin-login-card .login-logo {
  width: 72px; height: 72px; border-radius: 50%; margin-bottom: 12px;
  filter: drop-shadow(0 0 16px rgba(255,215,0,0.45));
}

.admin-nav {
  background: rgba(8,8,8,0.96); border-bottom: 1px solid var(--border);
  padding: 0 16px; display: flex; align-items: center; justify-content: space-between;
  height: 56px; position: sticky; top: 0; z-index: 50; backdrop-filter: blur(12px);
}
.admin-nav .brand {
  color: var(--gold); font-weight: 800; font-size: 1.05rem; text-decoration: none;
  display: flex; align-items: center; gap: 8px;
}
.admin-nav .brand img { width: 28px; height: 28px; border-radius: 50%; }
.admin-nav-links { display: flex; gap: 4px; align-items: center; flex-wrap: wrap; }
.admin-nav-links a {
  color: var(--text-muted); text-decoration: none; padding: 6px 11px; border-radius: 8px;
  font-size: 0.82rem; transition: var(--transition);
}
.admin-nav-links a:hover, .admin-nav-links a.active { color: var(--gold); background: var(--gold-soft-bg); }

.admin-content { padding: 24px 0 50px; }
.admin-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 20px; flex-wrap: wrap; gap: 10px;
}
.admin-header h1 {
  font-size: 1.35rem; display: flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, var(--gold-bright), var(--gold-deep));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.stats-row {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; margin-bottom: 22px;
}
.stat-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px;
  padding: 18px; text-align: center;
}
.stat-card .num {
  font-size: 1.8rem; font-weight: 800; color: var(--gold);
  text-shadow: 0 0 16px rgba(255,215,0,0.4);
}
.stat-card .label { color: var(--text-muted); font-size: 0.8rem; margin-top: 2px; }

.complaint-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px;
  padding: 16px 18px; margin-bottom: 12px; transition: var(--transition);
}
.complaint-card:hover { border-color: var(--border-strong); }
.complaint-card.resolved { opacity: 0.7; border-color: rgba(74,222,128,0.2); }
.complaint-meta {
  display: flex; flex-wrap: wrap; gap: 8px 14px; margin-bottom: 8px;
  font-size: 0.78rem; color: var(--text-muted);
}
.complaint-meta span { display: flex; align-items: center; gap: 4px; }
.badge {
  display: inline-block; padding: 2px 10px; border-radius: 20px; font-size: 0.7rem; font-weight: 600;
}
.badge-pending { background: rgba(255,215,0,0.15); color: var(--gold); }
.badge-resolved { background: rgba(74,222,128,0.15); color: var(--success); }
.complaint-subject { font-size: 1rem; font-weight: 700; color: var(--gold-soft); margin-bottom: 5px; }
.complaint-body {
  color: var(--text); margin-bottom: 10px; white-space: pre-wrap; word-break: break-word; font-size: 0.9rem;
}
.complaint-images { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.complaint-images img {
  width: 68px; height: 68px; object-fit: cover; border-radius: 8px;
  border: 1px solid var(--border); cursor: pointer;
}
.complaint-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.btn-sm { padding: 7px 12px; font-size: 0.8rem; }
.btn-success {
  background: rgba(74,222,128,0.15); color: var(--success); border: 1px solid rgba(74,222,128,0.3);
}
.btn-success:hover { background: rgba(74,222,128,0.28); }
.btn-danger {
  background: rgba(248,113,113,0.1); color: var(--error); border: 1px solid rgba(248,113,113,0.25);
}
.btn-danger:hover { background: rgba(248,113,113,0.22); }

.settings-section {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px;
  padding: 20px; margin-bottom: 18px;
}
.settings-section h3 {
  color: var(--gold); font-size: 1.05rem; margin-bottom: 14px; padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.faq-row, .service-row, .menu-row {
  background: var(--bg-input); border: 1px solid var(--border); border-radius: 10px;
  padding: 14px; margin-bottom: 10px; position: relative;
}
.faq-row .remove-row, .service-row .remove-row, .menu-row .remove-row {
  position: absolute; top: 8px; right: 8px; background: rgba(248,113,113,0.15);
  color: var(--error); border: none; width: 28px; height: 28px; border-radius: 6px; cursor: pointer;
}

.empty-state { text-align: center; padding: 48px 20px; color: var(--text-muted); }
.empty-state i { font-size: 2.6rem; color: var(--gold); opacity: 0.3; margin-bottom: 12px; }

.filter-bar {
  display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 16px; align-items: center;
}
.filter-bar select, .filter-bar input {
  padding: 8px 12px; background: var(--bg-input); border: 1px solid var(--border);
  border-radius: 10px; color: var(--text); font-size: 0.88rem;
}
.filter-bar input { flex: 1; min-width: 150px; }

.modal {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.92); z-index: 1000;
  align-items: center; justify-content: center; padding: 20px;
}
.modal.active { display: flex; }
.modal img {
  max-width: 90%; max-height: 90%; border-radius: 10px;
  box-shadow: 0 0 40px rgba(255,215,0,0.2);
}
.modal-close {
  position: absolute; top: 16px; right: 24px; background: none; border: none;
  color: #fff; font-size: 2rem; cursor: pointer;
}

@media (max-width: 500px) {
  .form-row { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .captcha-box { flex-direction: column; align-items: stretch; }
  .captcha-box input { max-width: none; }
  .top-actions .btn-top { padding: 6px 12px; font-size: 0.75rem; }
  .hero-logo { width: 90px; height: 90px; }
}
@media (max-width: 600px) {
  .admin-nav { flex-wrap: wrap; height: auto; padding: 10px 12px; gap: 6px; }
  .admin-nav-links { width: 100%; justify-content: flex-start; }
}

/* ===== PMTOTO / keluhanpm.org - Yellow Glow Theme ===== */
:root {
  --yellow: #FFD700;
  --yellow-bright: #FFE55C;
  --yellow-glow: #FFEC8B;
  --yellow-dark: #E6B800;
  --yellow-soft: rgba(255, 215, 0, 0.15);
  --bg-dark: #0a0a0a;
  --bg-card: #141414;
  --bg-input: #1f1f1f;
  --text: #f5f5f5;
  --text-muted: #a0a0a0;
  --success: #4ade80;
  --error: #f87171;
  --border: rgba(255, 215, 0, 0.22);
  --shadow-glow: 0 0 25px rgba(255, 215, 0, 0.3), 0 0 50px rgba(255, 215, 0, 0.1);
  --radius: 14px;
  --transition: 0.25s ease;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg-dark);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.65;
  overflow-x: hidden;
}

.bg-glow {
  position: fixed; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(ellipse 90% 50% at 50% -15%, rgba(255, 215, 0, 0.2), transparent),
    radial-gradient(ellipse 50% 40% at 90% 70%, rgba(255, 180, 0, 0.07), transparent),
    radial-gradient(ellipse 40% 30% at 5% 50%, rgba(255, 200, 0, 0.05), transparent);
}

.container {
  width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 20px; position: relative; z-index: 1;
}

/* Header */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 30px rgba(255, 215, 0, 0.06);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between; height: 72px;
}
.logo {
  display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--yellow);
}
.logo-img {
  width: 44px; height: 44px; object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.55));
}
.logo-text {
  font-size: 1.55rem; font-weight: 800; letter-spacing: 1.5px;
  text-shadow: 0 0 14px rgba(255, 215, 0, 0.65);
}
.logo-domain {
  font-size: 0.7rem; color: var(--text-muted); font-weight: 500; letter-spacing: 0;
  display: block; margin-top: -4px;
}
.nav { display: flex; gap: 4px; align-items: center; flex-wrap: wrap; }
.nav-link {
  color: var(--text-muted); text-decoration: none; padding: 8px 14px; border-radius: 8px;
  font-size: 0.9rem; transition: var(--transition); display: flex; align-items: center; gap: 6px;
}
.nav-link:hover, .nav-link.active {
  color: var(--yellow); background: var(--yellow-soft);
  text-shadow: 0 0 8px rgba(255, 215, 0, 0.4);
}
.menu-toggle {
  display: none; background: none; border: 1px solid var(--border); color: var(--yellow);
  font-size: 1.25rem; padding: 8px 12px; border-radius: 8px; cursor: pointer;
}

/* Hero */
.hero {
  padding: 60px 0 40px; text-align: center; position: relative;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--yellow-soft); border: 1px solid var(--border);
  color: var(--yellow); padding: 6px 16px; border-radius: 50px;
  font-size: 0.85rem; font-weight: 600; margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(1.9rem, 4.5vw, 2.8rem); font-weight: 800; margin-bottom: 14px;
  line-height: 1.25;
}
.glow-text span {
  color: var(--yellow);
  text-shadow: 0 0 18px rgba(255, 215, 0, 0.75), 0 0 35px rgba(255, 215, 0, 0.35);
}
.hero-desc {
  color: var(--text-muted); max-width: 580px; margin: 0 auto 28px; font-size: 1.08rem;
}
.hero-cats {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 8px;
}
.cat-pill {
  background: var(--bg-card); border: 1px solid var(--border); color: var(--yellow-glow);
  padding: 8px 18px; border-radius: 50px; font-size: 0.88rem; font-weight: 600;
  display: flex; align-items: center; gap: 7px;
  box-shadow: 0 0 12px rgba(255, 215, 0, 0.08);
  transition: var(--transition);
}
.cat-pill:hover {
  border-color: var(--yellow); box-shadow: 0 0 18px rgba(255, 215, 0, 0.25);
  transform: translateY(-2px);
}
.cat-pill i { font-size: 0.95rem; }

/* Form */
.main { padding: 10px 0 50px; }
.form-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 20px;
  padding: 36px 40px; box-shadow: var(--shadow-glow); max-width: 700px; margin: 0 auto;
  position: relative; overflow: hidden;
}
.form-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--yellow), transparent);
  box-shadow: 0 0 18px var(--yellow);
}
.form-header { text-align: center; margin-bottom: 28px; }
.form-icon {
  font-size: 2.4rem; color: var(--yellow); margin-bottom: 10px;
  filter: drop-shadow(0 0 12px rgba(255, 215, 0, 0.55));
}
.form-header h2 { font-size: 1.55rem; color: var(--yellow-bright); margin-bottom: 6px; }
.form-header p { color: var(--text-muted); font-size: 0.95rem; }

.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; margin-bottom: 7px; font-weight: 600; font-size: 0.9rem; color: var(--yellow-glow);
}
.form-group label i { margin-right: 5px; opacity: 0.85; }
.required { color: var(--error); }

.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 12px 15px; background: var(--bg-input);
  border: 1px solid var(--border); border-radius: 10px; color: var(--text);
  font-size: 1rem; transition: var(--transition); outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.12), 0 0 14px rgba(255, 215, 0, 0.18);
}
.form-group textarea { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.char-count { text-align: right; font-size: 0.78rem; color: var(--text-muted); margin-top: 3px; }

.file-upload input[type="file"] { position: absolute; opacity: 0; width: 0; height: 0; }
.file-label {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
  padding: 24px 16px; border: 2px dashed var(--border); border-radius: 12px;
  background: rgba(255, 215, 0, 0.03); cursor: pointer; transition: var(--transition); color: var(--text-muted);
}
.file-label:hover { border-color: var(--yellow); background: var(--yellow-soft); color: var(--yellow); }
.file-label i { font-size: 1.7rem; }
.preview-container { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 10px; }
.preview-item {
  position: relative; width: 85px; height: 85px; border-radius: 10px; overflow: hidden; border: 1px solid var(--border);
}
.preview-item img { width: 100%; height: 100%; object-fit: cover; }
.preview-item .remove-img {
  position: absolute; top: 3px; right: 3px; background: rgba(0,0,0,0.75); color: #fff;
  border: none; width: 22px; height: 22px; border-radius: 50%; cursor: pointer; font-size: 0.7rem;
  display: flex; align-items: center; justify-content: center;
}

.captcha-group {
  background: rgba(255, 215, 0, 0.05); padding: 14px; border-radius: 12px; border: 1px solid var(--border);
}
.captcha-box { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.captcha-question {
  background: var(--bg-dark); padding: 11px 18px; border-radius: 10px; font-size: 1.2rem;
  font-weight: 700; color: var(--yellow); letter-spacing: 2px; min-width: 130px; text-align: center;
  border: 1px solid var(--border); user-select: none;
  text-shadow: 0 0 10px rgba(255, 215, 0, 0.45);
}
.captcha-refresh {
  background: transparent; border: 1px solid var(--border); color: var(--yellow);
  width: 40px; height: 40px; border-radius: 10px; cursor: pointer; transition: var(--transition); font-size: 0.95rem;
}
.captcha-refresh:hover { background: var(--yellow-soft); }
.captcha-box input { flex: 1; min-width: 90px; max-width: 130px; }
.captcha-hint { font-size: 0.78rem; color: var(--text-muted); margin-top: 6px; }

.form-actions { display: flex; gap: 10px; margin-top: 24px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 13px 26px; border: none;
  border-radius: 10px; font-size: 0.98rem; font-weight: 600; cursor: pointer; transition: var(--transition);
  text-decoration: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--yellow), var(--yellow-dark)); color: #1a1a1a;
  box-shadow: 0 4px 20px rgba(255, 215, 0, 0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 6px 28px rgba(255, 215, 0, 0.5); }
.btn-primary:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }
.btn-secondary {
  background: transparent; color: var(--text-muted); border: 1px solid var(--border);
}
.btn-secondary:hover { color: var(--yellow); border-color: var(--yellow); background: var(--yellow-soft); }

.alert {
  margin-top: 18px; padding: 14px 18px; border-radius: 10px; font-weight: 500; text-align: center;
}
.alert-success { background: rgba(74,222,128,0.12); border: 1px solid rgba(74,222,128,0.35); color: var(--success); }
.alert-error { background: rgba(248,113,113,0.12); border: 1px solid rgba(248,113,113,0.35); color: var(--error); }

/* Sections */
.section { padding: 55px 0; }
.section.alt { background: rgba(255, 215, 0, 0.025); }
.section-title {
  font-size: 1.55rem; margin-bottom: 12px; display: flex; align-items: center; gap: 10px;
}
.section-title i { color: var(--yellow); }
.section-desc { color: var(--text-muted); margin-bottom: 28px; max-width: 600px; }

.services-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px;
}
.service-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px;
  padding: 26px 22px; text-align: center; transition: var(--transition);
}
.service-card:hover {
  border-color: rgba(255, 215, 0, 0.5); box-shadow: 0 0 22px rgba(255, 215, 0, 0.12);
  transform: translateY(-3px);
}
.service-card i {
  font-size: 2rem; color: var(--yellow); margin-bottom: 12px;
  filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.4));
}
.service-card h3 { color: var(--yellow-bright); margin-bottom: 8px; font-size: 1.1rem; }
.service-card p { color: var(--text-muted); font-size: 0.9rem; }

.about-box, .contact-box {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 16px;
  padding: 28px; line-height: 1.75;
}
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px;
  padding: 18px 22px;
}
.faq-item h4 { color: var(--yellow-bright); margin-bottom: 6px; font-size: 1rem; }
.faq-item p { color: var(--text-muted); font-size: 0.92rem; }

.contact-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px;
}
.contact-item {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px;
  padding: 22px; text-align: center;
}
.contact-item i { font-size: 1.6rem; color: var(--yellow); margin-bottom: 10px; }
.contact-item h4 { color: var(--yellow-glow); margin-bottom: 4px; font-size: 0.95rem; }
.contact-item p, .contact-item a { color: var(--text-muted); font-size: 0.9rem; text-decoration: none; }
.contact-item a:hover { color: var(--yellow); }

/* Footer */
.footer {
  background: #070707; border-top: 1px solid var(--border); padding: 36px 0 18px; margin-top: 20px;
}
.footer-content {
  display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 20px; margin-bottom: 20px;
}
.footer-brand .logo-text { font-size: 1.25rem; }
.footer-brand p { color: var(--text-muted); font-size: 0.88rem; margin-top: 4px; }
.footer-links { display: flex; gap: 18px; flex-wrap: wrap; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; transition: var(--transition); }
.footer-links a:hover { color: var(--yellow); }
.footer-bottom {
  text-align: center; padding-top: 14px; border-top: 1px solid rgba(255,215,0,0.08);
  color: var(--text-muted); font-size: 0.82rem;
}

/* ===== Admin ===== */
.admin-body { background: var(--bg-dark); min-height: 100vh; }
.admin-login-wrap { display: flex; align-items: center; justify-content: center; min-height: 100vh; padding: 20px; }
.admin-login-card {
  max-width: 400px; width: 100%; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 18px; padding: 36px; box-shadow: var(--shadow-glow); text-align: center;
}
.admin-login-card h1 { color: var(--yellow); font-size: 1.45rem; margin-bottom: 6px; }
.admin-login-card .sub { color: var(--text-muted); margin-bottom: 24px; font-size: 0.9rem; }

.admin-nav {
  background: rgba(10,10,10,0.95); border-bottom: 1px solid var(--border);
  padding: 0 20px; display: flex; align-items: center; justify-content: space-between; height: 60px;
  position: sticky; top: 0; z-index: 50;
}
.admin-nav .brand { color: var(--yellow); font-weight: 800; font-size: 1.15rem; text-decoration: none; }
.admin-nav-links { display: flex; gap: 6px; align-items: center; }
.admin-nav-links a {
  color: var(--text-muted); text-decoration: none; padding: 7px 12px; border-radius: 7px; font-size: 0.88rem;
}
.admin-nav-links a:hover, .admin-nav-links a.active { color: var(--yellow); background: var(--yellow-soft); }

.admin-content { padding: 28px 0 50px; }
.admin-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 24px; flex-wrap: wrap; gap: 12px; }
.admin-header h1 { color: var(--yellow); font-size: 1.5rem; display: flex; align-items: center; gap: 10px; }

.stats-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 14px; margin-bottom: 24px; }
.stat-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 12px; padding: 18px; text-align: center;
}
.stat-card .num { font-size: 1.9rem; font-weight: 800; color: var(--yellow); text-shadow: 0 0 12px rgba(255,215,0,0.4); }
.stat-card .label { color: var(--text-muted); font-size: 0.82rem; margin-top: 2px; }

.complaint-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px; padding: 18px 22px; margin-bottom: 14px;
}
.complaint-card.resolved { opacity: 0.72; border-color: rgba(74,222,128,0.25); }
.complaint-meta { display: flex; flex-wrap: wrap; gap: 10px 16px; margin-bottom: 10px; font-size: 0.82rem; color: var(--text-muted); }
.complaint-meta span { display: flex; align-items: center; gap: 4px; }
.badge {
  display: inline-block; padding: 2px 10px; border-radius: 20px; font-size: 0.72rem; font-weight: 600;
}
.badge-pending { background: rgba(255,215,0,0.18); color: var(--yellow); }
.badge-resolved { background: rgba(74,222,128,0.18); color: var(--success); }
.complaint-subject { font-size: 1.05rem; font-weight: 700; color: var(--yellow-bright); margin-bottom: 6px; }
.complaint-body { color: var(--text); margin-bottom: 10px; white-space: pre-wrap; word-break: break-word; font-size: 0.93rem; }
.complaint-images { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.complaint-images img {
  width: 72px; height: 72px; object-fit: cover; border-radius: 8px; border: 1px solid var(--border); cursor: pointer;
}
.complaint-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.btn-sm { padding: 7px 12px; font-size: 0.82rem; }
.btn-success { background: rgba(74,222,128,0.18); color: var(--success); border: 1px solid rgba(74,222,128,0.35); }
.btn-success:hover { background: rgba(74,222,128,0.3); }
.btn-danger { background: rgba(248,113,113,0.12); color: var(--error); border: 1px solid rgba(248,113,113,0.3); }
.btn-danger:hover { background: rgba(248,113,113,0.25); }

.settings-form .form-group { margin-bottom: 16px; }
.settings-section {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: 14px;
  padding: 22px; margin-bottom: 20px;
}
.settings-section h3 {
  color: var(--yellow); font-size: 1.1rem; margin-bottom: 14px; padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.faq-row, .service-row, .menu-row {
  background: var(--bg-input); border: 1px solid var(--border); border-radius: 10px;
  padding: 14px; margin-bottom: 10px; position: relative;
}
.faq-row .remove-row, .service-row .remove-row, .menu-row .remove-row {
  position: absolute; top: 8px; right: 8px; background: rgba(248,113,113,0.2); color: var(--error);
  border: none; width: 28px; height: 28px; border-radius: 6px; cursor: pointer;
}

.empty-state { text-align: center; padding: 50px 20px; color: var(--text-muted); }
.empty-state i { font-size: 2.8rem; color: var(--yellow); opacity: 0.35; margin-bottom: 12px; }

.modal {
  display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.9); z-index: 1000;
  align-items: center; justify-content: center; padding: 20px;
}
.modal.active { display: flex; }
.modal img { max-width: 90%; max-height: 90%; border-radius: 8px; box-shadow: 0 0 40px rgba(255,215,0,0.25); }
.modal-close { position: absolute; top: 16px; right: 24px; background: none; border: none; color: #fff; font-size: 2rem; cursor: pointer; }

.filter-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; align-items: center; }
.filter-bar select, .filter-bar input {
  padding: 8px 12px; background: var(--bg-input); border: 1px solid var(--border);
  border-radius: 8px; color: var(--text); font-size: 0.9rem;
}
.filter-bar input { flex: 1; min-width: 160px; }

@media (max-width: 768px) {
  .nav { display: none; position: absolute; top: 72px; left: 0; right: 0;
    background: rgba(10,10,10,0.98); flex-direction: column; padding: 14px; border-bottom: 1px solid var(--border); }
  .nav.open { display: flex; }
  .menu-toggle { display: block; }
  .form-card { padding: 24px 18px; }
  .form-row { grid-template-columns: 1fr; }
  .captcha-box { flex-direction: column; align-items: stretch; }
  .captcha-box input { max-width: none; }
  .admin-nav { flex-wrap: wrap; height: auto; padding: 12px; gap: 8px; }
}