:root{
  --bg: #0b0d12;
  --panel: #111626;
  --muted: #9aa4b2;
  --text: #e7edf5;
  --accent: #22c55e;
  --accent2: #60a5fa;
  --danger: #ef4444;
  --border: rgba(255,255,255,.08);
  --shadow: 0 10px 30px rgba(0,0,0,.35);
  --radius: 16px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: radial-gradient(1200px 600px at 15% 0%, rgba(96,165,250,.12), transparent 55%),
              radial-gradient(900px 500px at 85% 10%, rgba(34,197,94,.12), transparent 60%),
              var(--bg);
  color: var(--text);
}

a{color:inherit; text-decoration:none}
a:hover{opacity:.9}
.container{width:min(1120px, 92vw); margin: 0 auto}
.topbar{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11,13,18,.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.topbar-inner{
  display:flex;
  gap:14px;
  align-items:center;
  padding: 12px 0;
}
.brand{display:flex; align-items:center; gap:10px; font-weight:700}
.brand-mark{
  width:36px; height:36px;
  display:grid; place-items:center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(34,197,94,.18), rgba(96,165,250,.18));
  border: 1px solid var(--border);
}
.brand-text{letter-spacing:.2px}
.search{flex:1; display:flex; gap:8px}
.search input{
  width:100%;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.03);
  color: var(--text);
  outline:none;
}
.search button{
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(96,165,250,.14);
  color: var(--text);
  cursor:pointer;
}
.nav{display:flex; gap:12px; align-items:center}
.nav a{padding: 8px 10px; border-radius: 999px}
.nav a:hover{background: rgba(255,255,255,.04)}
.pill{background: rgba(34,197,94,.14); border: 1px solid var(--border)}
.muted{color: var(--muted)}

main.container{padding: 18px 0 60px}
.flash{
  background: rgba(96,165,250,.12);
  border: 1px solid var(--border);
  padding: 12px 14px;
  border-radius: var(--radius);
  margin: 14px 0;
}

.grid{
  display:grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
}
.card{
  background: rgba(17,22,38,.8);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.card-pad{padding: 14px}
.h1{font-size: clamp(24px, 3.2vw, 38px); line-height:1.1; margin: 8px 0 10px}
.h2{font-size: 18px; margin: 0 0 10px}
.sub{color: var(--muted); margin: 0 0 10px}

.section-title{
  display:flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin: 18px 0 10px;
}
.section-title a{color: var(--accent2)}

.titles{
  display:grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 12px;
}
@media (max-width: 980px){
  .topbar-inner{flex-wrap:wrap}
  .nav{width:100%; justify-content:space-between}
  .titles{grid-template-columns: repeat(3, 1fr)}
}
@media (max-width: 560px){
  .titles{grid-template-columns: repeat(2, 1fr)}
  .search{width:100%}
}

.poster{
  width:100%;
  aspect-ratio: 2 / 3;
  background: rgba(255,255,255,.04);
  border-bottom: 1px solid var(--border);
  object-fit: cover;
  display:block;
}
.title-card .meta{padding:10px 10px 12px}
.title-card .name{font-weight:700; margin: 0 0 4px}
.title-card .small{color: var(--muted); font-size: 13px}
.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-weight:700;
  font-size: 13px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(34,197,94,.12);
}
.badge.blue{background: rgba(96,165,250,.12)}
.badge.red{background: rgba(239,68,68,.12)}
.split{
  display:grid;
  grid-template-columns: 320px 1fr;
  gap: 16px;
}
@media (max-width: 820px){
  .split{grid-template-columns: 1fr}
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.04);
  cursor:pointer;
}
.btn.primary{background: rgba(34,197,94,.14)}
.btn.blue{background: rgba(96,165,250,.14)}

.form-row{display:flex; flex-direction:column; gap:6px; margin: 10px 0}
input, textarea, select{
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.03);
  color: var(--text);
  outline:none;
}
textarea{min-height: 140px; resize: vertical}
.help{color: var(--muted); font-size: 13px}

.review{
  border-top: 1px solid var(--border);
  padding: 14px 0;
}
.review:first-child{border-top: none}
.review-head{display:flex; justify-content:space-between; gap:10px; align-items:baseline}
.review-head .who{color: var(--muted); font-size: 13px}
.review-body{color: rgba(231,237,245,.92); line-height:1.55}

.ad-slot{
  border: 1px dashed rgba(255,255,255,.22);
  border-radius: var(--radius);
  padding: 14px;
  color: var(--muted);
  text-align:center;
  background: rgba(255,255,255,.02);
}

.footer{
  border-top: 1px solid var(--border);
  padding: 22px 0;
  background: rgba(11,13,18,.65);
}
.footer-inner{display:flex; gap:16px; justify-content:space-between; align-items:flex-start}
.footer-note{color: var(--muted); font-size: 12px; margin-top: 6px; max-width: 520px}
.footer-links{display:flex; gap:12px; color: var(--muted)}
