:root{
  --bg:#181310;
  --panel:#231b16;
  --brand-1:#692500;
  --brand-2:#6A3500;
  --text:#E6E2DD;
  --text-dim:#B8B2AA;
  --accent:#F7BE85;
  --accent-hover:#C6774D;
  --border:rgba(255,255,255,.08);
  --shadow:0 8px 24px rgba(0,0,0,.35);
  --radius:12px;
  --radius-sm:8px;
  --gap:16px;
  --gap-lg:24px;
  --maxw:1400px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  background-color:var(--bg);
  color:var(--text);
  font:16px/1.6 ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Inter,Arial,"Noto Sans","Helvetica Neue",sans-serif;
  text-rendering:optimizeLegibility;
  -webkit-font-smoothing:antialiased;
}

ul,li{list-style:none;margin:0;padding:0}

a{color:var(--accent);text-decoration:none}
a:hover{color:var(--accent-hover)}
a:focus-visible{
  outline:2px solid var(--accent);
  outline-offset:2px;
  border-radius:6px;
}

h1,h2{margin:0 0 8px 0;font-weight:700}
h1{font-size:22px;letter-spacing:.2px}
h2{font-size:18px}
p{margin:8px 0;color:var(--text-dim)}

.top-menu{
  position:fixed;top:0;left:0;right:0;z-index:10;
  background:linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.0)), var(--brand-1);
  backdrop-filter:saturate(120%) blur(6px);
  box-shadow:var(--shadow);
}
.top-menu a{color:#fff}
.top-menu a:hover{color:var(--accent)}

.logo{float:left}
.logo a{
  width:40px;height:48px;padding:0 16px;
  background:url(/img/home.svg) no-repeat center;
  display:block;
}
.logo a:hover{background:url(/img/homehover.svg) no-repeat center}

.top-right{
  float:right;
  height:48px;line-height:48px;
}
.top-right a{
  display:inline-block;padding:0 14px;
  border-radius:var(--radius-sm);
  transition:background-color .2s ease,color .2s ease,transform .2s ease;
}
.top-right a:hover{background-color:rgba(255,255,255,.08);transform:translateY(-1px)}

.content{
  max-width:var(--maxw);
  width:100%;
  margin:2px auto var(--gap-lg);
  padding:0 var(--gap);
}

.neutral-title,
.h1-bar{
  display:block;
  margin:60px 0 0;
  padding:12px 14px;
  background:linear-gradient(180deg, rgba(255,255,255,.02), rgba(255,255,255,0)), var(--panel);
  border:1px solid var(--border);
  color:#FFF7ED;
  border-radius:var(--radius);
}
.neutral-title{font-weight:700}
.h1-bar{text-align:left}

.infos,.categoryes{
  background:var(--panel);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:14px;
  margin:10px 0;
  box-shadow:var(--shadow);
}

.infos p a{
    text-decoration:underline;
}

.neutral{
  display:grid;
  grid-template-columns:repeat(12, 1fr);
  gap:var(--gap);
  align-items:start;
}

.thumbs{
  grid-column:span 3;
  display:flex;flex-direction:column;gap:8px;
  border-radius:var(--radius);
  transition:transform .18s ease, box-shadow .18s ease;
}
.thumbs:hover{transform:translateY(-2px)}
.thumbs a{font-size:15px;color:var(--text);opacity:.95}
.thumbs a:hover{color:#fff}

.thumbs img{
  width:100%;height:auto;aspect-ratio:3/4;object-fit:cover;
  border-radius:var(--radius);
  background:#100c0a;
  transition:filter .2s ease;
}
.thumbs:hover img{filter:brightness(1.05)}

.categoryes li{
  display:inline-block;margin:6px 6px 0 0;
  background:linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,0)), var(--brand-1);
  border:1px solid var(--border);
  border-radius:999px;
}
.categoryes li a{
  display:inline-block;padding:8px 12px;
  color:#FFF7ED;font-weight:500;
}
.categoryes li a:hover{
  background-color:rgba(255,255,255,.1);
  color:#FFF7ED;
}

.footer{
  margin-top:var(--gap-lg);
  color:#FFF7ED;
  background:linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.0)), var(--brand-1);
  padding:16px 12px;
}
.footer a{text-decoration:none;color:#FFF}
.footer a:hover{color:var(--accent)}

.h2{display:block;padding:10px 0;font-weight:600}

.top-right a{box-shadow:none}
.infos,.categoryes{box-shadow:var(--shadow)}

@media (max-width:1200px){
  .thumbs{grid-column:span 4}
}
@media (max-width:900px){
  .thumbs{grid-column:span 6}
  .top-right{height:44px;line-height:44px}
  .content{margin:2px auto var(--gap-lg)}
}
@media (max-width:560px){
  .neutral{gap:12px}
  .thumbs{grid-column:span 12}
  .top-right a{padding:0 10px}
  .footer{padding:14px 10px}
}

@media (prefers-reduced-motion: reduce){
  *{animation:none !important; transition:none !important}
}