* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background-color: #10141e;
  color: #e4e6eb;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  font-size: 16px;
}

header {
  width: 100%;
  background-color: #1f2833;
  color: #66fcf1;
  padding: 20px 0;
  text-align: center;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: white;
}

.filter-container {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  background-color: #1f2833;
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  padding: 25px;
}

.filter-container label {
  font-weight: 600;
  font-size: 1.2rem;
  color: white;
}

.filter-container select {
  padding: 14px;
  border: 2px solid #45a29e;
  border-radius: 8px;
  background-color: #10141e;
  color: #c5c6c7;
  font-size: 16px;
  width: 280px;
  transition: all 0.3s ease;
}

.filter-container select:focus {
  border-color: white;
  outline: none;
  box-shadow: 0 0 0 4px rgba(102, 252, 241, 0.2);
}

.videos-container {
  margin-top: 40px;
  width: 100%;
  max-width: 500px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  padding: 0 20px;
}

.video {
  background-color: #1f2833;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.video:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5);
}

.video img {
  width: 100%;
  height: auto;
  border-bottom: 2px solid #45a29e;
}

.video h3 {
  padding: 20px;
  font-size: 1.4rem;
  color: #e4e6eb;
  background-color: #0b0c10;
  margin: 0;
}

footer {
  margin-top: auto;
  width: 100%;
  background-color: #1f2833;
  color: #c5c6c7;
  padding: 20px;
  text-align: center;
  box-shadow: 0 -8px 16px rgba(0, 0, 0, 0.3);
}

footer p {
  font-size: 0.9rem;
}

.loading {
  font-size: 1.5rem;
  color: #45a29e;
  margin-top: 30px;
}
