/* Reset Stylesheet */
a,abbr,acronym,address,applet,b,big,blockquote,body,caption,center,cite,code,dd,del,dfn,div,dl,dt,em,fieldset,font,form,h1,h2,h3,h4,h5,h6,html,i,iframe,img,ins,kbd,label,legend,li,object,p,pre,q,s,samp,small,span,strike,strong,sub,sup,table,tbody,td,tfoot,th,thead,tr,tt,u,ul,var{
    padding:0;
    border:0;
    outline:0;
    vertical-align:baseline;
    background:0 0;
    text-decoration:none
}

/* Global Styles */
:root {
    --main-color: #a33fb5;
    --main-font: 'Kdam Thmor','Ruda',sans-serif;
    --sub-font: Hanuman,'Ruda',sans-serif;

     --bg:#0b0b0b;
    --card-bg:#141414;
    --accent:#e50914;
    --text:#e6e6e6;
    --muted:#b3b3b3;
}

body {
    background: linear-gradient(180deg,#0f1720,#111827);
    color: #ffffff;
    font-family: var(--sub-font);
    font-size: 14px;
    font-weight: 400;
    word-wrap: break-word;
    margin: 0;
    padding: 0;
}

/* Layout */
#outer-wrapper {
    width: 100%;
    max-width: calc(1200px + 40px);
    margin: 0 auto;
    background-color: #2f2f2f;
    border-top: 2px solid var(--main-color);
    box-shadow: 0 0 5px #111010;
}

.row {
    width: 1200px;
    margin: 0 auto;
}

.container {
    position: relative;
    margin: 0 auto;
}

.clearfix {
    clear: both;
}

/* Header */
#header-wrap {
    position: relative;
    width: 100%;
    height: 70px; /* alinhado ao template original */
    background-color: #171c24;
    z-index: 1010;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}

.header-logo {
    float: left;
    margin: 0 20px 0 0;
}

.header-image-wrapper {
    display: block;
}

.header-image-wrapper img {
    max-width: 250px;
    max-height: 52px;
    margin: 9px 0;
}

/* Main Menu */
.header-menu {
    float: left;
}

#main-menu {
    position: static;
    width: 100%;
    height: 70px;
    z-index: 15;
}

#main-menu-nav > li {
    float: left;
    position: relative;
}

#main-menu-nav > li > a {
    position: relative;
    font-family: var(--main-font);
    color: #ffffff;
    font-size: 17px;
    font-weight: 700;
    line-height: 70px;
    display: inline-block;
    text-decoration: none;
    margin: 0;
    padding: 0 15px;
    transition: all 0.3s ease;
}

/* mudar cor do ícone quando hover no item */
#main-menu-nav > li:hover .menu-iconx {
    color: var(--main-color);
}

/* Garantir cor inicial branca para todos os estados de link */
#main-menu-nav > li > a:link,
#main-menu-nav > li > a:visited {
    color: #ffffff;
}

#main-menu-nav > li:hover > a {
    color: var(--main-color);
}

.menu-iconx {
    font-size: 14px;
    width: 30px;
    height: 30px;

/* Forçar texto e ícone do menu superiores para branco por padrão (maior especificidade) */
.header-menu #main-menu-nav > li > a,
.header-menu #main-menu-nav > li > a:link,
.header-menu #main-menu-nav > li > a:visited {
    color: #ffffff;
}

.header-menu .menu-iconx {
    color: #ffffff; /* garante que os ícones iniciem brancos */
    transition: color 0.25s ease;
}
    line-height: 30px;
    text-align: center;
    background: #c800ff; /* cor fixa conforme XML */
    color: #ffffff;
    display: inline-block;
    margin: 0 5px 0 0;
    border-radius: 100%;
}

/* Search */
#nav-search {
    display: none;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 70px;
    z-index: 99;
    background-color: #171c24;
    box-sizing: border-box;
    padding: 0;
}

.search-form {
    position: relative;
    width: 100%;
    height: 70px;
    background-color: rgba(0,0,0,0);
    line-height: 70px;
    overflow: hidden;
    padding: 0;
}

.search-input {
    width: 100%;
    height: 70px;
    font-family: inherit;
    color: #ffffff;
    margin: 0;
    padding: 0 58px 0 0;
    background-color: rgba(0,0,0,0);
    font-size: 13px;
    font-weight: 400;
    box-sizing: border-box;
    border: 0;
}

.search-input:focus {
    color: #ffffff;
    outline: none;
}

/* Search icons (lupa / fechar) */
.show-search, .hide-search {
    position: absolute;
    top: 0;
    right: 0;
    display: block;
    width: 58px;
    height: 70px;
    line-height: 70px;
    z-index: 20;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.7s;
}

.show-search:hover, .hide-search:hover {
    color: var(--main-color);
}

.show-search i, .hide-search i {
    font-size: 18px;
    color: inherit;
}

/* hide-search (fechar) está dentro do form, ajustar posição relativa ao form */
#nav-search .hide-search {
    position: absolute;
    top: 0;
    right: 0;
    width: 58px;
    height: 70px;
    line-height: 70px;
    text-align: center;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 58px;
    height: 70px;
    line-height: 70px;
    color: #ffffff;
    font-size: 17px;
    text-align: center;
    cursor: pointer;
}
/* Content Layout */
#content-wrapper {
    margin: 20px auto 0;
}

/* Title Wrap */
.title-wrap {
    font-family: var(--main-font);
    position: relative;
    width: 100%;
    height: 40px;
    background-color: #111111;
    display: block;
    margin: 0 0 15px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}

.title-wrap:before {
    content: "\f03d";
    font-family: "Font Awesome 5 Free";
    float: left;
    display: inline-block;
    text-align: center;
    margin: 0;
    font-weight: 700;
    width: 40px;
    height: 40px;
    line-height: 40px;
    background: rgba(0,0,0,0.5);
    box-sizing: border-box;
}

.title-wrap > h3 {
    position: relative;
    float: left;
    display: block;
    height: 40px;
    #nav-search .search-input::placeholder{color:#ffffff;opacity:.6}
    background: var(--main-color);
    font-size: 15px;
    color: #fff;
    font-weight: 700;
    text-transform: capitalize;
    line-height: 40px;
    padding: 0 30px 0 10px;
    margin: 0;
}

.title-wrap > h3:before {
    content: '';
    position: absolute;
    border-bottom: 27px solid transparent;
    border-right: 30px solid #111;
    border-top: 0 solid transparent;
    border-left: 0;
    right: 0;
    top: 0;
}

.title-wrap > h3:after {
    content: '';
    position: absolute;
    border-bottom: 0 solid transparent;
    border-right: 30px solid #111;
    border-top: 27px solid transparent;
    right: 0;
    bottom: 0;
}

/* Grid Posts */
.grid-posts {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -10px;
}

.index-post {
    float: left;
    width: calc(100% / 4);
    overflow: visible;
    box-sizing: border-box;
    padding: 0 10px;
    margin: 0 0 20px;
}

.index-post-inside-wrap {
    float: left;
    width: 100%;
    height: auto;
    box-sizing: border-box;
    box-shadow: 0px 2px 4px -1px rgba(0,0,0,0.2), 0px 4px 5px 0px rgba(0,0,0,0.14), 0px 1px 10px 0px rgba(0,0,0,0.12);
}

.post-image-wrap {
    float: left;
    width: 100%;
    height: auto;
    overflow: hidden;
    margin: 0;
}

.post-image-wrap .post-image-link {
    width: 100%;
    height: 250px; /* Aumentado para melhor visualização */
    position: relative;
    display: block;
    z-index: 1;
    overflow: hidden;
    background-color: #1f1f1f; /* Cor de fundo para imagens em carregamento */
}

.post-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.post-image-link:hover .post-thumb {
    transform: scale(1.1);
}

.post-info {
    float: left;
    width: 100%;
    background-color: #2f2f2f;
    overflow: hidden;
    padding: 15px;
    box-sizing: border-box;
}

.post-title {
    font-size: 14px;
    font-weight: 700;
    line-height: 1.4em;
    margin: 0;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.post-title a {
    color: #ffffff;
    transition: color 0.3s;
}

.post-title a:hover {
    color: var(--main-color);
}

#main-wrapper {
    float: left;
    overflow: hidden;
    width: 67%;
    box-sizing: border-box;
    word-wrap: break-word;
    padding: 0 15px;
    margin: 0;
}

#sidebar-wrapper {
    float: right;
    overflow: hidden;
    width: 33%;
    box-sizing: border-box;
    word-wrap: break-word;
    padding: 0 15px;
}

/* Footer */
#footer-wrapper {
    display: block;
    width: 100%;
    overflow: hidden;
    background-color: #1f2024;
    padding: 0;
}

#footer-wrapper .container {
    overflow: hidden;
    margin: 0 auto;
    padding: 25px 0;
}

.copyright-area {
    float: left;
    font-size: 13px;
    display: block;
    height: 34px;
    color: #ffffff;
    font-weight: 700;
    line-height: 34px;
}

#menu-footer {
    float: right;
    position: relative;
    display: block;
}

#menu-footer ul li {
    float: left;
    display: inline-block;
    height: 34px;
    padding: 0;
    margin: 0;
}

#menu-footer ul li a {
    font-size: 13px;
    font-weight: 700;
    display: block;
    color: #ffffff;
    line-height: 34px;
    padding: 0 10px;
    margin: 0 0 0 5px;
    transition: all 0.7s;
}

#menu-footer ul li a:hover {
    color: var(--main-color);
}

/* Back to Top */
.back-top {
    display: none;
    z-index: 1010;
    width: 34px;
    height: 34px;
    position: fixed;
    bottom: 25px;
    right: 25px;
    cursor: pointer;
    overflow: hidden;
    font-size: 13px;
    color: #fff;
    text-align: center;
    line-height: 34px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    border-radius: 3px;
    background-color: var(--main-color);
    transition: all 0.7s;
}

.back-top:hover {
    background-color: #444444;
}

/* Responsive */
@media screen and (max-width: 1100px) {
    #outer-wrapper {
        max-width: 100%;
    }
    
    .row {
        width: 100%;
    }
    
    #header-wrap {
        padding: 0 20px;
        box-sizing: border-box;
    }
    
    #content-wrapper {
        padding: 0 10px;
        box-sizing: border-box;
    }
}

@media screen and (max-width: 980px) {
    .header-menu {
        display: none;
    }

    .mobile-menu-toggle {
        display: block;
        left: auto;
        right: 12px;
    }

    #main-wrapper,
    #sidebar-wrapper {
        width: 100%;
        padding: 0;
    }

    /* Mobile menu open state: remove floats and present vertical menu */
    body.nav-active .header-menu {
        display: block;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        width: 100%;
        background: #0f1720;
        padding: 12px 16px;
        box-shadow: 0 2px 6px rgba(0,0,0,0.25);
        z-index: 1050;
    }

    .header-menu { float: none; }
    #main-menu { height: auto; }
    #main-menu-nav { flex-direction: column; gap: 0; display: flex; }
    #main-menu-nav > li { float: none; width: 100%; }
    #main-menu-nav > li > a { padding: 12px 16px; line-height: normal; display: block; color: #ddd; border-bottom: 1px solid rgba(255,255,255,0.03); }
    #main-menu-nav > li .sub-menu { position: relative; top: 0; left: 0; box-shadow: none; border-radius: 0; display: none; }
    #main-menu-nav > li.open > .sub-menu { display: block; }
}

@media screen and (max-width: 780px) {
    #menu-footer,
    #footer-wrapper .copyright-area {
        width: 100%;
        height: auto;
        line-height: 1.7em;
        text-align: center;
    }
    
    #menu-footer {
        margin: 10px 0 0;
    }
    
    #menu-footer ul li {
        float: none;
        height: auto;
    }
}
/* ==================================================
   Minimal stylesheet for the new simple structure
   ================================================== */

/* Reset básico */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial; background: #111; color: #fff; line-height: 1.4; }
.container { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 16px; }

/* Header */
.site-header { background: #0f1720; border-bottom: 3px solid #c800ff; }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo a { color: #fff; font-weight: 700; text-decoration: none; font-size: 20px; display: inline-block; }
.logo .site-logo { display: block; max-height: 52px; height: auto; width: auto; }
.main-nav ul { list-style: none; display: flex; gap: 16px; }
.main-nav a { color: #ddd; text-decoration: none; padding: 8px 6px; display: inline-block; }
.main-nav a:hover { color: #fff; }

/* Header / Menu adjustments for #header-wrap and #main-menu-nav */
.header-inner { display: flex; align-items: center; justify-content: space-between; }
.header-logo { margin-right: 16px; }
.header-menu { display: flex; align-items: center; gap: 12px; }
#main-menu-nav { list-style: none; display: flex; gap: 8px; margin: 0; padding: 0; }
#main-menu-nav > li { position: relative; }
#main-menu-nav > li > a { color: #ddd; text-decoration: none; display: block; padding: 18px 12px; font-weight: 700; }
#main-menu-nav > li > a:hover { color: var(--main-color); }
.mobile-menu-toggle { display: none; cursor: pointer; color: #fff; }

/* When mobile menu is active (body.nav-active) show the menu */
body.nav-active .header-menu { display: block; }

/* Mobile behaviour for header/menu */
@media screen and (max-width: 980px) {
    .mobile-menu-toggle { display: block; }
    .header-inner { align-items: center; }
    .header-menu { display: none; width: 100%; background: #0f1720; padding: 12px 16px; box-shadow: 0 2px 6px rgba(0,0,0,0.25); }
    #main-menu-nav { flex-direction: column; gap: 0; }
    #main-menu-nav > li > a { padding: 10px 8px; border-bottom: 1px solid rgba(255,255,255,0.03); }
}

/* Center menu and add underline hover effect to match template style */
#main-menu-nav { justify-content: center; }
#main-menu-nav > li > a { position: relative; }
#main-menu-nav > li > a:after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    bottom: 8px;
    height: 3px;
    width: 60%;
    background: var(--main-color);
    transition: transform 0.22s ease;
    transform-origin: center;
}
#main-menu-nav > li > a:hover:after { transform: translateX(-50%) scaleX(1); }

/* Submenu (dropdown) */
.sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 180px;
    background: #0f1113;
    padding: 8px 0;
    box-shadow: 0 6px 18px rgba(0,0,0,0.4);
    border-radius: 6px;
    display: none;
    z-index: 1100;
}
.sub-menu li { display: block; }
.sub-menu li a { display: block; padding: 10px 14px; color: #ddd; white-space: nowrap; }
.sub-menu li a:hover { background: rgba(255,255,255,0.02); color: #fff; }

/* Show submenu on hover for desktop */
@media screen and (min-width: 981px) {
    #main-menu-nav > li.has-submenu:hover > .sub-menu { display: block; }
}

/* Mobile: show submenu when parent has .open */
@media screen and (max-width: 980px) {
    #main-menu-nav > li .sub-menu { position: relative; top: 0; left: 0; box-shadow: none; border-radius: 0; display: none; }
    #main-menu-nav > li.open > .sub-menu { display: block; }
    .caret { margin-left: 6px; font-size: 12px; }
}

/* Active link styling */
#main-menu-nav > li > a.active { color: var(--main-color); }

/* Banner */
.site-banner { background: #111; padding: 12px 0; }
.banner-link { display: block; width: 100%; text-align: center; padding: 18px; background: linear-gradient(90deg,#1f1f1f,#2b2b2b); color: #fff; text-decoration: none; border-radius: 6px; }

/* Main */
.site-main { padding: 28px 0; }
.hero h1 { font-size: 28px; margin-bottom: 8px; }
.hero p { color: #cfcfcf; }
.posts { margin-top: 20px; }
.post { background: #161616; padding: 16px; border-radius: 6px; }

/* Equal card dimensions */
.cards-section .card-group { display: flex; gap: 16px; }
.cards-section .card { display: flex; flex-direction: column; width: 100%; box-shadow: 0 2px 8px rgba(0,0,0,0.12); border-radius: 6px; overflow: hidden; }
.cards-section .card-img-top { height: 120px; object-fit: cover; width: 100%; }
.cards-section .card-body { display: flex; flex-direction: column; flex: 1 1 auto; padding: 12px; }
.cards-section .card-text { flex: 1 1 auto; color: #5d5874; }
.cards-section .card .btn { margin-top: 12px; align-self: flex-start; }

@media (max-width: 760px) {
    .cards-section .card-img-top { height: 80px; }
    .cards-section .card-group { flex-direction: column; }
}

/* Hover effects for cards */
.cards-section .card-img-top { transition: transform 0.35s ease, filter 0.35s ease; }
.cards-section .card:hover .card-img-top { transform: scale(1.06); filter: brightness(0.92); }
.cards-section .card { transition: box-shadow 0.25s ease, transform 0.25s ease; }
.cards-section .card:hover { box-shadow: 0 10px 30px rgba(0,0,0,0.3); transform: translateY(-6px); }

/* Hover effect for card titles */
.cards-section .card-title {
    transition: color 0.22s ease, transform 0.22s ease;
}
.cards-section .card:hover .card-title {
    color: var(--main-color);
    transform: translateY(-3px);
    text-decoration: underline;
}

/* Footer */
.site-footer { background: #0c0f12; padding: 16px 0; margin-top: 28px; }
.site-footer p { color: #bdbdbd; text-align: center; }

/* Responsivo */
@media (max-width: 760px) {
  .header-inner { flex-direction: column; height: auto; gap: 8px; padding: 12px 0; }
  .main-nav ul { flex-direction: column; gap: 8px; align-items: center; }
  .hero h1 { font-size: 22px; }
}

/* ====== Search overlay styles ====== */
.nav-search {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(7,10,14,0.96);
    z-index: 1050;
    padding: 12px 0;
}
.nav-search .nav-search-inner { display: flex; align-items: center; }
.nav-search .search-form { position: relative; width: 100%; }
.nav-search .search-input { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,0.12); padding: 12px 48px 12px 16px; border-radius: 6px; }
.nav-search .search-input::placeholder { color: rgba(255,255,255,0.6); }
.nav-search .close-search { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); background: transparent; border: none; color: #fff; font-size: 20px; }
.nav-search.open { display: block; }

/* Small adjustments to the search toggle button */
.search-toggle { font-size: 18px; color: #ddd; background: transparent; border: none; }
.search-toggle:hover { color: #fff; }



/* Header banner abaixo do menu */
.header-banner {
    width: 100%;
    background: transparent;
    padding: 10px 0;
}
.header-banner .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}
.header-banner a {
    display: block;
    width: 100%;
}
.header-banner img {
    width: 100%;
    max-height: 180px;
    object-fit: cover;
    display: block;
    border-radius: 3px;
}

@media screen and (max-width: 780px) {
    .header-banner img {
        max-height: 120px;
    }
}

    /* Carousel adjustments for Bootstrap carousel inside .site-banner */
    .site-banner { padding: 6px 0; }
    .site-banner .carousel-item img {
        height: 250px; /* reduzido para menos espaço vertical conforme pedido */
        object-fit: cover;
    }
    .site-banner .carousel-caption { 
        background: rgba(0,0,0,0.35);
        padding: 8px 12px;
        border-radius: 6px;
    }

    @media (max-width: 760px) {
        .site-banner .carousel-item img { height: 90px; }
        .site-banner .carousel-caption { display: none; }
    }

  .cards-tight .col {
  padding: 0 !important;
}


/* AS locunas*/



.two-columns-section {
  display: flex;
  gap: 25px;
  margin: 40px 0;
}

/* Coluna esquerda: 1 imagem */
.col-left {
  flex: 3;
  display: flex;
  align-items: center;
}

.col-left img {
  width: 150px;
  height: 250px;
  object-fit: cover;
  border-radius: 6px;
  margin-right: 20px; /* 🔥 distância entre a imagem e o ADS */
}

/* ADS */
.col-right {
  flex: 1;
}

.ads-box {
  width: 300px;
  height: 250px;
  background: #ddd;
  border: 2px dashed #999;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  border-radius: 8px;
}


/*efeito na img*/

.col-left img {
  width: 150px;
  height: 250px;
  object-fit: cover;
  border-radius: 6px;
  margin-right: 20px;
  transition: filter 0.3s ease, transform 0.3s ease;
}

.col-left img:hover {
  filter: blur(3px) brightness(0.8); /* desfoque + escurecimento leve */
  transform: scale(1.03); /* zoom leve para complementar o efeito */
}

/**/

/* Animação RGB */
@keyframes neonRGB {
  0% {
    box-shadow: 0 0 6px #ff0000, 0 0 12px #ff0000, 0 0 20px #ff0000;
  }
  25% {
    box-shadow: 0 0 6px #ff7f00, 0 0 12px #ff7f00, 0 0 20px #ff7f00;
  }
  50% {
    box-shadow: 0 0 6px #00ff00, 0 0 12px #00ff00, 0 0 20px #00ff00;
  }
  75% {
    box-shadow: 0 0 6px #007fff, 0 0 12px #007fff, 0 0 20px #007fff;
  }
  100% {
    box-shadow: 0 0 6px #ff00ff, 0 0 12px #ff00ff, 0 0 20px #ff00ff;
  }
}

.cards-tight img {
  width: 100%;
  border-radius: 6px;
  transition: transform 0.3s ease;
}

.cards-tight img:hover {
  transform: scale(1.05);
  animation: neonRGB 1.2s infinite alternate;
}

/* Netflix */

html,body{height:100%;margin:0;background:linear-gradient(180deg,#050505 0%, #0b0b0b 100%);color:var(--text);font-family:Arial,Helvetica,sans-serif;}
  .site-header{display:flex;align-items:center;justify-content:space-between;padding:18px 32px;background:rgba(0,0,0,0.25);position:sticky;top:0;z-index:10;}
  .logo{font-weight:900;letter-spacing:2px;color:var(--accent);font-size:20px;}
  .search{color:var(--muted);font-size:14px;}
  .container{max-width:1200px;margin:28px auto;padding:0 20px;}
  .section-title{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px;}
  .section-title h2{margin:0;font-size:20px;}
  .row{display:grid;grid-template-columns:1fr 360px;gap:28px;align-items:start;}
  /* Left image grid */
  .imagem-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;}
  .imagem-grid .poster{position:relative;overflow:hidden;border-radius:6px;background:var(--card-bg);cursor:pointer;transition:transform .2s ease, box-shadow .2s ease;}
  .imagem-grid .poster img{display:block;width:100%;height:220px;object-fit:cover;vertical-align:middle;border-radius:6px;}
  .imagem-grid .poster:hover{transform:translateY(-6px) scale(1.03);box-shadow:0 12px 40px rgba(0,0,0,0.6);}
  .play-badge{position:absolute;inset:auto 10px 10px auto;background:rgba(0,0,0,0.6);padding:6px 8px;border-radius:999px;display:flex;align-items:center;gap:8px;font-weight:600;color:var(--text);}
  .play-icon{width:60px;height:18px;border-left:10px solid var(--accent);border-top:6px solid transparent;border-bottom:6px solid transparent;margin-left:18px;}
  .poster .overlay{position:absolute;inset:0;background:linear-gradient(0deg,rgba(0,0,0,0.45),transparent 40%);opacity:0;transition:opacity .18s ease;}
  .poster:hover .overlay{opacity:1;}
  /* right column */
  .col-right{background:linear-gradient(180deg,rgba(255,255,255,0.02),transparent);padding:16px;border-radius:8px;color:var(--muted);height:100%;}
  .col-right h3{color:var(--text);margin-top:0;}
  /* modal player */
  .modal{position:fixed;inset:0;background:rgba(0,0,0,0.75);display:flex;align-items:center;justify-content:center;z-index:9999;padding:20px;visibility:hidden;opacity:0;transition:opacity .18s ease, visibility .18s ease;}
  .modal.open{visibility:visible;opacity:1;}
  .modal-content{width:100%;max-width:1000px;border-radius:10px;overflow:hidden;background:#000;box-shadow:0 20px 60px rgba(0,0,0,0.7);position:relative;}
  .modal iframe{width:100%;height:560px;border:0;display:block;background:#000;}
  .modal .close{position:absolute;top:10px;right:10px;background:rgba(0,0,0,0.5);border-radius:6px;padding:8px 10px;color:var(--text);cursor:pointer;font-weight:700;border:1px solid rgba(255,255,255,0.06);}
  @media (max-width:900px){
    .row{grid-template-columns:1fr;gap:16px;}
    .imagem-grid .poster img{height:160px;}
    .modal iframe{height:320px;}
  }
  @media (max-width:480px){
    .imagem-grid{grid-template-columns:repeat(2,1fr);}
    .imagem-grid .poster img{height:140px;}
    .modal iframe{height:220px;}
  }

  .btn-topo {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 24px;
  border: none;
  background: #dc3545; /* vermelho Bootstrap */
  color: white;
  cursor: pointer;
  display: none; /* começa invisível */
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: opacity 0.3s ease;
  z-index: 9999;
}

.btn-topo:hover {
  opacity: 0.8;
}


 #comedia {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

#comedia img {
    width: 150px;
}

#acao {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

#acao img {
    width: 150px;
}

/* Efeito hover para cards na grade `.card-over` */
.card-over {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.card-over img {
    width: 150px;
    height: auto;
    border-radius: 8px;
    transition: transform 0.28s ease, box-shadow 0.28s ease, filter 0.28s ease;
    cursor: pointer;
    will-change: transform;
}

.card-over img:hover {
    transform: translateY(-6px) scale(1.06);
    box-shadow: 0 18px 40px rgba(0,0,0,0.45);
    filter: brightness(1.04) saturate(1.05);
}

/* overlay sutíl ao passar o mouse (icone de play) */
.card-over .play-overlay { display: none; }
.card-over img:hover + .play-overlay,
.card-over img:focus + .play-overlay {
    display: flex;
    position: relative;
}

.card-over-item { position: relative; }
.card-over-item .play-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.28);
    color: #fff;
    font-weight: 700;
    border-radius: 8px;
    opacity: 0;
    transition: opacity 0.22s ease;
}
.card-over-item:hover .play-overlay { opacity: 1; }

/* Title styling inside overlay */
.card-title-overlay {
    font-size: 14px;
    padding: 6px 10px;
    background: rgba(0,0,0,0.45);
    border-radius: 6px;
    max-width: 90%;
    text-align: center;
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Make hover accessible on touch: show overlay when focused */
.card-over-item img:focus + .play-overlay, .card-over-item:focus-within .play-overlay { opacity: 1; }

/* Efeito contínuo para a seção de categorias */
#categoria-filmes{
    position: relative;
    overflow: hidden;
    z-index: 1;
}

#categoria-filmes::before{
    content: '';
    position: absolute;
    inset: 0;
    /* overlay neutro e sutil — sem mudança vibrante de cor */
    background: linear-gradient(120deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.02) 50%, rgba(255,255,255,0.03) 100%);
    background-size: 200% 200%;
    animation: categoriaShift 12s linear infinite;
    mix-blend-mode: overlay;
    pointer-events: none;
    z-index: 0;
}

#categoria-filmes > * { position: relative; z-index: 2; }

@keyframes categoriaShift{
    0%{ background-position: 0% 50%; }
    50%{ background-position: 100% 50%; }
    100%{ background-position: 0% 50%; }
}

/* categoriaHue removido — sem troca de cor contínua */

/* leve flutuação do título dentro da seção */
#categoria-filmes .hero h1, #categoria-filmes .section-title h2{
    animation: categoriaFloat 6s ease-in-out infinite;
}
@keyframes categoriaFloat{
    0%{ transform: translateY(0); }
    50%{ transform: translateY(-6px); }
    100%{ transform: translateY(0); }
}

/* garantir visibilidade e contraste do conteúdo sobre o overlay */
#categoria-filmes img, #categoria-filmes .card, #categoria-filmes .poster{
    filter: brightness(1.02);
}