/*
 * UI styles from the Hianime project by shubham-king (MIT licensed).
 * Source: https://github.com/shubham-king/Hianime  -- see public/hianime/LICENSE
 * Font @import rules were stripped; fonts are linked from index.html instead.
 */

/* ===== main.css ===== */
.f-ubuntu {
  font-family: "Ubuntu", sans-serif;
}
html {
  scroll-behavior: auto;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  background: var(--dark) !important;
  min-height: 100vh;
}
#root {
  min-width: 100%;
}

.f-poppins {
  font-family: "Poppins", sans-serif !important;
}
:root {
  --grey-dark: #343a40;
  --dark: #242428;
  --height-small: 400px;
  --height-medium: 500px;
  --height-large: 610px;
  --light: #ffffff;
  --theme: rgb(83, 255, 134);
  --random-colors: #ff5733, #33ff57, #5733ff, #ff33a8, #33a8ff, #a833ff, #ff33ff,
    #33ffc2, #a8ff33, #ffc233;
}
.d-flex {
  display: flex;
}
.d-flex-fd-column {
  display: flex;
  flex-direction: column;
}
.a-center {
  align-items: center;
}
.j-center {
  justify-content: center;
}
.trans-c-03 > * {
  transition: all 100ms ease-in-out;
}
.trans-03 {
  transition: all 300ms ease-in-out;
}
.app-container {
  max-width: 1980px;
  padding: 0 !important;
  margin: 0 auto;
  color: var(--light);
  position: relative;
  overflow-x: hidden;
}
.section-header {
  font-family: "Poppins", sans-serif;
  color: var(--theme);
}
/* width */
::-webkit-scrollbar {
  width: 12px;
}

/* Track */
::-webkit-scrollbar-track {
  background: var(--grey);
}

/* Handle */
::-webkit-scrollbar-thumb {
  background: var(--grey-dark);
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: var(--theme);
}
.loading-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: center;
  justify-content: center;
  height: 200px;
  width: 200px;
  margin-inline: auto;
}

.spinner {
  animation: rotate 800ms linear infinite;
}
@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

/* ===== components/Navbar/navbar.css ===== */
.navigation-bar {
  position: fixed !important;
  height: 65px;
  width: 100%;
  z-index: 11;
  top: 0;
  max-width: 1920px;
  margin: auto;
  gap: 40px;
}
.navigation-bar.dark {
  background-color: #6f42c1;
  box-shadow: 1px 4px 10px black;
}

.burger-icon {
  color: white;
  margin-inline: 20px;
  cursor: pointer;
}
.burger-icon:hover {
  color: var(--theme);
}
.logo {
  height: 40px;
  margin-inline: 10px;
}

.search-wrapper input {
  border: none;
  border-radius: 50px;
  background-color: var(--grey-dark);

  color: black;
}
.search-wrapper input:focus,
.floating-search-wrapper input:focus {
  border: none;
  /* Optionally, you can also remove the outline that appears by default */
  outline: none;
}

.search-wrapper {
  position: relative;
  height: 40px;
  width: 20%;
  max-width: 250px;
}
.search-icon {
  right: 20px;
}
.filter-icon {
  right: 40px;
}
.search-text {
  height: 100%;
  width: 100%;
  padding-inline: 20px;
}
.search-icons {
  position: absolute;

  height: 100%;
  cursor: pointer;
}

.social-links-wrapper {
  color: white;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
}
.social-links-wrapper > span {
  padding: 5px;
  border-radius: 50%;
}
.social-links-wrapper span a {
  text-decoration: none;
  color: white;
  line-height: 2px;
}
.nav-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.nav-actions > * {
  text-align: center;
  cursor: pointer;
}
.nav-actions svg {
  color: var(--theme);
}
.nav-actions *:hover {
  color: var(--theme);
}
.nav-actions a {
  color: white;
  text-decoration: none;
}
.nav-actions p {
  margin: 0;
  font-size: 11px;
}
.user-profile-nots {
  gap: 10px;
  color: white;
  cursor: pointer;
  position: absolute;
  right: 10px;
}
.user-profile-nots > * {
  cursor: pointer;
}
.user-profile-nots > *:hover {
  color: var(--theme);
}
.profile-icon {
  height: 36.5px;
  border-radius: 50%;
}
.floating-search-wrapper input {
  color: black;
  border: none;
  background-color: var(--theme);
  padding: 10px 20px;
  border-radius: 30px;
}
@media screen and (min-width: 1300px) {
  .floating-search-wrapper {
    display: none;
  }
}
@media screen and (max-width: 1300px) {
  .search-wrapper {
    display: none;
  }
  .floating-search-wrapper {
    position: fixed;
    left: calc(50% - 300px);
    z-index: 900;
    width: 100%;
    max-width: 600px;
    top: 60px;
  }
}

@media screen and (max-width: 1000px) {
  .navigation-bar .social-links-wrapper {
    display: none;
  }
}
@media screen and (max-width: 790px) {
  .nav-actions {
    display: none;
  }
  .floating-search-wrapper {
    max-width: 100%;
    left: 0;
  }
}
@media screen and (max-width: 700px) {
  .navigation-bar {
    height: 50px;
    background: var(--dark) !important;
  }

  .logo {
    height: 30px;
  }
  .floating-search-wrapper {
    top: 50px;
  }
}

/* ===== components/NavigationSidebar/nav-sidebar.css ===== */
.navigation-sidebar {
  position: fixed;
  transition: all 0.2s ease-in-out;
  min-height: 100vh;
  width: 100%;
  top: 0;
  left: 0;
  bottom: 0;
  background: rgba(36, 36, 40, 0.8);
  backdrop-filter: blur(10px);
  z-index: -1;
  transition: all 0.1s ease-in-out;
}
.close-menu {
  cursor: pointer;
}
.navigation-list {
  position: fixed;
  top: 0;
  left: -250px;
  width: 250px;
  height: 100vh;
  z-index: 100;
  overflow-y: auto;
  flex-direction: column;
  row-gap: 20px;
  background: rgba(255, 255, 255, 0.1);
  transition: all 0.2s ease-in-out;
}
.navigation-list::-webkit-scrollbar {
  display: none;
}
.button-group {
  padding-top: 20px;
}
.button-group > * {
  padding: 10px 15px;
  border-radius: 20px;
  background: var(--dark);
  text-align: center;
  text-decoration: none;
  margin-bottom: 10px;
  font-size: 12px;
  margin-inline: 20px;
}
.button-group label {
  padding-block: 10px;
  cursor: pointer;
}
.button-group a {
  background: black !important;
  font-size: 14px;
  font-weight: 600;
  color: var(--theme);
  gap: 3px;
}

.navigation-link-list ul {
  list-style: none;
  padding: 0 !important;
}
.navigation-link-list ul li {
  width: 100%;
}
.navigation-link-list ul li a {
  display: block;
  text-decoration: none;
  color: white;
  padding-block: 15px;
  padding-left: 20px;
  border-bottom: 1px solid rgba(128, 128, 128, 0.338);
  transition: all 0.1s ease;
}
.navigation-link-list ul li a:hover {
  color: var(--theme);
  background-color: var(--dark);
}

/* ===== components/Hero/hero.css ===== */
.carousel-img {
  position: absolute;
  right: 0;
  object-fit: cover;

  width: 70%;
  height: var(--height-large);
}
.img-wrapper {
  height: var(--height-large);
  width: 100%;
}

.carousel {
  height: var(--height-large);
}
.carousel-inner {
  height: var(--height-large);
  width: 100%;
}
.anime-info {
  position: absolute;
  height: var(--height-large);
  width: 100%;
  bottom: 0px;
  left: 0px;
  background: linear-gradient(0deg, #242428 0%, #24242800 15%, #24242800 60%);

  z-index: 4;

  color: white;
}

/* Gradient from left to right */
.carousel-item .anime-info::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #242428 30%, #242428d4 35%, #24242800 45%);
}

/* Gradient from navbar to bottom */
.carousel-item .anime-info::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #242428 5%, #242428d4 15%, #24242800 60%);
}

/* Gradient from right to left */
.carousel-item::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(270deg, #242428 2%, #242428d4 5%, #24242800 10%);
}

.carousel-control-next {
  z-index: 99;
}

.carousel-control-prev {
  z-index: 99;
}

.carousel-item {
  width: 100%;
  height: 100%;
}
.anime-info-content {
  position: absolute;
  bottom: 3em;
  left: 3em;
  z-index: 2;
  width: 40%;
  font-family: "Poppins", sans-serif;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.anime-st-item {
  display: flex;
  gap: 5px;
  align-items: center;
  font-family: "Poppins", sans-serif;
}
.quality {
  background-color: var(--theme);
  color: black;
  padding: 2px 4px;
  border-radius: 2px;
  font-size: 0.7rem;
  font-weight: 600;
  gap: 2px;
}
.episode-count {
  color: black;
  padding: 2px 4px;
  border-radius: 2px;
  font-size: 0.7rem;
  background-color: rgb(255, 166, 0);
  font-weight: 600;
}
.anime-statistics {
  display: flex;
  gap: 20px;
}
.rank {
  color: var(--theme);
}
.description {
  margin-bottom: 1rem;
}
.carousel-item .anime-title,
.title-large {
  font-weight: 500;
  font-size: 36px;
  letter-spacing: 1px;
}

.hero-button {
  padding: 10px 20px;
  border: none;
  font-size: 15px;
  border-radius: 30px;
  font-family: "Poppins", sans-serif;
  text-decoration: none !important;
}
.button-wrapper {
  display: flex;
  gap: 10px;
}
.btn-primary {
  background: var(--theme);
  color: black !important;
}

.btn-secondary {
  background: rgba(176, 176, 176, 0.829);
  backdrop-filter: blur(10px);
  color: white;
}

.carousel-controls {
  position: relative !important;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.6);
  color: rgb(0, 0, 0);
  border-radius: 7px;
  opacity: 1 !important;
  z-index: 10 !important;
  user-select: none;
  border: none;
  cursor: pointer;
}

.carousel-controls:hover {
  background: var(--theme);
}

.carousel-controls-wrapper {
  position: absolute;
  right: 40px;
  bottom: 3rem;
  display: flex;
  gap: 5px;
  flex-direction: column;
}
.swiper-pagination-bullet {
  background-color: var(--light) !important;
  height: 9px !important;
  width: 9px !important;

  opacity: 1 !important;
}
.swiper-horizontal > .swiper-pagination-bullets {
  display: none !important;
}
.swiper-pagination-bullet-active {
  background-color: var(--theme) !important;
}
@media screen and (max-width: 1240px) {
  .anime-info {
    height: var(--height-medium);
  }
  .carousel-inner {
    height: var(--height-medium);
  }
  .img-wrapper {
    height: var(--height-medium);
  }
  .carousel-img {
    height: var(--height-medium);
  }
  .carousel {
    height: var(--height-medium);
  }
  .rank {
    font-size: 15px;
    font-weight: 600;
  }
  .anime-info-content {
    width: 60%;
  }
  .description {
    font-size: 14px;
  }
  .carousel-item .anime-title {
    font-size: 35px;
  }
}

@media screen and (max-width: 700px) {
  .carousel-item .anime-info::before {
    display: none;
  }
  /* Gradient from right to left */
  .carousel-item::after {
    background: linear-gradient(
      270deg,
      #242428 2%,
      #242428d4 4%,
      #24242800 10%
    );
  }
  .anime-statistics {
    display: none;
  }
  .description {
    display: none;
  }
  .buttons {
    height: 30px;
    width: 100px;
  }
  .hero-button {
    font-size: 13px;
    padding: 8px 15px;
  }
  .anime-info-content {
    max-width: 100%;
    padding-right: 2rem;
  }
  .anime-info::after {
    display: none;
  }
  .carousel-img {
    width: 100%;
    opacity: 0.5;
  }
  .carousel-controls {
    display: none;
  }
  .anime-info-content {
    width: 100%;
    left: 1em;
  }
  .carousel {
    height: var(--height-small) !important;
  }
  .anime-info {
    height: var(--height-small);
  }
  .carousel-inner {
    height: var(--height-small);
  }
  .img-wrapper {
    height: var(--height-small);
  }
  .carousel-img {
    height: var(--height-small);
  }
  .carousel {
    height: var(--height-medium);
  }
  .rank {
    font-weight: 400;
    font-size: 12px;
  }

  .carousel-item .anime-title {
    font-size: 20px;
    letter-spacing: 0;
  }

  .swiper-horizontal > .swiper-pagination-bullets {
    /* bottom: var(--swiper-pagination-bottom, 8px); */
    bottom: 0;
    right: 10px !important ;
    left: auto !important;
    width: 20px !important;
    bottom: 5px !important;
    display: flex !important;
    gap: 13px;
    align-items: center;
    justify-content: center;
    height: 80%;
    flex-direction: column;
  }
}

/* ===== components/Card/card.css ===== */
.anime-card-wrapper {
  position: relative;
  /* border: 1px solid white; */

  width: calc(100% / 6 - 1rem);

  font-size: 14px;
}
.anime-card {
  flex-direction: column;
  text-decoration: none;
  min-width: 100%;
}
.card-details {
  background: var(--grey-dark);
  padding-inline: 10px;
  padding-bottom: 10px;
}
.anime-card-img-wrapper {
  position: relative;
  height: 250px;
  position: relative;
  width: 100%;
}
.anime-card-img-wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    0deg,
    #343a40 8%,
    #343a40c1 16%,
    #343a4069 24%,
    #343a4000 32%
  );
}
.anime-card-img-wrapper img {
  width: 100% !important;
  height: 250px;
  object-fit: cover;
}
.anime-card-img-wrapper img {
  width: 100% !important;
  height: 310px;
  object-fit: cover;
}
.tick-item {
  position: absolute;
  bottom: 10px;
  left: 10px;
  z-index: 2;
}
.anime-card-img-wrapper .rating {
  background-color: #ffdd95;
  color: var(--dark);
  font-weight: bolder;
  font-size: 10px;
  padding: 1px 4px;
  border-radius: 2px 0px 0px 2px;
}
.anime-card-img-wrapper .episode-count {
  padding: 1px 4px;
  font-size: 10px;
  border-radius: 0px 2px 2px 0px;
  background-color: #b0e3af;
}
.card-title {
  color: white;
  display: block;
  margin-bottom: 5px;
  white-space: wrap;
  text-overflow: ellipsis;
  width: 100%;
}
.card-title {
  white-space: nowrap;
  text-overflow: ellipsis;
  width: 100%;
}
.img-blur {
  position: absolute;
  width: 100%;
  position: absolute;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 3;
  background-color: #343a407c;
  backdrop-filter: blur(10px);
}

.card-title a:hover {
  color: var(--theme);
}
.card-statistics {
  color: grey;
}
.card-statistics > span {
  margin-left: 6px;
}
@media screen and (max-width: 2000px) {
  .anime-card-img-wrapper {
    height: 250px;
  }
  .anime-card-img-wrapper img {
    height: 250px;
  }
}

@media screen and (max-width: 1390px) {
  .anime-card-wrapper {
    width: calc(100% / 4 - 1rem);
  }
  .anime-card-img-wrapper {
    height: 240px;
  }
  .anime-card-img-wrapper img {
    height: 240px;
  }
}
@media screen and (max-width: 800px) {
  .anime-card-wrapper {
    width: calc(100% / 3 - 1rem);
  }
}
@media screen and (max-width: 600px) {
  .anime-card-wrapper {
    width: calc(100% / 2 - 1rem);
  }
  .anime-card-img-wrapper {
    height: 230px;
  }
  .anime-card-img-wrapper img {
    height: 230px;
  }
}

/* ===== components/Card/mouse-over-card.css ===== */
.mouse-over-card-wrapper {
  min-width: 400px;
  position: absolute;
  top: 0%;
  left: 70%;
  z-index: 3;
  background-color: rgba(53, 53, 53, 0.767);
  backdrop-filter: blur(20px);
  padding: 10px;
  border-radius: 10px;
  gap: 10px;
  animation: fadeIn 350ms ease forwards;
  opacity: 0;
}
@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
.mouse-over-card-wrapper .anime-st {
  justify-content: space-between;
}
.anime-st .type {
  background-color: var(--theme);
  border-radius: 5px;
  color: black;
  padding: 3px;
}

/* ===== components/Trending/trending.css ===== */
.trending-section-wrapper {
  padding: 20px 40px;
}

.trending-section-wrapper h2 {
  padding-block: 20px;
}
.trending-section-wrapper .swiper {
  padding: 20px 60px 20px 0px;
}

.trending-slide {
  height: 230px;
  position: relative;
  padding: 10px;
  color: white;
  display: block;
}
.trending-slide a {
  width: auto;
  position: absolute;
  top: 0;
  bottom: 0;

  left: 40px;
}
.trending-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.trending-item-sidebar {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  row-gap: 50px;
}
.trending-item-sidebar p {
  transform: rotate(270deg);
  white-space: nowrap;
  font-size: 17px;
  width: 100px;
}
.trending-item-sidebar span {
  color: var(--theme);
  font-family: "Poppins";
  font-size: 18px;
  font-weight: 600;
}
.trending-swiper-navigation {
  display: flex;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  flex-direction: column;
  height: 100%;
  align-items: center;
  justify-content: center;
  padding: 30px 0px 30px 10px;
  background-color: var(--dark);
  z-index: 4;
  gap: 10px;
}
.swiper-controls {
  flex-grow: 1;
  background: rgba(255, 255, 255, 0.6);
  padding: 0px 9px;
  border-radius: 7px;
  cursor: pointer;
  user-select: none;
  color: var(--dark);
}
.swiper-controls:hover {
  background: var(--theme);
}

@media screen and (max-width: 600px) {
  .trending-section-wrapper {
    padding: 0;
  }
  .trending-section-wrapper .swiper {
    padding: 0;
  }
  .trending-slide {
    height: 200px;
  }
  .trending-slide a {
    left: 0;
  }
  .trending-item-sidebar span {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 8;
    background: white;
    padding: 4px 10px;
    margin-top: 0;
  }

  .trending-item-sidebar p {
    display: none;
  }
  .trending-swiper-navigation {
    display: none;
  }
  .trending-item-sidebar span {
    background-color: var(--dark);
  }
}

/* ===== components/TopTen/top-ten.css ===== */
.top-ten-wrapper ul {
  list-style: none;
  padding: 10px 10px 0px 10px !important;
  background: var(--grey-dark);
  
}
.top-ten-wrapper ul li {
  padding: 20px 20px 0px 20px;
  gap: 15px;
}


.top-ten-wrapper ul li .title a {
  text-decoration: none;
  color: white;
}
.top-ten-wrapper ul li .rank {
  font-size: 18px;
  width: 30px;
  color: grey;
  text-align: center;
}
.top-ten-wrapper ul li .top-three {
  border-bottom: 4px solid var(--theme);
  color: white;
}
.top-ten-wrapper ul li img {
  min-width: 50px;
  height: 65px;
  object-fit: cover;
  border-radius: 5px;
  overflow: hidden;
}
.top-ten-wrapper {
  width: 100%;
}
.top-ten-header {
  padding-block: 30px;
  color: var(--theme);
  justify-content: space-between;
}

.top-ten-wrapper ul li .anime-details {
  gap: 10px;
  padding: 4px;
}
.top-ten-wrapper ul li .episode-info {
  font-size: 12px;
}
.top-ten-wrapper ul li .episode-count {
  font-size: 10px;
  color: black;
  border-radius: 3px 0px 0px 3px;
}
.top-ten-wrapper ul li .quality {
  font-size: 10px;
  color: black;
  border-radius: 0 3px 3px 0;
}
.top-ten-wrapper li .show-type {
  margin-left: 10px;
}

.top-ten-wrapper a:hover {
  color: var(--theme);
}
.top-10-item {
  gap: 10px;
  flex: 1;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.097);
}

.period-selector {
  padding: 7px 10px;
  border: none;
  color: white;
  background: rgba(255, 255, 255, 0.1);
}
.period-selector.selected {
  background: var(--theme);
  color: black;
}
.period-selector:hover {
  color: var(--theme);
  cursor: pointer;
}
.period-selector.selected:hover {
  color: black;
}
.period-selector:nth-child(1) {
  border-radius: 10px 0px 0px 10px;
}
.period-selector:nth-child(3) {
  border-radius: 0px 10px 10px 0px;
}
@media screen and (max-width: 1080px) {
  .top-ten-wrapper ul {
    padding: 0px !important;
  }
}

/* ===== components/Featured/content-list.css ===== */
.featured-container {
  width: 100%;
  padding: 20px 30px;
  flex-wrap: wrap;
}
.category-container ul {
  list-style: none;
  padding-left: 0 !important;
}
.category-container ul li {
  padding: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.097);
  gap: 15px;
}
.category-container ul li img {
  height: 90px;
  min-width: 64px;
  border-radius: 5px;
  overflow: hidden;
  object-fit: cover;
}
.category-container {
  flex: 1;
  padding: 20px;
}
.category-container h4 {
  color: var(--theme);
  padding-block: 20px;
}
.category-container ul li .anime-details {
  gap: 10px;
 
}
.category-container ul li .episode-info {
  gap: 5px;
  font-weight: bolder;
  align-items: center;
}
.category-container ul li .show-type {
  font-weight: 400;
  color: grey;
  font-size: 0.7rem;
}
.category-container a {
  text-decoration: none;
  font-size: 16px;
  line-height: 16px;
  color: white;
  
}

.category-container a:hover {
  color: var(--theme);
}
.dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: rgba(255,255,255,.3);
    display: inline-block;
    margin: 3px 6px;
}
.view-more-link{
  padding: 10px;
}
@media screen and (max-width: 1500px) {
  .category-container h4 {
    font-size: 18px;
  }
  .category-container {
    flex: 1;
    padding-inline: 10px;
  }
  .category-container ul li {
    padding: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.097);
    gap: 10px;
  }
  .featured-container {
    padding: 20px;
  }
}
@media screen and (max-width: 1375px) {
  .category-container {
    flex-basis: 50%;
    padding-inline: 5px;
  }

  .category-container h4 {
    font-size: 16px;
  }
}
@media screen and (max-width: 700px) {
  .category-container {
    flex-basis: 100%;
    padding-inline: 5px;
  }

  .category-container h4 {
    font-size: 18px;
  }
}
@media screen and (max-width: 450px) {
  .featured-container {
    padding-inline: 10px;
  }
}

/* ===== components/MainContainer/main-container.css ===== */
.main-container {
  padding: 30px 20px;
  column-gap: 2rem;
  flex-wrap: wrap;
}
.collections-wrapper {
  gap: 40px;
}
.anime-collection-wrapper h2 {
  padding-block: 30px;
  color: var(--theme);
}
.collections-wrapper {
  width: calc(75% - 1rem);
}

.card-wrapper {
  width: 100%;
  flex-wrap: wrap;
  column-gap: 1rem;
  row-gap: 3rem;
}
.sidebar-wrapper {
  width: calc(25% - 1rem);
}
@media screen and (min-width: 1150px) {
  .main-container {
    flex-direction: row-reverse;
  }
}

@media screen and (max-width: 1150px) {
  .collections-wrapper {
    width: 100%;
  }
  .sidebar-wrapper {
    width: 100%;
  }
  .main-container {
    padding: 30px 10px;
  }
}

/* ===== components/Footer/footer.css ===== */
.footer-container {
  padding: 20px;
}
.footer-container > * {
  padding: 10px;
}
.main-element {
  border-right: 1px solid var(--grey-dark);
  margin-right: 10px;
  padding-right: 10px;
}
.logo-social-links .social-links {
  border-bottom: 1px solid var(--grey-dark);
  padding-block: 10px;
}

.help-text {
  align-items: flex-end;
}
.alphabet-tile {
  text-align: center;
  min-width: 25px;
  font-weight: bolder;
  padding: 2px 7px;
  border-radius: 5px;
  background-color: var(--grey-dark);
  text-decoration: none;
  color: white;
}
.alphabet-list {
  gap: 10px;
  flex-wrap: wrap;
}
.copyright-text {
  color: grey;
}

/* ===== components/Genre/genre.css ===== */
.genre-wrapper h2 {
  color: var(--theme);
  padding-block: 30px;
}

.genre-list {
  flex-wrap: wrap;
  padding: 10px;
  background: var(--grey-dark);
  column-gap: 15px;
}
.genre-list button {
  flex-grow: 1;
  padding: 10px;
  margin-block: 10px;
  background: rgba(255, 255, 255, 0.383);
  border: none;
  color: var(--dark);
  font-size: 16px;
  cursor: pointer;
  font-weight: bold;
  border-radius: 7px;
  width: 100%;
}
.genre-list button:hover {
  background-color: var(--theme);
}
.genre-list a {
  text-decoration: none;
  padding: 10px;
  width: calc(100% / 3 - 15px);
  font-size: 13px;
  font-weight: 400;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  border: none !important;
  cursor: pointer;
  transition: all 0.1s ease;
}
.genre-list a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
}

.genre-list a:nth-of-type(7n + 1) {
  color: #d0e6a5;
}
.genre-list a:nth-of-type(7n + 2) {
  color: #ffdd95;
}
.genre-list a:nth-of-type(7n + 3) {
  color: #fc887b;
}
.genre-list a:nth-of-type(7n + 4) {
  color: #ccabda;
}
.genre-list a:nth-of-type(7n + 5) {
  color: #abccd8;
}
.genre-list a:nth-of-type(7n + 6) {
  color: #d8b2ab;
}
.genre-list a:nth-of-type(7n) {
  color: #86e3ce;
}

@media screen and (max-width: 500px) {
  .genre-list a {
    display: block;
    width: auto !important;
    background-color: var(--dark);
    padding: 5px !important;
    border-radius: 5px;
  }
  .genre-list {
    align-items: center;
    justify-content: flex-start !important;
    gap: 10px;
  }
}

/* ===== components/AnimeInfo/AnimeInfo.css ===== */
.details-container {
  margin-top: 65px;
  position: relative;
  justify-content: space-between;
}
.details-container-background {
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;

  width: 100%;
  height: 100%;
  object-fit: cover;
}
.details-header::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(20px);
  background: rgba(93, 93, 93, 0.701);
  z-index: -1;
}

.details-header {
  justify-content: space-between;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
.details-header-primary {
  max-width: calc(70% - 40px);
  padding: 40px;
}

.details-header .anime-details {
  gap: 20px;
}
.anime-details-poster {
  height: 250px;
}
.anime-statistics-tiles-wrapper {
  gap: 2px;
}
.anime-statistics-tile {
  font-size: 12px;
  line-height: 12px;
  color: black;
  padding: 4px;
  font-weight: 500;
}
.anime-details-content {
  gap: 30px;
}
.anime-details-content p {
  font-size: 14px;
  color: rgb(224, 224, 224);
}
.anime-statistics-tile:nth-of-type(5n - 4) {
  background-color: rgba(107, 213, 242, 0.816);
  border-radius: 3px 0px 0 3px;
}
.anime-statistics-tile:nth-of-type(5n - 3) {
  background-color: white;
}
.anime-statistics-tile:nth-of-type(5n - 2) {
  background-color: #ffdd95;
}
.anime-statistics-tile:nth-of-type(5n - 1) {
  background-color: #b0e3af;
}
.anime-statistics-tile:nth-of-type(5n) {
  background-color: #e3b5cd;
  border-radius: 0px 3px 3px 0px;
}
.details-header-secondary {
  padding: 20px;
  flex-grow: 1;
  max-width: calc(25% - 40px);
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
  display: flex;
  flex-direction: column;
}
.details-header-statistics {
  border-bottom: 1px solid grey;
  margin-bottom: 20px;
}
.details-header-secondary p {
  font-size: 14px;
  margin-bottom: 10px;
}
.details-header a {
  text-decoration: none;
  color: white;
}
.details-header a:hover {
  color: var(--theme);
}
.genre-button {
  display: inline-block;
  text-decoration: none;
  color: white;
  padding: 3px 7px;
  margin: 3px;
  border: 1px solid;
  border-radius: 15px;
  font-size: 13px;
}
.details-header-genre {
  border-bottom: 1px solid grey;
}
@media screen and (max-width: 1200px) {
  .details-header-primary {
    min-width: 100%;
  }
  .details-header-secondary {
    min-width: 100%;
  }
  .details-header-genre {
    border-bottom: none;
  }
  .details-header-statistics {
    border-bottom: none;
    margin-bottom: 0px;
  }
}
@media screen and (max-width: 700px) {
  .details-container {
    margin-top: 50px;
  }
}
@media screen and (max-width: 700px) {
  .anime-details {
    flex-direction: column;
  }
  .anime-details-content .title-large {
    text-align: center;
  }
  .anime-details-poster {
    height: 250px;
    margin: auto;
  }
}
@media screen and (max-width: 450px) {
  .details-header-primary {
    padding: 10px;
  }
}

/* ===== components/AnimeNotFound/error.css ===== */
.gogoanime-error img {
  width: 300px;
  display: inline;
  height: 200px;
  object-fit: cover;

  width: 200px;
  border-radius: 50%;
}

/* ===== components/Share/share.css ===== */
.share-app {
  padding: 40px;
  gap: 10px;

}
.share-app p {
  margin: 0 !important;
}
.share-app .primary {
  color: var(--theme);
  font-weight: 600;
}
.share-app img {
  width: 70px;
  
  height: 70px;
  object-fit: cover;
  border-radius: 50%;
}
@media screen and (max-width: 600px) {
  .share-app img {
    width: 50px;
    height: 50px;
  }
  .share-app .primary {
    font-size: 15px;
    font-weight: 400;
  }
  .share-app p {
    font-size: 14px;
  }
  .share-app {
    padding: 20px 10px;
  }
}

/* ===== pages/WatchAnime/watch-anime.css ===== */
.watch-container {
  position: relative;
  padding: 20px;
}
.watch-container-background {
  position: absolute;
  z-index: -1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.watch-container::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(20px);
  background: rgba(93, 93, 93, 0.701);
  z-index: -1;
}
.media-center {
  width: 75%;
  background-color: var(--dark);
  padding-bottom: 20px;
}
.episode-container {
  width: 25%;
  padding: 20px;
}
.episode-tiles-wrapper {
  flex-wrap: wrap;
  margin-top: 5px;
  justify-content: flex-start;
  text-align: center;
  align-items: center;
  gap: 5px;
  max-height: 520px;
  overflow-y: auto;
}
.current-anime-details {
  width: 25%;
  padding: 20px;

  overflow-y: auto;
}
.current-anime-details img {
  width: 200px;
  margin: auto;
  height: auto;
}
.episode-tile {
  width: calc(100% / 4 - 5px);
  display: inline-block;
  padding: 5px;
  background-color: var(--grey-dark);
  cursor: pointer;
  border-radius: 4px;
  overflow: hidden;
}
.server-container {
  gap: 10px;
  flex-wrap: wrap;
  padding-top: 10px;
}
.server-tile-wrapper {
  gap: 10px;
}
.server-tile {
  display: inline-block;
  padding: 5px 15px;
  font-size: 13px;
  background-color: var(--grey-dark);
  cursor: pointer;
  border-radius: 20px;
  margin: 0px 10px 10px 0px;
}
select,
option {
  font-family: "Poppins", sans-serif !important;
  padding: 5px;
  border: none;
  border-radius: 20px !important;
  font-size: 13px;
}
select:active,
select:enabled {
  border: none;
}
.server-tile.selected {
  color: black;
  background-color: var(--theme);
}
.episode-tile.selected {
  color: black;
  background-color: var(--theme);
}
.video-player {
  width: 75%;
}
.hls-container {
  min-width: 100%;
  aspect-ratio: 16/9;
}
.video-player video {
  display: block;
  width: 100% !important;
  aspect-ratio: 16/9;
  overflow: hidden;
  border: none;
}
.warn {
  font-size: 12px;
}
.warn p {
  font-size: 14px;
}

@media screen and (max-width: 1400px) {
  .watch-container {
    flex-direction: column;
  }
  .media-center {
    width: 100%;
  }
  .episode-container {
    width: 20%;
  }
  .video-player {
    width: 80%;
  }
  .current-anime-details {
    width: 80%;
    margin: auto;
  }
}
@media screen and (max-width: 1100px) {
  .watch-container {
    padding: 0;
  }
  .media-center {
    flex-direction: column-reverse;
    align-items: center;
  }
  .episode-container {
    width: 80%;
  }
  .video-player {
    width: 80%;
  }
  .current-anime-details {
    width: 90%;
    margin: auto;
  }

  .episode-tile {
    width: calc(100% / 10 - 5px);
  }
  .server-tile-wrapper {
    padding: 10px;
  }
}
@media screen and (max-width: 1000px) {
  .episode-container {
    width: 100%;
  }
  .video-player {
    width: 100%;
  }
}
@media screen and (max-width: 580px) {
  .episode-tile {
    width: calc(100% / 6 - 5px);
  }
  .current-anime-details {
    width: 100%;
  }
  .watch-container {
    margin-top: 50px;
    padding-top: 0;
  }
  .video-player video {
    aspect-ratio: 4/3;
  }
}

/* Dark page. Soft gradients, and panels that sit on top of them instead of solid blocks. */
:root {
  --dark: rgba(16, 16, 18, 0.72);
  --grey-dark: rgba(255, 255, 255, 0.045);
  --theme: #7ecbff;
  --light: #f5f5f7;
}

body,
button,
input,
select,
textarea {
  font-family: "Poppins", sans-serif !important;
  font-weight: 600;
  letter-spacing: -0.015em;
}
h1, h2, h3, h4,
.section-header,
.card-title,
.anime-title,
.title-large {
  font-weight: 700 !important;
  letter-spacing: -0.03em;
}

body {
  background:
    radial-gradient(1100px 640px at 8% -10%, rgba(255, 255, 255, 0.06), transparent 55%),
    radial-gradient(900px 560px at 100% 0%, rgba(90, 96, 112, 0.16), transparent 50%),
    radial-gradient(800px 520px at 60% 110%, rgba(255, 255, 255, 0.035), transparent 46%),
    linear-gradient(180deg, #17171b 0%, #0e0e11 46%, #141418 100%) !important;
  background-attachment: fixed !important;
  color: #f3f3f5 !important;
}

.navigation-bar.dark {
  background: rgba(12, 12, 14, 0.78) !important;
  box-shadow: inset 0 -1px 0 rgba(255, 255, 255, 0.06);
}

/* Panels pick up the page behind them instead of painting a flat color. */
.card-details,
.episode-tile,
.server-tile,
.alphabet-tile,
.genre-tile,
.details-header-secondary,
.period-selector {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.03)) !important;
  border: 1px solid rgba(255, 255, 255, 0.06);
  box-shadow: none;
}
.button-group > * {
  background: rgba(14, 14, 16, 0.55) !important;
}
.anime-card-img-wrapper::before {
  background: linear-gradient(0deg, rgba(14, 14, 16, 0.92) 6%, rgba(14, 14, 16, 0.25) 28%, transparent 46%) !important;
}
.section-header,
.category-container h4,
.page-heading h1 {
  color: #f4f4f6 !important;
}

.brand-link {
  text-decoration: none;
}
.brand-logo {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #fff;
  text-decoration: none;
  white-space: nowrap;
}
.brand-lg {
  font-size: 46px;
  letter-spacing: 0.08em;
}
.brand-bang {
  color: #4db7ff;
  display: inline-block;
  animation: bang-bloom 2.6s ease-in-out infinite;
}
@keyframes bang-bloom {
  0%, 100% {
    text-shadow:
      0 0 6px #bfe6ff,
      0 0 16px #4db7ff,
      0 0 32px rgba(77, 183, 255, 0.85);
  }
  50% {
    text-shadow:
      0 0 10px #fff,
      0 0 22px #7ecbff,
      0 0 48px #4db7ff,
      0 0 72px rgba(77, 183, 255, 0.65);
  }
}

/* Hero dissolves into the page instead of ending in a hard edge. */
.carousel.slide {
  -webkit-mask-image: linear-gradient(180deg, #000 0%, #000 62%, transparent 100%);
  mask-image: linear-gradient(180deg, #000 0%, #000 62%, transparent 100%);
}
.carousel-img {
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 32%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 32%);
}
.anime-info {
  background: none !important;
}
.carousel-item .anime-info::after {
  background: linear-gradient(90deg, rgba(14, 14, 16, 0.55) 0%, rgba(14, 14, 16, 0.12) 36%, transparent 58%) !important;
}
.carousel-item .anime-info::before {
  background: linear-gradient(180deg, rgba(14, 14, 16, 0.35) 0%, transparent 24%) !important;
}
.carousel-item::after {
  background: none !important;
}

.nav-actions svg {
  color: #fff !important;
}

.anime-card {
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.06);
}
.anime-card-img-wrapper,
.anime-card-img-wrapper img {
  border-radius: 12px 12px 0 0;
}
.anime-card .card-details {
  border: none !important;
  border-radius: 0 0 12px 12px !important;
  background: transparent !important;
}
.releases-band {
  width: 100%;
  padding: 10px 20px 40px;
}
.release-row,
.match-row {
  display: grid !important;
  gap: 18px 12px;
}
.release-row {
  grid-template-columns: repeat(8, minmax(0, 1fr));
}
.match-row {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}
.release-row .anime-card-wrapper,
.match-row .anime-card-wrapper {
  width: 100% !important;
}
.release-row .anime-card-img-wrapper,
.release-row .anime-card-img-wrapper img,
.match-row .anime-card-img-wrapper,
.match-row .anime-card-img-wrapper img {
  height: 200px !important;
}
.trending-slide a,
.trending-slide-img {
  border-radius: 12px;
  overflow: hidden;
}
.trending-head {
  justify-content: space-between;
}
.trending-scroller {
  padding-right: 0 !important;
}
.trending-swiper-navigation {
  position: static !important;
  height: auto !important;
  width: auto !important;
  flex-direction: row !important;
  background: transparent !important;
  padding: 0 !important;
  gap: 8px;
}
.swiper-controls,
.carousel-controls {
  width: 36px !important;
  height: 36px !important;
  flex: 0 0 36px !important;
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  border-radius: 10px;
  background: transparent !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.28);
}
.swiper-controls:hover,
.carousel-controls:hover {
  background: #fff !important;
  color: #111 !important;
}
.nav-actions {
  display: flex !important;
  gap: 8px;
}
.hero-button,
.btn-primary,
.btn-secondary,
.nav-pill,
.genre-button,
.button-group > * {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 10px !important;
  background: #fff !important;
  color: #111 !important;
  border: none !important;
  backdrop-filter: none !important;
  font-weight: 700;
  line-height: 1;
}
.nav-pill {
  padding: 8px 14px;
  font-size: 13px;
}
.hero-button:hover,
.btn-primary:hover,
.btn-secondary:hover,
.nav-pill:hover,
.genre-button:hover,
.button-group > *:hover {
  background: #ececec !important;
  color: #111 !important;
}
@media screen and (max-width: 1400px) {
  .release-row { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .match-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media screen and (max-width: 900px) {
  .release-row { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .match-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media screen and (max-width: 600px) {
  .release-row,
  .match-row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.server-container .server-tile {
  border-radius: 4px !important;
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  padding: 4px 10px !important;
}
.server-container .server-tile.selected {
  background: #4db7ff !important;
  color: #0c0c0e !important;
  border-color: #4db7ff !important;
}

.episode-container .episode-tile {
  border-radius: 6px !important;
  border: none !important;
  outline: none !important;
  width: auto !important;
  min-width: 36px;
  background: rgba(255, 255, 255, 0.06) !important;
}
.episode-tile.watched {
  outline: none !important;
  background: #4db7ff !important;
  color: #0c0c0e !important;
}
.episode-tile.watched::after {
  content: none !important;
}
.episode-tile.filler {
  background: #fff !important;
  color: #111 !important;
}

.side-genres {
  margin-bottom: 8px;
}
.side-genre-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  padding-bottom: 8px;
}
.side-genre-list a {
  color: #ececf1;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}
.side-genre-list a:hover {
  color: var(--theme);
}

.top-ten-wrapper ul {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
}
.top-ten-header {
  padding-block: 8px 4px !important;
}
.top-ten-wrapper ul li {
  padding: 8px 0 0 !important;
  gap: 10px !important;
}
.top-ten-wrapper .top-10-item {
  padding-bottom: 8px !important;
}
.top-ten-wrapper ul li img {
  height: 46px !important;
  min-width: 34px !important;
}

/* Blur filters were painted on every cover and on the details page. They
   made scrolling slow and hid the artwork. A flat tint is used instead. */
.img-blur,
.details-header::after,
.watch-container::after,
.navigation-sidebar {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
.img-blur {
  opacity: 0;
  background: rgba(10, 10, 12, 0.5);
  pointer-events: none;
}
.anime-card-wrapper:hover .img-blur {
  opacity: 1;
}
.details-header::after,
.watch-container::after {
  background: rgba(12, 12, 14, 0.78) !important;
}

.card-title {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  display: block;
}

/* Details page: poster stays a fixed size so the title and synopsis can sit beside it. */
.details-header {
  align-items: stretch;
}
.details-header-primary,
.details-header-secondary,
.anime-details,
.anime-details-content {
  position: relative;
  z-index: 1;
}
.anime-details-poster {
  width: 190px;
  min-width: 190px;
  height: 270px;
  object-fit: cover;
  border-radius: 8px;
}
.details-header-primary {
  max-width: none;
  flex: 1 1 68%;
}
.details-header-secondary {
  max-width: none;
  flex: 1 1 280px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
}
.anime-details-content {
  min-width: 0;
}
.anime-details-content .title-large,
.details-header h1 {
  line-height: 1.2;
}
.anime-details-content p,
.details-header-secondary p {
  color: #d5e7f6;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
.current-anime-details {
  color: #f4f9ff;
}

/* Moanime additions on top of the Hianime layout. */

/* The navbar search needs a positioned form for the icon + suggestion popup. */
.search-wrapper form,
.floating-search-wrapper form {
  position: relative;
  height: 100%;
  width: 100%;
}
.search-icons {
  background: none;
  border: none;
  display: flex;
  align-items: center;
  top: 0;
}
.search-suggest {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  right: 0;
  background: var(--grey-dark);
  border-radius: 8px;
  overflow: hidden;
  z-index: 50;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.suggest-item {
  gap: 10px;
  padding: 8px 10px;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
}
.suggest-item:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--theme);
}
.suggest-item img {
  width: 32px;
  height: 44px;
  object-fit: cover;
  border-radius: 3px;
}

.genre-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.genre-tile {
  flex: 0 0 calc(100% / 5 - 10px);
  padding: 14px;
  background: var(--grey-dark);
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 14px;
}
.genre-tile:hover {
  color: var(--theme);
}
@media screen and (max-width: 1000px) {
  .genre-tile {
    flex-basis: calc(100% / 3 - 10px);
  }
}
@media screen and (max-width: 600px) {
  .genre-tile {
    flex-basis: calc(100% / 2 - 10px);
  }
}

.cw-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: rgba(0, 0, 0, 0.6);
  z-index: 4;
}
.cw-progress-bar {
  height: 100%;
  background: var(--theme);
}
.cw-remove {
  position: absolute;
  top: 6px;
  right: 6px;
  z-index: 5;
  height: 22px;
  width: 22px;
  display: none;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  cursor: pointer;
}
.anime-card-wrapper:hover .cw-remove {
  display: flex;
}
.cw-remove:hover {
  background: #e53935;
}

.card-rank {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 4;
  background: var(--theme);
  color: #000;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 0 0 4px 0;
}

/* Trending strip, scrolled with the arrow controls instead of a slider lib. */
.trending-scroller {
  display: flex;
  gap: 15px;
  overflow-x: auto;
  scroll-behavior: smooth;
  padding: 20px 60px 20px 0;
}
.trending-scroller::-webkit-scrollbar {
  height: 0;
}
.trending-scroller .trending-slide {
  flex: 0 0 240px;
  width: 240px;
}

@media screen and (min-width: 1300px) {
  .float-search-toggle {
    display: none;
  }
}

/* Page wrapper so content clears the fixed navbar on inner pages. */
.page-body {
  padding-top: 65px;
  min-height: 100vh;
}
@media screen and (max-width: 700px) {
  .page-body {
    padding-top: 50px;
  }
}

.page-heading {
  padding: 30px 40px 0;
}
.page-heading h1 {
  color: var(--theme);
  font-family: "Poppins", sans-serif;
  font-size: 28px;
  margin: 0;
}
.page-heading p {
  color: grey;
  margin: 6px 0 0;
  font-size: 14px;
}
@media screen and (max-width: 600px) {
  .page-heading {
    padding: 20px 10px 0;
  }
}

.grid-wrap {
  padding: 20px 40px 40px;
}
@media screen and (max-width: 600px) {
  .grid-wrap {
    padding: 20px 10px 40px;
  }
}

/* Watched episodes keep a subtle marker in the episode grid. */
.episode-tile.watched {
  outline: 1px solid var(--theme);
}
.episode-tile.watched::after {
  content: " ✓";
  color: var(--theme);
  font-size: 11px;
}
.hls-container {
  position: relative;
  background: #000;
}
.hls-container iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.player-shell {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  position: relative;
}
.player-shell iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.player-poster {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
}
.player-poster::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}
.player-poster button {
  position: relative;
  z-index: 2;
}
