/* Cursor Customizado */
    html {
      cursor: url('cursor 1.png'), auto;
    }

    /* Scrollbar Customizado */
    ::-webkit-scrollbar {
      width: 10px;
    }

    ::-webkit-scrollbar-track {
      background: #dab1b1;
    }

    ::-webkit-scrollbar-thumb {
      background: #460505;
    }

    ::-webkit-scrollbar-thumb:hover {
      background: #3f2e2e;
    }

    /* Fundo do Body */
    body {
      margin: 0;
      background: linear-gradient(135deg, #0c0099, #21005e, #f000ff, #ff6600, #ffcc00);
      background-size: 400% 400%;
      animation: gradientShift 20s ease infinite;
      background-image: url('img/ODiárioLunático.png');
      background-repeat: no-repeat;
      background-position: center;
      background-attachment: fixed;
      background-size: cover;
      color: #ffee88;
      font-family: 'Gideon Roman', serif;
    }

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

    /* Main Container */
    #content {
      margin-top: 32px;
      padding: 20px;
    }

    #content .ast-container {
      background: #04003aa8;
      border: 5px outset #04003aa8;
      padding: 40px;
      max-width: 1200px;
      margin: 0 auto;
      border-radius: 8px;
    }

    /* Header Styles */
    header h1 {
      font-size: 2.5rem;
      letter-spacing: 3px;
      font-weight: 600;
      text-align: center;
      margin: 20px 0;
    }

    .entry-meta {
      text-align: center;
      color: #e6e6e6;
      margin-bottom: 30px;
    }

    /* Details/Summary Styling */
    details {
      user-select: none;
      margin: 20px 0;
      padding: 15px;
      background: rgba(0, 0, 0, 0.5);
      border-radius: 5px;
      border: 1px solid #c70000;
    }

    summary {
      display: flex;
      cursor: pointer;
      font-weight: bold;
      padding: 10px;
      align-items: center;
    }

    summary::-webkit-details-marker {
      display: none;
    }

    summary span.icon {
      width: 24px;
      height: 24px;
      transition: all 0.3s;
      margin-left: auto;
    }

    details[open] summary span.icon {
      transform: rotate(180deg);
    }

    /* Audio Player */
    audio {
      width: 100%;
      margin-top: 10px;
    }

    /* Content Text */
    .entry-content p {
      line-height: 1.8;
      margin: 15px 0;
      text-align: center;
    }

    /* Divider */
    hr {
      border: none;
      border-top: 2px solid #dd3333;
      margin: 40px 0;
      box-shadow: 0 0 10px rgba(221, 51, 51, 0.5);
    }

    /* Grid Layout */
    .grid {
      display: grid;
      grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
      gap: 20px;
      margin: 40px 0;
    }

    .grid a {
      text-decoration: none;
      color: inherit;
    }

    /* Card Styles */
    .card {
      background-color: rgb(168, 0, 160);
      border: 2px solid rgb(206, 5, 196);
      border-radius: 8px;
      overflow: hidden;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .card:hover {
      transform: translateY(-5px) scale(1.02);
      box-shadow: 0 10px 30px rgba(248, 203, 0, 0.6);
    }

    .card img {
      width: 100%;
      height: 200px;
      object-fit: cover;
      display: block;
    }

    .card p {
      padding: 15px;
      font-weight: 600;
      font-size: 0.95rem;
      line-height: 1.5;
      background-color: rgba(206, 5, 196, 0.8);
      margin: 0;
      text-align: center;
    }

    .card p span {
      font-family: 'Share Tech Mono', monospace;
      background: linear-gradient(90deg, red, orange, yellow, green, cyan, blue, violet);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
      font-weight: bold;
    }

    /* Return Link */
    .return-link {
      display: block;
      text-align: center;
      margin: 40px 0;
      font-size: 1.2rem;
      font-weight: bold;
    }

    /* Responsive Design */
    @media (max-width: 768px) {
      #content .ast-container {
        padding: 20px;
      }

      header h1 {
        font-size: 1.8rem;
      }

      .grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
      }
    }

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

      header h1 {
        font-size: 1.5rem;
      }
    }

    /* =================================================================
   ANIMAÇÕES
   ================================================================= */

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


/* =================================================================
   HEADER E TÍTULOS
   ================================================================= */

header h1 {
  font-size: 2.5rem;
  letter-spacing: 3px;
  font-weight: 600;
  background: linear-gradient(90deg, red, orange, yellow, green, cyan, blue, violet);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 12px rgba(255, 255, 255, 0.3);
  text-align: center;
  margin: 20px 0;
}


/* =================================================================
   DETAILS E SUMMARY (ACORDEÃO)
   ================================================================= */

details {
  user-select: none;
  margin: 20px 0;
  padding: 15px;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 5px;
  border: 1px solid #c70000;
}

summary {
  display: flex;
  cursor: pointer;
  font-weight: bold;
  padding: 10px;
  align-items: center;
  list-style: none;
}

summary::-webkit-details-marker {
  display: none;
}

summary span.icon {
  width: 24px;
  height: 24px;
  transition: all 0.3s ease;
  margin-left: auto;
}

details[open] summary span.icon {
  transform: rotate(180deg);
}


/* =================================================================
   DIVISORES
   ================================================================= */

.divider {
  width: 85%;
  margin: 0 auto 30px;
  border-bottom: 1px solid #00ff80;
  box-shadow: 0 0 5px #00ff80;
}

hr {
  border: none;
  border-top: 2px solid #dd339c;
  margin: 40px 0;
  box-shadow: 0 0 10px rgba(221, 51, 51, 0.5);
}

/* =================================================================
   UTILITÁRIOS E ACESSIBILIDADE
   ================================================================= */

/* Links */
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

a:hover {
  opacity: 0.8;
}

a:focus {
  outline: 2px solid #00ff80;
  outline-offset: 2px;
}