/* ====== DAVRIY NASHRLAR — Modern UI (B variant) ====== */

:root{
  --bg1:#f8fafc;
  --bg2:#eef2ff;
  --card:#ffffffcc;
  --stroke:#b3cae8;
  --text:#0f172a;
  --muted:#64748b;
  --btn:#0f172a;
  --btnText:#fff;
  --chip:#ffffff;
  --chipStroke:#839ec6;
  --shadow: 0 10px 30px rgba(15, 23, 42, .08);
  --shadow2: 0 6px 16px rgba(15, 23, 42, .08);
  --r: 22px;
}

*{ box-sizing:border-box; }
html,body{ margin:0; padding:0; font-family: system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif; color:#162a59; var(--text); }

body{
  background:
    radial-gradient(1200px 600px at 20% 0%, rgba(96,165,250,.20), transparent 60%),
    radial-gradient(900px 500px at 80% 10%, rgba(167,139,250,.20), transparent 55%),
    linear-gradient(to bottom, var(--bg1), var(--bg2));
}

a{ color:inherit; text-decoration:none; }
.container{ max-width:1200px; margin:0 auto; padding:22px 16px; }

/* Header */
.header{
  background:var(--card);
  border:1px solid var(--stroke);
  border-radius:28px;
  box-shadow:var(--shadow);
  backdrop-filter: blur(10px);
  padding:16px 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:260px;
}

.brand .logo{
  width:48px; height:48px;
  display:block;
  animation: floatLogo 2.8s ease-in-out infinite;
}

@keyframes floatLogo{
  0%{ transform: translateY(0) rotate(0deg); }
  40%{ transform: translateY(-3px) rotate(-1deg); }
  70%{ transform: translateY(0) rotate(1deg); }
  100%{ transform: translateY(0) rotate(0deg); }
}

.brand .title{
  font-weight:900;
  letter-spacing:.2px;
  font-size:22px;
  line-height:1.15;
}
.brand .tagline{
  font-size:13px;
  color:var(--muted);
  margin-top:2px;
}

/* Search: top-right */
.searchWrap{
  display:flex;
  align-items:center;
  gap:10px;
  width:460px;
  max-width:100%;
}

.searchWrap input{
  width:100%;
  height:44px;
  border-radius:18px;
  border:1px solid var(--stroke);
  padding:0 14px;
  outline:none;
  background:#fff;
}
.searchWrap button{
  height:44px;
  border:none;
  border-radius:18px;
  padding:0 16px;
  background:var(--btn);
  color:var(--btnText);
  font-weight:700;
  cursor:pointer;
  box-shadow: 0 6px 14px rgba(15,23,42,.10);
}
.searchWrap button:hover{ opacity:.95; }

/* Layout */
.grid{
  display:grid;
  grid-template-columns: 340px 1fr;
  gap:18px;
  margin-top:18px;
}

.card{
  background:var(--card);
  border:1px solid var(--stroke);
  border-radius:28px;
  box-shadow:var(--shadow2);
  backdrop-filter: blur(10px);
}

.sidebar{ padding:16px; }
.sidebar h3{
  margin:0 0 12px 0;
  font-size:20px;
  font-weight:900;
}

.menuGrid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:10px;
}

.menuBtn{
  border:1px solid var(--chipStroke);
  background: #ffffffb8;
  border-radius:18px;
  padding:12px 12px;
  font-weight:700;
  text-align:center;
  cursor:pointer;
  transition: .15s ease;
}
.menuBtn:hover{ transform: translateY(-1px); box-shadow: 0 10px 20px rgba(15,23,42,.06); }
.menuBtn.active{
  border-color: rgba(1,2,26,.40);
  background: rgba(169,142,229,.55);
}

.sidebarFooter{
  margin-top:14px;
  padding-top:14px;
  border-top:1px dashed var(--stroke);
  font-size:12px;
  color:var(--muted);
  line-height:1.55;
}

/* www.uz counter: only image, animated */
.counterWrap{
  display:flex;
  justify-content:center;
  margin-bottom:10px;
}
.counterWrap a{ display:inline-block; animation: floatLogo 0s ease-in-out infinite; }
.counterWrap img{ height:25px; width:auto; display:block; border:0; }

/* Main */
.main{ padding:18px; }

.topInfo{
  display:grid;
  grid-template-columns: 260px 1fr;
  gap:18px;
}

.cover{
  border-radius:22px;
  overflow:hidden;
  border:1px solid var(--stroke);
  background:#fff;
  box-shadow: 0 10px 22px rgba(15,23,42,.08);
  min-height:260px;
}
.cover img{ width:100%; height:100%; object-fit:cover; display:block; }

.meta .metaTitle{
  font-weight:700;
  margin:0 0 8px 0;
}
.meta p{
  margin:26px 0px;
  font-weight:400;
}
.meta hr{
  margin:12px 0;
  border:none;
  border-top:1px dashed var(--stroke);
}
.hint{
  font-weight:800;
  margin:0 0 24px 0;
  color:#0576e5 ;
}
.badges{ display:flex; gap:10px; flex-wrap:wrap; }
.badge{
  background:#471d7dc7;
  border:1px solid var(--stroke);
  padding:6px 10px;
  border-radius:999px;
  font-size:12px;
  color:#fff;
  font-weight:600;
}

.yearBlock{ margin-top:16px; }
.yearTitle{
  font-size:20px;
  font-weight:900;
  margin:0 0 10px 0;
}

.issuesGrid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap:12px;
}

.issueBtn{
  background:#fff;
  border:1px solid var(--chipStroke);
  border-radius:18px;
  padding:14px 16px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  cursor:pointer;
  transition:.15s ease;
  box-shadow: 0 10px 16px rgba(15,23,42,.04);
}
.issueBtn:hover{ transform: translateY(-2px); box-shadow: 0 14px 22px rgba(15,23,42,.08); }
.issueNo{ font-weight:480; }
.issueViews{ font-size:12px; color:var(--muted); font-weight:800; }

/* footer */
.siteFooter{
  text-align:center;
  margin-top:18px;
  color: #000000var(--muted);
  font-size:13px;
  font-weight:600;
}
.siteFooter b{ color:#334155; }

/* responsive */
@media (max-width: 1050px){
  .issuesGrid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px){
  .grid{ grid-template-columns: 1fr; }
  .topInfo{ grid-template-columns: 1fr; }
  .brand{ min-width:auto; }
  .searchWrap{ width:100%; }
}

/* ===== STATIC BACKGROUND ===== */

.bg-fixed{
  position: fixed;   /* harakatlanmaydi */
  inset: 0;          /* butun ekran */
  z-index: -1;       /* hamma narsani orqasida */
  pointer-events: none;

  background-image: url("2.jpg"); /* fon rasmi */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}


/* ustidan shaffof oq qatlam */
.bg-fixed::after{
  content:"";
  position:absolute;
  inset:0;

  background: rgba(255,255,255,0.55); /* shaffoflik */
}