/* =================================================
   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, body {
    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;
}

.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;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    height: 100%;
}

.menu {
    display: flex;
    align-items: stretch;
}

.menu a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
    font-size: 15px;
    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 picture {
    display: flex;
    align-items: center;
}

.logo img {
    width: auto;
    height: 55px;
    object-fit: contain;
    transition: all 0.4s ease;
}

.logo img:hover {
    filter: drop-shadow(0 0 15px #a33aff);
    transform: scale(1.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 {
    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: 15px 40px;
    border-radius: 50px;
    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;
}

.navbar.scrolled .menu a, .navbar.scrolled .logo img {
    height: 60px;
}

.content-section {
    padding: 40px 10%;
    background-color: #121212;
}

.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: #121212;
    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: #121212;
    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-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 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #4a69bd;
    font-weight: bold;
    font-size: 0.9rem;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.rss-button { margin-left: auto; color: #555; }

.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 {
    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-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(74, 105, 189, 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: #4a69bd;
    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: #4a69bd;
    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 .rss-button { 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(4, 1fr);
    gap: 30px;
    padding: 20px;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    justify-content: stretch;
}

.project-item {
    text-align: center;
    transition: 0.3s;
}

.project-poster {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    height: 300px;
    margin-bottom: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
}

.project-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.project-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 5px 10px;
    font-size: 0.7rem;
    font-weight: bold;
    border-radius: 5px;
    z-index: 10;
}

.project-badge.andamento {
    background: rgba(255, 159, 67, 0.92);
    color: #000;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-badge.concluido {
    background: rgba(0, 248, 95, 0.18);
    border: 1px solid rgba(0, 248, 95, 0.5);
    color: #00f85f;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.project-badge.finalizado { background: #28c76f; color: #fff; }

.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;
}

.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; }
.project-item:hover .project-poster img { transform: scale(1.1); }

.btn-ver-mais {
    background: #fff;
    color: #a33aff;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
}

.project-item h3 {
    font-size: 1rem;
    color: #fff;
    margin-bottom: 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: #121212;
}

.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: #121212;
    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 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;
}

/* ── Modal de candidatura (Faça Parte) ──────── */

body.cf-modal-open {
    overflow: hidden;
}

.cf-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s, visibility 0.25s;
}

.cf-modal--open {
    opacity: 1;
    visibility: visible;
}

.cf-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(4px);
}

.cf-modal-dialog {
    position: relative;
    width: 100%;
    max-width: 440px;
    background: linear-gradient(160deg, #1e1e1e 0%, #161616 100%);
    border: 1px solid rgba(163, 58, 255, 0.35);
    border-radius: 18px;
    padding: 32px 28px 28px;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.55), 0 0 0 1px rgba(163, 58, 255, 0.08);
    transform: translateY(16px) scale(0.97);
    transition: transform 0.25s;
}

.cf-modal--open .cf-modal-dialog {
    transform: translateY(0) scale(1);
}

.cf-modal-content {
    text-align: center;
}

.cf-modal-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 1.75rem;
}

.cf-modal-icon--info {
    color: #a33aff;
    background: rgba(163, 58, 255, 0.15);
    border: 1px solid rgba(163, 58, 255, 0.3);
}

.cf-modal-icon--success {
    color: #4ade80;
    background: rgba(74, 222, 128, 0.12);
    border: 1px solid rgba(74, 222, 128, 0.3);
}

.cf-modal-icon--error {
    color: #f87171;
    background: rgba(248, 113, 113, 0.12);
    border: 1px solid rgba(248, 113, 113, 0.3);
}

.cf-modal-content h2 {
    font-size: 1.35rem;
    color: #fff;
    margin-bottom: 14px;
}

.cf-modal-text {
    color: #ccc;
    font-size: 0.95rem;
    line-height: 1.65;
    margin-bottom: 12px;
}

.cf-modal-text--muted {
    color: #888;
    font-size: 0.88rem;
}

.cf-modal-spinner {
    width: 48px;
    height: 48px;
    margin: 0 auto 20px;
    border: 3px solid rgba(163, 58, 255, 0.2);
    border-top-color: #a33aff;
    border-radius: 50%;
    animation: cf-modal-spin 0.8s linear infinite;
}

@keyframes cf-modal-spin {
    to { transform: rotate(360deg); }
}

.cf-modal-actions {
    display: flex;
    gap: 12px;
    margin-top: 24px;
}

.cf-modal-actions--stack {
    flex-direction: column;
}

.cf-modal-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 18px;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    text-decoration: none;
    transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
}

.cf-modal-btn--primary {
    background: linear-gradient(135deg, #a33aff, #7c2fc9);
    color: #fff;
    box-shadow: 0 4px 18px rgba(163, 58, 255, 0.35);
}

.cf-modal-btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(163, 58, 255, 0.45);
}

.cf-modal-btn--ghost {
    background: rgba(255, 255, 255, 0.05);
    color: #aaa;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cf-modal-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #fff;
}

.cf-modal-btn--discord {
    background: #5865f2;
    color: #fff;
    box-shadow: 0 4px 18px rgba(88, 101, 242, 0.35);
}

.cf-modal-btn--discord:hover {
    background: #4752c4;
    transform: translateY(-2px);
}

.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: 600px;
    background: #1e1e1e;
    padding: 40px;
    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: 25px;
    text-align: center;
    font-size: 1.5rem;
}

/* =========================================
   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;
    }
}

/* =========================================
   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;
    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%);
}

.project-item {
    transition: transform 0.4s ease, opacity 0.4s ease;
}

@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;
    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-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-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: #111;
    border: 1px solid rgba(163, 58, 255, 0.18);
    border-radius: 4px;
    display: flex;
    overflow: hidden;
}

/* Faixa lateral decorativa */
.blog-highlight::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #a33aff 0%, #5e17eb 100%);
}

/* Label "PROJETO" flutuante no topo */
.blog-highlight::after {
    content: 'PROJETO';
    position: absolute;
    top: 0; left: 16px;
    background: #a33aff;
    color: #fff;
    font-size: 0.6rem;
    font-weight: 900;
    letter-spacing: 3px;
    padding: 3px 10px;
    border-radius: 0 0 5px 5px;
    font-family: 'Trebuchet MS', sans-serif;
}

/* Fundo oculto — mantido para compatibilidade mas sem efeito visual */
.highlight-bg { display: none; }

.highlight-content {
    position: relative;
    padding: 36px 28px 28px;
    flex: 1;
}

.highlight-content h2 {
    font-size: 1.15rem;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 8px;
    line-height: 1.3;
}

.highlight-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: 1px solid #4a69bd;
    color: #7da3f5;
    padding: 3px 10px;
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.highlight-tag::before {
    content: '';
    width: 6px; height: 6px;
    background: #4a69bd;
    border-radius: 50%;
    animation: pulse-blue 1.8s ease-in-out infinite;
}

@keyframes pulse-blue {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.7); }
}

.highlight-tag-conclused {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: 1px solid rgba(0, 248, 95, 0.4);
    color: #00f85f;
    padding: 3px 10px;
    border-radius: 3px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.highlight-tag-conclused::before {
    content: '✓';
    font-size: 0.65rem;
    font-weight: 900;
}

.highlight-body {
    display: flex;
    gap: 22px;
    align-items: flex-start;
}

.highlight-poster {
    width: 110px;
    min-width: 110px;
    aspect-ratio: 2/3;
    object-fit: cover;
    border-radius: 3px;
    border: 1px solid rgba(163, 58, 255, 0.25);
    flex-shrink: 0;
    display: block;
}

.highlight-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.highlight-info p {
    color: #aaa;
    font-size: 0.82rem;
    margin: 0;
    line-height: 1.5;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    padding-bottom: 6px;
}

.highlight-info p:last-of-type {
    border-bottom: none;
}

.highlight-info p strong {
    color: #e0e0e0;
    font-weight: 600;
    min-width: 130px;
    display: inline-block;
}

.highlight-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 14px;
    align-self: flex-start;
    background: transparent;
    border: 1px solid rgba(163, 58, 255, 0.6);
    color: #c67fff;
    padding: 9px 20px;
    border-radius: 3px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: none;
    transition: background 0.2s, color 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.highlight-btn::after {
    content: '→';
    transition: transform 0.2s;
}

.highlight-btn:hover {
    background: #a33aff;
    color: #fff;
    border-color: #a33aff;
    box-shadow: 0 0 18px rgba(163, 58, 255, 0.35);
}

.highlight-btn:hover::after {
    transform: translateX(4px);
}

@media (max-width: 768px) {
    .blog-highlight {
        margin: 32px 12px;
        border-radius: 6px;
    }

    .highlight-content {
        padding: 32px 16px 22px;
    }

    .highlight-content h2 {
        font-size: 0.95rem;
        letter-spacing: 1px;
    }

    .highlight-body {
        flex-direction: row;
        align-items: flex-start;
        gap: 14px;
    }

    .highlight-poster {
        width: 90px;
        min-width: 90px;
    }

    .highlight-info p {
        font-size: 0.78rem;
    }

    .highlight-info p strong {
        min-width: 0;
        display: block;
        margin-bottom: 1px;
    }

    .highlight-btn {
        width: 100%;
        justify-content: center;
        margin-top: 18px;
    }
}

@media (max-width: 480px) {
    .blog-highlight {
        margin: 24px 8px;
    }

    .highlight-content {
        padding: 28px 14px 18px;
    }

    .highlight-body {
        flex-direction: column;
        align-items: center;
    }

    .highlight-poster {
        width: 120px;
        min-width: 120px;
    }

    .highlight-info {
        width: 100%;
    }

    .highlight-info p strong {
        display: inline;
        min-width: 0;
    }
}

/* =========================================
   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: #121212;
}

.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;
}

.project-hero-synopsis {
    color: #b8b8b8;
    line-height: 1.55;
    font-size: 0.86rem;
    margin: 0 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-hero-title {
    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-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 {
    background: linear-gradient(135deg, rgba(163, 58, 255, 0.14), rgba(103, 61, 230, 0.08));
    border: 1px solid rgba(163, 58, 255, 0.45);
    border-radius: 10px;
    padding: 12px 14px;
    box-shadow: 0 0 20px rgba(163, 58, 255, 0.12);
}

.project-staff-title {
    margin: 0 0 10px;
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: #a33aff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.project-staff-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.project-staff-member {
    padding: 8px 10px;
    background: rgba(0, 0, 0, 0.25);
    border-radius: 6px;
    border-left: 3px solid #a33aff;
}

.project-staff-name {
    display: block;
    color: #fff;
    font-weight: 600;
    font-size: 0.88rem;
    margin-bottom: 4px;
}

.project-staff-roles {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.project-staff-roles .staff-role-tag {
    font-size: 0.68rem;
    padding: 2px 7px;
    background: rgba(163, 58, 255, 0.2);
    border: 1px solid rgba(163, 58, 255, 0.35);
    border-radius: 4px;
    color: #d4b3ff;
}

.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);
}

.episodes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px 20px;
    align-items: stretch;
}

@media (min-width: 1100px) {
    .episodes-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1600px) {
    .episodes-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.ep-card {
    display: flex;
    flex-direction: column;
    gap: 14px;
    height: 100%;
}

.ep-card-thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    border-radius: 10px;
    overflow: hidden;
    background: #1a1a1a;
}

.ep-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.ep-card:hover .ep-card-thumb img {
    transform: scale(1.04);
}

.ep-card-quality {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    background: #a33aff;
    color: #fff;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    padding: 4px 8px;
    border-radius: 4px;
    line-height: 1.2;
    text-transform: uppercase;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

.ep-card-sensitive {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 2;
    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);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
    pointer-events: none;
}

.ep-card-sensitive i {
    font-size: 0.68rem;
    line-height: 1;
}

.ep-card-duration {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0,0,0,0.82);
    color: #fff;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 4px 9px;
    border-radius: 4px;
    z-index: 2;
}

.ep-card-body {
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 0;
    padding: 0 3px;
    flex: 1;
}

.ep-card-series {
    font-size: 0.72rem;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 0.35px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ep-card-title {
    font-size: 1rem;
    color: #fff;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    min-height: calc(1em * 1.4 * 2);
}

@media (min-width: 1100px) {
    .ep-card {
        gap: 16px;
    }

    .ep-card-thumb {
        border-radius: 12px;
    }

    .ep-card-quality {
        font-size: 0.78rem;
        padding: 5px 10px;
    }

    .ep-card-duration {
        font-size: 0.9rem;
        padding: 5px 10px;
    }

    .ep-card-title {
        font-size: 1.08rem;
        min-height: calc(1em * 1.4 * 2);
    }

    .ep-card-series {
        font-size: 0.76rem;
    }

    .ep-card-crc {
        font-size: 0.88rem;
    }

    .ep-card-download {
        padding: 11px 18px;
        font-size: 0.9rem;
    }
}

.ep-card-crc {
    font-size: 0.84rem;
    color: #999;
}

.ep-card-crc--empty {
    color: #555;
}

.ep-card-download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: auto;
    padding: 10px 16px;
    background: transparent;
    border: 1px solid rgba(163, 58, 255, 0.45);
    border-radius: 6px;
    color: #a33aff;
    font-size: 0.86rem;
    font-weight: 600;
    text-decoration: none;
    width: fit-content;
    transition: background 0.2s, color 0.2s;
}

.ep-card-download:hover {
    background: #a33aff;
    color: #fff;
}

.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;
}
