@import url('https://fonts.googleapis.com/css2?family=VT323&family=UnifrakturCook:wght@700&family=IM+Fell+English&display=swap');

:root{
  --bg:#040102;
  --bg2:#0a0205;
  --panel:#0d0206;
  --panel2:#140307;

  --ink:#f5e9ec;
  --muted:#c6a0a8;

  --blood:#9b001f;
  --deepblood:#5c0012;
  --rose:#ff4a6e;

  --line: rgba(155,0,31,.55);
  --lineSoft: rgba(255,74,110,.25);

  --shadow: 0 20px 60px rgba(0,0,0,.7);
  --glow: 0 0 18px rgba(155,0,31,.35);
}

*{box-sizing:border-box;}
html,body{height:100%;}
body{
  margin:0;
  color:var(--ink);
  background:
    radial-gradient(circle at 20% 10%, rgba(155,0,31,.25), transparent 45%),
    radial-gradient(circle at 80% 25%, rgba(255,74,110,.18), transparent 48%),
    radial-gradient(circle at 50% 90%, rgba(92,0,18,.35), transparent 55%),
    linear-gradient(180deg, var(--bg), var(--bg2));
  font-family:"IM Fell English", serif;
  font-size:18px;
  line-height:1.45;
}

/* subtle grain */
body::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  opacity:.10;
  background-image: repeating-linear-gradient(
    0deg,
    rgba(255,255,255,.05),
    rgba(255,255,255,.05) 1px,
    transparent 1px,
    transparent 3px
  );
  mix-blend-mode: overlay;
}

#wrap{
  max-width: 1080px;
  margin: 20px auto;
  padding: 14px;
  border-radius: 16px;
  background: rgba(8,2,4,.75);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  backdrop-filter: blur(6px);
}

/* ===== header ===== */
#topbar{ margin-bottom: 14px; }

.bannerWrap{
  border-radius: 16px;
  overflow:hidden;
  border: 1px solid var(--line);
  box-shadow: var(--glow);
  position: relative;
}

.banner{
  width:100%;
  height: 190px;
  object-fit: cover;
  display:block;
  filter: contrast(1.05) saturate(.9) brightness(.9);
}

.bannerOverlay{
  position:absolute;
  inset:auto 0 0 0;
  padding: 12px 14px;
  background: linear-gradient(180deg, transparent, rgba(5,1,2,.92));
  border-top: 1px solid rgba(255,74,110,.18);
}

.bannerOverlay h1{
  margin:0;
  font-family:"UnifrakturCook", cursive;
  font-size: 40px;
  color:#fff0f3;
  text-shadow: 0 2px 0 rgba(0,0,0,.85), 0 0 22px rgba(155,0,31,.45);
}

.subline{
  margin-top: 4px;
  font-family:"VT323", monospace;
  font-size: 20px;
  color: var(--muted);
}

/* ===== panels ===== */
.panel{
  border-radius: 14px;
  overflow:hidden;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--panel), var(--panel2));
  box-shadow: 0 14px 36px rgba(0,0,0,.45);
  position:relative;
}

.panel::after{
  content:"✠";
  position:absolute;
  top:10px;
  right:12px;
  font-size:18px;
  color: var(--rose);
  text-shadow: 0 0 16px rgba(255,74,110,.35);
  opacity:.9;
}

.panelHd{
  padding: 10px 12px;
  background: linear-gradient(90deg, rgba(155,0,31,.35), rgba(92,0,18,.45));
  border-bottom: 1px solid var(--lineSoft);
  font-family:"VT323", monospace;
  font-size: 22px;
  letter-spacing:.6px;
  text-transform: lowercase;
  color:#ffeef2;
}

.panelBd{ padding: 12px; }

a{ color: var(--rose); }
a:hover{ color:#ffd1db; }

.tiny{
  margin-top: 8px;
  font-family:"VT323", monospace;
  font-size: 18px;
  color: var(--muted);
}

/* ===== blinkies strip ===== */
#blinkies{ margin-bottom: 14px; }
.strip{
  display:flex;
  flex-wrap:wrap;
  gap: 10px;
}
.strip img{
  height: 34px;
  border-radius: 10px;
  border: 1px solid rgba(255,74,110,.22);
  background: rgba(8,2,4,.7);
}

/* ===== main grid ===== */
#grid{
  display:grid;
  grid-template-columns: 260px 1fr 260px;
  gap: 14px;
  align-items:start;
}

/* ===== sidebar bits ===== */
.avatar{
  width:100%;
  border-radius: 12px;
  border: 1px solid rgba(155,0,31,.65);
  box-shadow: 0 0 0 3px rgba(155,0,31,.12), 0 16px 34px rgba(0,0,0,.55);
}

.kv{
  margin-top: 10px;
  font-family:"VT323", monospace;
  font-size: 20px;
  color: rgba(245,233,236,.92);
}
.kv b{ color:#fff0f3; }

.nav{
  display:flex;
  flex-direction:column;
  gap:10px;
}
.nav a{
  display:block;
  padding: 10px 12px;
  text-decoration:none;
  border-radius: 12px;
  background: rgba(10,2,5,.6);
  border: 1px solid rgba(155,0,31,.45);
  color: var(--ink);
  transition: transform .12s ease, box-shadow .12s ease, border-color .12s ease;
}
.nav a::before{ content:"☾ "; color: var(--rose); }
.nav a:hover{
  transform: translateY(-2px);
  border-color: rgba(255,74,110,.6);
  box-shadow: 0 0 0 3px rgba(155,0,31,.12);
}

.stamps{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.stamps img{
  width:100%;
  height: 70px;
  object-fit:cover;
  border-radius: 12px;
  border: 1px solid rgba(255,74,110,.22);
  background: rgba(8,2,4,.7);
}

/* ===== center bits ===== */
.note{
  padding: 10px 12px;
  background: rgba(6,1,2,.65);
  border: 1px dashed rgba(255,74,110,.55);
  border-radius: 12px;
}

.twoCol{
  margin-top: 12px;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.miniPanel{
  border-radius: 12px;
  overflow:hidden;
  border: 1px solid rgba(155,0,31,.35);
  background: rgba(10,2,5,.55);
}
.miniHd{
  padding: 8px 10px;
  font-family:"VT323", monospace;
  font-size: 22px;
  color:#ffeef2;
  border-bottom: 1px solid rgba(255,74,110,.18);
  background: rgba(155,0,31,.18);
}
.miniBd{ padding: 10px 12px; }
.miniBd ul{ margin:0; padding-left: 18px; }

.wall{
  display:grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}
.tile{
  display:block;
  text-decoration:none;
  border-radius: 12px;
  overflow:hidden;
  border: 1px solid rgba(155,0,31,.35);
  background: rgba(10,2,5,.55);
}
.tile img{
  width:100%;
  height: 96px;
  object-fit:cover;
  display:block;
  filter: contrast(1.05) saturate(.9) brightness(.92);
}
.tile span{
  display:block;
  padding: 8px 10px;
  font-family:"VT323", monospace;
  font-size: 20px;
  color: var(--muted);
}
.tile:hover{
  border-color: rgba(255,74,110,.65);
  box-shadow: 0 0 0 3px rgba(155,0,31,.10);
}

/* updates scroll */
.scroll{
  max-height: 190px;
  overflow:auto;
  padding-right: 6px;
}
.scroll p{ margin: 0 0 10px; }
.scroll::-webkit-scrollbar{ width: 10px; }
.scroll::-webkit-scrollbar-thumb{
  background: rgba(155,0,31,.55);
  border-radius: 10px;
  border: 2px solid rgba(6,1,2,.75);
}
.scroll::-webkit-scrollbar-track{ background: rgba(10,2,5,.4); }

/* ===== right bits ===== */
.buttons{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.buttons img{
  width:100%;
  height: 34px;
  object-fit:cover;
  border-radius: 10px;
  border: 1px solid rgba(255,74,110,.22);
  background: rgba(8,2,4,.7);
}

/* music button */
.musicBtn{
  width:100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255,74,110,.55);
  background: linear-gradient(180deg, rgba(155,0,31,.22), rgba(10,2,5,.75));
  color: #fff0f3;
  font-family: "VT323", monospace;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 0 18px rgba(155,0,31,.22);
}
.musicBtn:hover{
  border-color: rgba(255,74,110,.85);
  box-shadow: 0 0 22px rgba(255,74,110,.22);
}

/* footer */
#footer{
  margin-top: 14px;
  border-radius: 14px;
  overflow:hidden;
  border: 1px solid rgba(155,0,31,.55);
  background: rgba(8,2,4,.75);
}
.footInner{
  padding: 10px 12px;
  text-align:center;
  font-family:"VT323", monospace;
  font-size: 20px;
  color: var(--muted);
}

/* responsive */
@media (max-width: 980px){
  #grid{ grid-template-columns: 1fr; }
  .twoCol{ grid-template-columns: 1fr; }
  .wall{ grid-template-columns: 1fr 1fr; }
  .banner{ height: 150px; }
}
