body{
  margin:0;
  font-family: 'Georgia', serif;
  background: radial-gradient(#000015, #000);
  color:#f0f0f0;
  overflow-x:hidden;
  position:relative;
}

canvas#stars{
  position:fixed;
  top:0;left:0;
  z-index:-1;
}

.container{
  max-width: 980px;
  margin: 100px auto 80px;
  padding: 0 20px;
}

h1{
  text-align:center;
  font-size:2.4em;
  color:#f9d6f7;
  margin-bottom:10px;
}

.subtitle{
  text-align:center;
  color:#ccccff;
  opacity:.95;
  margin-bottom:26px;
}

.album-back{
  display:inline-flex;
  margin-bottom:18px;
  color:#ccccff;
  text-decoration:none;
  opacity:.9;
}

.album-back:hover{
  color:#fff;
}

.albums{
  margin: 34px 0 42px;
}

.section-heading{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:16px;
  margin-bottom:16px;
}

.section-heading h2{
  margin:0;
  color:#f9d6f7;
  font-size:1.35rem;
}

.section-heading span{
  color:#aaaaff;
  font-size:.86rem;
}

.album-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(270px, 1fr));
  gap:20px;
}

.album-card{
  display:grid;
  grid-template-columns:minmax(120px, 42%) 1fr;
  min-height:190px;
  overflow:hidden;
  border:1px solid rgba(249,214,247,.25);
  border-radius:18px;
  color:inherit;
  text-decoration:none;
  background:linear-gradient(135deg, rgba(255,225,190,.12), rgba(170,170,255,.08));
  box-shadow:0 16px 46px rgba(0,0,0,.22);
  transition:transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

.album-card:hover{
  transform:translateY(-3px);
  border-color:rgba(249,214,247,.55);
  box-shadow:0 20px 54px rgba(0,0,0,.28), 0 0 26px rgba(255,180,230,.10);
}

.album-card img{
  width:100%;
  height:100%;
  min-height:190px;
  object-fit:cover;
}

.album-copy{
  display:flex;
  flex-direction:column;
  justify-content:center;
  padding:22px;
}

.album-copy h3{
  margin:4px 0 8px;
  color:#ffe5cf;
  font-size:1.2rem;
}

.album-copy p{
  margin:0 0 16px;
  color:#e6e2ff;
  line-height:1.5;
}

.album-kicker,
.album-count{
  color:#aaaaff;
  font-size:.82rem;
}

.album-intro{
  max-width:720px;
  margin:0 auto 28px;
  padding:18px 22px;
  text-align:center;
  border:1px solid rgba(249,214,247,.20);
  border-radius:16px;
  background:rgba(255,255,255,.05);
}

.album-intro > span{
  color:#ffd9b8;
  font-size:.9rem;
}

.album-intro p{
  margin:10px 0 0;
  line-height:1.65;
  color:#e6e2ff;
}

.album-tags{
  justify-content:center;
  margin-top:14px;
}

/* top-left quick nav (match diary) */
.quick-nav{
  position:fixed;
  top:16px; left:16px;
  display:inline-flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  z-index:21;
  padding:8px 10px;
  border-radius:999px;
  background: rgba(17, 17, 34, 0.42);
  border: 1px solid rgba(170, 170, 255, 0.25);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 0 0 2px rgba(170, 170, 255, 0.06);
}

a.tag, span.tag{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  background-color: rgba(170, 170, 255, 0.08);
  border: 1px solid rgba(170, 170, 255, 0.55);
  border-radius:999px;
  color:#aaaaff;
  padding:6px 14px;
  font-size:0.9em;
  line-height:1;
  text-decoration:none;
  user-select:none;
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease;
}

a.tag:hover{
  background-color: rgba(170, 170, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.55);
}

.quick-nav span.tag[aria-current="page"]{
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.10);
  color:#f2f2ff;
}

/* toolbar */
.toolbar{
  display:flex;
  justify-content:center;
  gap:10px;
  flex-wrap:wrap;
  margin: 10px 0 26px;
}

.pill{
  background: transparent;
  border: 1px solid rgba(170, 170, 255, 0.55);
  border-radius:999px;
  color:#aaaaff;
  padding: 7px 14px;
  cursor:pointer;
}

.pill.active{
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.55);
  color:#f2f2ff;
}

/* grid */
.grid{
  display:grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 18px;
}

.card{
  margin:0;
  background: #ffffff0a;
  border: 1px solid rgba(170,170,255,.18);
  border-radius: 14px;
  overflow:hidden;
  box-shadow: 0 0 14px rgba(255, 180, 230, 0.08);
  transition: transform .18s ease, box-shadow .18s ease;
}

.card:hover{
  transform: translateY(-3px);
  box-shadow: 0 0 20px rgba(170,170,255,0.14), 0 0 28px rgba(255,180,230,0.10);
}

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

.image-link{
  display:block;
}

figcaption{
  padding: 12px 12px 14px;
}

.title{
  color:#ffddee;
  font-size: 0.98em;
  margin-bottom: 6px;
}

.meta{
  font-size: 0.82em;
  opacity: .75;
  margin-bottom: 10px;
}

.tags{
  display:flex;
  flex-wrap:wrap;
  gap: 6px;
}

.chip{
  font-size: 0.78em;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(170,170,255,.35);
  color:#ccccff;
  background: rgba(170,170,255,.06);
}

.empty{
  grid-column: 1 / -1;
  text-align:center;
  opacity:.9;
  padding: 28px 12px;
  background: rgba(255,255,255,.06);
  border: 1px dashed rgba(170,170,255,.25);
  border-radius: 14px;
}

@media (max-width: 620px){
  .container{
    margin-top:120px;
  }

  .album-card{
    grid-template-columns:1fr;
  }

  .album-card img{
    height:240px;
    min-height:0;
  }
}
