/* Blacklist404 - Main Stylesheet */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --red: #b91c1c;
  --red-dark: #991b1b;
  --red-light: #fef2f2;
  --red-border: #fecaca;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-700: #374151;
  --gray-900: #111827;
  --white: #ffffff;
  --radius: 8px;
  --radius-lg: 12px;
}

body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background: var(--gray-100); color: var(--gray-900); min-height: 100vh; }

a { text-decoration: none; color: inherit; }

/* NAVBAR */
.navbar {
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  position: sticky;
  top: 0;
  z-index: 1000;
}
.nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; cursor: pointer; }
.nav-logo svg { color: var(--red); }
.nav-links { display: flex; align-items: center; gap: 1.5rem; }
.nav-link { font-size: 14px; color: var(--gray-500); cursor: pointer; transition: color .15s; }
.nav-link:hover { color: var(--gray-900); }
.lang-toggle { display: flex; align-items: center; gap: 5px; font-size: 13px; color: var(--gray-500); cursor: pointer; border: 1px solid var(--gray-200); padding: 4px 10px; border-radius: 99px; background: none; transition: background .15s; }
.lang-toggle:hover { background: var(--gray-100); }
.btn-red { background: var(--red); color: var(--white); border: none; padding: 9px 18px; border-radius: var(--radius); font-size: 13px; font-weight: 600; cursor: pointer; display: flex; align-items: center; gap: 6px; transition: background .15s; }
.btn-red:hover { background: var(--red-dark); }

/* HERO */
.hero-section { background: var(--white); padding: 3rem 2rem 2.5rem; }
.hero-inner { max-width: 900px; }
.hero-badge { display: inline-flex; align-items: center; gap: 6px; background: var(--red-light); color: var(--red); border: 1px solid var(--red-border); padding: 5px 14px; border-radius: 99px; font-size: 13px; font-weight: 500; margin-bottom: 1.25rem; }
.hero-title { font-size: 42px; font-weight: 800; line-height: 1.15; margin-bottom: .5rem; }
.hero-title .red { color: var(--red); }
.hero-desc { font-size: 15px; color: var(--gray-500); margin-bottom: 1.75rem; max-width: 520px; line-height: 1.6; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-outline { background: var(--white); color: var(--gray-900); border: 1px solid var(--gray-200); padding: 10px 20px; border-radius: var(--radius); font-size: 14px; font-weight: 500; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; transition: background .15s; }
.btn-outline:hover { background: var(--gray-100); }

/* STATS BAR */
.stats-bar { background: var(--white); border-top: 1px solid var(--gray-200); border-bottom: 1px solid var(--gray-200); padding: 1.5rem 2rem; display: flex; gap: 4rem; }
.stat-num { font-size: 32px; font-weight: 800; color: var(--red); }
.stat-lbl { font-size: 13px; color: var(--gray-500); margin-top: 3px; }

/* ADS */
.ad-banner { width: 100%; max-width: 960px; margin: 1.5rem auto; padding: 0 1rem; }
.ad-banner img { width: 100%; border-radius: var(--radius-lg); display: block; }
.ad-banner a { display: block; }

/* POPUP AD */
.popup-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.55); z-index: 2000; align-items: center; justify-content: center; }
.popup-overlay.active { display: flex; }
.popup-box { background: var(--white); border-radius: var(--radius-lg); padding: 0; max-width: 480px; width: 90%; position: relative; overflow: hidden; }
.popup-close { position: absolute; top: 10px; right: 12px; font-size: 22px; cursor: pointer; color: var(--gray-500); z-index: 1; line-height: 1; background: var(--white); border-radius: 50%; width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--gray-200); }
.popup-close:hover { color: var(--gray-900); }
.popup-box img { width: 100%; display: block; }
.popup-box .popup-html { padding: 1.5rem; }

/* SECTION */
.section { padding: 1.5rem 2rem 2rem; max-width: 1200px; margin: 0 auto; }
.section-title { font-size: 18px; font-weight: 700; margin-bottom: 1.25rem; display: flex; align-items: center; gap: 8px; }

/* CARDS GRID */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1rem; }
.report-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 1.1rem 1.25rem; cursor: pointer; transition: border-color .15s, box-shadow .15s; }
.report-card:hover { border-color: #fca5a5; box-shadow: 0 2px 12px rgba(185,28,28,.08); }
.card-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: .75rem; }
.badge-scammer { background: var(--red); color: var(--white); font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 4px; letter-spacing: .5px; }
.card-views { font-size: 13px; color: var(--gray-400); display: flex; align-items: center; gap: 4px; }
.card-title { font-size: 15px; font-weight: 700; margin-bottom: .6rem; line-height: 1.3; }
.card-title.red { color: var(--red); }
.card-meta { font-size: 13px; color: var(--gray-500); margin-bottom: 3px; display: flex; align-items: center; gap: 6px; }
.card-chrono { font-size: 13px; color: var(--gray-500); margin: .6rem 0; line-height: 1.5; border-top: 1px solid var(--gray-200); padding-top: .6rem; }
.card-date { font-size: 12px; color: var(--gray-400); display: flex; align-items: center; gap: 5px; border-top: 1px solid var(--gray-200); padding-top: .6rem; margin-top: .6rem; }

/* DETAIL PAGE */
.detail-wrap { max-width: 800px; margin: 2rem auto; padding: 0 1rem; }
.detail-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 2rem; }
.detail-badge-row { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; }
.detail-title { font-size: 26px; font-weight: 800; margin-bottom: 1.25rem; }
.detail-field { margin-bottom: 1rem; }
.detail-field label { font-size: 12px; text-transform: uppercase; letter-spacing: .5px; color: var(--gray-400); font-weight: 600; display: block; margin-bottom: 4px; }
.detail-field p { font-size: 15px; color: var(--gray-700); line-height: 1.6; }
.detail-divider { border: none; border-top: 1px solid var(--gray-200); margin: 1.25rem 0; }
.evidence-imgs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.evidence-imgs a { display: block; font-size: 13px; color: var(--red); word-break: break-all; }
.back-btn { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--gray-500); margin-bottom: 1rem; cursor: pointer; }
.back-btn:hover { color: var(--gray-900); }

/* SEARCH PAGE */
.search-wrap { max-width: 860px; margin: 2rem auto; padding: 0 1rem; }
.search-box { background: var(--white); border-radius: var(--radius-lg); padding: 1.5rem; border: 1px solid var(--gray-200); margin-bottom: 1.5rem; }
.search-input-row { display: flex; gap: 10px; }
.search-input { flex: 1; padding: 10px 14px; border: 1px solid var(--gray-200); border-radius: var(--radius); font-size: 15px; outline: none; }
.search-input:focus { border-color: var(--red); }

/* FORM PAGE */
.form-wrap { max-width: 760px; margin: 2rem auto; padding: 0 1rem 3rem; }
.form-card { background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--gray-200); padding: 2rem; }
.form-title { font-size: 24px; font-weight: 800; margin-bottom: .4rem; }
.form-desc { font-size: 14px; color: var(--gray-500); margin-bottom: 1.75rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 6px; }
.form-control { width: 100%; padding: 10px 14px; border: 1px solid var(--gray-200); border-radius: var(--radius); font-size: 14px; font-family: inherit; outline: none; background: var(--white); color: var(--gray-900); }
.form-control:focus { border-color: var(--red); }
textarea.form-control { resize: vertical; min-height: 110px; }
.form-hint { font-size: 12px; color: var(--gray-400); margin-top: 4px; }
.url-inputs { display: flex; flex-direction: column; gap: 8px; }
.url-row { display: flex; gap: 8px; }
.url-row .form-control { flex: 1; }
.url-remove { background: none; border: 1px solid var(--gray-200); color: var(--gray-400); border-radius: var(--radius); padding: 0 12px; cursor: pointer; font-size: 18px; }
.url-remove:hover { color: var(--red); border-color: var(--red); }
.add-url-btn { background: none; border: 1px solid var(--gray-200); color: var(--gray-600); padding: 7px 14px; border-radius: var(--radius); font-size: 13px; cursor: pointer; margin-top: 6px; display: inline-flex; align-items: center; gap: 6px; }
.add-url-btn:hover { border-color: var(--red); color: var(--red); }
.btn-submit { width: 100%; background: var(--red); color: var(--white); border: none; padding: 13px; border-radius: var(--radius); font-size: 15px; font-weight: 700; cursor: pointer; margin-top: .5rem; transition: background .15s; }
.btn-submit:hover { background: var(--red-dark); }
.alert-success { background: #f0fdf4; border: 1px solid #bbf7d0; color: #15803d; padding: 14px 16px; border-radius: var(--radius); margin-bottom: 1rem; font-size: 14px; }
.alert-error { background: var(--red-light); border: 1px solid var(--red-border); color: var(--red); padding: 14px 16px; border-radius: var(--radius); margin-bottom: 1rem; font-size: 14px; }
.pending-notice { background: #fffbeb; border: 1px solid #fde68a; color: #92400e; padding: 10px 14px; border-radius: var(--radius); font-size: 13px; margin-bottom: 1rem; }

/* FOOTER */
.footer { background: var(--white); border-top: 1px solid var(--gray-200); padding: 2.5rem 2rem 1.5rem; margin-top: 3rem; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 2rem; }
.footer-brand { max-width: 340px; }
.footer-logo { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 16px; margin-bottom: .75rem; }
.footer-brand p { font-size: 14px; color: var(--gray-500); line-height: 1.6; }
.footer-links h4 { font-size: 14px; font-weight: 700; margin-bottom: .75rem; }
.footer-links a { display: block; font-size: 14px; color: var(--gray-500); margin-bottom: 6px; cursor: pointer; }
.footer-links a:hover { color: var(--gray-900); }
.footer-copy { max-width: 1200px; margin: 1.5rem auto 0; padding-top: 1rem; border-top: 1px solid var(--gray-200); font-size: 13px; color: var(--gray-400); text-align: center; }

/* ADMIN */
.admin-body { background: var(--gray-100); }
.admin-wrap { display: flex; min-height: 100vh; }
.sidebar { width: 220px; background: var(--gray-900); padding: 1.5rem 0; position: fixed; top: 0; left: 0; height: 100vh; }
.sidebar-logo { padding: .75rem 1.5rem 1.5rem; font-weight: 700; font-size: 15px; color: var(--white); border-bottom: 1px solid rgba(255,255,255,.1); margin-bottom: .75rem; }
.sidebar-link { display: flex; align-items: center; gap: 10px; padding: 10px 1.5rem; font-size: 14px; color: #9ca3af; cursor: pointer; transition: background .15s, color .15s; text-decoration: none; }
.sidebar-link:hover, .sidebar-link.active { background: rgba(255,255,255,.08); color: var(--white); }
.admin-main { margin-left: 220px; padding: 2rem; flex: 1; }
.admin-topbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.5rem; }
.admin-topbar h1 { font-size: 20px; font-weight: 700; }
.admin-card { background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--gray-200); padding: 1.5rem; margin-bottom: 1.5rem; }
.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.admin-table th { text-align: left; padding: 10px 12px; border-bottom: 2px solid var(--gray-200); font-size: 12px; text-transform: uppercase; letter-spacing: .4px; color: var(--gray-400); }
.admin-table td { padding: 10px 12px; border-bottom: 1px solid var(--gray-100); vertical-align: top; }
.admin-table tr:hover td { background: var(--gray-50); }
.status-badge { padding: 2px 10px; border-radius: 99px; font-size: 11px; font-weight: 600; }
.status-published { background: #dcfce7; color: #15803d; }
.status-pending { background: #fef9c3; color: #854d0e; }
.status-rejected { background: var(--red-light); color: var(--red); }
.action-btn { padding: 4px 10px; border-radius: var(--radius); font-size: 12px; font-weight: 600; cursor: pointer; border: none; margin-right: 4px; }
.btn-publish { background: #dcfce7; color: #15803d; }
.btn-reject { background: var(--red-light); color: var(--red); }
.btn-delete { background: var(--gray-100); color: var(--gray-700); }
.login-wrap { display: flex; align-items: center; justify-content: center; min-height: 100vh; background: var(--gray-100); }
.login-box { background: var(--white); padding: 2.5rem; border-radius: var(--radius-lg); border: 1px solid var(--gray-200); width: 100%; max-width: 380px; }
.login-box h2 { font-size: 22px; font-weight: 800; margin-bottom: .25rem; }
.login-box p { font-size: 14px; color: var(--gray-500); margin-bottom: 1.5rem; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 1rem; margin-bottom: 1.5rem; }
.stat-card { background: var(--white); border: 1px solid var(--gray-200); border-radius: var(--radius-lg); padding: 1.25rem; }
.stat-card .num { font-size: 28px; font-weight: 800; color: var(--red); }
.stat-card .lbl { font-size: 13px; color: var(--gray-500); }

@media (max-width: 640px) {
  .navbar { padding: 0 1rem; }
  .hero-section { padding: 2rem 1rem; }
  .hero-title { font-size: 28px; }
  .stats-bar { flex-wrap: wrap; gap: 1.5rem; padding: 1rem; }
  .section { padding: 1rem; }
  .cards-grid { grid-template-columns: 1fr; }
  .nav-links .nav-link { display: none; }
  .sidebar { display: none; }
  .admin-main { margin-left: 0; }
}
