/* ===== GLOBAL HACKING THEME ===== */
body[data-theme="light"] .atk-card,
body[data-theme="light"] .atk-card pre,
body[data-theme="light"] .atk-card p,
body[data-theme="light"] .atk-search,
body[data-theme="light"] .atk-search input {
    background:linear-gradient(120deg, rgb(220, 245, 248), rgb(255, 255, 255));
    color: var(--muted);
}
body[data-theme="light"] .atk-card pre{
    color: forestgreen;
    background: white;
    border:1px dotted grey;
}
body[data-theme="light"] .atk-title{
    color: red;
}
body[data-theme="light"] .atk-subtitle,
body[data-theme="light"] .badge-legal,
body[data-theme="light"] .level-tag,
body[data-theme="light"] .copy-btn{
    color: #000;
}
body[data-theme="light"] .atk-card,
body[data-theme="light"] .atk-search{
    border: 1px solid rgb(8, 2, 67);
}

body[data-theme="light"] .atk-card h3{
  color: red;
}


/* ===== HEADINGS ===== */
.atk-title{
  text-align:center;
  font-size:32px;
  letter-spacing:3px;
  color:#00eaff;
  text-shadow:
    0 0 10px rgba(0,234,255,.6),
    0 0 30px rgba(0,234,255,.2);
  margin-bottom:6px;
}

.atk-subtitle{
    font-size: 20px;
    font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  text-align:center;
  color:#94a3b8;
  margin-bottom:36px;
}

/* ===== SEARCH BAR ===== */
.atk-search{
  max-width: 980px;     /* 👈 yahan value kam–zyada kar sakta hai */
  width: 100%;
  margin: 0 auto 18px; /* center + bottom gap */
  display:flex;
  align-items:center;
  gap:10px;
  background:rgba(2,6,23,.9);
  border:1px solid rgba(0,234,255,.35);
  padding:14px 14px;
  border-radius:12px;
  margin-bottom:18px;
  box-shadow:
    inset 0 0 15px rgba(0,234,255,.08),
    0 0 20px rgba(0,234,255,.15);
}

.atk-search span{
  color:#22c55e;
  font-weight:bold;
  text-shadow:0 0 10px rgba(34,197,94,.6);
}

.atk-search input{
  background:transparent;
  border:none;
  outline:none;
  color:#e5e7eb;
  width:100%;
  font-size:14px;
}

.atk-search input::placeholder{
  color:#64748b;
}

/* ===== FILTER BUTTONS ===== */
.atk-filters{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-bottom:26px;
  justify-content: center;
}

.atk-filter{
  padding:8px 16px;
  border-radius:999px;
  border:1px solid rgba(0,234,255,.4);
  background:linear-gradient(180deg,rgba(2,6,23,.9),rgba(2,6,23,.7));
  color:#9ff0ff;
  font-size:12px;
  letter-spacing:.5px;
  cursor:pointer;
  transition:.25s ease;
  box-shadow:
    inset 0 0 12px rgba(0,234,255,.05),
    0 0 12px rgba(0,0,0,.8);
}

.atk-filter:hover{
  transform:translateY(-1px);
  box-shadow:
    0 0 18px rgba(0,234,255,.35),
    0 0 40px rgba(0,234,255,.15);
}

.atk-filter.active{
  background:linear-gradient(180deg,#00eaff,#00bcd4);
  color:#020617;
  border-color:#00eaff;
  box-shadow:
    0 0 18px rgba(0,234,255,.7),
    0 0 40px rgba(0,234,255,.35);
}


/* ===== CONTAINER (optional agar parent use hota hai) ===== */
.atk-container{
  max-width: 1400px;
  margin: auto;
  padding: 50px 16px 90px;
  position: relative;
}

/* ===== GRID ===== */
.atk-grid{
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  width: 100%;
  margin: 0 auto;
}

@media (min-width: 768px){
  .atk-grid{
    grid-template-columns: repeat(2, 1fr);
    max-width: 900px;
  }
}

@media (min-width: 1024px){
  .atk-grid{
    grid-template-columns: repeat(2, 1fr);
    max-width: 1224px;
  }
}

/* ===== CARD ===== */
.atk-card{
  position:relative;
  background:linear-gradient(180deg, rgba(34, 1, 1, 0.95), rgba(0, 3, 14, 0.95));
  border:1px solid rgba(85, 51, 51, 0.672);
  border-radius:14px;
  padding:16px 14px 14px;
  box-shadow: 0 0 12px rgb(162, 183, 185);
  transition:transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  overflow:hidden;
}

.atk-card:hover{
   transform:translateY(-8px) scale(1.01);
  box-shadow:0 0 14px yellow;
}

/* Category accent (HTML me: <div class="atk-card web">) */
.atk-card.web{ border-left:3px solid #8a2be2; }

/* Corner dots */
.atk-card::before,
.atk-card::after{
  content:"";
  position:absolute;
  width:6px;height:6px;border-radius:50%;
  background:var(--neon);
  box-shadow:0 0 12px var(--neon);
}
.atk-card::before{ top:10px; left:10px; }
.atk-card::after{ bottom:10px; right:10px; }

/* ===== BADGES ===== */
.card-badges{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  margin-bottom:6px;
}

/* Tumhare HTML me: <span class="level-tag">Pro</span> */
.level-tag{
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size:11px;
  padding:4px 8px;
  border-radius:999px;
  border:1px solid rgba(0,234,255,.45);
  color:#dffcff;
  background:rgba(0,234,255,.12);
  box-shadow:0 0 10px rgba(138,43,226,.45);
}

/* Tumhare HTML me: <span class="badge-legal"> */
.badge-legal{
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-size:11px;
  padding:4px 8px;
  border-radius:999px;
  color:#ffdede;
  background:rgba(255,59,59,.12);
  border:1px solid rgba(255,59,59,.45);
  box-shadow:0 0 10px rgba(255,59,59,.35);
}

/* ===== TITLE & TEXT ===== */
.atk-card h3{
  color:#e9fbff;
  font-size:18px;
  margin:6px 0 6px;
  letter-spacing:.3px;
}

.atk-card p{
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color:#f7f787;
  margin:6px 0 10px;
  font-size:14.5px;
}

/* Tumhare HTML me: <p class="muted"> */
.muted{
  color: var(--muted);
  font-size:12.5px;
  line-height:1.5;
  margin-top:6px;
}

/* ===== PRE / CODE ===== */
.atk-card pre{
  background:linear-gradient(180deg, #030711, #02060f);
  border:1px dashed rgba(0,234,255,.35);
  border-radius:10px;
  padding:10px;
  color:#bff3ff;
  font-size:14.5px;
  overflow:auto;
  margin:10px 0 8px;
}

/* ===== COPY BUTTON ===== */
.copy-btn{
  display:inline-flex;
  align-items:center;
  gap:6px;
  margin-top:8px;
  padding:7px 12px;
  border-radius:10px;
  border:1px solid rgba(0,234,255,.5);
  color:#eaffff;
  background:linear-gradient(180deg, rgba(0,234,255,.15), rgba(0,234,255,.05));
  cursor:pointer;
  font-size:12.5px;
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.copy-btn:hover{
  transform:translateY(-1px);
  box-shadow:0 0 14px rgba(0,234,255,.45);
  background:linear-gradient(180deg, rgba(0,234,255,.25), rgba(0,234,255,.1));
}
.copy-btn:active{ transform:translateY(0); }

/* ===== MOBILE TWEAKS ===== */
@media (max-width:600px){
  .atk-card{ padding:14px 12px; }
  .atk-card h3{ font-size:16px; }
  .atk-card pre{ font-size:12px; }
  .copy-btn{ width:40%; justify-content:right;}
}