/* =========================================================
   Personal Blog Homepage — Recreation of the reference
   magazine/news blog design (→∞ logo, red accent, full-bleed hero)
   ========================================================= */

:root{
  --accent:#D82E2A;          /* NEW badge red  (sample 216,46,42) */
  --accent-2:#FECC66;        /* HOT badge yellow (254,204,102)   */
  --ink:#121212;
  --body:#7a7a7a;
  --line:#e9e9e9;
  --bg:#ffffff;
  --nav-h:76px;
  --maxw:1200px;             /* container width                       */
  --font-head:"Georgia","Times New Roman",serif;   /* strong editorial serif for headlines */
  --font-body:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;
}

*{margin:0;padding:0;box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  font-family:var(--font-body);
  color:var(--ink);
  background:var(--bg);
  line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
img{display:block;max-width:100%;}
a{color:inherit;text-decoration:none;}
ul{list-style:none;}

.container{max-width:var(--maxw);margin:0 auto;padding:0 20px;}

/* ============================ HERO ============================
   Full-bleed background with a transparent navbar overlaid.
   The dark warm-red concert backdrop is replaced by a CSS gradient
   + a layered SVG "crowd / stage lights" art (assets/hero.svg).   */
.hero{
  position:relative;
  min-height:720px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  color:#fff;
  background-color:#111111;
  overflow:hidden;
}
.hero__bg{
  position:absolute;inset:0;z-index:0;
  background:
    radial-gradient(120% 90% at 78% 8%, rgba(255,92,61,.55), transparent 60%),
    radial-gradient(140% 120% at 15% 100%, rgba(190,32,30,.85), transparent 62%),
    linear-gradient(160deg,#381112 0%, #571719 40%, #260b10 100%);
}
.hero__bg svg{width:100%;height:100%;object-fit:cover;opacity:.55;}
.hero__tint{
  position:absolute;inset:0;z-index:1;
  background:linear-gradient(180deg, rgba(0,0,0,.28) 0%, rgba(0,0,0,.10) 45%, rgba(0,0,0,.62) 100%);
}

/* ---------- Navbar ---------- */
.site-header{
  /* sticky frosted-glass navbar that freezes at top on scroll */
  position:sticky;top:0;z-index:100;
}
.nav{
  position:relative;z-index:3;
  height:var(--nav-h);
  display:flex;align-items:center;
  background:rgba(20,12,12,.35);
  backdrop-filter:blur(14px) saturate(150%);
  -webkit-backdrop-filter:blur(14px) saturate(150%);
  border-bottom:1px solid rgba(255,255,255,.12);
}
.nav__inner{display:flex;align-items:center;width:100%;}
.brand{display:flex;align-items:center;gap:11px;margin-right:34px;}
.brand svg{width:40px;height:40px;flex:none;}
.brand span{font-weight:800;font-size:23px;letter-spacing:.5px;}

.menu{display:flex;align-items:center;gap:26px;flex:1;font-weight:600;font-size:14.5px;}
.menu li{position:relative;}
.menu a{display:flex;align-items:center;gap:5px;padding:8px 0;white-space:nowrap;}
.menu .caret{margin-left:3px;font-size:8px;opacity:.85;}
.menu .has-dd{position:relative;}
.has-dd:hover > .dropdown{opacity:1;visibility:visible;transform:translateY(0);}

/* pinned badge on a menu item */
.pin{position:absolute;top:-12px;left:calc(100% - 4px);
  font-size:8.5px;font-weight:800;letter-spacing:.8px;line-height:1;
  padding:3px 6px;border-radius:6px;box-shadow:0 2px 6px rgba(0,0,0,.25);}
.pin--new{background:var(--accent);color:#fff;}
.pin--hot{background:var(--accent-2);color:#111;}

/* dropdown */
.dropdown{
  position:absolute;top:100%;left:0;min-width:200px;
  background:#fff;color:var(--ink);border-radius:10px;
  box-shadow:0 18px 40px rgba(0,0,0,.18);
  opacity:0;visibility:hidden;transform:translateY(8px);
  transition:.2s ease;z-index:50;padding:10px;font-weight:500;font-size:14px;
}
.dropdown a{padding:9px 12px;border-radius:7px;color:#333;}
.dropdown a:hover{background:#f4f3f2;color:var(--accent);}

.nav__tools{display:flex;align-items:center;gap:22px;}
.search{display:flex;align-items:center;gap:7px;font-weight:600;font-size:14px;opacity:.95;}
.search svg{width:17px;height:17px;}
.burger{display:flex;flex-direction:column;gap:5px;cursor:pointer;padding:6px;background:none;border:0;}
.burger span{width:24px;height:2px;background:#fff;border-radius:2px;}

/* ---------- Hero content ---------- */
.hero__body{position:relative;z-index:2;padding:70px 0 40px;max-width:760px;}
.fire-badge{
  width:58px;height:58px;border-radius:50%;
  background:var(--accent);
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 10px 24px rgba(216,46,42,.5);margin-bottom:26px;
}
.fire-badge svg{width:30px;height:30px;}
.hero__headline{
  font-family:var(--font-body);
  font-size:clamp(34px,5vw,58px);
  font-weight:800;line-height:1.12;letter-spacing:-1px;
  text-shadow:0 3px 18px rgba(0,0,0,.45);margin-bottom:26px;
}
.hero__meta{
  display:flex;align-items:center;gap:18px;flex-wrap:wrap;
  font-size:13.5px;color:rgba(255,255,255,.88);
}
.meta-author{display:flex;align-items:center;gap:10px;font-weight:600;color:#fff;}
.avatar{width:40px;height:40px;border-radius:50%;border:2px solid rgba(255,255,255,.6);background:#b0b0b0;overflow:hidden;}
.avatar img{width:100%;height:100%;object-fit:cover;}
.meta-sep{width:4px;height:4px;border-radius:50%;background:rgba(255,255,255,.5);}
.meta-cat{color:#fff;font-weight:600;}
.meta-cat em{font-style:normal;color:var(--accent-2);}

/* ---------- Bottom recommendation strip (over hero) ---------- */
.hero__recs{
  position:relative;z-index:2;
  border-top:1px solid rgba(255,255,255,.16);
  padding:26px 0 34px;
}
.hero__recs .container{display:grid;grid-template-columns:repeat(4,1fr);gap:26px;}
.rec-item{display:flex;align-items:center;gap:16px;color:#fff;}
.rec-thumb{width:74px;height:74px;border-radius:50%;flex:none;overflow:hidden;border:2px solid rgba(255,255,255,.35);box-shadow:0 8px 18px rgba(0,0,0,.35);}
.rec-thumb img{width:100%;height:100%;object-fit:cover;}
.rec-title{font-size:14.5px;font-weight:600;line-height:1.35;color:rgba(255,255,255,.97);transition:.15s;}
.rec-item:hover .rec-title{color:var(--accent-2);}

/* ---------- Intro white section following the hero ---------- */
.section{position:relative;background:#fff;color:var(--ink);}
.section__head{display:flex;align-items:center;justify-content:space-between;padding:56px 0 8px;}
.section__head h2{font-family:var(--font-head);font-size:26px;font-weight:700;position:relative;padding-left:16px;}
.section__head h2::before{content:"";position:absolute;left:0;top:6px;bottom:6px;width:4px;background:var(--accent);border-radius:2px;}
.section__link{font-size:13px;font-weight:700;letter-spacing:.6px;text-transform:uppercase;color:var(--accent);}

.featured{display:grid;grid-template-columns:2fr 1fr;gap:26px;padding:22px 0 70px;}
.card{background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden;transition:.25s;}
.card:hover{transform:translateY(-4px);box-shadow:0 22px 40px rgba(0,0,0,.08);}
.card img{width:100%;height:230px;object-fit:cover;}
.card__body{padding:20px;}
.card__cat{font-size:11px;font-weight:800;letter-spacing:1.4px;text-transform:uppercase;color:var(--accent);margin-bottom:8px;}
.card h3{font-family:var(--font-head);font-size:21px;line-height:1.25;margin-bottom:8px;}
.card p{color:var(--body);font-size:14.5px;}
.card__meta{display:flex;align-items:center;gap:12px;font-size:12.5px;color:#9a9a9a;margin-top:14px;}

.grid-sm{display:grid;grid-template-columns:1fr 1fr;gap:26px;}
.stack{display:flex;flex-direction:column;gap:26px;}

footer{background:#151010;color:#cfc8c8;padding:34px 0;text-align:center;font-size:13px;border-top:3px solid var(--accent);}

/* ---------- Responsive ---------- */
@media(max-width:960px){
  .menu{display:none;}
  .hero__recs .container{grid-template-columns:repeat(2,1fr);}
  .featured{grid-template-columns:1fr;}
  .grid-sm{grid-template-columns:1fr;}
}
@media(max-width:560px){
  .hero__recs .container{grid-template-columns:1fr;}
  .brand span{display:none;}
}
