body {
  margin: 0;
  font-family: Arial;
  background: #0b0b0b;
  color: white;
}

/* HEADER */
header {
  display: flex;
  justify-content: space-between;
  padding: 15px;
  background: #141414;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.logo {
  font-size: 22px;
  color: red;
  font-weight: bold;
}

input {
  width: 250px;
  padding: 8px;
  border-radius: 6px;
  border: none;
}

/* HERO */
.hero {
  height: 250px;
  background: linear-gradient(to right, #111, #222);
  display: flex;
  align-items: center;
  padding: 30px;
}

.hero-content h1 {
  margin: 0;
}

/* CATEGORIES */
.categories {
  display: flex;
  gap: 10px;
  padding: 15px;
}

.categories button {
  background: #222;
  border: none;
  color: white;
  padding: 8px 12px;
  border-radius: 20px;
  cursor: pointer;
}

.categories button:hover {
  background: red;
}

/* GRID */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
  padding: 20px;
}

.card {
  background: #1a1a1a;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  transition: 0.3s;
}

.card:hover {
  transform: scale(1.05);
}

.card img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.card h3 {
  padding: 10px;
  font-size: 14px;
}

/* MODAL */
.modal {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
}

.modal-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 80%;
  height: 60%;
}

.modal-content iframe {
  width: 100%;
  height: 100%;
}

#close {
  position: absolute;
  top: -30px;
  right: 0;
  font-size: 30px;
  cursor: pointer;
}