:root{
  /* Logo palette */
  --red:#EF1623;
  --red-dark:#AD2A34;
  --blue:#0C0A5B;
  --blue-deep:#050438;
  --orange:#E85C27;
  --gold:#DF892C;
  --bg:#05060a;
  --glass: rgba(10, 14, 25, 0.55);
  --glass-strong: rgba(8, 10, 20, 0.75);
  --text:#EAF0FF;
  --muted:#9FB0D6;
  --glow: 0 0 24px rgba(0,255,255,.25), 0 0 60px rgba(80,160,255,.18);
}

*{box-sizing:border-box}
body{
  margin:0;
  font-family: "Tajawal", system-ui, Arial;
  color:var(--text);
  background: radial-gradient(1200px 800px at 15% -10%, rgba(12,10,91,.55), transparent 60%),
              radial-gradient(900px 700px at 95% 10%, rgba(239,22,35,.35), transparent 50%),
              var(--bg);
  overflow-x:hidden;
}

/* Three canvas fixed */
#bg-canvas{
  position:fixed; inset:0; z-index:-2;
}

/* Glow Bar top */
.top-glow-bar{
  height:3px;
  background: linear-gradient(90deg, transparent, var(--red), var(--orange), var(--gold), transparent);
  box-shadow: 0 0 20px rgba(239,22,35,.9);
}

/* Glass utilities */
.glass-card, .glass-nav, .glass-footer{
  background: var(--glass);
  border: 1px solid rgba(255,255,255,.06);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 40px rgba(0,0,0,.45);
  border-radius: 18px;
}

.glow-border{
  position:relative;
}
.glow-border::after{
  content:"";
  position:absolute; inset:-1px;
  border-radius: inherit;
  padding:1px;
  background: linear-gradient(135deg, rgba(0,255,255,.9), rgba(80,160,255,.3), rgba(239,22,35,.6));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  filter: drop-shadow(0 0 18px rgba(0,255,255,.35));
  pointer-events:none;
}

/* Navbar */
.glass-nav{
  border-radius:0 0 18px 18px;
}
.brand-logo{
  width:56px;height:56px;object-fit:contain;
  filter: drop-shadow(0 0 10px rgba(239,22,35,.7));
}
.brand-title{
  font-weight:800; letter-spacing:2px; font-size:1.1rem;
  text-transform:uppercase;
}
.brand-sub{
  font-size:.72rem; letter-spacing:2px; color:var(--muted);
}

.nav-link{
  font-weight:700; opacity:.85;
}
.nav-link:hover{opacity:1; text-shadow:var(--glow)}
.nav-link.active{color:#fff; text-shadow:0 0 12px rgba(0,255,255,.7)}

/* Live dot */
.live-dot{
  width:8px;height:8px;border-radius:50%;
  background:var(--red); box-shadow:0 0 10px var(--red), 0 0 25px var(--red);
  animation:pulse 1.2s infinite;
}
.live-text{font-weight:800}

@keyframes pulse{
  0%,100%{transform:scale(1)}
  50%{transform:scale(1.8)}
}

/* Search */
.search-wrap{
  display:flex; align-items:center; gap:8px;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.08);
  padding:6px 10px; border-radius:12px;
}
.search-wrap input{
  background:transparent;border:none;outline:none;color:#fff;width:170px;
}
.search-wrap i{color:var(--muted)}

/* Ticker */
.ticker-wrap{
  display:grid;
  grid-template-columns:auto 1fr auto;
  gap:12px; align-items:center;
  padding:8px 14px;
  background: var(--glass-strong);
  border-bottom:1px solid rgba(255,255,255,.06);
}
.ticker-label{
  font-weight:900;
  padding:6px 10px;border-radius:8px;
  background:linear-gradient(90deg, var(--red), var(--orange));
  color:#fff; letter-spacing:1px;
  box-shadow:0 0 16px rgba(239,22,35,.8);
}
.ticker{
  overflow:hidden; position:relative; height:28px;
}
.ticker-track{
  display:flex; gap:40px; white-space:nowrap;
  animation: scroll 28s linear infinite;
}
@keyframes scroll{
  from{transform:translateX(0)}
  to{transform:translateX(-50%)}
}
.ticker-item{
  font-weight:700; color:#fff; opacity:.95;
}
.ticker-time{color:var(--muted); font-size:.9rem}

/* Hero */
.hero-section{position:relative}
.hero-main{height:440px; overflow:hidden; position:relative}
.hero-img{width:100%; height:100%; object-fit:cover; transform:scale(1.04)}
.hero-overlay{
  position:absolute; inset:0;
  background: linear-gradient(180deg, transparent 10%, rgba(0,0,0,.25) 40%, rgba(0,0,0,.75) 100%);
}
.hero-content{
  position:absolute; left:24px; right:24px; bottom:22px;
}
.hero-title{
  font-family:Newsreader, "Tajawal", serif; font-weight:800;
  font-size:2.3rem; line-height:1.1;
  text-shadow:0 4px 30px rgba(0,0,0,.8);
}
.hero-desc{max-width:75%; color:#e8ecf8; opacity:.9}
.hero-meta{display:flex; gap:14px; color:var(--muted); font-size:.95rem}

/* Buttons */
.btn-glow{
  background:linear-gradient(135deg, var(--blue), #1c64ff);
  border:none; color:white; font-weight:800;
  box-shadow:0 0 18px rgba(80,160,255,.6);
}
.btn-glow:hover{transform:translateY(-1px); box-shadow:0 0 28px rgba(80,160,255,.9)}
.btn-ghost{
  background:rgba(255,255,255,.06); border:1px solid rgba(255,255,255,.1);
  color:#fff; font-weight:800;
}
.btn-ghost:hover{text-shadow:var(--glow)}

/* Side mini cards */
.stacked-cards{display:flex; flex-direction:column; gap:12px}
.mini-card{padding:14px 14px; transition:.3s}
.mini-card:hover{transform:translateY(-3px) rotateX(2deg); box-shadow:var(--glow)}
.mini-tag{
  font-size:.72rem; color:var(--gold); font-weight:900; letter-spacing:1.2px;
}
.mini-card h3{font-size:1.1rem; margin:.3rem 0}
.mini-card p{color:var(--muted); margin:0}

/* Widgets */
.widget-card{padding:12px 12px}
.widget-header{display:flex; justify-content:space-between; align-items:center}
.widget-header h4{font-size:1rem; margin:0}
.widget-body{margin-top:8px; display:grid; gap:8px}
.rate-row, .weather-row{
  display:flex; justify-content:space-between; align-items:center;
  padding:8px 10px; border-radius:10px;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.06);
}

/* Windy map wrapper */
.windy-wrap{
  width:100%;
  height:280px;
  border-radius:12px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.08);
  box-shadow: 0 0 18px rgba(80,160,255,.25);
}
.windy-wrap iframe{
  width:100%;
  height:100%;
}

/* Section head */
.section-head{
  display:flex; align-items:center; gap:12px;
}
.section-title{
  font-family:Newsreader, "Tajawal", serif;
  font-size:1.8rem; margin:0
}
.section-line{
  flex:1; height:1px;
  background:linear-gradient(90deg, var(--red), transparent);
  opacity:.6;
}

/* Latest cards */
.news-card{
  height:100%; overflow:hidden; position:relative; padding:0;
  transition: transform .35s ease, box-shadow .35s ease;
  transform-style:preserve-3d;
}
.news-card:hover{
  transform:translateY(-6px) rotateX(6deg) rotateY(4deg);
  box-shadow: 0 0 25px rgba(0,255,255,.2), 0 0 70px rgba(239,22,35,.15);
}
.news-thumb{width:100%; height:190px; object-fit:cover}
.news-body{padding:12px 14px}
.news-cat{
  font-size:.72rem; font-weight:900; letter-spacing:1.2px;
  color:var(--gold);
}
.news-title{font-weight:900; font-size:1.08rem; margin:.35rem 0}
.news-excerpt{color:var(--muted); font-size:.95rem}
.news-meta{color:var(--muted); font-size:.85rem; display:flex; gap:10px}

/* Categories strip */
.category-strip{
  display:flex; gap:8px; padding:8px; overflow:auto;
}
.cat-pill{
  padding:7px 14px; border-radius:999px; cursor:pointer; user-select:none;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.08);
  font-weight:800; white-space:nowrap;
}
.cat-pill.active{
  background:linear-gradient(90deg, var(--red), var(--orange));
  box-shadow:0 0 16px rgba(239,22,35,.8);
}

/* Editorial */
.editorial-card{padding:16px}
.editorial-card h3{
  font-family:Newsreader, "Tajawal", serif;
  font-weight:800
}
.byline{color:var(--muted); font-size:.9rem}
.muted{color:var(--muted)}

/* Footer */
.glass-footer{
  border-radius:18px 18px 0 0;
}
.footer-logo{width:48px;height:48px;object-fit:contain}
.socials a{
  color:#fff; font-size:1.2rem; margin-right:10px; opacity:.8
}
.socials a:hover{opacity:1; text-shadow:var(--glow)}
/******************************
 * AD SLOT (LEFT COLUMN)
 ******************************/
.ad-left-slot{
  width:100%;
}

/******************************
 * AD BANNER (PUBLICITÉ) — ULTRA BIG (fills big void)
 ******************************/
.ad-banner{
  position:relative;
  padding:26px 26px;
  overflow:hidden;
  min-height:520px;

  /* Palette-based background */
  background:
    radial-gradient(1200px 420px at 0% 0%,
      rgba(239,22,35,.55), transparent 60%),
    radial-gradient(1100px 420px at 100% 100%,
      rgba(232,92,39,.45), transparent 65%),
    radial-gradient(900px 380px at 50% -10%,
      rgba(12,10,91,.55), transparent 60%),
    var(--glass-strong);

  border:1px solid rgba(255,255,255,.06);
  box-shadow: 0 12px 50px rgba(0,0,0,.55);
  border-radius:18px;
}

.ad-badge{
  display:inline-flex;
  align-items:center;
  font-weight:900;
  letter-spacing:1.4px;
  font-size:.85rem;
  padding:8px 14px;
  border-radius:999px;

  /* Use your logo gradient */
  background:linear-gradient(90deg, var(--red), var(--orange));
  color:#fff;
  box-shadow: 0 0 16px rgba(239,22,35,.7), 0 0 30px rgba(232,92,39,.35);
}

.ad-grid{
  display:grid;
  grid-template-columns: 1.35fr .65fr;
  gap:22px;
  align-items:stretch;
  margin-top:16px;
  height:100%;
}

.ad-left{
  padding:8px 6px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.ad-title{
  font-weight:900;
  font-size:2.1rem;
  line-height:1.12;
  color:var(--text);
  margin-bottom:12px;
  text-shadow: 0 6px 30px rgba(0,0,0,.65);
}

.ad-sub{
  color:var(--muted);
  font-size:1.18rem;
  max-width:98%;
  margin-bottom:20px;
}

.ad-meta{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  margin-bottom:22px;
}

.ad-meta-pill{
  font-size:1rem;
  font-weight:800;
  padding:8px 14px;
  border-radius:999px;

  /* Glass look, readable text */
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  color:var(--text);

  box-shadow: inset 0 0 0 1px rgba(255,255,255,.03);
}

.ad-cta{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:14px 20px;
  border-radius:14px;
  width:fit-content;
  font-size:1.06rem;
  font-weight:900;
}

/* BIG visual block */
.ad-right{
  position:relative;
  height:460px;
  border-radius:18px;
  overflow:hidden;

  border:1px solid rgba(255,255,255,.12);
  box-shadow:
    0 0 28px rgba(239,22,35,.35),
    0 0 70px rgba(12,10,91,.25);
}

.ad-img{
  width:100%;
  height:100%;
  object-fit:cover;
  transform:scale(1.06);
  transition: opacity .25s ease, transform .7s ease;
}

.ad-banner:hover .ad-img{
  transform:scale(1.12);
}

.ad-sheen{
  position:absolute;
  inset:-45%;

  /* Sheen blended from your palette */
  background:conic-gradient(
    from 180deg,
    transparent,
    rgba(12,10,91,.55),
    rgba(239,22,35,.70),
    rgba(232,92,39,.55),
    transparent 45%
  );

  animation: adSheen 7s linear infinite;
  pointer-events:none;
  mix-blend-mode:screen;
  opacity:.9;
}

@keyframes adSheen{
  0%{transform:translateX(-22%) rotate(0deg);}
  100%{transform:translateX(22%) rotate(360deg);}
}

@media (max-width: 992px){
  .ad-banner{ min-height:auto; padding:18px; }
  .ad-grid{ grid-template-columns: 1fr; }
  .ad-right{ height:260px; }
  .ad-title{ font-size:1.6rem; }
}
