  :root{
      --bg1:#080001; --bg2:#2a2b2b; --text:#fff; --accent:#ff6f61; --soft:#8bc0fd;
    }
    *{box-sizing:border-box}
    body{
      font-family:'Tajawal',system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
      background:linear-gradient(to bottom,var(--bg1),var(--bg2));
      color:var(--text); margin:0; font-weight:700;
    }

    #particles-js{position:fixed; inset:0; z-index:-1; opacity:.4}

    header{position:sticky; top:0; backdrop-filter:saturate(140%) blur(6px);
      background:rgba(0,0,0,.25); border-bottom:1px solid rgba(255,255,255,.08); z-index:20}
    .header-container{padding:10px 14px}
    .brand{display:flex; align-items:center; gap:10px}
    .brand h1{margin:0; font-size:22px; letter-spacing:.5px}
    .toolbar{display:flex; gap:12px; align-items:center; margin-top:8px; flex-wrap:wrap}
    #search-box{
      flex:1 1 260px; min-width:180px;
      border:2px solid #444; border-radius:10px; padding:10px 12px; font-weight:600;
      background:#111; color:#fff;
    }
    #time,#date{font-size:13px; color:var(--soft); font-style:italic}
    #weather{display:flex; align-items:center; gap:6px; color:#d7fd00; font-weight:800}

    .ticker{overflow:hidden; position:relative; background:linear-gradient(90deg,#ff7043,#ff5722);
      padding:8px 0; box-shadow:0 4px 10px rgba(0,0,0,.25)}
    .ticker-content{display:flex; gap:30px; white-space:nowrap; will-change:transform; animation:tkr 60s linear infinite}
    .ticker a{color:#fff; text-decoration:none; font-weight:800}
    .ticker a:hover{color:#f4e97c}
    @keyframes tkr{0%{transform:translateX(0)}100%{transform:translateX(-50%)}}

    .icon-bar{display:flex; gap:16px; align-items:center; justify-content:space-evenly; padding:8px;
      border-bottom:1px solid rgba(255,255,255,.06)}
    .icon-bar i{font-size:28px; cursor:pointer; transition:transform .2s,color .2s}
    .icon-bar i:hover{transform:scale(1.1); color:#ffd35a}
    .icon-text{display:block; font-size:12px; text-align:center; margin-top:4px; font-weight:800}

    main{padding:14px}
    #filter-area{display:flex; gap:8px; align-items:center; flex-wrap:wrap; margin-bottom:10px}
    #source-filter{
      padding:8px 10px; border-radius:8px; border:2px solid #444; background:#111; color:#fff; font-weight:800
    }

    #headlines{list-style:none; padding:0; margin:16px 0}
    #headlines li{
      background:#111; border:1px solid #2a2a2a; border-radius:10px; padding:12px; margin-bottom:12px;
      display:grid; grid-template-columns:1fr auto; gap:6px; transition:transform .2s, box-shadow .2s
    }
    #headlines li:hover{transform:translateY(-1px); box-shadow:0 6px 16px rgba(0,0,0,.25)}
    .headline-link{color:#eaeaea; text-decoration:none; font-weight:900; line-height:1.5}
    .headline-link:hover{color:#f8ee5c}
    .headline-meta{display:flex; gap:10px; align-items:center; color:#82adff; font-size:12px; grid-column:1/-1}
    .headline-source{color:#03dac6; font-size:12px; font-weight:900}
    .share-btn{border:none; background:transparent; color:#5fa8f5; cursor:pointer; font-weight:900}
    .share-btn:hover{color:#2e79d8}
    .visited{color:#8b8b8b !important}

    #scroll-to-top{
      position:fixed; bottom:18px; right:18px; display:none; border:none;
      background:rgba(0,123,255,.45); color:#fff; width:42px; height:42px; border-radius:50%;
      font-size:18px; cursor:pointer; box-shadow:0 6px 14px rgba(0,0,0,.25)
    }
    #scroll-to-top:hover{background:rgba(0,86,179,.6); transform:scale(1.05)}

    @media (max-width:768px){
      .ticker-content{animation-duration:40s}
      .brand h1{font-size:18px}
    }

    footer{padding:24px 12px; text-align:center; color:#bbb; border-top:1px solid rgba(255,255,255,.06)}