/* Reset e Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #020617 0%, #0f172a 50%, #1e1b4b 100%);
  color: #f8fafc;
  min-height: 100vh;
}

/* Container Principal */
.main-container {
  min-height: 100vh;
  padding: 2rem 1rem;
}

.content-wrapper {
  max-width: 1200px;
  margin: 0 auto;
}

/* Header */
.header {
  text-align: center;
  margin-bottom: 2rem;
}

.logo {
  width: 12rem;
  margin-bottom: 1rem;
  cursor: pointer;
  transition: transform 0.3s ease;
  animation: float 3s ease-in-out infinite;
}

.logo:hover {
  transform: scale(1.05);
}

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

.decorative-line {
  width: 8rem;
  height: 4px;
  background: linear-gradient(90deg, #f59e0b, #fbbf24, #f59e0b);
  margin: 0 auto 1.5rem;
  border-radius: 2px;
}

.subtitle {
  color: #94a3b8;
  font-size: 1.125rem;
  max-width: 28rem;
  margin: 0 auto;
}

.text-gradient {
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

/* Quiz Section */
.quiz-container {
  max-width: 36rem;
  margin: 0 auto;
  animation: scaleIn 0.5s ease;
}

@keyframes scaleIn {
  from { opacity: 0; transform: scale(0.95); }
  to { opacity: 1; transform: scale(1); }
}

.quiz-card {
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.9));
  border: 1px solid rgba(71, 85, 105, 0.4);
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(245, 158, 11, 0.15);
}

.quiz-image-container {
  position: relative;
  margin-bottom: 1.5rem;
  border-radius: 0.75rem;
  overflow: hidden;
}

.quiz-image {
  width: 100%;
  height: 16rem;
  object-fit: cover;
}

.image-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(2, 6, 23, 0.8), transparent);
}

/* Progress Bar */
.progress-container {
  margin-bottom: 2rem;
}

.progress-info {
  display: flex;
  justify-content: space-between;
  font-size: 0.875rem;
  color: #94a3b8;
  margin-bottom: 0.5rem;
}

.progress-bar {
  height: 0.75rem;
  background: rgba(51, 65, 85, 0.5);
  border-radius: 9999px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
  border-radius: 9999px;
  transition: width 0.5s ease;
}

/* Question */
.question {
  font-size: 1.25rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 2rem;
}

/* Buttons */
.buttons-container {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.answer-btn {
  width: 100%;
  padding: 1rem 1.5rem;
  border-radius: 0.75rem;
  border: 1px solid rgba(71, 85, 105, 0.4);
  background: rgba(51, 65, 85, 0.3);
  color: #f8fafc;
  font-weight: 700;
  font-size: 1.125rem;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: 'Poppins', sans-serif;
}

.answer-btn:hover {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  border-color: #22c55e;
  transform: scale(1.02);
}

.answer-btn:active {
  transform: scale(0.98);
}

/* Products Section */
.products-container {
  animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.success-message {
  text-align: center;
  margin-bottom: 2rem;
}

.success-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(34, 197, 94, 0.2);
  border: 1px solid rgba(34, 197, 94, 0.3);
  border-radius: 9999px;
  padding: 0.5rem 1.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  color: #22c55e;
}

.success-badge span:first-child {
  font-size: 1.5rem;
}

.products-title {
  font-size: 1.5rem;
  font-weight: 700;
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Product Card */
.product-card {
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.8), rgba(15, 23, 42, 0.9));
  border: 1px solid rgba(71, 85, 105, 0.4);
  border-radius: 1rem;
  overflow: hidden;
  transition: all 0.3s ease;
  position: relative;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 25px 50px -12px rgba(245, 158, 11, 0.2);
}

.product-card.popular {
  border-color: #22c55e;
  box-shadow: 0 0 30px rgba(34, 197, 94, 0.3);
}

.popular-badge {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  z-index: 10;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

.product-image-container {
  position: relative;
  overflow: hidden;
}

.product-image {
  width: 100%;
  height: 8rem;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image {
  transform: scale(1.05);
}

.product-content {
  padding: 1rem;
}

.product-robux {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.product-prices {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}

.old-price {
  color: #64748b;
  text-decoration: line-through;
  font-size: 0.875rem;
}

.current-price {
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1.25rem;
  font-weight: 800;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  color: #94a3b8;
  margin-bottom: 1rem;
}

.buy-button {
  display: block;
  width: 100%;
  padding: 0.75rem 1rem;
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: white;
  text-align: center;
  text-decoration: none;
  border-radius: 0.5rem;
  font-weight: 700;
  transition: all 0.3s ease;
}

.buy-button:hover {
  filter: brightness(1.1);
  transform: scale(1.02);
}

/* Reset Button */
.reset-container {
  text-align: center;
  margin-bottom: 3rem;
}

.reset-button {
  background: none;
  border: none;
  color: #94a3b8;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: color 0.3s ease;
}

.reset-button:hover {
  color: #22c55e;
}

/* How it works */
.how-it-works {
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.6), rgba(15, 23, 42, 0.8));
  border: 1px solid rgba(71, 85, 105, 0.4);
  border-radius: 1rem;
  padding: 2rem;
  margin-bottom: 2rem;
}

.section-title {
  font-size: 1.25rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1.5rem;
}

.steps-container {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

@media (min-width: 768px) {
  .steps-container {
    flex-direction: row;
    justify-content: center;
  }
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

@media (min-width: 768px) {
  .step {
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
  }
}

.step-number {
  width: 2.5rem;
  height: 2.5rem;
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #020617;
  flex-shrink: 0;
}

.step-content h4 {
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.step-content p {
  font-size: 0.875rem;
  color: #94a3b8;
}

.redeem-link {
  display: block;
  text-align: center;
  background: linear-gradient(135deg, #f59e0b, #fbbf24);
  color: #020617;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 700;
  transition: all 0.3s ease;
}

.redeem-link:hover {
  filter: brightness(1.1);
  transform: scale(1.02);
}

/* Testimonials */
.testimonials {
  margin-bottom: 2rem;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1rem;
}

@media (min-width: 640px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial-card {
  background: linear-gradient(145deg, rgba(30, 41, 59, 0.6), rgba(15, 23, 42, 0.8));
  border: 1px solid rgba(71, 85, 105, 0.4);
  border-radius: 0.75rem;
  padding: 1rem;
}

.testimonial-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.avatar {
  width: 2.5rem;
  height: 2.5rem;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: white;
}

.testimonial-info {
  display: flex;
  flex-direction: column;
}

.name {
  font-weight: 600;
  font-size: 0.875rem;
}

.stars {
  font-size: 0.75rem;
}

.testimonial-text {
  font-size: 0.875rem;
  color: #cbd5e1;
  font-style: italic;
}

/* Footer */
.footer {
  text-align: center;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(71, 85, 105, 0.4);
}

.footer p {
  color: #94a3b8;
  font-size: 0.875rem;
}

.footer-subtitle {
  color: rgba(148, 163, 184, 0.6) !important;
  font-size: 0.75rem !important;
  margin-top: 0.5rem;
}

/* Responsive adjustments */
@media (min-width: 768px) {
  .logo {
    width: 16rem;
  }

  .subtitle {
    font-size: 1.25rem;
  }

  .question {
    font-size: 1.5rem;
  }

  .quiz-card {
    padding: 2rem;
  }

  .products-title {
    font-size: 1.875rem;
  }
}
