body {
  margin: 0;
  background: #0f0f0f;
  font-family: Arial, sans-serif;
  color: white;
}

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #141414;
  padding: 15px;
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

header input, header select, header button {
  padding: 8px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
}

.hero {
  background: black;
  padding: 15px;
  position: relative;
  text-align: center;
}

.hero video {
  width: 95%;
  max-height: 70vh;
  border-radius: 10px;
}

#miniBtn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: red;
  color: white;
}

.section {
  padding: 0 20px;
}

.section h2 {
  margin-top: 30px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 15px;
  padding: 15px 0;
}

.small-grid {
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
}

.card {
  background: #1c1c1c;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}

.card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 15px rgba(255,0,0,0.6);
}

.card img {
  width: 100%;
  height: 120px;
  object-fit: contain;
  background: black;
}

.small-grid .card img {
  height: 80px;
}

.card-name {
  padding: 8px;
  font-size: 14px;
  text-align: center;
}

.live-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: red;
  padding: 3px 6px;
  font-size: 10px;
  border-radius: 3px;
}

.mini-player {
  position: fixed;
  bottom: 15px;
  right: 15px;
  width: 300px;
  background: black;
  z-index: 999;
  border-radius: 8px;
}

.mini-player video {
  width: 100%;
}