.card--overlay {
  background: none;
  box-shadow: none;
  border: none;
  padding: 0;
  min-width: 0;
  max-width: 100%;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.card__video-bg {
  position: relative;
  width: 100%;
  max-width: 180px;
  aspect-ratio: 9 / 16;
  height: auto;
  margin-bottom: 0;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  opacity: 1;
  transition: opacity 0.3s ease;
  overflow: hidden;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
  background: #232323;
  filter: brightness(1.18) saturate(1.12) contrast(1.08);
  border-radius: 14px;
  margin-bottom: 0;
}

.card__overlay-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-end;
  z-index: 2;
  padding: 10px 8px 14px 8px;
  background: linear-gradient(180deg, rgba(255,255,255,0.10) 0%, rgba(0,0,0,0.60) 80%, rgba(0,0,0,0.92) 100%);
  box-sizing: border-box;
  margin: 0;
  padding: 10px 8px 14px 8px;
}

.card__top, .name, .desc, .reps {
  color: #fff !important;
  text-shadow: 0 2px 8px #000, 0 1px 2px #222;
}

.badge, .num {
  font-size: 10px !important;
  padding: 3px 6px !important;
  border-radius: 8px !important;
}

.name {
  font-size: 0.85em !important;
  margin: 4px 0 2px !important;
}

.desc {
  font-size: 0.75em !important;
  margin: 0 0 2px 0 !important;
}

.reps {
  font-size: 0.7em !important;
  margin-top: 2px !important;
}
:root{
  --bg:#0b0d10;
  --panel:#12161c;
  --text:#e9eef5;
  --muted:#aab4c3;
  --line:rgba(255,255,255,.10);
  --accent:#d9b48f;
  --accent2:#b48b67;
  --radius:18px;
  --shadow: 0 16px 50px rgba(0,0,0,.45);
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: radial-gradient(1000px 700px at 20% -10%, rgba(217,180,143,.12), transparent 60%),
              radial-gradient(900px 600px at 85% 0%, rgba(100,160,255,.10), transparent 55%),
              var(--bg);
  color:var(--text);
}

a{color:inherit;text-decoration:none}
.container{max-width:1100px;margin:0 auto;padding:0 20px}

.topbar{
  position:sticky; top:0; z-index:50;
  background: rgba(9,10,12,.72);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--line);
}
.topbar__inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
}

.brand{display:flex; align-items:center; gap:12px}
.brand__mark{
  width:42px;height:42px;border-radius:14px;
  display:grid;place-items:center;
  background: linear-gradient(145deg, rgba(217,180,143,.25), rgba(217,180,143,.06));
  border:1px solid var(--line);
  font-weight:900;
}
.brand__title{font-weight:900;letter-spacing:.08em;text-transform:uppercase}
.brand__tag{font-size:12px;color:var(--muted)}

.nav{display:flex; gap:14px; align-items:center}
.nav a{opacity:.9}
.nav a:hover{opacity:1}
.nav__active{font-weight:900}
.disabled{opacity:.45; pointer-events:none}

.hero{padding:36px 0 12px}
h1{margin:0 0 10px; font-size: clamp(28px, 3vw, 44px); letter-spacing:-.02em}
.sub{margin:0; max-width:760px; color:rgba(233,238,245,.88); line-height:1.6}

.controls{
  display:flex; gap:12px; flex-wrap:wrap;
  margin-top:18px;
}
input, select{
  padding:12px 12px;
  border-radius:14px;
  border:1px solid var(--line);
  background: rgba(0,0,0,.25);
  color: var(--text);
  outline:none;
}
input{flex: 1 1 360px}
select{flex: 0 0 220px}
input:focus, select:focus{border-color: rgba(217,180,143,.65)}

.meta{
  margin-top:12px;
  color: var(--muted);
  font-size: 13px;
  display:flex; align-items:center; gap:10px;
}
.dot{opacity:.5}

.grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
  padding: 18px 0 60px;
}
@media (max-width: 980px){ .grid{grid-template-columns: repeat(2, 1fr);} }
@media (max-width: 640px){ .grid{grid-template-columns: 1fr;} }

.card{
  background: linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 18px 24px 18px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: visible;
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 180px;
  max-width: 210px;
  margin: 0 auto;
}

.card:hover{
  border-color:var(--accent);
  transform:translateY(-2px);
}
.card[data-id="1"] .card__video-bg {
  opacity: 1;
  filter: brightness(1.18) saturate(1.12) contrast(1.08);
}

.card__video-bg{
  position: relative;
  width: 100%;
  height: auto;
  opacity: 1;
  transition: opacity 0.3s ease;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0b0b0b;
  border-radius: 14px;
    max-width: 180px;
    margin-bottom: 6px;
}

.card:hover .card__video-bg{
  opacity: 1;
  filter: none;
}

.card[data-id="1"]:hover .card__video-bg {
  opacity: 0.32;
  filter: brightness(1.32) saturate(1.22) contrast(1.12);
}

.card__video{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
  opacity: 0;
  transition: opacity 0.22s ease;
}

.card__poster{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 14px;
  opacity: 1;
  transition: opacity 0.22s ease;
}

.card--playing .card__video{
  opacity: 1;
}

.card--playing .card__poster{
  opacity: 0;
}

.card__top{
  display:flex; align-items:flex-start; justify-content:space-between; gap:12px;
  position:relative;
  z-index:1;
}
.badge{
  font-size: 12px;
  color: rgba(233,238,245,.9);
  padding:6px 10px;
  border-radius:999px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.05);
  white-space:nowrap;
  position:relative;
  z-index:2;
}
.num{
  font-weight:900;
  color: rgba(233,238,245,.9);
  opacity:.9;
  position:relative;
  z-index:2;
}
.name{
  margin: 10px 0 6px;
  font-weight: 900;
  font-size: 0.95em;
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
}
.desc{
  margin:0;
  color: rgba(233,238,245,.82);
  line-height:1.55;
  position:relative;
  z-index:2;
}
.reps{
  margin-top:10px;
  color: var(--muted);
  font-size: 13px;
  display:flex; gap:8px; align-items:center;
  position:relative;
  z-index:2;
}
.reps strong{color:rgba(233,238,245,.95)}
.footer{
  border-top:1px solid var(--line);
  background: rgba(0,0,0,.20);
  padding:18px 0;
}
.footer__inner{
  display:flex; align-items:center; justify-content:space-between;
  color: rgba(233,238,245,.85);
}
.muted{color:var(--muted)}
