:root{
  --sky:#46b7ff;
  --bg:#ffffff;
  --text:#111111;
  --link:#0b63ff;
  --visited:#800000; /* maroon */
  --card:#ffffff;
  --border:#e7e9ee;
  --muted:#6b7280;
}

*{box-sizing:border-box}
body{
  margin:0;
  font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  background:var(--bg);
  color:var(--text);
}

a{color:var(--link); text-decoration:none}
a:visited{color:var(--visited)}
a:hover{text-decoration:underline}

.navbar{
  background:var(--sky);
  color:#fff;
  padding:14px 0;
  position:sticky;
  top:0;
  z-index:10;
  box-shadow:0 6px 18px rgba(0,0,0,.08);
}
.container{
  width:min(1100px,92%);
  margin:0 auto;
}
.nav-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.brand{
  font-weight:800;
  letter-spacing:.2px;
  color:#fff !important;
  font-size:18px;
}
.nav-links{
  display:flex;
  gap:14px;
  flex-wrap:wrap;
}
.nav-links a{
  color:#fff !important;
  font-weight:600;
  opacity:.95;
}
.nav-links a:hover{opacity:1; text-decoration:none}

.hero{
  padding:22px 0 10px;
}
.h-title{
  margin:0 0 6px;
  font-size:24px;
}
.h-sub{
  margin:0;
  color:var(--muted);
}

.grid{
  display:grid;
  gap:14px;
  grid-template-columns:repeat(12,1fr);
  margin:18px 0 30px;
}
.card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:14px;
  padding:14px;
  box-shadow:0 8px 22px rgba(17,24,39,.05);
}
.col-8{grid-column:span 8}
.col-4{grid-column:span 4}
.col-12{grid-column:span 12}

@media (max-width:900px){
  .col-8,.col-4{grid-column:span 12}
}

.badge{
  display:inline-block;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid var(--border);
  background:#f7fbff;
  font-size:12px;
  font-weight:700;
  margin-right:6px;
  margin-bottom:6px;
}
.badge-unsafe{background:#fff1f2;border-color:#fecdd3}
.badge-safe{background:#ecfeff;border-color:#a5f3fc}

.table{
  width:100%;
  border-collapse:collapse;
}
.table th,.table td{
  padding:10px;
  border-bottom:1px solid var(--border);
  vertical-align:top;
  text-align:left;
}
.table th{color:#111827;font-size:13px}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border:1px solid var(--border);
  background:#fff;
  padding:10px 12px;
  border-radius:10px;
  font-weight:700;
  cursor:pointer;
}
.btn-primary{
  background:var(--link);
  border-color:var(--link);
  color:#fff;
}
.btn-danger{
  background:#b91c1c;
  border-color:#b91c1c;
  color:#fff;
}
.btn:disabled{opacity:.6; cursor:not-allowed}

.input, .textarea, .select{
  width:100%;
  border:1px solid var(--border);
  border-radius:10px;
  padding:10px 12px;
  outline:none;
  font-size:14px;
}
.textarea{min-height:140px; resize:vertical}

.muted{color:var(--muted)}
.kpi{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}
.kpi .card{padding:12px}
.kpi-num{font-size:22px;font-weight:900;margin:0}
.kpi-label{margin:0;color:var(--muted);font-weight:600}

.thumb-row{display:flex;gap:10px;flex-wrap:wrap}
.thumb-row img{
  width:140px;height:95px;object-fit:cover;
  border-radius:10px;border:1px solid var(--border);
}

.footer{
  border-top:1px solid var(--border);
  padding:18px 0;
  color:var(--muted);
  font-size:13px;
}


/* ===== Scam Detail Page Layout ===== */

.ad-slot {
  border: 1px dashed #cbd5e1;
  background: #f8fafc;
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin-bottom: 16px;
}

.ad-120x728 {
  width: 120px;
  height: 728px;
}

.ad-360x360 {
  width: 100%;
  max-width: 360px;
  height: 360px;
}

.scam-layout {
  display: grid;
  grid-template-columns: 120px 1fr 360px;
  gap: 16px;
}

@media (max-width: 1100px) {
  .scam-layout {
    grid-template-columns: 1fr;
  }
  .ad-slot {
    display: none;
  }
}


/* ===== Global 3-Column Layout with Ads ===== */

.page-layout {
  display: grid;
  grid-template-columns: 120px 1fr 360px;
  gap: 16px;
  align-items: start;
}

.ad-slot {
  border: 1px dashed #cbd5e1;
  background: #f8fafc;
  color: #64748b;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.ad-120x728 {
  width: 120px;
  height: 728px;
}

.ad-360x360 {
  width: 100%;
  max-width: 360px;
  height: 360px;
}

/* Hide ads on small screens */
@media (max-width: 1100px) {
  .page-layout {
    grid-template-columns: 1fr;
  }
  .ad-slot {
    display: none;
  }
}
