/* Reset e configurações gerais */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: #000;
  color: #fff;
  line-height: 1.6;
  overflow-x: hidden;
}

img,
video,
iframe {
  max-width: 100%;
  height: auto;
}

/* Melhorando estilos dos botões principais */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 25px;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: inherit;
  position: relative;
  overflow: hidden;
  min-height: 50px;
  white-space: nowrap;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, #ff3333, #cc0000);
  color: #fff;
  box-shadow: 0 4px 15px rgba(255, 51, 51, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #ff4444, #dd1111);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 51, 51, 0.4);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: #ff3333;
  color: #ff3333;
  transform: translateY(-2px);
}

.btn-large {
  padding: 18px 35px;
  font-size: 1.1rem;
  min-height: 56px;
}

.btn-small {
  padding: 10px 18px;
  font-size: 0.9rem;
  min-height: 40px;
}

.btn-full {
  width: 100%;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none !important;
}

.btn:disabled:hover {
  transform: none !important;
  box-shadow: none !important;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
  z-index: 1000;
  padding: 15px 50px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  will-change: background-color, backdrop-filter;
}

.header.scrolled {
  background-color: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 40px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
  font-size: 1.8rem;
  font-weight: 700;
  transition: all 0.3s ease;
}

.logo:hover {
  color: #ff3333;
  transform: scale(1.05);
}

.logo i {
  font-size: 2rem;
  color: #ff3333;
  filter: drop-shadow(0 0 10px rgba(255, 51, 51, 0.5));
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: #ccc;
  text-decoration: none;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.nav-links a.active::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: #ff3333;
  border-radius: 1px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.search-container {
  position: relative;
}

.user-menu {
  display: flex;
  gap: 12px;
}

/* Search Container */
.search-input {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 25px;
  padding: 12px 20px;
  color: #fff;
  width: 280px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-size: 0.95rem;
}

.search-input:focus {
  outline: none;
  border-color: #ff3333;
  background: rgba(255, 255, 255, 0.15);
  box-shadow: 0 0 0 3px rgba(255, 51, 51, 0.2);
  width: 320px;
}

.search-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  max-height: 400px;
  overflow-y: auto;
  z-index: 1001;
  display: none;
  backdrop-filter: blur(20px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
  animation: slideInDown 0.3s ease-out;
}

.search-result {
  display: flex;
  align-items: center;
  padding: 15px;
  cursor: pointer;
  transition: all 0.3s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.search-result:hover {
  background: rgba(255, 51, 51, 0.1);
  transform: translateX(5px);
}

.search-result:last-child {
  border-bottom: none;
}

.search-result-poster {
  width: 50px;
  height: 75px;
  background-size: cover;
  background-position: center;
  border-radius: 6px;
  margin-right: 15px;
  flex-shrink: 0;
}

.search-result-info h4 {
  margin: 0 0 5px 0;
  font-size: 1rem;
  font-weight: 600;
}

.search-result-info p {
  margin: 0;
  font-size: 0.85rem;
  opacity: 0.7;
}

/* Hero Banner */
.hero {
  height: 100vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  will-change: transform;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, rgba(0, 0, 0, 0.7), rgba(255, 51, 51, 0.2));
  z-index: 1;
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background: #000;
  display: none;
  transition: opacity 0.5s ease;
}

.hero-video video,
.hero-video iframe {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 700px;
  padding: 0 50px;
  animation: slideUp 1s ease-out;
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 800;
  margin-bottom: 20px;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.8);
  line-height: 1.1;
  background: linear-gradient(135deg, #fff, #ccc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-meta {
  display: flex;
  gap: 20px;
  margin-bottom: 25px;
  font-size: 1.1rem;
  font-weight: 500;
}

.hero-synopsis {
  font-size: 1.3rem;
  margin-bottom: 35px;
  line-height: 1.7;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

/* Seções de conteúdo */
.content-section {
  padding: 60px 50px;
  margin-bottom: 40px;
}

.section-title {
  font-size: 2.2rem;
  margin-bottom: 35px;
  color: #fff;
  font-weight: 700;
}

/* Carrossel */
.carousel-container {
  position: relative;
  margin: 0 -15px;
  overflow: hidden;
}

.carousel {
  display: flex;
  gap: 20px;
  padding: 20px 15px;
  scroll-behavior: smooth;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  will-change: scroll-position;
}

.carousel::-webkit-scrollbar {
  display: none;
}

.card {
  min-width: 320px;
  height: 480px;
  background-size: cover;
  background-position: center;
  border-radius: 12px;
  position: relative;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  will-change: transform;
  flex-shrink: 0;
}

.card:hover {
  transform: scale(1.08) translateY(-10px);
  z-index: 10;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(transparent 50%, rgba(0, 0, 0, 0.9));
  opacity: 0;
  transition: opacity 0.4s ease;
}

.card:hover::before {
  opacity: 1;
}

.card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 25px;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover .card-content {
  transform: translateY(0);
}

.card-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.3;
}

.card-meta {
  display: flex;
  gap: 12px;
  margin-bottom: 15px;
  font-size: 0.9rem;
  opacity: 0.8;
  font-weight: 500;
}

.card-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Adicionando estilos para os botões do carrossel */
.carousel-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.8);
  border: none;
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
}

.carousel-container:hover .carousel-nav {
  opacity: 1;
  visibility: visible;
}

.carousel-nav:hover {
  background: rgba(255, 51, 51, 0.9);
  transform: translateY(-50%) scale(1.1);
  box-shadow: 0 8px 25px rgba(255, 51, 51, 0.3);
}

.carousel-nav.prev {
  left: -25px;
}

.carousel-nav.next {
  right: -25px;
}

.carousel-nav:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  background: rgba(0, 0, 0, 0.5);
}

.carousel-nav:disabled:hover {
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.5);
  box-shadow: none;
}

/* Página de conteúdo */
.content-hero {
  height: 70vh;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: flex-end;
  position: relative;
}

.content-hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(transparent 40%, rgba(0, 0, 0, 0.9));
}

.content-info {
  position: relative;
  z-index: 2;
  padding: 50px;
  max-width: 800px;
}

.content-details {
  padding: 50px;
  max-width: 1200px;
  margin: 0 auto;
}

.content-meta {
  display: flex;
  gap: 30px;
  margin-bottom: 30px;
  font-size: 1.1rem;
}

.content-synopsis {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 30px;
}

/* Formulários */
.form-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #000 0%, #1a1a1a 50%, #000 100%);
  position: relative;
  overflow: hidden;
  /* Melhorando centralização com padding para dispositivos móveis */
  padding: 20px;
}

.form-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 70%, rgba(255, 51, 51, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.auth-box {
  background: rgba(15, 15, 15, 0.95);
  border: 1px solid rgba(255, 51, 51, 0.2);
  border-radius: 20px;
  padding: 45px 40px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  position: relative;
  overflow: hidden;
  max-width: 480px;
  width: 100%;
  /* Garantindo centralização perfeita */
  margin: 0 auto;
  transform: translateY(0);
  transition: all 0.3s ease;
}

.auth-box:hover {
  /* Adicionando efeito hover sutil */
  transform: translateY(-2px);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.auth-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(135deg, #ff3333, #cc0000);
}

.auth-header {
  text-align: center;
  margin-bottom: 35px;
}

.auth-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 15px;
}

.auth-logo img {
  height: 60px;
  width: auto;
  filter: drop-shadow(0 0 10px rgba(255, 51, 51, 0.3));
}

.auth-subtitle {
  color: #999;
  font-size: 1rem;
  margin: 0;
  font-weight: 400;
  line-height: 1.5;
}

.auth-form {
  margin-bottom: 30px;
}

.form-group {
  margin-bottom: 25px;
}

.form-label {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-weight: 600;
  margin-bottom: 8px;
  font-size: 0.95rem;
}

.form-label i {
  color: #ff3333;
  width: 18px;
  font-size: 1.1rem;
}

.form-input {
  width: 100%;
  padding: 16px 20px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: inherit;
  box-sizing: border-box;
}

.form-input:focus {
  outline: none;
  border-color: #ff3333;
  box-shadow: 0 0 0 3px rgba(255, 51, 51, 0.2);
  background: rgba(255, 255, 255, 0.12);
  transform: translateY(-1px);
}

.form-input::placeholder {
  color: #666;
  font-weight: 400;
}

/* Melhorando input de senha com toggle */
.password-input {
  position: relative;
  display: flex;
  align-items: center;
}

.password-input .form-input {
  padding-right: 55px;
}

.password-toggle {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #666;
  cursor: pointer;
  padding: 8px;
  border-radius: 6px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.password-toggle:hover {
  color: #ff3333;
  background: rgba(255, 51, 51, 0.1);
}

/* Melhorando layout de duas colunas no registro */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 25px;
}

/* Melhorando checkbox de termos */
.terms-checkbox {
  margin-bottom: 30px;
}

.terms-checkbox label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #ccc;
  font-size: 0.9rem;
  line-height: 1.6;
  cursor: pointer;
}

.terms-checkbox input[type="checkbox"] {
  margin-top: 3px;
  transform: scale(1.2);
  accent-color: #ff3333;
  cursor: pointer;
}

.terms-link {
  color: #ff3333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.terms-link:hover {
  color: #fff;
  text-decoration: underline;
}

/* Melhorando opções do formulário */
.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 15px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #ccc;
  font-size: 0.9rem;
  cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
  margin: 0;
  transform: scale(1.1);
  accent-color: #ff3333;
  cursor: pointer;
}

.forgot-link {
  color: #ff3333;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
}

.forgot-link:hover {
  color: #fff;
}

/* Melhorando footer da autenticação */
.auth-footer {
  text-align: center;
}

.auth-footer p {
  color: #ccc;
  margin-bottom: 20px;
  font-size: 0.95rem;
}

.auth-link {
  color: #ff3333;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.auth-link:hover {
  color: #fff;
}

.auth-divider {
  margin: 25px 0;
  position: relative;
  text-align: center;
}

.auth-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.auth-divider span {
  background: rgba(15, 15, 15, 0.95);
  padding: 0 20px;
  color: #666;
  font-size: 0.9rem;
  position: relative;
}

/* Logout Page */
.logout-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

.logout-content {
  max-width: 500px;
}

.logout-content h1 {
  color: #fff;
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.logout-content p {
  color: #ccc;
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.logout-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

.logout-buttons .btn {
  width: 100%;
  max-width: 300px;
}

/* Profile Page Styles */
.profile-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 40px;
  margin-bottom: 40px;
  backdrop-filter: blur(15px);
  transition: all 0.3s ease;
}

.profile-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 30px;
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.profile-avatar {
  width: 100px;
  height: 100px;
  background: linear-gradient(135deg, #ff3333, #ff6666);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  font-weight: 700;
  color: white;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  box-shadow: 0 10px 30px rgba(255, 51, 51, 0.3);
}

.profile-info h2 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: #fff;
}

.profile-email {
  color: #ccc;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

.profile-email i {
  color: #ff3333;
}

.profile-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
}

.stat-item {
  text-align: center;
  padding: 25px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 15px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.stat-item:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-3px);
}

.stat-item i {
  font-size: 2.5rem;
  color: #ff3333;
  margin-bottom: 15px;
  display: block;
}

.stat-item h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: #fff;
}

.stat-item p {
  color: #ccc;
  font-size: 1rem;
  font-weight: 500;
}

.list-count {
  color: #ff3333;
  font-weight: 600;
  font-size: 1rem;
}

.empty-state {
  text-align: center;
  padding: 80px 40px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 20px;
  border: 2px dashed rgba(255, 255, 255, 0.1);
}

.empty-state i {
  font-size: 4rem;
  color: #666;
  margin-bottom: 25px;
  display: block;
}

.empty-state h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #fff;
}

.empty-state p {
  color: #ccc;
  font-size: 1.1rem;
  margin-bottom: 30px;
}

.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

/* Adicionando estilos completos para o footer */
.footer {
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 60px 0 30px;
  margin-top: 80px;
  position: relative;
}

.footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, #ff3333, transparent);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  align-items: center;
  text-align: center;
}

.footer-links {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
}

.footer-links a {
  color: #ccc;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 8px 16px;
  border-radius: 8px;
  position: relative;
}

.footer-links a:hover {
  color: #ff3333;
  background: rgba(255, 51, 51, 0.1);
  transform: translateY(-2px);
}

.footer-social {
  display: flex;
  gap: 20px;
  justify-content: center;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: rgba(255, 255, 255, 0.1);
  color: #ccc;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.footer-social a:hover {
  background: #ff3333;
  color: #fff;
  transform: translateY(-3px) scale(1.1);
  box-shadow: 0 8px 25px rgba(255, 51, 51, 0.3);
}

.footer-copyright {
  color: #888;
  font-size: 0.9rem;
}

.footer-copyright p {
  margin: 0;
  opacity: 0.8;
}

/* Enhanced Responsive Design */
@media (max-width: 1200px) {
  .hero-title {
    font-size: 3.5rem;
  }

  .content-section {
    padding: 50px 30px;
  }
}

@media (max-width: 768px) {
  .header {
    padding: 15px 20px;
  }

  .nav-left {
    gap: 20px;
  }

  .nav-links {
    display: none;
  }

  .logo {
    font-size: 1.5rem;
  }

  .logo i {
    font-size: 1.7rem;
  }

  .search-input {
    width: 200px;
  }

  .search-input:focus {
    width: 220px;
  }

  .user-menu {
    gap: 8px;
  }

  .user-menu .btn {
    padding: 10px 15px;
    font-size: 0.9rem;
  }

  .form-container {
    padding: 15px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .auth-box {
    padding: 35px 25px;
    max-width: 100%;
    margin: 0;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .form-container {
    padding: 10px;
  }

  .auth-box {
    padding: 30px 20px;
    border-radius: 15px;
  }

  .form-input {
    padding: 14px 16px;
  }

  .btn-large {
    padding: 16px 25px;
    font-size: 1rem;
  }

  .logo {
    font-size: 1.3rem;
  }

  .user-menu .btn {
    padding: 8px 12px;
    font-size: 0.85rem;
  }
}

/* Loading States */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.loading-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(255, 51, 51, 0.3);
  border-top-color: #ff3333;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* Alertas */
.alert {
  padding: 20px 25px;
  border-radius: 15px;
  margin-bottom: 25px;
  font-weight: 500;
  border: 1px solid;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  gap: 15px;
  animation: slideInDown 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
}

.alert::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
}

.alert-success {
  background: rgba(40, 167, 69, 0.15);
  border-color: rgba(40, 167, 69, 0.3);
  color: #28a745;
}

.alert-success::before {
  background: #28a745;
}

.alert-error {
  background: rgba(220, 53, 69, 0.15);
  border-color: rgba(220, 53, 69, 0.3);
  color: #dc3545;
}

.alert-error::before {
  background: #dc3545;
}

.alert i {
  font-size: 1.3rem;
  opacity: 0.9;
}

/* Skeleton Loading */
.skeleton {
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.05) 25%,
    rgba(255, 255, 255, 0.15) 50%,
    rgba(255, 255, 255, 0.05) 75%
  );
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s ease-in-out infinite;
}

@keyframes skeleton-loading {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}

/* Tooltips */
.tooltip {
  position: relative;
  display: inline-block;
}

.tooltip::before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.9);
  color: #fff;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  z-index: 1000;
}

.tooltip::after {
  content: "";
  position: absolute;
  bottom: 115%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: rgba(0, 0, 0, 0.9);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.tooltip:hover::before,
.tooltip:hover::after {
  opacity: 1;
  visibility: visible;
}

/* Acessibilidade */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Animations and Transitions */
.fade-in {
  animation: fadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-up {
  animation: slideUp 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Mobile Sidebar Toggle */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #ff3333, #cc0000);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  box-shadow: 0 10px 25px rgba(255, 51, 51, 0.3);
  z-index: 1001;
  transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
  transform: scale(1.1);
  box-shadow: 0 15px 35px rgba(255, 51, 51, 0.4);
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* Container Principal */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Seção de Configuração */
.setup-section {
  padding: 80px 20px;
  background: rgba(255, 255, 255, 0.05);
  margin: 50px 0;
}

.setup-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 15px;
  padding: 40px;
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  backdrop-filter: blur(10px);
}

.setup-card h2 {
  color: #ff3333;
  margin-bottom: 20px;
  font-size: 2rem;
}

.setup-card h2 i {
  margin-right: 10px;
}

.setup-card p {
  color: #ccc;
  margin-bottom: 30px;
  font-size: 1.1rem;
}

.setup-steps {
  text-align: left;
}

.setup-steps ol {
  list-style: none;
  counter-reset: step-counter;
  padding: 0;
}

.setup-steps li {
  counter-increment: step-counter;
  margin-bottom: 20px;
  position: relative;
  padding-left: 60px;
}

.setup-steps li::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  background: #ff3333;
  color: #fff;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.1rem;
}

.setup-link {
  color: #ff3333;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 10px;
  transition: color 0.3s ease;
}

.setup-link:hover {
  color: #fff;
}

.setup-text {
  color: #ccc;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Responsividade do footer */
@media (max-width: 768px) {
  .footer-content {
    grid-template-columns: 1fr;
    gap: 30px;
    text-align: center;
  }

  .footer-links {
    gap: 20px;
  }

  .footer-links a {
    padding: 6px 12px;
    font-size: 0.9rem;
  }

  .footer-social a {
    width: 40px;
    height: 40px;
  }

  .carousel-nav {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .carousel-nav.prev {
    left: -20px;
  }

  .carousel-nav.next {
    right: -20px;
  }
}
