.code-block {
    margin-top: 2rem;
    background-color: #0d0d0d;
    padding: 1rem;
    border: 1px solid #00ff00;
    box-shadow: 0 0 10px #00ff00;
    border-radius: 6px;
    overflow-x: auto;
  }
  
  .code-block pre {
    margin: 0;
    font-family: 'Courier New', monospace;
    color: #39ff14;
    font-size: 0.9rem;
    line-height: 1.5;
    text-shadow: 0 0 5px #39ff14;
  }
  
  /* Terminal sim */
  .terminal {
    background: #000;
    color: #00ff00;
    padding: 1rem;
    font-family: 'Courier New', monospace;
    border: 1px solid #00ff00;
    border-radius: 6px;
    box-shadow: 0 0 10px #00ff00;
    margin-top: 1rem;
  }
  
  .terminal p {
    margin: 0.2rem 0;
  }
  
  .terminal-cursor {
    animation: blink 0.75s step-end infinite;
  }
  
  .terminal-line {
    display: flex;
    align-items: center;
    margin-top: 0.5rem;
  }
  
  .terminal-line .prompt {
    color: #00ff00;
    margin-right: 0.5rem;
  }
  
  #terminal-input {
    background: black;
    border: none;
    color: #39ff14;
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    outline: none;
    width: 100%;
  }
  
  .glitched-output {
    color: #ff00ff;
    text-shadow: 0 0 5px #ff00ff, 0 0 10px #ff00ff;
  }
  
  .grid-section {
    display: grid;
    grid-template-areas:
      "a1 a2";
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 2rem;
  }
  
  .a1 {
    grid-area: a1;
  }
  
  .a2 {
    grid-area: a2;
  }
  
  .grid-cell {
    padding: 1rem;
    border: 1px solid #00ff00;
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 6px;
    box-shadow: 0 0 10px #00ff00;
    overflow-wrap: break-word;
    word-break: break-word;
  }
  
  .grid-cell ul {
    padding-left: 1.2rem;
    margin: 0;
  }
  
  .grid-cell li a {
    color: #39ff14;
    text-decoration: none;
    text-shadow: 0 0 5px #39ff14;
  }
  
  .grid-cell li a:hover {
    color: #ffffff;
    text-shadow: 0 0 10px #00ff00, 0 0 20px #00ff00;
  }
  
  /* Responsive fix */
  @media (max-width: 768px) {
    .grid-section {
      grid-template-areas:
        "a1"
        "a2";
      grid-template-columns: 1fr;
    }
  }
  
  /* ----------------------------------------- */
/* 🧩 CODE SNIPPETS GRID                     */
/* ----------------------------------------- */
.snippets-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.snippet-card {
  background-color: #0d0d0d;
  border: 1px solid #00ff00;
  box-shadow: 0 0 10px #00ff00;
  border-radius: 6px;
  overflow: hidden;
  transition: transform 0.2s ease;
}

.snippet-card summary {
  cursor: pointer;
  font-size: 1.1rem;
  padding: 1rem;
  background: #000;
  color: #00ffcc;
  text-shadow: 0 0 5px #00ffee;
  border-bottom: 1px solid #00ff00;
}

.snippet-card[open] {
  transform: scale(1.02);
}

.snippet-card pre {
  margin: 0;
  padding: 1rem;
  font-family: 'Courier New', monospace;
  color: #39ff14;
  font-size: 0.9rem;
  background-color: #0d0d0d;
  overflow-x: auto;
  text-shadow: 0 0 5px #39ff14;
}

/* Optional: Highlight the code on hover */
.snippet-card:hover {
  box-shadow: 0 0 15px #00ff00, 0 0 30px #00ff00;
}

/* Responsive adjustments if needed */
@media (max-width: 768px) {
  .snippets-grid {
    grid-template-columns: 1fr;
  }
}

.cyberroom-intro {
  margin: 3rem auto;
  padding: 1.5rem 2rem;
  text-align: center;
  max-width: 500px;
  border: 1px dashed #00ffee;
  border-radius: 8px;
  background-color: rgba(0, 0, 0, 0.3);
  box-shadow: 0 0 10px #00ffee44;
}

.cyberroom-intro p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  color: #00ffee;
  text-shadow: 0 0 5px #00ffee, 0 0 10px #00ffee;
}

.cyberroom-intro .neon-button {
  margin-top: 0.5rem;
}

.neon-button.purple {
  background: transparent;
  border: 1px solid #c94eff;
  color: #c94eff;
  padding: 0.6rem 1.2rem;
  text-decoration: none;
  display: inline-block;
  font-family: 'Courier New', monospace;
  font-size: 1rem;
  text-shadow: 0 0 5px #c94eff, 0 0 10px #c94eff;
  box-shadow: 0 0 5px #c94eff, inset 0 0 5px #c94eff;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.neon-button.purple:hover {
  background: #c94eff33;
  box-shadow: 0 0 10px #c94eff, 0 0 20px #c94eff;
  transform: scale(1.05);
  color: white;
}

.button-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1rem;
}


.neon-button.blue {
  background: transparent;
  border: 1px solid #ffff33  ;
  color: #ffff33;
  padding: 0.6rem 1.2rem;
  text-decoration: none;
  display: inline-block;
  font-family: 'Courier New', monospace;
  font-size: 1rem;
  text-shadow: 0 0 5px #ffff33, 0 0 10px #ffff33;
  box-shadow: 0 0 5px #ffff33, inset 0 0 5px #ffff33;
  border-radius: 4px;
  transition: all 0.3s ease;
}

.neon-button.blue:hover {
  background: #ffff3333;
  box-shadow: 0 0 10px #ffff33, 0 0 20px #ffff33;
  transform: scale(1.05);
  color: white;
}

aside .guestbook {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px dashed #00ffee;
}

aside .guestbook h3 {
  font-size: 1rem;
  color: #00ffee;
  text-shadow: 0 0 5px #00ffee;
}

#c_widget {
  min-height: 300px;
  margin-top: 2rem;
  padding: 1rem;
  background-color: #00000033;
  border-radius: 6px;
}