@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,100;1,200;1,300;1,400;1,500;1,600;1,700&display=swap");

@font-face {
  font-family: 'Material Symbols Rounded';
  font-style: normal;
  font-weight: 100 700;
  src: url(https://fonts.gstatic.com/s/materialsymbolsrounded/v190/sykg-zNym6YjUruM-QrEh7-nyTnjDwKNJ_190Fjzag.woff2) format('woff2');
}

* {
  font-family: "Montserrat", Segoe UI, -apple-system, BlinkMacSystemFont, Ubuntu, sans-serif;
  user-select: none;
  box-sizing: border-box;
  color: #FFF;
}

.google-icons {
  font-family: 'Material Symbols Rounded';
  width: 70px;
  height: 70px;
  display:flex;
  align-items:center;
  justify-content:center;
  font-variation-settings:
  'FILL' 1,
  'wght' 400,
  'GRAD' 0,
  'opsz' 24
}


body {
  margin: 0;
  background: #000;
}

.container {
  max-width: 1400px;
  margin: 0 auto;
}

.search-container {
  display: flex;
  gap: 10px;
  max-width: 600px;
  margin: 0 auto 20px;
}

.search-input {
  text-align: center;
  padding: 1rem;
  font-size: 16px;
  background: #111;
  border: none;
  border-radius: 15px;
  transition: .7s;
  flex: 1;
  outline: none;
}

.search-input:hover {
  background: #222;
}

.search-input:focus {
  background: #222;
}

.movies-grid {
  display: grid;
  grid-template-columns:repeat(auto-fill,minmax(200px,1fr));
  gap: 1rem;
}

.movie-card {
  background: #111;
  border-radius: 15px;
  overflow: hidden;
  cursor: pointer;
  transition: .7s;
  position: relative;
  text-align: center;
}

.movie-card:hover {
  transform: translateY(-8px);
}

.movie-poster {
  width: 100%;
  aspect-ratio: 2/3;
  object-fit: cover;
}

.movie-info {
  padding: 1rem;
}

.movie-title {
  font-size:16px;
}

.progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: #FFF;
}

.progress-fill {
  height:100%;
  background: none;
}

.player-container{position:fixed;inset:0;background:rgba(0,0,0,.97);z-index:9999;display:none;flex-direction:column}
.player-container.show{display:flex}

.season-episode-selector {
  padding: 1rem;
  display: none;
  border-bottom: 1px solid #333;
  background: #000;
  gap: 1rem;
  align-items: center;
  justify-content: center;
}

.selector-group {
  display: flex;
  align-items:center;
  max-width:280px;
}

.selector-select {
  padding: 1rem;
  font-size: 16px;
  background: #111;
  border: none;
  border-radius: 20px;
  outline: none;
  transition: .7s;
  cursor: pointer;
  width: 150px;
  appearance: none;
  text-align: center;
}

.selector-select:hover {
  background: #222;
}

.selector-select:focus {
  background: #222;
}
.selector-select option {
  background: #111;
  padding: 1rem;
}
.player-wrapper {
  flex: 1;
  position: relative;
  display: flex;
  justify-content: center;
  align-items:center;
}

.player-iframe {
  width: 100%;
  max-width: 1800px;
  height: 80vh;
  max-height: 80vh;
  border-radius: 20px;
  border: none;
}

.player-controls {
  position: absolute;
  top: max(20px,env(safe-area-inset-top,20px));
  left: 50%;
  transform:translateX(-50%);
  display:flex;
  gap: 1rem;
  z-index: 10;
}

.player-controls button {
  padding: 1rem;
  font-size: 16px;
  background: #111;
  border: none;
  border-radius: 20px;
  outline: none;
  transition: .7s;
  cursor: pointer;
  appearance: none;
  text-align: center;
}

.player-controls button:hover {
  background: #222;
}

