
/* MZ News Radar - Final UI Improvements */
:root{
  --mz-bg:#06111f;
  --mz-card:#0d2138;
  --mz-card2:#102943;
  --mz-line:rgba(143,220,255,.16);
  --mz-text:#eef7ff;
  --mz-muted:#9bc7df;
  --mz-blue:#1baaff;
  --mz-blue2:#246bff;
  --mz-cyan:#19d4ff;
  --mz-radius:24px;
}

/* صفحة أخف وأريح */
body{
  background:
    radial-gradient(circle at 85% 5%, rgba(31,157,255,.14), transparent 34%),
    linear-gradient(180deg,#06111f 0%,#08243a 48%,#06111f 100%) !important;
}

/* الهيدر */
.topbar{
  background:rgba(5,13,25,.92)!important;
  backdrop-filter:blur(18px);
  border-bottom:1px solid var(--mz-line)!important;
  box-shadow:0 10px 35px rgba(0,0,0,.20);
}
.topbar-inner{
  max-width:1500px!important;
  padding:18px 26px!important;
  gap:18px!important;
}
.brand, .mz-brand-link{
  min-width:260px;
}
.brand-mark{
  box-shadow:0 0 0 1px rgba(255,255,255,.08),0 14px 34px rgba(27,170,255,.24)!important;
}
.mz-brand-text strong,.brand strong{
  font-size:34px!important;
  line-height:1.05!important;
}
.mz-brand-text small,.brand small{
  font-size:14px!important;
  color:#8fdcff!important;
}
.main-nav{
  gap:10px!important;
  flex-wrap:wrap!important;
}
.main-nav a,.topbar a:not(.brand):not(.mz-brand-link),.menu-toggle{
  background:rgba(255,255,255,.065)!important;
  border:1px solid rgba(255,255,255,.10)!important;
  color:#f4fbff!important;
  padding:13px 20px!important;
  border-radius:18px!important;
  font-weight:900!important;
  transition:.18s ease!important;
}
.main-nav a:hover,.topbar a:not(.brand):not(.mz-brand-link):hover,.menu-toggle:hover{
  background:linear-gradient(135deg,var(--mz-blue),var(--mz-blue2))!important;
  transform:translateY(-1px);
}

/* شريط المؤشرات */
.market-strip,.stats-strip,.market-cards,.ticker-metrics{
  max-width:1500px!important;
  margin-inline:auto!important;
}
.market-strip > *, .market-card, .metric-card{
  border-radius:20px!important;
  border:1px solid var(--mz-line)!important;
  background:linear-gradient(180deg,rgba(17,52,84,.86),rgba(10,31,52,.86))!important;
  box-shadow:none!important;
}

/* الشريط العاجل */
.breaking,.ticker,.news-ticker{
  max-width:1500px!important;
  margin:12px auto!important;
  border-radius:20px!important;
  overflow:hidden!important;
  border:1px solid var(--mz-line)!important;
  background:rgba(6,17,31,.78)!important;
}
.breaking strong,.ticker strong,.news-ticker strong{
  background:#ef4444!important;
  padding:14px 24px!important;
  border-radius:18px 0 0 18px!important;
}
.ticker span,.news-ticker span{
  display:inline-block;
  white-space:nowrap;
  animation:mzTickerMove 34s linear infinite;
}
@keyframes mzTickerMove{
  from{transform:translateX(-15%)}
  to{transform:translateX(100%)}
}

/* الهيرو والأخبار */
.hero,.home-hero,.featured-news,.lead-story{
  max-width:1500px!important;
  margin:18px auto!important;
  border-radius:26px!important;
  overflow:hidden!important;
  border:1px solid var(--mz-line)!important;
  min-height:360px!important;
  box-shadow:0 22px 70px rgba(0,0,0,.24)!important;
}
.hero img,.home-hero img,.featured-news img,.lead-story img{
  object-fit:cover!important;
  filter:brightness(.72) saturate(1.04)!important;
}
.hero h1,.home-hero h1,.featured-news h1,.lead-story h1{
  font-size:clamp(30px,4vw,56px)!important;
  line-height:1.32!important;
  text-shadow:0 5px 20px rgba(0,0,0,.45);
}
.hero p,.home-hero p,.featured-news p,.lead-story p{
  color:#d7ecff!important;
  font-size:clamp(16px,1.55vw,22px)!important;
}

/* البحث والفلاتر */
.filters,.search-panel,.filter-panel{
  max-width:1500px!important;
  margin:18px auto!important;
  background:rgba(13,33,56,.88)!important;
  border:1px solid var(--mz-line)!important;
  border-radius:24px!important;
  padding:16px!important;
}
.filters input,.filters select,.search-panel input,.search-panel select{
  background:#07111f!important;
  border:1px solid rgba(255,255,255,.09)!important;
  color:#fff!important;
  border-radius:17px!important;
  min-height:54px!important;
}
.filters button,.search-panel button,.btn.primary{
  background:linear-gradient(135deg,var(--mz-blue),var(--mz-blue2))!important;
  border:0!important;
  border-radius:17px!important;
  color:#fff!important;
  font-weight:900!important;
}

/* الكروت */
.grid,.news-grid,.cards-grid{
  max-width:1500px!important;
  margin:18px auto!important;
  gap:22px!important;
}
.card,.news-card,article.card{
  background:linear-gradient(180deg,rgba(16,41,67,.96),rgba(9,27,46,.96))!important;
  border:1px solid var(--mz-line)!important;
  border-radius:24px!important;
  overflow:hidden!important;
  box-shadow:0 18px 55px rgba(0,0,0,.20)!important;
  transition:.18s ease!important;
}
.card:hover,.news-card:hover,article.card:hover{
  transform:translateY(-3px);
  border-color:rgba(31,180,255,.34)!important;
}
.card h2,.news-card h2,article.card h2{
  font-size:clamp(22px,1.7vw,30px)!important;
  line-height:1.35!important;
}
.card p,.news-card p,article.card p{
  color:#b9d7eb!important;
  line-height:1.9!important;
}
.thumb,.card .thumb{
  min-height:230px!important;
  background:#07111f!important;
}
.thumb span{
  background-image:url('../images/brand/mz_news_logo.png')!important;
  background-size:cover!important;
  background-position:center!important;
  color:transparent!important;
  font-size:0!important;
}

/* الجانب */
.sidebar,.side-panel,.most-read,.follow-panel{
  background:rgba(13,33,56,.82)!important;
  border:1px solid var(--mz-line)!important;
  border-radius:24px!important;
}
.sidebar a,.most-read a{
  color:#eef7ff!important;
}

/* زر الأدمن الجديد */
.admin-stable-card{
  background:linear-gradient(180deg,#102943,#091b2e);
  border:1px solid rgba(143,220,255,.18);
  border-radius:24px;
  padding:22px;
  margin:18px 0;
}
.admin-stable-actions{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.admin-stable-actions a,.admin-stable-actions button{
  background:linear-gradient(135deg,#1baaff,#246bff);
  color:#fff;
  border:0;
  border-radius:14px;
  padding:11px 16px;
  font-weight:900;
  text-decoration:none;
  cursor:pointer;
}

/* موبايل */
@media(max-width:900px){
  .topbar-inner{
    padding:12px 14px!important;
    align-items:flex-start!important;
  }
  .brand,.mz-brand-link{
    min-width:auto!important;
  }
  .mz-brand-text strong,.brand strong{
    font-size:25px!important;
  }
  .main-nav{
    overflow-x:auto!important;
    flex-wrap:nowrap!important;
    width:100%!important;
    padding-bottom:6px!important;
  }
  .main-nav a{
    white-space:nowrap!important;
    padding:11px 15px!important;
  }
  .hero,.home-hero,.featured-news,.lead-story{
    min-height:280px!important;
    margin:12px!important;
    border-radius:22px!important;
  }
  .filters,.search-panel,.filter-panel,.grid,.news-grid,.cards-grid{
    margin:12px!important;
  }
  .grid,.news-grid,.cards-grid{
    grid-template-columns:1fr!important;
  }
  .thumb,.card .thumb{
    min-height:210px!important;
  }
}

/* إزالة الزحام */
.storage-banner,.debug-note,.admin-note,.install-warning{
  display:none!important;
}
