:root{
  --bg:#121418;
  --card:#191d24;
  --text:#eef3f1;
  --muted:#9ca9b8;
  --acc:#7CFC00; /* neon green */
  --acc-dark:#55c000;
}

*{box-sizing:border-box;margin:0;padding:0}
body{
  background:var(--bg);
  color:var(--text);
  font:16px/1.5 'Segoe UI',Roboto,system-ui,sans-serif;
}
.container{width:min(1100px,92%);margin:0 auto}

/* ===== Header & Nav ===== */
.site-header{
  backdrop-filter:saturate(1.2) blur(8px);
  position:sticky;top:0;z-index:1000;
  background:rgba(20,22,27,.95);
  border-bottom:1px solid #222;
}
.header-flex{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:10px 15px;
}
.logo{
  color:var(--acc);
  text-decoration:none;
  font-weight:700;
  font-size:20px;
  flex-shrink:0;
}

/* Desktop Nav */
.nav-desktop{
  display:flex;
  gap:18px;
  align-items:center;
}
.nav-desktop a{
  color:var(--text);
  text-decoration:none;
  font-weight:500;
  transition:color .2s;
}
.nav-desktop a:hover{color:var(--acc)}

/* Mobile Toggle */
.nav-toggle{
  background:none;
  border:0;
  color:var(--acc);
  font-size:24px;
  cursor:pointer;
  display:none;
}

/* ===== Mobile Nav & Overlay ===== */
.nav-mobile {
  position: fixed;
  top: 60px;
  left: -100%;
  width: 230px;
  height: calc(100% - 60px);
  background: #13161d;
  display: flex;
  flex-direction: column;
  border-right: 1px solid #222;
  box-shadow: 3px 0 10px rgba(0,0,0,.6);
  transition: left 0.3s ease;
  z-index: 999;
}
body.nav-open .nav-mobile { left: 0; }

.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.45);
  z-index: 998;
  transition: opacity 0.3s ease;
}
body:not(.nav-open) .nav-overlay {
  opacity: 0;
  pointer-events: none;
}


/* ===== Responsive Fix ===== */
@media(max-width:800px){
  .nav-desktop { display: none; }
  .nav-toggle { display: block; margin-right: 10px; }
  .header-flex {
    justify-content: flex-start;
    gap: 10px;
  }
  .logo { margin-left: 5px; font-size: 20px; }
}

/* ===== Layouts & Cards ===== */
.h{margin:24px 0}
.grid{display:grid;gap:16px}
.grid-4{grid-template-columns:repeat(2,1fr)}
@media(min-width:800px){.grid-4{grid-template-columns:repeat(4,1fr)}}
.grid-3{grid-template-columns:repeat(1,1fr)}
@media(min-width:800px){.grid-3{grid-template-columns:repeat(3,1fr)}}

.card{
  background:var(--card);
  padding:14px;
  border-radius:16px;
  display:block;
  text-decoration:none;
  color:inherit;
  box-shadow:0 8px 20px rgba(0,0,0,.25);
  transition:transform .2s, box-shadow .2s;
}
.card:hover{
  transform:translateY(-4px);
  box-shadow:0 12px 25px rgba(124,252,0,.25);
}
.card img{
  width:64px;height:64px;border-radius:14px;object-fit:cover;
}
.card h3{margin:8px 0 4px;font-size:16px;font-weight:600;color:#fff}
.badge{
  background:var(--acc);
  color:#000;
  padding:3px 8px;
  border-radius:999px;
  font-size:12px;
  font-weight:600;
}

/* ===== Pagination ===== */
.pagination{display:flex;gap:8px;justify-content:center;margin:24px 0}
.pagination a{
  background:var(--card);
  padding:8px 12px;
  border-radius:10px;
  text-decoration:none;
  color:var(--text);
  border:1px solid #252933;
  transition:background .2s;
}
.pagination a:hover{background:#1f252e}
.pagination a.active{background:var(--acc);color:#000;font-weight:700}

/* ===== Detail Page ===== */
.detail-header{display:flex;gap:16px;align-items:center}
.icon-xl{
  width:96px;height:96px;border-radius:20px;object-fit:cover;
  border:2px solid var(--acc);
}
.screens{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px;
  margin:16px 0;
}
.screens img{
  width:100%;border-radius:12px;object-fit:cover;
  border:1px solid #222;
}

/* ===== Download & Timer ===== */
.download .btn{
  background:var(--acc);
  border:0;
  color:#000;
  padding:12px 18px;
  border-radius:14px;
  cursor:pointer;
  font-weight:600;
  transition:background .2s;
}
.download .btn:hover{background:var(--acc-dark)}
.timer{
  display:flex;align-items:center;gap:10px;margin-top:8px
}
.timer .circle{
  width:28px;height:28px;border-radius:50%;
  background:conic-gradient(var(--acc) 0deg,#333 0deg);
}

/* ===== Alerts & Forms ===== */
.hidden{display:none}
.alert{padding:10px;border-radius:10px;margin:10px 0}
.alert.success{background:#142a17;color:#baffba}
.alert.error{background:#2b1111;color:#f5aaaa}
.form input,.form select,.form textarea{
  width:100%;padding:10px;border-radius:10px;
  border:1px solid #2a2f3b;background:#10131a;color:var(--text);margin:6px 0;
}
.form input:focus,.form textarea:focus,.form select:focus{
  border-color:var(--acc);outline:none;
}
.btn{
  background:var(--acc);
  border:0;
  color:#000;
  padding:10px 14px;
  border-radius:12px;
  cursor:pointer;
  font-weight:600;
  transition:background .2s;
}
.btn:hover{background:var(--acc-dark)}
.site-footer{
  padding:30px 0;
  color:var(--muted);
  text-align:center;
  border-top:1px solid #20242c;
}

/* ===== Ads ===== */
.ad-header,.ad-footer{margin:10px 0;text-align:center}
.ad-item{
  display:inline-flex;align-items:center;gap:10px;
  background:#11141b;padding:8px 12px;border-radius:12px;
  border:1px solid #1f252e;
}

/* ===== Special effects ===== */
.download.card {
  background: linear-gradient(145deg,#10151d,#161b24);
  border:1px solid #1f242c;
}
.download .btn {
  font-size:17px;
  font-weight:600;
  min-width:160px;
}
.disclaimer {
  transition:opacity .3s ease-in;
}
.circle {
  width:42px;height:42px;
  border-radius:50%;
  background:conic-gradient(var(--acc) 0deg,#333 0deg);
  transition:background .2s linear;
}
.btn.pulse {
  transform: scale(0.97);
  box-shadow: 0 0 8px var(--acc);
  transition: transform 0.15s, box-shadow 0.15s;
}
/* ===== Simple Header Layout ===== */
.site-header {
  backdrop-filter: saturate(1.2) blur(8px);
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(20,22,27,.95);
  border-bottom: 1px solid #222;
}
.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 15px;
}
.logo {
  color: var(--acc);
  text-decoration: none;
  font-weight: 700;
  font-size: 20px;
}

/* ===== Add Button (Right side) ===== */
.add-btn-header {
  background: var(--acc);
  color: #000;
  font-weight: 700;
  text-decoration: none;
  padding: 10px 16px;
  border-radius: 12px;
  transition: all 0.25s ease;
  box-shadow: 0 0 10px rgba(124,252,0,.4);
}
.add-btn-header:hover {
  background: var(--acc-dark);
  box-shadow: 0 0 15px rgba(124,252,0,.6);
  transform: translateY(-2px);
}

/* ===== Responsive (mobile stays same layout) ===== */
@media(max-width:800px){
  .header-flex {
    justify-content: space-between;
  }
  .add-btn-header {
    font-size: 15px;
    padding: 8px 14px;
  }
}
