/**
 * =====================================================
 * Get5Now - Quiz System - Estilos Personalizados
 * =====================================================
 */

:root {
  --primary-color: #667eea;
  --secondary-color: #764ba2;
  --accent-color: #ffd166;
  --light-color: #f8f9fa;
  --dark-color: #343a40;
  --success-color: #28a745;
  --danger-color: #dc3545;
  --warning-color: #ffc107;
  --info-color: #17a2b8;
}

body {
  font-family: 'Inter', sans-serif;
  background: #f8f9fb;
  color: #333;
  line-height: 1.6;
}

/* Header e Navegação */
.main-container {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 0 20px;
}

.language-selector {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 1000;
}

.language-selector .dropdown-toggle {
  background-color: rgba(255, 255, 255, 0.9);
  border: none;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Logo e Título */
.site-logo {
  font-weight: 800;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.site-logo i {
  color: var(--accent-color);
}

/* Cards e Containers */
.card {
  border-radius: 15px;
  border: none;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  overflow: hidden;
  transition: all 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
}

.card-header {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  font-weight: 600;
  border-bottom: none;
  padding: 1.25rem 1.5rem;
}

.card-footer {
  background-color: white;
  border-top: 1px solid rgba(0,0,0,0.05);
}

/* Botões */
.btn {
  border-radius: 10px;
  font-weight: 500;
  padding: 0.5rem 1.5rem;
  transition: all 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border: none;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.6);
}

.btn-outline-secondary {
  border-color: #ccc;
  color: #666;
}

.btn-outline-secondary:hover {
  background-color: #f8f9fa;
  color: var(--secondary-color);
  border-color: var(--secondary-color);
}

.btn-custom {
  padding: 0.75rem 2rem;
  font-size: 1.1rem;
}

/* Quiz Page */
.quiz-container {
  max-width: 800px;
  margin: 0 auto;
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 50px rgba(0,0,0,0.1);
  padding: 2rem;
}

.question-card {
  margin-bottom: 2rem;
  padding: 1.5rem;
  border-radius: 15px;
  border: 1px solid rgba(0,0,0,0.05);
  background: #f9f9ff;
}

.option-item {
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  background: white;
  border: 1px solid #e9e9e9;
}

.option-item:hover {
  background-color: #f1f5ff;
  border-color: var(--primary-color);
}

.option-item.selected {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

/* Timer e Progresso */
.quiz-timer {
  font-size: 1.2rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  margin-bottom: 1.5rem;
  box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.quiz-timer i {
  margin-right: 0.5rem;
}

.progress-container {
  margin-bottom: 2rem;
}

.progress {
  height: 10px;
  border-radius: 5px;
  background-color: #e9ecef;
}

.progress-bar {
  background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
  border-radius: 5px;
}

/* Formulário */
.form-control, .form-select {
  padding: 0.75rem 1rem;
  border-radius: 10px;
  border: 1px solid #e0e0e0;
  font-size: 1rem;
}

.form-control:focus, .form-select:focus {
  box-shadow: 0 0 0 0.25rem rgba(102, 126, 234, 0.25);
  border-color: var(--primary-color);
}

.form-label {
  font-weight: 500;
  color: #555;
  margin-bottom: 0.5rem;
}

/* Ranking */
.ranking-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

.ranking-item {
  display: flex;
  align-items: center;
  padding: 1rem;
  margin-bottom: 1rem;
  border-radius: 15px;
  background: white;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
  transition: all 0.2s ease;
}

.ranking-item:hover {
  transform: translateX(5px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.ranking-position {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  margin-right: 1rem;
}

.position-1 {
  background: linear-gradient(135deg, #FFD700, #FFA500);
  color: white;
  font-size: 1.5rem;
}

.position-2 {
  background: linear-gradient(135deg, #C0C0C0, #A8A8A8);
  color: white;
  font-size: 1.3rem;
}

.position-3 {
  background: linear-gradient(135deg, #CD7F32, #B87333);
  color: white;
  font-size: 1.2rem;
}

.participant-name {
  font-weight: 600;
  font-size: 1.1rem;
}

.participant-stats {
  color: #666;
  font-size: 0.9rem;
}

/* Amazon Product Container */
.amazon-product {
  margin: 2rem 0;
  padding: 1.5rem;
  border-radius: 15px;
  background: #f9f9ff;
  border: 1px solid #e0e0e0;
}

.amazon-product-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--secondary-color);
}

/* Responsiveness */
@media (max-width: 768px) {
  .card-header {
    padding: 1rem;
  }
  
  .card-body {
    padding: 1rem;
  }
  
  .quiz-container {
    padding: 1rem;
  }
  
  .btn-custom {
    padding: 0.5rem 1rem;
    font-size: 1rem;
  }
  
  .main-container {
    padding: 0 10px;
    margin: 1rem auto;
  }
}