 .divisor2 {
  text-align: center;
  margin: 5rem 0;
  font-family: "Consolas", monospace;
  font-size: 11px;
  color: #555;
}

.divisor2::before {
  content: "[ memory fragment incomplete ]";
}

.first-section {
  background-color: var(--bg-color);
  padding: 3rem 2rem 2rem;
}

@media (max-width: 768px) {
  .first-section {
    padding: 1rem 1rem 1rem;
  }
}

.first-section-inner {
  border: 1px solid #3a3a3a;
  padding: 6px;
  border-radius: 8px;
  background: rgba(14, 14, 14, 0.85);
  margin: 2rem 0;
}

.first-section p {
  text-align: center;
}

.second-section {
  background-color: var(--bg-color);
  padding: 2rem;
  border-radius: inherit;
  padding-bottom: 4rem;
}


@media (max-width: 768px) {
  .second-section {
    padding: 1rem;
    padding-bottom: 2rem;
    padding-top: 0rem;
  }
}

.second-section-inner {
  border: 1px solid #3a3a3a;
  border-radius: 8px;
  padding-bottom: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #0e0e0ef8;
  background-image: url('../img/concrete.png');
  background-size: 100%;
  background-blend-mode: multiply;
}

@media (max-width: 768px) {
  .second-section-inner {
    padding-bottom: 1rem;
  }
}

.records-title {
  font-family: var(--fuentes-titulos);
  font-size: 24px;
  font-style: italic;
  color: #eee;
  padding: .5rem 0;
}

.record-card {
  display: flex;
  align-items: center;
  background: #141414;
  border: 1px solid #2f2f2f;
  border-radius: 8px;
  margin-top: 1.2rem;
  padding: .6rem;
  gap: 1rem;
  width: 90%;
}

.record-card:hover {
  background: rgba(24, 24, 24, 1);
  border-color: #5a5a5a;
  background-image: url("../img/noise.jpg");
  background-size: 300px;
  background-blend-mode: overlay;
}

.record-thumb {
  width: 130px;
  height: 75px;
  object-fit: cover;
  border-radius: 4px;
  filter: contrast(0.85) brightness(0.8) saturate(0.6) grayscale(0.2);
  -webkit-mask-image: linear-gradient(to bottom, #000 70%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 70%, transparent 100%);
}

.record-info h3 {
  font-family: var(--fuentes-titulos);
  color: #ddd;
  margin: 0;
}

.record-info p {
  color: #aaa;
  margin: 0;
  font-size: 13px;
  margin-top: .3rem;
  max-width: 65ch;
}

.page-frame2 {
  width: 60%;
  margin: 1rem auto 0;
  display: flex;
  justify-content: center;
  background-color: transparent;
  border: 1px solid #3a3a3a;
  border-radius: 8px;
  box-shadow:
      0 0 12px rgba(0, 0, 0, 0.7),
      inset 0 0 8px rgba(255, 255, 255, 0.05);
}

@media (max-width: 768px) {
  .page-frame2 {
    width: 90%;
  }
}

.divisor {
  border-bottom: 1px solid #2a2a2a;
  width: 100%;
}

@media (max-width: 768px) {
  .page-frame2 {
    display: flex;
    flex-direction: column;
  }
}

.glitch {
  position: relative;
  color: #fff;
  animation: glitchAnim 1s infinite;
}

.glitch::before,
.glitch::after {
  content: attr(data-text);
  position: absolute;
  left: 0;
  top: 0;
  color: #ff3c3c;
  opacity: 0.7;
  z-index: -1;
}

.glitch::after {
  color: #27fdf5;
  left: 1px;
  top: 1px;
}

.update-text.typewriter {
  white-space: normal;
  display: flex;
  flex-direction: column;
  overflow: visible;
  gap: 0.4rem;
  min-height: auto;
  margin-bottom: 0;
}

.update-line {
  font-size: 13px;
  color: #c7c7c7;
  line-height: 1.5;
  opacity: 0;
  animation: fadeIn 0.3s ease-out forwards;
}

.update-line:last-child {
  margin-bottom: 1rem;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

@keyframes fadeOut {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

.section-glitch-break {
  position: relative;
  background-color: rgba(0,0,0,0.4);
  padding: 2rem;
  margin: 4rem 0;
  overflow: hidden;
  box-shadow: inset 0 1px 0 rgba(255,0,0,0.2);
  border: none;
}

.glitch-bg {
  background-image: url('../img/noise.jpg'); 
  background-size: 300px;
  opacity: 0.04;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  mix-blend-mode: screen;
  pointer-events: none;
}

.glitch-content {
  position: relative;
  z-index: 1;
  text-align: left;
  max-width: 800px;
  margin: 0 auto;
  font-family: 'VT323', monospace;
  color: #c7c7c7;
}

.glitch-gif {
  float: right;
  width: 88px;
  image-rendering: pixelated;
  margin-left: 1rem;
  animation: floatGif 5s ease-in-out infinite;
}

@keyframes floatGif {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
  100% {
    transform: translateY(0);
  }
}

.glitch-title {
  font-size: 24px;
  color: #ff3c3c;
  text-shadow: 0 0 4px #ff3c3c;
  animation: glitchText 1s infinite;
}

@keyframes glitchText {
  0% {
    text-shadow: 1px 0 red;
  }
  20% {
    text-shadow: -1px -1px cyan;
  }
  40% {
    text-shadow: 2px 1px magenta;
  }
  60% {
    text-shadow: -2px 0 blue;
  }
  80% {
    text-shadow: 1px 2px green;
  }
  100% {
    text-shadow: 0 0 4px red;
  }
}
