.feed:empty {
  display: none;
}

h1 {
  font-family: "Clash Display", sans-serif;
}

body,
.sub,
.post p {
  font-family: "Satoshi", sans-serif;
}

body {
  background: #0a0a0a;
  color: #e5e5e5;
  margin: 0;
  padding: 0;
}

.main {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 24px;
}

h1 {
  font-size: clamp(2.5rem, 8vw, 6rem);
  letter-spacing: -0.04em;
  text-align: center;
  margin: 0;
  line-height: 0.95;
}

.sub {
  font-size: clamp(0.9rem, 2vw, 1rem);
  opacity: 0.7;
  text-align: center;
  margin: 0;
}

.feed {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 60px;
  padding: 40px 20px 80px;
}

.post {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 500px;
  border: 1px solid #1a1a1a;
  border-radius: 4px;
  overflow: hidden;
  background: #0b0b0b;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
  opacity: 0;
  transform: translateY(80px);
  transition: opacity 1.2s ease, transform 1.2s ease;
}

.post.visible {
  opacity: 1;
  transform: translateY(0);
}

.post:nth-child(even) {
  background: #0f0f0f;
}

.post:nth-child(odd) {
  background: #080808;
}

.post img {
  width: 60%;
  height: auto;
  display: block;
  margin: 20px auto 0;
  object-fit: cover;
  border: 1px solid #1a1a1a;
  filter: grayscale(100%) blur(5px) brightness(0.4);
  transition: filter 0.5s ease, transform 0.5s ease;
}

.post:hover img {
  filter: grayscale(100%) blur(0) brightness(1);
  transform: scale(1.05);
}

.post p {
  padding: 20px 25px 30px;
  color: #888;
  line-height: 1.6;
  background: transparent;
  font-size: 0.9rem;
  margin: 0;
  position: relative;
  z-index: 6;
  white-space: pre-wrap;
}

.post.text-only p {
  font-size: 1.1rem;
  opacity: 1;
  color: #fff;
  text-align: center;
  padding: 50px 25px;
}

.post::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.1) 50%),
    linear-gradient(90deg, rgba(255, 0, 0, 0.02), rgba(0, 255, 0, 0.01), rgba(0, 0, 255, 0.02));
  background-size: 100% 3px, 3px 100%;
  pointer-events: none;
  z-index: 5;
  opacity: 0.5;
  animation: tv-flicker 0.15s infinite;
}

@keyframes tv-flicker {
  0% { opacity: 0.45; }
  50% { opacity: 0.5; }
  100% { opacity: 0.45; }
}

.post:empty,
img:not([src]),
img[src=""] {
  display: none !important;
}

@media (max-width: 600px) {
  .feed {
    gap: 30px;
  }

  h1 {
    margin-top: 12vh;
  }

  .post {
    max-width: 100%;
  }

  .post img {
    width: 75%;
  }

  .post p {
    font-size: 0.95rem;
    padding: 18px 18px 24px;
  }
}