:root {
  --free-color: #2ecc71;
  --limited-color: #f39c12;
  --paid-color: #e74c3c;
  --video-color: #4cc9f0;
  --audio-color: #9c27b0;
  --experimental-color: #EA4335;
  --highlight-color: #8e2de2;
}

body {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  color: #f8f9fa;
  min-height: 100vh;
}

/* Nav pills */
.nav-pills .nav-link.active {
  font-weight: bold;
}

/* Cards */
.site-card {
  transition: all 0.3s ease;
  border: none;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

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

/* Badges */
.card-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: bold;
  text-transform: uppercase;
  z-index: 1;
}

.free-badge { background-color: var(--free-color); }
.limited-badge { background-color: var(--limited-color); }
.paid-badge { background-color: var(--paid-color); }

/* Hero Section */
.hero-section {
  background: linear-gradient(to right, #4a00e0, #8e2de2);
  padding: 3rem 0;
  border-radius: 0 0 20px 20px;
  margin-bottom: 2rem;
}

.search-box {
  max-width: 600px;
  margin: 0 auto;
}

/* Category Titles */
.category-title {
  position: relative;
  margin-bottom: 2rem;
  padding-bottom: 0.5rem;
}

.category-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  border-radius: 3px;
}

.free-title::after { background: var(--free-color); }
.limited-title::after { background: var(--limited-color); }
.paid-title::after { background: var(--paid-color); }

/* Features */
.features {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 10px 0;
}

.feature-badge {
  display: inline-block;
  background: rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 3px 8px;
  font-size: 0.7em;
}

/* Special Cards */
.card.experimental {
  position: relative;
  border-left: 4px solid var(--experimental-color);
}
.card.experimental::after {
  content: "EXPERIMENTAL";
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--experimental-color);
  color: white;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.7em;
  z-index: 1;
}

.video-tool { border-top: 3px solid var(--video-color); }
.audio-tool { border-left: 3px solid var(--audio-color); }

/* Pricing Info */
.pricing-info {
  font-size: 0.8em;
  margin-top: 8px;
  color: rgba(255,255,255,0.7);
}

/* Highlight Cards */
.card.highlight-card {
  border: 2px solid var(--highlight-color);
  background: rgba(142, 45, 226, 0.1);
}

/* Icons */
.card-icon {
  font-size: 1.5em;
  margin-right: 8px;
  vertical-align: middle;
}

/* Footer */
footer {
  background: rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(10px);
}

/* No Results */
.no-results {
  text-align: center;
  padding: 2rem;
  color: rgba(255,255,255,0.5);
  grid-column: 1 / -1;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .hero-section {
    padding: 2rem 0;
  }
  
  .card-body {
    padding: 1rem;
  }
}

@media (max-width: 576px) {
  .hero-section {
    padding: 1.5rem 0;
  }
  
  .category-title {
    font-size: 1.2rem;
  }
  
  .card-badge {
    font-size: 0.6rem;
    padding: 3px 6px;
  }
  
  .feature-badge {
    font-size: 0.6em;
  }
}

/* Removendo estilos duplicados e conflitantes */
/* (Os estilos .tool-card, .tool-image etc não são necessários pois já temos .site-card) */

.card-img-top {
  height: 160px;
  object-fit: cover;
  background: #f0f0f0;
}
/* Ícone para ferramentas de vídeo */
.video-tool .card-title::before {
  content: "🎬";
  margin-right: 8px;
}

/* Ícone para ferramentas de áudio */
.audio-tool .card-title::before {
  content: "🔊";
  margin-right: 8px;
}

.card:hover .icon {
  transform: scale(1.1);
  transition: transform 0.2s ease;
}

@media (max-width: 576px) {
  .card-title .icon {
    font-size: 1em;
    margin-right: 5px;
  }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.card:hover .icon {
  animation: float 1.5s ease-in-out infinite;
}

.gemini-card {
  border: 1px solid #4285F4; /* Azul do Google */
  background: linear-gradient(135deg, rgba(66,133,244,0.1) 0%, rgba(66,133,244,0.05) 100%);
}

.qwen-card {
  border-top: 3px solid #FF6A00; /* Laranja característico da Alibaba */
  background: linear-gradient(to bottom, rgba(255,106,0,0.05) 0%, transparent 100%);
}

.blackbox-card {
  background: linear-gradient(135deg, rgba(0,0,0,0.03) 0%, rgba(0,0,0,0) 100%);
  border-left: 4px solid #000; /* Identidade preta da marca */
}

.blackbox-card .badge {
  background: #000;
  color: #00FF41; /* Verde tecnológico */
}

.grok-card {
  background: linear-gradient(to right, rgba(0,0,0,0.8) 0%, rgba(20,20,20,0.9) 100%);
  border-left: 4px solid #1DA1F2; /* Azul do Twitter */
  color: white;
}

.grok-card .badge {
  background: #000;
  color: #1DA1F2;
  border: 1px solid #1DA1F2;
}

.elevenlabs-card {
  background: linear-gradient(135deg, rgba(72,52,212,0.1) 0%, rgba(72,52,212,0.05) 100%);
  border-top: 3px solid #4834d4; /* Roxo característico */
}

.elevenlabs-card .badge {
  background: #4834d4;
  color: white;
}

.dreamstudio-card {
  background: linear-gradient(135deg, rgba(123,97,255,0.1) 0%, rgba(123,97,255,0.05) 100%);
  border-left: 4px solid #7b61ff; /* Roxo do DreamStudio */
}

.dreamstudio-card .badge {
  background: #7b61ff;
  color: white;
}

.lexica-card {
  background: linear-gradient(135deg, rgba(20,20,30,0.1) 0%, rgba(0,0,40,0.05) 100%);
  border: 1px solid rgba(138,43,226,0.3); /* Roxo escuro */
}

.lexica-card:hover {
  box-shadow: 0 0 15px rgba(138,43,226,0.2);
}

.murf-card {
  background: linear-gradient(135deg, rgba(0,179,159,0.1) 0%, rgba(0,179,159,0.05) 100%);
  border-top: 3px solid #00b39f; /* Verde-água da marca */
}

.murf-card .badge {
  background: #00b39f;
  color: white;
}