:root{--bg:#070707;--panel:#151515;--text:#fff;--muted:#aaa;--red:#e50914;--border:#2a2a2a}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font-family:Arial,Helvetica,sans-serif}body.locked{overflow:hidden}button,input,select{font:inherit}.hidden{display:none!important}.brand{display:flex;align-items:center;gap:10px}.logo{width:42px;height:42px;display:grid;place-items:center;border-radius:10px;background:var(--red)}.logo.small{width:34px;height:34px}.header{position:sticky;top:0;z-index:30;display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:24px;padding:16px 5%;background:rgba(7,7,7,.94);border-bottom:1px solid #222}.header nav{display:flex;gap:22px}.header nav a,.header nav button,.footer-links button{border:0;background:none;color:#aaa;text-decoration:none;padding:0;cursor:pointer}.header nav a:hover,.header nav button:hover,.header .active,.footer-links button:hover{color:#fff}.header>input{justify-self:end;width:min(310px,31vw);padding:11px 14px;border:1px solid #343434;border-radius:8px;background:#111;color:#fff}.groupbar{padding:9px 5%;background:#101010;color:#999}.groupbar strong{color:#fff}.hero{min-height:420px;display:flex;align-items:flex-end;padding:54px 5%;background-size:cover;background-position:center}.hero-content{max-width:680px}.eyebrow{color:#ff4b54;text-transform:uppercase;letter-spacing:.1em;font-weight:800;font-size:.82rem}.hero h1{font-size:clamp(2.8rem,6vw,5.4rem);line-height:.95;margin:12px 0 15px}.hero p{color:#ddd;line-height:1.6}.hero-actions,.details-actions,.admin-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:22px}.button{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:11px 18px;border:0;border-radius:8px;color:#fff;text-decoration:none;font-weight:700;cursor:pointer}.primary{background:var(--red)}.secondary{background:rgba(255,255,255,.15);border:1px solid rgba(255,255,255,.18)}.full{width:100%}main{padding:36px 5% 70px}.content-section{margin-bottom:42px}.section-head{margin-bottom:16px}.section-head h2,.library-toolbar h2{margin:0}.row{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(250px,28vw);gap:20px;overflow-x:auto;padding:4px 2px 18px}.library-toolbar{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:22px}.tools,.filters{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.filter{padding:9px 14px;border:1px solid #353535;border-radius:8px;background:#151515;color:#bbb}.filter.active{background:var(--red);border-color:var(--red);color:#fff}.tools select{padding:9px 11px;border:1px solid #353535;border-radius:8px;background:#151515;color:#fff}.year-section{margin-bottom:38px}.year-section>h3{font-size:1.45rem}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.card{overflow:hidden;border:1px solid var(--border);border-radius:15px;background:var(--panel);transition:.28s;cursor:pointer}.card:hover{transform:translateY(-8px) scale(1.018);border-color:rgba(229,9,20,.65);box-shadow:0 24px 60px rgba(0,0,0,.58)}.thumb{position:relative;aspect-ratio:16/9;overflow:hidden;background-size:cover;background-position:center}.thumb:before{content:"";position:absolute;inset:0;z-index:1;background:linear-gradient(180deg,rgba(0,0,0,.02),rgba(0,0,0,.78))}.play{position:absolute;z-index:3;left:50%;top:50%;transform:translate(-50%,-50%);width:62px;height:62px;display:grid;place-items:center;border-radius:50%;background:rgba(229,9,20,.95)}.format{position:absolute;right:12px;top:12px;z-index:4;padding:6px 8px;border-radius:6px;background:rgba(0,0,0,.75);font-size:.8rem}.card-body{padding:16px 17px 18px}.card-body h3{margin:0 0 7px}.card-meta{color:var(--muted);font-size:.9rem}.card-progress{height:4px;background:#333}.card-progress span{display:block;height:100%;background:var(--red)}footer{padding:34px 5%;border-top:1px solid #222;background:#0b0b0b;color:#8d8d8d}.footer-top{display:flex;justify-content:space-between;align-items:center}.footer-links{display:flex;align-items:center;gap:18px;flex-wrap:wrap}.footer-links a,.footer-links button{display:inline-flex;align-items:center;min-height:24px;color:#9f9f9f;text-decoration:none;line-height:1.4}.copyright{margin-top:18px;padding-top:18px;border-top:1px solid #202020;text-align:center;color:#777}.overlay{position:fixed;inset:0;z-index:100;display:none;align-items:center;justify-content:center;padding:22px;background:rgba(0,0,0,.92)}.overlay.visible{display:flex}.panel{border:1px solid #343434;border-radius:16px;background:#121212;box-shadow:0 30px 90px rgba(0,0,0,.72)}.login-panel{width:min(430px,100%);padding:28px}.login-panel label{display:grid;gap:8px;margin-bottom:16px}.login-panel input,.login-panel select{padding:12px;background:#0b0b0b;color:#fff;border:1px solid #343434;border-radius:8px}.error{min-height:20px;color:#ff5962}.details-panel{position:relative;width:min(900px,100%);overflow:hidden;display:grid;grid-template-columns:1.1fr 1fr}.details-panel>img{width:100%;height:100%;object-fit:cover;min-height:420px}.details-content{padding:34px}.details-content h2{font-size:2.2rem}.pill{display:inline-block;padding:7px 10px;border-radius:999px;background:#2a2a2a}.close{position:absolute;right:14px;top:14px;width:40px;height:40px;border:0;border-radius:50%;background:rgba(0,0,0,.65);color:#fff}.video-panel{width:min(920px,100%);overflow:hidden}.video-panel video{display:block;width:100%;max-height:72vh;background:#000}.video-footer{display:flex;justify-content:space-between;align-items:center;padding:18px 20px}.video-footer h3{margin:0 0 6px}.video-footer span{color:#999}.video-actions{display:flex;gap:10px}.round{width:40px;height:40px;border:1px solid rgba(255,255,255,.35);border-radius:50%;background:#222;color:#fff}.info-panel{width:min(680px,100%);padding:26px}.info-head{display:flex;justify-content:space-between;align-items:center}.empty{padding:40px;border:1px solid #282828;border-radius:12px;background:#111;color:#999;text-align:center}.admin-main{max-width:1100px;margin:auto}.admin-card{padding:26px;border:1px solid #2a2a2a;border-radius:14px;background:#111;margin-bottom:26px}.admin-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}.admin-grid label{display:grid;gap:8px}.admin-grid input,.admin-grid select{padding:11px;background:#090909;color:#fff;border:1px solid #353535;border-radius:8px}.admin-item{display:flex;justify-content:space-between;padding:12px 0;border-bottom:1px solid #262626}@media(max-width:900px){.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.row{grid-auto-columns:minmax(260px,45vw)}}@media(max-width:760px){.header{display:flex;flex-wrap:wrap}.brand,.header nav,.header>input{width:100%}.grid{grid-template-columns:1fr}.row{grid-auto-columns:82vw}.library-toolbar{align-items:flex-start;flex-direction:column}.details-panel{grid-template-columns:1fr}.details-panel>img{min-height:240px;max-height:300px}.footer-top{align-items:flex-start;flex-direction:column}.admin-grid{grid-template-columns:1fr}}

/* WalkerHub 4.2 — ações diretas nos cartões */
.card .thumb { isolation:isolate; }
.card-actions{
  position:absolute;
  right:12px;
  bottom:12px;
  z-index:5;
  display:flex;
  gap:8px;
  opacity:0;
  transform:translateY(8px);
  transition:opacity .22s ease,transform .22s ease;
}
.card:hover .card-actions,
.card:focus-within .card-actions{
  opacity:1;
  transform:translateY(0);
}
.card-action{
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  padding:0;
  border:1px solid rgba(255,255,255,.34);
  border-radius:50%;
  background:rgba(10,10,10,.78);
  color:#fff;
  line-height:1;
  cursor:pointer;
  backdrop-filter:blur(8px);
  transition:background .18s ease,border-color .18s ease,transform .18s ease;
}
.card-action:hover{
  transform:translateY(-2px);
  background:var(--red);
  border-color:var(--red);
}
.favorite-action{
  font-size:1.2rem;
}
.favorite-action.is-favorite{
  color:#ffd85c;
  background:rgba(10,10,10,.86);
  border-color:rgba(255,216,92,.72);
}
.favorite-action.is-favorite:hover{
  background:var(--red);
  color:#fff;
  border-color:var(--red);
}
@media (hover:none){
  .card-actions{opacity:1;transform:none}
}

/* WalkerHub 4.3 — identidade visual */
.logo-image {
  display: block;
  object-fit: contain;
  background: transparent;
  box-shadow: 0 8px 26px rgba(229,9,20,.24);
}
.brand strong {
  letter-spacing: -.015em;
}

/* WalkerHub 4.4 — seletor de grupos */
.group-switcher{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:18px 5%;background:#0d0d0d;border-bottom:1px solid #202020}.group-switcher__label{color:#8f8f8f;font-size:.84rem;text-transform:uppercase;letter-spacing:.1em;font-weight:700}.group-switcher__buttons{display:flex;gap:10px;flex-wrap:wrap}.group-choice{padding:10px 15px;border:1px solid #353535;border-radius:999px;background:#151515;color:#aaa;cursor:pointer;transition:.2s}.group-choice:hover{border-color:#666;color:#fff}.group-choice.active{background:var(--red);border-color:var(--red);color:#fff;box-shadow:0 8px 24px rgba(229,9,20,.22)}@media(max-width:760px){.group-switcher{align-items:flex-start;flex-direction:column}.group-switcher__buttons{width:100%}.group-choice{flex:1}}


/* WalkerHub 4.5 — biblioteca em primeiro plano */
.header{grid-template-columns:auto 1fr minmax(240px,320px)}
.header nav{justify-self:center}
.header>input{width:100%;justify-self:end}
.group-switcher{padding-top:24px;padding-bottom:24px}
.group-switcher__current{margin-top:5px;color:#d7d7d7;font-size:1.05rem}
.library-title{margin:0 0 6px;font-size:clamp(2rem,4vw,3.2rem);letter-spacing:-.035em}
main{padding-top:30px}
.year-section{padding-top:8px;border-top:1px solid #262626}
.year-heading{width:100%;display:flex;justify-content:space-between;align-items:center;gap:18px;padding:13px 2px 18px;border:0;background:transparent;color:#fff;text-align:left;cursor:pointer}
.year-heading>span{display:flex;align-items:center;gap:10px;color:#ff3540;font-size:1.55rem;font-weight:800}
.year-heading small{color:#858585;font-size:.9rem;font-weight:500}
.year-chevron{display:inline-block;width:18px;color:#ff3540;transition:transform .2s ease}
.year-section.is-collapsed .grid{display:none}
.year-section.is-collapsed .year-heading{padding-bottom:13px}
@media(max-width:900px){.header{grid-template-columns:1fr auto}.header nav{grid-column:1/-1;justify-self:start}.header>input{grid-column:1/-1;max-width:none}}
@media(max-width:760px){.header{display:flex}.group-switcher{padding-top:18px;padding-bottom:18px}.library-title{font-size:2.1rem}.year-heading>span{font-size:1.35rem}}


/* WalkerHub 4.6 — cartões mais refinados */
.card{
  border-radius:18px;
  border-color:#252525;
  background:linear-gradient(180deg,#171717 0%,#121212 100%);
  box-shadow:0 8px 24px rgba(0,0,0,.18);
  transform:translateZ(0);
}
.card:hover{
  transform:translateY(-7px) scale(1.022);
  border-color:rgba(229,9,20,.48);
  box-shadow:0 22px 52px rgba(0,0,0,.48),0 0 0 1px rgba(229,9,20,.08);
}
.thumb::after{
  content:"";
  position:absolute;
  inset:-2%;
  z-index:0;
  background:inherit;
  background-size:cover;
  background-position:center;
  transform:scale(1.01);
  filter:saturate(.96) brightness(.92);
  transition:transform .45s cubic-bezier(.2,.7,.2,1),filter .3s ease;
}
.card:hover .thumb::after{
  transform:scale(1.075);
  filter:saturate(1.06) brightness(1.01);
}
.thumb::before{z-index:1;transition:background .3s ease}
.card:hover .thumb::before{background:linear-gradient(180deg,rgba(0,0,0,.03),rgba(0,0,0,.68))}
.card-body{padding:17px 18px 19px}
.card-body h3{
  margin:0;
  font-size:1.08rem;
  line-height:1.3;
  font-weight:760;
  letter-spacing:-.018em;
}
.card-meta{margin-top:7px;color:#8f8f8f}
.play{
  box-shadow:0 12px 30px rgba(0,0,0,.42),0 0 0 1px rgba(255,255,255,.16);
  transition:transform .25s ease,background .25s ease;
}
.card:hover .play{transform:translate(-50%,-50%) scale(1.07)}
.person-count{
  position:absolute;
  left:12px;
  top:12px;
  z-index:4;
  padding:6px 9px;
  border:1px solid rgba(255,255,255,.16);
  border-radius:999px;
  background:rgba(7,7,7,.72);
  color:#eee;
  font-size:.78rem;
  font-weight:700;
  backdrop-filter:blur(8px);
}
@media(max-width:760px){
  .card{border-radius:16px}
  .card:hover{transform:none}
}

/* WalkerHub 5.0.2 — categorias e filtros por tipo */
.category-toolbar{
  display:flex;
  align-items:center;
  gap:14px;
  margin:-4px 0 28px;
  padding:14px 16px;
  border:1px solid #242424;
  border-radius:14px;
  background:#0e0e0e;
}
.category-toolbar__label{
  color:#797979;
  font-size:.78rem;
  font-weight:800;
  letter-spacing:.1em;
  text-transform:uppercase;
}
.category-filters{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}
.category-filter{
  display:inline-flex;
  align-items:center;
  gap:7px;
  min-height:38px;
  padding:8px 12px;
  border:1px solid #303030;
  border-radius:999px;
  background:#171717;
  color:#aaa;
  cursor:pointer;
  transition:background .18s ease,border-color .18s ease,color .18s ease,transform .18s ease;
}
.category-filter:hover{
  color:#fff;
  border-color:#575757;
  transform:translateY(-1px);
}
.category-filter.active{
  color:#fff;
  border-color:var(--red);
  background:var(--red);
  box-shadow:0 7px 20px rgba(229,9,20,.18);
}
.category-filter span:first-child{font-size:1rem;line-height:1}
.category-filter span:last-child{font-size:.86rem;font-weight:700}
.category-badge{
  position:absolute;
  right:12px;
  top:12px;
  z-index:4;
  min-width:38px;
  height:38px;
  display:grid;
  place-items:center;
  padding:0 9px;
  border:1px solid rgba(255,255,255,.18);
  border-radius:999px;
  background:rgba(7,7,7,.76);
  font-size:1.05rem;
  backdrop-filter:blur(8px);
  transition:background .2s ease,border-color .2s ease,transform .2s ease;
}
.card:hover .category-badge{
  background:rgba(229,9,20,.9);
  border-color:rgba(255,255,255,.3);
  transform:scale(1.05);
}
@media(max-width:760px){
  .category-toolbar{align-items:flex-start;flex-direction:column;margin-bottom:22px}
  .category-filters{width:100%}
  .category-filter{flex:1 1 auto;justify-content:center}
}
