:root {
  --primary: #203850;
  --secondary: #394e64;
  --accent: #203850;
  --light: #ffffff;
  --dark: #000000;
  --gray: #757575;
  --success: #4caf50;
  --error: #f44336;
  --background: #f5f5f5;
  --card-bg: #ffffff;
  --border: #e0e0e0;
}

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

/* Import da fonte Futura Extra Bold */
@import url("https://fonts.cdnfonts.com/css/futura-pt");

body {
  font-family: "Futura PT", "Futura", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: var(--background);
  color: var(--dark);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* Aplicar Futura Extra Bold em elementos específicos */
.logo {
  font-family: "Futura PT Heavy", "Futura", sans-serif;
  font-weight: 800;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Futura PT Demi", "Futura", sans-serif;
  font-weight: 700;
}

.btn {
  font-family: "Futura PT", "Futura", sans-serif;
  font-weight: 600;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
header {
  display: none;
  background: var(--primary);
  color: var(--light);
  padding: 10px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 5vw;
  font-weight: bold;
}

.logo i {
  font-size: 1.8rem;
  color: var(--light);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 20px;
}

nav a {
  color: var(--light);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
  padding: 8px 12px;
  border-radius: 4px;
}

nav a:hover,
nav a.active {
  color: var(--light);
  background: var(--primary);
}

/* Auth Section - Adicionar imagem de fundo */
.auth-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-grow: 1;
  padding: 40px 0;
  background-image: url("images.jpeg");
  background-size: cover;
  background-position: absolute;
  background-repeat: no-repeat;
  position: relative;
}

/* Overlay escuro para melhor contraste */
.auth-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3); /* Overlay escuro para contraste */
  z-index: 1;
}

.auth-card {
  background: rgba(255, 255, 255, 0.5); /* Transparência no formulário */
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  padding: 30px;
  width: 100%;
  max-width: 450px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(5px); /* Efeito de desfoque no fundo */
  -webkit-backdrop-filter: blur(5px); /* Para Safari */
  position: relative;
  z-index: 2; /* Ficar acima do overlay */
}

/* Melhorar legibilidade dos textos */
.auth-tabs {
  display: flex;
  margin-bottom: 20px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1); /* Borda mais suave */
}

.auth-tab {
  padding: 10px 20px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s;
  color: var(--dark); /* Cor mais escura para melhor contraste */
}

.auth-tab.active {
  color: var(--primary);
  border-bottom: 2px solid var(--primary);
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
  color: var(--dark); /* Cor mais escura para melhor contraste */
}

.auth-form {
  display: none;
}

.auth-form.active {
  display: block;
}

.form-group {
  margin-bottom: 20px;
}

.form-control {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
  transition: border 0.3s;
  background: var(--light);
}

.form-control:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 2px rgba(14, 41, 75, 0.2);
}

.btn {
  display: inline-block;
  background: var(--primary);
  color: var(--light);
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  width: 100%;
}

.btn:hover {
  background: var(--secondary);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(14, 41, 75, 0.3);
}

/* Main Content */
.main-content {
  width: 100%;
  display: none;
  flex-grow: 1;
  padding: 0px 0;
}

.videos-section {
  margin-top: 20px;
}

.videos-section h2 {
  margin-bottom: 20px;
  color: var(--dark);
  font-size: 1.8rem;
}

.video-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  margin: 10px;
}

@media (max-width: 300px) {
  .video-list {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

@media (min-width: 301px) and (max-width: 480px) {
  .video-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
}

@media (min-width: 481px) and (max-width: 768px) {
  .video-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .video-list {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
  }
}

@media (min-width: 1025px) and (max-width: 1440px) {
  .video-list {
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
  }
}

@media (min-width: 1441px) and (max-width: 1919px) {
  .video-list {
    grid-template-columns: repeat(6, 1fr);
    gap: 25px;
  }
}

/* Para telas muito grandes */
@media (min-width: 1920px) {
  .video-list {
    grid-template-columns: repeat(8, 1fr);
    gap: 25px;
  }
}

.video-card {
  background: var(--card-bg);
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.video-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.video-thumbnail {
  height: 30vw;
  background: #eee;
  position: relative;
  overflow: hidden;
}

.video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}

.video-thumbnail:hover img {
  transform: scale(1.05);
}

.video-info {
  padding: 15px;
  display: flex;
  flex-direction: column;
  height: 14vw; /* Altura fixa para uniformidade */
}

.video-info h3 {
  margin-bottom: 8px;
  font-size: 3vw;
  line-height: 1.4;

  /* Limitar a 2 linhas */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 2.8em; /* Altura mínima para 2 linhas */
}

/* Estilo específico para thumbnails do Spotify */
.platform-logo-overlay .fa-spotify {
  color: #1db954;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Container da thumbnail do Spotify */
.video-thumbnail[data-platform="spotify"] {
  position: relative;
}

.video-thumbnail[data-platform="spotify"]::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(29, 185, 84, 0.1) 0%, rgba(30, 215, 96, 0.1) 100%);
  z-index: 1;
}

/* Loading state para thumbnails do Spotify */
.video-thumbnail[data-platform="spotify"] .thumbnail-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #1db954;
  font-size: 1.5rem;
  z-index: 2;
}

/* Footer */
footer {
  background: var(--dark);
  color: var(--light);
  padding: 10px;
  margin-top: auto;
}

.copyright {
  text-align: center;
  color: #aaa;
  font-size: 0.9rem;
}

/* Diálogo para adicionar vídeo */
.dialog {
  display: none;
  position: fixed;
  z-index: 10000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  align-items: center;
  justify-content: center;
}

.dialog[style*="display: flex"] {
  display: flex !important;
}

.dialog-content {
  background: var(--card-bg);
  border-radius: 12px;
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.dialog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid var(--border);
  background: var(--primary);
  color: var(--light);
  border-radius: 12px 12px 0 0;
  font-weight: 600;
}

.dialog-header h3 {
  margin: 0;
  color: var(--light);
}

.dialog-body {
  padding: 20px;
}

.dialog-actions {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 20px;
}

.btn-primary {
  background: var(--primary);
  color: var(--light);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: auto;
  padding: 12px 25px;
  font-weight: 700;
}

.btn-secondary {
  background: var(--gray);
  color: white;
}

.btn-secondary:hover {
  background: #666;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: var(--success);
  color: white;
  padding: 15px 20px;
  border-radius: 5px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 3000;
  max-width: 300px;
}

.toast.show {
  transform: translateX(0);
}

.toast-success {
  background: var(--success);
}

.toast-info {
  background: var(--primary);
  color: var(--light);
}

.toast-error {
  background: var(--error);
}

/* Responsive */
@media (max-width: 300px) {
  .header-content {
    gap: 15px;
  }

  nav ul {
    gap: 15px;
  }
}

@media (max-width: 480px) {
  .auth-card {
    padding: 20px;
  }

  .dialog-content {
    width: 95%;
    margin: 10px;
  }

  .dialog-actions {
    flex-direction: column;
  }
}

/* Loading state */
.loading {
  text-align: center;
  padding: 20px;
  color: var(--primary);
  grid-column: 1 / -1;
  font-weight: 600;
}

/* Platform-specific colors */
.spotify {
  color: #1db954;
}
.youtube {
  color: #ff0000;
}
.tiktok {
  color: #000000;
}
.instagram {
  color: #e4405f;
}
.facebook {
  color: #1877f2;
}
.kwai {
  color: #ff7700;
}

.pix-waiting-content {
  text-align: center;
  padding: 10px;
}

.pix-qrcode-container {
  margin: 15px 0;
  display: flex;
  justify-content: center;
}

.pix-qrcode-container img {
  max-width: 200px;
  border: 1px solid #ddd;
  border-radius: 8px;
}

.pix-code-container {
  margin: 15px 0;
}

.pix-code {
  background: #f5f5f5;
  padding: 10px;
  border-radius: 5px;
  word-break: break-all;
  font-family: monospace;
  margin-bottom: 10px;
  font-size: 0.9rem;
}

/* Estilos para o diálogo de resultado do PIX */
.pix-display-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 20px 0;
}

@media (min-width: 768px) {
  .pix-display-section {
    flex-direction: row;
    gap: 30px;
  }

  .pix-qrcode-container,
  .pix-code-section {
    flex: 1;
  }
}

.pix-qrcode-container,
.pix-code-section {
  text-align: center;
  padding: 15px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 10px;
  border: 1px solid rgba(32, 56, 80, 0.1);
}

.pix-qrcode-container h5,
.pix-code-section h5 {
  color: var(--primary);
  margin-bottom: 15px;
  font-size: 1rem;
}

.instructions-card {
  background: rgba(76, 175, 80, 0.1);
  padding: 15px;
  border-radius: 10px;
  border-left: 4px solid #4caf50;
  margin: 20px 0;
}

.instructions-card h6 {
  color: #2e7d32;
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.success-message {
  text-align: center;
  margin-bottom: 20px;
}

.success-message h4 {
  color: #2e7d32;
  margin: 10px 0;
}

/* Estilo para o menu hamburger */
#nav-menu {
  font-size: 1.5rem;
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

#nav-menu:hover {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

/* Ajuste no header para centralizar melhor */
.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 10px;
}

/* Estilo para o título da seção de vídeos */
.videos-section h2 {
  margin-bottom: 30px;
  color: var(--dark);
  font-size: 1.2rem;
  font-weight: 800;
  text-align: center;
  position: relative;
  padding-bottom: 15px;
}

.videos-section h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--primary) 50%, transparent 100%);
}

.videos-section h2 span {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Estilos modernos para os diálogos */
.dialog-content {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 20px;
  width: 95%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  position: relative;
  overflow: hidden;
}

.dialog-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
  z-index: 1;
}

.dialog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 30px 15px;
  background: transparent;
  border-bottom: 1px solid rgba(32, 56, 80, 0.1);
  border-radius: 20px 20px 0 0;
  position: relative;
}

.dialog-header h3 {
  margin: 0;
  color: var(--primary);
  font-size: 1.4rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 12px;
}

.dialog-header .close {
  background: rgba(32, 56, 80, 0.1);
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--primary);
  font-size: 20px;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.dialog-header .close:hover {
  background: rgba(32, 56, 80, 0.2);
  transform: rotate(90deg);
}

.dialog-body {
  padding: 0 30px 30px;
}

/* Cartão de custo moderno */
.points-cost-card {
  background: linear-gradient(135deg, rgba(32, 56, 80, 0.05) 0%, rgba(57, 78, 100, 0.05) 100%);
  border: 1px solid rgba(32, 56, 80, 0.1);
  border-radius: 16px;
  padding: 20px;
  margin: 25px 0;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.points-cost-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
}

.cost-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.cost-item {
  text-align: center;
  padding: 15px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.cost-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(32, 56, 80, 0.1);
}

.cost-icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 10px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.cost-icon.time {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
}

.cost-icon.points {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: white;
}

.cost-value {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 5px;
}

.cost-label {
  font-size: 0.85rem;
  color: var(--gray);
  font-weight: 600;
}

/* Formulários modernos */
.form-group {
  margin-bottom: 25px;
  position: relative;
}

.form-group label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  font-weight: 700;
  color: var(--primary);
  font-size: 0.95rem;
}

.form-control {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid rgba(32, 56, 80, 0.1);
  border-radius: 12px;
  font-size: 1rem;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  font-family: "Futura PT", sans-serif;
}

.form-control:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow:
    0 0 0 3px rgba(32, 56, 80, 0.1),
    0 5px 15px rgba(32, 56, 80, 0.1);
  background: rgba(255, 255, 255, 0.95);
  transform: translateY(-1px);
}

.form-control::placeholder {
  color: rgba(32, 56, 80, 0.4);
}

/* Select personalizado */
select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23203850' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 20px center;
  padding-right: 50px;
}

/* Botões modernos */
.dialog-actions {
  display: flex;
  gap: 15px;
  justify-content: flex-end;
  margin-top: 30px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--light);
  border: none;
  padding: 16px 30px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow:
    0 4px 15px rgba(32, 56, 80, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  position: relative;
  overflow: hidden;
}

.btn-primary::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-primary:hover::before {
  left: 100%;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow:
    0 8px 25px rgba(32, 56, 80, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-secondary {
  background: rgba(32, 56, 80, 0.1);
  color: var(--primary);
  border: 2px solid rgba(32, 56, 80, 0.2);
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background: rgba(32, 56, 80, 0.2);
  border-color: rgba(32, 56, 80, 0.3);
  transform: translateY(-1px);
}

/* Animações de entrada */
@keyframes dialogSlideIn {
  from {
    opacity: 0;
    transform: scale(0.8) translateY(-20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.dialog-content {
  animation: dialogSlideIn 0.3s ease-out;
}

/* Efeito de glass morphism para o overlay do dialog */
.dialog {
  backdrop-filter: blur(5px);
  background: rgba(0, 0, 0, 0.5);
}

/* Responsividade para telas pequenas */
@media (max-width: 480px) {
  .dialog-content {
    width: 95%;
    margin: 10px;
    border-radius: 16px;
  }

  .dialog-header {
    padding: 20px 20px 15px;
  }

  .dialog-body {
    padding: 0 20px 20px;
  }

  .dialog-header h3 {
    font-size: 1.2rem;
  }

  .cost-info-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .cost-item {
    padding: 12px;
  }

  .cost-icon {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .form-control {
    padding: 14px 16px;
  }

  .dialog-actions {
    flex-direction: column;
    gap: 10px;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
    padding: 14px 20px;
  }
}

@media (max-width: 320px) {
  .dialog-content {
    width: 98%;
    margin: 5px;
  }

  .dialog-header {
    padding: 15px 15px 10px;
  }

  .dialog-body {
    padding: 0 15px 15px;
  }

  .points-cost-card {
    padding: 15px;
    margin: 20px 0;
  }
}

/* Estados de loading */
.btn-primary.loading {
  position: relative;
  color: transparent;
}

.btn-primary.loading::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  top: 50%;
  left: 50%;
  margin: -10px 0 0 -10px;
  border: 2px solid transparent;
  border-top: 2px solid white;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Validação visual */
.form-control.invalid {
  border-color: var(--error);
  box-shadow: 0 0 0 3px rgba(244, 67, 54, 0.1);
}

.form-control.valid {
  border-color: var(--success);
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

/* Efeito de foco melhorado */
.form-group:focus-within label {
  color: var(--secondary);
  transform: translateX(5px);
}

/* Transições suaves */
.form-group,
.btn-primary,
.btn-secondary,
.dialog-header .close {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Melhorar a legibilidade em fundos claros */
.dialog-content {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
}

/* Sombra mais suave para modo claro */
@media (prefers-color-scheme: light) {
  .dialog-content {
    box-shadow:
      0 25px 50px rgba(0, 0, 0, 0.15),
      0 0 0 1px rgba(255, 255, 255, 0.9);
  }
}

/* Container do dialog com scroll adaptável */
.dialog-content {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border-radius: 20px;
  width: 95%;
  max-width: 500px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow:
    0 20px 40px rgba(0, 0, 0, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  position: relative;
  display: flex;
  flex-direction: column;
}

/* Header fixo no topo */
.dialog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 25px 30px 15px;
  background: transparent;
  border-bottom: 1px solid rgba(32, 56, 80, 0.1);
  border-radius: 20px 20px 0 0;
  position: sticky;
  top: 0;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  z-index: 10;
  backdrop-filter: blur(10px);
  flex-shrink: 0;
}

/* Corpo do dialog com scroll */
.dialog-body {
  padding: 0 30px 30px;
  flex: 1;
  overflow-y: auto;
  scroll-behavior: smooth;
}

/* Scrollbar personalizada para o dialog */
.dialog-body::-webkit-scrollbar {
  width: 6px;
}

.dialog-body::-webkit-scrollbar-track {
  background: rgba(32, 56, 80, 0.05);
  border-radius: 3px;
}

.dialog-body::-webkit-scrollbar-thumb {
  background: rgba(32, 56, 80, 0.2);
  border-radius: 3px;
}

.dialog-body::-webkit-scrollbar-thumb:hover {
  background: rgba(32, 56, 80, 0.4);
}

/* Indicador de scroll para telas pequenas */
.scroll-indicator {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(32, 56, 80, 0.8);
  color: white;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  display: none;
  align-items: center;
  gap: 8px;
  z-index: 5;
  backdrop-filter: blur(10px);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-5px);
  }
  60% {
    transform: translateX(-50%) translateY(-3px);
  }
}

/* Estados especiais para telas muito pequenas */
@media (max-width: 480px) {
  .dialog {
    align-items: flex-start;
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .dialog-content {
    max-height: 95vh;
    height: auto;
    min-height: 300px;
    margin: 0 auto;
  }

  .dialog-header {
    padding: 20px 20px 15px;
    position: sticky;
    top: 0;
  }

  .dialog-body {
    padding: 0 20px 20px;
    max-height: calc(95vh - 80px);
  }

  /* Mostrar indicador de scroll em telas pequenas */
  .dialog-content:not(.scrolled) .scroll-indicator {
    display: flex;
  }

  /* Ajustes específicos para iPhone SE e telas muito pequenas */
  @media (max-height: 670px) {
    .dialog-content {
      max-height: 98vh;
    }

    .dialog-body {
      max-height: calc(98vh - 70px);
      padding-bottom: 40px; /* Espaço extra para o scroll */
    }

    .points-cost-card {
      margin: 15px 0;
      padding: 15px;
    }

    .form-group {
      margin-bottom: 20px;
    }
  }
}

@media (max-width: 320px) {
  .dialog-content {
    width: 98%;
    margin: 5px auto;
    border-radius: 16px;
  }

  .dialog-header {
    padding: 15px 15px 10px;
  }

  .dialog-body {
    padding: 0 15px 15px;
    max-height: calc(98vh - 60px);
  }

  .form-control {
    padding: 14px 16px;
    font-size: 16px; /* Prevenir zoom no iOS */
  }

  /* Garantir que inputs não sejam cortados */
  .form-group {
    margin-bottom: 15px;
  }
}

/* Melhorias para orientação paisagem em mobile */
@media (max-width: 768px) and (orientation: landscape) {
  .dialog-content {
    max-height: 85vh;
  }

  .dialog-body {
    max-height: calc(85vh - 70px);
  }

  .dialog-header {
    padding: 15px 20px 10px;
  }

  .points-cost-card {
    margin: 15px 0;
    padding: 15px;
  }
}

/* Estilos para quando o conteúdo é muito longo */
.dialog-body.long-content {
  padding-bottom: 50px;
}

@media (max-width: 480px) {
}

/* Efeito de desfoque no header quando scrolado */
.dialog-header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Animações suaves de entrada com scroll */
@keyframes slideUpWithScroll {
  from {
    opacity: 0;
    transform: scale(0.9) translateY(20px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.dialog-content {
  animation: slideUpWithScroll 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Estados de foco para melhor acessibilidade */
.dialog-body:focus {
  outline: none;
}

.dialog-body:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 2px;
}

/* Estilos para a logo da plataforma fixa */
.platform-logo-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  z-index: 2;
}

.platform-logo-icon {
  font-size: 3rem;
  margin-bottom: 10px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.platform-name {
  color: white;
  font-weight: 600;
  font-size: 1rem;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  background: rgba(0, 0, 0, 0.6);
  padding: 4px 12px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
}

/* Cores específicas para cada plataforma */
.platform-logo-overlay .fa-spotify {
  color: #1db954;
  background: linear-gradient(135deg, #1db954 0%, #1ed760 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.platform-logo-overlay .fa-youtube {
  color: #ff0000;
}
.platform-logo-overlay .fa-tiktok {
  color: #000000;
}
.platform-logo-overlay .fa-instagram {
  background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.platform-logo-overlay .fa-facebook {
  color: #1877f2;
}
.platform-logo-overlay .fa-video {
  color: #ff7700;
}

/* Ajuste na thumbnail para garantir que a logo fique visível */
.video-thumbnail {
  position: relative;
  height: 180px;
  background: #eee;
  overflow: hidden;
  cursor: pointer;
}

.video-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.video-thumbnail:hover img {
  transform: scale(1.05);
}

/* Remover o overlay antigo que só aparecia no hover */
.thumbnail-overlay {
  display: none;
}

/* Manter o estilo do play-button apenas como fallback */
.play-button {
  display: none;
}

/* Filtros de Ação */
.action-filters {
  margin: 20px 0;
  padding: 0 10px;
}

.filters-container {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 10px 0;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
}

.filters-container::-webkit-scrollbar {
  display: none; /* Chrome, Safari and Opera */
}

.filter-btn {
  flex: 0 0 auto;
  padding: 12px 20px;
  background: var(--card-bg);
  border: 2px solid var(--border);
  border-radius: 25px;
  color: var(--dark);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  font-family: "Futura PT", sans-serif;
}

.filter-btn:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(32, 56, 80, 0.1);
}

.filter-btn.active {
  background: var(--primary);
  color: var(--light);
  border-color: var(--primary);
  box-shadow: 0 4px 15px rgba(32, 56, 80, 0.3);
}

/* Ajuste na seção de vídeos */
.videos-section {
  margin-top: 10px;
}

.videos-section h2 {
  margin-bottom: 20px;
  color: var(--dark);
  font-size: 1.2rem;
  font-weight: 800;
  text-align: center;
  position: relative;
  padding-bottom: 15px;
}

.videos-section h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 3px;
  background: linear-gradient(90deg, transparent 0%, var(--primary) 50%, transparent 100%);
}

.videos-section h2 span {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Responsividade para os filtros */
@media (max-width: 480px) {
  .action-filters {
    margin: 15px 0;
    padding: 0 5px;
  }

  .filter-btn {
    padding: 10px 16px;
    font-size: 0.9rem;
  }

  .filters-container {
    gap: 8px;
  }
}

@media (max-width: 320px) {
  .filter-btn {
    padding: 8px 12px;
    font-size: 0.85rem;
  }
}

/* ===== SISTEMA DE FILTROS AVANÇADO ===== */
.filter-content {
  position: relative;
  min-height: 400px;
}

.filter-section {
  display: none;
  animation: fadeIn 0.3s ease-in-out;
}

.filter-section.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Estilos para os botões de filtro com ícones */
.filter-btn {
  flex: 0 0 auto;
  padding: 12px 20px;
  background: var(--card-bg);
  border: 2px solid var(--border);
  border-radius: 25px;
  color: var(--dark);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  white-space: nowrap;
  font-family: "Futura PT", sans-serif;
  display: flex;
  align-items: center;
  gap: 8px;
}

.filter-btn i {
  font-size: 0.9rem;
  transition: transform 0.3s ease;
}

.filter-btn:hover i {
  transform: scale(1.1);
}

.filter-btn:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(32, 56, 80, 0.1);
}

.filter-btn.active {
  background: var(--primary);
  color: var(--light);
  border-color: var(--primary);
  box-shadow: 0 4px 15px rgba(32, 56, 80, 0.3);
}

.filter-btn.active i {
  transform: scale(1.1);
}

/* Estados de loading para as listas */
.loading {
  text-align: center;
  padding: 40px 20px;
  color: var(--primary);
  font-weight: 600;
  font-size: 1.1rem;
}

.loading i {
  font-size: 2rem;
  margin-bottom: 15px;
  display: block;
}

.empty-state {
  text-align: center;
  padding: 60px 20px;
  color: var(--gray);
}

.empty-state i {
  font-size: 3rem;
  margin-bottom: 15px;
  opacity: 0.5;
}

.empty-state h3 {
  color: var(--dark);
  margin-bottom: 10px;
}

.empty-state p {
  font-size: 0.95rem;
  max-width: 300px;
  margin: 0 auto;
}

/* Estilos para o botão de recuperação de senha */
.btn-link {
  background: none;
  border: none;
  color: var(--primary);
  cursor: pointer;
  text-decoration: underline;
  font-size: 0.9rem;
  padding: 8px 0;
  transition: color 0.3s ease;
}

.btn-link:hover {
  color: var(--secondary);
  text-decoration: none;
}

.form-footer {
  text-align: center;
  margin-top: 15px;
  padding-top: 15px;
  border-top: 1px solid rgba(32, 56, 80, 0.1);
}

/* Estilos para o formulário de recuperação */
.form-hint {
  font-size: 0.85rem;
  color: var(--gray);
  margin-top: 8px;
  font-style: italic;
}

/* index.css - Adicione no final do arquivo */

/* Correção para thumbnails do Spotify */
.video-thumbnail[data-platform="spotify"] .video-thumbnail-img {
  position: relative;
  z-index: 1;
}

.platform-logo-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3); /* Fundo escuro para contraste */
  z-index: 2;
  opacity: 1; /* Garantir que está visível */
  transition: opacity 0.3s ease;
}

.video-thumbnail:hover .platform-logo-overlay {
  opacity: 0.8; /* Leve transparência no hover */
}

/* Garantir que a imagem do Spotify apareça corretamente */
.video-thumbnail-img.loaded {
  opacity: 1;
}

/* Estado de loading para thumbnails do Spotify */
.video-thumbnail-img.loading {
  opacity: 0.5;
}

/* Estilos para upload de imagem */
.file-hint {
  font-size: 0.85rem;
  color: var(--gray);
  margin-top: 8px;
  font-style: italic;
}

.image-preview {
  margin-top: 15px;
  text-align: center;
  padding: 15px;
  border: 2px dashed var(--border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.5);
}

.image-preview img {
  max-width: 100%;
  max-height: 200px;
  border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

/* Estilo para o input file */
input[type="file"] {
  padding: 12px 15px;
  border: 2px dashed var(--border);
  background: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
}

input[type="file"]:hover {
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.9);
}

input[type="file"]:focus {
  border-color: var(--primary);
  outline: none;
  box-shadow: 0 0 0 3px rgba(32, 56, 80, 0.1);
}

/* Loading state para upload */
.upload-loading {
  position: relative;
  color: transparent;
}

.upload-loading::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  top: 50%;
  left: 50%;
  margin: -10px 0 0 -10px;
  border: 2px solid transparent;
  border-top: 2px solid var(--primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}



















:root {
  /* Cores Spotify */
  --primary: #1DB954;           /* Verde principal do Spotify */
  --secondary: #1ED760;         /* Verde mais claro do Spotify */
  --accent: #191414;           /* Preto do Spotify */
  --light: #FFFFFF;
  --dark: #191414;             /* Preto Spotify */
  --gray: #535353;             /* Cinza Spotify */
  --success: #1DB954;          /* Verde Spotify */
  --error: #E22134;            /* Vermelho Spotify */
  --warning: #FFD700;          /* Amarelo para destaques */
  --background: #121212;       /* Fundo escuro estilo Spotify */
  --card-bg: #181818;         /* Cards estilo Spotify */
  --border: #282828;          /* Bordas escuras */
  --hover-bg: #282828;        /* Hover estilo Spotify */
}

/* Ajustar gradientes para usar o verde Spotify */
.points-cost-card {
  background: linear-gradient(135deg, rgba(29, 185, 84, 0.1) 0%, rgba(30, 215, 96, 0.1) 100%);
  border: 1px solid rgba(29, 185, 84, 0.2);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--dark);
  border: none;
  font-weight: 700;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #1ED760 0%, #1DB954 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(29, 185, 84, 0.4);
}

/* Header com gradiente Spotify */
header {
  background: linear-gradient(135deg, #191414 0%, #121212 100%);
  border-bottom: 1px solid var(--primary);
}

.logo-text {
  background: linear-gradient(135deg, #1DB954 0%, #1ED760 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Cards de vídeo estilo Spotify */
.video-card {
  background: var(--card-bg);
  border-radius: 8px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.video-card:hover {
  background: var(--hover-bg);
  border-color: var(--primary);
  transform: translateY(-4px);
}

/* Botões de filtro */
.filter-btn.active {
  background: var(--primary);
  color: var(--dark);
  font-weight: 700;
}

.filter-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* Drawer estilo Spotify */
.drawer {
  background: linear-gradient(135deg, #191414 0%, #121212 100%);
  border-left: 1px solid var(--primary);
}

.drawer-header {
  background: linear-gradient(135deg, #191414 0%, var(--primary) 100%);
}

/* Seção de pontos com tema Spotify */
.points-section {
  background: linear-gradient(135deg, rgba(29, 185, 84, 0.1) 0%, rgba(30, 215, 96, 0.1) 100%);
  border-left: 4px solid var(--primary);
}

/* Toast messages */
.toast-success {
  background: var(--primary);
  color: var(--dark);
}

.toast-info {
  background: #535353;
  color: var(--light);
}

/* Formulários */
.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(29, 185, 84, 0.1);
}

/* Diálogos */
.dialog-header {
  background: linear-gradient(135deg, #191414 0%, var(--primary) 100%);
  color: var(--dark);
}

/* Carrossel */
.carousel-container {
  background: linear-gradient(135deg, #191414 0%, #121212 100%);
}

/* Contador de usuários online */
.online-users-counter {
  background: rgba(29, 185, 84, 0.1);
  border: 1px solid rgba(29, 185, 84, 0.3);
  color: var(--primary);
}

.online-users-counter i {
  color: var(--primary);
}

#online-users-count {
  color: var(--primary);
}

/* Botão de indicação */
#referral-btn {
  background: linear-gradient(135deg, rgba(156, 39, 176, 0.1) 0%, rgba(29, 185, 84, 0.1) 100%);
  border-color: var(--primary);
  color: var(--primary);
}

#referral-btn:hover {
  background: linear-gradient(135deg, var(--primary) 0%, #9c27b0 100%);
  color: var(--dark);
}

/* Diálogo de indicação */
.referral-banner {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  color: var(--dark);
}











/* Carrossel de Shows */
@media {
  .carousel-section {
    margin-bottom: 30px;
    width: 100%;
  }

  .carousel-container {
    position: relative;
    width: 100%;
    height: 30vw; /* 30% da largura da viewport */
    min-height: 150px; /* Altura mínima */
    max-height: 300px; /* Altura máxima */
    overflow: hidden;
    border-radius: 0px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    background-color: var(--primary);
    transition: background-color 0s ease;
  }

  .carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    pointer-events: none;
  }

  .carousel-slide.active {
    opacity: 1;
    z-index: 2;
    pointer-events: auto;
  }

  /* ALTERAÇÃO: object-fit: fill para preencher completamente sem sobras */
  .carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: fill; /* MUDADO: preenche completamente o container, distorcendo se necessário */
  }

  .carousel-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 20px;
    text-align: center;
  }

  .carousel-caption h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.7);
  }

  .carousel-caption p {
    font-size: 1rem;
    opacity: 0.9;
  }

  .carousel-prev,
  .carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s;
  }

  .carousel-prev:hover,
  .carousel-next:hover {
    background: rgba(0, 0, 0, 0.8);
  }

  .carousel-prev {
    left: 20px;
  }

  .carousel-next {
    right: 20px;
  }

  /* Estilos para slides clicáveis */
  .clickable-slide {
    cursor: pointer;
    transition:
      transform 0.3s ease,
      box-shadow 0.3s ease;
  }

  .clickable-slide:hover {
    transform: scale(1.02);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
  }

  .clickable-slide .carousel-caption {
    background: linear-gradient(transparent, rgba(32, 56, 80, 0.9));
  }

  .clickable-slide .carousel-caption h3 {
    color: #ffd700;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Responsividade do carrossel */
  @media (max-width: 768px) {
    .carousel-container {
      height: 200px; /* Altura menor em mobile */
    }

    .carousel-caption {
      padding: 15px;
    }

    .carousel-caption h3 {
      font-size: 1.2rem;
    }

    .carousel-caption p {
      font-size: 0.9rem;
    }
  }

  @media (max-width: 480px) {
    .carousel-container {
      height: 150px; /* Altura ainda menor em telas pequenas */
    }

    .carousel-caption {
      padding: 10px;
    }

    .carousel-caption h3 {
      font-size: 1rem;
    }

    .carousel-caption p {
      font-size: 0.8rem;
    }

    .carousel-prev,
    .carousel-next {
      width: 30px;
      height: 30px;
    }
  }
}

/* Diálogo de indicação */
@media {
  /* Estilos para o diálogo de indicação */
  .referral-content {
    text-align: center;
  }

  .referral-banner {
    background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
    color: white;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.3);
  }

  .referral-banner i {
    font-size: 2.5rem;
    margin-bottom: 10px;
    display: block;
  }

  .referral-banner h4 {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
  }

  .referral-steps {
    margin-bottom: 25px;
    text-align: left;
  }

  .referral-steps h5 {
    color: var(--primary);
    margin-bottom: 15px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .steps-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .step {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 10px;
    border-left: 4px solid var(--primary);
  }

  .step-number {
    background: var(--primary);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
  }

  .step-content {
    flex: 1;
  }

  .step-content strong {
    color: var(--primary);
    display: block;
    margin-bottom: 5px;
  }

  .step-content p {
    margin: 0;
    color: var(--gray);
    font-size: 0.9rem;
  }

  .referral-link-section {
    margin-bottom: 25px;
  }

  .referral-link-section label {
    display: block;
    margin-bottom: 10px;
    color: var(--primary);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  .referral-link-container {
    display: flex;
    gap: 10px;
  }

  .referral-link-container input {
    flex: 1;
    background: #f8f9fa;
    border: 2px solid var(--border);
  }

  .referral-link-container .btn {
    width: auto;
    padding: 12px 15px;
    flex-shrink: 0;
  }

  .referral-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
  }

  .referral-actions .btn {
    width: auto;
    padding: 12px 20px;
    flex: 1;
  }

  /* Responsividade */
  @media (max-width: 480px) {
    .referral-banner {
      padding: 15px;
    }

    .referral-banner h4 {
      font-size: 1.1rem;
    }

    .step {
      padding: 12px;
    }

    .referral-link-container {
      flex-direction: column;
    }

    .referral-actions {
      flex-direction: column;
    }
  }
}

/* Drawer Moderno e Responsivo */
@media {
  .drawer {
    position: fixed;
    top: 0;
    right: -420px;
    width: 380px;
    height: 100%;
    background: linear-gradient(135deg, #ffffff 0%, #f5f7fa 100%);
    box-shadow:
      -8px 0 40px rgba(32, 56, 80, 0.2),
      -1px 0 0 1px rgba(255, 255, 255, 0.8);
    transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: 1000;
    overflow: hidden;
    padding: 0;
    color: var(--dark);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-left: 1px solid rgba(255, 255, 255, 0.9);
    display: flex;
    flex-direction: column;
    font-family: "Futura PT", "Segoe UI", sans-serif;
  }

  .drawer.open {
    right: 0;
  }

  /* Barra colorida no topo */
  .drawer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--secondary) 100%);
    z-index: 11;
  }

  /* Header do Drawer - Fixo */
  .drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 25px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--light);
    position: sticky;
    top: 0;
    z-index: 10;
    flex-shrink: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    height: 70px;
    min-height: 70px;
    box-shadow: 0 4px 15px rgba(32, 56, 80, 0.1);
  }

  .drawer-header h3 {
    color: var(--light);
    margin: 0;
    font-size: 1.3rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: "Futura PT Demi", sans-serif;
    letter-spacing: -0.5px;
  }

  .drawer-header i {
    font-size: 1.5rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
  }

  .close-drawer {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--light);
    font-size: 24px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    flex-shrink: 0;
  }

  .close-drawer:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  }

  /* Conteúdo do Drawer com Scroll */
  .drawer-content {
    flex: 1;
    overflow-y: auto;
    padding: 0;
    scroll-behavior: smooth;
    background: linear-gradient(135deg, #ffffff 0%, #f5f7fa 100%);
    display: flex;
    flex-direction: column;
  }

  /* Scrollbar personalizada */
  .drawer-content::-webkit-scrollbar {
    width: 6px;
  }

  .drawer-content::-webkit-scrollbar-track {
    background: rgba(32, 56, 80, 0.05);
    border-radius: 3px;
  }

  .drawer-content::-webkit-scrollbar-thumb {
    background: rgba(32, 56, 80, 0.2);
    border-radius: 3px;
    transition: background 0.3s ease;
  }

  .drawer-content::-webkit-scrollbar-thumb:hover {
    background: rgba(32, 56, 80, 0.4);
  }

  /* ===== SEÇÃO DO PERFIL COM AVATAR ===== */
  .profile-section {
    padding: 20px 25px;
    background: linear-gradient(135deg, rgba(32, 56, 80, 0.08) 0%, rgba(57, 78, 100, 0.08) 100%);
    border-bottom: 1px solid rgba(32, 56, 80, 0.1);
    display: flex;
    gap: 15px;
    align-items: flex-start;
  }

  .profile-avatar {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(32, 56, 80, 0.2);
    font-weight: 800;
    overflow: hidden;
  }

  .profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .profile-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
  }

  .profile-name {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--dark);
    font-family: "Futura PT Demi", sans-serif;
    line-height: 1.2;
    word-break: break-word;
  }

  .profile-email {
    font-size: 0.8rem;
    color: var(--gray);
    font-family: "Futura PT", sans-serif;
    word-break: break-all;
  }

  .profile-id {
    font-size: 0.75rem;
    color: rgba(32, 56, 80, 0.6);
    font-family: monospace;
    background: rgba(32, 56, 80, 0.08);
    padding: 4px 8px;
    border-radius: 4px;
    word-break: break-all;
  }

  /* ===== SEÇÃO DE PONTOS ===== */
  .points-section {
    padding: 20px 25px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.08) 0%, rgba(255, 237, 74, 0.08) 100%);
    border-left: 4px solid #ffd700;
    margin: 10px 25px;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
  }

  .points-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #ffd700 0%, #ffed4e 100%);
  }

  .points-label {
    font-size: 0.85rem;
    color: var(--gray);
    font-weight: 600;
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
  }

  .points-label i {
    color: #ffd700;
    font-size: 0.95rem;
  }

  .points-value {
    font-size: 2rem;
    font-weight: 800;
    color: #d4a600;
    font-family: "Futura PT Demi", sans-serif;
    display: flex;
    align-items: baseline;
    gap: 8px;
  }

  .points-value i {
    font-size: 1.8rem;
    animation: pulse 2s infinite;
  }

  @keyframes pulse {
    0%,
    100% {
      opacity: 1;
      transform: scale(1);
    }
    50% {
      opacity: 0.7;
      transform: scale(1.1);
    }
  }

  /* ===== SEÇÃO DE INFORMAÇÕES ===== */
  .info-section {
    padding: 15px 25px;
    flex: 1;
    overflow-y: auto;
  }

  .info-section h4 {
    font-size: 0.9rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: "Futura PT Demi", sans-serif;
  }

  .info-section h4 i {
    font-size: 1rem;
  }

  /* Points Info Card */
  .points-info {
    background: linear-gradient(135deg, rgba(32, 56, 80, 0.08) 0%, rgba(57, 78, 100, 0.08) 100%);
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 12px;
    border: 1px solid rgba(32, 56, 80, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
  }

  .points-info p {
    color: var(--dark);
    font-size: 0.8rem;
    margin-bottom: 8px;
    line-height: 1.5;
    font-family: "Futura PT", sans-serif;
  }

  .points-info p:last-child {
    margin-bottom: 0;
  }

  .points-info strong {
    color: var(--primary);
    font-weight: 800;
  }

  /* ===== SEÇÃO DE AÇÕES (FOOTER) ===== */
  .drawer-actions-section {
    padding: 20px 25px;
    background: linear-gradient(135deg, rgba(32, 56, 80, 0.04) 0%, rgba(57, 78, 100, 0.04) 100%);
    border-top: 1px solid rgba(32, 56, 80, 0.1);
    flex-shrink: 0;
  }

  .drawer-actions-title {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: "Futura PT Demi", sans-serif;
  }

  .drawer-actions {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .drawer-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(248, 249, 250, 0.8) 100%);
    border: 2px solid rgba(32, 56, 80, 0.15);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 700;
    color: var(--primary);
    font-size: 0.85rem;
    text-align: left;
    font-family: "Futura PT", sans-serif;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
  }

  .drawer-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
    z-index: 0;
  }

  .drawer-btn:hover::before {
    left: 100%;
  }

  .drawer-btn:hover {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--light);
    border-color: var(--primary);
    transform: translateX(6px);
    box-shadow: 0 5px 15px rgba(32, 56, 80, 0.25);
  }

  .drawer-btn:hover i {
    color: var(--light);
    transform: scale(1.1);
  }

  .drawer-btn i {
    width: 16px;
    text-align: center;
    font-size: 0.95rem;
    color: var(--primary);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
  }

  .drawer-btn span {
    position: relative;
    z-index: 1;
  }

  #buy-points-btn {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.15) 0%, rgba(255, 237, 74, 0.15) 100%);
    border-color: rgba(255, 215, 0, 0.3);
    color: #d4a600;
  }

  #buy-points-btn i {
    color: #d4a600;
  }

  #buy-points-btn:hover {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #000;
    border-color: #ffd700;
  }

  #buy-points-btn:hover i {
    color: #000;
  }

  #add-video-btn,
  #add-event-btn {
    background: linear-gradient(135deg, rgba(33, 150, 243, 0.1) 0%, rgba(25, 118, 210, 0.1) 100%);
    border-color: rgba(33, 150, 243, 0.3);
    color: #2196f3;
  }

  #add-video-btn i,
  #add-event-btn i {
    color: #2196f3;
  }

  #add-video-btn:hover,
  #add-event-btn:hover {
    background: linear-gradient(135deg, #2196f3 0%, #1976d2 100%);
    color: white;
    border-color: #2196f3;
  }

  #add-video-btn:hover i,
  #add-event-btn:hover i {
    color: white;
  }

  /* Indicador de Scroll */
  .drawer-scroll-indicator {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(32, 56, 80, 0.9);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    display: none;
    align-items: center;
    gap: 8px;
    z-index: 5;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    animation: bounce 2s infinite;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(32, 56, 80, 0.2);
  }

  @keyframes bounce {
    0%,
    20%,
    50%,
    80%,
    100% {
      transform: translateX(-50%) translateY(0);
    }
    40% {
      transform: translateX(-50%) translateY(-5px);
    }
    60% {
      transform: translateX(-50%) translateY(-3px);
    }
  }

  /* RESPONSIVIDADE - Mobile */
  @media (max-width: 480px) {
    .drawer {
      width: 100%;
      right: -100%;
      border-radius: 0;
      border-left: none;
    }

    .drawer-header {
      padding: 0 20px;
      height: 60px;
      min-height: 60px;
    }

    .drawer-header h3 {
      font-size: 1.15rem;
    }

    .profile-section {
      padding: 15px 20px;
      gap: 12px;
    }

    .profile-avatar {
      width: 60px;
      height: 60px;
      font-size: 1.7rem;
    }

    .profile-name {
      font-size: 1rem;
    }

    .profile-email {
      font-size: 0.75rem;
    }

    .points-section {
      margin: 8px 20px;
      padding: 12px;
    }

    .points-value {
      font-size: 1.7rem;
    }

    .info-section {
      padding: 12px 20px;
    }

    .drawer-actions-section {
      padding: 15px 20px;
    }

    .drawer-btn {
      padding: 10px 12px;
      font-size: 0.8rem;
      gap: 10px;
    }

    .drawer-btn:hover {
      transform: translateX(4px);
    }

    .drawer-btn i {
      font-size: 0.9rem;
      width: 14px;
    }

    .info-section:not(.scrolled) .drawer-scroll-indicator {
      display: flex;
    }
  }

  @media (max-width: 320px) {
    .drawer-header {
      padding: 0 15px;
      height: 56px;
      min-height: 56px;
    }

    .drawer-header h3 {
      font-size: 1rem;
      gap: 8px;
    }

    .profile-section {
      padding: 12px 15px;
      gap: 10px;
    }

    .profile-avatar {
      width: 55px;
      height: 55px;
      font-size: 1.5rem;
    }

    .profile-name {
      font-size: 0.95rem;
    }

    .profile-email {
      font-size: 0.7rem;
    }

    .points-section {
      margin: 8px 15px;
      padding: 10px;
    }

    .points-value {
      font-size: 1.5rem;
    }

    .info-section {
      padding: 10px 15px;
    }

    .drawer-actions-section {
      padding: 12px 15px;
    }

    .drawer-btn {
      padding: 9px 10px;
      font-size: 0.75rem;
      gap: 8px;
    }

    .drawer-btn i {
      font-size: 0.85rem;
      width: 12px;
    }
  }

  /* Paisagem Mobile */
  @media (max-width: 768px) and (orientation: landscape) {
    .drawer-header {
      height: 56px;
      min-height: 56px;
    }

    .profile-section {
      padding: 12px 20px;
      gap: 12px;
    }

    .profile-avatar {
      width: 50px;
      height: 50px;
      font-size: 1.4rem;
    }

    .points-section {
      margin: 8px 20px;
      padding: 10px;
    }

    .points-value {
      font-size: 1.5rem;
    }

    .drawer-actions {
      gap: 8px;
    }

    .drawer-btn {
      padding: 8px 10px;
      font-size: 0.75rem;
    }
  }

  /* Animações de Entrada */
  @keyframes drawerSlideIn {
    from {
      right: -100%;
      opacity: 0;
    }
    to {
      right: 0;
      opacity: 1;
    }
  }

  .drawer.open {
    animation: drawerSlideIn 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  }

  /* Acessibilidade */
  .drawer-btn:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
  }

  .close-drawer:focus {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
  }

  /* Estilos para os novos botões */
  #contact-us-btn {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1) 0%, rgba(69, 160, 73, 0.1) 100%);
    border-color: rgba(76, 175, 80, 0.3);
    color: #4caf50;
  }

  #contact-us-btn i {
    color: #4caf50;
  }

  #contact-us-btn:hover {
    background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
    color: white;
    border-color: #4caf50;
  }

  #contact-us-btn:hover i {
    color: white;
  }

  #referral-btn {
    background: linear-gradient(135deg, rgba(156, 39, 176, 0.1) 0%, rgba(142, 36, 170, 0.1) 100%);
    border-color: rgba(156, 39, 176, 0.3);
    color: #9c27b0;
  }

  #referral-btn i {
    color: #9c27b0;
  }

  #referral-btn:hover {
    background: linear-gradient(135deg, #9c27b0 0%, #8e24aa 100%);
    color: white;
    border-color: #9c27b0;
  }

  #referral-btn:hover i {
    color: white;
  }

  /* ===== SEÇÃO DE AÇÕES (FOOTER) - MODIFICADA PARA GRID 2 COLUNAS ===== */
  .drawer-actions-section {
    padding: 20px 25px;
    background: linear-gradient(135deg, rgba(32, 56, 80, 0.04) 0%, rgba(57, 78, 100, 0.04) 100%);
    border-top: 1px solid rgba(32, 56, 80, 0.1);
    flex-shrink: 0;
  }

  .drawer-actions-title {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: "Futura PT Demi", sans-serif;
  }

  .drawer-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .drawer-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 8px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(248, 249, 250, 0.8) 100%);
    border: 2px solid rgba(32, 56, 80, 0.15);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 700;
    color: var(--primary);
    font-size: 0.75rem;
    text-align: center;
    font-family: "Futura PT", sans-serif;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
    min-height: 70px;
  }

  .drawer-btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
    z-index: 0;
  }

  .drawer-btn:hover::before {
    left: 100%;
  }

  .drawer-btn:hover {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: var(--light);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(32, 56, 80, 0.25);
  }

  .drawer-btn:hover i {
    color: var(--light);
    transform: scale(1.1);
  }

  .drawer-btn i {
    font-size: 1.2rem;
    color: var(--primary);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
  }

  .drawer-btn span {
    position: relative;
    z-index: 1;
    line-height: 1.2;
  }

  /* RESPONSIVIDADE - Mobile */
  @media (max-width: 480px) {
    .drawer-actions-section {
      padding: 15px 20px;
    }

    .drawer-actions {
      gap: 8px;
    }

    .drawer-btn {
      padding: 10px 6px;
      font-size: 0.7rem;
      gap: 6px;
      min-height: 65px;
    }

    .drawer-btn i {
      font-size: 1.1rem;
    }
  }

  @media (max-width: 320px) {
    .drawer-actions-section {
      padding: 12px 15px;
    }

    .drawer-actions {
      gap: 6px;
    }

    .drawer-btn {
      padding: 8px 4px;
      font-size: 0.65rem;
      gap: 5px;
      min-height: 60px;
    }

    .drawer-btn i {
      font-size: 1rem;
    }
  }

  /* Paisagem Mobile */
  @media (max-width: 768px) and (orientation: landscape) {
    .drawer-actions {
      gap: 8px;
    }

    .drawer-btn {
      padding: 8px 6px;
      font-size: 0.7rem;
      min-height: 60px;
    }

    .drawer-btn i {
      font-size: 1rem;
    }
  }
}

/* HEADER MODERNO */
@media {
  header {
    display: none;
    background: var(--primary);
    color: var(--light);
    padding: 0;
    box-shadow: 0 4px 20px rgba(32, 56, 80, 0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    position: relative;
  }

  /* Logo Moderna */
  .logo-wrapper {
    display: flex;
    align-items: center;
  }

  .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 8px 0;
  }

  .logo:hover {
    transform: translateY(-1px);
  }

  .logo-icon {
    font-size: 2rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
  }

  .logo-text {
    font-family: "Futura PT Heavy", "Futura", sans-serif;
    font-weight: 800;
    font-size: 1.8rem;
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    letter-spacing: -0.5px;
  }

  /* Navegação Moderna */
  .nav-modern {
    display: flex;
    align-items: center;
  }

  /* Menu Hamburger Animado */
  .hamburger-menu {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 12px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 4px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
  }

  .hamburger-menu::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
  }

  .hamburger-menu:hover::before {
    left: 100%;
  }

  .hamburger-menu:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  }

  .hamburger-line {
    width: 22px;
    height: 2px;
    background: linear-gradient(135deg, #ffffff 0%, #e0e0e0 100%);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
  }

  .hamburger-menu:hover .hamburger-line:nth-child(1) {
    transform: translateY(1px);
  }

  .hamburger-menu:hover .hamburger-line:nth-child(3) {
    transform: translateY(-1px);
  }

  /* Efeito de gradiente sutil no header */
  .header-gradient {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.4) 50%, transparent 100%);
  }

  /* Estados ativos e animações */
  .hamburger-menu.active .hamburger-line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
  }

  .hamburger-menu.active .hamburger-line:nth-child(2) {
    opacity: 0;
  }

  .hamburger-menu.active .hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
  }

  /* Responsividade */
  @media (max-width: 768px) {
    .header-container {
      padding: 0 15px;
      height: 60px;
    }

    .logo {
      gap: 10px;
    }

    .logo-icon {
      font-size: 1.7rem;
    }

    .logo-text {
      font-size: 1.5rem;
    }

    .hamburger-menu {
      padding: 10px;
    }

    .hamburger-line {
      width: 20px;
    }
  }

  @media (max-width: 480px) {
    .header-container {
      padding: 0 12px;
      height: 56px;
    }

    .logo-icon {
      font-size: 1.5rem;
    }

    .logo-text {
      font-size: 1.3rem;
    }

    .hamburger-menu {
      padding: 8px;
    }

    .hamburger-line {
      width: 18px;
    }
  }

  @media (max-width: 320px) {
    .logo-text {
      font-size: 1.1rem;
    }

    .logo-icon {
      font-size: 1.3rem;
    }
  }

  /* Animações de entrada */
  @keyframes headerSlideDown {
    from {
      transform: translateY(-100%);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }

  header {
    animation: headerSlideDown 0.5s ease-out;
  }

  /* Efeito de glass morphism para modo claro/escuro */
  @media (prefers-color-scheme: dark) {
    header {
      background: rgba(32, 56, 80, 0.95);
      backdrop-filter: blur(20px);
    }
  }

  /* Melhorias de acessibilidade */
  .hamburger-menu:focus {
    outline: 2px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
  }

  /* Loading state para o header */
  .header-loading .logo-text {
    background: linear-gradient(90deg, #ccc 25%, #fff 50%, #ccc 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
  }

  @keyframes loading {
    0% {
      background-position: 200% 0;
    }
    100% {
      background-position: -200% 0;
    }
  }

  /* ===== HEADER MODERNO ===== */
  header {
    display: none;
    background: var(--primary);
    color: var(--light);
    padding: 0;
    box-shadow: 0 4px 20px rgba(32, 56, 80, 0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    height: 70px; /* Altura fixa para consistência */
  }

  .header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%; /* Usa 100% da altura do header */
    position: relative;
  }

  /* Logo Moderna */
  .logo-wrapper {
    display: flex;
    align-items: center;
    height: 100%;
  }

  .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0; /* Remove padding vertical */
    height: 100%; /* Ocupa toda a altura */
  }

  /* Resto do código permanece igual... */

  /* Responsividade - Ajustar altura também */
  @media (max-width: 768px) {
    header {
      height: 60px; /* Altura menor para mobile */
    }

    .header-container {
      padding: 0 15px;
    }

    /* Resto do código... */
  }

  @media (max-width: 480px) {
    header {
      height: 56px; /* Altura ainda menor para telas pequenas */
    }

    .header-container {
      padding: 0 12px;
    }

    /* Resto do código... */
  }
}

/* Contador de Usuários Online */
@media {
  /* No arquivo index.css, adicione: */

  /* Contador de Usuários Online */
  .online-users-counter {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 15px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--light);
    font-family: "Futura PT", sans-serif;
    font-weight: 600;
    transition: all 0.3s ease;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .online-users-counter:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateX(-50%) translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  }

  .online-users-counter i {
    font-size: 0.9rem;
    color: #4caf50;
  }

  #online-users-count {
    font-size: 1rem;
    font-weight: 700;
    color: #4caf50;
  }

  .online-text {
    font-size: 0.8rem;
    opacity: 0.9;
  }

  /* Responsividade para o contador */
  @media (max-width: 768px) {
    .online-users-counter {
      padding: 6px 12px;
      gap: 6px;
      font-size: 0.9rem;
    }

    #online-users-count {
      font-size: 0.9rem;
    }

    .online-text {
      font-size: 0.75rem;
    }
  }

  @media (max-width: 480px) {
    .online-users-counter {
      position: static;
      transform: none;
      margin: 0 10px;
    }

    .header-container {
      justify-content: space-between;
    }

    .online-users-counter .online-text {
      display: none; /* Esconde o texto "online" em mobile */
    }
  }

  @media (max-width: 320px) {
    .online-users-counter {
      padding: 5px 10px;
      font-size: 0.8rem;
    }

    #online-users-count {
      font-size: 0.85rem;
    }
  }
}

/* PWA */
@media {
  /* Adicione isso na seção de estilo do seu index.html */
  .pwa-install-dialog {
    display: none;
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--light);
    padding: 15px 20px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    z-index: 10000;
    max-width: 400px;
    width: 90%;
    text-align: center;
  }

  .pwa-install-dialog.show {
    display: block;
    animation: slideUp 0.3s ease;
  }

  @keyframes slideUp {
    from {
      transform: translateX(-50%) translateY(100%);
      opacity: 0;
    }
    to {
      transform: translateX(-50%) translateY(0);
      opacity: 1;
    }
  }

  .pwa-install-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
  }

  .pwa-install-text {
    font-size: 1rem;
    font-weight: 600;
  }

  .pwa-install-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
  }

  .pwa-install-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    flex: 1;
  }

  .pwa-install-btn.primary {
    background: var(--light);
    color: var(--primary);
  }

  .pwa-install-btn.secondary {
    background: transparent;
    color: var(--light);
    border: 2px solid var(--light);
  }

  .pwa-install-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  }

  .pwa-install-close {
    position: absolute;
    top: 10px;
    right: 15px;
    background: none;
    border: none;
    color: var(--light);
    font-size: 20px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  @media (max-width: 480px) {
    .pwa-install-actions {
      flex-direction: column;
    }

    .pwa-install-dialog {
      bottom: 10px;
    }
  }

  /* Estilo para o botão de instalação quando PWA já está instalado */
  body.pwa-installed #install-pwa-btn {
    display: none;
  }

  /* Botões especiais com gradientes */
  #install-pwa-btn {
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.1) 0%, rgba(69, 160, 73, 0.1) 100%);
    border-color: #4caf50;
    color: #fff;
  }

  #install-pwa-btn i {
    color: #fff;
  }

  #install-pwa-btn:hover {
    background: linear-gradient(135deg, #4caf50 0%, #45a049 100%);
    color: white;
    border-color: #4caf50;
  }

  #install-pwa-btn:hover i {
    color: white;
  }
}
