:root{
  --bg:#071017;
  --card:#0f1720;
  --muted:#98a6b3;
  --accent:#ff6b6b;
  --white:#f4f6f8;
  --glass: rgba(255,255,255,0.03);
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;font-family:Inter,system-ui,Arial,Helvetica,sans-serif;
  background:linear-gradient(180deg,#061219 0%, #071017 100%);
  color:var(--white);-webkit-font-smoothing:antialiased;
}
.container{max-width:1100px;margin:0 auto;padding:18px}
header{position:sticky;top:0;z-index:60;background:linear-gradient(180deg, rgba(0,0,0,0.2), transparent);backdrop-filter: blur(4px);border-bottom:1px solid rgba(255,255,255,0.03)}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px 18px;flex-wrap:wrap}
.logo a{font-weight:700;color:var(--white);text-decoration:none;font-size:1.3rem}
.nav{display:flex;gap:10px;align-items:center;flex-wrap:wrap}
.nav a{color:var(--muted);text-decoration:none;padding:8px 10px;border-radius:8px}
.nav a.active,.nav a:hover{background:var(--glass);color:var(--white)}
.search{display:flex;align-items:center;gap:8px}
.search input{padding:8px 10px;border-radius:10px;border:1px solid rgba(255,255,255,0.04);background:transparent;color:var(--white);width:180px;max-width:100%}
.search button{background:var(--accent);border:none;padding:8px 10px;border-radius:8px;color:#fff;cursor:pointer}

/* hero */
.hero{padding:38px 0;text-align:center}
.hero h1{font-size:34px;margin-bottom:6px}
.cta-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;margin-top:18px}
.big-card{display:block;padding:18px;border-radius:12px;text-decoration:none;color:var(--white);min-height:110px;box-shadow:0 6px 20px rgba(0,0,0,0.4);transition:0.3s}
.big-card:hover{transform:translateY(-3px)}
.card-cine{background:linear-gradient(180deg,#081022,#0b1622)}
.card-stream{background:linear-gradient(180deg,#031522,#072236)}
.card-anime{background:linear-gradient(180deg,#13021a,#2a0930)}
.card-title{font-size:20px;font-weight:700}
.card-sub{color:var(--muted);margin-top:6px}

/* Latest sorties */
.home-latest, .derniere-sortie{
  padding:28px 0;
}
.home-latest h2, .derniere-sortie h2{
  font-size:26px;
  margin-bottom:14px;
}
.latest-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
  gap:14px;
}
.latest-category{
  background:var(--card);
  border-radius:10px;
  padding:14px;
}
.latest-category h3{
  font-size:18px;
  margin-bottom:8px;
}
.latest-category ul{
  list-style:none;
  padding:0;
  margin:0;
}
.latest-category li{
  margin-bottom:6px;
}
.latest-category a{
  color:var(--accent);
  text-decoration:none;
}
.latest-category a:hover{
  text-decoration:underline;
}

/* footer */
footer{padding:18px;border-top:1px solid rgba(255,255,255,0.03);margin-top:24px;background:transparent}
.footer-inner{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}
.footer-nav a{color:var(--muted);text-decoration:none;margin-left:8px}

/* responsive */
@media(max-width:820px){
  .header-inner{flex-direction:column;align-items:flex-start}
  .nav{order:3;width:100%;display:flex;flex-wrap:wrap;gap:8px}
  .search{order:2;width:100%}
  .cta-grid{grid-template-columns:1fr}
  .latest-grid{grid-template-columns:1fr}
}
