.overlay {
	background-color: #000;
	opacity: .75;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
.header{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(6px);
  padding: 0.75rem 1.25rem;
  transition: background-color 0.2s ease;
}
.header h3{
  margin-top: 0.5%;
  text-align: center;
  color: white;
  font-size: 3vw;
}
.nome-parceiro {
  margin-bottom: 50px;
  display: flex; /* Define o contêiner como flexbox */
  justify-content: center; /* Centraliza horizontalmente os elementos no contêiner */
  align-items: flex-start;
}
#selecao {
  padding-bottom: 2rem;
}
/* Estilo do menu quando rolado */
header.menu-scrolled {
  background-color: rgba(0, 0, 0, 0.9);
}
@media (max-width: 768px) {
  .header h3{
    margin-top: 5%;
    text-align: center;
    color: white;
    font-size: 5vw;
  }
}
html, body {
  margin: 0;
  overflow-x: hidden;
  min-height: 100%;
  background-color: #000 !important;
}

body {
  background-color: #000 !important;
  --bs-body-bg: #000;
}
.app-nav{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
}
.navbar-brand{
  display: inline-flex;
  align-items: center;
  margin-right: auto;
}
.navbar-brand img{
  width: 120px;
  height: auto;
}
.app-nav__menu{
  display: flex;
  align-items: center;
  gap: 1rem;
}
.app-nav__greeting{
  color: #fff;
  font-weight: 600;
  white-space: nowrap;
}
.app-nav__links{
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.app-nav__link{
  white-space: nowrap;
}
.nav-toggle{
  display: none;
  border: 0;
  background: transparent;
  color: #fff;
  padding: 0.25rem;
}
.nav-toggle__bar{
  display: block;
  width: 22px;
  height: 2px;
  background-color: #fff;
  margin: 4px 0;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
@media (max-width: 768px) {
  .navbar-brand img{
    width: 100px;
  }
  .app-nav__menu{
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.92);
    border-radius: 12px;
    padding: 1rem;
    margin-top: 0.5rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
    display: none;
  }
  .app-nav__menu.is-open{
    display: flex;
  }
  .app-nav__greeting{
    font-size: 0.95rem;
  }
  .app-nav__links{
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }
  .app-nav__links .btn{
    width: 100%;
    text-align: left;
  }
  .nav-toggle{
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
}
.main{
  min-height: 800px;
  margin-left: 0;
  margin-right: 0;
}
.main > .text {
  padding-left: 0;
  padding-right: 0;
}
/*hero*/
.hero {
  color: #fff;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 100px); /* Ajuste a altura para não cobrir o rodapé */
  padding-top: 120px;
  background-image: url(images/hero.jpeg);
  background-size: 100% auto;
  background-repeat: repeat-y;
  background-position: center top;
}
.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 0;
  pointer-events: none;
}
.hero > * {
  position: relative;
  z-index: 1;
}
.video-card {
  height: 100%;
  background: rgba(0,0,0,0.6);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(2px);
}
.video-card .card-body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.video-card .card-title {
  font-size: 1rem;
  word-break: break-word;
}
.video-card .embed-responsive {
  border-radius: 10px;
  overflow: hidden;
}
.video-card .botao {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
  flex-wrap: nowrap;
}
.video-card .botao .btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 140px;
  width: auto;
  padding: 2px 4px;
  line-height: 1.2;
}
.purchases-table {
  width: 100%;
}
.purchases-table table {
  font-size: 0.95rem;
}

.filter-wrap {
  width: 100%;
}

@media (max-width: 992px) {
  .video-card .botao {
    flex-direction: row; /* manter lado a lado */
    align-items: center !important;
    gap: 3px;
  }
  .video-card .botao .btn {
    width: auto; /* não ocupar 100% */
    min-width: 120px;
    padding: 2px 3px;
  }
}

@media (max-width: 768px) {
  .hero {
    padding-top: 110px;
    padding-bottom: 40px;
    min-height: calc(100vh - 80px);
    align-items: flex-start;
  }
  .filter-wrap form {
    width: 100%;
  }
  .filter-wrap .form-group {
    width: 100%;
  }
  .filter-wrap .form-group label,
  .filter-wrap .form-group select {
    width: 100%;
    max-width: none;
  }
  #videos .row {
    margin-left: 0;
    margin-right: 0;
  }
  #videos .col-md-4 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .video-card {
    margin-bottom: 1.25rem;
  }
  .video-card .card-title {
    font-size: 0.95rem;
  }
  .video-card .botao { gap: 3px; }
  .video-card .botao .btn { width: auto; }
  .purchases-table table {
    font-size: 0.85rem;
  }
  .purchases-table .btn {
    width: 100%;
    margin-bottom: 0.5rem;
  }
  .purchases-table .text-end,
  .purchases-table .text-center {
    text-align: left !important;
  }
}

@media (max-width: 576px) {
  .video-card .card-title {
    font-size: 0.9rem;
  }
  .video-card .botao .btn { min-width: 110px; padding: 2px 3px; }
  .purchases-table table {
    font-size: 0.85rem;
  }
  .purchases-table thead {
    display: none;
  }
  .purchases-table table,
  .purchases-table tbody,
  .purchases-table tr,
  .purchases-table td {
    display: block;
    width: 100%;
  }
  .purchases-table tr {
    margin-bottom: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    background: rgba(0, 0, 0, 0.55);
  }
  .purchases-table td {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.35rem 0;
  }
  .purchases-table td::before {
    content: attr(data-label);
    font-weight: 600;
    color: #d1d5db;
    flex: 0 0 45%;
    max-width: 180px;
  }
  .purchases-table td:last-child {
    flex-direction: column;
    align-items: stretch;
  }
  .purchases-table td:last-child::before {
    margin-bottom: 0.5rem;
  }
  .purchases-table td:last-child {
    padding-bottom: 0.1rem;
  }
}
.footer {
  background-color: black; /* Cor de fundo para o rodapé */
}
/*footer*/
footer {
	padding: 80px 0 60px 0;
	text-align: center;
	background-color: #000;
	color: #fff;
}
footer figure {
	width: 120px;
	margin: 0 auto;
	margin-bottom: 30px;
}
footer figure img {
	width: 100%;
	border-radius: 50%;
}
footer p {
	font-weight: 600;
	letter-spacing: 1.5px;
	font-size: 12px;
	color: #777;
	margin-bottom: 10px;
	text-transform: uppercase;
}
footer .icon-footer {
	color: #ff0000;
}
.contact-icon {
	margin: 0;
	padding: 0;
}
.contact-icon li {
	display: inline-block;
	width: 100%;
}
.contact-icon {
	margin-bottom: 1rem;
}
.contact-icon ion-icon {
	font-size: 26px;
	width: 40px;
	float: left;
	margin-right: -8rem;
	margin-left: 8rem;
}
@media screen and (max-width: 768px) {
	.contact-icon ion-icon {
		font-size: 26px;
		width: 40px;
		float: left;
		margin-right: -6rem;
		margin-left: 5.5rem;
	}
}
@media screen and (max-width: 576px) {
	.contact-icon ion-icon {
		font-size: 26px;
		width: 40px;
		float: left;
		margin-right: -3rem;
		margin-left: 3rem;
	}
}
.celular {
	letter-spacing: 1.5px;
	font-size: 15px;
	color: #777;
	margin-bottom: 10px;
	text-transform: uppercase;
}
.card {
  position: relative;
  width: 100%;
  padding: 0;
  max-width: 100%;
}
.card video {
  position: relative;
  width: 100%;
  height: 100%;
}
/* Estilização dos botões */
#botao-selecao {
  background-color: #007bff;
  border-color: #007bff;
  margin-top: 1rem; /* Adicionado para separar o botão de download */
  margin-bottom: 8rem; /* Adicionado para separar o botão de download */
}
#logo-selecao {
  margin-top: 1rem; /* Adicionado para separar o botão de download */
  margin-bottom: 8rem; /* Adicionado para separar o botão de download */
}
.arena-logo {
  margin-right: 10px; /* Adiciona margem à direita de cada botão */
  margin-bottom: 10px; /* Adiciona margem na parte inferior de cada botão */
  margin-left: 10px;
}
.logo{
  width: 170px; /* Defina a largura desejada para as logos */
  height: 170px; /* Mantém a proporção original da imagem */
}

/* Thumbnails + filename em listas (cart/checkout) */
.file-cell{ min-width: 0; }
.video-thumb{
  width: 64px;
  height: 36px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid rgba(255,255,255,0.08);
  background: #111;
}
@media (max-width: 576px){
  .video-thumb{ width: 56px; height: 32px; }
}

/* ====== Tabelas responsivas (Carrinho/Checkout) ====== */
.cart-table, .checkout-table { width: 100%; }
.cart-table table, .checkout-table table { font-size: 0.95rem; }

/* Truncamento do nome do vídeo */
.cart-table .filename, .checkout-table .filename {
  display: inline-block;
  max-width: clamp(240px, 45vw, 640px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  vertical-align: bottom;
}
@media (max-width: 992px){
  .cart-table .filename{ max-width: clamp(180px, 55vw, 520px); }
  .checkout-table .filename{ max-width: clamp(180px, 55vw, 520px); }
}

@media (max-width: 576px) {
  .cart-table table,
  .cart-table tbody,
  .cart-table tr,
  .cart-table td,
  .checkout-table table,
  .checkout-table tbody,
  .checkout-table tr,
  .checkout-table td { display: block; width: 100%; }

  .cart-table thead, .checkout-table thead { display: none; }

  .cart-table tr, .checkout-table tr {
    margin-bottom: 1.1rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 0.9rem 1rem;
    background: rgba(0, 0, 0, 0.55);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
  }

  .cart-table td, .checkout-table td {
    display: flex;
    justify-content: space-between;
    gap: 0.75rem;
    padding: 0.4rem 0;
  }
  .cart-table td::before, .checkout-table td::before {
    content: attr(data-label);
    font-weight: 600;
    color: #d1d5db;
    flex: 0 0 45%;
    max-width: 180px;
  }
  .cart-table td:last-child, .checkout-table td:last-child {
    flex-direction: column;
    align-items: stretch;
    padding-bottom: 0.2rem;
  }
  .cart-table td:last-child::before, .checkout-table td:last-child::before {
    margin-bottom: 0.45rem;
  }
  .cart-table .filename, .checkout-table .filename { max-width: 100%; }

  /* Ação do carrinho: botão remover full-width */
  .cart-table td.action-cell{ justify-content: stretch; }
  .cart-table td.action-cell .btn{ width: 100%; display: inline-flex; justify-content: center; }
}

/* Cards escuros coerentes */
.checkout-card{
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  overflow: hidden;
}

/* Brick: borda e raio coerentes com o tema */
#payment-brick_container{
  border: 1px solid rgba(255,255,255,0.08) !important;
  border-radius: 12px !important;
}
