:root{
  --bg1:#0b1220;
  --bg2:#110a2a;
  --card: rgba(255,255,255,.08);
  --border: rgba(255,255,255,.12);
  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.65);
  --accent: #6D28D9;
}

*{ font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif; }

body{
  background:
    radial-gradient(1200px 600px at 20% 20%, rgba(109,40,217,.35), transparent 60%),
    radial-gradient(1000px 500px at 80% 10%, rgba(16,185,129,.16), transparent 55%),
    linear-gradient(135deg, var(--bg1), var(--bg2));
  background-repeat: no-repeat, no-repeat, no-repeat;
  background-size: auto, auto, auto;
  background-position: 20% 20%, 80% 10%, center;
  background-attachment: fixed, scroll, scroll;
  color: var(--text);
  min-height: 100vh;
}
.nav-glass{
  background: rgba(10,15,30,.55);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.brand-badge{
  display:inline-flex; width:34px; height:34px; align-items:center; justify-content:center;
  border-radius: 10px;
  background: linear-gradient(135deg, rgba(109,40,217,.85), rgba(14,165,233,.75));
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
}

.hero{
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.kicker{
  display:inline-flex;
  align-items:center;
  gap:.35rem;
  padding: .25rem .6rem;
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.75);
  font-size: .9rem;
}

.btn-accent{
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 18px 30px rgba(109,40,217,.25);
}
.btn-accent:hover{ filter: brightness(1.06); }

.glass-card{
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  box-shadow: 0 16px 40px rgba(0,0,0,.25);
  color: rgba(255,255,255,.92);
}

.section{ margin-top: 2.25rem; }
.section-title{ margin-bottom: .85rem; }

.avatar{
  width: 64px; height: 64px; border-radius: 18px; overflow: hidden;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  display:flex; align-items:center; justify-content:center;
}
.avatar img{ width:100%; height:100%; object-fit: cover; }
.avatar-fallback{ font-size: 2rem; color: rgba(255,255,255,.7); }

.pill{
  display:inline-flex; align-items:center; gap:.35rem;
  padding: .35rem .6rem;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.75);
  font-size: .85rem;
}

.list-clean{ list-style: none; padding:0; margin:0; }
.list-item{ padding: .75rem .65rem; border-bottom: 1px solid rgba(255,255,255,.08); }
.list-item:last-child{ border-bottom: 0; }

.icon-chip{
  width: 36px; height: 36px;
  border-radius: 12px;
  display:flex; align-items:center; justify-content:center;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.85);
}

.photo-tile{
  display:block;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.05);
  box-shadow: 0 14px 40px rgba(0,0,0,.25);
  text-decoration:none;
}
.photo-tile img{ width: 100%; height: 190px; object-fit: cover; display:block; }
.photo-caption{
  position:absolute;
  left:0; right:0; bottom:0;
  padding: .45rem .55rem;
  background: linear-gradient(180deg, transparent, rgba(0,0,0,.65));
  color: rgba(255,255,255,.92);
  font-size: .85rem;
}

.content-html p{ color: rgba(255,255,255,.8); line-height: 1.7; }
.content-html a{ color: #a5b4fc; }

.footer-link{
  color: rgba(255,255,255,.7);
  text-decoration:none;
  font-size: 1.15rem;
}
.footer-link:hover{ color: #fff; }

@media (max-width: 576px){
  .photo-tile img{ height: 160px; }
}

.thumb{
  width: 56px; height: 56px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  flex: 0 0 auto;
}
.thumb img{ width:100%; height:100%; object-fit: cover; display:block; }


/* Readability tweaks */
.section-title .text-white-50{ opacity: .95; }
.content-html p{ font-size: 1.02rem; }


/* List readability */
.glass-card .text-white-50{ color: rgba(255,255,255,.72) !important; }
.glass-card .small.text-white-50{ color: rgba(255,255,255,.72) !important; }
.list-item{ background: rgba(255,255,255,.02); border-radius: 14px; margin-bottom: .5rem; border: 1px solid rgba(255,255,255,.06); }
.list-clean .list-item{ border-bottom: none; } /* override old divider style */


/* Stronger list contrast */
.list-clean .list-item{ color: rgba(255,255,255,.92); }
.list-clean .list-item .fw-semibold{ color: rgba(255,255,255,.95); }
.list-clean .list-item .small{ color: rgba(255,255,255,.72); }


/* List readability v2 */
.glass-card .fw-semibold{ color: rgba(255,255,255,.96); }
.glass-card .text-white-50{ color: rgba(255,255,255,.80) !important; }
.list-item{
  background: rgba(255,255,255,.02);
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 16px;
  margin-bottom: .55rem;
}
.list-item:hover{
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.10);
}
.list-clean .list-item{ border-bottom: 0 !important; }


/* List readability v3 */
.list-item .text-white-50{ color: rgba(255,255,255,.78) !important; }
.list-item{ background: rgba(255,255,255,.035) !important; }


/* List readability v4 */
.list-item .fw-semibold{ color: rgba(255,255,255,.96) !important; }
.list-item .text-white-50{ color: rgba(255,255,255,.82) !important; }
