/* Resident Evil Hub — bright landing */
/* Fonts: Russo One (headings), Inter (text) */
:root{
  --bg:#07050a;
  --panel:#0d0a12;
  --panel2:#120d1a;
  --text:#f3f4f6;
  --muted:#b6b9c3;
  --line:rgba(255,255,255,.08);

  --red:#ff2e3d;
  --pink:#ff4fd8;
  --cyan:#21d4ff;
  --lime:#9dff5a;
  --amber:#ffcc4a;

  --shadow: 0 20px 60px rgba(0,0,0,.55);
  --radius: 18px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background: radial-gradient(1000px 600px at 20% 10%, rgba(255,46,61,.16), transparent 55%),
              radial-gradient(900px 550px at 80% 10%, rgba(33,212,255,.14), transparent 55%),
              radial-gradient(1100px 700px at 50% 100%, rgba(255,79,216,.10), transparent 60%),
              var(--bg);
  overflow-x:hidden;
}

a{color:inherit;text-decoration:none}
.container{width:min(1120px, calc(100% - 40px)); margin:0 auto}

.bg-glow{
  position:fixed;
  inset:-200px;
  background:
    radial-gradient(600px 600px at 10% 15%, rgba(255,46,61,.25), transparent 60%),
    radial-gradient(700px 700px at 90% 15%, rgba(33,212,255,.18), transparent 60%),
    radial-gradient(900px 700px at 50% 100%, rgba(255,79,216,.14), transparent 60%);
  filter: blur(35px);
  opacity:.85;
  pointer-events:none;
  z-index:-1;
}

/* Header */
.header{
  position:sticky;
  top:0;
  z-index:20;
  backdrop-filter: blur(14px);
  background: linear-gradient(to bottom, rgba(7,5,10,.78), rgba(7,5,10,.38));
  border-bottom: 1px solid var(--line);
}
.header__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
  gap:16px;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
}
.brand__mark{
  width:42px;height:42px;
  display:grid;place-items:center;
  font-family:"Russo One", sans-serif;
  letter-spacing:.5px;
  border-radius:14px;
  background: linear-gradient(135deg, rgba(255,46,61,.9), rgba(255,79,216,.65));
  box-shadow: 0 12px 30px rgba(255,46,61,.16);
  border:1px solid rgba(255,255,255,.14);
}
.brand__text{display:flex;flex-direction:column;line-height:1.05}
.brand__title{
  font-family:"Russo One", sans-serif;
  font-size:16px;
}
.brand__tag{
  font-size:12px;
  color:var(--muted);
}
.brand--small .brand__mark{width:36px;height:36px;border-radius:12px}
.brand--small .brand__title{font-size:14px}

.nav{
  display:flex;
  align-items:center;
  gap:18px;
}
.nav a{
  color:rgba(243,244,246,.92);
  font-weight:600;
  font-size:14px;
  opacity:.9;
}
.nav a:hover{opacity:1}
.burger{
  display:none;
  width:42px;height:42px;
  border-radius:14px;
  border:1px solid var(--line);
  background: rgba(13,10,18,.6);
  box-shadow: var(--shadow);
  cursor:pointer;
}
.burger span{
  display:block;
  height:2px;
  width:18px;
  background: rgba(243,244,246,.9);
  margin:5px auto;
  border-radius:999px;
}
.mobileNav{
  border-top: 1px solid var(--line);
  background: rgba(7,5,10,.85);
  padding:12px 20px 16px;
}
.mobileNav a{
  display:block;
  padding:10px 6px;
  color:rgba(243,244,246,.92);
  font-weight:700;
}
.mobileNav a + a{border-top:1px dashed rgba(255,255,255,.08)}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 16px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.16);
  background: linear-gradient(135deg, rgba(255,46,61,.92), rgba(255,79,216,.74));
  box-shadow: 0 18px 40px rgba(255,46,61,.18);
  font-weight:800;
  letter-spacing:.2px;
  cursor:pointer;
}
.btn:hover{transform: translateY(-1px)}
.btn--ghost{
  background: rgba(13,10,18,.55);
  box-shadow: 0 16px 40px rgba(0,0,0,.35);
}
.btn--sm{padding:10px 12px; border-radius:12px; font-size:13px}
.btn--block{width:100%}

/* Hero */
.hero{padding:34px 0 18px}
.hero__grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:26px;
  align-items:start;
}
.kicker{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:14px}
.pill{
  font-size:12px;
  font-weight:800;
  padding:8px 10px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(13,10,18,.55);
}
.pill--alt{background: rgba(33,212,255,.12); border-color: rgba(33,212,255,.22)}
.pill--alt2{background: rgba(157,255,90,.10); border-color: rgba(157,255,90,.18)}

.hero__title{
  margin:0;
  font-family:"Russo One", sans-serif;
  font-size: clamp(30px, 4vw, 48px);
  line-height:1.05;
  letter-spacing:.2px;
}
.accent{
  background: linear-gradient(90deg, var(--red), var(--pink), var(--cyan));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.hero__lead{
  margin:14px 0 18px;
  color:rgba(243,244,246,.88);
  line-height:1.6;
  max-width: 60ch;
}
.hero__actions{display:flex;gap:12px;flex-wrap:wrap}
.stats{
  margin-top:16px;
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:10px;
}
.stat{
  padding:12px 12px;
  border-radius: var(--radius);
  border:1px solid var(--line);
  background: rgba(13,10,18,.55);
}
.stat__num{font-size:18px}
.stat__label{font-size:12px;color:var(--muted);margin-top:4px;line-height:1.35}

.hero__media{display:flex;flex-direction:column;gap:12px}
.frame{
  border-radius: 22px;
  border:1px solid rgba(255,255,255,.14);
  background: linear-gradient(180deg, rgba(13,10,18,.70), rgba(18,13,26,.55));
  box-shadow: var(--shadow);
  overflow:hidden;
}
.frame__top{
  display:flex;
  align-items:center;
  gap:8px;
  padding:10px 12px;
  border-bottom:1px solid rgba(255,255,255,.10);
}
.dot{width:10px;height:10px;border-radius:999px;opacity:.9}
.dot--r{background: var(--red)}
.dot--y{background: var(--amber)}
.dot--g{background: var(--lime)}
.frame__label{margin-left:6px; color:rgba(243,244,246,.82); font-weight:700; font-size:12px}
.frame__bottom{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:10px 12px;
  border-top:1px solid rgba(255,255,255,.10);
}
.badge{
  font-size:12px;
  font-weight:900;
  padding:7px 10px;
  border-radius:999px;
  border:1px solid rgba(255,46,61,.35);
  background: rgba(255,46,61,.12);
}

.ratio{
  position:relative;
  width:100%;
  aspect-ratio: 16 / 9;
  background: rgba(0,0,0,.35);
}
.ratio--sm{aspect-ratio: 16 / 10}
.ratio iframe{
  position:absolute; inset:0;
  width:100%; height:100%;
}

.chips{display:flex;flex-wrap:wrap;gap:8px}
.chip{
  font-size:12px;
  padding:8px 10px;
  border-radius: 999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(13,10,18,.55);
  color:rgba(243,244,246,.9);
}

/* Sections */
.section{padding:34px 0}
.section--alt{
  background: linear-gradient(180deg, transparent, rgba(255,46,61,.05) 30%, rgba(33,212,255,.05) 70%, transparent);
  border-top: 1px solid rgba(255,255,255,.06);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.section__head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:14px;
  margin-bottom:14px;
}
.section__head h2{
  margin:0;
  font-family:"Russo One", sans-serif;
  letter-spacing:.2px;
}
.muted{color:var(--muted)}
.grid{
  display:grid;
  gap:14px;
}
.grid--3{grid-template-columns: repeat(3, 1fr)}

/* Cards */
.card{
  border-radius: 22px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(13,10,18,.55);
  box-shadow: 0 18px 50px rgba(0,0,0,.32);
  overflow:hidden;
  transition: transform .18s ease, border-color .18s ease;
}
.card:hover{
  transform: translateY(-2px);
  border-color: rgba(255,79,216,.28);
}
.card__body{padding:14px 14px 16px}
.card__body h3{margin:0 0 8px; font-size:16px}
.tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:10px}
.tag{
  font-size:12px;
  padding:6px 8px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.04);
}

.channel{
  margin-top:14px;
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:14px;
}
.channel__copy{
  padding:16px;
  border-radius: 22px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(13,10,18,.55);
}
.channel__copy h3{margin:0 0 8px; font-family:"Russo One", sans-serif}
.channel__hint{
  padding:16px;
  border-radius: 22px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(13,10,18,.55);
}
.code{
  border-radius:16px;
  border:1px dashed rgba(255,255,255,.14);
  padding:12px;
  background: rgba(0,0,0,.25);
}
.code__title{font-weight:900;margin-bottom:8px;font-size:12px;color:rgba(243,244,246,.86)}
pre{margin:0;white-space:pre-wrap}
code{color:rgba(243,244,246,.92); font-size:12px; line-height:1.45}

/* Posts */
.post{
  display:flex;
  flex-direction:column;
  gap:8px;
  padding:16px;
  border-radius: 22px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(13,10,18,.55);
  box-shadow: 0 18px 50px rgba(0,0,0,.28);
  transition: transform .18s ease, border-color .18s ease;
}
.post:hover{transform: translateY(-2px); border-color: rgba(33,212,255,.28)}
.post__icon{font-size:22px}
.post__title{font-weight:900; line-height:1.25}
.post__meta{font-size:12px; color:var(--muted)}

/* CTA Row */
.ctaRow{
  margin-top:14px;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:14px;
}
.ctaRow__card{
  padding:18px;
  border-radius: 22px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(13,10,18,.55);
  box-shadow: 0 18px 50px rgba(0,0,0,.30);
}
.ctaRow__card--bright{
  background: linear-gradient(135deg, rgba(255,46,61,.18), rgba(33,212,255,.12));
  border-color: rgba(255,79,216,.22);
}
.ctaRow__card h3{margin:0 0 10px; font-family:"Russo One", sans-serif}
.ctaRow__actions{display:flex; gap:10px; flex-wrap:wrap}
.list{margin:10px 0 0; padding-left:18px; color:rgba(243,244,246,.88)}
.list li{margin:8px 0}

.kbd{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.25);
}

/* About */
.about{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:14px;
  align-items:start;
}
.about__card{
  padding:18px;
  border-radius: 22px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(13,10,18,.55);
  box-shadow: 0 18px 50px rgba(0,0,0,.30);
}
.about__card--mini{padding:16px}
.features{display:grid; gap:12px; margin-top:14px}
.feature{
  display:flex;
  gap:12px;
  align-items:flex-start;
  padding:12px;
  border-radius: 18px;
  border:1px solid rgba(255,255,255,.10);
  background: rgba(0,0,0,.18);
}
.feature__icon{font-size:18px}
.feature__title{font-weight:900;margin-bottom:4px}
.alert{
  display:flex;
  gap:12px;
  padding:12px;
  border-radius: 18px;
  border:1px solid rgba(33,212,255,.20);
  background: rgba(33,212,255,.08);
}
.alert__icon{font-size:18px}
.alert__title{font-weight:900;margin-bottom:4px}
.logoWall{
  margin-top:12px;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.logo{
  font-family:"Russo One", sans-serif;
  font-size:12px;
  padding:10px 10px;
  border-radius: 14px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(0,0,0,.22);
}

/* Footer */
.footer{
  padding:24px 0;
  border-top:1px solid rgba(255,255,255,.08);
  background: rgba(7,5,10,.55);
}
.footer__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

/* Responsive */
@media (max-width: 980px){
  .hero__grid{grid-template-columns: 1fr; gap:16px}
  .stats{grid-template-columns: 1fr; }
  .grid--3{grid-template-columns: 1fr}
  .channel{grid-template-columns: 1fr}
  .ctaRow{grid-template-columns: 1fr}
  .about{grid-template-columns: 1fr}
  .nav{display:none}
  .burger{display:inline-block}
}
