/* ═══════════════════════════════════════════════════════════
   Glitch — Home Dashboard & Game Library Styles
   Plex-inspired layout: hero banner, horizontal carousels,
   game cards, developer profiles, CRT effects
   ═══════════════════════════════════════════════════════════ */

/* ─── CRT Scanline Overlay ─── */
.crt-overlay {
  position: relative;
  overflow: hidden;
}
.crt-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,.15) 2px,
    rgba(0,0,0,.15) 4px
  );
  pointer-events: none;
  z-index: 2;
  mix-blend-mode: multiply;
}

/* ═══════════════════════════════════════
   HERO BANNER — Featured Game Spotlight
   ═══════════════════════════════════════ */
.hero-banner {
  position: relative;
  width: 100%;
  min-height: 520px;
  overflow: hidden;
  margin-bottom: 8px;
}
.hero-banner__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-banner__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(.45) saturate(1.2);
  transform: scale(1.05);
  transition: transform 12s ease-out;
}
.hero-banner:hover .hero-banner__image {
  transform: scale(1.0);
}
.hero-banner__gradient {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(0deg, var(--bg-void) 0%, transparent 50%),
    linear-gradient(90deg, rgba(6,6,12,.9) 0%, transparent 60%),
    linear-gradient(180deg, rgba(6,6,12,.7) 0%, transparent 40%);
}
.hero-banner__content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 520px;
  padding: 0 0 56px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding-left: 32px;
  padding-right: 32px;
}
.hero-banner__badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0,229,255,.12);
  border: 1px solid rgba(0,229,255,.25);
  color: var(--cyan);
  font-family: 'Rajdhani', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 6px;
  margin-bottom: 16px;
  width: fit-content;
}
.hero-banner__badge svg {
  width: 14px;
  height: 14px;
  fill: var(--cyan);
}
.hero-banner__title {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 700;
  line-height: 1.05;
  margin-bottom: 12px;
  max-width: 600px;
  text-shadow: 0 2px 20px rgba(0,0,0,.6);
}
.hero-banner__meta {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.hero-banner__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
}
.hero-banner__meta-item svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hero-banner__meta-item--rating {
  color: var(--gold);
}
.hero-banner__meta-item--rating svg {
  fill: var(--gold);
  stroke: var(--gold);
}
.hero-banner__desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
  max-width: 520px;
  margin-bottom: 24px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hero-banner__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 10px;
  font-family: 'Rajdhani', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.hero-btn:hover {
  transform: translateY(-2px);
}
.hero-btn svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
  stroke: none;
}
.hero-btn--primary {
  background: var(--cyan);
  color: #000;
}
.hero-btn--primary:hover {
  box-shadow: 0 4px 28px rgba(0,229,255,.4);
  color: #000;
}
.hero-btn--secondary {
  background: rgba(255,255,255,.08);
  color: var(--text-primary);
  border: 1px solid rgba(255,255,255,.12);
}
.hero-btn--secondary:hover {
  background: rgba(255,255,255,.14);
  box-shadow: 0 4px 20px rgba(0,0,0,.3);
  color: var(--text-primary);
}

/* Hero dots nav */
.hero-banner__dots {
  position: absolute;
  bottom: 24px;
  right: 32px;
  z-index: 4;
  display: flex;
  gap: 8px;
}
.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,.2);
  border: none;
  cursor: pointer;
  transition: background .3s, transform .2s;
  padding: 0;
}
.hero-dot:hover { background: rgba(255,255,255,.4); }
.hero-dot.active {
  background: var(--cyan);
  box-shadow: 0 0 10px rgba(0,229,255,.5);
  transform: scale(1.2);
}

/* ═══════════════════════════════════════
   CONTENT ROWS — Horizontal Carousels
   ═══════════════════════════════════════ */
.content-row {
  padding: 24px 0;
  position: relative;
}
.content-row__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  margin-bottom: 16px;
}
.content-row__title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
}
.content-row__see-all {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color .2s;
  white-space: nowrap;
}
.content-row__see-all:hover { color: var(--cyan); }

/* Carousel wrapper */
.carousel {
  position: relative;
}
.carousel__track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 4px 32px 20px;
  max-width: calc(var(--max-w) + 64px);
  margin: 0 auto;
  /* Hide scrollbar */
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.carousel__track::-webkit-scrollbar { display: none; }
.carousel__track > * {
  scroll-snap-align: start;
  flex-shrink: 0;
}

/* Carousel arrows */
.carousel__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(6,6,12,.85);
  border: 1px solid rgba(255,255,255,.1);
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s, border-color .2s, opacity .2s;
  opacity: 0;
  backdrop-filter: blur(10px);
}
.carousel:hover .carousel__arrow { opacity: 1; }
.carousel__arrow:hover {
  background: rgba(0,229,255,.15);
  border-color: var(--cyan);
}
.carousel__arrow svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.carousel__arrow--left { left: 8px; }
.carousel__arrow--right { right: 8px; }

/* Edge fade */
.carousel::before,
.carousel::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 48px;
  z-index: 4;
  pointer-events: none;
}
.carousel::before {
  left: 0;
  background: linear-gradient(90deg, var(--bg-void), transparent);
}
.carousel::after {
  right: 0;
  background: linear-gradient(-90deg, var(--bg-void), transparent);
}

/* ═══════════════════════════════════════
   GAME CARDS — Multiple Sizes
   ═══════════════════════════════════════ */

/* Standard game card */
.game-card {
  width: 200px;
  text-decoration: none;
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  transition: transform .25s cubic-bezier(.22,1,.36,1);
}
.game-card:hover {
  transform: translateY(-6px);
  color: var(--text-primary);
}
.game-card__cover {
  position: relative;
  width: 200px;
  height: 200px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  transition: border-color .3s, box-shadow .3s;
}
.game-card:hover .game-card__cover {
  border-color: rgba(0,229,255,.3);
  box-shadow: 0 8px 32px rgba(0,229,255,.12), 0 0 0 1px rgba(0,229,255,.15);
}
.game-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease, filter .3s;
}
.game-card:hover .game-card__cover img {
  transform: scale(1.06);
}
/* CRT power-on flicker effect */
.game-card__cover::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    0deg,
    transparent,
    transparent 2px,
    rgba(0,0,0,.08) 2px,
    rgba(0,0,0,.08) 4px
  );
  z-index: 2;
  pointer-events: none;
  opacity: 0;
  transition: opacity .3s;
}
.game-card:hover .game-card__cover::before {
  opacity: 1;
  animation: crtFlicker .15s ease-in-out;
}
@keyframes crtFlicker {
  0%   { opacity: 0; }
  20%  { opacity: .6; }
  40%  { opacity: .1; }
  60%  { opacity: .5; }
  80%  { opacity: .2; }
  100% { opacity: 1; }
}

/* Play button overlay */
.game-card__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3;
  opacity: 0;
  transition: opacity .25s;
  background: rgba(0,0,0,.35);
}
.game-card:hover .game-card__play { opacity: 1; }
.game-card__play-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--cyan);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0,229,255,.4);
  transition: transform .2s;
}
.game-card:hover .game-card__play-icon {
  transform: scale(1.1);
}
.game-card__play-icon svg {
  width: 22px;
  height: 22px;
  fill: #000;
  margin-left: 2px;
}

/* Card info */
.game-card__info {
  padding: 10px 2px 0;
}
.game-card__title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.game-card__sub {
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Wide game card (for featured/continue playing) */
.game-card--wide {
  width: 320px;
}
.game-card--wide .game-card__cover {
  width: 320px;
  height: 180px;
  border-radius: 14px;
}

/* ═══════════════════════════════════════
   PERSON CARDS — Developer/Crew Profiles
   ═══════════════════════════════════════ */
.person-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: var(--text-primary);
  width: 140px;
  transition: transform .25s cubic-bezier(.22,1,.36,1);
}
.person-card:hover {
  transform: translateY(-4px);
  color: var(--text-primary);
}
.person-card__avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-elevated) 100%);
  border: 2px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 10px;
  transition: border-color .3s, box-shadow .3s;
  overflow: hidden;
  position: relative;
}
.person-card:hover .person-card__avatar {
  border-color: rgba(0,229,255,.4);
  box-shadow: 0 0 24px rgba(0,229,255,.15);
}
.person-card__avatar-initial {
  font-family: 'Rajdhani', sans-serif;
  font-size: 36px;
  font-weight: 700;
  color: var(--text-muted);
  line-height: 1;
}
.person-card__name {
  font-family: 'Rajdhani', sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 2px;
}
.person-card__role {
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.3;
}

/* ═══════════════════════════════════════
   CONTINUE PLAYING ROW
   ═══════════════════════════════════════ */
.continue-card {
  width: 300px;
  text-decoration: none;
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  transition: transform .25s cubic-bezier(.22,1,.36,1);
}
.continue-card:hover {
  transform: translateY(-4px);
  color: var(--text-primary);
}
.continue-card__cover {
  position: relative;
  width: 300px;
  height: 170px;
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--glass-border);
  transition: border-color .3s, box-shadow .3s;
}
.continue-card:hover .continue-card__cover {
  border-color: rgba(0,229,255,.25);
  box-shadow: 0 8px 24px rgba(0,229,255,.1);
}
.continue-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.continue-card__progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(255,255,255,.1);
}
.continue-card__progress-bar {
  height: 100%;
  background: var(--cyan);
  border-radius: 0 2px 2px 0;
  box-shadow: 0 0 8px rgba(0,229,255,.5);
}
.continue-card__info {
  padding: 10px 4px 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
.continue-card__title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 15px;
  font-weight: 700;
}
.continue-card__time {
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
}

/* ═══════════════════════════════════════
   EMPTY STATE — Continue Playing
   ═══════════════════════════════════════ */
.empty-row {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}
.empty-row__card {
  background: var(--glass);
  border: 1px dashed rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 36px 40px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.empty-row__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: var(--cyan-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.empty-row__icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--cyan);
  fill: none;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  filter: drop-shadow(0 0 6px rgba(0,229,255,.4));
}
.empty-row__text h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 4px;
}
.empty-row__text p {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* ═══════════════════════════════════════
   GENRE/CATEGORY PILLS
   ═══════════════════════════════════════ */
.genre-pills {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px 8px;
}
.genre-pill {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  border-radius: 20px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  font-size: 13px;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: background .2s, border-color .2s, color .2s;
}
.genre-pill:hover,
.genre-pill.active {
  background: rgba(0,229,255,.1);
  border-color: rgba(0,229,255,.3);
  color: var(--cyan);
}

/* ═══════════════════════════════════════
   DEVELOPER SPOTLIGHT ROW
   ═══════════════════════════════════════ */
.dev-spotlight {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
}
.dev-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 24px;
  text-decoration: none;
  color: var(--text-primary);
  display: flex;
  gap: 16px;
  align-items: center;
  transition: transform .25s cubic-bezier(.22,1,.36,1), border-color .3s, box-shadow .3s;
}
.dev-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0,229,255,.2);
  box-shadow: 0 8px 24px rgba(0,0,0,.3);
  color: var(--text-primary);
}
.dev-card__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bg-elevated) 0%, var(--bg-card) 100%);
  border: 2px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.dev-card__avatar-initial {
  font-family: 'Rajdhani', sans-serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--cyan);
}
.dev-card__info h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 2px;
}
.dev-card__info p {
  font-size: 12px;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════
   STATS BAR
   ═══════════════════════════════════════ */
.stats-bar {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 16px 32px;
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.stat-item {
  display: flex;
  flex-direction: column;
}
.stat-item__value {
  font-family: 'Rajdhani', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--cyan);
  line-height: 1;
}
.stat-item__label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ═══════════════════════════════════════
   GAME DETAIL PAGE
   ═══════════════════════════════════════ */
.game-detail {
  padding-top: 0;
}
.game-detail__hero {
  position: relative;
  min-height: 400px;
  overflow: hidden;
}
.game-detail__hero-bg {
  position: absolute;
  inset: 0;
}
.game-detail__hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(40px) brightness(.3) saturate(1.5);
  transform: scale(1.2);
}
.game-detail__hero-gradient {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, var(--bg-void) 0%, transparent 70%),
    linear-gradient(90deg, rgba(6,6,12,.7) 0%, transparent 50%);
}
.game-detail__hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 48px 32px;
  display: flex;
  gap: 40px;
  align-items: flex-end;
}
.game-detail__cover-wrap {
  flex-shrink: 0;
}
.game-detail__cover {
  width: 220px;
  height: 220px;
  border-radius: 16px;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,.1);
  box-shadow: 0 16px 48px rgba(0,0,0,.5);
}
.game-detail__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.game-detail__info {
  flex: 1;
  min-width: 0;
}
.game-detail__platform-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,45,120,.1);
  border: 1px solid rgba(255,45,120,.25);
  color: var(--magenta);
  font-family: 'Rajdhani', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 6px;
  margin-bottom: 12px;
}
.game-detail__title {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 12px;
}
.game-detail__meta {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.game-detail__meta-tag {
  font-size: 14px;
  color: var(--text-secondary);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.game-detail__meta-tag svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
}
.game-detail__desc {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 640px;
  margin-bottom: 24px;
}
.game-detail__actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Game detail sections */
.game-detail__section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 40px 32px 0;
}
.game-detail__section-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-primary);
}

/* Info grid */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 40px;
}
.info-grid__item {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  padding: 20px;
}
.info-grid__label {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-bottom: 6px;
}
.info-grid__value {
  font-family: 'Rajdhani', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-primary);
}

/* Tags */
.tag-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.tag {
  padding: 6px 14px;
  border-radius: 16px;
  background: rgba(168,85,247,.08);
  border: 1px solid rgba(168,85,247,.2);
  color: var(--purple);
  font-size: 12px;
  font-weight: 500;
  text-decoration: none;
  transition: background .2s;
}
.tag:hover {
  background: rgba(168,85,247,.15);
  color: var(--purple);
}

/* ═══════════════════════════════════════
   PERSON DETAIL PAGE
   ═══════════════════════════════════════ */
.person-detail {
  padding-top: 0;
}
.person-detail__hero {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 48px 32px;
  display: flex;
  gap: 32px;
  align-items: center;
}
.person-detail__avatar {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bg-elevated) 0%, var(--bg-card) 100%);
  border: 3px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 12px 40px rgba(0,0,0,.4);
}
.person-detail__avatar-initial {
  font-family: 'Rajdhani', sans-serif;
  font-size: 52px;
  font-weight: 700;
  color: var(--cyan);
}
.person-detail__info {
  flex: 1;
  min-width: 0;
}
.person-detail__type-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(34,197,94,.1);
  border: 1px solid rgba(34,197,94,.25);
  color: var(--green);
  font-family: 'Rajdhani', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 6px;
  margin-bottom: 10px;
}
.person-detail__name {
  font-family: 'Rajdhani', sans-serif;
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 12px;
}
.person-detail__bio {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 600px;
  margin-bottom: 16px;
}
.person-detail__specialties {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* Section for person page */
.person-detail__section {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 32px 32px 0;
}
.person-detail__section-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 20px;
}
.person-detail__games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 20px;
}

/* ═══════════════════════════════════════
   BACK NAVIGATION
   ═══════════════════════════════════════ */
.back-nav {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 80px 32px 8px;
}
.back-nav a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color .2s;
}
.back-nav a:hover { color: var(--cyan); }
.back-nav a svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ═══════════════════════════════════════
   PIXEL DIVIDER
   ═══════════════════════════════════════ */
.pixel-divider {
  max-width: var(--max-w);
  margin: 32px auto;
  padding: 0 32px;
  height: 2px;
  position: relative;
}
.pixel-divider::after {
  content: '';
  display: block;
  height: 2px;
  background: repeating-linear-gradient(
    90deg,
    var(--border) 0px,
    var(--border) 6px,
    transparent 6px,
    transparent 12px
  );
  opacity: .6;
}

/* ═══════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════ */
@media (max-width: 900px) {
  .hero-banner { min-height: 420px; }
  .hero-banner__content { min-height: 420px; padding-bottom: 40px; }
  .hero-banner__title { font-size: 36px; }
  .game-detail__hero-content { flex-direction: column; align-items: flex-start; }
  .person-detail__hero { flex-direction: column; align-items: flex-start; text-align: left; }
  .dev-spotlight { grid-template-columns: 1fr; }
  .game-card { width: 160px; }
  .game-card__cover { width: 160px; height: 160px; }
  .game-card--wide { width: 260px; }
  .game-card--wide .game-card__cover { width: 260px; height: 146px; }
  .continue-card { width: 240px; }
  .continue-card__cover { width: 240px; height: 135px; }
}
@media (max-width: 640px) {
  .hero-banner { min-height: 380px; }
  .hero-banner__content { min-height: 380px; padding-bottom: 36px; }
  .hero-banner__title { font-size: 28px; }
  .hero-banner__desc { font-size: 14px; -webkit-line-clamp: 2; }
  .hero-btn { padding: 12px 24px; font-size: 14px; }
  .content-row__header { padding: 0 20px; }
  .carousel__track { padding: 4px 20px 16px; gap: 12px; }
  .stats-bar { padding: 16px 20px; gap: 20px; }
  .game-card { width: 140px; }
  .game-card__cover { width: 140px; height: 140px; }
  .game-card--wide { width: 220px; }
  .game-card--wide .game-card__cover { width: 220px; height: 124px; }
  .continue-card { width: 200px; }
  .continue-card__cover { width: 200px; height: 113px; }
  .game-detail__cover { width: 160px; height: 160px; }
  .person-detail__avatar { width: 100px; height: 100px; }
  .person-detail__avatar-initial { font-size: 38px; }
  .info-grid { grid-template-columns: repeat(2, 1fr); }
  .person-detail__games-grid { grid-template-columns: repeat(2, 1fr); }
}
