@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&display=swap');

/* General reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Bebas Neue', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  background-color: #000000;
  color: #FFFFFF;
  overflow-x: hidden;
  line-height: 1.5;
}

/* Sidebar */
.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 60px;
  background: #111;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 20px;
}

.sidebar img {
  width: 40px;
  height: 40px;
  margin-bottom: 20px;
  cursor: pointer;
}

/* Main content */
.main-content {
  margin-left: 0px;
  padding: 0px;
}

/* Video carousel section */
.video-carousel {
  width: 100%;
  position: relative;
}

.swiper {
  width: 100%;
  height: 500px;
}

.swiper-slide {
  position: relative;
  transition: transform 0.8s ease, opacity 0.8s ease;
  transform-origin: center;
  /* Centraliza o efeito 3D */
  will-change: transform, opacity;
  /* Otimiza performance */
}

.swiper-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Video overlay controls */
.video-controls {
  position: absolute;
  bottom: 20px;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.video-controls button {
  background: rgba(0, 0, 0, 0.7);
  border: 1px solid #fff;
  color: #fff;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  z-index: 10;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.video-controls button:hover {
  background: #fff;
  color: #000;
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(229, 9, 20, 0.7);
}

.video-info {
  position: absolute;
  bottom: 20px;
  left: 20px;
  font-size: 16px;
  font-weight: 400;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  color: #FFFFFF;
  line-height: 1.4;
}

.video-info b {
  color: #E50914;
  font-weight: 600;
}

/* Fixed top bar on scroll */
.top-bar {
  position: fixed;
  top: -50px;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.4);
  /* Fundo preto translúcido */
  backdrop-filter: blur(15px);
  /* Aplica o blur */
  -webkit-backdrop-filter: blur(15px);
  font-weight: bold;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  color: #fff;
  text-align: center;
  padding: 10px;
  font-size: 18px;
  font-weight: bold;
  transition: top 0.3s ease;
}

.top-bar.show {
  top: 0;
}

.main-content h1 {
  text-align: center;
  position: relative;
}

.top-bar b {
  color: #007AFF;
}

/* Carousel styles */
.carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.carousel-title {
  font-size: 1.8rem;
  margin: 20px 0;
  color: #fff;
  text-align: center;
}

.carousel-items {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
}

.carousel-item {
  flex: 0 0 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.video-wrapper {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
}

.video-player {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

h1 {
  font-size: 30px;
  margin: 20px 0;
  color: #fff;
  /* Texto branco */
  text-align: center;
}

/* Container Principal */
.container {
  max-width: 100%;
  padding: 0 15px;
  box-sizing: border-box;
}

/* Estilo dos Cards */
.cards {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 15px;
  overflow-x: auto;
  /* Scroll horizontal em telas menores */
  padding: 20px 0;
  scroll-behavior: smooth;
}

.trust-me {
  justify-content: center;
}

.card {
  position: relative;
  min-width: 250px;
  max-width: 250px;
  background-color: #141414;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(229, 9, 20, 0.7);
}

.card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
  transition: opacity 0.3s ease;
}

.card:hover img {
  opacity: 0.8;
}

.card-content {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin-top: 10px;
  gap: 10px;
  padding: 0 10px;
}

.card-content h2 {
  margin: 0;
  font-weight: bold;
  font-size: 24px;
  color: #E50914;
  font-family: 'Bebas Neue', sans-serif;
}

.card-content span {
  font-size: 16px;
  color: #FFFFFF;
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
}

/* Responsividade para Mobile */
@media screen and (max-width: 768px) {
  .cards {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: scroll;
    /* Scroll horizontal */
  }

  .trust-me {
    justify-content: center;
  }

  .card {
    width: 80%;
    /* Ocupa boa parte da tela no mobile */
    margin: 0 10px;
  }

  .card-content {
    justify-content: center;
  }

  h1 {
    font-size: 26px;
  }
}

.carousel-indicators {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  overflow: hidden;
  width: 50%;
  /* Ajuste a largura visível */
  z-index: 10;
}

.indicator {
  margin-bottom: 100px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.4);
  transition: all 0.3s ease;
  cursor: pointer;
}

.indicator.active {
  width: 6px;
  height: 6px;
  background-color: rgba(255, 255, 255, 1);
}

.indicator:not(.active) {
  filter: blur(1px);
}

.indicator.hidden {
  display: none;
}

/* Responsividade para telas menores */
@media (max-width: 768px) {
  .swiper-container {
    padding: 0 10px;
    /* Adiciona espaçamento nas laterais para não colar nas bordas */
  }
}

/* Swiper button styles */
.swiper-button-next,
.swiper-button-prev {
  display: block;
  /* Show by default */
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s, box-shadow 0.3s ease;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: rgba(255, 255, 255, 0.7);
  color: black;
  box-shadow: 0 8px 16px rgba(229, 9, 20, 0.7);
}

.swiper-button-next {
  right: 10px;
}

.swiper-button-prev {
  left: 10px;
}

/* Add media query for video carousel buttons on mobile */
@media (max-width: 768px) {
  .swiper {
    height: 300px;
    /* Adjust height for mobile */
  }

  .video-player {
    height: 100%;
  }

  .swiper-button-next,
  .swiper-button-prev {
    display: block;
    /* Show on mobile */
    padding: 15px;
    font-size: 18px;
  }

  .video-controls {
    bottom: 40px;
    /* Bottom corner on mobile too */
    right: 15px;
    gap: 10px;
  }

  .video-controls button {
    width: 48px;
    /* Larger touch target for mobile */
    height: 48px;
    font-size: 16px;
    padding: 0;
    /* consistent padding */
  }
}

/* Mobile adjustments for video controls */

/* Footer Style - Netflix Inspired */
.footer {
  background-color: #000000;
  color: #FFFFFF;
  text-align: center;
  padding: 40px 20px;
  position: relative;
  margin-top: auto;
  border-top: 1px solid #333333;
}

.footer h3 {
  font-family: 'Bebas Neue', sans-serif;
  font-weight: 400;
  font-size: 2rem;
  color: #FFFFFF;
  margin-bottom: 20px;
  letter-spacing: 1px;
}

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

.social-icons a {
  font-size: 2rem;
  color: #FFFFFF;
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
  color: #E50914;
  transform: scale(1.1);
}

.support-btn {
  display: inline-block;
  background-color: #E50914;
  color: #FFFFFF;
  padding: 15px 30px;
  border-radius: 4px;
  font-size: 1.2rem;
  font-weight: 400;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.3s ease;
  box-shadow: 0 4px 12px rgba(229, 9, 20, 0.3);
}

.support-btn:hover {
  background-color: #B20710;
  transform: scale(1.05);
}

.support-btn i {
  margin-right: 10px;
}


@media (max-width: 600px) {
  .footer {
    padding: 30px 10px;
  }

  .footer h3 {
    font-size: 1.5rem;
  }

  .social-icons a {
    font-size: 2.2rem;
  }

  .support-btn {
    padding: 12px 20px;
    font-size: 1rem;
  }
}

/* Improved Swiper Styles */

/* 1. Standard Dot Pagination (Reverted) */
.swiper-pagination {
  bottom: 20px !important;
}

.swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.5);
  opacity: 1;
  width: 8px;
  /* Standard dot size */
  height: 8px;
  margin: 0 5px !important;
  transition: all 0.3s ease;
}

.swiper-pagination-bullet-active {
  background: #E50914;
  /* Brand Red */
  transform: scale(1.2);
}

/* 2. Glassmorphism Buttons (Next/Prev) */
.swiper-button-next,
.swiper-button-prev {
  width: 60px;
  /* Larger touch target */
  height: 60px;
  background: rgba(0, 0, 0, 0.3) !important;
  /* Darker for contrast */
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 50%;
  color: white !important;
  transition: all 0.3s ease;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 24px;
  font-weight: bold;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  transform: scale(1.1);
  border-color: #E50914;
}

/* 3. Improved Video Control Buttons (Play/Mute) */
/* Ensure relative positioning for absolute children */
.swiper-slide {
  position: relative;
}

/* 3. Improved Video Control Buttons (Play/Mute) */
.video-controls {
  gap: 15px;
  position: absolute;
  /* Float over video */
  bottom: 50px;
  /* Align with bottom */
  right: 20px;
  /* Align with right */
  z-index: 20;
  display: flex;
  /* Ensure flex layout */
  pointer-events: auto;
  /* Ensure clicks are captured */
}

.video-controls button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  /* Semi-transparent black */
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 0;
  /* Reset padding */
  font-size: 18px;
  transition: all 0.2s ease;
  backdrop-filter: blur(4px);
  cursor: pointer;
  /* Ensure pointer cursor */
  position: relative;
  z-index: 21;
  /* Ensure button itself is top-most */
}

/* Expand hit area for touches */
.video-controls button::after {
  content: '';
  position: absolute;
  top: -20px;
  right: -20px;
  bottom: -20px;
  left: -20px;
  z-index: 10;
  cursor: pointer;
}

.video-controls button:hover {
  background: #fff;
  color: #000;
  transform: scale(1.1);
  border-color: #fff;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* Remove default focus outline */
.swiper-pagination-bullet:focus,
.swiper-button-next:focus,
.swiper-button-prev:focus,
.video-controls button:focus {
  outline: none;
}