html {
     height: 100%;
     scroll-behavior: smooth;
}
 a, input, option, select, button {
     font-family: "Spotify Mix", sans-serif;
}
 body {
     margin: 0;
     padding: 0;
     min-height: 100%;
     font-family: "Spotify Mix", sans-serif;
     background-color: #070707;
     touch-action: manipulation;
     -webkit-touch-callout: none;
     -webkit-user-select: none;
     -khtml-user-select: none;
     -moz-user-select: none;
     -ms-user-select: none;
     -webkit-tap-highlight-color: transparent !important;
     user-select: none;
     transition: 0.3s;
}

    body::-webkit-scrollbar {
        width: 5px;
        }

    body::-webkit-scrollbar-track {
            background: transparent;
            border-radius: 10px;
        }

    body::-webkit-scrollbar-thumb {
            background-color: #fff;
            margin-left: 5px;
            border-radius: 10px;
            transition: 0.5s;
        }

    body::-webkit-scrollbar-thumb:hover {
            background-color: #777;
        }

 .navbar {
     display: flex;
     z-index: 9999;
     width: 100%;
     top: 0px;
     position: fixed;
     background-color: #0000006b;
     -webkit-backdrop-filter: blur(24px);
     backdrop-filter: blur(24px);
     transition: 0.3s;
     border-bottom: 1px solid #252525;
}
 .navbar a {
     font-size: medium;
     color: white;
     text-align: center;
     padding: 14px 17px;
     text-decoration: none;
     font-weight: bold;
     transition: 0.3s;
}
 .navbar span{
     margin-left: 3px;
}
 #logo{
     width: 35px;
     height: 35px;
     margin-right: 20px;
}
 .navbar a:hover, .bottom-menu a:hover{
     background-color: #ffffff11;
     border-radius: 10px;
}
 .nav-active, .active{
     border-radius: 10px;
     background-color: #ffffff25;
}
 .navbar-container {
     margin: 5px auto;
     display: flex;
     justify-content: space-between;
    /* espaça os lados */
     align-items: center;
     width: 100%;
     max-width: 1200px;
}
 .navbar-links, .navbar-right {
     display: flex;
     align-items: center;
}
 @media (max-width: 790px) {
     .navbar{
         display: block;
    }
     .navbar a{
         display: none;
    }
     #logo{
         width: 40px;
         height: 40px;
         padding: 5px;
         margin-left: 5px;
    }
}
 @media (min-width: 790px) {
     .bottom-menu{
         display: none !important;
    }
}
 .bottom-menu {
     position: fixed;
     bottom: 0;
     width: 100%;
     height: 55px;
     padding: 2px;
     background-color: #0707079c;
     -webkit-backdrop-filter: blur(30px);
     backdrop-filter: blur(30px);
     transition: 0.3s;
     border-top: 1px solid #252525;
     display: flex;
     z-index: 999;
}
 .bottom-menu a {
     flex: 1;
     height: 100%;
     display: flex;
     justify-content: center;
     align-items: center;
     text-decoration: none;
     transition: 0.4s;
}
 .bottom-menu i {
     font-size: 24px;
     color: #bbb;
     transition: 0.3s;
}
 .bottom-menu a:hover i, .bottom-menu a.active i {
     color: #fff;
}
 .content{
     width: 93%;
     max-width: 1200px;
     margin: 60px auto 40px auto;
}
 @media (max-width: 790px){
     .content {
         margin: 100px auto 30px auto;
    }
}
 .content-main{
     width: 93%;
     max-width: 1200px;
     margin: 80px auto 40px auto;
}
 @media (max-width: 790px){
     .content-main {
         margin: 80px auto 30px auto;
    }
}
/* episodes */
 .controls-bar {
     display: flex;
     justify-content: space-between;
     align-items: center;
     margin-top: 5.2rem;
     margin-bottom: 2rem;
     gap: 1rem;
     flex-wrap: wrap;
}
 @media (max-width: 790px){
     .controls-bar {
         margin-top: 2rem;
    }
}
 .controls-left {
     display: flex;
     align-items: center;
     gap: 1rem;
}
 .controls-right {
     display: flex;
}
/* Custom Dropdown */
 .custom-dropdown {
     position: relative;
     min-width: 150px;
}
 .dropdown-toggle {
     display: flex;
     align-items: center;
     font-weight: bold;
     justify-content: space-between;
     background-color: #151515;
     color: #ffffff;
     padding: 1rem;
     width: 170px;
     text-align: center;
     border-radius: 10px;
     cursor: pointer;
     transition: all 0.3s ease;
}

.dropdown-toggle span {
    flex: 1;
    text-align: center;
    margin-right: -15px;
    font-size: 17px;
}

 @media (max-width: 790px){
     .dropdown-toggle {
         padding: 15px 16px;
    }
}
 .dropdown-toggle:hover {
     background-color: #202020;
}
 .dropdown-toggle .arrow {
     transition: transform 0.3s ease;
     margin-left: 25px;
}
 .dropdown-toggle.open .arrow {
     transform: rotate(180deg);
}
 .dropdown-menu {
     position: absolute;
     top: 105%;
     left: 0;
     font-weight: bold;
     width: 94%;
     text-align: center;
    border-radius: 1rem;
    border: 2px solid rgba(255, 255, 255, 0.04);
    background: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
     border-radius: 1rem;
     overflow: hidden;
     padding: 5px;
     max-height: 0;
     opacity: 0;
     transition: max-height 0.3s ease, opacity 0.2s ease;
     z-index: 10;
}
 .dropdown-menu.open {
     max-height: 300px;
     opacity: 1;
}
 .dropdown-item {
     padding: 0.75rem 1rem;
     color: #ffffff;
     cursor: pointer;
     transition: background-color 0.2s;
}
 .dropdown-item:hover {
     border-radius: 10px;
    background: rgba(255, 255, 255, 0.1);
}
 .dropdown-item.active {
     background-color: #ffffff;
     color: #000000;
     border-radius: 10px;
}
/* View Toggle Buttons */
 .view-btn {
     background-color: #252525;
     color: #ffffff;
     border: none;
     padding: 1rem 1.2rem;
     cursor: pointer;
     display: flex;
     align-items: center;
     transition: all 0.3s ease;
}
 .view-btn:hover {
     background-color: #353535;
}
 .view-btn.active {
     background-color: #ffffff;
     color: #000000;
}
 .list-btn {
     border-radius: 10px 0px 0px 10px;
}
 .grid-btn {
     border-radius: 0px 10px 10px 0px;
}
/* Cards View */
 .cards-container {
     display: grid;
     gap: 1.1rem;
}
 @media (max-width: 790px){
     .cards-container {
         display: grid;
         gap: 0.5rem;
    }
}
 .cards-container.list-view {
     grid-template-columns: 1fr;
}
 .cards-container.grid-view {
     gap: 20px;
     grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
}
 .card {
     display: flex;
     background: #151515;
     border-radius: 10px;
     overflow: hidden;
     transition: all 0.3s ease;
     text-decoration: none;
}
 .card:hover {
     background-color: #202020;
}
 .card.list-view {
     flex-direction: row;
     transition: 0.4s all;
}
 .card.grid-view {
     flex-direction: column;
     height: 100%;
}
 .card-img {
     background-size: cover;
     background-position: center;
     flex-shrink: 0;
}
 .card.grid-view .card-img {
     position: relative;
     width: 100%;
     height: 0;
     padding-bottom: 56.25%;
     overflow: hidden;
}
 .card.grid-view:hover{
     box-shadow: 0px 0px 0px 2px rgba(255, 255, 255, 0.486);
}
 .card.grid-view .card-img::before {
     content: '';
     position: absolute;
     inset: 0;
     background: linear-gradient(to top, rgba(0, 0, 0, 0.801), transparent 60%);
     z-index: 1;
}
 .card.grid-view .card-info {
     position: absolute;
     bottom: 0;
     left: 0;
     width: 100%;
     padding: 1rem;
     z-index: 2;
     display: flex;
     justify-content: center;
     align-items: center;
     text-align: center;
}
.card.grid-view .card-title {
    color: #ffffff;
    font-size: large;
    margin-left: -32px;
    width: 85%;
    white-space: normal;       /* Permite quebras de linha */
    word-wrap: break-word;     /* Quebra palavras longas se necessário */
    overflow-wrap: break-word; /* Suporte extra para navegadores modernos */
}

 .card.grid-view .card-subtitle {
     display: none;
}
/* List-view padrão */
 .card.list-view .card-img {
     width: 360px;
     aspect-ratio: 16 / 9;
}
 .card-info {
     flex: 1;
     display: flex;
     flex-direction: column;
     justify-content: center;
     padding: 1rem;
}

 .card-title {
     font-size: x-large;
     margin: 0px;
     width: 95%;
     white-space: nowrap;
     overflow: hidden;
     text-overflow: ellipsis;
     color: #ffffff;
     white-space: normal;       /* Permite quebras de linha */
     word-wrap: break-word;     /* Quebra palavras longas se necessário */
     overflow-wrap: break-word; /* Suporte extra para navegadores modernos */
}
 .card-subtitle {
     font-size: large;
     font-weight: 400;
     color: #ffffff;
     margin-top: 0px;
     margin-bottom: 0px;
}
 @media (max-width: 790px){
     .card-subtitle {
         font-size: small;
    }
}
 @media (max-width: 790px) {
     .card.list-view .card-img {
         width: 170px;
    }
     .card-title, .card-info {
         font-size: 15px !important;
    }
     .cards-container.grid-view {
         grid-template-columns: 1fr;
    }
     .controls-bar {
         flex-direction: row;
         justify-content: space-between;
         align-items: center;
         gap: 1rem;
    }
     .controls-left, .controls-right {
         width: auto;
         flex: 1;
    }
     .controls-left {
         justify-content: flex-start;
    }
     .controls-right {
         justify-content: flex-end;
    }
     .custom-dropdown {
         width: auto;
         min-width: 150px;
    }
     .view-btn {
         padding: 1rem;
    }
     .view-btn i {
         margin-right: 0;
    }
     .view-btn span {
         display: none;
    }
}

/* Separador padrão */
.episode-separator {
  width: 100%;
  text-align: center;
  margin-bottom: -10px;
  font-size: larger;
  transition: 0.4s all;
}

@media (max-width: 790px) {
.episode-separator {
    font-size: medium;
}
}

/* Modo LISTA - já funciona corretamente */
.episode-separator.list-view {
  width: 100%;
}

/* Modo GRADE - força o separador a quebrar a linha e ocupar todas as colunas */
.episode-separator.grid-view {
  grid-column: 1 / -1; /* O segredo está aqui! */
  width: 100%;
}

/* footer */
 footer {
     padding: 40px 20px;
     text-align: center;
}
 .footer-container {
     width: 100%;
     margin: auto;
     display: flex;
     flex-direction: column;
     gap: 15px;
     padding-bottom: 10px;
}
 @media (max-width: 790px){
     .footer-container{
         padding-bottom: 45px;
    }
}
 .social-icons {
     display: flex;
     justify-content: center;
     gap: 20px;
}
 .social-icons a {
     background-color: #151515;
     color: #a1a1a1;
     padding: 10px 14px;
     border-radius: 50%;
     font-size: 20px;
     text-decoration: none;
     transition: transform 0.3s ease, background 0.3s ease;
}
 .social-icons a:hover {
     background-color: #353535;
     color: #fff;
}
 .footer-links {
     display: flex;
     justify-content: center;
     flex-wrap: wrap;
     gap: 20px;
}
 .footer-links a {
     color: #ccc;
     text-decoration: none;
     font-size: 15px;
     transition: color 0.3s ease;
}
 .footer-links a:hover {
     color: white;
}
 .footer-bottom {
     font-size: 14px;
     color: #666;
}
/* home */
 .section-area-title{
     margin-bottom: 10px;
     margin-left: 0px;
     font-weight: 600;
}

@media (max-width: 790px){
.section-area-title{
     margin-bottom: 10px;
     margin-left: 0px;
     font-weight: 600;
}
}

/* Estilos para o bookmark */
.bookmark-btn {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    background-color: #151515ad;
    border: none;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: all 0.2s ease;
}

@media (max-width: 790px){
    .bookmark-btn{
        width: 30px;
        height: 30px;
        top: 7px !important;
        right: 7px !important;
    }
}

.bookmark-btn:hover {
    background: rgba(0, 0, 0, 0.596);
}

.bookmark-btn.bookmarked {
    color: white; /* Use sua cor principal */
}

.bookmark-btn i {
    font-size: 17px;
}

/* Ajuste para visualização em lista */
.list-view .bookmark-btn {
    top: 15px;
    right: 15px;
}

/* Garantir que o link do card cubra toda a área */
.card {
    position: relative;
}

.card-link {
    display: block;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

/* Notification Styles */
.bookmark-notification {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: #151515;
    color: white;
    padding: 15px 25px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    z-index: 1000;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
    max-width: 450px;
}

.notification-content {
    flex: 1;
    padding-right: 15px;
    padding-left: 5px;
    font-size: 17px;
    display: flex;
    align-items: center;
}

.notification-close {
    background: none;
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
    padding: 0;
    margin-left: 10px;
}


.bookmark-notification.show {
    transform: translateY(0);
    opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .bookmark-notification {
        width: 80%;
        left: 15px;
        margin: auto;
        bottom: 67px;
    }

    .notification-content{
        font-size: small;
    }
    
    .list-view .bookmark-btn {
        top: 15px;
        right: 15px;
    }
}

#disqus_thread{
    max-width: 1100px;
    width: 93%;
    margin: auto;
    border-radius: 10px;
}

select{
    border: 1px solid #303030;
    padding: 10px 10px;
    font-family: 'Spotify Mix', sans-serif;
    font-weight: bold; 
    background-color: transparent;
    border-radius: 10px;
}

option{
    background-color: #151515;
}

:root{
     --color-gradient: linear-gradient(45deg, #ff0022 30%, #ff0077 90%);
     --font-color: #000;
}

/* Temas */
[data-theme="light"] {
     --color-gradient: linear-gradient(45deg, #ffffff 30%, #c2c2c2 90%);
     --font-color: #000;
  }

[data-theme="dark"] {
     --color-gradient: linear-gradient(45deg, #080808 30%, #202020 90%);
     --font-color: #fff;
  }

[data-theme="blue"] {
    --color-gradient: linear-gradient(45deg, #004dc0 30%, #00b7ff 90%);
     --font-color: #fff;
}

[data-theme="purple"] {
    --color-gradient: linear-gradient(45deg, #8502ff 30%, #b907ff 90%);
     --font-color: #000;
}

[data-theme="green"] {
    --color-gradient: linear-gradient(45deg, #00ff37 30%, #0ff78a 90%);
     --font-color: #000;
}

[data-theme="scarlate"] {
    --color-gradient: linear-gradient(45deg, #740000 30%, #cf1616 90%);
     --font-color: #fff;
}

[data-theme="orange"] {
    --color-gradient: linear-gradient(45deg, #ff5100 30%, #ffbd07 90%);
     --font-color: #000;
}

[data-theme="yellow"] {
    --color-gradient: linear-gradient(45deg, #ffd000 30%, #ffe291 90%);
     --font-color: #000;
}

[data-theme="cyan"] {
    --color-gradient: linear-gradient(45deg, #07c5ff 30%, #70fff8 90%);
     --font-color: #000;
}
