@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

:root {
  --primary: #007bff;
  --primary-dark: #0056b3;
  --secondary: #6c757d;
  --accent: #28a745;
  --bg-light: #f8f9fa;
  --text-color: #333;
  --white: #fff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg-light);
  color: var(--text-color);
  line-height: 1.6;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--primary);
  padding: 1rem 2rem;
  color: var(--white);
}

.navbar .logo {
  font-size: 1.6rem;
  font-weight: 700;
}

.navbar .nav-links a {
  margin-left: 1.5rem;
  color: var(--white);
  font-weight: 500;
  transition: opacity 0.3s ease;
}

.navbar .nav-links a:hover {
  opacity: 0.8;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #007bff, #3399ff);
  color: var(--white);
  text-align: center;
  padding: 4rem 2rem;
  border-radius: 0 0 30px 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.hero-section h1 {
  font-size: 2.8rem;
  margin-bottom: 1rem;
}

.hero-section p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.btn-outline {
  background: transparent;
  border: 2px solid white;
  color: rgb(0, 0, 0);
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: rgb(0, 0, 0);
  color: var(--primary);
}

/* Section Container */
.quiz-container, .formulario {
  max-width: 900px;
  margin: 3rem auto;
  background: white;
  padding: 2.5rem;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.05);
}

.quiz-container h2, .formulario h2 {
  text-align: center;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

/* Contact Form */
.formulario input,
.formulario textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 1rem;
  border-radius: 6px;
  border: 1px solid #ccc;
  font-size: 16px;
}

.formulario button {
  background-color: var(--accent);
  color: white;
  padding: 12px;
  font-size: 16px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s;
}

.formulario button:hover {
  background-color: #218838;
}

/* Footer */
.footer {
  text-align: center;
  padding: 1.5rem;
  background: #e9ecef;
  color: #555;
  margin-top: 4rem;
  font-size: 0.95rem;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-section h1 {
    font-size: 2rem;
  }

  .navbar {
    flex-direction: column;
    gap: 0.5rem;
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .nav-links a {
    margin: 0.5rem 0;
  }
}
.features-section {
  max-width: 1000px;
  margin: 4rem auto;
  padding: 2rem;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgb(255, 255, 255);
  text-align: center;
}

.features-section h2 {
  margin-bottom: 2rem;
  color: #007bff;
  font-weight: 700;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 4px 12px rgb(255, 255, 255);
  transition: transform 0.2s;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-card h3 {
  color: #0056b3;
  margin-bottom: 1rem;
}

.feature-card p {
  font-size: 0.95rem;
  color: #555;
}

.community-section {
  max-width: 1000px;
  margin: 4rem auto;
  padding: 2rem;
  background:rgb(255, 255, 255);
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgb(255, 255, 255);
}

.community-section h2 {
  font-size: 2rem;
  color: #0056b3;
  margin-bottom: 1rem;
}

.community-section p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  color: #444;
}

.community-stats {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.stat-card {
  background: rgb(255, 255, 255);
  border-radius: 12px;
  padding: 1rem 2rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  min-width: 120px;
  transition: transform 0.2s;
}

.stat-card:hover {
  transform: scale(1.05);
}

.stat-card h3 {
  color: #007bff;
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
}

.stat-card p {
  margin: 0;
  font-weight: 500;
  color: #333;
}

.cta-container {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.quiz-public-card {
  background: linear-gradient(145deg, #f0f4ff, #ffffff);
  border: 2px solid #007bff15;
  border-left: 8px solid #007bff;
  border-radius: 16px;
  padding: 20px;
  margin-bottom: 25px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s ease, box-shadow 0.3s ease;
}

.quiz-public-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
}

.quiz-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 15px;
}

.quiz-header .icon {
  font-size: 2.5rem;
  background: #007bff15;
  padding: 12px;
  border-radius: 12px;
}

.quiz-title {
  font-size: 1.3rem;
  margin: 0;
  color: #1c1c1c;
}

.quiz-subtitle {
  margin: 4px 0 0;
  color: #555;
  font-size: 0.95rem;
}

.btn-play {
  background-color: #007bff;
  color: #000000;
  font-weight: bold;
  padding: 10px 20px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s ease;
}

.btn-play:hover {
  background-color: #0056b3;
}
.btn-card {
  background-color: #007bff;
  color: #000000;
  font-weight: bold;
  padding: 10px 20px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.3s ease;
}