
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  scrollbar-width: thin;
scrollbar-color:  #00D3FF #222222;
}
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');
::-webkit-scrollbar {
            width: 10px;
        }

        ::-webkit-scrollbar-track {
            background: #00D3FF;
        }

        ::-webkit-scrollbar-thumb {
            background-color: #00D3FF;
            border-radius: 6px;
            border: 3px solid #222222;
        }

        ::-webkit-scrollbar-thumb:hover {
            background-color:  #00D3FF;
        }



.search-result-link {
    color: #141414;
    text-decoration: none;
    padding: 0;
    font-family: 'Roboto', sans-serif;
}

.search-no-results, .search-error-item {
    list-style: none;
    padding: 8px;
    color: #141414; 
}
body {
  font-family: "Roboto", sans-serif;
  background: #0e0e0e;
  color: #fff;
  display: flex;
  min-height: 100vh;
}
#scrollTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 35px;
  height: 35px;
  background-color: #00D3FF;
  color: #fff;
  font-size: 17px;
  font-weight: bold;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: 
    opacity 0.4s ease,
    visibility 0.4s ease,
    transform 0.3s ease,
    background-color 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  z-index: 999;
}

#scrollTopBtn.show {
  opacity: 1;
  visibility: visible;
}

#scrollTopBtn:hover {
  transform: scale(1.1);
}

#scrollTopBtn:active {
  transform: scale(0.95);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}


.close-active {
 width: 24px!important;
  height: 24px!important;
  margin-left:3px;
  filter: brightness(0) invert(1);
}
#menuIcon.close-active {
  transform: rotate(90deg);
  transition: transform 0.3s ease, filter 0.3s ease;
  filter: brightness(0) saturate(100%) invert(64%) sepia(82%) saturate(489%) hue-rotate(165deg) brightness(102%) contrast(97%);
}
.video-status-dot {
  position: absolute;
  top: 25px;
  right: 20px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #aaa;
  box-shadow: 0 0 5px rgba(0,0,0,0.3);
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
  z-index: 10;
}

.video-status-dot.active {
  background-color: #00c851;
  box-shadow: 0 0 5px #00c851, 0 0 10px rgba(0, 200, 81, 0.4);
  animation: pulseActive 1.6s infinite ease-in-out;
}

@keyframes pulseActive {
  0% {
    transform: scale(1);
    box-shadow: 0 0 10px #00c851, 0 0 12px rgba(0, 200, 81, 0.3);
  }
  50% {
    transform: scale(1.2);
    box-shadow: 0 0 10px #00c851, 0 0 15px rgba(0, 200, 81, 0.6);
  }
  100% {
    transform: scale(1);
    box-shadow: 0 0 10px #00c851, 0 0 12px rgba(0, 200, 81, 0.3);
  }
}


.search-container input::placeholder {
  color: #EBEBEB;         
  opacity: 1;          
}
.sidebar {
	  font-family: 'Roboto', sans-serif;
  font-weight: 400;

  position: fixed;
  left: 0;
  top: 0;
  width: 250px;
  background: #141414;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease;
  z-index: 100;
  margin-top: 60px; 
  height: calc(100% - 60px);
}

.nav-menu ul {
  list-style: none;
  width: 100%;
}

.nav-menu li {
  padding-left: 15px;
}
.nav-menu a.active {
  color: #EBEBEB;
  font-weight: 700; font-family: 'Roboto', sans-serif;
}
.nav-menu a {
  display: flex;  font-weight: 500;  font-family: 'Roboto', sans-serif;

  align-items: center;
  color: #ccc;
  text-decoration: none;
  padding: 10px;
  transition: all 0.3s;
}

.nav-menu li:hover {
  background: #1f1f1f;
  color: #EBEBEB;
}

.nav-menu img {
  width: 22px;
  height: 22px;
  margin-right: 10px;
  filter: brightness(0) invert(1);
}

.btn-login {
  background: #00a1d6;
  border: none;
  padding: 10px;
  color: #EBEBEB;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  margin: 10px;
  transition: 0.3s;
}

.btn-login:hover {
  background: #0088b3;
}

.copy {
  font-size: 1rem;
  line-height: 17px;
  text-align: justify;
  color: #EBEBEB;
  padding: 12px;  font-family: 'Roboto', sans-serif;

  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 10px;
  letter-spacing: 0.3px;
}

.main-content {
  margin-left: 50px;
  width: calc(100% - 50px);
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}


.left-group {
  display: flex;
  align-items: center;
  gap: 12px;
}


.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background: #262626;
  border-bottom: 1px solid #222;
  z-index: 200;
  height: 60px;
}

.header-inner {
    display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 25px;
  gap: 15px; 
}

.logo-link img {
  width: 130px;
}

.search-wrapper {
  position: relative; 
  width: 100%;
  max-width: 500px;

}
.search-container {
  display: flex;
  align-items: center;
  background: #1f1f1f;
  border-radius: 20px;
  overflow: hidden;
  height: 36px;
  position: relative;
}

.search-container input {
  flex: 1;
  padding: 6px 10px; 
  border: none;height: 36px;
  outline: none;
   background: #1f1f1f;
  color: #fff;
}

.search-btn {
  background: #141414;
  border: none;
  padding: 10px 14px; 
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s;
  border-radius: 0 20px 20px 0; 
}

.search-btn img {
  width: 20px;
  height: 20px;
  filter: brightness(0) invert(1);
}

#jujutsu {
  width: 20px;
  height: 20px;
  position: absolute;
  right: 50px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: none;
}

#jujutsu.active {
  display: block;
}

#conResu {
  background: #fff;
  position: absolute;
  top: 42px;
  left: 0;
  width: 100%;
  border-radius: 10px;
  border: solid 1px rgba(210, 207, 207, 0.8);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  font-family: "Roboto", sans-serif;
  z-index: 99;
  display: none;
  overflow: hidden;
  max-height: 280px; 
  overflow-y: auto;
}

#conResu.active {
  display: block;
}

#conResu div {
  padding: 10px 12px;
  color: #111;
  cursor: pointer;
  transition: background 0.2s;
}

#conResu div:hover {
  background: #f3f3f3;
}


.user-info {
  display: flex;
  align-items: center;
}

.user-info img {
  width: 32px; 
  cursor:pointer;
  height: 32px;
  border-radius: 50%;
  margin-right: 10px;
}

.user-info .button {
  background: #00a1d6;
  border: none;
  padding: 7px 10px;
  border-radius: 10px;
  color: white;
  margin-right: 10px;
  cursor: pointer;
}

.button:hover {
  background: #0088b3;
}

.mobile-menu-desko{
	 background: transparent;
  border: none;
  cursor: pointer;
}
.mobile-menu-desko img {
  width: 30px;
  height: 30px;
  filter: brightness(0) invert(1);
}

.mobile-menu-toggle,
.mobile-search-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
}

.mobile-menu-toggle img,
.mobile-search-toggle img {
  width: 28px;
  height: 28px;
  filter: brightness(0) invert(1);
}

#espFoo {
  width: 100%;
  background: rgba(247, 249, 249, 0.05);
  padding: 80px 25px 0px 215px;
  overflow: hidden;
}

.anime-container {
  width: 100%;
  margin: 0 auto;
  min-height: calc(100vh - 90px);
  box-sizing: border-box;
  padding: 0px 15px 0px;
  display: flex;
  flex-direction: column;
}

.anime-section {
  width: 100%;
  
  box-sizing: border-box;
  flex: 1; padding-bottom: 40px;
  display: flex;
  flex-direction: column;
}

.anime-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(calc(100% / 6 - 15px), 1fr));
  gap: 15px;
  width: 100%;
}


.section-title {
  font-size: 1.4rem;
  font-weight: 600; font-family: 'Roboto', sans-serif;
  margin-bottom: 15px;
  padding-left: 8px;
  color: #EBEBEB;
}



.anime-card {
  background: #181818;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
}

.anime-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
}

.anime-card a {
  color: inherit;
  text-decoration: none;
}

.anime-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.anime-thumb img {
  width: 100%;
  height: 100%;
object-fit: contain; 
  display: block;
  transition: transform 0.3s;
}

.anime-card:hover .anime-thumb img {
  transform: scale(1.05);
}

.anime-duration {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 0.8rem;
  padding: 2px 6px;
  border-radius: 4px;
}

.anime-info {
  padding: 10px;
}

.anime-title {
  font-size: 0.95rem;
  font-weight: 600;
  color: #EBEBEB; font-family: 'Roboto', sans-serif;
  line-height: 1.3;
  margin-bottom: 5px;
  -ms-text-overflow:ellipsis;
	text-overflow:ellipsis;
	overflow:hidden;
	white-space:nowrap;
}

.anime-meta {
  display: flex;
  align-items: center;
  font-size: 0.7rem;
  color: #aaa;
  margin-bottom: 3px;
}

.icon-view {
  width: 14px;
  height: 14px;
  margin-right: 4px;
  filter: brightness(0) invert(1);
}

.anime-date {
  font-size: 0.75rem;
  color: #777;
}

.skeleton {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    #1e1e1e 25%,
    #2a2a2a 37%,
    #1e1e1e 63%
  );
  background-size: 400% 100%;
  animation: skeleton-loading 1.4s ease infinite;
  border-radius: 6px;
  z-index: 2;
}

@keyframes skeleton-loading {
  0% {
    background-position: 100% 0;
  }
  100% {
    background-position: -100% 0;
  }
}

.lazy-img {
  opacity: 0;
  transition: opacity 0.1s ease;
  z-index: 3;
}

.lazy-img.loaded {
  opacity: 1;
}

.anime-thumb {
  position: relative;
  overflow: hidden;
}

footer {
  margin-top: auto;
  background: #111;
  padding: 20px;
  text-align: center;
  border-top: 1px solid #222;
  display: none;
}

.footer-socials img {
  width: 24px;
  height: 24px;
  margin: 0 8px;
  filter: brightness(0) invert(1);
  transition: 0.3s;
}

.footer-socials img:hover {
  transform: scale(1.1);
}
.list-anime-search{
	font-family: "Roboto", sans-serif;
	list-style: none; 
	list-style-position: inside; 
	padding:8px; 
	font-size:0.91rem;
}
.list-anime-search-icono{
	width:13px;height:13px;object-fit: contain;
    flex-shrink: 0;
}
.list-anime-search{
	display:flex;
}
@media (max-width: 1400px) and (min-width: 769px) {
    .search-wrapper {
  width: 100%;
  max-width: 340px;

}
  .sidebar {
    width: 70px;
    align-items: center;
    padding: 15px 0;
  }

  .nav-menu span {
    display: none;
  }

  .nav-menu a {
    justify-content: center;
    padding: 15px 0;
  }

  .nav-menu img {
    width: 28px;
    height: 28px;
    margin-right: 0;
  }

  .nav-menu a {
    position: relative;
  }


  .nav-menu a:hover::after {
    opacity: 1;
    visibility: visible;
  }

  .copy {
    display: none;
  }

  .main-content {
    margin-left: 0px;
    width: calc(100% - 0px);
  }

  .anime-container {
    width: 100%;
    max-width: none;
    padding: 0 15px;
  }

  #espFoo {
    padding-left: 85px; 
    padding-right: 15px;
  }
}

@media (max-width: 1024px) {
  .anime-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }
}
@media (max-width: 768px) {
   
	#scrollTopBtn{
  position: fixed;
  bottom: 70px;
  right: calc(50% - 21px);
}


	
	#noneItem{
		display:none;
	}
	.nav-menu li {
  padding-left: 5px;
}
	.section-title {
  font-size: 1rem;
  padding-left: 0px;
}
	.mobile-menu-toggle img {
  width: 35px;
  height: 35px;
}
	#jujutsu {
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
}

.search-wrapper{
  width: 100%;
  padding:0px;
  max-width: 676px;
}
#conResu {
  top: 66px;
  left: -8px; border-radius: 4px;
  height:auto!important;
  overflow:hidden!important;
}
.list-anime-search{
	padding:6px;display:flex;
}
.list-anime-search p{
	
  -ms-text-overflow:ellipsis;
	text-overflow:ellipsis;
	overflow:hidden;
	white-space:nowrap;
}
.list-anime-search-icono{
	width:13px;height:13px;
}
  .sidebar {
	  margin-top: 54px;
	   height: calc(100% - 47px);
    transform: translateX(-100%);
    width: 200px;
  }

  .sidebar.sidebar-open {
    transform: translateX(0);
  }

  .main-content {
    margin-left: 0;
    width: 100%;
  }

  .main-header {
    background: #181818;
    height: 55px;
  }

  .header-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 23px 28px;
}
.mobile-menu-desko{
	display:none;
}

.mobile-menu-toggle {
  display: flex;margin-top:5px;
  position: absolute;
  left: 12px; 
}

.mobile-search-toggle {
  display: flex;
  position: absolute;
  right: 12px;
  align-items: center;
  justify-content: center;
  background: #212433;
  border: none;
  border-radius:4px;
  cursor: pointer;
  padding: 0px;
  width: 34px;
  margin-top:8px;
  height: 34px;
}
.mobile-search-toggle img {
  width: 19px;
  height: 19px;
}

.logo-link {
  position: absolute;
  left: 50%;
  top:9px;
  transform: translateX(-50%);
}

.logo-link img {
  width: 130px;
}



  .search-container,
  .user-info {
    display: none;
  }

  footer {
  position: fixed;
  display: block;    
  justify-content: center;
  align-items: center;
  bottom: 0;
  left: 0;
  width: 100%;
    font-family: "Roboto", sans-serif;

  padding: 0px 0;
  border-top: 1px solid #222;
  z-index: 300;
  color: #EBEBEB;
  background: #181818;
}

.footer-socials {
    margin-top:4px;
	
  }
  .footer-socials img {
    width: 18px;
    height: 18px;
    margin: 0px 3px;
	
  }
footer p{
	padding:5px;
	font-size:0.78em; font-weight: 600;  font-family: 'Roboto', sans-serif;
  color: #EBEBEB;
}
  .copy {
    display: none;
  }

  #espFoo {
    padding: 60px 0px 60px 0px;
  }

  .anime-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }

  .mobile-search-wrapper {
	  border-top:1px solid #000;
	  	  border-bottom:1px solid #000;
    display: none; margin-top:4px;
    padding: 3px 15px;
    background: #141414;
  }

  .mobile-search-wrapper.active {
    display: flex; 
    width: 100%; 
    border-radius: 0;
    overflow: hidden;
  }

  .mobile-search-wrapper.active .search-container {
    display: block;
	 border-radius: 0px;
   width: 95%;
	padding:0px; margin:0 auto;
	height:34px;
    background: #1f1f1f;
  }

  .mobile-search-wrapper.active .search-container input {
    margin:0px;
    width: 100%;
    padding: 6px;
	height:34px;
    border-radius: 4px;
  }

  .mobile-search-wrapper.active .search-btn {
    display: none; 
  }
}

@media (max-width: 480px) {
  .anime-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  }

  .anime-card {
    border-radius: 6px;
  }
}
