/* ============================================================
   oh golly britta — styles.css
   ============================================================ */

/* ── TOKENS ── */
:root {
  --terra:       #C1654A;
  --terra-dark:  #A8523A;
  --terra-light: #D4846C;
  --teal:        #3D9A8B;
  --teal-light:  #5BB8A8;
  --teal-dark:   #2C7A6D;
  --cream:       #F5EDE4;
  --ink:         #2C1A0E;
  --htb-green:   #9FEF00;
  --radius:      22px;
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
  --ease-out:    cubic-bezier(.22, 1, .36, 1);
}

/* ── RESET ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

/* ── BASE ── */
body {
  background: var(--terra);
  font-family: 'DM Sans', sans-serif;
  color: var(--ink);
  min-height: 100vh;
  overflow-x: hidden;
}

html { overflow-x: hidden; }

/* grain overlay */
body::after {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none; z-index: 999; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ── BENTO GRID ── */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 14px;
  padding: 20px 22px 48px;
  max-width: 1440px; margin: 0 auto;
}

/* ── CARD BASE ── */
.card {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  opacity: 0; transform: translateY(18px);
  animation: fadeUp .55s var(--ease-out) forwards;
  transition:
    transform .3s var(--ease-spring),
    box-shadow .3s ease;
  cursor: default;
}

.card:hover {
  transform: translateY(-4px) scale(1.006);
  box-shadow: 0 20px 52px rgba(44,26,14,.2);
}

@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }

.card:nth-child(1)  { animation-delay: .04s }
.card:nth-child(2)  { animation-delay: .10s }
.card:nth-child(3)  { animation-delay: .16s }
.card:nth-child(4)  { animation-delay: .22s }
.card:nth-child(5)  { animation-delay: .28s }
.card:nth-child(6)  { animation-delay: .34s }
.card:nth-child(7)  { animation-delay: .40s }
.card:nth-child(8)  { animation-delay: .46s }
.card:nth-child(9)  { animation-delay: .52s }
.card:nth-child(10) { animation-delay: .58s }
.card:nth-child(11) { animation-delay: .64s }
.card:nth-child(12) { animation-delay: .70s }

.widget-label {
  font-size: 11px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  display: flex; align-items: center; gap: 6px;
}

/* ── 1. HERO ── */
.card-hero {
  grid-column: 1/9; grid-row: 1/3;
  background: var(--ink); min-height: 440px;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 32px;
}

.card-hero img.bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
  opacity: .45;
  transform: scale(1);
  transition: opacity .5s ease, transform .6s ease;
}
.card-hero:hover img.bg { opacity: .55; transform: scale(1.03); }

.hero-tag {
  position: absolute; top: 20px; left: 20px; z-index: 2;
  background: rgba(245,237,228,.12); backdrop-filter: blur(10px);
  border: 1px solid rgba(245,237,228,.22); color: var(--cream);
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 100px;
  display: flex; align-items: center; gap: 6px;
  transition: background .2s, border-color .2s;
}
.card-hero:hover .hero-tag {
  background: rgba(245,237,228,.2);
  border-color: rgba(245,237,228,.4);
}

.hero-content { position: relative; z-index: 2; }

.hero-content h1 {
  font-family: 'Fraunces', serif;
  font-size: clamp(42px, 5.5vw, 72px);
  font-weight: 900; line-height: .93;
  color: var(--cream); letter-spacing: -.025em;
  margin-bottom: 14px;
  transition: letter-spacing .3s ease;
}
.card-hero:hover .hero-content h1 { letter-spacing: -.015em; }
.hero-content h1 em { color: var(--teal-light); font-style: italic; }
.hero-content p { color: rgba(245,237,228,.7); font-size: 15px; max-width: 420px; line-height: 1.6; }

.dot-row { position: absolute; bottom: 22px; right: 26px; display: flex; gap: 6px; z-index: 2; }
.dot-row span { width: 8px; height: 8px; border-radius: 50%; background: rgba(245,237,228,.3); }
.dot-row span.on { background: var(--teal-light); width: 22px; border-radius: 4px; }

/* ── 2. AVATAR ── */
.card-avatar {
  grid-column: 9/13; grid-row: 1/2;
  background: var(--cream); min-height: 200px;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  padding: 26px; gap: 10px;
}
.card-avatar::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(circle at 65% 25%, rgba(61,154,139,.13) 0%, transparent 65%);
  transition: opacity .3s;
}
.card-avatar:hover::before { opacity: 1.5; }

/* avatar flip reveal */
.avatar-flip {
  position: relative;
  width: 96px; height: 96px;
  border-radius: 14px;
  border: 3px solid var(--terra);
  box-shadow: 4px 4px 0 var(--terra-dark);
  overflow: hidden;
  flex-shrink: 0;
  transition: transform .3s var(--ease-spring), box-shadow .3s ease;
}
.card-avatar:hover .avatar-flip {
  transform: rotate(-3deg) scale(1.08);
  box-shadow: 6px 6px 0 var(--terra-dark);
}

.avatar-pixel,
.avatar-real {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: 11px;
  transition: opacity .4s ease;
}

.avatar-pixel {
  image-rendering: pixelated;
  opacity: 1;
  object-position: center top;
}

.avatar-real {
  opacity: 0;
  object-position: center 15%;
  filter: saturate(1.05);
}

.card-avatar:hover .avatar-pixel { opacity: 0; }
.card-avatar:hover .avatar-real  { opacity: 1; }

.avatar-name {
  font-family: 'Fraunces', serif;
  font-size: 17px; font-weight: 800; font-style: italic; color: var(--ink);
}

.avatar-pills { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; }

.pill {
  font-size: 10px; font-weight: 700; letter-spacing: .09em;
  text-transform: uppercase; padding: 4px 10px; border-radius: 100px;
  border: 1.5px solid currentColor;
  transition: background .2s, color .2s;
}
.pill-terra { color: var(--terra); }
.pill-teal  { color: var(--teal-dark); }
.pill-ink   { color: rgba(26,18,9,.45); }
.card-avatar:hover .pill-terra { background: var(--terra); color: var(--cream); }
.card-avatar:hover .pill-teal  { background: var(--teal-dark); color: var(--cream); }
.card-avatar:hover .pill-ink   { background: rgba(44,26,14,.45); color: var(--cream); }

/* ── 3. SPOTIFY ── */
.card-spotify {
  grid-column: 9/13; grid-row: 2/3;
  background: #1DB954; padding: 22px 24px; min-height: 200px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.card-spotify::before {
  content: ''; position: absolute; top: -50px; right: -50px;
  width: 160px; height: 160px; border-radius: 50%;
  background: rgba(255,255,255,.07);
  transition: transform .4s ease;
}
.card-spotify:hover::before { transform: scale(1.3); }

.spotify-body {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sp-album-art {
  width: 64px; height: 64px;
  border-radius: 6px;
  object-fit: cover;
  box-shadow: 0 4px 16px rgba(0,0,0,.35);
  flex-shrink: 0;
  opacity: 0;
  transition: opacity .4s ease;
}
.sp-album-art.loaded { opacity: 1; }

.card-spotify .widget-label { color: rgba(255,255,255,.75); position: relative; z-index: 1; }
.spotify-body { position: relative; z-index: 1; }
.spotify-body .track-name {
  font-family: 'Fraunces', serif; font-size: 26px; font-weight: 800;
  color: #fff; line-height: 1.05; margin-bottom: 3px;
  transition: letter-spacing .3s ease;
}
.card-spotify:hover .track-name { letter-spacing: .01em; }
.spotify-body .track-artist { font-size: 13px; color: rgba(255,255,255,.8); font-weight: 500; }
.spotify-body .track-ago    { font-size: 11px; color: rgba(255,255,255,.55); margin-top: 2px; }

.eq-bars { display: flex; align-items: flex-end; gap: 3px; height: 22px; position: relative; z-index: 1; }
.eq-bars span {
  display: block; width: 3px;
  background: rgba(255,255,255,.55); border-radius: 2px;
  animation: eq .75s ease-in-out infinite alternate;
}
.eq-bars span:nth-child(1) { height: 40%; animation-delay: 0s   }
.eq-bars span:nth-child(2) { height: 80%; animation-delay: .12s }
.eq-bars span:nth-child(3) { height: 55%; animation-delay: .24s }
.eq-bars span:nth-child(4) { height:100%; animation-delay: .08s }
.eq-bars span:nth-child(5) { height: 65%; animation-delay: .20s }
.eq-bars span:nth-child(6) { height: 45%; animation-delay: .32s }
@keyframes eq { from { transform: scaleY(.3) } to { transform: scaleY(1) } }

/* ── 4. IG CTA ── */
.card-ig {
  grid-column: 1/4; grid-row: 3/4;
  background: var(--teal); padding: 26px 28px; min-height: 190px;
  display: flex; flex-direction: column; justify-content: space-between;
  text-decoration: none;
}
.card-ig::before {
  content: ''; position: absolute; top: -60px; right: -60px;
  width: 180px; height: 180px; border-radius: 50%;
  background: rgba(255,255,255,.06);
  transition: transform .4s ease;
}
.card-ig:hover::before { transform: scale(1.4); }

.card-ig .widget-label { color: rgba(245,237,228,.75); position: relative; z-index: 1; }

.card-ig .ig-cta-text {
  font-family: 'Fraunces', serif; font-size: 26px; font-weight: 800;
  color: var(--cream); line-height: 1.1; position: relative; z-index: 1;
}
.card-ig .ig-cta-text em { font-style: italic; color: rgba(245,237,228,.75); }
.card-ig .ig-handle {
  font-size: 13px; color: rgba(245,237,228,.6); font-weight: 600;
  letter-spacing: .04em; position: relative; z-index: 1;
}

.card-ig .ig-follow-btn {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(245,237,228,.15);
  border: 1.5px solid rgba(245,237,228,.3);
  color: var(--cream); font-size: 12px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 8px 16px; border-radius: 100px;
  position: relative; z-index: 1;
  transition: background .2s, border-color .2s, gap .2s, transform .2s var(--ease-spring);
  width: fit-content;
}
.card-ig:hover .ig-follow-btn {
  background: rgba(245,237,228,.28);
  border-color: rgba(245,237,228,.6);
  gap: 10px;
  transform: scale(1.04);
}

/* ── 5. TWITTER ── */
.card-twitter {
  grid-column: 4/7; grid-row: 3/4;
  background: var(--ink); padding: 26px 28px; min-height: 190px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.card-twitter::before {
  content: ''; position: absolute; top: -60px; right: -60px;
  width: 180px; height: 180px; border-radius: 50%;
  background: rgba(255,255,255,.04);
  transition: transform .4s ease;
}
.card-twitter:hover::before { transform: scale(1.4); }

.x-widget-label {
  color: rgba(255,255,255,.5); position: relative; z-index: 1;
  display: flex; align-items: center; gap: 8px;
}
.x-logo-box {
  width: 22px; height: 22px; background: #fff; border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; font-weight: 900; color: #000; flex-shrink: 0;
  transition: transform .25s var(--ease-spring);
}
.card-twitter:hover .x-logo-box { transform: rotate(10deg) scale(1.1); }

.x-handle {
  font-family: 'Fraunces', serif; font-size: 26px; font-weight: 800;
  color: #fff; line-height: 1.05;
  position: relative; z-index: 1;
  transition: letter-spacing .3s ease;
}
.card-twitter:hover .x-handle { letter-spacing: .01em; }

.tw-post {
  font-size: 13px; color: rgba(255,255,255,.6); font-style: italic; line-height: 1.55;
  border-left: 2px solid var(--teal); padding-left: 11px;
  position: relative; z-index: 1;
  transition: border-color .2s, color .2s;
}
.card-twitter:hover .tw-post { border-color: var(--teal-light); color: rgba(255,255,255,.85); }

/* ── 6. HACKTHEBOX ── */
.card-htb {
  grid-column: 7/9; grid-row: 3/4;
  background: #141d2b; border: 1px solid rgba(159,239,0,.12);
  padding: 22px; min-height: 190px;
  display: flex; flex-direction: column; justify-content: space-between;
  transition: border-color .3s, box-shadow .3s;
}
.card-htb:hover {
  border-color: rgba(159,239,0,.35);
  box-shadow: 0 0 30px rgba(159,239,0,.08), 0 20px 52px rgba(0,0,0,.3);
}

.htb-header { display: flex; align-items: center; gap: 10px; }
.htb-logo {
  width: 32px; height: 32px;
  background: rgba(159,239,0,.1); border-radius: 8px;
  border: 1px solid rgba(159,239,0,.2);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s;
}
.card-htb:hover .htb-logo { background: rgba(159,239,0,.18); }
.htb-logo svg { width: 18px; height: 18px; }
.htb-title { font-size: 11px; font-weight: 700; color: rgba(159,239,0,.7); letter-spacing: .1em; text-transform: uppercase; }

.htb-rank {
  font-family: 'Fraunces', serif; font-size: 28px; font-weight: 800;
  color: var(--htb-green); line-height: 1;
}
.htb-rank-sub {
  font-size: 11px; color: rgba(159,239,0,.45); font-weight: 600;
  margin-top: 2px; letter-spacing: .06em; text-transform: uppercase;
}

.htb-bar-label {
  font-size: 10px; color: rgba(159,239,0,.4); font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase; margin-bottom: 5px;
}
.htb-bar-track { background: rgba(159,239,0,.1); border-radius: 4px; height: 6px; overflow: hidden; }
.htb-bar-fill {
  height: 100%; background: var(--htb-green); border-radius: 4px; width: 34%;
  transition: width .6s var(--ease-out);
}
.card-htb:hover .htb-bar-fill { width: 38%; }

/* ── 7. INSTAGRAM PHOTO ── */
.card-photo {
  grid-column: 9/13; grid-row: 3/5;
  background: var(--ink); min-height: 400px;
  cursor: pointer; position: relative; overflow: hidden;
}
.card-photo img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: transform .5s ease, filter .4s ease;
}
.card-photo:hover img { transform: scale(1.05); filter: saturate(1.15); }

.photo-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(26,18,9,.88) 0%, transparent 55%);
  transition: opacity .3s;
}
.card-photo:hover .photo-overlay { opacity: .85; }

.photo-date {
  position: absolute; top: 14px; right: 14px; z-index: 2;
  font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  color: rgba(255,255,255,.55); background: rgba(0,0,0,.3);
  backdrop-filter: blur(6px); padding: 4px 8px; border-radius: 7px;
}
.photo-meta { position: absolute; bottom: 0; left: 0; right: 0; padding: 20px; z-index: 2; }
.photo-loc {
  font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 3px;
  display: flex; align-items: center; gap: 4px;
}
.photo-cap { font-size: 13px; color: rgba(255,255,255,.65); margin-bottom: 9px; }
.photo-stats { display: flex; gap: 12px; font-size: 12px; color: rgba(255,255,255,.45); font-weight: 600; }
.photo-stats span { transition: color .2s; }
.card-photo:hover .photo-stats span { color: rgba(255,255,255,.75); }

/* ── 8. CERTS ── */
.card-certs {
  grid-column: 7/9; grid-row: 4/5;
  background: #1a1209; border: 1px solid rgba(61,154,139,.18);
  padding: 20px; min-height: 190px;
  display: flex; flex-direction: column; gap: 10px; justify-content: space-between;
  transition: border-color .3s;
}
.card-certs:hover { border-color: rgba(61,154,139,.4); }

.certs-title {
  font-size: 11px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: rgba(91,184,168,.6);
}

.cert-item {
  display: flex; align-items: center; gap: 10px;
  padding: 6px 8px; border-radius: 8px;
  transition: background .2s;
}
.cert-item:hover { background: rgba(255,255,255,.04); }

.cert-dot { width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; }
.cert-dot.active  { background: var(--teal-light); box-shadow: 0 0 6px var(--teal-light); }
.cert-dot.pending { background: rgba(255,255,255,.15); }

.cert-name { font-size: 13px; font-weight: 600; color: rgba(255,255,255,.8); }
.cert-status { font-size: 10px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-left: auto; }
.cert-status.in-progress { color: var(--teal-light); }
.cert-status.queued      { color: rgba(255,255,255,.22); }

/* ── 9. HISTORIC PHOTO ── */
.card-history {
  grid-column: 1/7; grid-row: 4/5;
  background: var(--ink); min-height: 190px;
  display: flex; flex-direction: column; justify-content: flex-end;
}
.card-history img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; opacity: .48; filter: saturate(.65);
  transition: opacity .5s ease, transform .6s ease, filter .5s ease;
}
.card-history:hover img { opacity: .62; filter: saturate(.95); transform: scale(1.04); }

.history-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(26,18,9,.85) 0%, rgba(26,18,9,.25) 100%);
}
.history-content { position: relative; z-index: 2; padding: 22px 24px; }
.history-eyebrow {
  font-size: 10px; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: rgba(245,237,228,.4); margin-bottom: 6px;
}
.history-title {
  font-family: 'Fraunces', serif; font-size: 24px; font-weight: 800;
  color: var(--cream); line-height: 1.1; margin-bottom: 6px;
  transition: letter-spacing .3s ease;
}
.card-history:hover .history-title { letter-spacing: .01em; }
.history-title em { color: var(--terra-light); font-style: italic; }
.history-sub { font-size: 13px; color: rgba(245,237,228,.5); line-height: 1.5; max-width: 380px; }

/* ── 10. ABOUT ── */
.card-about {
  grid-column: 1/7; grid-row: 5/6;
  background: var(--terra-dark); padding: 30px 32px; min-height: 180px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.card-about::before {
  content: '"'; font-family: 'Fraunces', serif;
  font-size: 220px; font-weight: 900; color: rgba(245,237,228,.05);
  position: absolute; top: -55px; left: 8px; line-height: 1;
  pointer-events: none;
  transition: color .3s;
}
.card-about:hover::before { color: rgba(245,237,228,.09); }

.card-about p {
  font-size: 15px; color: var(--cream); line-height: 1.7;
  position: relative; z-index: 1; max-width: 560px;
}
.card-about p strong { color: var(--teal-light); }
.card-about p em     { font-style: italic; color: rgba(245,237,228,.72); }
.about-sig {
  font-family: 'Fraunces', serif; font-size: 19px; font-style: italic;
  font-weight: 700; color: rgba(245,237,228,.4); position: relative; z-index: 1;
  transition: color .2s;
}
.card-about:hover .about-sig { color: rgba(245,237,228,.65); }

/* ── 11. WORK ── */
.card-work {
  grid-column: 7/13; grid-row: 5/6;
  background: var(--cream); padding: 28px; min-height: 180px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.work-eyebrow {
  font-size: 11px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; color: var(--terra);
}
.work-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.work-avatar {
  width: 48px; height: 48px; border-radius: 8px;
  image-rendering: pixelated;
  border: 2px solid var(--terra);
  box-shadow: 3px 3px 0 var(--terra-dark); flex-shrink: 0;
  transition: transform .3s var(--ease-spring), box-shadow .3s ease;
}
.card-work:hover .work-avatar {
  transform: rotate(5deg) scale(1.1);
  box-shadow: 5px 5px 0 var(--terra-dark);
}

.work-heading {
  font-family: 'Fraunces', serif; font-size: 26px; font-weight: 800;
  font-style: italic; color: var(--ink); line-height: 1.1;
}

.work-tags { display: flex; gap: 7px; flex-wrap: wrap; }
.work-tag {
  font-size: 10px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; padding: 4px 11px; border-radius: 100px;
  border: 1.5px solid currentColor;
  transition: background .2s, color .2s;
}
.t-terra { color: var(--terra); }
.t-teal  { color: var(--teal-dark); }
.t-ink   { color: rgba(26,18,9,.4); }

.card-work:hover .t-terra { background: var(--terra); color: var(--cream); }
.card-work:hover .t-teal  { background: var(--teal-dark); color: var(--cream); }
.card-work:hover .t-ink   { background: rgba(44,26,14,.4); color: var(--cream); }

.work-cta {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 700; color: var(--terra);
  text-decoration: none; letter-spacing: .03em;
  transition: gap .2s var(--ease-out), color .2s;
}
.work-cta:hover { gap: 14px; color: var(--terra-dark); }

/* ── 12. TWITCH ── */
.card-twitch {
  grid-column: 1/13; grid-row: 6/7;
  background: #6441A5; padding: 26px 32px; min-height: 130px;
  display: flex; align-items: center; gap: 32px;
}
.card-twitch::before {
  content: ''; position: absolute; top: -80px; right: -80px;
  width: 280px; height: 280px; border-radius: 50%;
  background: rgba(255,255,255,.04);
  transition: transform .5s ease;
}
.card-twitch:hover::before { transform: scale(1.3); }

.tw-icon {
  width: 48px; height: 48px; background: rgba(255,255,255,.12);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; position: relative; z-index: 1;
  transition: background .2s, transform .25s var(--ease-spring);
}
.card-twitch:hover .tw-icon { background: rgba(255,255,255,.22); transform: scale(1.1); }

.tw-stat { position: relative; z-index: 1; }
.tw-stat .num {
  font-family: 'Fraunces', serif; font-size: 44px; font-weight: 900;
  color: #fff; line-height: 1; letter-spacing: -.03em;
}
.tw-stat .sub { font-size: 12px; color: rgba(255,255,255,.55); font-weight: 500; margin-top: 2px; }

.tw-divider { width: 1px; height: 60px; background: rgba(255,255,255,.15); flex-shrink: 0; position: relative; z-index: 1; }

.tw-info { flex: 1; position: relative; z-index: 1; }
.tw-game-label {
  font-size: 10px; color: rgba(255,255,255,.4);
  letter-spacing: .1em; text-transform: uppercase; font-weight: 600; margin-bottom: 5px;
}
.tw-game {
  font-family: 'Fraunces', serif; font-size: 22px; font-weight: 800;
  color: #fff; margin-bottom: 4px;
}
.tw-desc { font-size: 13px; color: rgba(255,255,255,.5); line-height: 1.5; }

.live-badge {
  position: absolute; top: 22px; right: 28px; z-index: 1;
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18);
  color: #fff; font-size: 11px; font-weight: 800;
  letter-spacing: .12em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 100px;
  transition: background .2s;
}
.card-twitch:hover .live-badge { background: rgba(255,255,255,.18); }

.live-dot {
  width: 7px; height: 7px; border-radius: 50%; background: #FF3B3B;
  animation: pulse 1.4s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .4; transform: scale(.75); }
}

/* ── FOOTER ── */
footer {
  text-align: center; padding: 22px;
  font-size: 11px; color: rgba(245,237,228,.32);
  letter-spacing: .09em; text-transform: uppercase; font-weight: 600;
}

/* ── RESPONSIVE ── */
@media (max-width: 860px) {
  /* Bento grid */
  .bento { grid-template-columns: 1fr 1fr; gap: 11px; padding: 12px; }
  .card-hero, .card-twitter, .card-ig, .card-htb, .card-certs,
  .card-history, .card-about, .card-work, .card-twitch, .card-photo {
    grid-column: span 2; grid-row: auto;
  }
  .card-avatar, .card-spotify { grid-column: span 1; grid-row: auto; }
}