:root{
  --bg:#070A11;
  --panel:#0E1424;
  --panel2:#121C32;
  --stroke:rgba(255,255,255,.10);
  --text:#EAF0FF;
  --muted:rgba(234,240,255,.70);
  --accent:#FFB000;
  --accent2:#6EE7FF;
  --good:#2EE59D;
}
*{ box-sizing:border-box; }
body{ margin:0; background:radial-gradient(900px 500px at 20% 0%, rgba(255,176,0,.10), transparent 65%),
                   radial-gradient(900px 500px at 80% 10%, rgba(110,231,255,.10), transparent 60%),
                   var(--bg);
      color:var(--text);
      font-family:system-ui,-apple-system,Segoe UI,Roboto,Inter,Arial,sans-serif;
}
a{ color:inherit; }
.siteHeader{
  position:sticky; top:0; z-index:50;
  background:rgba(7,10,17,.70);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--stroke);
}
.headerInner{
  width:min(1240px, calc(100% - 32px));
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:12px 0;
}
.brand{ display:flex; gap:12px; align-items:center; text-decoration:none; min-width:0; }
.brandMark{
  display:grid; place-items:center;
  width:44px; height:44px; border-radius:14px;
  background:linear-gradient(135deg, rgba(255,176,0,.22), rgba(110,231,255,.18));
  border:1px solid rgba(255,255,255,.14);
  font-weight:900;
  letter-spacing:.5px;
}
.brandText{ display:flex; flex-direction:column; min-width:0; }
.brandTitle{ font-weight:950; line-height:1.1; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.brandSub{ font-size:12px; color:var(--muted); white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.navToggle{
  display:none;
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  color:var(--text);
  border-radius:12px;
  padding:8px 10px;
  cursor:pointer;
}
.topNav{ display:flex; gap:10px; }
.topNav a{
  color:var(--muted);
  text-decoration:none;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid transparent;
}
.topNav a:hover{
  color:var(--text);
  background:rgba(255,255,255,.06);
  border-color:rgba(255,255,255,.10);
}
.siteMain{
  width:min(1240px, calc(100% - 32px));
  margin:0 auto;
  padding:18px 0 28px;
  min-height:calc(100vh - 140px);
}
.siteFooter{
  border-top:1px solid var(--stroke);
  background:rgba(14,20,36,.65);
}
.footerInner{
  width:min(1240px, calc(100% - 32px));
  margin:0 auto;
  padding:16px 0;
  color:var(--muted);
  font-size:12px;
}
.homeShell{ padding:12px 0; }
.homeCard{
  background:linear-gradient(135deg, rgba(255,176,0,.10), rgba(110,231,255,.08));
  border:1px solid rgba(255,255,255,.12);
  border-radius:22px;
  padding:22px;
}
.homeTitle{ margin:0 0 10px; font-size:28px; font-weight:950; letter-spacing:.2px; }
.homeText{ margin:0; color:var(--muted); line-height:1.6; }
.textLink{ color:var(--accent2); text-decoration:none; border-bottom:1px dashed rgba(110,231,255,.35); }
.textLink:hover{ color:#b8f3ff; }
.pageShell{
  background:rgba(14,20,36,.70);
  border:1px solid rgba(255,255,255,.10);
  border-radius:22px;
  padding:18px;
}
.pageTitle{ margin:0 0 10px; font-size:26px; font-weight:950; }
.pageLead{ margin:0; color:var(--muted); line-height:1.6; }
.pageContent{ color:rgba(234,240,255,.88); line-height:1.75; }
.plainList{ margin:0; padding-left:16px; }
.catalogLayout{ display:flex; gap:14px; align-items:flex-start; }
.catalogSidebar{
  width:320px;
  background:rgba(14,20,36,.70);
  border:1px solid rgba(255,255,255,.10);
  border-radius:22px;
  padding:14px;
  position:sticky;
  top:86px;
}
.sidebarTitle{
  font-size:12px;
  letter-spacing:.6px;
  text-transform:uppercase;
  color:var(--muted);
  margin:0 0 10px;
}
.providerChips{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.providerChip{
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.10);
  color:var(--text);
  border-radius:999px;
  padding:9px 12px;
  cursor:pointer;
  font-weight:800;
  font-size:13px;
}
.providerChip:hover{ background:rgba(255,255,255,.09); }
.providerChip.isActive{
  background:linear-gradient(135deg, rgba(255,176,0,.22), rgba(110,231,255,.16));
  border-color:rgba(255,255,255,.16);
}
.sidebarNote{ margin-top:12px; color:var(--muted); font-size:12px; line-height:1.5; }
.sidebarEmpty{ color:var(--muted); font-size:13px; }
.catalogContent{ flex:1; min-width:0; }
.contentTop{
  display:flex;
  justify-content:space-between;
  align-items:flex-end;
  gap:10px;
  margin-bottom:10px;
}
.contentTitle{ margin:0; font-size:24px; font-weight:950; }
.contentMeta{ color:var(--muted); font-size:13px; }
.slotsArea{
  position:relative;
  background:rgba(14,20,36,.70);
  border:1px solid rgba(255,255,255,.10);
  border-radius:22px;
  padding:14px;
  box-shadow:0 18px 55px rgba(0,0,0,.45);
  min-height:420px;
}
.slotsArea.isLoading{ opacity:.75; }
.slotsGrid{
  display:grid;
  grid-template-columns:repeat(auto-fill, minmax(170px, 1fr));
  gap:12px;
}
.slotCard{
  position:relative;
  overflow:hidden;
  background:rgba(255,255,255,.05);
  border:1px solid rgba(255,255,255,.10);
  border-radius:18px;
  cursor:pointer;
  transition:transform .12s ease, border-color .12s ease, background .12s ease;
}
.slotCard:hover{ transform:translateY(-1px); border-color:rgba(110,231,255,.18); background:rgba(255,255,255,.06); }
.slotThumb{
  height:112px;
  background-size:cover;
  background-position:center;
  filter:saturate(1.08) contrast(1.04);
}
.slotMeta{ padding:10px 12px 12px; }
.slotTitle{ margin:0; font-size:14px; font-weight:950; line-height:1.15; }
.slotBadges{ display:flex; flex-wrap:wrap; gap:6px; margin-top:8px; }
.badge{
  font-size:11px;
  font-weight:900;
  padding:6px 8px;
  border-radius:999px;
  background:rgba(255,176,0,.16);
  border:1px solid rgba(255,176,0,.22);
}
.badge.ghost{
  background:rgba(255,255,255,.05);
  border-color:rgba(255,255,255,.10);
  color:rgba(234,240,255,.88);
}
.slotHover{
  position:absolute;
  inset:0;
  background:rgba(7,10,17,.92);
  opacity:0;
  transform:translateY(6px);
  transition:.16s ease;
  padding:12px;
  display:flex;
  flex-direction:column;
  gap:8px;
}
.slotCard:hover .slotHover,
.slotCard:focus-within .slotHover{
  opacity:1;
  transform:translateY(0);
}
.slotHoverTitle{ font-weight:950; font-size:14px; }
.slotHoverDesc{ color:var(--muted); font-size:12px; line-height:1.35; }
.slotHoverHint{
  margin-top:auto;
  font-size:12px;
  font-weight:900;
  padding:8px 10px;
  border-radius:14px;
  background:rgba(110,231,255,.14);
  border:1px solid rgba(110,231,255,.22);
  width:fit-content;
}
.emptyState{
  border:1px dashed rgba(255,255,255,.14);
  border-radius:18px;
  padding:16px;
  color:var(--muted);
}
.emptyTitle{ font-weight:950; color:var(--text); margin-bottom:6px; }
.emptyText b{ color:var(--text); }
.slotModal{
  position:absolute;
  inset:0;
  display:none;
  align-items:center;
  justify-content:center;
  background:rgba(0,0,0,.70);
  border-radius:22px;
  padding:14px;
}
.slotModal.isOpen{ display:flex; }
.slotModalCard{
  width:min(820px, 100%);
  background:linear-gradient(135deg, rgba(18,28,50,.92), rgba(14,20,36,.96));
  border:1px solid rgba(255,255,255,.12);
  border-radius:22px;
  overflow:hidden;
}
.slotModalHeader{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:10px;
  padding:14px 14px 10px;
  border-bottom:1px solid rgba(255,255,255,.10);
}
.slotModalTitle{ font-size:18px; font-weight:950; }
.slotModalProvider{ color:var(--muted); font-size:13px; margin-top:4px; }
.slotModalMeta{ color:rgba(234,240,255,.78); font-size:12px; margin-top:6px; }
.slotModalClose{
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  color:var(--text);
  border-radius:14px;
  padding:8px 10px;
  cursor:pointer;
}
.slotModalClose:hover{ background:rgba(255,255,255,.10); }
.slotModalBody{ padding:14px; }
.slotModalDesc{ margin:0; color:var(--muted); line-height:1.55; }
.slotModalFrameWrap{
  margin-top:12px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:18px;
  overflow:hidden;
}
.slotModalFrame{ width:100%; height:420px; border:0; }
.slotModalActions{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  margin-top:14px;
}
.demoLink{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 14px;
  border-radius:16px;
  text-decoration:none;
  color:#1a1302;
  background:linear-gradient(135deg, var(--accent), #ffd08a);
  border:1px solid rgba(255,176,0,.40);
  font-weight:950;
}
.demoHint{ color:var(--muted); font-size:12px; }
@media (max-width: 980px){
  .navToggle{ display:inline-flex; }
  .topNav{
    display:none;
    position:absolute;
    right:16px;
    top:66px;
    flex-direction:column;
    background:rgba(14,20,36,.95);
    border:1px solid rgba(255,255,255,.12);
    border-radius:18px;
    padding:10px;
    gap:6px;
    min-width:180px;
  }
  .topNav.isOpen{ display:flex; }
}
@media (max-width: 920px){
  .catalogLayout{ flex-direction:column; }
  .catalogSidebar{
    width:100%;
    position:relative;
    top:0;
  }
  .providerChips{
    flex-wrap:nowrap;
    overflow:auto;
    -webkit-overflow-scrolling:touch;
    padding-bottom:6px;
  }
  .providerChips::-webkit-scrollbar{ height:6px; }
  .providerChips::-webkit-scrollbar-thumb{ background:rgba(255,255,255,.12); border-radius:999px; }
}
@media (max-width: 420px){
  .brandSub{ display:none; }
  .homeTitle{ font-size:24px; }
  .slotsGrid{ grid-template-columns:repeat(auto-fill, minmax(150px, 1fr)); }
}
