/* EDITORIAL FONTS */
@import url('https://fonts.googleapis.com/css2?family=Merriweather:wght@300;400;700&family=Playfair+Display:wght@500;600;700&display=swap');


:root {
  --bg: #050814;
  --bg-card: #111827;
  --accent: #f97316;
  --accent-soft: #fed7aa;
  --text: #f9fafb;
  --text-muted: #9ca3af;
  --border: #1f2937;
  --shadow-soft: 0 18px 40px rgba(0, 0, 0, 0.35);
  --radius-full: 999px;
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font-sans);
  background: radial-gradient(circle at top, #111827 0, #020617 45%, #000 100%);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px 16px 40px;
}

/* HEADER */

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 26px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 16px;
  background: radial-gradient(circle at 30% 20%, #f97316, #7c2d12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 20px;
  box-shadow: 0 0 18px rgba(249, 115, 22, 0.45);
}

.logo-text-title {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.logo-text-sub {
  font-size: 12px;
  color: var(--text-muted);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

nav {
  display: flex;
  gap: 14px;
  font-size: 14px;
}

nav a {
  padding: 6px 12px;
  border-radius: var(--radius-full);
  background: transparent;
  border: 1px solid transparent;
  color: var(--text-muted);
}

nav a:hover {
  border-color: var(--accent-soft);
  color: var(--accent-soft);
  background: rgba(249, 115, 22, 0.06);
}

.nav-primary {
  border-color: rgba(249, 115, 22, 0.6);
  color: #fed7aa;
  background: radial-gradient(circle at top left, #f97316, #9a3412);
  box-shadow: 0 14px 28px rgba(249, 115, 22, 0.35);
}

.nav-primary:hover {
  filter: brightness(1.05);
}

/* LANGUAGE SWITCHER */

.lang-switcher {
  display: flex;
  gap: 4px;
  background: rgba(15, 23, 42, 0.9);
  border-radius: var(--radius-full);
  padding: 2px;
  border: 1px solid #1f2937;
}

.lang-btn {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-size: 11px;
  padding: 4px 8px;
  border-radius: var(--radius-full);
  cursor: pointer;
}

.lang-btn.active {
  background: radial-gradient(circle at top left, #f97316, #b91c1c);
  color: #fefce8;
  box-shadow: 0 6px 14px rgba(249, 115, 22, 0.5);
}

/* HERO */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.6fr);
  gap: 24px;
  margin-bottom: 26px;
}

.hero-main {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.98), rgba(3, 7, 18, 0.98));
  border-radius: 24px;
  padding: 24px 24px 22px;
  box-shadow: var(--shadow-soft);
  border: 1px solid #1f2937;
  position: relative;
  overflow: hidden;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(249, 115, 22, 0.3);
  background: rgba(15, 23, 42, 0.8);
  color: var(--accent-soft);
  font-size: 11px;
  margin-bottom: 14px;
}

.hero-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #22c55e;
  box-shadow: 0 0 10px #22c55e;
}

.hero-title {
  font-size: 26px;
  font-weight: 750;
  margin-bottom: 8px;
}

.hero-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  max-width: 480px;
  margin-bottom: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 18px;
}

/* BUTTONS */

.btn {
  border-radius: var(--radius-full);
  border: 1px solid transparent;
  padding: 8px 16px;
  font-size: 13px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: transform 0.1s ease, box-shadow 0.1s ease, background 0.1s ease;
}

.btn-primary {
  background: radial-gradient(circle at top left, #f97316, #b91c1c);
  color: #fff7ed;
  box-shadow: 0 12px 30px rgba(249, 115, 22, 0.4);
  border-color: rgba(248, 250, 252, 0.1);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 38px rgba(249, 115, 22, 0.45);
}

.btn-ghost {
  background: rgba(15, 23, 42, 0.85);
  border-color: #1f2937;
  color: var(--text-muted);
}

.btn-ghost:hover {
  background: rgba(31, 41, 55, 0.98);
  color: var(--accent-soft);
}

/* HERO META */

.hero-meta {
  display: flex;
  gap: 18px;
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.hero-meta strong {
  color: #e5e7eb;
  font-weight: 600;
}

.hero-manga-title {
  font-size: 15px;
  font-weight: 600;
  margin-top: 2px;
  color: #fee2e2;
}

/* HERO ASIDE */

.hero-aside {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.hero-card-small {
  background: rgba(15, 23, 42, 0.95);
  border-radius: 18px;
  border: 1px solid #1f2937;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.hero-card-small-badge {
  font-size: 10px;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(148, 163, 184, 0.6);
  color: var(--text-muted);
  display: inline-block;
  margin-bottom: 3px;
}

.hero-card-small-title {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 2px;
}

.hero-card-small-sub {
  font-size: 11px;
  color: var(--text-muted);
}

/* TAG */

.tag {
  display: inline-flex;
  font-size: 10px;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  background: rgba(55, 65, 81, 0.7);
  margin-right: 4px;
  margin-top: 3px;
}

/* MAIN LAYOUT */

.layout-main {
  display: grid;
  grid-template-columns: minmax(0, 3.2fr) minmax(0, 2.3fr);
  gap: 22px;
  align-items: flex-start;
}

.section-title {
  font-size: 16px;
  font-weight: 650;
  margin-bottom: 10px;
}

.section-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

/* GRID DE REVIEWS */

.grid-reviews {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
}

.review-card {
  background: var(--bg-card);
  border-radius: 16px;
  padding: 10px;
  border: 1px solid var(--border);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.1s ease, border-color 0.1s ease;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.review-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 32px rgba(0, 0, 0, 0.5);
  border-color: rgba(249, 115, 22, 0.5);
}

.review-card-cover {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  height: 180px;
  margin-bottom: 6px;
  background: radial-gradient(circle at top, #f97316, #111827);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #fee2e2;
  text-align: center;
  padding: 0;
}

.review-card-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.review-card-cover-fallback {
  padding: 8px;
}

.review-card-cover-text {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 6px 8px;
  font-size: 10px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: #f9fafb;
  text-align: left;
}

.review-card-rating {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 3px 7px;
  font-size: 11px;
  border-radius: var(--radius-full);
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(252, 211, 77, 0.7);
  color: #fef3c7;
}

.review-card-title {
  font-size: 13px;
  font-weight: 600;
}

.review-card-meta {
  font-size: 11px;
  color: var(--text-muted);
}

.review-card-tags {
  margin-top: 2px;
}

/* DETAIL PANEL */

.detail {
  background: linear-gradient(145deg, rgba(15, 23, 42, 0.96), rgba(8, 47, 73, 0.96));
  border-radius: 20px;
  padding: 16px 16px 14px;
  border: 1px solid rgba(55, 65, 81, 0.9);
  box-shadow: var(--shadow-soft);
  position: sticky;
  top: 16px;
}

.detail-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 8px;
}

.detail-title {
  font-size: 15px;
  font-weight: 700;
}

.detail-rating {
  font-size: 13px;
  color: #facc15;
}

.detail-meta-line {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.detail-tags {
  margin-bottom: 8px;
}

.detail-section-title {
  font-size: 12px;
  font-weight: 600;
  margin-top: 8px;
  margin-bottom: 4px;
}

.detail-text {
  font-size: 12px;
  color: #e5e7eb;
  margin-bottom: 3px;
}

.detail-list {
  font-size: 12px;
  margin-left: 16px;
  margin-top: 2px;
  margin-bottom: 6px;
}

.detail-list li {
  margin-bottom: 2px;
}

.detail-actions {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

/* BUY / SECONDARY BUTTONS */

.btn-buy {
  font-size: 12px;
  padding: 7px 14px;
  border-radius: var(--radius-full);
  border: none;
  background: radial-gradient(circle at top left, #f97316, #b91c1c);
  color: #fefce8;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 10px 26px rgba(248, 113, 113, 0.45);
}

.btn-buy:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 32px rgba(248, 113, 113, 0.6);
}

.btn-secondary {
  font-size: 11px;
  padding: 6px 12px;
  border-radius: var(--radius-full);
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(148, 163, 184, 0.6);
  color: var(--text-muted);
  cursor: pointer;
}

.btn-secondary:hover {
  background: rgba(30, 64, 175, 0.95);
  color: #e5e7eb;
}

/* FOOTER */

footer {
  margin-top: 26px;
  font-size: 11px;
  color: var(--text-muted);
  text-align: center;
  border-top: 1px solid #111827;
  padding-top: 12px;
}

/* RESPONSIVE */

@media (max-width: 960px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }

  .header-right {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 840px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .layout-main {
    grid-template-columns: minmax(0, 1fr);
  }

  .detail {
    position: static;
  }

  nav {
    flex-wrap: wrap;
  }
}

@media (max-width: 520px) {
  .hero-main {
    padding: 18px 16px;
  }

  .hero-title {
    font-size: 22px;
  }

  .grid-reviews {
    grid-template-columns: minmax(0, 1fr);
  }

  .header-right {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 8px;
  }
}

.guide-main {
  max-width: 760px;
  margin: 16px auto 0;
}

.guide-main .section-title {
  /* já herda o estilo global, mas se quiser pode ajustar aqui */
}

.guide-main .section-sub {
  font-size: 13px;
}


.manga-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 2.2fr);
  gap: 20px;
  margin-top: 8px;
}

.manga-detail-left {
  background: rgba(15, 23, 42, 0.95);
  border-radius: 18px;
  padding: 12px;
  border: 1px solid #1f2937;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.4);
}

.manga-detail-cover-wrapper {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 10px;
  background: radial-gradient(circle at top, #f97316, #111827);
}

.manga-detail-cover-wrapper img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.manga-detail-rating {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 8px;
  font-size: 12px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(252, 211, 77, 0.7);
  color: #fef3c7;
}

.manga-detail-meta {
  font-size: 12px;
  color: #e5e7eb;
  margin-bottom: 6px;
}

.manga-detail-meta-item {
  margin-bottom: 3px;
}

.manga-detail-tags {
  margin-top: 4px;
}

.manga-detail-right {
  padding: 8px 4px;
}

@media (max-width: 768px) {
  .manga-detail-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

.blog-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
  margin-top: 12px;
}

.blog-card {
  background: rgba(15, 23, 42, 0.95);
  border-radius: 16px;
  padding: 12px;
  border: 1px solid #1f2937;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.1s ease, border-color 0.1s ease;
}

.blog-card:hover {
  transform: translateY(-2px);
  border-color: rgba(249, 115, 22, 0.6);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.6);
}

.blog-card-title {
  font-size: 15px;
  font-weight: 650;
  margin-bottom: 4px;
}

.blog-card-meta {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.blog-card-excerpt {
  font-size: 12px;
  color: #e5e7eb;
  margin-bottom: 6px;
}

.blog-card-tags {
  margin-top: 2px;
}

.post-content {
  margin-top: 10px;
}

.post-content {
  max-width: 720px;
  margin: 0 auto;
}

.post-content .detail-text {
  font-size: 18px;
  line-height: 1.7;
  color: #e5e7eb;
  margin-bottom: 18px;
}

#post-title {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.25;
  margin-bottom: 8px;
}

#post-meta {
  font-size: 16px;
  opacity: 0.75;
  margin-bottom: 18px;
}

.manga-detail-tags .tag {
  font-size: 14px;
  padding: 5px 12px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  margin-right: 6px;
}

.post-content p:first-child::first-letter {
  font-size: 38px;
  font-weight: 700;
  float: left;
  line-height: 0.9;
  padding-right: 6px;
  padding-top: 4px;
  color: #f97316;
}

@media (max-width: 600px) {
  #post-title {
    font-size: 26px;
  }

  .post-content .detail-text {
    font-size: 16.5px;
    line-height: 1.65;
  }

  .post-content {
    padding: 0 10px;
  }
}

/* ===========================
   EDITORIAL TYPOGRAPHY
   =========================== */

/* TÍTULO DO POST */
#post-title {
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 32px;
  line-height: 1.25;
  margin-bottom: 10px;
}

/* META (data + tempo) */
#post-meta {
  font-family: "Merriweather", serif;
  font-size: 16px;
  opacity: 0.78;
  margin-bottom: 18px;
}

/* CORPO DO ARTIGO */
.post-content .detail-text {
  font-family: "Merriweather", serif;
  font-size: 18px;
  line-height: 1.7;
  letter-spacing: 0.2px;
  color: #e5e7eb;
  margin-bottom: 18px;
  margin-top: 18px;

}

/* TAG TAG TAG */
.manga-detail-tags .tag {
  font-family: "Inter", sans-serif;
  font-size: 14px;
}

/* DROP CAP (opcional) */
.post-content p:first-child::first-letter {
  font-family: "Playfair Display", serif;
  font-size: 40px;
  font-weight: 700;
  float: left;
  line-height: 0.9;
  padding-right: 6px;
  padding-top: 4px;
  color: #f97316;
}

/* LARGURA IDEAL PARA LEITURA */
.post-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 10px;
}

@media (max-width: 600px) {
  #post-title {
    font-size: 26px;
  }

  .post-content .detail-text {
    font-size: 16.5px;
    line-height: 1.65;
  }
}



/* Layout principal já existia, mas reforçamos aqui se precisar */
.manga-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 2.2fr);
  gap: 20px;
  margin-top: 8px;
}

.manga-detail-left {
  background: rgba(15, 23, 42, 0.95);
  border-radius: 18px;
  padding: 12px;
  border: 1px solid #1f2937;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.4);
}

.manga-detail-cover-wrapper {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 10px;
  background: radial-gradient(circle at top, #f97316, #111827);
}

.manga-detail-cover-wrapper img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}

.manga-detail-rating {
  position: absolute;
  top: 10px;
  left: 10px;
  padding: 4px 8px;
  font-size: 12px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.9);
  border: 1px solid rgba(252, 211, 77, 0.7);
  color: #fef3c7;
}

.manga-detail-stars {
  position: absolute;
  bottom: 8px;
  left: 10px;
  padding: 3px 8px;
  font-size: 14px;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.85);
  color: #fbbf24;
}

.manga-detail-meta {
  font-size: 12px;
  color: #e5e7eb;
  margin-bottom: 6px;
}

.manga-detail-meta-item {
  margin-bottom: 3px;
}

.manga-detail-tags {
  margin-top: 4px;
}

.manga-detail-right {
  padding: 8px 4px;
}

/* Breadcrumb */
.breadcrumb {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.breadcrumb a {
  color: #9ca3af;
}

/* Seções */
.manga-section {
  margin-top: 18px;
}

.manga-section-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.manga-section-sub {
  font-size: 12px;
  color: #9ca3af;
  margin-bottom: 6px;
}

/* Box de preço */
.manga-price-box {
  margin-top: 10px;
  padding: 10px;
  border-radius: 12px;
  border: 1px solid #1f2937;
  background: rgba(15, 23, 42, 0.95);
}

.manga-price-title {
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 4px;
}

.manga-price-value {
  font-size: 18px;
  font-weight: 700;
  color: #fbbf24;
  margin-bottom: 2px;
}

.manga-price-note {
  font-size: 11px;
  color: #9ca3af;
}

/* Volumes */
.manga-section-box {
  margin-top: 12px;
}

.manga-volume-list {
  list-style: none;
  padding: 0;
  margin: 6px 0 0;
}

.manga-volume-list li {
  padding: 6px 8px;
  border-radius: 10px;
  border: 1px solid #1f2937;
  margin-bottom: 4px;
  font-size: 12px;
  background: rgba(15, 23, 42, 0.9);
}

.manga-volume-clickable {
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.1s ease, border-color 0.1s ease;
}

.manga-volume-clickable:hover {
  transform: translateY(-1px);
  border-color: rgba(249, 115, 22, 0.7);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
}

.manga-volume-line {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

.manga-volume-label {
  font-weight: 600;
}

.manga-volume-status {
  font-size: 11px;
  color: #9ca3af;
}

/* Tags clicáveis */
.tag-clickable {
  cursor: pointer;
}

/* Adaptação */
.manga-adaptation-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 2fr);
  gap: 10px;
}

.manga-adaptation-image-wrapper {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #1f2937;
  background: radial-gradient(circle at top, #f97316, #111827);
}

.manga-adaptation-image-wrapper img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.manga-adaptation-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
}

.manga-adaptation-where {
  font-size: 12px;
  color: #9ca3af;
  margin-bottom: 4px;
}

.manga-adaptation-comment {
  font-size: 12px;
}

/* Autor */
.manga-author-box {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  border-radius: 14px;
  border: 1px solid #1f2937;
  background: rgba(15, 23, 42, 0.95);
  padding: 10px;
}

.manga-author-avatar-wrapper {
  flex: 0 0 64px;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid #1f2937;
}

.manga-author-avatar-wrapper img {
  width: 64px;
  height: 64px;
  object-fit: cover;
  display: block;
}

.manga-author-info {
  flex: 1;
}

.manga-author-name {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 4px;
}

.manga-author-bio {
  font-size: 12px;
  color: #d1d5db;
}

/* Galeria */
.manga-gallery {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.manga-gallery-thumb {
  border: none;
  padding: 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid #1f2937;
  background: rgba(15, 23, 42, 0.9);
  cursor: pointer;
  width: 80px;
  height: 80px;
}

.manga-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Recomendados */
.manga-recommended-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
  margin-top: 6px;
}

.manga-recommended-card {
  border-radius: 14px;
  border: 1px solid #1f2937;
  background: rgba(15, 23, 42, 0.95);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.45);
  cursor: pointer;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.1s ease, box-shadow 0.1s ease, border-color 0.1s ease;
}

.manga-recommended-card:hover {
  transform: translateY(-2px);
  border-color: rgba(249, 115, 22, 0.7);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.6);
}

.manga-recommended-cover {
  height: 120px;
  background: radial-gradient(circle at top, #f97316, #111827);
}

.manga-recommended-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.manga-recommended-body {
  padding: 8px;
}

.manga-recommended-title {
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 2px;
}

.manga-recommended-meta {
  font-size: 11px;
  color: #9ca3af;
}

/* Navegação prev/next */
.manga-nav-buttons {
  display: flex;
  justify-content: space-between;
  gap: 8px;
}

/* Responsivo */
@media (max-width: 768px) {
  .manga-detail-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .manga-adaptation-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

.logo-mark-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
}

.review-card {
  cursor: pointer;
}

.review-card:hover {
  transform: translateY(-4px);
}

.detail-panel {
  background: #05060a;
  border-radius: 16px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.04);
}

.detail-panel-inner {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.detail-panel-header {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: space-between;
}

.detail-pill {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.16);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.8;
}

.detail-title {
  font-size: 18px;
  font-weight: 700;
  flex: 1;
  margin: 0 8px;
}

.detail-rating {
  font-size: 14px;
  opacity: 0.9;
}

.detail-cover-block {
  display: flex;
  gap: 12px;
  margin-top: 6px;
}

.detail-cover {
  width: 96px;
  height: 140px;
  object-fit: cover;
  border-radius: 8px;
}

.detail-meta {
  font-size: 12px;
  opacity: 0.9;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.detail-summary {
  font-size: 13px;
  line-height: 1.5;
  margin-top: 8px;
}

.detail-tags {
  margin-top: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.tag-small {
  font-size: 11px;
  padding: 3px 8px;
}

.detail-list-block {
  margin-top: 8px;
}

.detail-list-block h3 {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.8;
  margin-bottom: 4px;
}

.detail-list {
  margin: 0;
  padding-left: 16px;
  font-size: 12px;
}

.detail-list li {
  margin-bottom: 3px;
}

.detail-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}


/* ===== LIGHTBOX GALERIA ===== */

body.no-scroll {
  overflow: hidden;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: none;
  align-items: center;
  justify-content: center;
}

.gallery-lightbox.is-open {
  display: flex;
}

.gallery-lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
}

.gallery-lightbox-dialog {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  padding: 12px;
  border-radius: 16px;
  background: rgba(10, 10, 18, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.7);
}

#gallery-lightbox-image {
  max-width: 100%;
  max-height: 70vh;
  border-radius: 8px;
  object-fit: contain;
}

.gallery-lightbox-close {
  position: absolute;
  top: 8px;
  right: 10px;
  border: none;
  background: transparent;
  font-size: 18px;
  cursor: pointer;
  opacity: 0.9;
}

.gallery-lightbox-close:hover {
  opacity: 1;
}

.gallery-lightbox-controls {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}

.gallery-lightbox-prev,
.gallery-lightbox-next {
  min-width: 40px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(24, 25, 35, 0.95);
  font-size: 14px;
  cursor: pointer;
}

.gallery-lightbox-prev:hover,
.gallery-lightbox-next:hover {
  border-color: rgba(255, 255, 255, 0.45);
}

/* thumbs da galeria (se quiser dar um up) */
.manga-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.manga-gallery-thumb {
  border: none;
  padding: 0;
  background: transparent;
  cursor: zoom-in;
}

.manga-gallery-thumb img {
  display: block;
  width: 82px;
  height: 82px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.manga-gallery-thumb img:hover {
  border-color: rgba(255, 255, 255, 0.45);
}


