/* ==============================
   BASE GENERAL
============================== */

html,
body {
  overflow-x: hidden;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: radial-gradient(circle at top, #16161d 0%, #050505 80%);
  color: #e8e0d2;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.7;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: url('/noise.png');
  background-size: 950px;
  background-repeat: repeat;
  opacity: 0.10;
  pointer-events: none;
  z-index: 1;
}

.page,
.transmission,
.entry-page {
  position: relative;
  z-index: 2;
}


/* ==============================
   CABECERA / TRANSMISIÓN
============================== */

.transmission {
  width: 100%;
  padding: 10px 0;
  text-align: center;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 3px;
  color: #8d857a;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.02);
  text-transform: uppercase;
}

.transmission-time {
  position: absolute;
  right: 24px;
  top: 11px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 3px;
  color: #8d857a;
  opacity: 0.7;
  white-space: nowrap;
}


/* ==============================
   ESTRELLA SUPERIOR
============================== */

.top-star {
  position: absolute;
  top: 2px;
  left: 18px;
  width: 58px;
  opacity: 0.55;
  z-index: 30;
  mix-blend-mode: screen;
  pointer-events: none;
  filter: blur(0.2px) brightness(1.1);
}

.top-star img {
  width: 100%;
  display: block;
  filter: brightness(1.08) contrast(1.12);
}


/* ==============================
   PÁGINA PRINCIPAL
============================== */

.page {
  width: 92%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 48px 22px;
}

.intro,
.hero {
  text-align: center;
  padding: 70px 0 45px;
  border-bottom: 1px solid rgba(232, 224, 210, 0.25);
}

.signal {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: #b8afa2;
}

h1 {
  font-size: 72px;
  font-weight: normal;
  margin: 18px 0;
}

.subtitle {
  font-size: 18px;
  color: #c8bfb1;
  max-width: 580px;
  margin: 0 auto;
}


/* ==============================
   MENÚ
============================== */

.menu {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  margin: 26px 0 20px;
  font-family: 'IBM Plex Mono', monospace;
}

.menu a {
  color: #b8afa2;
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding-bottom: 8px;
  border-bottom: 1px solid transparent;
  opacity: 0.82;
}

.menu a:hover {
  border-bottom: 1px solid #b8afa2;
  opacity: 1;
}


/* ==============================
   HOME / LAYOUT CON SIDEBAR
============================== */

.home-layout {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 70px;
  align-items: start;
}

.home-main {
  width: 100%;
}

.transmissions-sidebar {
  padding-top: 40px;
  position: sticky;
  top: 120px;
}

.sidebar-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 4px;
  color: #fff6df;
  margin-bottom: 24px;
  text-shadow:
    0 0 6px rgba(255,246,223,0.45),
    0 0 14px rgba(255,246,223,0.18);
  animation: sidebarGlow 4s ease-in-out infinite;
}

.transmissions-sidebar a {
  display: block;
  margin-bottom: 16px;
  color: #7f776d;
  text-decoration: none;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 3px;
  transition: 0.3s;
}

.transmissions-sidebar a:hover,
.transmissions-sidebar a.active {
  color: #e8e0d2;
}


/* ==============================
   TARJETAS DE POSTS EN HOME
============================== */

.card {
  display: grid;
  grid-template-columns: 1.1fr;
  gap: 34px;
  margin: 36px 0;
  padding: 34px;
  border: 1px solid rgba(232, 224, 210, 0.14);
  background: rgba(255, 255, 255, 0.018);
}

.card img {
  width: 100%;
  filter: grayscale(100%) contrast(1.1);
  opacity: 0.82;
}

.card p {
  text-align: justify;
  text-justify: inter-word;
  line-height: 1.95;
}

.card-image {
  margin-bottom: 22px;
  overflow: hidden;
  border-radius: 4px;
}

.card-image img {
  width: 100%;
  display: block;
  filter: contrast(1.05) brightness(0.92);
  transition: transform 0.8s ease, filter 0.8s ease;
}

.card-image img:hover {
  transform: scale(1.015);
  filter: contrast(1.1) brightness(1);
}

.card-horizontal {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}

.card-text {
  flex: 1;
}

.card-preview {
  width: 180px;
  flex-shrink: 0;
}

.card-preview img {
  width: 100%;
  display: block;
  border-radius: 3px;
  filter: contrast(1.05) brightness(0.92);
}

h2 {
  font-weight: normal;
  margin-top: 0;
}

.date {
  color: #9c9387;
  font-size: 14px;
}


/* ==============================
   IMAGEN HERO
============================== */

.hero-image {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(232, 224, 210, 0.16);
  margin: 40px auto 50px;
}

.hero-image img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
  opacity: 0.92;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 40px;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.15),
    rgba(0,0,0,0.35)
  );
}

.hero-overlay h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 44px;
  letter-spacing: 12px;
  text-transform: uppercase;
  font-weight: normal;
  margin: 18px 0;
  color: #e8e0d2;
}


/* ==============================
   PÁGINA DE ENTRADA / POST
============================== */

.entry-page {
  width: 92%;
  max-width: 760px;
  margin: 0 auto;
  padding: 25px 0 80px;
}

.entry-content {
  width: 100%;
}

.entry-date {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 4px;
  color: #8d857a;
  margin-bottom: 22px;
}

.entry-content h1 {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 30px;
  font-weight: normal;
  line-height: 1.2;
  text-align: center;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

.entry-content p {
  color: #c8bfb1;
  line-height: 2;
  text-align: justify;
}

.read-more,
.back-link {
  display: inline-block;
  margin-top: 18px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  color: #d8d0c2;
  text-decoration: none;
  opacity: 0.72;
  transition:
    opacity 0.4s ease,
    text-shadow 0.4s ease,
    transform 0.4s ease,
    color 0.4s ease;
  animation: residualReadGlow 4.5s ease-in-out infinite;
}

.back-link {
  display: block;
  max-width: 760px;
  margin: 70px auto 0;
}

.read-more:hover,
.back-link:hover {
  opacity: 1;
  color: #fff6df;
  text-shadow:
    0 0 6px rgba(255,246,223,0.45),
    0 0 16px rgba(255,246,223,0.22);
  transform: translateX(4px);
}


/* ==============================
   LÁMINA DE TRANSMISIÓN
============================== */

.lamina-transmision {
  width: 100%;
  margin: 44px 0 56px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lamina-vhs {
  position: relative;
  width: auto;
  max-width: 460px;
  overflow: visible;
  border: none;
  background: transparent;
}

.lamina-vhs > img:first-child {
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.94;
  filter: grayscale(1) contrast(1.08);
}

.lamina-vhs .rgb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  pointer-events: none;
  z-index: 2;
}

.lamina-vhs:hover .rgb-red {
  opacity: 0.22;
  transform: translate(-3px, 1px);
  filter: sepia(1) saturate(8) hue-rotate(300deg);
  mix-blend-mode: screen;
}

.lamina-vhs:hover .rgb-blue {
  opacity: 0.20;
  transform: translate(3px, -1px);
  filter: sepia(1) saturate(8) hue-rotate(150deg);
  mix-blend-mode: screen;
}

.lamina-vhs::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  z-index: 4;
  background: repeating-linear-gradient(
    to bottom,
    rgba(232,224,210,0.13) 0px,
    rgba(232,224,210,0.13) 1px,
    transparent 2px,
    transparent 6px
  );
}

.lamina-vhs::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 42%;
  height: 2px;
  opacity: 0;
  pointer-events: none;
  z-index: 5;
  background: rgba(232,224,210,0.45);
  box-shadow: 0 0 12px rgba(232,224,210,0.3);
}

.lamina-vhs:hover > img:first-child {
  animation: ak-glitch 0.22s steps(2, end) infinite;
  filter: grayscale(0.2) contrast(1.24) brightness(1.04) saturate(1.1);
}

.lamina-vhs:hover::before {
  opacity: 1;
}

.lamina-vhs:hover::after {
  opacity: 1;
  animation: ak-linea-vhs 0.38s linear infinite;
}

.lamina-meta {
  width: 100%;
  max-width: 460px;
  margin-top: 13px;
  font-family: "IBM Plex Mono", monospace;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.lamina-meta p {
  margin: 0 0 5px;
  font-size: 10px;
  line-height: 1.5;
  color: rgba(232,224,210,0.68);
  text-align: left;
}

.lamina-meta span {
  font-size: 9px;
  color: rgba(232,224,210,0.38);
}


/* ==============================
   PROTECCIÓN VISUAL PARA INFANCIA_KIRLIAN
============================== */

.lamina-vhs.protected-image {
  width: 100%;
  max-width: 460px;
  aspect-ratio: 3 / 4;
  position: relative;
  overflow: hidden;
}

.infancia-kirlian {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image: url("Infancia_kirlian.jpg");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  pointer-events: none;
  filter: grayscale(1) contrast(1.12) brightness(0.82);
}

.infancia-kirlian.rgb {
  z-index: 5;
  opacity: 0;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.protected-image:hover .rgb-red {
  opacity: 0.42;
  transform: translate(-6px, 1px);
  filter:
    sepia(1)
    saturate(12)
    hue-rotate(305deg)
    brightness(1.25);
  mix-blend-mode: screen;
}

.protected-image:hover .rgb-blue {
  opacity: 0.38;
  transform: translate(6px, -1px);
  filter:
    sepia(1)
    saturate(12)
    hue-rotate(160deg)
    brightness(1.2);
  mix-blend-mode: screen;
}

.protected-image:hover .infancia-kirlian:not(.rgb) {
  animation: ak-glitch 0.22s steps(2, end) infinite;
  filter:
    grayscale(1)
    contrast(1.22)
    brightness(0.76);
}

.protected-image::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: auto;
}

.protected-image::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 42%;
  height: 2px;
  opacity: 0;
  pointer-events: none;
  z-index: 8;
  background: rgba(232,224,210,0.45);
  box-shadow: 0 0 12px rgba(232,224,210,0.3);
}

.protected-image:hover::after {
  opacity: 1;
  animation: ak-linea-vhs 0.38s linear infinite;
}


/* ==============================
   SOBRE MÍ
============================== */

.about-section {
  max-width: 760px;
  margin: 90px auto;
  padding: 54px;
  border-top: 1px solid rgba(232, 224, 210, 0.14);
  border-bottom: 1px solid rgba(232, 224, 210, 0.14);
  text-align: center;
}

.section-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: #b8afa2;
  opacity: 0.82;
  margin-bottom: 24px;
}

.about-section h2 {
  font-size: 36px;
  font-weight: normal;
  margin-bottom: 26px;
}

.about-section p {
  color: #c8bfb1;
  max-width: 680px;
  line-height: 1.9;
  text-align: left;
}


/* ==============================
   CONTACTO
============================== */

.contact-section {
  max-width: 760px;
  margin: 90px auto;
  padding: 54px;
  box-sizing: border-box;
}

.contact-section .section-label {
  font-size: 14px;
  letter-spacing: 6px;
}

.contact-title {
  text-align: center;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 28px;
  letter-spacing: 10px;
  opacity: 0.9;
  margin-bottom: 10px;
  text-transform: uppercase;
  margin-top: -110px;
}

.contact-form {
  width: 100%;
  margin-top: 28px;
  display: grid;
  gap: 16px;
  box-sizing: border-box;
  position: relative;
  z-index: 999;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 16px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(232, 224, 210, 0.14);
  color: #e8e0d2;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  box-sizing: border-box;
}

.contact-form textarea {
  min-height: 180px;
  resize: vertical;
}

.contact-form button,
.contact-button {
  width: fit-content;
  padding: 12px 22px;
  background: transparent;
  border: 1px solid rgba(232, 224, 210, 0.25);
  color: #e8e0d2;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 3px;
  cursor: pointer;
  text-decoration: none;
  appearance: none;
  -webkit-appearance: none;
}

.contact-button {
  display: inline-block;
  margin-top: 24px;
  transition: 0.3s;
}

.contact-button:hover {
  background: rgba(255,255,255,0.04);
  border-color: rgba(232,224,210,0.45);
}

form,
form input,
form textarea,
form button {
  position: relative;
  z-index: 99999;
  pointer-events: auto;
}

.contact-signal {
  margin-top: 40px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 2px;
  opacity: 0.6;
  text-transform: uppercase;
}

.contact-signal a {
  color: #d8d0c2;
  text-decoration: none;
  border-bottom: 1px solid rgba(216,208,194,0.3);
  transition: opacity 0.3s ease;
}

.contact-signal a:hover {
  opacity: 1;
}


/* ==============================
   DONACIONES / APOYO
============================== */

.donation-box {
  max-width: 520px;
  margin: 55px auto 35px;
  padding: 36px 30px;
  text-align: center;
  border: 1px solid rgba(232,224,210,0.16);
  background: rgba(255,255,255,0.018);
  box-shadow: 0 0 45px rgba(232,224,210,0.035);
}

.donation-kicker {
  margin: 0 0 18px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px;
  letter-spacing: 4px;
  text-transform: uppercase;
  opacity: 0.55;
}

.donation-text {
  max-width: 420px;
  margin: 0 auto 28px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  font-weight: normal;
  line-height: 1.7;
  opacity: 0.72;
}

.donation-button {
  display: inline-block;
  padding: 13px 22px;
  border: 1px solid rgba(232,224,210,0.28);
  color: #e8e0d2;
  text-decoration: none;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  background: rgba(232,224,210,0.035);
  transition: all 0.35s ease;
}

.donation-button:hover {
  background: rgba(232,224,210,0.08);
  border-color: rgba(232,224,210,0.55);
  box-shadow: 0 0 22px rgba(232,224,210,0.12);
}


/* ==============================
   BUSCADOR
============================== */

.search-box {
  margin-bottom: 34px;
}

.search-box input {
  width: 100%;
  padding: 10px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(232,224,210,0.14);
  color: #e8e0d2;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  box-sizing: border-box;
}

#searchResults a {
  display: block !important;
  margin-top: 10px;
  padding: 8px 10px;
  color: #e8e0d2 !important;
  text-decoration: none;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 1px;
  opacity: 0.72;
  border-left: 1px solid rgba(232,224,210,0.25);
  transition:
    opacity 0.4s ease,
    transform 0.4s ease,
    text-shadow 0.4s ease,
    border-color 0.4s ease;
  animation: residualGlow 4s ease-in-out infinite;
}

#searchResults a:hover {
  opacity: 1;
  color: #fff6df !important;
  text-shadow:
    0 0 6px rgba(255,246,223,0.45),
    0 0 16px rgba(255,246,223,0.22);
  border-left-color: rgba(255,246,223,0.75);
  transform: translateX(4px);
}


/* ==============================
   COMENTARIOS
============================== */

.comments-section {
  position: relative;
  z-index: 100;
  margin-top: 0 !important;
  padding-top: 0 !important;
  border-top: none !important;
}

.comments-section iframe,
#chattable {
  border-top: none !important;
}

#HCB_comment_box {
  margin-top: 120px;
  padding-top: 60px;
  border-top: 1px solid rgba(232,224,210,0.12);
}

#HCB_comment_box,
#HCB_comment_box * {
  pointer-events: auto;
}

#HCB_comment_box textarea,
#HCB_comment_box input {
  background: rgba(255,255,255,0.03) !important;
  color: #e8e0d2 !important;
  border: 1px solid rgba(232,224,210,0.12) !important;
  font-family: 'IBM Plex Mono', monospace !important;
}

#HCB_comment_box .hcb-comment-body {
  color: #c8bfb1 !important;
}

#HCB_comment_box .hcb-comment-tb button {
  background: transparent !important;
  color: #e8e0d2 !important;
  border: 1px solid rgba(232,224,210,0.2) !important;
}


/* ==============================
   BRÚJULA
============================== */

.compass {
  position: fixed;
  right: 30px;
  bottom: 40px;
  width: 280px;
  text-align: center;
  opacity: 0.72;
  z-index: 20;
  mix-blend-mode: screen;
  pointer-events: none;
}

.compass img {
  width: 100%;
  display: block;
  filter: brightness(1.1) contrast(1.15);
}

.compass p {
  mix-blend-mode: screen;
  margin-top: 14px;
  font-size: 10px;
  line-height: 1.8;
  letter-spacing: 3px;
  color: #8d857a;
  font-family: 'IBM Plex Mono', monospace;
}

.compass-status {
  animation: unstable-text 3.8s infinite;
}


/* ==============================
   PIE DE PÁGINA
============================== */

.footer-star {
  width: 100%;
  text-align: center;
  margin: 80px auto 0;
  transform: translateY(115px);
}

.footer-star img {
  width: 360px;
  max-width: 70%;
  opacity: 0.78;
  mix-blend-mode: screen;
  display: block;
  margin: 0 auto;
}

.coordinates {
  width: 100%;
  margin: 8px auto 30px;
  text-align: center;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 4px;
  color: #7e766c;
  opacity: 0.75;
}

.coordinates::before,
.coordinates::after {
  content: "—";
  margin: 0 14px;
  opacity: 0.4;
}

footer {
  width: 100%;
  text-align: center;
  margin: 60px auto 0;
  font-size: 13px;
  color: #8d857a;
}


/* ==============================
   ARCHIVOS
============================== */

.archive-intro {
  max-width: 760px;
  margin: 30px auto 54px;
  text-align: left;
}

.archive-intro h1 {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 30px;
  font-weight: normal;
  line-height: 1.2;
  letter-spacing: 1px;
  text-align: center;
  margin: 18px 0 28px;
}

.archive-intro p {
  color: #d8d0c2;
  line-height: 2;
}

.archive-list {
  max-width: 760px;
  margin: 0 auto 70px;
  border-top: 1px solid rgba(232,224,210,0.12);
}

.archive-item {
  display: grid;
  grid-template-columns: 120px 1fr 150px;
  gap: 22px;
  padding: 20px 0;
  border-bottom: 1px solid rgba(232,224,210,0.12);
  text-decoration: none;
  color: #c8bfb1;
  font-family: 'IBM Plex Mono', monospace;
  transition:
    color 0.35s ease,
    text-shadow 0.35s ease,
    transform 0.35s ease,
    opacity 0.35s ease;
}

.archive-date {
  font-size: 10px;
  letter-spacing: 2px;
  color: #8d857a;
}

.archive-title {
  font-size: 12px;
  letter-spacing: 2px;
}

.archive-status {
  font-size: 9px;
  letter-spacing: 2px;
  text-align: right;
  color: #8d857a;
  opacity: 0.7;
}

.archive-item:hover {
  color: #fff6df;
  text-shadow:
    0 0 6px rgba(255,246,223,0.35),
    0 0 14px rgba(255,246,223,0.12);
  transform: translateX(4px);
}

.archive-disabled {
  opacity: 0.38;
  pointer-events: none;
}


/* ==============================
   ECO RESIDUO VISUAL
============================== */

.meta-main {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 4px;
  color: #d8d0c2;
  opacity: 0.82;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.meta-echo {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 8px;
  letter-spacing: 3px;
  color: rgba(255,246,223,0.25);
  text-transform: lowercase;
  transform: translateX(14px);
  animation: echoFlicker 5s infinite ease-in-out;
}


/* ==============================
   EFECTO SEÑAL INESTABLE
============================== */

.signal-unstable .entry-content,
.signal-unstable .about-section {
  animation: subtle-signal-drift 9s infinite;
}

.signal-unstable .entry-content::before,
.signal-unstable .about-section::before {
  content: "";
  display: block;
  width: 100%;
  height: 1px;
  margin-bottom: 26px;
  background: rgba(232,224,210,0.18);
  box-shadow: 0 0 12px rgba(232,224,210,0.18);
  animation: signal-line 4.5s infinite;
}


/* ==============================
   LÁMINAS / GRID
============================== */

.laminas-intro {
  max-width: 760px;
  margin: 30px auto 50px;
  text-align: left;
}

.laminas-intro h1 {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 30px;
  font-weight: normal;
  line-height: 1.2;
  letter-spacing: 1px;
  text-align: center;
  margin: 18px 0 28px;
}

.laminas-intro p {
  color: #d8d0c2;
  line-height: 2;
}

.laminas-grid {
  max-width: 900px;
  margin: 0 auto 80px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 240px));
  justify-content: center;
  gap: 28px;
}

.lamina-card {
  width: 240px;
  display: block;
  text-decoration: none;
  color: #e8e0d2;
  border: 1px solid rgba(232,224,210,0.12);
  padding: 18px;
  background: rgba(255,255,255,0.025);
  transition:
    transform 0.5s ease,
    border-color 0.5s ease,
    box-shadow 0.5s ease;
}

.lamina-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255,246,223,0.45);
  box-shadow:
    0 0 12px rgba(255,246,223,0.08),
    0 0 28px rgba(255,246,223,0.05);
}

.lamina-card img {
  width: 100%;
  display: block;
  margin-bottom: 18px;
  filter: contrast(1.04) brightness(0.9);
}

.lamina-info h2 {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 17px;
  font-weight: normal;
  line-height: 1.4;
  letter-spacing: 1px;
  margin: 8px 0 10px;
  text-transform: uppercase;
}

.lamina-info p {
  font-size: 15px;
  color: #d8d0c2;
}

.lamina-code {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 10px !important;
  letter-spacing: 2px;
  color: #fff6df !important;
  opacity: 0.75;
  text-shadow:
    0 0 5px rgba(255,246,223,0.25),
    0 0 12px rgba(255,246,223,0.10);
}


/* ==============================
   ANIMACIONES
============================== */

@keyframes ak-glitch {
  0% { transform: translate(0, 0); }
  25% { transform: translate(-2px, 1px); }
  50% { transform: translate(2px, -1px); }
  75% { transform: translate(-1px, 0); }
  100% { transform: translate(0, 0); }
}

@keyframes ak-linea-vhs {
  0% { top: 12%; }
  45% { top: 74%; }
  100% { top: 38%; }
}

@keyframes unstable-text {
  0%, 92%, 100% {
    opacity: 0.55;
    transform: translate(0, 0);
  }

  93% {
    opacity: 1;
    transform: translate(-1px, 0);
  }

  95% {
    opacity: 0.18;
    transform: translate(1px, 0);
  }

  97% {
    opacity: 0.75;
    transform: translate(-1px, 0);
  }
}

@keyframes subtle-signal-drift {
  0%, 96%, 100% {
    transform: translate(0, 0);
    filter: none;
  }

  97% {
    transform: translate(-1px, 0);
    filter: contrast(1.08);
  }

  98% {
    transform: translate(1px, 0);
  }
}

@keyframes signal-line {
  0%, 88%, 100% {
    opacity: 0.2;
    transform: scaleX(1);
  }

  90% {
    opacity: 0.75;
    transform: scaleX(0.96);
  }

  93% {
    opacity: 0.1;
    transform: scaleX(1.02);
  }
}

@keyframes residualGlow {
  0%, 100% {
    text-shadow: none;
  }

  50% {
    text-shadow:
      0 0 5px rgba(255,246,223,0.22),
      0 0 12px rgba(255,246,223,0.10);
  }
}

@keyframes residualReadGlow {
  0%, 100% {
    text-shadow: none;
  }

  50% {
    text-shadow:
      0 0 4px rgba(255,246,223,0.18),
      0 0 10px rgba(255,246,223,0.08);
  }
}

@keyframes sidebarGlow {
  0%, 100% {
    text-shadow:
      0 0 4px rgba(255,246,223,0.18);
    opacity: 0.75;
  }

  50% {
    text-shadow:
      0 0 8px rgba(255,246,223,0.55),
      0 0 18px rgba(255,246,223,0.22);
    opacity: 1;
  }
}

@keyframes echoFlicker {
  0%, 100% {
    opacity: 0.16;
    transform: translateX(14px);
  }

  48% {
    opacity: 0.32;
  }

  50% {
    opacity: 0.08;
    transform: translateX(16px);
  }

  52% {
    opacity: 0.28;
    transform: translateX(13px);
  }
}


/* ==============================
   RESPONSIVE / TABLET
============================== */

@media (max-width: 800px) {

  .menu {
    gap: 16px;
  }

  .menu a {
    font-size: 11px;
    letter-spacing: 1px;
  }

}


/* ==============================
   RESPONSIVE / MÓVIL
============================== */

@media (max-width: 768px) {

  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  main,
  .page,
  .entry-page,
  .entry-content,
  .home-main {
    width: 100%;
    max-width: 100%;
  }

  .page {
    padding: 32px 18px;
  }

  .entry-page {
    padding: 0 20px 80px;
  }

  .entry-content {
    margin: 0 auto;
    padding: 40px 0;
  }

  /* Cabecera móvil */
  .transmission {
  position: relative;
  width: 100%;
  padding: 10px 0;
  text-align: center;
  font-size: 7px;
  letter-spacing: 0.8px;
  white-space: nowrap;
  overflow: hidden;
}

  /* Hora superior derecha móvil: corregida para que no baje */
  .transmission-time {
    position: absolute !important;
    top: 11px !important;
    right: 12px !important;
    transform: none !important;
    font-size: 7px !important;
    letter-spacing: 1px !important;
    white-space: nowrap !important;
    line-height: 1 !important;
    z-index: 99999 !important;
  }

  /* Estrella superior móvil */
  .top-star {
    position: absolute !important;
    top: 4px !important;
    left: 10px !important;
    width: 42px !important;
    opacity: 0.52;
    z-index: 9999 !important;
  }

  .top-star img {
    width: 100% !important;
    display: block !important;
    transform: none !important;
  }

  /* Menú móvil */
  .menu {
    flex-wrap: wrap;
    gap: 10px;
    margin: 22px 0 18px;
  }

  .menu a {
    font-size: 10px;
    letter-spacing: 1px;
  }

  /* Index móvil */
  .home-layout {
    display: block;
    width: 100%;
  }

  .transmissions-sidebar {
    position: static;
    width: 100%;
    padding-top: 10px;
    margin-bottom: 35px;
    text-align: center;
  }

  .sidebar-label {
    font-size: 9px;
    letter-spacing: 3px;
  }

  .card {
    width: 100%;
    max-width: 100%;
    padding: 22px;
    margin: 28px 0;
  }

  .card-horizontal {
    display: flex;
    flex-direction: column;
  }

  .card-text {
    display: contents;
  }

  .card-text h2,
  .card-text .date,
  .card-text p {
    order: 1;
  }

  .card-preview {
    order: 2;
    width: 100%;
    max-width: 220px;
    margin: 24px auto 0;
  }

  .card-text .read-more {
    order: 3;
    margin-top: 32px !important;
  }

  .card p {
    text-align: left;
  }

  .card img,
  .card-image img,
  .card-preview img {
    width: 100%;
    max-width: 100%;
    height: auto;
  }

  /* Banner móvil */
  .hero-image {
    margin: 24px auto 40px;
  }

  .hero-image img {
    height: auto;
    min-height: 260px;
    object-fit: contain;
    background: #0a0a0a;
  }

  .hero-overlay {
    padding: 20px;
  }

  .hero-overlay h1 {
    font-size: 24px;
    letter-spacing: 4px;
    line-height: 1.2;
  }

  /* Textos móvil */
  .entry-content h1,
  .laminas-intro h1,
  .archive-intro h1 {
    font-size: 24px;
    line-height: 1.2;
    text-align: center;
    letter-spacing: 1px;
  }

  .entry-content p,
  .laminas-intro p,
  .archive-intro p {
    font-size: 16px;
    line-height: 1.75;
    text-align: left;
  }

  .read-more,
  .back-link {
    display: block;
    width: fit-content;
    max-width: 100%;
    margin: 52px auto 0 !important;
    text-align: center;
    font-size: 10px;
    letter-spacing: 2px;
  }

  /* Láminas móvil */
  .laminas-intro {
    margin: 28px auto 42px;
  }

  .laminas-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
    gap: 24px;
  }

  .lamina-card {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
  }

  /* Archivo móvil */
  .archive-list {
    max-width: 100%;
  }

  .archive-item {
    grid-template-columns: 1fr;
    gap: 8px;
    text-align: left;
  }

  .archive-status {
    text-align: left;
  }

  /* Donaciones móvil */
  .donation-box {
    margin: 35px auto 30px;
    padding: 30px 22px;
  }

  .donation-text {
    font-size: 14px;
    line-height: 1.7;
  }

  .donation-button {
    font-size: 10px;
    letter-spacing: 2px;
    padding: 12px 18px;
  }

  /* Brújula móvil */
  .compass {
    position: fixed;
    right: 10px;
    bottom: 10px;
    width: 75px;
    transform: none !important;
  }

  .compass img {
    width: 75px;
    max-width: 75px;
  }

  .compass-status {
    font-size: 8px;
    letter-spacing: 1px;
  }

  /* Footer móvil */
  .footer-star {
    margin: 50px auto 0;
    transform: translateY(105px) !important;
  }

  .footer-star img {
    width: 240px;
    max-width: 90%;
    transform: none !important;
  }

  .coordinates {
    font-size: 9px;
    letter-spacing: 1.5px;
    padding: 0 10px;
    margin: 15px auto 25px;
  }

  .coordinates::before,
  .coordinates::after {
    margin: 0 6px;
  }

  footer {
    padding: 0 20px 90px;
    font-size: 10px;
    line-height: 1.6;
  }

  /* Eco visual móvil */
  .meta-main {
    font-size: 5px;
    letter-spacing: 2px;
    margin-bottom: 2px;
  }

  .meta-echo {
    font-size: 3px;
    letter-spacing: 1.5px;
    transform: translateX(6px);
    opacity: 0.08;
  }

}


/* ==============================
   MÓVILES MUY ESTRECHOS
============================== */

@media (max-width: 480px) {

  .transmission {
  padding: 10px 0;
  font-size: 7px;
}

  .transmission-time {
    top: 11px !important;
    right: 10px !important;
    font-size: 7px !important;
    letter-spacing: 1px !important;
  }

  .top-star {
    top: 4px !important;
    left: 8px !important;
    width: 38px !important;
  }

  h1 {
    font-size: 42px;
  }

  .entry-content h1,
  .laminas-intro h1,
  .archive-intro h1 {
    font-size: 22px;
  }

  .footer-star {
    transform: translateY(95px) !important;
  }

  .coordinates {
    letter-spacing: 1.2px;
  }

}


/* ==============================
   FONDO RESIDUAL DONACIONES
============================== */

/* ==============================
   MOVIMIENTO FARO / APOYO
============================== */

.support-image {
  width: 100%;
  max-width: 320px;
  margin: 0 auto 30px;
  opacity: 0.78;
}

.support-image img {
  width: 100%;
  display: block;

  filter:
    grayscale(1)
    contrast(1.18)
    brightness(0.72);

  mix-blend-mode: screen;

  animation: faroBreath 7s ease-in-out infinite;
}

@keyframes faroBreath {
  0%, 100% {
    transform: scale(1);
    filter: contrast(1.05) brightness(0.88) saturate(0.9);
  }

  50% {
    transform: scale(1.035);
    filter: contrast(1.12) brightness(1) saturate(1.08);
  }
}

.support-code {
  margin-top: 12px;

  font-family: 'IBM Plex Mono', monospace;
  font-size: 9px;
  letter-spacing: 3px;

  text-align: center;
  text-transform: uppercase;

  opacity: 0.42;
}

/* ==============================
   FONDO FARO APOYO
============================== */

.donation-box {
  position: relative;
  overflow: hidden;
}

.donation-box::before {
  content: "";

  position: absolute;
  inset: 0;

  background-image: url("banner-faro.png");
  background-size: cover;
  background-position: center;

  opacity: 0.14;

  filter:
    grayscale(1)
    contrast(1.1)
    brightness(0.65);

  z-index: 0;

  transform: scale(1.08);
}

.donation-box > * {
  position: relative;
  z-index: 2;
}

/* ==============================
   PÁGINA APOYO · AJUSTE FINAL
============================== */

.support-page .contact-section {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.support-page .donation-box {
  margin-bottom: 0 !important;
}

.support-page .footer-star {
  margin-top: 0 !important;
  transform: translateY(70px) !important;
}

.support-page .coordinates {
  margin-top: -25px !important;
  margin-bottom: 12px !important;
}

.support-page footer {
  margin-top: 15px !important;
}

/* ==============================
   APOYO · FOOTER MÓVIL
============================== */

@media (max-width: 768px) {

  .support-page .footer-star {
    transform: translateY(85px) !important;
    margin-top: 10px !important;
  }

  .support-page .coordinates {
    margin-top: 5px !important;
    margin-bottom: 14px !important;
  }

}