
:root{
  --bg: #070a08;
  --bg2: #0b0f0c;
  --panel: rgba(8, 12, 10, 0.88);
  --card: rgba(14, 18, 16, 0.78);
  --border: rgba(214, 181, 109, 0.18);

  --text: #efe7d8;
  --muted: rgba(239, 231, 216, 0.74);

  --gold: #d6b56d;
  --gold-soft: rgba(214, 181, 109, 0.12);

  --radius: 18px;
  --radius2: 14px;

  --shadow: 0 12px 30px rgba(0,0,0,0.45);
}

*{ box-sizing: border-box; }

html, body{ height: 100%; }

body{
  margin: 0;
  color: var(--text);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.6;

  background:
    radial-gradient(1200px 700px at 15% 10%, rgba(214,181,109,0.12), transparent 60%),
    radial-gradient(900px 650px at 85% 35%, rgba(123,31,42,0.12), transparent 55%),
    radial-gradient(700px 520px at 70% 90%, rgba(18,64,46,0.20), transparent 55%),
    linear-gradient(180deg, #070a08, #0b0f0c);
}

a{
  color: var(--gold);
  text-decoration: none;
}
a:hover{ text-decoration: underline; }

.layout{
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 18px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px;
}

.sidebar{
  position: sticky;
  top: 18px;
  height: calc(100vh - 36px);
  overflow: auto;

  padding: 18px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(16,23,20,0.92), rgba(8,12,10,0.92));
  box-shadow: var(--shadow);
}

.brand{
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 14px;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 14px;
}

.avatar{
  width: 58px;
  height: 58px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: rgba(214,181,109,0.06);
  overflow: hidden;
  display: grid;
  place-items: center;
}

.avatar img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.avatar-fallback{
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-size: 11px;
  color: var(--muted);
  text-align: center;
  padding: 6px;
}

.site-title{
  margin: 0;
  font-family: Georgia, "Times New Roman", Times, serif;
  letter-spacing: 0.2px;
  font-size: 22px;
}

.site-subtitle{
  margin: 2px 0 0 0;
  color: var(--muted);
  font-size: 13px;
}

.nav{
  display: grid;
  gap: 10px;
  margin: 12px 0 16px 0;
}

.nav-link{
  display: block;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: rgba(0,0,0,0.12);
  color: var(--text);
}
.nav-link:hover{
  background: var(--gold-soft);
  text-decoration: none;
}

.sidebar-box{
  border: 1px solid var(--border);
  border-radius: var(--radius2);
  padding: 12px;
  background: rgba(0,0,0,0.16);
  margin-bottom: 12px;
}

.box-title{
  margin: 0 0 8px 0;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 15px;
}

.mini-list{
  margin: 0;
  padding-left: 18px;
}

.chips{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.chip{
  display: inline-block;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: rgba(214,181,109,0.08);
  font-size: 12px;
  color: var(--text);
}
.chip:hover{
  background: rgba(214,181,109,0.14);
  text-decoration: none;
}
.chip.ghost{
  background: rgba(0,0,0,0.10);
  color: var(--muted);
}

.small-note{
  margin: 10px 0 0 0;
  color: var(--muted);
  font-size: 12px;
}

.sidebar-footer{
  margin-top: 16px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}

.content{
  display: grid;
  gap: 18px;
  align-content: start;
}

.card{
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
  padding: 18px;
}

.card-head h2{
  margin: 0;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 22px;
}
.card-head p{
  margin: 6px 0 0 0;
}

.muted{ color: var(--muted); }

.two-col{
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 16px;
  margin-top: 10px;
}

.grid-2{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.grid-3{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 10px;
}

.mini-card{
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px;
  background: rgba(0,0,0,0.14);
}

.mini-card h4{
  margin: 0 0 8px 0;
  font-family: Georgia, "Times New Roman", Times, serif;
}

.divider{
  height: 1px;
  background: var(--border);
  margin: 14px 0;
}

.hero{
  border: 1px dashed rgba(214,181,109,0.35);
  border-radius: 14px;
  padding: 10px;
  background: rgba(0,0,0,0.12);
}

.hero img{
  width: 100%;
  border-radius: 10px;
  display: block;
}

.post{
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 12px;
  background: rgba(0,0,0,0.14);
  margin-bottom: 12px;
}

.footer{
  padding: 10px 2px;
  color: var(--muted);
  font-size: 12px;
  text-align: center;
}

.ghost-card{
  background: rgba(0,0,0,0.10);
}

/* Responsive */
@media (max-width: 980px){
  .layout{ grid-template-columns: 1fr; }
  .sidebar{ position: relative; height: auto; }
  .two-col{ grid-template-columns: 1fr; }
  .grid-3{ grid-template-columns: 1fr; }
  .grid-2{ grid-template-columns: 1fr; }
}

:root{
  --bg: #050908;
  --panel: #0b1714;
  --card: #0f1f1b;

  --text: #f3ead6;
  --muted: rgba(243, 234, 214, 0.75);

  --gold: #e8c37a;
  --border: rgba(232,195,122,0.35);
}

body{
  background:
    radial-gradient(900px 600px at 15% 10%, rgba(232,195,122,0.25), transparent 60%),
    radial-gradient(900px 700px at 85% 25%, rgba(120,35,50,0.25), transparent 55%),
    radial-gradient(900px 700px at 70% 90%, rgba(20,40,70,0.25), transparent 55%),
    linear-gradient(180deg, #040807, #0b1512);
}

.card{
  background: linear-gradient(180deg, rgba(18,40,33,0.85), rgba(8,16,14,0.95));
  border-color: rgba(232,195,122,0.4);
}

.site-title,
.card h2,
.card h3,
.box-title{
  color: var(--gold);
  text-shadow: 0 0 20px rgba(232,195,122,0.15);
}

a{
  color: #f5d79a;
}
