* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

body {
  background: #0b0f14;
  color: #fff;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 30px;
}

h1 {
  font-size: 28px;
}

.subtitle {
  color: #aaa;
  margin-bottom: 20px;
}

.toggle {
  display: inline-flex;
  background: #1a1f26;
  border-radius: 20px;
  padding: 5px;
  margin-bottom: 20px;
}

.toggle button {
  background: none;
  border: none;
  color: #aaa;
  padding: 8px 20px;
  cursor: pointer;
  border-radius: 15px;
}

.toggle button.active {
  background: #f5a524;
  color: #000;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 15px;
}

.grid img,
.grid video {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 12px;
  cursor: pointer;
  transition: transform 0.3s;
}

.grid img:hover,
.grid video:hover {
  transform: scale(1.03);
}

.hidden {
  display: none;
}

/* MODAL */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.8);
  display: none;
  align-items: center;
  justify-content: center;
}

.modal img,
.modal video {
  max-width: 90%;
  max-height: 90%;
  border-radius: 10px;
}

.close {
  position: absolute;
  top: 20px;
  right: 30px;
  font-size: 30px;
  cursor: pointer;
}
