/* ================================================
   MEDIVH ARCHIVE — estilos.css
   Estética: Frutiger Aero + Web 2.0 + Pixel Art
   ================================================ */

/* ── FONTES ── */
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&family=VT323:wght@400&family=Nunito:wght@400;600;700;800&family=Cousine:wght@400;700&display=swap');

/* ── VARIÁVEIS ── */
/* ================================================
   TEMA DARK RED - MEDIVH ARCHIVE
   ================================================ */

:root {

  /* FUNDOS */
  --bg:        #0b0b0b;
  --white:     #141414;
  --card-bg:   #1a1a1a;

  /* VERMELHOS */
  --blue-lt:   #4d0000;
  --blue-md:   #8b0000;
  --accent:    #cc0000;
  --px-border: #8b0000;

  /* DETALHES */
  --mint:      #2a0a0a;
  --tag-bg:    #220909;
  --win-bar:   #181818;

  /* TEXTO */
  --text:      #ffffff;
  --text-lt:   #cfcfcf;

  /* SOMBRAS */
  --shadow: rgba(139,0,0,0.35);

  /* BARRAS DE TÍTULO */
  --win-title: linear-gradient(
      90deg,
      #120000 0%,
      #350000 50%,
      #8b0000 100%
  );

  /* OUTROS */
  --star: #ff4444;

  --font-px: 'Press Start 2P', monospace;
  --font-vt: 'VT323', monospace;
  --font-body: 'Nunito', sans-serif;
  --font-code: 'Cousine', monospace;
}

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--blue-md) var(--blue-lt);
}

::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--blue-lt); }
::-webkit-scrollbar-thumb {
  background: var(--blue-md);
  border: 2px solid var(--blue-lt);
  image-rendering: pixelated;
}

body {
  background-image: url('assets/img/background/tumblr_ncy3l63iwx1rpmwhjo4_640.jpg');
  background-size: 200px 200px; /* controla o tamanho do bloco */
  background-repeat: repeat;    /* repete em mosaico */
}


a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; color: var(--blue-md); }
img { max-width: 100%; display: block; }
ul { list-style: none; }



/* Área superior com câmera + teclado */
/* ================================================
   BANNER — corrigido
   ================================================ */
#wrapper {
  position: relative;
  width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

#banner-topo {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-end;
  gap: 10px;
  background: transparent;
  padding: 0;
}


.camera {
  position: relative;
  width: 320px;
  flex-shrink: 0;
}

.camera img {
  display: block;
  width: 100%;
  height: auto;
  border: none;
  box-shadow: none;
  background: none;
  padding: 0;
}

.camera .photo {
  position: absolute;
  top: 40px;
  left: 60px;
  width: 140px;
  height: 100px;
  overflow: hidden;
}

.camera .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.keyboard {
  position: relative;
  flex: 1;
  max-width: 500px;
}

.keyboard img {
  display: block;
  width: 100%;
  height: auto;
  border: none;
  box-shadow: none;
  background: none;
  padding: 0;
}
/* Tamagotchi na lateral */
.tamagotchi { /* ALTERADO */
  position: relative;
  margin-top: 20px;
  border: 2px solid var(--blue-lt);
  box-shadow:none;
  padding: 6px;
  background: var(--card-bg);
}

.tamagotchi img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Tela do Tamagotchi */
.tamagotchi .photo { /* ALTERADO */
  position: absolute;
  top: 40px;   /* ajuste conforme visor do tamagotchi */
  left: 35px;
  width: 60px;
  height: 60px;
  overflow: hidden;
}

.tamagotchi .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}



/* ================================================
   LAYOUT — 3 COLUNAS
   ================================================ */
#layout {
  display: grid;
  grid-template-columns: 210px 1fr 200px;
  grid-template-rows: auto auto;
  gap: 12px;
  padding: 0;
  align-items: start;
}
/* ── COLUNA ESQUERDA ── */
#col-left {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: sticky;
  top: 10px;
}

/* ── COLUNA CENTRAL ── */
#col-center {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}

/* ── COLUNA DIREITA ── */
#col-right {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: sticky;
  top: 10px;
}

/* ================================================
   JANELA (COMPONENTE BASE)
   ================================================ */
.win {
  background: #151515;
  border: 2px solid var(--px-border);
  box-shadow:
    none;
  image-rendering: pixelated;
  overflow: hidden;
}

/* Barra de título */
.win-title {
  background: var(--win-title);
  padding: 5px 8px;
  display: flex;
  align-items: center;
  gap: 6px;
  border-bottom: 2px solid var(--px-border);
  font-family: var(--font-px);
  font-size: 7px;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  user-select: none;
}

.win-title .win-dots {
  display: flex;
  gap: 3px;
  margin-left: auto;
}

.win-title .win-dots span {
  width: 8px; height: 8px;
  border: 1px solid var(--blue-md);
  background: var(--white);
  display: block;
  cursor: default;
  image-rendering: pixelated;
}

.win-title .win-dots span:hover { background: var(--blue-lt); }

.win-body { padding: 10px; }

/* ================================================
   MENU / NAVEGAÇÃO
   ================================================ */
.nav-list { display: flex; flex-direction: column; gap: 1px; }

.nav-list a {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 6px 8px;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
  border: 1px solid transparent;
  transition: all 0.1s;
  border-radius: 0;
  text-decoration: none;
  background: transparent;
}

.nav-list a:hover,
.nav-list a.active {
  background: #8b0000;
  border-color: #cc0000;
  color: #ffffff;
  box-shadow: 2px 2px 0 #cc0000;
  transform: translateX(2px);
}

/* Ícones da navegação como GIFs */
.nav-icon {
  width: 20px;          
  height: 20px;
  padding: 3px 0 0 5px; 
  vertical-align: middle;
  margin-right: 6px;    
  display: inline-block;
}


/* ================================================
   PERFIL
   ================================================ */
.profile-pic-wrap {
  display: flex;
  justify-content: center;
  padding: 8px 0 4px;
}

.profile-pic {
  width: 90px; height: 90px;
  object-fit: cover;
  border: 3px solid var(--blue-md);
  box-shadow:none;
  image-rendering: pixelated;
}

.profile-pic-placeholder {
  width: 90px; height: 90px;
  background: linear-gradient(135deg, var(--blue-lt), var(--mint));
  border: 3px solid var(--blue-md);
  box-shadow:none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
}

.profile-name {
  text-align: center;
  font-family: var(--font-px);
  font-size: 8px;
  color: var(--text);
  margin-top: 8px;
  letter-spacing: 1px;
}

.profile-role {
  text-align: center;
  font-family: var(--font-vt);
  font-size: 16px;
  color: var(--text-lt);
  margin: 2px 0 8px;
}

.profile-loves {
  font-size: 12px;
  color: var(--text);
  border-top: 1px dashed var(--blue-lt);
  padding-top: 8px;
  margin-top: 2px;
}

.profile-loves strong {
  font-family: var(--font-px);
  font-size: 6px;
  display: block;
  margin-bottom: 4px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.profile-loves li {
  padding: 2px 0;
  padding-left: 14px;
  position: relative;
  font-size: 11px;
}

.profile-loves li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--blue-md);
  font-size: 9px;
}

/* ================================================
   STATUS BOX
   ================================================ */
.status-row {
  margin-bottom: 8px;
  font-size: 12px;
}

.status-label {
  font-family: var(--font-px);
  font-size: 6px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 2px;
}

.status-value {
  background: var(--tag-bg);
  border: 1px solid var(--blue-lt);
  padding: 4px 6px;
  font-size: 11px;
  color: var(--text);
  display: block;
}

.status-update {
  font-family: var(--font-vt);
  font-size: 14px;
  color: var(--text-lt);
  border-top: 1px dashed var(--blue-lt);
  padding-top: 6px;
  margin-top: 4px;
  text-align: right;
}

/* ================================================
   CALENDÁRIO
   ================================================ */
.cal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-px);
  font-size: 6px;
  margin-bottom: 6px;
  color: var(--text);
  text-transform: uppercase;
}

.cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 1px;
  font-size: 10px;
  text-align: center;
}

.cal-grid .cal-day-name {
  font-family: var(--font-px);
  font-size: 5px;
  color: var(--text-lt);
  padding: 2px 0;
  text-transform: uppercase;
}

.cal-grid .cal-day {
  padding: 3px 1px;
  border: 1px solid transparent;
  cursor: default;
  border-radius: 0;
  font-size: 10px;
  color: var(--text);
  transition: background 0.1s;
}

.cal-grid .cal-day:hover {
  background: var(--blue-lt);
  border-color: var(--blue-md);
}

.cal-grid .cal-day.today {
  background: var(--blue-md);
  color: #fff;
  font-weight: 700;
  border-color: var(--accent);
}

.cal-grid .cal-day.other-month { color: #aac3dd; }

/* ================================================
   SPOTIFY WIDGET
   ================================================ */
.spotify-widget {
  width: 100%;
  border: none;
  border-radius: 0;
}

/* ================================================
   BOTÕES 88x31
   ================================================ */
.buttons-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.btn88 {
  width: 88px;
  height: 31px;
  border: 1px solid var(--blue-md);
  image-rendering: pixelated;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-px);
  font-size: 5px;
  text-align: center;
  cursor: pointer;
  transition: box-shadow 0.1s;
  text-decoration: none;
  flex-shrink: 0;
}

.btn88:hover {
  box-shadow: 2px 2px 0 var(--blue-md);
  transform: translate(-1px,-1px);
}

.btn88.b-neocities { background: linear-gradient(135deg,#3cb3ff,#00aacc); color:#fff; }
.btn88.b-html5      { background: linear-gradient(135deg,#e34f26,#ef652a); color:#fff; }
.btn88.b-css3       { background: linear-gradient(135deg,#264de4,#2965f1); color:#fff; }
.btn88.b-rss        { background: linear-gradient(135deg,#f26522,#cc5512); color:#fff; }
.btn88.b-pixel      { background: linear-gradient(135deg,#9ed8ff,#c8ffd8); color:#334455; }
.btn88.b-oss        { background: linear-gradient(135deg,#4caf50,#2e7d32); color:#fff; }

/* ================================================
   ESTATÍSTICAS
   ================================================ */
.stats-row {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 12px;
}

.stat-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 0;
  border-bottom: 1px dashed var(--blue-lt);
}

.stat-label { font-family: var(--font-vt); font-size: 16px; color: var(--text-lt); }
.stat-value { font-family: var(--font-px); font-size: 7px; color: var(--text); }

/* ================================================
   DIVISORES DECORATIVOS
   ================================================ */
.divider {
  width: 100%;
  height: 10px;
  background-image: repeating-linear-gradient(
    90deg,
    var(--blue-md) 0px, var(--blue-md) 4px,
    transparent 4px, transparent 8px
  );
  margin: 8px 0;
  image-rendering: pixelated;
}

.divider-stars {
  text-align: center;
  font-size: 14px;
  color: var(--blue-md);
  letter-spacing: 6px;
  margin: 10px 0;
  user-select: none;
}

/* ================================================
   CARDS DA HOMEPAGE
   ================================================ */
.home-welcome {
  background: linear-gradient(
      135deg,
      #111111,
      #1b1b1b
  );
  border: 2px solid var(--blue-lt);
  padding: 16px;
  font-size: 13px;
  line-height: 1.8;
  box-shadow: 4px 4px 0 #3a0000;

  /* NOVO */
  color: #ffffff;
}

.home-welcome p {
  margin-bottom: 8px;
  color: #ffffff;
}

.home-welcome strong,
.home-welcome b {
  color: #ffffff;
}
.home-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.home-card {
  background: var(--card-bg);
  border: 2px solid var(--blue-lt);
  box-shadow: 4px 4px 0 #3a0000;
  overflow: hidden;
  transition: transform 0.15s, box-shadow 0.15s;
}

.home-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 5px 5px 0 #6ab9ff;
}

.home-card-header {
  background: var(--win-title);
  padding: 6px 10px;
  font-family: var(--font-px);
  font-size: 7px;
  color: var(--text);
  border-bottom: 2px solid var(--blue-lt);
  display: flex;
  align-items: center;
  gap: 6px;
}

.home-card-body {
  padding: 10px;
  font-size: 12px;
  color: var(--text);
}

.home-card-body .card-thumb {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border: 1px solid var(--blue-lt);
  margin-bottom: 8px;
  image-rendering: pixelated;
}

.home-card-body .card-thumb-placeholder {
  width: 100%;
  height: 100px;
  background: linear-gradient(135deg, var(--blue-lt), var(--mint));
  border: 1px solid var(--blue-lt);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
}

.home-card-body h3 {
  font-size: 12px;
  font-weight: 800;
  margin-bottom: 4px;
  color: var(--text);
}

.home-card-body p {
  font-size: 11px;
  color: var(--text-lt);
  line-height: 1.5;
}

.card-tag {
  display: inline-block;
  background: var(--tag-bg);
  border: 1px solid var(--blue-lt);
  padding: 1px 6px;
  font-size: 10px;
  font-family: var(--font-code);
  color: var(--accent);
  margin: 2px 2px 0 0;
}

/* ================================================
   SEÇÃO DE ATUALIZAÇÕES
   ================================================ */
.updates-list { display: flex; flex-direction: column; gap: 8px; }

.update-item {
  display: flex;
  gap: 10px;
  padding: 8px;
  background: var(--card-bg);
  border: 1px solid var(--blue-lt);
  box-shadow: 2px 2px 0 var(--blue-lt);
  font-size: 12px;
}

.update-date {
  font-family: var(--font-px);
  font-size: 6px;
  color: var(--text-lt);
  min-width: 55px;
  line-height: 1.6;
  padding-top: 2px;
}

.update-text { color: var(--text); line-height: 1.5; }
.update-text strong { color: var(--accent); }

/* ================================================
   COMENTÁRIOS / CBOX
   ================================================ */
.cbox-area {
  background: var(--card-bg);
  border: 2px solid var(--blue-lt);
  padding: 10px;
  font-size: 12px;
  color: var(--text-lt);
  text-align: center;
}

/* ================================================
   RODAPÉ
   ================================================ */
#footer {
  border-top: 4px solid var(--accent);
  background: linear-gradient(
      180deg,
      #111111 0%,
      #080808 100%
  );
  padding: 18px 0;
  text-align: center;
  margin-top: 12px;
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 12px;
}

.footer-title {
  font-family: var(--font-px);
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--text);
  margin-bottom: 6px;
}

.footer-sub {
  font-family: var(--font-vt);
  font-size: 18px;
  color: var(--text-lt);
  margin-bottom: 10px;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 12px;
  margin-bottom: 10px;
}

.footer-links a { color: var(--accent); }
.footer-links a:hover { color: var(--blue-md); }

/* ================================================
   ESTRELAS FLUTUANTES
   ================================================ */
.float-star {
  position: fixed;
  pointer-events: none;
  z-index: 0;
  animation: float-up 8s linear infinite;
  opacity: 0;
  font-size: 12px;
  user-select: none;
}
@keyframes float-up {
  0%   { opacity: 0; transform: translateY(0) rotate(0deg); }
  10%  { opacity: 0.7; }
  90%  { opacity: 0.4; }
  100% { opacity: 0; transform: translateY(-100vh) rotate(360deg); }
}

/* ================================================
   PÁGINAS INTERNAS (header compartilhado)
   ================================================ */
.page-header {
  padding: 14px 0 10px;
  border-bottom: 2px solid var(--blue-lt);
  margin-bottom: 14px;
}

.page-header h2 {
  font-family: var(--font-px);
  font-size: 11px;
  color: var(--text);
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.page-header p { font-size: 13px; color: var(--text-lt); margin-top: 4px; }

.breadcrumb {
  font-family: var(--font-vt);
  font-size: 16px;
  color: var(--text-lt);
  margin-bottom: 4px;
}

.breadcrumb a { color: var(--accent); }

/* ================================================
   ESTRELAS DE RATING
   ================================================ */
.stars { color: var(--star); font-size: 14px; letter-spacing: 1px; }
.stars .empty { color: #cce0f0; }

/* ================================================
   GALERIA (fotos.html)
   ================================================ */
.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.filter-btn {
  padding: 4px 12px;
  background: var(--white);
  border: 2px solid var(--blue-lt);
  font-family: var(--font-px);
  font-size: 6px;
  color: var(--text);
  cursor: pointer;
  transition: all 0.1s;
  text-transform: uppercase;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--blue-md);
  border-color: var(--accent);
  color: #fff;
  box-shadow: 2px 2px 0 var(--accent);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 8px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border: 2px solid var(--blue-lt);
  box-shadow: 3px 3px 0 var(--blue-lt);
  cursor: pointer;
  transition: all 0.15s;
  aspect-ratio: 1;
  background: var(--blue-lt);
}

.gallery-item:hover {
  border-color: var(--blue-md);
  box-shadow: 5px 5px 0 var(--blue-md);
  transform: translate(-2px, -2px);
}

.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s;
}

.gallery-item:hover img { transform: scale(1.05); }

.gallery-item .gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(106,185,255,0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s;
  font-size: 24px;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,30,60,0.9);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 20px;
}

.lightbox.open { display: flex; }

.lightbox img {
  max-width: 90vw;
  max-height: 80vh;
  border: 3px solid var(--blue-md);
  box-shadow: 0 0 40px var(--blue-md);
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 20px; right: 24px;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  font-family: var(--font-px);
  background: none;
  border: none;
  padding: 4px 8px;
  line-height: 1;
}

.lightbox-close:hover { color: var(--blue-lt); }
.lightbox-caption { color: var(--blue-lt); font-size: 13px; margin-top: 10px; }

/* ================================================
   BLOG AREA — centralizado
   ================================================ */
.blog-area {
  max-width: 800px;       /* largura máxima do conteúdo */
  margin: 0 auto;         /* centraliza na tela */
  padding: 20px;          /* espaço interno */
}

.blog-area .post-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.blog-area .post-card {
  width: 100%;
  margin-bottom: 20px;
}


.post-card:hover {
  transform: translate(-2px, -2px);
  box-shadow: 6px 6px 0 var(--blue-md);
  border-color: var(--blue-md);
}

.post-card-header {
  background: var(--win-title);
  padding: 8px 12px;
  border-bottom: 2px solid var(--blue-lt);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.post-card-header .post-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--text);
}

.post-date {
  font-family: var(--font-px);
  font-size: 6px;
  color: var(--text-lt);
}

.post-body {
  padding: 12px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--text);
}

.post-footer {
  padding: 6px 12px 10px;
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.post-read-more {
  display: inline-block;
  margin-top: 8px;
  padding: 4px 12px;
  background: var(--blue-md);
  color: #fff;
  font-family: var(--font-px);
  font-size: 6px;
  border: 1px solid var(--accent);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.1s;
}

.post-read-more:hover {
  background: var(--accent);
  box-shadow: 2px 2px 0 var(--accent);
  transform: translate(-1px,-1px);
  color: #fff;
  text-decoration: none;
}

/* ================================================
   LIVROS / FILMES / MÚSICA — CARDS DE MÍDIA
   ================================================ */
.media-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 12px;
}

.media-card {
  background: var(--card-bg);
  border: 2px solid var(--blue-lt);
  box-shadow: 3px 3px 0 var(--blue-lt);
  overflow: hidden;
  transition: all 0.15s;
  display: flex;
  flex-direction: column;
}

.media-card:hover {
  transform: translate(-2px,-2px);
  box-shadow: 5px 5px 0 var(--blue-md);
  border-color: var(--blue-md);
}

.media-card .media-cover {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
  border-bottom: 2px solid var(--blue-lt);
  image-rendering: auto;
  background: linear-gradient(135deg, var(--blue-lt), var(--mint));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
}

.media-card .media-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.media-card .media-cover.square { aspect-ratio: 1; }

.media-info {
  padding: 8px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.media-title {
  font-size: 11px;
  font-weight: 800;
  color: var(--text);
  line-height: 1.3;
}

.media-author {
  font-size: 10px;
  color: var(--text-lt);
}

.media-status {
  display: inline-block;
  padding: 1px 5px;
  font-family: var(--font-px);
  font-size: 5px;
  text-transform: uppercase;
  background: var(--mint);
  border: 1px solid #88dda0;
  color: #edf1ee;
  margin-top: 2px;
}

.media-status.reading { background: var(--blue-lt); border-color: var(--blue-md); color: #1a3a6c; }
.media-status.watching { background: #ffe8c8; border-color: #ffb866; color: #7a4400; }
.media-status.dropped { background: #ffd8d8; border-color: #ffaaaa; color: #7a0000; }

.media-comment {
  font-size: 13px;
  color: var(--text-lt);
  font-style: italic;
  border-top: 1px dashed var(--blue-lt);
  padding-top: 4px;
  margin-top: 4px;
  line-height: 1.4;
  
  /* NOVO: trunca em 3 linhas pra não bugar o grid */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;}
  
  /* NOVO: função ler mais */
  
.media-comment.has-more {
  cursor: pointer;
}
.media-comment.has-more::after {
  content: " (ler mais)";
  color: var(--blue-md);
  font-style: normal;
  font-weight: 700;
}

.comment-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.comment-modal-overlay.active { display: flex; }

.comment-modal {
  background: var(--card-bg);
  border: 2px solid var(--blue-md);
  box-shadow: 5px 5px 0 var(--blue-md);
  max-width: 420px;
  width: 100%;
  padding: 16px;
  position: relative;
}
.comment-modal-title {
  font-size: 13px;
  font-weight: 800;
  color: var(--text);
  margin: 0 0 6px;
  padding-right: 20px;
}
.comment-modal-text {
  font-size: 13px;
  color: var(--text-lt);
  font-style: italic;
  line-height: 1.5;
  margin: 0;
}
.comment-modal-close {
  position: absolute;
  top: 6px;
  right: 10px;
  cursor: pointer;
  font-size: 18px;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}  


/* ================================================
   PERSONAGENS — CARDS
   ================================================ */
.chars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 14px;
}

.char-card {
  background: var(--card-bg);
  border: 2px solid var(--blue-lt);
  box-shadow: 4px 4px 0 var(--blue-lt);
  overflow: hidden;
  transition: all 0.15s;
}

.char-card:hover {
  transform: translate(-2px,-2px);
  box-shadow: 6px 6px 0 var(--blue-md);
  border-color: var(--blue-md);
}

.char-portrait {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: top;
  border-bottom: 2px solid var(--blue-lt);
  background: linear-gradient(180deg, var(--blue-lt), var(--mint));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
}

.char-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.char-info { padding: 10px; }
.char-name {
  font-family: var(--font-px);
  font-size: 8px;
  color: var(--text);
  margin-bottom: 4px;
  letter-spacing: 1px;
}

.char-desc { font-size: 11px; color: var(--text-lt); line-height: 1.5; margin-bottom: 8px; }

.char-facts {
  border-top: 1px dashed var(--blue-lt);
  padding-top: 6px;
  font-size: 10px;
  color: var(--text);
}

.char-facts dt { font-weight: 800; color: var(--accent); font-size: 9px; }
.char-facts dd { color: var(--text-lt); margin-bottom: 3px; margin-left: 8px; }

/* ================================================
   PROJETOS — CARDS
   ================================================ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 14px;
}

.project-card {
  background: var(--card-bg);
  border: 2px solid var(--blue-lt);
  box-shadow: 4px 4px 0 var(--blue-lt);
  padding: 14px;
  transition: all 0.15s;
}

.project-card:hover {
  transform: translate(-2px,-2px);
  box-shadow: 6px 6px 0 var(--blue-md);
  border-color: var(--blue-md);
}

.project-name {
  font-family: var(--font-px);
  font-size: 9px;
  color: var(--text);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.project-desc { font-size: 12px; color: var(--text-lt); line-height: 1.6; margin-bottom: 10px; }

.project-links { display: flex; gap: 6px; flex-wrap: wrap; }

.btn-proj {
  padding: 4px 10px;
  font-family: var(--font-px);
  font-size: 6px;
  border: 2px solid var(--blue-md);
  background: var(--white);
  color: var(--text);
  cursor: pointer;
  text-decoration: none;
  transition: all 0.1s;
  display: inline-block;
}

.btn-proj:hover {
  background: var(--blue-md);
  color: #fff;
  box-shadow: 2px 2px 0 var(--accent);
  transform: translate(-1px,-1px);
  text-decoration: none;
}

/* ================================================
   CONTATO
   ================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
}

.contact-card {
  background: var(--card-bg);
  border: 2px solid var(--blue-lt);
  box-shadow: 3px 3px 0 var(--blue-lt);
  padding: 16px;
  text-align: center;
  transition: all 0.15s;
}

.contact-card:hover {
  transform: translate(-2px,-2px);
  box-shadow: 5px 5px 0 var(--blue-md);
  border-color: var(--blue-md);
}

.contact-icon { font-size: 32px; margin-bottom: 8px; }
.contact-label { font-family: var(--font-px); font-size: 7px; color: var(--text); margin-bottom: 4px; }
.contact-value { font-size: 12px; color: var(--accent); }

/* ================================================
   SEÇÃO DE LIVRO DE VISITAS
   ================================================ */
.guestbook-area {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  padding: 14px;
  text-align: center;
}

.guestbook-btns { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }

.btn-gb {
  padding: 8px 18px;
  font-family: var(--font-px);
  font-size: 7px;
  background: linear-gradient(135deg, var(--blue-lt), var(--blue-md));
  border: 2px solid var(--accent);
  color: var(--text);
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  box-shadow: 3px 3px 0 var(--accent);
  transition: all 0.1s;
}

.btn-gb:hover {
  transform: translate(-2px,-2px);
  box-shadow: 5px 5px 0 var(--accent);
  color: var(--text);
  text-decoration: none;
}

/* ================================================
   PÁGINA INTERNA — LAYOUT SIMPLES
   ================================================ */
.inner-layout {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 12px 30px;
}

.inner-content { padding: 0; }

/* ================================================
   NUVENS DECORATIVAS
   ================================================ 
.deco-cloud {
  display: inline-block;
  color: rgba(158,216,255,0.5);
  font-size: 22px;
  animation: cloud-drift 6s ease-in-out infinite alternate;
  user-select: none;
  pointer-events: none;
}
@keyframes cloud-drift {
  from { transform: translateX(-4px); }
  to   { transform: translateX(4px);  }
} */
/* ================== GIF ICONS==============*/
.gif-icon {
  width: 15px;
  height: 15px;
  display: inline;
  vertical-align: middle;
  margin-right: 5px;
}
/* ================================================
   RESPONSIVO
   ================================================ */


    