/* artigos.page.css — Hub de artigos e template de artigo */

/* ── Grid de cards do feed ── */
.artigos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 26px;
  margin-top: 28px;
}

.artigo-card {
  background: #fff;
  border: 2px solid #d4c5b9;
  border-radius: 2px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition:
    box-shadow 0.25s ease,
    transform 0.22s ease;
}

.artigo-card:hover {
  box-shadow: 0 8px 28px rgb(45 49 66 / 0.11);
  transform: translateY(-3px);
}

.artigo-cover {
  height: 140px;
  display: block;
  flex-shrink: 0;
}

.artigo-body {
  padding: 22px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.artigo-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.artigo-category {
  font-size: 0.72em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #6b7aa1;
  background: #eef3ff;
  border: 1px solid #cfd7ea;
  border-radius: 2px;
  padding: 3px 9px;
}

.artigo-read-time {
  font-size: 0.8em;
  color: #5a5f73;
}

.artigo-card h2 {
  font-size: 1.12em;
  color: #2d3142;
  margin: 0;
  font-weight: 700;
  line-height: 1.42;
  letter-spacing: -0.01em;
}

.artigo-card p {
  color: #3a3e4f;
  font-size: 0.95em;
  line-height: 1.65;
  margin: 0;
  flex: 1;
}

.artigo-card a.artigo-link {
  align-self: flex-start;
  background: #6b7aa1;
  color: #fff !important;
  text-decoration: none !important;
  padding: 10px 18px;
  font-weight: 600;
  font-size: 0.9em;
  border-radius: 2px;
  border: 2px solid #6b7aa1;
  margin-top: 4px;
  transition:
    background 0.2s ease,
    border-color 0.2s ease;
}

.artigo-card a.artigo-link:hover {
  background: #4a5568;
  border-color: #4a5568;
  color: #fff !important;
}

/* ── Capa no template do artigo ── */
.artigo-template-cover {
  height: 200px;
  border-radius: 2px;
  margin-bottom: 30px;
}

.artigo-template-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

/* ── Caixa de HEX highlight dentro dos artigos ── */
.hex-showcase {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 20px 0;
}

.hex-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #fff;
  border: 1px solid #d4c5b9;
  border-radius: 2px;
  padding: 10px 14px;
}

.hex-chip-swatch {
  width: 36px;
  height: 36px;
  border-radius: 2px;
  border: 1px solid rgb(45 49 66 / 0.12);
  flex-shrink: 0;
}

.hex-chip-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.hex-chip-name {
  font-size: 0.82em;
  font-weight: 600;
  color: #4a5568;
}

.hex-chip-value {
  font-family: "Courier New", monospace;
  font-size: 0.88em;
  font-weight: 700;
  color: #2d3142;
}

/* ── Fórmula / bloco de código inline nos artigos ── */
.formula-block {
  background: #2d3142;
  color: #e8dfd6;
  padding: 18px 22px;
  border-radius: 2px;
  font-family: "Courier New", monospace;
  font-size: 0.88em;
  line-height: 1.7;
  overflow-x: auto;
  margin: 20px 0;
}

.formula-block .formula-comment {
  color: #8e9775;
}

/* ── Responsive ── */
@media (max-width: 768px) {
  .artigos-grid {
    grid-template-columns: 1fr;
  }

  .artigo-template-cover {
    height: 130px;
  }

  .hex-showcase {
    flex-direction: column;
  }
}

/* ══════════════════════════════════════════
   WIDGETS VISUAIS DOS ARTIGOS
   ══════════════════════════════════════════ */

/* ── Terminal Matrix ── */
.matrix-terminal {
  background: #001a00;
  border: 1px solid #00cc33;
  border-radius: 4px;
  overflow: hidden;
  margin: 28px 0;
  font-family: "Courier New", monospace;
}

.matrix-terminal-header {
  background: #002600;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-bottom: 1px solid #003300;
}

.matrix-terminal-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #003300;
  border: 1px solid #00cc33;
  flex-shrink: 0;
}

.matrix-terminal-title {
  color: #00cc33;
  font-size: 0.73em;
  letter-spacing: 0.18em;
  margin-left: 4px;
}

.matrix-rain-canvas {
  display: block;
  width: 100%;
  height: 190px;
}

.matrix-terminal-input-area {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  border-top: 1px solid #002200;
  gap: 10px;
}

.matrix-prompt {
  color: #00cc33;
  font-size: 0.85em;
  white-space: nowrap;
  flex-shrink: 0;
}

.matrix-input {
  background: transparent;
  border: none;
  outline: none;
  color: #00ff41;
  font-family: "Courier New", monospace;
  font-size: 0.85em;
  flex: 1;
  caret-color: #00ff41;
}

.matrix-output {
  padding: 0 14px 10px;
  max-height: 90px;
  overflow-y: auto;
}

.matrix-output-line {
  color: #00cc33;
  font-size: 0.8em;
  margin: 4px 0 0;
}

/* ── Letreiro Neon Blade Runner ── */
.neon-sign-container {
  background: #0d0d0d;
  padding: 36px 24px;
  text-align: center;
  border-radius: 4px;
  margin: 28px 0;
  border: 1px solid #1a1a1a;
}

.neon-sign-city {
  font-size: 2.4em;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin: 0 0 8px;
  line-height: 1.2;
  color: #00bfff;
  text-shadow:
    0 0 5px #00bfff,
    0 0 12px #00bfff,
    0 0 28px #00bfff,
    0 0 56px #0ff,
    0 0 100px #0ff;
}

.neon-sign-year {
  font-size: 2em;
  font-weight: 900;
  letter-spacing: 0.45em;
  margin: 0;
  color: #ff6b35;
  text-shadow:
    0 0 5px #ff6b35,
    0 0 12px #ff6b35,
    0 0 28px #ff4500,
    0 0 56px #ff4500;
}

.neon-sign-subtitle {
  display: block;
  color: #444;
  font-size: 0.72em;
  letter-spacing: 0.12em;
  margin-top: 16px;
  font-family: "Courier New", monospace;
}

/* ── Cena Vaporwave (CSS art) ── */
.vaporwave-scene {
  position: relative;
  height: 250px;
  background: linear-gradient(
    to bottom,
    #1a1a2e 0%,
    #4a0e8f 42%,
    #b967ff 62%,
    #ff71ce 80%,
    #ff9980 100%
  );
  overflow: hidden;
  border-radius: 4px;
  margin: 28px 0;
  user-select: none;
}

.vaporwave-sun {
  position: absolute;
  bottom: 42%;
  left: 50%;
  transform: translateX(-50%);
  width: 130px;
  height: 65px;
  background: repeating-linear-gradient(
    to bottom,
    #fffb96 0px,
    #fffb96 8px,
    #ff71ce 8px,
    #ff71ce 14px
  );
  border-radius: 65px 65px 0 0;
  overflow: hidden;
}

.vaporwave-grid {
  position: absolute;
  bottom: 0;
  left: -40%;
  right: -40%;
  height: 46%;
  background:
    repeating-linear-gradient(
      to right,
      rgba(255, 113, 206, 0.75) 0px,
      rgba(255, 113, 206, 0.75) 1px,
      transparent 1px,
      transparent 55px
    ),
    repeating-linear-gradient(
      to bottom,
      rgba(255, 113, 206, 0.75) 0px,
      rgba(255, 113, 206, 0.75) 1px,
      transparent 1px,
      transparent 38px
    ),
    #1a1a2e;
  transform: perspective(140px) rotateX(52deg);
  transform-origin: top center;
}

.vaporwave-label {
  position: absolute;
  top: 14px;
  width: 100%;
  text-align: center;
  font-size: 0.82em;
  font-weight: 900;
  letter-spacing: 0.6em;
  color: #ff71ce;
  text-shadow:
    0 0 12px #ff71ce,
    0 0 28px #b967ff;
  font-family: Arial, sans-serif;
  text-transform: uppercase;
}

/* ── Padrão Memphis (SVG inline) ── */
.memphis-pattern {
  margin: 20px 0;
  border-radius: 4px;
  overflow: hidden;
  border: 1px solid #e8e8e8;
}

.memphis-pattern svg {
  display: block;
  width: 100%;
  height: auto;
  background: #fafafa;
}

/* ── Faixas de gradiente comparativo (Retrô) ── */
.retro-gradient-compare {
  margin: 24px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.retro-grad-row {
  display: flex;
  align-items: center;
  gap: 14px;
}

.retro-grad-label {
  font-size: 0.8em;
  font-weight: 700;
  color: #4a5568;
  width: 90px;
  flex-shrink: 0;
  text-align: right;
}

.retro-grad-strip {
  flex: 1;
  height: 38px;
  border-radius: 3px;
}

/* ── Painel Vilão vs Herói ── */
.villain-hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 24px 0;
}

.villain-panel,
.hero-panel {
  border-radius: 4px;
  overflow: hidden;
  border: 2px solid;
}

.villain-panel {
  border-color: #4b0082;
}

.hero-panel {
  border-color: #1a5276;
}

.color-stack {
  display: flex;
  height: 80px;
}

.color-block {
  flex: 1;
}

.villain-panel h4,
.hero-panel h4 {
  margin: 10px 12px 4px;
  font-size: 0.92em;
  font-weight: 700;
}

.villain-panel h4 {
  color: #4b0082;
}

.hero-panel h4 {
  color: #1a5276;
}

.villain-panel p,
.hero-panel p {
  margin: 0 12px 12px;
  font-size: 0.8em;
  color: #5a5f73;
}

/* ── Cards de Emoções ── */
.emotion-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 24px 0;
}

.emotion-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  background: var(--em-color);
  border-radius: 4px;
  padding: 16px 12px;
  min-width: 88px;
  flex: 1;
  text-align: center;
}

.emotion-icon {
  font-size: 1.5em;
  line-height: 1;
}

.emotion-name {
  font-weight: 700;
  font-size: 0.83em;
  color: var(--em-dark);
}

.emotion-hex {
  font-family: "Courier New", monospace;
  font-size: 0.7em;
  color: var(--em-dark);
  opacity: 0.8;
}

/* ── Tabela visual de escala de contraste ── */
.contrast-scale {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 24px 0;
  border: 1px solid #d4c5b9;
  border-radius: 4px;
  overflow: hidden;
}

.contrast-scale-item {
  display: flex;
  align-items: center;
  padding: 12px 18px;
  background: #fff;
  border-bottom: 1px solid #eee;
  gap: 16px;
}

.contrast-scale-item:last-child {
  border-bottom: none;
}

.cs-preview {
  flex: 1;
  font-size: 1em;
  background: #fff;
  padding: 6px 10px;
  border: 1px solid #f0ebe7;
  border-radius: 2px;
}

.cs-info {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.cs-info code {
  font-size: 0.8em;
}

.contrast-badge {
  font-size: 0.76em;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 2px;
  white-space: nowrap;
}

.contrast-fail {
  background: #fee2e2;
  color: #991b1b;
}

.contrast-pass {
  background: #d1fae5;
  color: #065f46;
}

.contrast-pass-aaa {
  background: #dbeafe;
  color: #1e40af;
}

/* ── Comparação de gradientes RGB vs OKLCH ── */
.gradient-compare-grid {
  margin: 24px 0;
  border: 1px solid #d4c5b9;
  border-radius: 4px;
  overflow: hidden;
}

.gradient-compare-grid p.gc-caption {
  margin: 0;
  padding: 10px 16px;
  font-size: 0.8em;
  color: #5a5f73;
  background: #f7f4f2;
  border-bottom: 1px solid #d4c5b9;
}

.gradient-row {
  display: grid;
  grid-template-columns: 62px 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #fff;
  border-bottom: 1px solid #eee;
}

.gradient-row:last-child {
  border-bottom: none;
}

.gradient-row-label {
  font-size: 0.8em;
  font-weight: 700;
  color: #4a5568;
  text-align: right;
  font-family: "Courier New", monospace;
}

.gradient-row-bar {
  height: 32px;
  border-radius: 2px;
}

.gradient-row-verdict {
  font-size: 0.75em;
  white-space: nowrap;
}

.gradient-row-verdict.bad {
  color: #991b1b;
}

.gradient-row-verdict.ok {
  color: #065f46;
}

.gradient-row-verdict.best {
  color: #1e40af;
}

/* ── Escala de Lightness OKLCH ── */
.oklch-scale {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 20px 0;
}

.oklch-swatch {
  flex: 1;
  min-width: 56px;
  display: flex;
  flex-direction: column;
}

.oklch-swatch-color {
  height: 54px;
  border-radius: 3px 3px 0 0;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.oklch-swatch-label {
  text-align: center;
  font-size: 0.66em;
  font-weight: 600;
  color: #4a5568;
  padding: 3px 0;
  background: #f5f5f5;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-top: none;
  border-radius: 0 0 3px 3px;
  font-family: "Courier New", monospace;
}

/* ── Responsive extra (widgets) ── */
@media (max-width: 600px) {
  .villain-hero-split {
    grid-template-columns: 1fr;
  }

  .neon-sign-city {
    font-size: 1.6em;
  }

  .neon-sign-year {
    font-size: 1.4em;
  }

  .gradient-row {
    grid-template-columns: 52px 1fr;
  }

  .gradient-row-verdict {
    display: none;
  }

  .vaporwave-scene {
    height: 200px;
  }
}

/* ── Céus Ghibli (Anime Aesthetic) ── */
.ghibli-skies {
  display: flex;
  gap: 10px;
  margin: 24px 0;
  flex-wrap: wrap;
}

.ghibli-sky {
  flex: 1;
  min-width: 140px;
  height: 90px;
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}

.ghibli-sky-label {
  position: absolute;
  bottom: 8px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 0.7em;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

/* ── Tabela Barbenheimer ── */
.barbenheimer-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
}

.barbenheimer-table th {
  background: #f7f4f2;
  padding: 10px 14px;
  border: 1px solid #d4c5b9;
  text-align: left;
}

.barbenheimer-table td {
  padding: 10px 14px;
  border: 1px solid #d4c5b9;
}

@media (max-width: 600px) {
  .ghibli-skies {
    flex-direction: column;
  }

  .ghibli-sky {
    min-width: unset;
    height: 70px;
  }
}

/* ── Cenas Cromáticas de Terror ── */
.terror-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 28px 0;
}

.terror-compare-panel {
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.terror-scene-title {
  padding: 8px 14px;
  font-size: 0.72em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.terror-scene-band {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4px 10px;
  font-size: 0.63em;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.35;
}

.terror-scene-caption {
  padding: 8px 14px;
  font-size: 0.7em;
  font-style: italic;
  line-height: 1.4;
  color: #555;
  background: #f7f4f2;
}

.terror-corridor {
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
  margin: 28px 0;
}

.terror-corridor-walls {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  height: 110px;
}

.terror-corridor-carpet {
  height: 26px;
  background: repeating-linear-gradient(
    90deg,
    #8b0000 0px,
    #8b0000 30px,
    #d4a017 30px,
    #d4a017 60px
  );
}

.terror-desaturacao {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-radius: 6px;
  overflow: hidden;
  margin: 28px 0;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.terror-desaturacao-band {
  display: flex;
  flex-direction: column;
}

.terror-desaturacao-cor {
  height: 80px;
}

.terror-desaturacao-label {
  padding: 6px 4px;
  text-align: center;
  font-size: 0.6em;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #666;
  background: #f0ede8;
  line-height: 1.25;
}

@media (max-width: 540px) {
  .terror-compare {
    grid-template-columns: 1fr;
  }
}

/* ══════════════════════════════════════════════════════
   Componentes genéricos — Artigos 11-15
   ══════════════════════════════════════════════════════ */

/* ── Tabela genérica reutilizável ── */
.article-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 0.9em;
}

.article-table th {
  background: #f7f4f2;
  padding: 10px 14px;
  border: 1px solid #d4c5b9;
  text-align: left;
  font-weight: 700;
  font-size: 0.88em;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #444;
}

.article-table td {
  padding: 10px 14px;
  border: 1px solid #d4c5b9;
  vertical-align: middle;
  line-height: 1.5;
}

.article-table tr:nth-child(even) td {
  background: #faf8f6;
}

.swatch-cell-dot {
  display: inline-block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.12);
  vertical-align: middle;
  margin-right: 6px;
  flex-shrink: 0;
}

/* ── Faixa de fase horizontal (Os Incríveis) ── */
.phase-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 56px;
  font-size: 0.72em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  line-height: 1.4;
  border-radius: 6px;
  margin: 8px 0;
}

.phase-bars-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 20px 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.phase-bars-group .phase-bar {
  border-radius: 0;
  margin: 0;
}

.phase-bar-label {
  font-size: 0.68em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  color: #666;
  padding: 6px 0 2px;
}

/* ── Bloco de gradiente CSS (Your Name) ── */
.gradient-block {
  height: 90px;
  border-radius: 6px;
  margin: 10px 0;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.gradient-block-label {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 5px 10px;
  font-size: 0.67em;
  font-weight: 700;
  background: rgba(0, 0, 0, 0.48);
  color: #fff;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 0 4px 0 0;
}

.gradient-block-hex {
  position: absolute;
  bottom: 0;
  right: 0;
  padding: 5px 10px;
  font-size: 0.62em;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.35);
  color: rgba(255, 255, 255, 0.85);
  font-family: monospace;
  border-radius: 4px 0 0 0;
}

.gradient-blocks-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 24px 0;
}

@media (max-width: 540px) {
  .gradient-blocks-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Swatches circulares Spider-Verse ── */
.spiderverse-palette {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 24px 0;
  align-items: flex-start;
}

.spiderverse-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  width: 70px;
}

.spiderverse-chip-swatch {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 2px solid rgba(0, 0, 0, 0.12);
  flex-shrink: 0;
}

.spiderverse-chip-name {
  font-size: 0.6em;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #444;
  line-height: 1.25;
}

.spiderverse-chip-hex {
  font-size: 0.58em;
  color: #888;
  font-family: monospace;
  text-align: center;
}

.spiderverse-universe {
  margin: 28px 0;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.spiderverse-universe-header {
  padding: 8px 14px;
  font-size: 0.72em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.spiderverse-universe-body {
  padding: 14px;
  background: #faf8f6;
}

/* ── Swatches do Grand Budapest Hotel ── */
.budapest-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0;
}

.budapest-swatch {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.09);
  min-width: 110px;
  flex: 1;
}

.budapest-swatch-color {
  height: 76px;
}

.budapest-swatch-info {
  padding: 8px 10px;
  background: #faf8f6;
}

.budapest-swatch-name {
  font-size: 0.7em;
  font-weight: 700;
  color: #333;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: block;
  line-height: 1.3;
}

.budapest-swatch-hex {
  font-size: 0.66em;
  color: #888;
  font-family: monospace;
  display: block;
  margin-top: 2px;
}

@media (max-width: 500px) {
  .budapest-swatches {
    gap: 10px;
  }

  .budapest-swatch {
    min-width: 90px;
  }

  .spiderverse-chip {
    width: 60px;
  }

  .spiderverse-chip-swatch {
    width: 48px;
    height: 48px;
  }
}

/* ══════════════════════════════════════════════════════
   Componentes genéricos — Artigos 16-20
   ══════════════════════════════════════════════════════ */

/* ── Comparação Dual de Paletas (Fight Club) ── */
.dual-palette-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 28px 0;
}

.dual-palette-panel {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.09);
}

.dual-palette-panel-title {
  padding: 10px 14px;
  font-size: 0.72em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

@media (max-width: 540px) {
  .dual-palette-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Cena Neon com Brilho (Euphoria) ── */
.neon-scene-block {
  background: rgba(10, 0, 30, 0.96);
  border-radius: 10px;
  padding: 20px;
  margin: 28px 0;
  border: 1px solid rgba(180, 100, 255, 0.25);
}

.neon-scene-title {
  font-size: 0.75em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(200, 150, 255, 0.85);
  margin: 0 0 14px;
}

.neon-scene-swatches {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.neon-scene-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.neon-scene-color {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.12);
  flex-shrink: 0;
}

.neon-scene-label {
  font-size: 0.6em;
  font-weight: 600;
  text-align: center;
  color: rgba(220, 200, 255, 0.75);
  font-family: "Courier New", monospace;
  line-height: 1.3;
  max-width: 64px;
}

/* ── Divisão de Mundo — Simulação vs Realidade (Matrix) ── */
.world-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 28px 0;
}

.world-split-panel {
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.09);
}

.world-split-title {
  padding: 10px 14px;
  font-size: 0.72em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

.world-split-content {
  padding: 14px;
  background: #faf8f6;
}

@media (max-width: 540px) {
  .world-split {
    grid-template-columns: 1fr;
  }
}

/* ── Demo CSS ao Vivo ── */
.article-css-demo {
  margin: 28px 0;
  border: 1px solid rgba(0, 0, 0, 0.09);
  border-radius: 10px;
  overflow: hidden;
}

.article-css-demo-label {
  font-size: 0.72em;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6b7280;
  margin: 0;
  padding: 10px 16px;
  background: #f5f5f5;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}

.article-css-demo-stage {
  padding: 32px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 90px;
}

.article-css-textarea {
  display: block;
  width: 100%;
  box-sizing: border-box;
  font-family: "Courier New", monospace;
  font-size: 0.78em;
  line-height: 1.6;
  padding: 14px 16px;
  background: #1a1a2e;
  color: #c0caf5;
  border: none;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
  resize: none;
}

.article-css-copy-btn {
  display: block;
  width: 100%;
  padding: 11px 16px;
  background: #f0f0f0;
  border: none;
  border-top: 1px solid rgba(0, 0, 0, 0.07);
  font-size: 0.82em;
  font-weight: 600;
  cursor: pointer;
  color: #374151;
  transition: background 0.15s;
}

.article-css-copy-btn:hover {
  background: #e5e7eb;
}

/* ── Botão estilo Euphoria ── */
.euphoria-button {
  background: #4a0080;
  color: #ffffff;
  border: 1px solid rgba(180, 100, 255, 0.4);
  box-shadow:
    0 0 16px rgba(123, 47, 190, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  padding: 12px 28px;
  border-radius: 4px;
  font-size: 0.95em;
  font-weight: 600;
  cursor: pointer;
  transition:
    background 0.2s,
    box-shadow 0.2s;
}

.euphoria-button:hover {
  box-shadow:
    0 0 28px rgba(199, 21, 133, 0.8),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  background: #7b2fbe;
}

/* ── Terminal Matrix ── */
.terminal-matrix {
  background: #001200;
  color: #00ff41;
  font-family: "Courier New", monospace;
  font-size: 0.88em;
  line-height: 1.8;
  text-shadow: 0 0 8px rgba(0, 255, 65, 0.8);
  padding: 20px 24px;
  border-radius: 6px;
  border: 1px solid rgba(0, 255, 65, 0.15);
  width: 100%;
  box-sizing: border-box;
}
