/* =================================================
   CRYSTAL FANSUB STYLESHEET by Fraxca & sa1toYuki
   ============================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Trebuchet MS', sans-serif;
    color: #ffffff;
    background-color: rgb(30, 30, 30);
    overflow-x: hidden;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
}

html {
    min-height: 100%;
}

.main-content,
.content-section,
.post-container {
    flex: 1;
}

.stream-section {
    padding: 40px 5%;
    background: rgb(20, 20, 20);
}

.stream-section h2 {
    font-size: 1.4rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 24px;
    border-left: 4px solid #a33aff;
    padding-left: 12px;
}

.stream-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 20px;
    align-items: flex-start;
}

.stream-player-wrap {
    position: relative;
    background: #000;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 16/9;
    cursor: pointer;
    user-select: none;
}

.stream-player-wrap video {
    width: 100%;
    height: 100%;
    display: block;
}

.sp-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.3);
    transition: opacity 0.2s;
    pointer-events: none;
}
.sp-overlay.hidden { opacity: 0; }

.sp-big-play {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: rgba(163, 58, 255, 0.75);
    border: none;
    cursor: pointer;
    pointer-events: all;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s, transform 0.1s;
    box-shadow: 0 0 24px rgba(163,58,255,0.6);
}
.sp-big-play:hover { background: #a33aff; transform: scale(1.08); }
.sp-big-play svg { width: 28px; height: 28px; fill: white; margin-left: 4px; }

.sp-buffering {
    position: absolute;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}
.sp-buffering.show { display: flex; }
.sp-spinner {
    width: 44px;
    height: 44px;
    border: 3px solid rgba(163,58,255,0.3);
    border-top-color: #a33aff;
    border-radius: 50%;
    animation: sp-spin 0.8s linear infinite;
}
@keyframes sp-spin { to { transform: rotate(360deg); } }

.sp-error {
    position: absolute;
    inset: 0;
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #0a0a0a;
    color: #aaa;
    gap: 10px;
    text-align: center;
    padding: 24px;
}
.sp-error.show { display: flex; }
.sp-error i { font-size: 2rem; color: #a33aff; }
.sp-error p { font-size: 0.85rem; color: #777; max-width: 280px; line-height: 1.5; }

.sp-controls {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    padding: 32px 14px 10px;
    transition: opacity 0.25s;
}
.sp-controls.hide { opacity: 0; pointer-events: none; }

.sp-progress {
    position: relative;
    height: 4px;
    background: rgba(255,255,255,0.2);
    border-radius: 2px;
    cursor: pointer;
    margin-bottom: 10px;
    transition: height 0.15s;
}
.sp-progress:hover { height: 6px; }

.sp-buf-bar {
    position: absolute; left: 0; top: 0; height: 100%;
    background: rgba(255,255,255,0.3); border-radius: 2px; pointer-events: none;
}
.sp-play-bar {
    position: absolute; left: 0; top: 0; height: 100%;
    background: #a33aff; border-radius: 2px; pointer-events: none;
}
.sp-thumb {
    position: absolute; top: 50%; transform: translate(-50%, -50%);
    width: 13px; height: 13px; background: #a33aff; border-radius: 50%;
    pointer-events: none; opacity: 0; transition: opacity 0.15s;
    box-shadow: 0 0 8px rgba(163,58,255,0.8);
}
.sp-progress:hover .sp-thumb { opacity: 1; }

.sp-tooltip {
    position: absolute; bottom: 16px;
    background: rgba(0,0,0,0.85); color: #fff;
    font-size: 11px; padding: 2px 7px; border-radius: 3px;
    pointer-events: none; transform: translateX(-50%); white-space: nowrap;
    opacity: 0; transition: opacity 0.1s;
}
.sp-progress:hover .sp-tooltip { opacity: 1; }

.sp-bottom { display: flex; align-items: center; gap: 2px; }

.sp-btn {
    background: none; border: none; cursor: pointer;
    padding: 6px; border-radius: 5px;
    display: flex; align-items: center; justify-content: center;
    color: #fff; transition: background 0.1s;
}
.sp-btn:hover { background: rgba(163,58,255,0.25); }
.sp-btn svg { width: 20px; height: 20px; fill: currentColor; }

.sp-time { color: rgba(255,255,255,0.85); font-size: 12px; padding: 0 8px; white-space: nowrap; }

.sp-vol-wrap { display: flex; align-items: center; gap: 4px; }
.sp-vol-slider {
    -webkit-appearance: none; appearance: none;
    width: 64px; height: 4px; border-radius: 2px;
    background: rgba(255,255,255,0.25); outline: none; cursor: pointer;
}
.sp-vol-slider::-webkit-slider-thumb {
    -webkit-appearance: none; width: 12px; height: 12px;
    border-radius: 50%; background: #a33aff; cursor: pointer;
}
.sp-vol-slider::-moz-range-thumb {
    width: 12px; height: 12px; border-radius: 50%;
    background: #a33aff; border: none; cursor: pointer;
}

.sp-spacer { flex: 1; }

.sp-speed-btn {
    font-size: 12px; font-weight: bold; min-width: 38px;
    color: #fff; background: none; border: 1px solid rgba(255,255,255,0.2);
    border-radius: 4px; padding: 3px 6px; cursor: pointer;
    transition: border-color 0.15s, background 0.15s;
}
.sp-speed-btn:hover { border-color: #a33aff; background: rgba(163,58,255,0.2); }

.sp-settings-panel {
    position: absolute; bottom: 54px; right: 14px;
    background: #1a1a1a; border: 1px solid rgba(163,58,255,0.35);
    border-radius: 8px; padding: 12px 14px; min-width: 190px;
    display: none; z-index: 20;
}
.sp-settings-panel.open { display: block; }
.sp-set-row {
    display: flex; align-items: center;
    justify-content: space-between; padding: 6px 0;
    font-size: 13px; color: rgba(255,255,255,0.75);
    border-bottom: 1px solid rgba(255,255,255,0.07);
}
.sp-set-row:last-child { border-bottom: none; }
.sp-set-row select, .sp-set-row input[type=checkbox] {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(163,58,255,0.35);
    color: #fff; border-radius: 4px;
    padding: 2px 6px; font-size: 12px; outline: none; cursor: pointer;
}

.stream-ep-info {
    margin-top: 14px;
    padding: 14px 16px;
    background: #1a1a1a;
    border-radius: 8px;
    border-left: 3px solid #a33aff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}

.stream-ep-info .ep-label {
    display: flex;
    flex-direction: column;
}
.stream-ep-info .ep-num {
    font-size: 0.75rem;
    color: #a33aff;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.stream-ep-info .ep-title {
    font-size: 1rem;
    color: #fff;
    font-weight: bold;
    margin-top: 2px;
}

.stream-dl-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #a33aff;
    color: #fff;
    font-weight: bold;
    font-size: 0.85rem;
    text-decoration: none;
    padding: 10px 18px;
    border-radius: 6px;
    transition: background 0.2s, box-shadow 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
}
.stream-dl-btn:hover {
    background: #7a28cc;
    box-shadow: 0 0 16px rgba(163,58,255,0.5);
}

.stream-playlist-col {
    background: #181818;
    border-radius: 10px;
    border: 1px solid rgba(163,58,255,0.15);
    overflow: hidden;
    max-height: 520px;
    display: flex;
    flex-direction: column;
}

.playlist-header {
    padding: 14px 16px;
    background: #111;
    border-bottom: 1px solid rgba(163,58,255,0.2);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #a33aff;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
}

.playlist-scroll {
    overflow-y: auto;
    flex: 1;
}
.playlist-scroll::-webkit-scrollbar { width: 5px; }
.playlist-scroll::-webkit-scrollbar-track { background: #111; }
.playlist-scroll::-webkit-scrollbar-thumb { background: #a33aff; border-radius: 10px; }

.playlist-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    cursor: pointer;
    transition: background 0.15s;
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.playlist-item:hover { background: rgba(163,58,255,0.1); }
.playlist-item.active {
    background: rgba(163,58,255,0.18);
    border-left: 3px solid #a33aff;
}
.playlist-item.active .pl-ep-num { color: #a33aff; }

.pl-thumb {
    position: relative;
    width: 90px;
    min-width: 90px;
    height: 54px;
    border-radius: 6px;
    overflow: hidden;
    background: #2a2a2a;
    flex-shrink: 0;
}
.pl-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.pl-thumb .pl-badge {
    position: absolute;
    top: 4px; left: 4px;
    background: #a33aff;
    color: #fff;
    font-size: 9px;
    font-weight: bold;
    padding: 2px 5px;
    border-radius: 3px;
}
.pl-playing-icon {
    position: absolute;
    inset: 0;
    background: rgba(163,58,255,0.55);
    display: none;
    align-items: center;
    justify-content: center;
}
.playlist-item.active .pl-playing-icon { display: flex; }
.pl-playing-icon svg { width: 22px; height: 22px; fill: white; }

.pl-info { flex: 1; min-width: 0; }
.pl-ep-num {
    font-size: 0.7rem;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: bold;
}
.pl-ep-title {
    font-size: 0.82rem;
    color: #ddd;
    margin-top: 3px;
    line-height: 1.3;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
}

@media (max-width: 900px) {
    .stream-layout {
        grid-template-columns: 1fr;
    }
    .stream-playlist-col {
        max-height: 320px;
    }
}

/* =========================================
   2. NAVBAR
   ========================================= */
.mobile-header,
.mobile-menu,
.hamburger {
    display: none;
}

.mobile-menu a {
    text-decoration: none;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: rgba(255, 255, 255, 0.75);
    font-size: 17px;
    font-weight: bold;
    padding: 0 20px;
    align-items: center;
    transition: color 0.25s ease;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    padding: 0 20px;
    background-color: #1a1b43;
    height: 75px;
    position: relative;
    z-index: 100;
    flex-shrink: 0;
    width: 100%;
}

.nav-center-group {
    display: flex;
    align-items: stretch;
    height: 100%;
}

.menu {
    display: flex;
    align-items: stretch;
}

.menu a {
    text-decoration: none;
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: rgba(255, 255, 255, 0.75);
    font-size: 17px;
    font-weight: bold;
    padding: 0 20px;
    display: flex;
    align-items: center;
    position: relative;
    transition: color 0.25s ease;
    z-index: 1;
    white-space: nowrap;
}

/* Underline deslizante */
.menu a::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #a33aff;
    border-radius: 2px 2px 0 0;
    transition: width 0.3s ease;
}

/* Fundo roxo suave */
.menu a::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(163, 58, 255, 0.08);
    border-radius: 4px;
    opacity: 0;
    transform: scaleY(0.6);
    transition: opacity 0.25s ease, transform 0.25s ease;
    z-index: -1;
}

.menu a:hover {
    color: #ffffff;
}

.menu a:hover::after {
    width: 60%;
}

.menu a:hover::before {
    opacity: 1;
    transform: scaleY(1);
}

.logo {
    display: flex;
    align-items: center;
    padding: 0 25px;
}

.logo a {
    display: flex;
    align-items: center;
}

.logo img {
    width: auto;
    height: 65px;
    object-fit: contain;
    filter: grayscale(100%) brightness(0.7);
    opacity: 0.75;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.logo img:hover {
    filter: grayscale(0%) brightness(1);
    opacity: 1;
}

.actions {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: auto;
}

.search {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(163, 58, 255, 0.28);
    border-radius: 999px;
    padding: 4px 5px 4px 4px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.search:focus-within {
    border-color: rgba(163, 58, 255, 0.65);
    background: rgba(163, 58, 255, 0.1);
    box-shadow: 0 0 0 3px rgba(163, 58, 255, 0.12), 0 8px 24px rgba(163, 58, 255, 0.18);
}

.search-field {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
    cursor: text;
}

.search-field-icon {
    color: rgba(163, 58, 255, 0.85);
    font-size: 0.85rem;
    padding-left: 12px;
    flex-shrink: 0;
    transition: color 0.25s ease;
}

.search:focus-within .search-field-icon {
    color: #c9a0ff;
}

.search input,
.search-field input {
    border: none;
    background: transparent;
    color: #fff;
    outline: none;
    width: 150px;
    font-size: 0.88rem;
    font-family: inherit;
    padding: 8px 4px 8px 0;
    transition: width 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.search input::placeholder,
.search-field input::placeholder {
    color: rgba(255, 255, 255, 0.38);
}

.search:focus-within input {
    width: 210px;
}

.search input[type="search"]::-webkit-search-cancel-button,
.search-field input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: none;
}

.search-submit,
.search button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    min-width: 34px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(135deg, #a33aff 0%, #7c2fc9 100%);
    color: #fff;
    cursor: pointer;
    font-size: 0.8rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
    box-shadow: 0 2px 10px rgba(163, 58, 255, 0.35);
}

.search-submit:hover,
.search button:hover {
    transform: scale(1.06);
    box-shadow: 0 4px 16px rgba(163, 58, 255, 0.5);
    filter: brightness(1.08);
}

.search-submit:active,
.search button:active {
    transform: scale(0.96);
}

/* =========================================
   3. BANNER PRINCIPAL
   ========================================= */
.main-banner {
    position: relative;
    width: 100%;
    height: 550px;
    background: #000;
    overflow: hidden;
}

.carousel-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.slide {
    display: none;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.slide.active {
    display: flex;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.carousel-prev, .carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 100;
    background: rgba(163, 58, 255, 0.4);
    border: none;
    color: white;
    padding: 15px;
    cursor: pointer;
    font-size: 20px;
    transition: 0.3s;
}

.carousel-prev:hover, .carousel-next:hover {
    background: #a33aff;
}

.carousel-prev { left: 10px; border-radius: 5px; }
.carousel-next { right: 10px; border-radius: 5px; }

.banner-bg {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.3;
    filter: blur(4px);
    z-index: 1;
}

.banner-overlay {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
    width: 100%;
    padding: 0 10%;
}

.character-art {
    flex: 0 0 450px;
    height: 100%;
    display: flex;
    align-items: flex-end;
    position: relative;
    z-index: 20;
}

.character-art img {
    height: 100%;
    width: auto;
    object-fit: contain;
    opacity: 1 !important;
    transition: transform 0.5s ease;
}

.banner-content {
    flex: 0 1 600px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 10;
    filter: drop-shadow(0 0 10px rgba(0,0,0,0.8));
}

.tag-destaque {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #a33aff;
    font-weight: bold;
    margin-bottom: 10px;
}

.banner-description {
    background: none;
    padding: 0;
    margin: 20px 0 30px 0;
    font-size: 1.2rem;
    line-height: 1.6;
    color: #e0e0e0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);
    border-left: none;
    max-height: none;
}

.banner-description p {
    font-family: 'LedecaLight', sans-serif;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tag-destaque {
    font-size: 16px;
    color: #acacac;
    margin-bottom: 10px;
    display: block;
}

.anime-logo {
    max-width: 400px;
    height: auto;
    margin-bottom: 10px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
}

.btn-acessar,
.btn-acessar:link,
.btn-acessar:visited {
    background-color: #a33aff;
    color: #c8c8c8;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: fit-content;
    padding: 14px 23px;
    border-radius: 8px;
    font-size: 18px;
    text-transform: uppercase;
    transition: 0.4s;
}

.btn-acessar i {
    color: inherit;
}

.btn-acessar:hover {
    background-color: #7a28cc;
    color: #fff;
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(163, 58, 255, 0.5);
}

.banner-description::-webkit-scrollbar { width: 5px; }
.banner-description::-webkit-scrollbar-thumb {
    background: #a33aff;
    border-radius: 10px;
}

/* =========================================
   4. SEÇÃO DE PROJETOS RECENTES
   ========================================= */
.barra-projetos {
    background: rgba(0, 0, 0, 0.1);
    padding: 15px;
    text-align: center;
    border-top: -10px solid rgba(255, 255, 255, 0.1);
}

.barra-projetos h2 {
    font-size: 22px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.projects-container {
    padding: 80px 20px;
    text-align: center;
    background-color: rgb(45, 45, 45);
}

/* =========================================
   5. ANIMAÇÕES
   ========================================= */
.animate-fade-in {
    opacity: 0;
    transform: translateX(-30px);
    animation: fadeInEffect 0.8s ease-out forwards;
}

.animate-slide-up {
    opacity: 0;
    transform: translateY(50px);
    animation: slideUpEffect 1s ease-out 0.3s forwards;
}

@keyframes fadeInEffect {
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideUpEffect {
    to { opacity: 1; transform: translateY(0); }
}

.navbar.scrolled {
    background-color: #0d0d2b;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    height: 60px;
}

.content-section {
    padding: 40px 10%;
    background-color: #0D0D0D;
}

.container-grid {
    display: grid;
    grid-template-columns: 2.2fr 1.15fr;
    gap: 25px;
    align-items: start;
}

.sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
    min-width: 0;
}

.posts-column {
    display: flex;
    flex-direction: column;
    gap: 24px;
    min-width: 0;
}

.projects-feed {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(100%, 350px), 1fr));
    gap: 20px;
}

.posts-pagination {
    display: flex;
    align-items: stretch;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
}

.posts-pagination__page {
    min-width: 44px;
    height: 44px;
    padding: 0 14px;
    border: 2px solid #1a1b43;
    border-radius: 4px 0 0 4px;
    background: #0D0D0D;
    color: #6eb5ff;
    font-size: 1rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.2s, color 0.2s;
}

.posts-pagination__page:hover {
    background: #1a1a2e;
    color: #fff;
}

.posts-pagination__page.is-active {
    background: #0D0D0D;
    color: #6eb5ff;
    cursor: default;
    pointer-events: none;
}

.posts-pagination__group {
    display: flex;
    align-items: stretch;
    background: #1a1b43;
    border-radius: 0 4px 4px 0;
    overflow: hidden;
}

.posts-pagination__group .posts-pagination__page {
    border: none;
    border-radius: 0;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    background: transparent;
    color: #fff;
}

.posts-pagination__group .posts-pagination__page:hover {
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}

.posts-pagination__nav {
    min-width: 44px;
    height: 44px;
    padding: 0 12px;
    border: none;
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    background: transparent;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.2s;
}

.posts-pagination__nav:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.12);
}

.posts-pagination__nav:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.card-anime {
    display: flex;
    flex-direction: column;
    background: #1c1c1c;
    border-radius: 5px;
    overflow: hidden;
    border-bottom: 3px solid transparent;
    transition: 0.3s;
}

.card-anime:hover {
    border-bottom: 3px solid #a33aff;
    transform: translateY(-5px);
}

.card-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.card-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 20px;
}

.card-info h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.2rem;
    color: #fff;
    margin-bottom: 10px;
    line-height: 1.3;
}

.card-info p {
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.card-footer {
    display: flex;
    justify-content: space-between;
    margin-top: auto;
    color: #555;
    font-size: 0.8rem;
    border-top: 1px solid #2a2a2a;
    padding-top: 10px;
}

.widget {
    background: #181818;
    border-radius: 5px;
    padding: 20px;
}

.widget-header {
    font-family: 'Ledeca', sans-serif;
    display: flex;
    text-transform: uppercase;
    align-items: center;
    gap: 10px;
    color: #a33aff;
    font-weight: bold;
    font-size: 1.3rem;
    margin-bottom: 20px;
}

.widget-header i {
  color: #a33aff;
  position: relative;
  top: 2px; /* aumente ou diminua até alinhar visualmente */
}

.botoes { margin-left: auto; color: #A33AFF; }

.status-item {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(163, 58, 255, 0.2);
    border-radius: 12px;
    padding: 12px;
    gap: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-bottom: 15px;
    backdrop-filter: blur(5px);
}

.status-item:hover {
    background: rgba(163, 58, 255, 0.08);
    border-color: #a33aff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(163, 58, 255, 0.2);
}

.status-item img {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    object-fit: cover;
    border: 2px solid #a33aff;
}

.status-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.status-content a { text-decoration: none; }

.status-content h4 {
    font-family: 'Poppins', sans-serif;
    color: #fff;
    margin: 0;
    font-size: 1.1rem;
    transition: color 0.3s;
}

.status-content h4:hover { color: #ff99cc; }

.status-ep {
    font-size: 0.8rem;
    color: #ff99cc;
    font-weight: bold;
    text-transform: uppercase;
}

.status-bd-editing {
    display: inline-block;
    width: fit-content;
    margin-top: 4px;
    padding: 4px 8px;
    border-radius: 999px;
    background: #7a4b14;
    color: #ffe0a3;
    font-size: 0.72rem;
    font-weight: 700;
}

.status-step {
    font-size: 0.75rem;
    color: #ccc;
    font-style: italic;
    margin-bottom: 8px;
}

.progress-container {
    width: 100%;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #a33aff, #ff99cc);
    box-shadow: 0 0 10px rgba(163, 58, 255, 0.5);
    border-radius: 10px;
    transition: width 1s ease-in-out;
}

/* Últimos Lançamentos */
.releases-widget {
    flex: 1;
    display: flex;
    flex-direction: column;
    min-height: 420px;
}

.releases-widget .widget-header {
    margin-bottom: 14px;
}

#dynamic-releases-list {
    flex: 1;
    overflow-y: auto;
}

.release-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    text-decoration: none;
    transition: background 0.2s;
}

.release-item:last-child { border-bottom: none; }

.release-item:hover {
    background: rgba(163, 58, 255, 0.08);
}

.release-thumb {
    width: 110px;
    height: 62px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
    background: #2a2a2a;
}

.release-info {
    flex: 1;
    min-width: 0;
}

.release-info h4 {
    color: #FFFFFF;
    font-size: 0.95rem;
    margin: 0 0 4px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.release-ep {
    display: block;
    color: #fff;
    font-size: 0.88rem;
    font-weight: 600;
}

.release-date {
    display: block;
    color: #888;
    font-size: 0.78rem;
    margin-top: 2px;
}

.releases-empty {
    color: #666;
    font-size: 0.9rem;
    text-align: center;
    padding: 24px 0;
}

.widget-empty,
.feed-empty,
.feed-error {
    color: #666;
    font-size: 0.85rem;
    text-align: center;
    padding: 24px 12px;
}

.feed-error {
    color: #c45;
}

@keyframes skeleton-shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.skeleton-block {
    background: linear-gradient(90deg, #252525 25%, #333 50%, #252525 75%);
    background-size: 200% 100%;
    animation: skeleton-shimmer 1.4s ease-in-out infinite;
    border-radius: 4px;
}

.skeleton-card {
    pointer-events: none;
}

.skeleton-card .skeleton-image {
    width: 100%;
    height: 220px;
}

.skeleton-title {
    height: 22px;
    width: 85%;
    margin-bottom: 12px;
}

.skeleton-text {
    height: 14px;
    width: 100%;
    margin-bottom: 8px;
}

.skeleton-text--short {
    width: 60%;
}

.skeleton-status {
    pointer-events: none;
}

.skeleton-thumb {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
    border-radius: 8px;
}

.skeleton-line {
    height: 14px;
    width: 100%;
    margin-bottom: 8px;
}

.skeleton-line--title {
    height: 18px;
    width: 75%;
}

.skeleton-line--short {
    width: 45%;
}

.skeleton-progress {
    height: 6px;
    width: 100%;
    margin-top: 4px;
    border-radius: 3px;
}

.skeleton-release {
    display: flex;
    gap: 14px;
    padding: 13px 0;
    pointer-events: none;
}

.skeleton-release-thumb {
    width: 110px;
    height: 62px;
    flex-shrink: 0;
    border-radius: 6px;
}

.skeleton-release-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.is-loading .skeleton-block {
    animation-duration: 1.1s;
}

.refresh-button.is-spinning i {
    animation: spin-refresh 0.8s linear infinite;
}

@keyframes spin-refresh {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.refresh-button {
    margin-left: auto;
    background: none;
    border: none;
    color: #A33AFF;
    cursor: pointer;
    font-size: 0.9rem;
    padding: 4px 8px;
    transition: transform 0.3s, color 0.3s;
}

.refresh-button:hover { color: #a33aff; transform: rotate(180deg); }

.releases-widget .botoes { margin-left: 4px; }

.no-episodes-msg {
    text-align: center;
    color: #888;
    padding: 40px 20px;
    font-size: 1.1rem;
}

.main-footer {
    background-color: #0d0d0d;
    color: #fff;
    padding: 60px 10% 20px;
    border-top: 3px solid #a33aff;
    margin-top: auto;
    flex-shrink: 0;
}

.footer-proj {
    margin-top: auto;
    flex-shrink: 0;
}

.footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-box h3 {
    color: #a33aff;
    margin-bottom: 20px;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-logo {
    height: 50px;
    margin-bottom: 15px;
    filter: drop-shadow(0 0 5px rgba(163, 58, 255, 0.3));
}

.footer-box p {
    color: #888;
    font-size: 0.9rem;
    line-height: 1.6;
}

.footer-box ul { list-style: none; }

.footer-box ul li { margin-bottom: 10px; }

.footer-box ul li a {
    color: #ccc;
    text-decoration: none;
    transition: 0.3s;
    font-size: 0.9rem;
}

.footer-box ul li a:hover {
    color: #a33aff;
    padding-left: 5px;
}

.footer-logo-link {
    text-decoration: none;
    display: inline-block;
    transition: transform 0.5s ease;
}

.footer-logo-link:hover { transform: scale(2.05); }

.CC-Link, .CC-Link:visited { color: #a33aff; }

.social-links {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    justify-content: center;
}

.social-links a {
    color: #fff;
    font-size: 1.5rem;
    transition: 0.3s;
}

.social-links a:hover {
    color: #a33aff;
    transform: translateY(-3px);
}

.copyright {
    font-size: 0.8rem !important;
    border-top: 1px solid #222;
    padding-top: 20px;
    margin-top: 20px;
}

.projects-page {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 10px;
}

.projects-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    border-bottom: 2px solid #222;
    padding-bottom: 20px;
}

.projects-header h2 {
    color: #a33aff;
    font-size: 1.8rem;
    text-transform: uppercase;
}

.filter-btn {
    background: #1e1e1e;
    border: 1px solid #333;
    color: #fff;
    padding: 8px 18px;
    margin-left: 10px;
    border-radius: 20px;
    cursor: pointer;
    transition: 0.3s;
}

.filter-btn.active, .filter-btn:hover {
    background: #a33aff;
    border-color: #a33aff;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(195px, 1fr));
    gap: 20px;
    padding: 20px 16px;
    width: 100%;
    max-width: 1680px;
    margin: 0 auto;
}

.projects-pagination {
    max-width: 1680px;
    margin: 8px auto 40px;
    padding: 0 16px;
}

.project-item {
    display: block;
    text-decoration: none;
    color: inherit;
    text-align: left;
    position: relative;
    border-radius: 6px;
    overflow: visible;
    outline: none;
    -webkit-tap-highlight-color: transparent;
    isolation: isolate;
}

.project-item:hover,
.project-item:focus-visible {
    z-index: 3;
}

.project-card {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    background: #0a0b10;
    border: 0;
    box-shadow: none;
}

.project-item:focus-visible .project-card {
    box-shadow:
        0 0 0 2px #a33aff,
        0 4px 16px rgba(0, 0, 0, 0.4);
}

.project-poster {
    position: relative;
    aspect-ratio: 2 / 3;
    overflow: hidden;
    margin-bottom: 0;
    border-radius: 0;
    height: auto;
    box-shadow: none;
    background: #0d0d10;
}

.project-poster img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
    display: block;
    transform: translateZ(0) scale(1);
    transform-box: border-box;
    transform-origin: 50% 50%;
    transition: transform 0.45s ease;
    backface-visibility: hidden;
}

.project-item:is(:hover, :focus-visible) .project-poster img {
    transform: translateZ(0) scale(1.03);
}

.project-poster-top {
    position: absolute;
    top: 8px;
    left: 8px;
    right: 8px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    z-index: 4;
    pointer-events: none;
}

.project-badges {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    align-items: center;
}

.project-badge {
    font-family: 'Lato', sans-serif;
    font-size: 0.58rem;
    font-weight: 700;
    padding: 5px 8px;
    min-height: 21px;
    border-radius: 3px;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
    line-height: 1;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    vertical-align: middle;
    box-sizing: border-box;
    transition: opacity 0.15s ease, visibility 0.15s ease;
}

.project-badge.concluido {
    background: #22c55e;
    color: #ffffff;
}

.project-badge.editando-bd {
    background: #7c3aed;
    color: #ffffff;
}

.project-badge.andamento {
    background: #c19c23;
    color: #ffffff;
}

.project-badge.hiato {
    background: #950404;
    color: #ffffff;
}

.project-badge.cancelado {
    background: #be183d;
    color: #ffffff;
}

.project-badge.finalizado {
    background: #22c55e;
    color: #ffffff;
}

.project-badge.bluray {
    background: #1d4ed8;
    color: #ffffff;
    gap: 4px;
    white-space: nowrap;
}

.project-badge.bluray i {
    font-size: 0.72em;
    line-height: 1;
}

.project-ext-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.82rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.6));
    transition: color 0.2s ease;
}

.project-poster-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 32px 10px 10px;
    background-image: linear-gradient(to top, #0a0b10 0%, rgba(0, 0, 0, 0.92) 30%, rgba(0, 0, 0, 0.55) 70%, transparent 100%);
    z-index: 3;
    pointer-events: none;
}

.project-card-bar h3,
.project-item h3 {
    font-family: 'Ledeca', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    text-align: left;
    line-height: 1.35;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-poster-title {
    font-family: 'Ledeca', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    text-align: center;
    line-height: 1.35;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-item .project-poster-title {
    text-align: center;
}

.project-item .project-hover-title {
    text-align: left;
}

.project-hover {
    position: absolute;
    inset: 0;
    border-radius: inherit;
    overflow: hidden;
    background: transparent;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease;
    z-index: 12;
    pointer-events: none;
    isolation: isolate;
}

.project-item:is(:hover, :focus-visible) .project-hover {
    opacity: 1;
    visibility: visible;
}

.project-item:is(:hover, :focus-visible) .project-poster .project-badge.bluray,
.project-item:is(:hover, :focus-visible) .project-poster .project-badge.concluido,
.project-item:is(:hover, :focus-visible) .project-poster .project-badge.editando-bd {
    display: none;
}

.project-item:is(:hover, :focus-visible) .project-poster .project-sensitive-flag {
    opacity: 0;
    visibility: hidden;
}

.project-hover-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(0, 0, 0, 0.65) 0%,
        rgba(0, 0, 0, 0.74) 18%,
        rgba(10, 11, 16, 0.84) 34%,
        rgba(10, 11, 16, 0.92) 50%,
        #0a0b10 78%,
        #0a0b10 100%);
}

.project-hover-body {
    position: relative;
    z-index: 1;
    padding: 12px;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: left;
}

.project-hover-title {
    font-size: 0.95rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
    line-height: 1.25;
    text-align: left;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    padding-right: 2px;
}

.project-hover-meta {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin: 0;
    text-align: left;
}

.project-cr-rating-img {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
}

.project-cr-rating-img img {
    height: 24px;
    width: auto;
    display: block;
    border-radius: 2px;
}

.project-cr-score {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
}

.project-cr-score i {
    color: #f5b301;
    font-size: 0.75rem;
}

.project-hover-stats {
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.78rem;
    font-weight: 600;
    text-align: left;
}

.project-hover-synopsis {
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.76rem;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-align: left;
}

.project-sensitive-flag {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(190, 24, 60, 0.95);
    color: #fff;
    border-radius: 50%;
    font-size: 0.75rem;
    font-weight: 800;
    z-index: 11;
    border: 2px solid rgba(255, 120, 140, 0.55);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
    pointer-events: none;
    line-height: 1;
}

.project-sensitive-flag i {
    font-size: 0.7rem;
    line-height: 1;
}

.anime-poster .project-sensitive-flag {
    top: 10px;
    right: 10px;
    bottom: auto;
}

/* Legado: overlay antigo (páginas não regeneradas) */
.project-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(163, 58, 255, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: 0.3s;
}

.project-item:hover .project-overlay { opacity: 1; }

.btn-ver-mais {
    background: #fff;
    color: #a33aff;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
}

.project-item span {
    font-size: 0.8rem;
    color: #777;
}

.menu a.active {
    color: #a33aff;
    border-bottom: 2px solid #a33aff;
}

.anime-details-container {
    position: relative;
    padding-top: 100px;
    min-height: 100vh;
}

.anime-page-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 400px;
    background-size: cover;
    background-position: center;
    filter: blur(15px) brightness(0.4);
    z-index: -1;
}

.anime-main-info {
    display: flex;
    gap: 40px;
    padding: 40px 10%;
    align-items: flex-start;
}

.anime-poster {
    flex: 0 0 280px;
    position: relative;
}

.anime-poster img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
    border: 2px solid rgba(163, 58, 255, 0.3);
}

.anime-poster .status-badge {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.anime-poster .status-badge.andamento {
    background: #ff9f43;
    color: #000;
}

.anime-poster .status-badge.concluido {
    background: rgba(0, 248, 95, 0.15);
    border: 1px solid rgba(0, 248, 95, 0.45);
    color: #00f85f;
}

.anime-text-info h1 {
    font-size: 2.5rem;
    color: #fff;
    margin-bottom: 10px;
}

.anime-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 20px;
    color: #a33aff;
    font-weight: bold;
    margin-bottom: 25px;
}

.rating-badge {
    display: inline-flex;
    align-items: center;
}

.rating-badge img {
    height: 32px;
    width: auto;
    display: block;
}

.sensitive-content-warning {
    color: #ffb347;
    background: rgba(255, 179, 71, 0.1);
    border: 1px solid rgba(255, 179, 71, 0.35);
    border-radius: 8px;
    padding: 12px 16px;
    margin-bottom: 20px;
    font-size: 0.9rem;
    line-height: 1.5;
}

.sensitive-content-warning i {
    margin-right: 8px;
}

.anime-sinopse h3 {
    color: #fff;
    margin-bottom: 10px;
    border-left: 4px solid #a33aff;
    padding-left: 15px;
}

.anime-sinopse p {
    color: #ccc;
    line-height: 1.8;
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 8px;
}

.episode-list-section {
    padding: 40px 10%;
    background: #0D0D0D;
}

.episode-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.episode-card {
    background: #1e1e1e;
    display: flex;
    align-items: center;
    padding: 15px;
    border-radius: 8px;
    text-decoration: none;
    color: #fff;
    transition: 0.3s;
    border: 1px solid #333;
}

.episode-card:hover {
    background: #252525;
    border-color: #a33aff;
    transform: translateX(10px);
}

.ep-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: #a33aff;
    margin-right: 20px;
    min-width: 40px;
}

.ep-info span { font-weight: bold; display: block; }
.ep-info p { font-size: 0.8rem; color: #888; }

.episode-card i { margin-left: auto; color: #a33aff; font-size: 1.2rem; }

.anime-specs {
    background: rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-radius: 8px;
    margin-top: 25px;
    border: 1px solid rgba(163, 58, 255, 0.2);
}

.anime-specs h3 {
    color: #a33aff;
    font-size: 1.1rem;
    margin-bottom: 15px;
    text-transform: uppercase;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.spec-item {
    font-size: 0.9rem;
    color: #ccc;
}

.spec-item strong {
    color: #fff;
    margin-right: 5px;
}

.spec-item span { color: #a33aff; }

.anime-staff {
    background: rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-radius: 8px;
    margin-top: 25px;
    border: 1px solid rgba(163, 58, 255, 0.2);
}

.anime-staff h3 {
    color: #a33aff;
    font-size: 1.1rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 12px;
}

.staff-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(163, 58, 255, 0.08);
    border: 1px solid rgba(163, 58, 255, 0.25);
    border-radius: 8px;
    padding: 14px;
    transition: border-color 0.2s, transform 0.2s;
}

.staff-card:hover {
    border-color: rgba(163, 58, 255, 0.5);
    transform: translateY(-2px);
}

.staff-avatar {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #a33aff, #673de6);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.95rem;
}

.staff-info {
    min-width: 0;
    flex: 1;
}

.staff-card .staff-name {
    display: block;
    font-weight: 600;
    color: #fff;
    font-size: 0.95rem;
    margin-bottom: 6px;
}

.staff-roles {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.staff-role-tag {
    font-size: 0.75rem;
    color: #e0c8ff;
    background: rgba(163, 58, 255, 0.2);
    border: 1px solid rgba(163, 58, 255, 0.35);
    border-radius: 4px;
    padding: 2px 8px;
}

.staff-empty {
    color: #888;
    font-size: 0.9rem;
    font-style: italic;
}

.ep-thumbnail {
    position: relative;
    width: 180px;
    height: 100px;
    margin-right: 20px;
    overflow: hidden;
    border-radius: 8px;
    border: 1px solid rgba(163, 58, 255, 0.3);
}

.ep-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.3s;
}

.episode-card:hover .ep-thumbnail img { transform: scale(1.1); }

.ep-badge {
    position: absolute;
    top: 5px; left: 5px;
    background: #a33aff;
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 4px;
}

.faq-container {
    padding: 120px 20px 60px;
    max-width: 800px;
    margin: 0 auto;
}

.faq-header {
    text-align: center;
    margin-bottom: 40px;
}

.faq-header h1 {
    color: #a33aff;
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.faq-item {
    background: #1e1e1e;
    border: 1px solid rgba(163, 58, 255, 0.2);
    border-radius: 12px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: 0.3s ease;
}

.faq-question {
    width: 100%;
    padding: 20px;
    background: none;
    border: none;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: bold;
    text-align: left;
}

.faq-question:hover { background: rgba(163, 58, 255, 0.05); }

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(0, 0, 0, 0.2);
}

.faq-answer p {
    padding: 20px;
    color: #ccc;
    line-height: 1.6;
    margin: 0;
}

.faq-item.active {
    border-color: #a33aff;
    box-shadow: 0 5px 15px rgba(163, 58, 255, 0.1);
}

.faq-item.active .faq-answer { max-height: 500px; }

.faq-item.active .fa-chevron-down {
    transform: rotate(180deg);
    color: #a33aff;
}

.recrutamento-intro {
    text-align: center;
    margin-bottom: 40px;
}

.recrutamento-intro h1 {
    color: #a33aff;
    margin-bottom: 10px;
}

.form-group { margin-bottom: 20px; }

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #fff;
    font-weight: bold;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 12px;
    background: #0D0D0D;
    border: 1px solid #333;
    border-radius: 6px;
    color: #fff;
    outline: none;
}

.form-group input:focus, .form-group select:focus { border-color: #a33aff; }

.btn-enviar {
    width: 100%;
    padding: 15px;
    background: #a33aff;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.btn-enviar:hover {
    background: #8e2de2;
    transform: translateY(-2px);
}

.btn-enviar:disabled {
    cursor: not-allowed;
    filter: grayscale(1);
}

.funcao-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(163, 58, 255, 0.2);
    transition: 0.3s;
}

.funcao-card:hover {
    transform: translateY(-5px);
    border-color: #a33aff;
    background: rgba(163, 58, 255, 0.05);
}

.funcao-card.ativo {
    border-color: #a33aff;
    background: rgba(163, 58, 255, 0.15);
    box-shadow: 0 0 20px rgba(163, 58, 255, 0.35);
    transform: translateY(-4px);
}

.funcao-card i {
    font-size: 2rem;
    color: #a33aff;
    margin-bottom: 15px;
}

.funcao-card h3 {
    margin-bottom: 10px;
    color: #fff;
    font-size: 1.1rem;
}

.funcao-card p {
    font-size: 0.85rem;
    color: #ccc;
    line-height: 1.4;
}

.recrutamento-container {
    padding: 120px 20px 60px;
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.funcoes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    width: 100%;
    margin-bottom: 40px;
}

.form-style {
    display: none;
    width: 100%;
    max-width: 680px;
    background: #1e1e1e;
    padding: 35px 30px;
    border-radius: 15px;
    border: 1px solid #a33aff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.slide-up {
    animation: slideUp 0.6s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(50px); }
    to { opacity: 1; transform: translateY(0); }
}

#tituloForm {
    color: #a33aff;
    margin-bottom: 20px;
    text-align: center;
    font-size: 1.5rem;
}

/* ── Detalhes do Cargo (Faça Parte) ──────── */
.requisitos-box {
    margin-bottom: 25px;
}

.cargo-detalhes-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: rgba(163, 58, 255, 0.05);
    border: 1px solid rgba(163, 58, 255, 0.22);
    border-radius: 12px;
    padding: 20px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.cargo-desc-box {
    border-bottom: 1px solid rgba(163, 58, 255, 0.18);
    padding-bottom: 12px;
}

.cargo-desc-texto {
    font-size: 0.92rem;
    color: #e2d9f3;
    line-height: 1.55;
    margin: 0;
}

.cargo-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 650px) {
    .cargo-info-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }
    .form-style {
        padding: 25px 18px;
    }
}

.cargo-info-col {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.cargo-info-header {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cargo-info-header i {
    font-size: 1rem;
    color: #a33aff;
}

.cargo-info-col--requisitos .cargo-info-header i {
    color: #22c55e;
}

.cargo-info-header h4 {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.3px;
}

.cargo-info-lista {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 9px;
}

.cargo-info-lista li {
    position: relative;
    padding-left: 18px;
    font-size: 0.85rem;
    color: #cbd5e1;
    line-height: 1.45;
}

.cargo-info-col--atividades .cargo-info-lista li::before {
    content: "•";
    position: absolute;
    left: 2px;
    top: -2px;
    color: #a33aff;
    font-size: 1.25rem;
    line-height: 1.2;
}

.cargo-info-col--requisitos .cargo-info-lista li::before {
    content: "✓";
    position: absolute;
    left: 2px;
    top: 1px;
    color: #22c55e;
    font-size: 0.82rem;
    line-height: 1.4;
    font-weight: bold;
}

/* Recrutamento: layout alinhado e painel expansível */
.recrutamento-container {
    width: min(calc(100% - 32px), 960px);
    max-width: 960px;
    padding: 120px 0 64px;
    align-items: stretch;
    gap: 0;
}

.recrutamento-intro { text-align: center; margin-bottom: 30px; }
.recrutamento-intro h1 { font-size: clamp(2rem, 4vw, 2.8rem); margin-bottom: 10px; }
.recrutamento-intro p { color: #c4bfd0; line-height: 1.6; }

.funcoes-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    margin: 0;
}

.funcao-card {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 176px;
    padding: 22px 18px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: inherit;
    font: inherit;
    cursor: pointer;
    background: rgba(255,255,255,.035);
    border: 1px solid rgba(147,51,234,.24);
    transition: transform 220ms cubic-bezier(.4,0,.2,1), border-color 220ms, background 220ms, box-shadow 220ms;
}
.funcao-card:hover { transform: translateY(-2px); border-color: #9333ea; box-shadow: 0 8px 24px rgba(147,51,234,.15); }
.funcao-card:focus-visible { outline: 3px solid #c084fc; outline-offset: 3px; }
.funcao-card.ativo { border-color: #9333ea; background: rgba(147,51,234,.16); box-shadow: 0 0 22px rgba(147,51,234,.22); transform: none; }
.funcao-card.ativo::after { content: ""; position: absolute; z-index: 2; left: calc(50% - 9px); bottom: -10px; width: 18px; height: 18px; background: #1b1424; border-left: 1px solid #9333ea; border-top: 1px solid #9333ea; transform: rotate(45deg); }
.funcao-card i { transition: transform 220ms cubic-bezier(.4,0,.2,1); }
.funcao-card.ativo i { transform: scale(1.18); }
.funcao-card h3 { margin: 8px 0; }
.funcao-card p { margin: 0; font-size: .9rem; }

.candidatura-panel { display: grid; grid-template-rows: 0fr; opacity: 0; transform: translateY(12px); transition: grid-template-rows 360ms cubic-bezier(.4,0,.2,1), opacity 300ms ease, transform 360ms cubic-bezier(.4,0,.2,1); }
.candidatura-panel[hidden] { display: none; }
.candidatura-panel.is-open { grid-template-rows: 1fr; opacity: 1; transform: translateY(0); margin-top: 22px; }
.candidatura-panel-inner { min-height: 0; overflow: hidden; }
.form-style { display: block; width: 100%; max-width: none; margin: 0; padding: clamp(20px, 4vw, 36px); border-color: rgba(147,51,234,.55); }
#tituloForm { display: flex; align-items: center; justify-content: center; gap: 12px; padding-bottom: 18px; border-bottom: 1px solid rgba(147,51,234,.24); }
#tituloForm::before { content: "\f15c"; font-family: "Font Awesome 6 Free"; font-weight: 900; }
.recrutamento-container, .recrutamento-container button, .recrutamento-container input, .recrutamento-container textarea { font-family: 'Ledeca', sans-serif; }
.recrutamento-intro h1, .funcao-card h3, #tituloForm, .cargo-info-header h4, .form-group label, .btn-enviar { font-weight: 700; }
.cargo-detalhes-container { background: transparent; border: 0; padding: 0; box-shadow: none; }
.cargo-desc-box { padding: 16px 18px; background: rgba(147,51,234,.09); border: 1px solid rgba(147,51,234,.2); border-radius: 12px; }
.cargo-desc-texto { font-size: 1rem; }
.cargo-info-grid { gap: 16px; }
.cargo-info-col { padding: 20px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.08); border-radius: 12px; gap: 16px; }
.cargo-info-header h4 { font-size: 1rem; }
.cargo-info-lista { gap: 14px; }
.cargo-info-lista li { font-size: 14px; line-height: 1.6; }
.form-group { margin-bottom: 22px; }
.form-group label { display: block; margin-bottom: 9px; font-weight: 600; }
.form-group input, .form-group textarea { width: 100%; min-height: 48px; padding: 13px 14px; border: 1px solid #484052; border-radius: 9px; background: #0D0D0D; color: #fff; font: inherit; }
.form-group textarea { min-height: 120px; resize: vertical; }
.form-group input:focus-visible, .form-group textarea:focus-visible { outline: 2px solid #9333ea; outline-offset: 2px; border-color: #9333ea; }
.btn-enviar { background: #9333ea; border-radius: 9px; min-height: 52px; }
.form-style.is-switching { animation: candidaturaCrossfade 200ms ease both; }
@keyframes candidaturaCrossfade { 50% { opacity: .35; transform: translateY(4px); } }

@media (max-width: 760px) { .funcoes-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 480px) {
    .recrutamento-container { width: min(calc(100% - 24px), 960px); padding-top: 100px; }
    .funcoes-grid { grid-template-columns: 1fr; gap: 16px; }
    .funcao-card { min-height: 148px; }
    .cargo-info-grid { grid-template-columns: 1fr; }
    .cargo-info-col { padding: 17px; }
}
@media (prefers-reduced-motion: reduce) {
    .funcao-card, .funcao-card i, .candidatura-panel, .form-style.is-switching { transition: none !important; animation: none !important; }
    .candidatura-panel { transform: none; }
}

/* =========================================
   EQUIPE - NOVO LAYOUT
   ========================================= */

.equipe-container {
    padding: 100px 0 60px;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
}

.equipe-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 24px;
    max-width: 1100px;
    margin: 20px auto;
    padding: 20px;
    /* Garante que todos os cards da mesma linha fiquem com altura igual */
    align-items: stretch;
}

/* Card principal — sem borda animada, sem efeito 3D */
.membro-card-new {
    background: #1e1e1e;
    border-radius: 16px;
    border: 1px solid rgba(163, 58, 255, 0.15);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
    /* Força todos os cards a terem a mesma altura na mesma linha */
    height: 100%;
    width: 100%;
    min-width: 0;
}

.membro-card-new:hover {
    border-color: rgba(163, 58, 255, 0.5);
    box-shadow: 0 8px 32px rgba(163, 58, 255, 0.12);
}

/* Banner colorido no topo do card */
.card-banner {
    height: 70px;
    background: linear-gradient(135deg, #1a0a2e 0%, #2d1060 50%, #1a0a2e 100%);
    position: relative;
    flex-shrink: 0;
}

.card-banner--blue {
    background: linear-gradient(135deg, #001a3d 0%, #003d8f 50%, #001a3d 100%);
}

.card-banner--yuki {
    background: linear-gradient(135deg, #213029 0%, #486062 50%, #213029 100%);
}

.card-banner--black {
    background: linear-gradient(135deg, #000000 0%, #565656 50%, #000000 100%);
}

.card-banner--royal {
    background: linear-gradient(135deg, #0a1a3e  0%, #163d99 50%, #091636  100%);
}

.card-banner--vermei {
    background: linear-gradient(135deg, #470101  0%, #c50404 50%, #470101  100%);
}

.card-banner-accent {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, #a33aff, transparent);
}

.card-banner-accent--blue {
    background: linear-gradient(90deg, transparent, #3d7aff, transparent);
}

/* Avatar centralizado, saindo do banner */
.card-avatar-wrap {
    display: flex;
    justify-content: center;
    margin-top: -36px;
    position: relative;
    z-index: 2;
}

.membro-avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    border: 3px solid #a33aff;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0,0,0,0.5);
    flex-shrink: 0;
    /* Remove transform 3D anterior */
    transform: none;
}

.membro-avatar--blue {
    border-color: #3d7aff;
}

.membro-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Corpo do card */
.membro-info {
    padding: 12px 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.membro-info h3 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 0;
}

.glitch-text {
    display: block;
    color: #a33aff;
    font-weight: bold;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 4px 0;
    /* Remove animação glitch */
    animation: none !important;
}

.glitch-text--blue {
    color: #3d7aff;
}

/* Remove o efeito glitch no hover */
.membro-card-new:hover .glitch-text {
    animation: none !important;
    text-shadow: none;
}

.membro-detalhes {
    font-size: 0.78rem;
    color: #888;
    border-top: 1px solid rgba(255,255,255,0.06);
    padding-top: 10px;
    margin-top: 6px;
    text-align: left;
}

.membro-detalhes p strong {
    color: #ccc;
}

/* Barras de skill */
.membro-skills {
    margin-top: 10px;
    text-align: left;
}

.skill-item { margin-bottom: 8px; }

.skill-name {
    font-size: 0.7rem;
    color: #666;
    display: block;
    margin-bottom: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.skill-bar-bg {
    width: 100%;
    height: 4px;
    background: rgba(255,255,255,0.07);
    border-radius: 2px;
    overflow: hidden;
}

.skill-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #6a00ff, #a33aff);
    border-radius: 2px;
}

.skill-bar-fill--blue {
    background: linear-gradient(90deg, #003d8f, #3d7aff);
}

.skill-bar-fill--yuki {
    background: linear-gradient(90deg, #213029, #486062);
}

.skill-bar-fill--black {
    background: linear-gradient(90deg, #000000, #565656);
}

.skill-bar-fill--royal {
    background: linear-gradient(90deg, #0a1a3e, #163d99);
}

.skill-bar-fill--vermei {
    background: linear-gradient(90deg, #470101, #c50404);
}


/* Botões de redes sociais */
.membro-socials {
    display: flex;
    gap: 8px;
    margin-top: 14px;
    flex-wrap: wrap;
}

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 7px 10px;
    border-radius: 8px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    cursor: pointer;
    text-decoration: none;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
    font-size: 0.75rem;
    color: #888;
    flex: 1;
    min-width: 80px;
    font-family: 'Trebuchet MS', sans-serif;
}

.social-btn:hover {
    background: rgba(163, 58, 255, 0.12);
    border-color: rgba(163, 58, 255, 0.4);
    color: #fff;
}

.social-btn img {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    object-fit: contain;
    flex-shrink: 0;
}

/* Balão de fala (mantido para compatibilidade com script.js) */
.balao-fala {
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    background: white;
    color: black;
    padding: 8px 15px;
    border-radius: 12px;
    font-weight: bold;
    font-size: 0.8rem;
    white-space: nowrap;
    z-index: 9999;
    pointer-events: none;
    animation: popBalao 0.3s ease-out;
}

@keyframes popBalao {
    0% { opacity: 0; transform: translateX(-50%) scale(0.5); }
    100% { opacity: 1; transform: translateX(-50%) scale(1); }
}

/* Responsividade */

/* Tablet: 2 colunas */
@media (max-width: 900px) {
    .equipe-grid {
        grid-template-columns: repeat(2, 1fr);
        max-width: 100%;
        padding: 16px;
        gap: 16px;
    }
}

/* Mobile: 1 coluna, ocupa toda a largura disponível */
@media (max-width: 560px) {
    .equipe-grid {
        grid-template-columns: 1fr;
        max-width: 100%;
        padding: 12px;
        gap: 14px;
    }

    .membro-card-new {
        width: 100%;
        max-width: 100%;
    }

    .membro-info {
        padding: 10px 16px 18px;
    }

    .membro-socials {
        gap: 8px;
    }

    .social-btn {
        flex: 1;
        min-width: 0;
        padding: 8px 6px;
        font-size: 0.72rem;
    }
}

/* Telas muito pequenas (< 360px) */
@media (max-width: 360px) {
    .membro-socials {
        flex-direction: column;
    }
    .social-btn {
        width: 100%;
        flex: unset;
    }
}

/* Página da equipe: cartões sociais e filtros por função. */
.equipe-container {
    max-width: 1180px;
    padding: 72px 24px 64px;
    font-family: 'Ledeca', sans-serif;
    text-align: left;
}

.equipe-cabecalho { max-width: 720px; margin: 0 auto 30px; text-align: center; }
.equipe-eyebrow { color: #bd7cff; font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.equipe-cabecalho h1 { margin: 8px 0; font-size: clamp(2rem, 4vw, 2.8rem); }
.equipe-cabecalho > p:last-child { color: #b8b4c5; }
.equipe-filtros { display: flex; justify-content: center; flex-wrap: wrap; gap: 9px; margin: 28px auto 36px; }
.equipe-filtro { padding: 9px 15px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; background: rgba(255,255,255,.04); color: #ded9e9; font: inherit; cursor: pointer; transition: background-color .2s ease, border-color .2s ease, color .2s ease; }
.equipe-filtro:hover, .equipe-filtro:focus-visible, .equipe-filtro.is-active { background: #7626b5; border-color: #a953ee; color: #fff; }
.equipe-secao { margin: 0 0 34px; }
.equipe-secao-titulo { margin: 0 20px; font-size: 1.35rem; }
.equipe-grid { grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); max-width: none; gap: 20px; }
.equipe-grid--destaque { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.membro-card-new { --cor-membro: #a33aff; container-type: inline-size; min-height: 100%; border-color: color-mix(in srgb, var(--cor-membro) 35%, transparent); transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease; animation: equipe-card-entrance .45s ease both; }
.membro-card-new:nth-child(2) { animation-delay: 60ms; }
.membro-card-new:nth-child(3) { animation-delay: 120ms; }
.membro-card-new:hover { transform: translateY(-3px); border-color: color-mix(in srgb, var(--cor-membro) 72%, transparent); box-shadow: 0 10px 30px color-mix(in srgb, var(--cor-membro) 20%, transparent); }
.card-banner { height: auto; min-height: 110px; max-height: 190px; aspect-ratio: 3 / 1; }
.card-banner.has-gradient-banner { overflow: hidden; }
.card-avatar-wrap { align-items: center; }
.membro-avatar { width: 88px; height: 88px; transform: scale(1); transition: transform .24s ease; transform-origin: 50% 50%; }
.membro-card-new:hover .membro-avatar { transform: scale(1.04); }
.membro-avatar img { display: block; }
.membro-info { flex: 1; align-items: center; padding: 12px 20px 20px; }
.membro-nome { display: flex; align-items: center; justify-content: center; gap: 6px; }
.membro-handle { margin: -4px 0 2px; color: #aaa4b6; font-size: .82rem; }
.membro-cargo { width: fit-content; max-width: 100%; padding: 5px 10px; border: 1px solid color-mix(in srgb, var(--cor-membro) 50%, transparent); border-radius: 999px; background: color-mix(in srgb, var(--cor-membro) 23%, #17151c); color: #fff; font-size: .68rem; letter-spacing: .04em; line-height: 1.3; }
.membro-bio { color: #d4d0db; font-size: .9rem; }
.membro-stats { display: flex; justify-content: center; gap: 22px; margin: 5px 0; padding: 0; list-style: none; }
.membro-stats li { display: grid; gap: 1px; color: #aaa4b6; font-size: .72rem; }
.membro-stats strong { color: #f6f3fa; font-size: .95rem; }
.membro-favorito { display: flex; align-items: center; gap: 7px; align-self: stretch; margin-top: 7px; padding: 9px 11px; border-radius: 9px; background: rgba(255,255,255,.045); color: #c7c1d1; font-size: .8rem; text-align: left; }
.membro-favorito i { color: #c178ff; }
.membro-socials { justify-content: center; margin-top: auto; padding-top: 15px; }
.membro-socials .social-btn { flex: 0 0 38px; width: 38px; min-width: 38px; height: 38px; padding: 0; border-radius: 50%; color: #e6d7f5; }
.membro-socials .social-btn:hover { color: #fff; }
.membro-socials .social-btn i { font-size: .95rem; }
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.equipe-secao[hidden], .membro-card-new[hidden] { display: none !important; }
@keyframes equipe-card-entrance { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 560px) { .equipe-container { padding: 52px 12px 40px; } .equipe-secao-titulo { margin: 0 12px; } }
@media (prefers-reduced-motion: reduce) { .membro-card-new, .membro-avatar, .equipe-filtro { animation: none !important; transition: none !important; } }

/* =========================================
   VARIÁVEIS DE TEMA
   ========================================= */
:root {
    --bg-color: #0f0f0f;
    --card-bg: #1e1e1e;
    --text-color: #ffffff;
    --text-secondary: #ccc;
    --accent-color: #a33aff;
    --nav-bg: rgba(15, 15, 15, 0.95);
}

[data-theme="light"] {
    --bg-color: #f0f2f5;
    --card-bg: #ffffff;
    --text-color: #1a1a1a;
    --text-secondary: #555;
    --accent-color: #7d2ae8;
    --nav-bg: rgba(255, 255, 255, 0.95);
}

/* =========================================
   FILTROS
   ========================================= */
.filtros-container {
    background: rgba(20, 20, 20, 0.8);
    backdrop-filter: blur(10px);
    padding: 24px;
    margin: 20px auto;
    border-radius: 15px;
    border: 1px solid #a33aff;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    max-width: 920px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.filtros-search {
    display: none;
    width: 100%;
    max-width: 520px;
}

.filtros-search .search-field input {
    width: 100%;
    min-width: 0;
}

.category-filters {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-btn {
    background: #1a1a1a;
    color: white;
    border: 2px solid #a33aff;
    padding: 10px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: #a33aff;
    box-shadow: 0 0 15px rgba(163, 58, 255, 0.4);
    transform: translateY(-2px);
}

.filter-btn.active {
    background: #a33aff;
    box-shadow: 0 0 20px rgba(163, 58, 255, 0.6);
}

.letter-filters-section {
    width: 100%;
}

.letter-filters-label {
    display: flex;
    align-items: center;
    font-family: 'Lato', sans-serif;
    justify-content: center;
    gap: 8px;
    margin: 0 0 12px;
    color: #ccc;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.letter-filters-label i {
    color: #a33aff;
}

.letter-filters {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 100%;
}

.letter-filters-quick {
    display: flex;
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
}

.letter-filters-grid {
    display: grid;
    grid-template-columns: repeat(13, minmax(0, 1fr));
    gap: 6px;
    width: 100%;
}

.letter-btn {
    background: #141414;
    color: #fff;
    border: 1px solid #3a3a3a;
    min-height: 38px;
    border-radius: 8px;
    cursor: pointer;
    font-family: inherit;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.letter-btn:hover {
    background: #2a1a3a;
    border-color: #a33aff;
    color: #fff;
    transform: translateY(-1px);
}

.letter-btn.active {
    background: linear-gradient(135deg, #8b2be2, #a33aff);
    border-color: #c77dff;
    color: #fff;
    box-shadow: 0 0 14px rgba(163, 58, 255, 0.45);
}

.letter-btn--all {
    min-width: 88px;
    padding: 0 18px;
}

.letter-btn--symbol {
    min-width: 44px;
    font-size: 15px;
    font-weight: 700;
    border-color: #a33aff;
    color: #d9b3ff;
}

.filtros-container label {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    font-weight: 500;
    cursor: pointer;
    user-select: none;
}

#ocultar18 {
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #a33aff;
    border-radius: 4px;
    background: transparent;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
}

#ocultar18:checked { background: #a33aff; }

#ocultar18:checked::after {
    content: '✔';
    position: absolute;
    color: white;
    font-size: 14px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Transição do card já definida no bloco do catálogo de projetos. */

/* Evita “piscar” enquanto header/footer carregam via fetch */
#header:empty {
    min-height: 75px;
    background: #1a1b43;
}

#footer:empty {
    min-height: 120px;
}

html[data-theme="light"] #header:empty {
    background: #f4f5fa;
}


@media (max-width: 768px) {
    .letter-filters-grid {
        grid-template-columns: repeat(7, minmax(0, 1fr));
    }
}

@media (max-width: 600px) {
    .filtros-container {
        flex-direction: column;
        gap: 15px;
        margin: 10px;
        padding: 16px;
    }

    .letter-btn {
        min-height: 34px;
        font-size: 12px;
    }

    .letter-filters-grid {
        grid-template-columns: repeat(6, minmax(0, 1fr));
        gap: 5px;
    }
}

/* =========================================
   AVISO DE CONTEÚDO SENSÍVEL (+18)
   ========================================= */
.content-gate-overlay,
#age-check,
#blocked-message {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.72);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 999999;
    padding: 20px;
}

body.sensitive-gate-open .home-main,
body.sensitive-gate-open .projects-page,
body.sensitive-gate-open .anime-details-container,
body.sensitive-gate-open .project-page {
    pointer-events: none;
    user-select: none;
}

.age-modal {
    background: #0b0b0b;
    color: white;
    padding: 35px;
    border-radius: 12px;
    text-align: center;
    max-width: 420px;
    width: 90%;
    box-shadow: 0 0 40px rgba(0,0,0,0.7);
    border: 2px solid #a33aff;
}

.sensitive-gate-modal {
    border-color: #e11d48;
    box-shadow: 0 0 48px rgba(225, 29, 72, 0.25);
}

.sensitive-gate-icon {
    font-size: 2.5rem;
    color: #ffb347;
    margin-bottom: 12px;
}

.sensitive-gate-modal h2 {
    color: #fff;
    font-size: 1.35rem;
}

.sensitive-gate-modal p {
    color: #ddd;
    line-height: 1.55;
    margin-bottom: 14px;
}

.sensitive-gate-modal p strong {
    color: #ff8fa3;
}

.sensitive-gate-sub {
    font-size: 0.92rem;
    color: #aaa !important;
    margin-bottom: 22px !important;
}

.age-modal h2 { margin-bottom: 10px; }
.age-modal p { margin-bottom: 25px; color: #ccc; }

.age-yes {
    width: 100%;
    padding: 14px;
    margin-bottom: 10px;
    background: #0c0530;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.2s;
}
.age-yes:hover { background: #1b0f66; }

.age-no {
    width: 100%;
    padding: 14px;
    background: #444;
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.2s;
}
.age-no:hover { background: #666; }

/* =========================================
   BLOG POST
   ========================================= */
.blog-post-container {
    padding-top: 100px;
    padding-bottom: 60px;
    min-height: 100vh;
}

.blog-hero {
    position: relative;
    height: 400px;
    overflow: hidden;
}

.blog-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(6px) brightness(0.4);
}

.blog-hero-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 10%;
}

.blog-hero-overlay h1 {
    font-family: 'Ledeca', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.blog-meta {
    display: flex;
    gap: 20px;
    color: #a33aff;
    font-weight: bold;
}

.blog-content {
    max-width: 900px;
    margin: 40px auto;
    padding: 40px;
    background: #1c1c1c;
    border-radius: 12px;
    border: 1px solid rgba(163,58,255,0.2);
}

.blog-content h2 {
    color: #a33aff;
    margin: 30px 0 15px;
    border-left: 4px solid #a33aff;
    padding-left: 12px;
}

.blog-content p {
    color: #ccc;
    line-height: 1.8;
    margin-bottom: 20px;
}

.blog-content img {
    width: 100%;
    border-radius: 8px;
    margin: 20px 0;
    border: 1px solid rgba(163,58,255,0.3);
}

.blog-content img.blog-img--medium {
    width: 70%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.blog-content img.blog-img--small {
    width: 42%;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.blog-content img.blog-img--float-left {
    width: 38%;
    max-width: 320px;
    float: left;
    margin: 4px 22px 14px 0;
}

.blog-content img.blog-img--float-right {
    width: 38%;
    max-width: 320px;
    float: right;
    margin: 4px 0 14px 22px;
}

.blog-content a {
    color: #6eb5ff;
}

.blog-content a:hover {
    color: #a33aff;
}

.blog-embed {
    margin: 28px 0;
}

.blog-embed__label {
    display: block;
    color: #a33aff;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 8px;
}

.blog-embed__card {
    display: flex;
    gap: 0;
    text-decoration: none;
    border: 1px solid rgba(163, 58, 255, 0.35);
    border-radius: 4px;
    overflow: hidden;
    background: #141414;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.blog-embed__card:hover {
    border-color: #a33aff;
    box-shadow: 0 0 16px rgba(163, 58, 255, 0.2);
}

.blog-embed__thumb {
    width: 120px;
    min-width: 120px;
    background: linear-gradient(135deg, #1e6fff, #0a4fd4);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 12px;
    line-height: 1.3;
}

.blog-embed__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0;
    border: none;
    border-radius: 0;
}

.blog-embed__body {
    flex: 1;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.blog-embed__meta {
    color: #8b8fa8;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.blog-embed__title {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.35;
}

.blog-embed__desc {
    color: #9aa0b8;
    font-size: 0.85rem;
    line-height: 1.45;
}

.blog-specs { list-style: none; margin-top: 15px; }

.blog-specs li {
    padding: 10px;
    border-bottom: 1px solid #333;
    color: #ccc;
}

.blog-specs strong { color: #fff; }
.blog-specs li:last-child { border-bottom: none; }

.blog-downloads {
    max-width: 900px;
    margin: 30px auto;
    padding: 30px;
    background: #181818;
    border-radius: 12px;
    border: 1px solid rgba(163,58,255,0.2);
}

.blog-downloads h2 { color: #a33aff; margin-bottom: 20px; }

.download-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background: #1e1e1e;
    border-radius: 10px;
    margin-bottom: 15px;
    border: 1px solid #333;
    transition: 0.3s;
}

.download-card:hover {
    border-color: #a33aff;
    transform: translateX(8px);
}

.download-card p { color: #888; font-size: 0.9rem; }

.download-btn {
    background: #a33aff;
    padding: 10px 20px;
    border-radius: 6px;
    text-decoration: none;
    color: white;
    font-weight: bold;
    transition: 0.3s;
}

.download-btn:hover {
    background: #7a28cc;
    box-shadow: 0 0 15px rgba(163,58,255,0.4);
}

@media (max-width: 768px) {
    .blog-hero-overlay h1 { font-size: 1.8rem; }
    .blog-meta { flex-wrap: wrap; gap: 10px; }
    .blog-content { margin: 20px; padding: 25px; }
    .blog-downloads { margin: 20px; }
    .download-card { flex-direction: column; align-items: flex-start; gap: 15px; }
    .download-btn { width: 100%; text-align: center; }
}

/* =========================================
   ÁREA DOS PROJETOS
   ========================================= */
.search-feedback {
    margin: 15px 0;
    font-size: 0.9rem;
    color: #ccc;
}

.search-feedback strong { color: #a33aff; }

.no-results {
    margin-top: 10px;
    padding: 15px;
    border: 1px solid rgba(163,58,255,0.3);
    border-radius: 10px;
    background: rgba(163,58,255,0.08);
    text-align: center;
}

.no-results p {
    margin: 5px 0;
    font-size: 0.85rem;
}

/* =========================================
   CARD DE PROJETO NO POST — NOVO DESIGN
   ========================================= */
.blog-highlight {
    position: relative;
    margin: 48px auto;
    max-width: 900px;
    background: #0f111a;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.55);
    overflow: hidden;
}

/* Fundo desfocado com banner hero do anime */
.highlight-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    user-select: none;
    z-index: 0;
}

.highlight-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 30%;
    filter: blur(10px) brightness(0.42) saturate(1.2);
    transform: scale(1.18);
}

.highlight-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 17, 26, 0.88) 0%, rgba(15, 17, 26, 0.65) 50%, rgba(15, 17, 26, 0.86) 100%);
}

.highlight-content {
    position: relative;
    z-index: 1;
    padding: 30px 28px 26px;
}

/* Cabeçalho do Card (Logo à direita no desktop) */
.highlight-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 20px;
}

.highlight-title-group {
    font-family: 'Ledeca', sans-serif;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.highlight-logo-wrap {
    margin-bottom: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-shrink: 0;
}

.highlight-logo {
    max-height: 65px;
    max-width: 250px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.7));
    display: block;
}

/* Título: limpo, sem traço embaixo */
.highlight-title,
.highlight-content h2 {
    font-family: 'Ledeca', sans-serif;
    font-size: 1.55rem;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.75);
    margin: 0;
    line-height: 1.25;
    border: none !important;
    text-decoration: none !important;
    letter-spacing: 0.01em;
}

.highlight-title::after,
.highlight-content h2::after {
    display: none !important;
}

.highlight-status-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

/* Badges de status sólidos estilo Kaoru Hana */
.highlight-tag {
    font-family: 'LedecaLight', sans-serif;
    display: inline-flex;
    align-items: center;
    background: #A33AFF;
    border: none;
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.highlight-tag-conclused {
    display: inline-flex;
    align-items: center;
    background: #059669;
    border: none;
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.highlight-tag-bluray {
    font-family: 'LedecaLight', sans-serif;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: #1d4ed8;
    border: none;
    color: #ffffff;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.highlight-tag-bluray i {
    font-size: 0.85em;
    line-height: 1;
}

/* Corpo: Poster + Informações */
.highlight-body {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.highlight-poster {
    width: 120px;
    min-width: 120px;
    aspect-ratio: 2/3;
    object-fit: cover;
    border-radius: 6px;
    border: 1px solid rgba(255, 255, 255, 0.16);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    flex-shrink: 0;
    display: block;
}

.highlight-info {
    font-family: 'LedecaLight', sans-serif;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.highlight-info p {
    color: #cbd5e1;
    font-family: 'LedecaELight', sans-serif;
    font-size: 0.86rem;
    margin: 0;
    line-height: 1.5;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    padding-bottom: 6px;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.highlight-info p:last-of-type {
    border-bottom: none;
}

.highlight-info p strong {
    color: #ffffff;
    font-weight: 600;
    min-width: 135px;
    display: inline-block;
}

.highlight-info .rating-badge img {
    height: 24px;
    vertical-align: middle;
}

/* Ações / Botões */
.highlight-actions {
    display: flex;
    gap: 12px;
    margin-top: 14px;
    flex-wrap: wrap;
    align-items: center;
}

.highlight-btn,
.highlight-btn--primary {
    font-family: 'LedecaLight', sans-serif;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #A33AFF;
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    text-decoration: none;
    box-shadow: 0 3px 10px rgba(74, 105, 189, 0.3);
    transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.highlight-btn:hover,
.highlight-btn--primary:hover {
    background: #7A2BBF;
    color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 5px 16px rgba(74, 105, 189, 0.45);
}

.highlight-btn--secondary {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #e2e8f0;
    box-shadow: none;
}

.highlight-btn--secondary:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.28);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

@media (max-width: 768px) {
    .blog-highlight {
        margin: 32px 12px;
        border-radius: 8px;
    }

    .highlight-content {
        padding: 24px 18px 20px;
    }

    .highlight-header {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 10px;
    }

    .highlight-logo-wrap {
        order: -1;
        justify-content: center;
        width: 100%;
        margin-bottom: 4px;
    }

    .highlight-logo {
        max-height: 55px;
        max-width: 220px;
        margin: 0 auto;
    }

    .highlight-title-group {
        font-family: 'Ledeca', sans-serif;
        align-items: center;
        text-align: center;
        width: 100%;
    }

    .highlight-title,
    .highlight-content h2 {
        font-family: 'Ledeca', sans-serif;
        font-size: 1.2rem;
        text-align: center;
    }

    .highlight-status-wrap {
        justify-content: center;
        width: 100%;
    }

    .highlight-body {
        gap: 16px;
    }

    .highlight-poster {
        width: 95px;
        min-width: 95px;
    }

    .highlight-info p {
        font-size: 0.8rem;
    }

    .highlight-info p strong {
        min-width: 0;
        display: block;
        margin-bottom: 2px;
    }

    .highlight-actions {
        width: 100%;
        flex-direction: column;
        gap: 10px;
        align-items: stretch;
    }

    .highlight-btn,
    .highlight-btn--primary,
    .highlight-btn--secondary {
        width: 100%;
        white-space: nowrap;
        text-align: center;
        justify-content: center;
        padding: 10px 16px;
        font-size: 0.82rem;
        box-sizing: border-box;
    }
}

@media (max-width: 480px) {
    .blog-highlight {
        margin: 24px 6px;
    }

    .highlight-content {
        padding: 20px 14px 16px;
    }

    .highlight-body {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .highlight-poster {
        width: 120px;
        min-width: 120px;
    }

    .highlight-info {
        font-family: 'LedecaELight', sans-serif;
        width: 100%;
        text-align: center;
    }

    .highlight-info p strong {
        font-family: 'LedecaLight', sans-serif;
        display: block;
        margin-bottom: 2px;
    }

    .highlight-actions {
        flex-direction: column;
        width: 100%;
        gap: 10px;
        align-items: stretch;
    }

    .highlight-btn,
    .highlight-btn--primary,
    .highlight-btn--secondary {
        width: 100%;
        white-space: nowrap;
        text-align: center;
        justify-content: center;
        padding: 10px 16px;
        font-size: 0.82rem;
        box-sizing: border-box;
    }
}

/* =========================================
   PÁGINA SOBRE
   ========================================= */
.valores-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.valor-card {
    background: rgba(255, 255, 255, 0.03);
    padding: 30px 20px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid rgba(163, 58, 255, 0.2);
    transition: 0.3s ease;
}

.valor-card:hover {
    transform: translateY(-5px);
    border-color: #a33aff;
    background: rgba(163, 58, 255, 0.05);
    box-shadow: 0 5px 15px rgba(163, 58, 255, 0.2);
}

.valor-card i {
    font-size: 2.5rem;
    color: #a33aff;
    margin-bottom: 15px;
}

.valor-card h3 {
    color: #fff;
    font-size: 1.2rem;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.valor-card p {
    font-size: 0.9rem;
    color: #ccc;
    line-height: 1.5;
    margin-bottom: 0;
}

@media (max-width: 600px) {
    .valores-grid { grid-template-columns: 1fr; }
}

/* =========================================
   BARRA DE PESQUISA — MOBILE
   ========================================= */
.mobile-search-bar {
    display: none;
    align-items: center;
    gap: 8px;
    width: 100%;
    padding: 0 16px 12px;
    background: transparent;
}

.mobile-search-bar .search-field {
    flex: 1;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(163, 58, 255, 0.3);
    border-radius: 999px;
    padding: 4px 4px 4px 0;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.mobile-search-bar .search-field:focus-within {
    border-color: rgba(163, 58, 255, 0.65);
    background: rgba(163, 58, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(163, 58, 255, 0.12);
}

.mobile-search-bar .search-field-icon {
    padding-left: 14px;
}

.mobile-search-bar input {
    flex: 1;
    width: 100%;
    min-width: 0;
    padding: 10px 8px 10px 0;
    font-size: 0.9rem;
}

.mobile-search-bar .search-submit {
    width: 40px;
    height: 40px;
    min-width: 40px;
    font-size: 0.85rem;
}

@keyframes slideDown {
    from { transform: translateY(-8px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@media (max-width: 768px) {
    .navbar {
        flex-wrap: wrap;
        height: auto;
        min-height: 75px;
        padding: 0;
    }

    .mobile-search-bar {
        display: flex;
        order: 3;
        animation: slideDown 0.35s ease-out;
    }
}

@media (min-width: 769px) {
    .mobile-search-bar.active {
        display: none;
    }
}

@media (max-width: 768px) {
    .actions { display: none; }
    .mobile-header { display: flex; justify-content: space-between; width: 100%; align-items: center; }
}

/* =========================================
   NOVA LISTA DE EPISÓDIOS
   ========================================= */
.episode-list-section {
    padding: 40px 10%;
    background: #0D0D0D;
}

.episode-list-section h2 {
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fff;
    border-left: 4px solid #a33aff;
    padding-left: 14px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.episode-list-section h2 i { color: #a33aff; }

.episode-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.episode-row {
    display: flex;
    align-items: center;
    gap: 18px;
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 12px 18px 12px 12px;
    transition: border-color 0.25s, background 0.25s;
}

.episode-row:hover {
    background: #202020;
    border-color: rgba(163, 58, 255, 0.4);
}

.ep-thumb-wrap {
    position: relative;
    width: 160px;
    min-width: 160px;
    height: 90px;
    border-radius: 7px;
    overflow: hidden;
    flex-shrink: 0;
}

.ep-thumb-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.episode-row:hover .ep-thumb-wrap img { transform: scale(1.06); }

.ep-quality {
    position: absolute;
    top: 6px; left: 6px;
    background: #a33aff;
    color: #fff;
    font-size: 9px;
    font-weight: bold;
    letter-spacing: 0.5px;
    padding: 2px 6px;
    border-radius: 3px;
}

.ep-meta { flex: 1; min-width: 0; }

.ep-label {
    display: block;
    font-size: 0.72rem;
    font-weight: bold;
    color: #a33aff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.ep-title {
    font-size: 0.95rem;
    color: #ddd;
    line-height: 1.4;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ep-download-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 18px;
    background: transparent;
    border: 1px solid rgba(163, 58, 255, 0.5);
    border-radius: 6px;
    color: #a33aff;
    font-size: 0.82rem;
    font-weight: bold;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
    flex-shrink: 0;
}

.ep-download-btn:hover {
    background: #a33aff;
    color: #fff;
    border-color: #a33aff;
    box-shadow: 0 0 14px rgba(163, 58, 255, 0.4);
}

@media (max-width: 600px) {
    .episode-list-section { padding: 30px 5%; }
    .episode-row { flex-wrap: wrap; gap: 12px; }
    .ep-thumb-wrap { width: 100%; min-width: unset; height: 170px; }
    .ep-title { white-space: normal; }
    .ep-download-btn { width: 100%; justify-content: center; }
}

/* =========================================
   PARCEIROS (FOOTER)
   ========================================= */
.footer-partners-title {
    color: #a855f7;
    font-size: 17px;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.footer-partners { margin-top: 10px; }

.footer-partners a {
    display: inline-block;
    padding: 3px;
    background: linear-gradient(180deg,#0b0d22,#070816);
    border-radius: 0px;
    border: 0px solid rgba(170,0,255,0.25);
    transition: 0.25s ease;
    position: relative;
}

.footer-partners a:hover {
    transform: translateY(-2px);
    border-color: #a855f7;
    box-shadow: 0 0 8px rgba(168,85,247,0.5), 0 0 16px rgba(168,85,247,0.25);
}

.footer-partners img {
    display: block;
    image-rendering: pixelated;
}

.home-main { flex: 1; }

/* =========================================
   PÁGINA DE PROJETO (layout inspirado em streaming)
   ========================================= */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.project-page {
    padding-top: 64px;
    background: #0d0d0d;
}

.project-hero {
    position: relative;
    overflow: hidden;
    min-height: 320px;
}

.project-hero-bg-img {
    position: absolute;
    inset: -2%;
    width: 104%;
    height: 104%;
    object-fit: cover;
    object-position: center 30%;
    filter: blur(8px) brightness(0.62) saturate(1.15);
    pointer-events: none;
    user-select: none;
}

.project-hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(13,13,13,0.78) 0%, rgba(13,13,13,0.2) 50%, rgba(13,13,13,0.4) 100%),
                linear-gradient(180deg, rgba(13,13,13,0.05) 0%, rgba(13,13,13,0.65) 100%);
    pointer-events: none;
}

.project-hero-inner {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 36px;
    align-items: center;
    max-width: 1320px;
    margin: 0 auto;
    padding: 36px 5% 32px;
    min-height: 320px;
}

.project-hero-logo {
    flex: 0 0 min(400px, 42%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    min-height: 180px;
}

.project-hero-logo > img {
    width: auto;
    max-width: 100%;
    max-height: 240px;
    object-fit: contain;
    filter: drop-shadow(0 10px 32px rgba(0,0,0,0.65));
}

.project-hero-logo .project-sensitive-flag {
    position: absolute;
    top: 0;
    right: 0;
    width: 30px;
    height: 30px;
    z-index: 2;
}

.project-hero-logo .status-badge {
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.project-hero-info {
    flex: 1;
    min-width: 0;
    font-family: 'Ledeca', sans-serif;
    align-self: center;
}

.project-hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(1.35rem, 3vw, 1.9rem);
    color: #fff;
    margin: 0 0 8px;
    line-height: 1.15;
}

.project-hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    color: #aaa;
    font-size: 0.85rem;
}

.project-hero-info .sensitive-content-warning {
    margin-top: 10px;
    margin-bottom: 0;
    padding: 8px 12px;
    font-size: 0.82rem;
}

.project-hero-stat i {
    color: #a33aff;
    margin-right: 6px;
}

.project-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0 8px;
}

.project-tab {
    border: 1px solid rgba(255,255,255,0.14);
    border-radius: 4px;
    padding: 7px 12px;
    background: rgba(255,255,255,0.08);
    color: #ddd;
    font: 600 0.78rem 'Poppins', sans-serif;
    cursor: pointer;
    transition: background .18s ease, border-color .18s ease, color .18s ease;
}

.project-tab:hover,
.project-tab:focus-visible {
    border-color: #a33aff;
    outline: none;
}

.project-tab.is-active {
    background: #704dd0;
    border-color: #704dd0;
    color: #fff;
}

.project-tab i {
    margin-right: 5px;
}

.project-tab-panels {
    height: 190px;
    max-height: 190px;
}

.project-tab-panel {
    box-sizing: border-box;
    height: 100%;
    overflow-y: auto;
    overscroll-behavior: contain;
    padding: 2px 10px 2px 0;
    scrollbar-width: thin;
    scrollbar-color: #a33aff transparent;
    color: #e0e0e0;
    font-size: 0.82rem;
    line-height: 1.55;
    text-align: left;
}

.project-tab-panel[hidden] {
    display: none;
}

.project-tab-panel::-webkit-scrollbar {
    width: 6px;
}

.project-tab-panel::-webkit-scrollbar-thumb {
    border-radius: 6px;
    background: #a33aff;
}

.project-tab-panel p {
    margin: 0;
}

.project-tab-panel .project-meta-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px 20px;
}

.project-tab-panel .project-meta-grid dd .fa-star {
    color: #a33aff;
}

.project-tab-empty {
    color: #aaa;
}

.project-tab-panel .project-staff-highlight {
    padding: 0;
}

.project-tab-panel .project-staff-title {
    display: none;
}

.project-tab-panel .project-staff-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px 20px;
}

@media (max-width: 900px) {
    .project-tabs {
        justify-content: center;
    }

    .project-tab-panels {
        height: 180px;
        max-height: 180px;
    }

    .project-tab-panel .project-meta-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 480px) {
    .project-tab-panels {
        height: 160px;
        max-height: 160px;
    }

    .project-tab-panel .project-meta-grid,
    .project-tab-panel .project-staff-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

.project-details {
    background: #0d0d0d;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.project-details-inner {
    display: grid;
    gap: 20px;
    align-items: start;
    max-width: 1280px;
    margin: 0 auto;
    padding: 14px 5% 12px;
}

.project-details-inner--with-staff {
    grid-template-columns: 1fr minmax(220px, 300px);
}

.project-meta-col--full {
    grid-column: 1 / -1;
}

.project-meta-col--full .project-meta-grid {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
    .project-meta-col--full .project-meta-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.project-meta-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px 20px;
    margin: 0;
}

.project-meta-grid .meta-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.project-meta-grid dt {
    color: #888;
    font-weight: 600;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    margin: 0;
}

.project-meta-grid dd {
    color: #e0e0e0;
    font-size: 0.82rem;
    margin: 0;
    line-height: 1.35;
}

.meta-item--rating dd {
    display: flex;
    align-items: center;
}

.meta-item--rating dd img {
    height: 26px;
}

.project-staff-highlight {
    padding: 0;
}

.project-staff-title {
    margin: 0 0 10px;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: #888;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
}

.project-staff-title i {
    font-size: 0.7rem;
    color: #888;
}

.project-staff-grid {
    grid-template-columns: 1fr;
    gap: 10px 0;
}

.project-staff-grid .meta-item--staff dt {
    text-transform: none;
    color: #fff;
    font-weight: 700;
    font-size: 0.82rem;
    letter-spacing: 0;
}

.project-staff-grid .meta-item--staff dd {
    color: #888;
    font-size: 0.78rem;
    line-height: 1.4;
}

.project-section-title {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #fff;
    margin: 0 0 14px;
    font-weight: 700;
}

.project-episodes-section,
.project-music-section {
    max-width: 1320px;
    margin: 0 auto;
    padding: 12px 5% 40px;
}

.project-episodes-section {
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* Menu de temporadas (estilo streaming) */
.season-picker {
    position: relative;
    margin-bottom: 22px;
    max-width: 320px;
}

.season-picker__trigger {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 1.35rem;
    font-weight: 700;
    cursor: pointer;
    padding: 4px 0;
    line-height: 1.2;
    transition: color 0.25s ease;
}

.season-picker__trigger:hover {
    color: #a33aff;
}

.season-picker__trigger i {
    font-size: 0.85rem;
    transition: transform 0.25s ease, color 0.25s ease;
}

.season-picker.is-open .season-picker__trigger,
.season-picker__trigger[aria-expanded="true"] {
    color: #a33aff;
}

.season-picker.is-open .season-picker__trigger i {
    transform: rotate(180deg);
}

.season-picker__menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    min-width: min(100%, 320px);
    width: max-content;
    max-width: min(92vw, 360px);
    margin: 0;
    padding: 6px 0;
    list-style: none;
    background: #23252b;
    border-radius: 4px;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.45);
    z-index: 20;
}

.season-picker__option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    width: 100%;
    padding: 12px 16px;
    border: none;
    background: transparent;
    color: #9aa0a6;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}

.season-picker__option:hover {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
}

.season-picker__option.is-active {
    background: rgba(163, 58, 255, 0.15);
    color: #a33aff;
}

.season-picker__option-count {
    color: inherit;
    opacity: 0.85;
    font-size: 0.88rem;
    white-space: nowrap;
}

.season-episodes-panels {
    width: 100%;
}

.season-episodes-panel[hidden] {
    display: none !important;
}

.episodes-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.ep-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #1a1a1a;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 12px 14px 10px;
}

.ep-card-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.ep-card-title {
    font-size: 1.05rem;
    color: #a33aff;
    font-weight: 700;
    margin: 0;
    line-height: 1.35;
    min-width: 0;
}

.ep-card-badges {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-shrink: 0;
}

.ep-card-quality,
.ep-card-version {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.2px;
    padding: 4px 8px;
    border-radius: 4px;
    line-height: 1.2;
    background: #a33aff;
    color: #fff;
}

.ep-card-quality {
    background: #a33aff;
    color: #fff;
}

.ep-card-version {
    background: #a33aff;
    color: #fff;
    min-width: 1.7rem;
}

.ep-card-sensitive {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(190, 24, 60, 0.95);
    color: #fff;
    border-radius: 50%;
    font-size: 0.72rem;
    font-weight: 800;
    border: 2px solid rgba(255, 120, 140, 0.55);
}

.ep-card-sensitive i {
    font-size: 0.68rem;
    line-height: 1;
}

.ep-card-main {
    display: flex;
    align-items: stretch;
    gap: 16px;
    min-width: 0;
}

.ep-card-thumb {
    width: 230px;
    min-width: 160px;
    max-width: 48%;
    aspect-ratio: 16 / 9;
    border-radius: 4px;
    overflow: hidden;
    background: #111;
    border: none;
    flex-shrink: 0;
}

.ep-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ep-card-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
    min-width: 0;
    padding: 2px 0 0;
}

.ep-card-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    margin: 0;
    min-width: 0;
}

.ep-card-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: baseline;
    line-height: 1.45;
}

.ep-card-meta-row dt {
    margin: 0;
    color: #c8c8c8;
    font-size: 0.9rem;
    font-weight: 700;
}

.ep-card-meta-row dt::after {
    content: ':';
}

.ep-card-meta-value {
    margin: 0;
    color: #c8c8c8;
    font-size: 0.9rem;
    font-weight: 400;
    word-break: break-word;
}

.ep-card-meta-value--empty {
    color: #666;
}

.ep-card-download {
    align-self: flex-end;
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    line-height: 1.2;
    transition: color 0.2s ease, text-decoration 0.2s ease;
}

.ep-card-download:hover {
    color: #a33aff;
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 640px) {
    .episodes-grid {
        grid-template-columns: 1fr;
    }

    .ep-card-header {
        flex-wrap: wrap;
    }

    .ep-card-main {
        flex-direction: column;
    }

    .ep-card-thumb {
        width: 100%;
        min-width: 0;
        max-width: 100%;
    }

    .ep-card-info {
        gap: 12px;
    }

    .ep-card-download {
        align-self: flex-end;
    }
}

.music-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 20px 16px;
}

.music-card {
    display: flex;
    flex-direction: column;
    gap: 10px;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s;
}

.music-card:hover {
    transform: translateY(-3px);
}

.music-card-cover {
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    background: #1a1a1a;
    box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}

.music-card-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.music-card-title {
    font-size: 0.85rem;
    color: #ddd;
    font-weight: 500;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.music-card:hover .music-card-title {
    color: #a33aff;
}

.no-episodes-msg {
    color: #888;
    font-size: 0.95rem;
    padding: 20px 0;
}

body.sensitive-gate-open .project-page {
    filter: blur(8px);
    pointer-events: none;
    user-select: none;
}
