:root{
  --bg: #0a0b0f;
  --paper: #12141a;
  --stroke: rgba(255,255,255,.12);
  --text: #f2f3f5;
  --muted: rgba(242,243,245,.62);
  --muted2: rgba(242,243,245,.45);
  --accent: #f2f3f5;
  --shadow: 0 18px 45px rgba(0,0,0,.6);
  --r: 16px;
}

*{ box-sizing: border-box; }
html,body{ height:100%; }
html{ background: var(--bg); }
body{
  margin:0;
  font-family: "Space Grotesk", "Helvetica Neue", Arial, sans-serif;
  color: var(--text);
  background-color: var(--bg);
  background: radial-gradient(1200px 700px at 18% -10%, #1b2030 0%, transparent 55%),
    linear-gradient(180deg, #0a0c12 0%, var(--bg) 60%, #07080b 100%);
  overflow-x:hidden;
}

.wrap{
  max-width: 1400px;
  margin: 0 auto;
  padding: 30px 20px 36px;
  min-height: 100%;
  display:flex;
  flex-direction:column;
  gap: 20px;
}

.top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
}

.brand{
  display:flex;
  align-items:center;
  gap: 10px;
  user-select:none;
}
.dot{
  width:8px;
  height:8px;
  border-radius:99px;
  background: var(--accent);
  box-shadow: 0 0 12px rgba(242,243,245,.35);
}
.name{
  letter-spacing: .28em;
  font-weight: 600;
  text-transform: lowercase;
  font-size: 12px;
  color: var(--muted);
}

.actions{
  display:flex;
  gap: 10px;
  align-items:center;
}

.nav-link{
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  font-size: 13px;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-bottom: 1px solid transparent;
  padding-bottom: 2px;
  transition: border-color .2s ease;
}
.nav-link:hover{ border-color: var(--text); }

.card{
  border: 1px solid var(--stroke);
  background: var(--paper);
  border-radius: var(--r);
  box-shadow: var(--shadow);
  overflow:hidden;
  display:grid;
  grid-template-columns: auto 1fr;
  min-height: 0;
  margin: 0 auto;
  width: 94%;
  max-width: 1200px;
}

.media{
  position:relative;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 16px 20px;
}
.media-link{
  display:inline-flex;
}
.media img{
  width: 150px;
  height: 150px;
  object-fit: contain;
  cursor: pointer;
  transition: transform .35s ease;
}
.media:hover img{ transform: scale(1.02); }

.content{
  padding: 16px 20px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap: 14px;
}

h1{
  margin:0;
  font-size: 36px;
  line-height: 1.12;
  letter-spacing: -0.02em;
}
p{
  margin:0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.meta{
  display:flex;
  gap: 10px;
  margin-top: 6px;
  flex-wrap: wrap;
}
.pill{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 8px 11px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(21,21,21,.04);
  color: var(--text);
  font-weight: 600;
  font-size: 13px;
}
.pill::before{
  content:"";
  width:8px;
  height:8px;
  border-radius: 99px;
  background: var(--accent);
}
.pill-soft{ color: var(--muted); }
.pill-soft::before{ background: rgba(21,21,21,.28); }

.hint{
  margin-top: 10px;
  font-size: 12px;
  color: var(--muted2);
}

.foot{
  margin-top:auto;
  display:flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items:center;
  justify-content:center;
  color: rgba(21,21,21,.55);
  font-size: 12px;
  user-select:none;
}
.sep{ opacity:.35; }
.small{ opacity:.75; }

@media (max-width: 860px){
  .card{ grid-template-columns: 1fr; min-height: 0; }
  .media{ padding: 16px 0 4px; }
  .media img{ width: 130px; height: 130px; }
  h1{ font-size: 30px; }
}

@media (min-width: 861px){
  .card{ width: 80%; }
}
