/* ===== Global Styles ===== */
body {
  font-family: 'Verdana', sans-serif;
  background: linear-gradient(135deg, #f5f5f5 0%, #ffde59 100%);
  color: #333;
  margin: 0;
  padding: 0;
  text-align: center;
}

.pokemon-title {
  font-family: 'Trebuchet MS', sans-serif;
  color: #ffcb05; /* Pokémon yellow */
  -webkit-text-stroke: 2px #3b4cca; /* Pokémon blue outline */
  text-transform: uppercase;
  letter-spacing: 2px;
}

h1, h2, h3 {
  font-family: 'Trebuchet MS', sans-serif;
  color: #ff1c1c; /* Pokémon red */
  text-shadow: 1px 1px 2px #fff;
}

p, ul {
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: #fff;
}

/* ===== Navigation Bar ===== */
.main-nav {
  display: flex;
  justify-content: center;
  gap: 15px;
  background: #ffde59;
  padding: 10px 0;
  border-bottom: 3px solid #ff1c1c;
}

.nav-link {
  background: #ff1c1c;
  color: #fff;
  padding: 8px 14px;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  transition: background 0.2s ease;
}

.nav-link:hover {
  background: #e60000;
}

/* ===== Quiz & Result Containers ===== */
.quiz-container, .result-container {
  max-width: 600px;
  background: #fff;
  margin: 40px auto;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  text-align: center;
}

.intro-text {
  font-size: 1.1rem;
  color: #555;
  margin-bottom: 20px;
}

/* ===== Question Styling ===== */
.question {
  margin-bottom: 30px;
  text-align: left;
}

.question p {
  font-weight: bold;
  color: #2c2c2c;
  margin-bottom: 12px;
  font-size: 1rem;
}

label {
  display: flex;
  align-items: center;
  background: #f9f9f9;
  margin-bottom: 10px;
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid #e0e0e0;
  cursor: pointer;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

label:hover {
  background: #fff8d6;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

input[type="radio"] {
  margin-right: 10px;
  transform: scale(1.1);
}

/* ===== Buttons ===== */
.button, button {
  display: inline-block;
  background: #ff1c1c;
  color: #fff;
  padding: 12px 20px;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s ease, transform 0.2s ease;
  text-align: center;
  margin: 10px auto;
}

.button:hover, button:hover {
  background: #e60000;
  transform: scale(1.05);
}

/* ===== Pokémon Images ===== */
.pokemon-img {
  display: block;
  max-width: 200px;
  height: auto;
  margin: 20px auto;
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* ===== Lists on Result Pages ===== */
ul {
  list-style: none;
  padding: 0;
}

ul li {
  background: #f5f5f5;
  margin: 5px 0;
  padding: 8px 12px;
  border-radius: 6px;
  border-left: 5px solid #ffde59;
  font-size: 0.95rem;
}

/* ===== All Results Gallery ===== */
.all-results-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 15px;
  margin-top: 20px;
}

.result-card {
  display: block;
  background: #fff;
  border: 2px solid #ffde59;
  border-radius: 10px;
  padding: 10px;
  text-align: center;
  text-decoration: none;
  color: #333;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.result-card img {
  max-width: 100px;
  height: auto;
  margin-bottom: 8px;
}

.result-card h3 {
  font-size: 0.9rem;
  color: #333;
}

.result-card:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 12px rgba(0,0,0,0.2);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .quiz-container, .result-container {
    margin: 20px;
    padding: 20px;
  }

  .pokemon-img {
    max-width: 150px;
  }
}
