:root{
  --bg: #070910;
  --panel1: #0b0f1a;
  --panel2: #090c14; /* slightly darker than panel1 */
  --text: #e8ecff;
  --muted: rgba(232,236,255,.70);
  --stroke: rgba(255,255,255,.10);
  --card: rgba(255,255,255,.06);
  --cardHover: rgba(255,255,255,.10);
  --shadow: 0 22px 70px rgba(0,0,0,.55);
  --accent: #8b5cf6;
}

*{ box-sizing:border-box; }
html, body{ height:100%; }
body{
  margin:0;
  background:
    radial-gradient(900px 500px at 20% 10%, rgba(139,92,246,.20), transparent 60%),
    radial-gradient(900px 500px at 85% 20%, rgba(56,189,248,.12), transparent 55%),
    linear-gradient(180deg, #050611, var(--bg));
  color: var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
}

.wrap{
  max-width: 980px;
  margin: 0 auto;
  padding: 44px 18px 30px;
  display:flex;
  flex-direction:column;
  gap: 18px;
}

.panel{
  border: 1px solid var(--stroke);
  border-radius: 20px;
  box-shadow: var(--shadow);
  padding: 28px;
}

.panel-1{ background: linear-gradient(180deg, var(--panel1), rgba(255,255,255,.02)); }
.panel-2{ background: linear-gradient(180deg, var(--panel2), rgba(255,255,255,.02)); }

.title{
  margin: 0 0 8px 0;
  font-size: clamp(26px, 4.3vw, 40px);
  letter-spacing: .2px;
}

.subtitle{
  margin: 0 0 18px 0;
  color: var(--muted);
}

.gifGrid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 18px;              /* space between gifs */
  margin: 14px 0 16px;
  padding: 0 10px;        /* space between gifs and the sides */
}

.gifCard{
  display:block;
  background: var(--card);
  border: 1px solid var(--stroke);
  border-radius: 18px;
  overflow:hidden;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
  position:relative;
}

.gifCard:hover{
  transform: translateY(-2px);
  background: var(--cardHover);
  border-color: rgba(255,255,255,.16);
}

.gifCard:active{ transform: translateY(0px); }

.tenor-gif-embed{
  padding: 12px;
}

/* Hide Tenor’s "from ..." link text inside the embed */
.tenor-gif-embed a{
  display:none;
}

.fallback{
  display:block;
  padding: 18px;
  color: var(--muted);
  font-size: 14px;
}

/* underlink */
.smallLink{
  margin: 0;
}
.link{
  color: rgba(232,236,255,.85);
  text-decoration: none;
  border-bottom: 1px dashed rgba(232,236,255,.35);
}
.link:hover{ border-bottom-color: rgba(232,236,255,.70); }

/* Chakra-ish title (local-only) */
.chakraTitle{
  margin: 0 0 10px 0;
  font-size: 26px;
  letter-spacing: .04em;
  text-transform: lowercase;
  font-family: ui-sans-serif, system-ui, "Segoe UI", Roboto, Helvetica, Arial;
}

/* fun text styling */
.bio{
  margin: 0 0 14px 0;
  color: rgba(232,236,255,.88);
  line-height: 1.6;
}

.nameGlow{
  background: linear-gradient(90deg, rgba(56,189,248,.95), rgba(139,92,246,.95));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 800;
}

.profiles{
  margin: 0 0 8px 0;
  color: var(--muted);
}

.linkList{
  margin: 0;
  padding-left: 18px;
}

.profileLink{
  color: rgba(232,236,255,.92);
  text-decoration: none;
}
.profileLink:hover{
  text-decoration: underline;
  text-decoration-color: rgba(232,236,255,.50);
}

.footer{
  color: rgba(232,236,255,.55);
  font-size: 13px;
  text-align:center;
  padding: 8px 0;
}

@media (max-width: 820px){
  .gifGrid{ grid-template-columns: 1fr; }
}