/* Full-page background setup */
body {
  margin: 0;
  padding: 0;
  font-family: 'CreepsterLocal', cursive;
  color: #15fb00;
  text-shadow: -1px -1px 0 #000, 1px -1px 0 #000, -1px 1px 0 #000, 1px 1px 0 #000;

  /* 👇 This is your graveyard background */
background: url('../assets/backgrounds/graveyard-greenfog.png') no-repeat center center fixed;
  background-size: cover;

  /* Optional: add a dark overlay for readability */
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7); /* dark overlay */
  z-index: -1;
}

/* Rule cards styling (keeps them readable) */
main {
  max-width: 1100px;
  margin: 3rem auto;
  padding: 2rem;
  background: rgba(0, 0, 0, 0.85);
  border-radius: 12px;
  border: 2px solid #15fb00;
  box-shadow: 0 0 20px #15fb00;
}

.rule-card {
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid #15fb00;
  border-radius: 8px;
  padding: 1.2rem;
  margin-bottom: 1.5rem;
}

h1, h2, h3 {
  color: #15fb00;
  text-align: center;
}

    @font-face {
      font-family: 'CreepsterLocal';
      src: url('assets/fonts/Creepster-Regular.ttf') format('truetype');
    }

    header, footer {
      background-color: rgba(0, 0, 0, 0.85);
      text-align: center;
      padding: 1rem;
      font-size: 1.3rem;
      border-bottom: 2px solid #15fb00;
    }
    footer {
      border-top: 2px solid #15fb00;
      border-bottom: none;
    }

    .rules-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
      gap: 1.5rem;
    }

    ul {
      padding-left: 1.5rem;
    }
    li {
      margin-bottom: 0.6rem;
    }
    
    .agree-section {
      text-align: center;
      margin-top: 2.5rem;
    }
    button.agree-btn {
      background: #15fb00;
      color: #000;
      border: none;
      padding: 0.8rem 1.5rem;
      font-family: 'CreepsterLocal', cursive;
      font-size: 1.3rem;
      border-radius: 8px;
      cursor: pointer;
      transition: 0.3s;
    }
    button.agree-btn:hover {
      background: #0f0;
      box-shadow: 0 0 15px #15fb00;
    }