/* Custom post styles - Indie Alternative Minimalist */
@import url('https://fonts.googleapis.com/css2?family=Pontano+Sans&display=swap');

/* Override body styles */
body {
  background: linear-gradient(120deg, #ffffff, #dfdfdf, #c4c4c4) !important;
  background-size: 400% 400% !important;
  animation: gradientAnimation 10s ease infinite !important;
  font-family: 'Pontano Sans', sans-serif !important;
  position: relative;
  overflow-x: hidden;
}

@keyframes gradientAnimation {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Particles background */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

/* Header styles */
.top {
  background: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding: 20px 0;
}

.logo {
  font-family: 'Pontano Sans', sans-serif !important;
  font-size: 1.5em !important;
  color: black !important;
  text-decoration: none !important;
}

/* Main content container with glassmorphism */
.post {
  position: relative;
  z-index: 10;
}

.content {
  max-width: 800px;
  margin: 40px auto;
  padding: 40px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
}

/* Hero section */
.hero__content {
  background: none !important;
}

.wrapper h1 {
  font-family: 'Pontano Sans', sans-serif !important;
  font-size: 2.2em !important;
  font-weight: normal !important;
  color: black !important;
  margin-bottom: 20px;
  line-height: 1.3;
}

/* Meta information */
.feed__meta,
.content__meta {
  font-family: 'Pontano Sans', sans-serif !important;
  color: #555 !important;
  font-size: 0.9em;
}

.feed__author,
.feed__date {
  color: #555 !important;
}

/* Post content */
.entry-wrapper {
  font-family: 'Pontano Sans', sans-serif !important;
}

.content__entry p {
  font-family: 'Pontano Sans', sans-serif !important;
  font-size: 1.1em !important;
  line-height: 1.8 !important;
  color: #222 !important;
  margin-bottom: 1.5em;
}

.content__entry strong {
  color: black !important;
  font-weight: 600;
}

.content__entry ul {
  margin: 1.5em 0;
  padding-left: 2em;
}

.content__entry li {
  font-family: 'Pontano Sans', sans-serif !important;
  font-size: 1.05em !important;
  line-height: 1.7 !important;
  color: #222 !important;
  margin-bottom: 0.8em;
}

/* Images */
.post__image {
  margin: 2em 0;
  border-radius: 12px;
  overflow: hidden;
}

.post__image img {
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Footer in post */
.content__footer {
  margin-top: 3em;
  padding-top: 2em;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.content__updated {
  font-family: 'Pontano Sans', sans-serif !important;
  font-size: 0.9em !important;
  color: #666 !important;
}

/* Bio section */
.content__bio {
  background: rgba(255, 255, 255, 0.2);
  padding: 20px;
  border-radius: 12px;
  margin-top: 2em;
}

.bio__name a {
  font-family: 'Pontano Sans', sans-serif !important;
  color: black !important;
  text-decoration: none;
}

.bio__name a:hover {
  text-decoration: underline;
}

/* Navigation between posts */
.content__nav {
  background: rgba(255, 255, 255, 0.1);
  padding: 30px 0;
  margin-top: 3em;
  border-radius: 15px;
}

.content__nav-link {
  font-family: 'Pontano Sans', sans-serif !important;
  color: black !important;
  text-decoration: none;
  transition: all 0.3s ease;
}

.content__nav-link:hover {
  transform: translateX(5px);
}

.content__nav-prev .content__nav-link:hover {
  transform: translateX(-5px);
}

/* Footer */
.footer {
  background: rgba(255, 255, 255, 0.1) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  margin-top: 60px;
}

.footer__copyright p {
  font-family: 'Pontano Sans', sans-serif !important;
  color: #555 !important;
}

/* Back to top button */
#backToTop {
  background: rgba(255, 255, 255, 0.2) !important;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  border-radius: 50%;
  transition: all 0.3s ease;
}

#backToTop:hover {
  background: rgba(255, 255, 255, 0.4) !important;
  transform: translateY(-3px);
}

/* Share button */
.content__share-button {
  background: rgba(255, 255, 255, 0.2) !important;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
  border-radius: 8px;
  padding: 10px 20px;
  font-family: 'Pontano Sans', sans-serif !important;
  color: black !important;
  transition: all 0.3s ease;
}

.content__share-button:hover {
  background: rgba(255, 255, 255, 0.4) !important;
}

/* Responsive */
@media (max-width: 768px) {
  .content {
    margin: 20px;
    padding: 25px;
  }

  .wrapper h1 {
    font-size: 1.8em !important;
  }

  .content__entry p {
    font-size: 1em !important;
  }
}
