    :root {
      --accent: #00ff00;
      --hover: #ff8c00;
    }
    * {
      box-sizing: border-box;
      margin: 0;
      padding: 0;
    }
    body {
      background: #0d1117 url("bg.jpg") no-repeat center center fixed;
      background-size: cover;
      font-family: 'Orbitron', sans-serif;
	  max-width: 600px;
	  margin: 0 auto;
	  padding-top:0.5px;
    }
    @media (max-width: 768px) {
      body {
        background-image: url("hud-portrait.jpg");
        background-size: cover;
        background-position: center top;
      }
    }
    h2 {
      text-align: center;
      font-size: 2.5rem;
      color: var(--accent);
      text-shadow: 0 0 10px var(--accent);
      margin-bottom: 1rem;
	
    }
    #filter {
      display: flex;
      overflow-x: auto;
      white-space: nowrap;
      padding: 0rem 0rem;
      gap: 0.5rem;
      margin: 1rem 0 2rem;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
    }
    #filter::-webkit-scrollbar {
      display: none;
    }
    #filter button {
      flex: 0 0 auto;
      white-space: nowrap;
      scroll-snap-align: start;
      background-color: rgba(0, 255, 224, 0.1);
      border: 2px solid var(--accent);
      color: var(--accent);
      padding: 0.5rem 1rem;
      border-radius: 4px;
      cursor: pointer;
      font-weight: bold;
      transition: all 0.3s ease;
    }


.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100%, 1fr));

  gap: 2rem;
  padding: 0rem;
}

@media (max-width: 768px) {
  .grid {
    grid-template-columns: repeat(2, 1fr);
    padding: 0px;
  }
}



.card {
  position: relative;
  background-color: rgba(0, 0, 0, 0.6);
  border-radius: 10px;
  overflow: hidden;
  text-align: center;
  box-shadow: 0 0 20px rgba(0, 255, 204, 0.2);
  transition: transform 0.2s ease, box-shadow 0.3s ease;
  padding: 0px; /* Ini kalau isinya cuma gambar & overlay */
  margin: 10px;  /* Hindari margin di dalam grid */
  border: 0.5px solid #00ff00;
}

    .card:hover {
      transform: scale(1.03);
      box-shadow: 0 0 25px var(--accent);
    }
    .card img {
      width: 100%;
      height: 300px;
      object-fit: cover;
      display: block;
	  
    }
    .card .overlay {
      position: absolute;
      top: 0;
      width: 100%;
      padding: 0.75rem;
      background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent);
      text-align: left;
    }
    .card .overlay h3 {
      margin: 0;
      font-size: 1.1rem;
      color: var(--accent);
    }
    .card .overlay p {
      margin: 0.25rem 0 0;
      font-size: 0.8rem;
      color: #ccc;
    }
    @media (max-width: 600px) {
      h1 {
        font-size: 1.8rem;
      }
      .card img {
        height: 200px;
      }
    }
	
    .watch-btn {
      display: block;
      background-color: var(--accent);
      color: #ffffff;
      text-align: center;
      margin: 0.5rem auto 1rem;
      width: 80%;
      padding: 0.5rem;
      border-radius: 6px;
      font-weight: bold;
      text-decoration: none;
      transition: background-color 0.3s ease;
    }
    .watch-btn:hover {
      background-color: var(--hover);
    }
    .matrix-header {
      background: linear-gradient(to right, rgba(0, 255, 224, 0.1), rgba(0, 255, 224, 0.05));
      border: 1px solid var(--accent);
      border-radius: 8px;
      padding: 0rem;
      margin-bottom: 0.5rem;
      box-shadow: 0 0 12px rgba(0, 255, 224, 0.2);
      text-align: center;
      position: relative;
      overflow: hidden;
    }
    .matrix-header::before {
      content: "";
      position: absolute;
      top: 0;
      left: -100%;
      width: 200%;
      height: 100%;
      background: linear-gradient(90deg, transparent, rgba(0,255,224,0.2), transparent);
      animation: sweep 4s linear infinite;
    }
    @keyframes sweep {
      0% { left: -100%; }
      50% { left: 100%; }
      100% { left: 100%; }
    }
    .matrix-header p {
      color: var(--accent);
      font-size: 1.4rem;
      font-weight: bold;
      letter-spacing: 2px;
      margin: 10;
      text-shadow: 0 0 8px var(--accent);
    }
    .list-btn {
      background: linear-gradient(to right, rgba(0, 255, 224, 0.1), rgba(0, 255, 224, 0.05));
      border: 1px solid var(--accent);
      border-radius: 8px;
      padding: 1rem;
      margin: 1.5rem;
      box-shadow: 0 0 12px rgba(0, 255, 224, 0.2);
      text-align: center;
      position: relative;
	  color:white;
   
    }
    .list-btn:hover {
      background-color: var(--hover);
      color: #000;
      box-shadow: 0 0 16px var(--hover);
    }
	
// css iklan gambar

    .img-wrapper {
      max-width: 100%;
      border: 1px solid #00ff00; /* warna hijau matrix */
      border-radius: 10px;
      padding: 5px;
      box-sizing: border-box;
      display: inline-block;
      background-color: #001100; /* kesan matrix gelap */
    }

    .img-wrapper img {
      max-width: 100%;
      height: auto;
      border-radius: 10px;
      display: block;
    }