/* Base styles - Otimizado para performance e carregamento estático */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Fallback para fontes offline primeiro com melhor performance */
body, input, textarea, button {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', Cantarell, sans-serif;
  font-display: swap;
}

/* Fonte otimizada - remover preload manual pois já está sendo carregada do Google Fonts */

/* Otimização para usuários com prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

:root {
  --primary-color: #ea384c; /* Vermelho */
  --primary-hover: #c92638; /* Vermelho mais escuro para hover */
  --secondary-color: #403E43; /* Cinza escuro neutro */
  --accent-color: #8E9196; /* Cinza neutro */
  --background-color: #121212; /* Cor de fundo escura */
  --text-color: #F6F6F7; /* Texto claro */
  --card-bg: #1E1E1E; /* Fundo dos cards */
  --card-hover: #2a2a2a; /* Cor de hover dos cards */
  --light-gray: #eee; /* Cinza claro */
  --white: #FFFFFF;
  --dark: #121212; /* Cor escura para substituir o branco */
  --dark-card: #1E1E1E; /* Cor para os cards escuros */
  --dark-text: #EFEFEF; /* Texto claro para fundos escuros */
  --border-color: #333; /* Cor para bordas */
  --border-color-alpha: rgba(51, 51, 51, 0.5); /* Versão transparente da borda */
  --gradient-primary: linear-gradient(135deg, #ea384c 0%, #c92638 100%);
  --gradient-secondary: linear-gradient(135deg, #403E43 0%, #2a2a2a 100%);
  --shadow-small: 0 2px 8px rgba(0, 0, 0, 0.15);
  --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.2);
  --shadow-large: 0 8px 24px rgba(0, 0, 0, 0.2);
  --transition-fast: 0.2s all ease;
  --transition-normal: 0.3s all ease;
  --transition-slow: 0.5s all ease;
  --border-radius-small: 4px;
  --border-radius-normal: 8px;
  --border-radius-large: 16px;
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 2rem;
  --success-color: #00c271;
  --warning-color: #ffc107;
  --info-color: #0d6efd;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 70px; /* Compensar altura do header fixo */
}

/* Melhoria para usuários com prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  background-color: var(--dark);
  color: var(--dark-text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeSpeed;
  /* Remover will-change para evitar layers desnecessários */
}

/* Container e layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  background-color: rgba(18, 18, 18, 0.95);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
  transition: var(--transition-normal);
}

header.scrolled {
  background-color: rgba(18, 18, 18, 0.98);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
  padding: 0.5rem 0;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
}

.logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--primary-color);
  text-shadow: 0 0 10px rgba(234, 56, 76, 0.3);
  letter-spacing: -0.5px;
  transition: var(--transition-normal);
}

.logo:hover {
  transform: scale(1.05);
  text-shadow: 0 0 15px rgba(234, 56, 76, 0.5);
}

.nav-menu {
  display: flex;
  gap: 2rem;
  list-style-type: none;
}

.nav-link {
  text-decoration: none;
  color: var(--dark-text);
  font-weight: 500;
  transition: color 0.3s, transform 0.3s;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--primary-color);
}

.nav-link:hover::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--dark-text);
  transition: var(--transition-fast);
}

.mobile-menu-btn:hover {
  color: var(--primary-color);
}

/* Menu open state para body */
body.menu-open {
  overflow: hidden;
}

/* Hero section */
.hero {
  height: 100vh;
  background-image: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('Build/XP9.png');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  color: var(--white);
  padding-top: 80px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(234, 56, 76, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  max-width: 700px;
  position: relative;
  z-index: 2;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  font-weight: 700;
  line-height: 1.2;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  max-width: 600px;
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.7);
}

.button-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.8rem;
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: var(--border-radius-normal);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  letter-spacing: 0.5px;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.2);
  transition: transform 0.6s;
  transform: skewX(-15deg);
  pointer-events: none;
}

.btn:hover {
  background-color: var(--primary-hover);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(234, 56, 76, 0.4);
}

.btn:hover::before {
  transform: translateX(200%) skewX(-15deg);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-outline:hover {
  background-color: rgba(234, 56, 76, 0.1);
  box-shadow: 0 5px 15px rgba(234, 56, 76, 0.2);
}

/* Serviços */
.services {
  padding: 5rem 0 6rem;
  background-color: var(--dark);
  position: relative;
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--primary-color);
  position: relative;
  font-weight: 700;
}

.section-title::after {
  content: "";
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 3px;
}

.section-subtitle {
  text-align: center;
  margin-bottom: 3rem;
  opacity: 0.8;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.service-card {
  background-color: var(--dark-card);
  border-radius: var(--border-radius-normal);
  padding: 2rem;
  box-shadow: var(--shadow-medium);
  transition: transform 0.3s, box-shadow 0.3s;
  border-top: 3px solid transparent;
  color: var(--dark-text);
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background: linear-gradient(to bottom, rgba(234, 56, 76, 0.1), transparent);
  transition: height 0.3s ease-out;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.5);
  border-top: 3px solid var(--primary-color);
}

.service-card:hover::before {
  height: 100%;
}

.service-icon {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  transition: transform 0.3s ease;
}

.service-icon.pulse {
  animation: iconPulse 1s infinite alternate ease-in-out;
}

@keyframes iconPulse {
  from {
    transform: scale(1);
    opacity: 1;
  }
  to {
    transform: scale(1.2);
    opacity: 0.8;
  }
}

.service-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--dark-text);
  position: relative;
}

.service-card p {
  margin-bottom: 1.5rem;
  flex-grow: 1;
  color: rgba(239, 239, 239, 0.8);
  line-height: 1.6;
}

.service-btn {
  display: inline-flex;
  align-items: center;
  padding: 0.7rem 1.4rem;
  background-color: var(--primary-color);
  color: white;
  border-radius: var(--border-radius-small);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  align-self: flex-start;
  position: relative;
  overflow: hidden;
}

.service-btn i {
  margin-left: 0.5rem;
  transition: transform 0.3s ease;
}

.service-btn:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
}

.service-btn:hover i {
  transform: translateX(5px);
}

/* Featured Section */
.featured {
  padding: 5rem 0 6rem;
  background-color: var(--secondary-color);
  position: relative;
}

.featured-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.featured-item {
  background-color: var(--dark);
  border-radius: var(--border-radius-normal);
  overflow: hidden;
  transition: all 0.4s ease;
  border: 1px solid #333;
  height: 100%;
  box-shadow: var(--shadow-medium);
}

.featured-item:hover {
  transform: translateY(-8px);
  border-color: var(--primary-color);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.featured-thumbnail {
  height: 200px;
  background-color: #333;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
}

.featured-thumbnail::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.featured-thumbnail:hover::before {
  opacity: 1;
}

.play-button {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  z-index: 2;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.3);
}

.featured-thumbnail:hover .play-button {
  transform: scale(1.15);
  box-shadow: 0 0 30px rgba(234, 56, 76, 0.5);
}

.featured-info {
  padding: 1.5rem;
}

.featured-info h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #fff;
}

.featured-author {
  color: #aaa;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.featured-author::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 18px;
  background-color: #555;
  border-radius: 50%;
  margin-right: 8px;
}

.featured-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.5rem;
}

.featured-date {
  font-size: 0.85rem;
  color: #888;
}

.featured-category {
  background-color: rgba(234, 56, 76, 0.2);
  color: var(--primary-color);
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.centered-button {
  text-align: center;
  margin-top: 3rem;
}

/* Sobre nós */
.about {
  padding: 6rem 0;
  background-color: var(--dark);
  color: var(--dark-text);
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about-image {
  width: 100%;
  border-radius: var(--border-radius-normal);
  box-shadow: var(--shadow-large);
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.about-image:hover {
  transform: scale(1.02) rotate(1deg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.about-text h2 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
  position: relative;
  display: inline-block;
}

.about-text h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 60px;
  height: 3px;
  background-color: var(--primary-color);
}

.about-text p {
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

/* Depoimentos */
.testimonials {
  padding: 6rem 0;
  background-color: var(--secondary-color);
  position: relative;
  overflow: hidden;
}

.testimonials::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.testimonials::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.1), transparent);
}

.testimonial-carousel {
  max-width: 800px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
  background-color: var(--dark);
  border-radius: var(--border-radius-normal);
  box-shadow: var(--shadow-large);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.testimonial-item {
  text-align: center;
  padding: 3rem 2rem;
  position: relative;
  transition: opacity 0.5s ease;
}

.testimonial-item::before {
  content: '"';
  font-size: 5rem;
  color: var(--primary-color);
  position: absolute;
  top: 10px;
  left: 30px;
  opacity: 0.3;
  font-family: Georgia, serif;
}

.testimonial-text {
  font-size: 1.3rem;
  font-style: italic;
  margin-bottom: 2rem;
  color: var(--dark-text);
  line-height: 1.8;
  transition: opacity 0.3s ease;
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary-color);
  margin-top: 1rem;
  transition: opacity 0.3s ease;
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 2rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: #555;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.dot::after {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  border: 1px solid transparent;
  transition: all 0.3s ease;
}

.dot.active {
  background-color: var(--primary-color);
  transform: scale(1.2);
}

.dot.active::after {
  border-color: var(--primary-color);
  opacity: 0.5;
}

/* Community Section */
.community {
  padding: 5rem 0;
  background-color: var(--dark);
}

.community-card {
  background: linear-gradient(to right, rgba(26, 26, 26, 0.9), rgba(44, 44, 44, 0.9));
  border-radius: var(--border-radius-large);
  padding: 3rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow-large);
  position: relative;
  overflow: hidden;
}

.community-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(234, 56, 76, 0.5), transparent);
}

.community-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(234, 56, 76, 0.5), transparent);
}

.community-text h3 {
  font-size: 2rem;
  margin-bottom: 0.8rem;
  color: var(--white);
}

.community-text p {
  color: #ccc;
  font-size: 1.1rem;
  max-width: 500px;
}

/* Footer */
footer {
  background-color: var(--dark);
  color: var(--white);
  padding: 4rem 0 2rem;
  border-top: 1px solid #333;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.footer-section h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary-color);
  position: relative;
  display: inline-block;
}

.footer-section h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary-color);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
}

.footer-links a {
  color: var(--light-gray);
  text-decoration: none;
  transition: color 0.3s;
  position: relative;
  display: inline-block;
  padding: 3px 0;
}

.footer-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary-color);
}

.footer-links a:hover::after {
  width: 100%;
}

.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-icon {
  color: var(--white);
  font-size: 1.2rem;
  text-decoration: none;
  transition: all 0.3s;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-icon:hover {
  color: var(--primary-color);
  background-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-3px);
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
}

.footer-bottom {
  margin-top: 3rem;
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  color: #888;
  font-size: 0.9rem;
}

/* Animações gerais */
.animate-fade-in {
  opacity: 0;
  animation: fadeIn 0.8s ease-in-out forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInScale {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Botão de voltar ao topo */
.scroll-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--primary-color);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.4);
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 99;
}

.scroll-top.visible {
  opacity: 1;
  transform: translateY(0);
}

.scroll-top:hover {
  background: var(--primary-hover);
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0,0,0,0.5);
}

/* Media queries */
@media (max-width: 768px) {
  .header-container {
    padding: 1rem;
  }

  .nav-menu {
    position: fixed;
    top: 60px;
    left: -100%;
    background-color: rgba(18, 18, 18, 0.98);
    backdrop-filter: blur(10px);
    width: 100%;
    flex-direction: column;
    padding: 1rem 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    transition: left 0.3s;
    z-index: 100;
    height: calc(100vh - 60px);
  }

  .nav-menu.active {
    left: 0;
  }

  .nav-link {
    display: block;
    padding: 1rem 2rem;
    text-align: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  }

  .nav-link::after {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .community-card {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
    padding: 2rem 1.5rem;
  }
  
  .service-card {
    height: auto;
    margin-bottom: 1rem;
  }

  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .button-group {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
    text-align: center;
  }

  .service-card {
    padding: 1.5rem;
  }

  .section-title {
    font-size: 1.8rem;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 0.95rem;
  }

  .about-text h2 {
    font-size: 2rem;
  }

  .testimonial-text {
    font-size: 1.1rem;
  }
}

/* Adicionado: Melhorias para cards nos outros arquivos index */
.dublagem-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 2rem;
}

.dublagem-card {
  background: var(--dark-card);
  border-radius: var(--border-radius-normal);
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-medium);
  height: 100%;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.dublagem-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-large);
  border-color: var(--primary-color);
}

.dublagem-thumbnail {
  position: relative;
  padding-top: 56.25%; /* 16:9 aspect ratio */
  background-color: #000;
  overflow: hidden;
}

.dublagem-thumbnail iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  transition: transform 0.4s ease;
}

.dublagem-card:hover .dublagem-thumbnail iframe {
  transform: scale(1.05);
}

.dublagem-info {
  padding: 1.2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.dublagem-info h3 {
  margin: 0 0 0.8rem;
  font-size: 1.1rem;
  color: var(--primary-color);
  font-weight: 600;
}

.dublagem-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 15px;
  font-size: 0.75rem;
  color: #aaa;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.dublagem-author {
  font-weight: 500;
  color: #ddd;
  margin: 4px 0;
  font-size: 0.9rem;
}

.dublagem-category {
  display: inline-block;
  padding: 4px 10px;
  background-color: rgba(234, 56, 76, 0.2);
  color: var(--primary-color);
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.dublagem-date {
  opacity: 0.7;
}

.dublagem-description {
  margin: 0.8rem 0;
  color: #bbb;
  line-height: 1.4;
  font-size: 0.9rem;
  flex-grow: 1;
}

/* Outras melhorias gerais */
.category-tab {
  padding: 8px 18px;
  background: var(--border-color);
  color: var(--white);
  border: none;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.85rem;
  margin: 0 5px 10px;
}

.category-tab.active, .category-tab:hover {
  background: var(--primary-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(234, 56, 76, 0.3);
}

.back-to-home {
  display: inline-flex;
  align-items: center;
  color: #fff;
  font-weight: 500;
  margin: 20px 0;
  transition: all 0.3s ease;
  text-decoration: none;
}

.back-to-home i {
  margin-right: 8px;
  transition: transform 0.3s ease;
}

.back-to-home:hover {
  color: var(--primary-color);
}

.back-to-home:hover i {
  transform: translateX(-5px);
}

.hero-banner {
  background: linear-gradient(135deg, var(--primary-hover), var(--primary-color));
  padding: 120px 0 80px;
  position: relative;
  overflow: hidden;
  border-bottom: 4px solid var(--primary-color);
  text-align: center;
}

.hero-banner::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('Build/XP11.png') center/cover no-repeat;
  opacity: 0.1;
  z-index: 1;
  mix-blend-mode: overlay;
}

.hero-content h1 {
  font-size: 3.2rem;
  margin-bottom: 1rem;
  color: white;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
  position: relative;
  z-index: 2;
}

.hero-content p {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  z-index: 2;
}

/* Adicionar efeitos de hover para outros itens gerais */
img {
  transition: transform 0.3s ease;
}

img:hover {
  transform: scale(1.02);
}

.section-heading {
  text-align: center;
  margin: 3rem 0 2rem;
}

.section-heading h2 {
  font-size: 2.2rem;
  color: var(--primary-color);
  margin-bottom: 0.8rem;
  position: relative;
  display: inline-block;
}

.section-heading h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  width: 60px;
  height: 3px;
  background: var(--primary-color);
  transform: translateX(-50%);
}

.section-heading p {
  color: #aaa;
  max-width: 600px;
  margin: 15px auto 0;
}

/* Projeto page improvements */
.project-item {
  background-color: var(--dark-card);
  border-radius: var(--border-radius-normal);
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.project-item:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-large);
}

.project-header {
  position: relative;
  height: 200px;
  background: #333;
  overflow: hidden;
}

.project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.project-item:hover .project-image {
  transform: scale(1.05);
}

.project-body {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.project-title {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.project-meta {
  display: flex;
  gap: 10px;
  margin-bottom: 1rem;
}

.project-meta span {
  font-size: 0.85rem;
  color: #aaa;
  display: flex;
  align-items: center;
}

.project-meta i {
  margin-right: 5px;
  color: var(--primary-color);
}

.project-description {
  margin-bottom: 1.5rem;
  color: #bbb;
  line-height: 1.6;
  flex-grow: 1;
}

.project-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.project-status {
  background-color: rgba(0, 199, 113, 0.2);
  color: var(--success-color);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 500;
}

.project-status.completed {
  background-color: rgba(0, 199, 113, 0.2);
  color: var(--success-color);
}

.project-status.in-progress {
  background-color: rgba(255, 193, 7, 0.2);
  color: var(--warning-color);
}

.project-status.planned {
  background-color: rgba(13, 110, 253, 0.2);
  color: var(--info-color);
}

.project-link {
  display: inline-flex;
  align-items: center;
  color: var(--primary-color);
  font-weight: 500;
  transition: all 0.3s ease;
}

.project-link i {
  margin-left: 5px;
  transition: transform 0.3s ease;
}

.project-link:hover {
  color: #fff;
}

.project-link:hover i {
  transform: translateX(4px);
}

/* Filters section styling */
.filters-section {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: var(--border-radius-normal);
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow-small);
}

.filter-groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.filter-group {
  margin-bottom: 1rem;
}

.filter-label {
  font-size: 0.9rem;
  color: #aaa;
  margin-bottom: 0.5rem;
  display: block;
}

.filter-select {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  padding: 0.5rem;
  color: #fff;
}

.filter-select:focus {
  border-color: var(--primary-color);
  outline: none;
}

.filter-search {
  position: relative;
}

.filter-search input {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  padding: 0.5rem 0.5rem 0.5rem 2rem;
  color: #fff;
}

.filter-search i {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: #aaa;
}

.filter-actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 1rem;
}

.filter-btn {
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-weight: 500;
  transition: all 0.3s ease;
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: none;
  cursor: pointer;
  margin-left: 10px;
}

.filter-btn.primary {
  background-color: var(--primary-color);
}

.filter-btn:hover {
  background-color: var(--primary-hover);
}
