body {
  font-family: Arial, sans-serif;
  background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
  margin: 0;
  padding: 40px;
}

body {
  font-family: Arial, sans-serif;
  background: #f5f5f5;
  margin: 0;
  padding: 40px;
}

.container {
  max-width: 600px;
  margin: auto;
  background: white;
  padding: 30px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

h1 {
  margin-top: 0;
  text-align: center;
}

.tagline {
  text-align: center;
  color: #555;
  margin-bottom: 30px;
}

button {
  display: block;
  width: 100%;
  padding: 15px;
  font-size: 18px;
  background: #0078ff;
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
}

button:hover {
  background: #005fcc;
}

.search-box {
  display: block;
  margin-bottom: 15px;
}

.search-box input {
  flex: 1;
  padding: 12px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 8px;
}

.result-box {
  margin-top: 30px;
  padding: 20px;
  background: #fafafa;
  border-radius: 8px;
  border: 1px solid #ddd;
}

.tagline-main {
  text-align: center;
  font-size: 20px;
  font-weight: 600;
  margin-top: 10px;
  margin-bottom: 15px;
  color: #333;
}

.tagline-sub {
  text-align: center;
  font-size: 16px;
  color: #666;
  margin-bottom: 30px;
}

.leaderboard-title {
  margin-top: 40px;
  text-align: center;
  font-size: 22px;
}

/* Homepage-specific styling */
.home {
  text-align: center;
}

/* Logo */
.logo {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 20px;
}

.logo-icon {
  font-size: 40px;
  margin-right: 10px;
}

.logo-text {
  font-size: 32px;
}

/* Taglines */
.tagline-main {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 10px;
  color: #333;
}

.tagline-sub {
  font-size: 16px;
  color: #666;
  margin-bottom: 30px;
}

/* CTA Button */
.cta-button {
  background: #ff4d4d;
  color: white;
  padding: 15px;
  font-size: 20px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  width: 100%;
  margin-bottom: 40px;
  transition: background 0.2s ease;
}

.cta-button:hover {
  background: #e63b3b;
}

/* Leaderboard */
.leaderboard-title {
  font-size: 22px;
  margin-bottom: 10px;
}

#leaderboard {
  list-style: none;
  padding: 0;
}

#leaderboard li {
  padding: 10px;
  border-bottom: 1px solid #ddd;
}

.section-title {
  margin-top: 50px;
  text-align: center;
  font-size: 22px;
  margin-bottom: 20px;
}

.featured-wrong-answers {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.wrong-card {
  background: white;
  padding: 20px;
  border-radius: 10px;
  border: 1px solid #ddd;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.wrong-card h3 {
  margin-top: 0;
  margin-bottom: 10px;
}

.testimonial {
  background: white;
  padding: 25px;
  border-radius: 10px;
  border: 1px solid #ddd;
  text-align: center;
  margin-top: 10px;
}

.testimonial-quote {
  font-size: 18px;
  font-style: italic;
  margin-bottom: 10px;
}

.testimonial-author {
  font-size: 16px;
  color: #555;
}

.as-seen-on {
  display: flex;
  justify-content: space-around;
  margin-top: 20px;
  flex-wrap: wrap;
  gap: 15px;
}

.fake-logo {
  background: #fff;
  padding: 10px 20px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-weight: 600;
  font-size: 16px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.leaderboard-title {
  font-size: 24px;
  margin-top: 40px;
  margin-bottom: 15px;
  text-align: center;
  font-weight: 700;
  color: #333;
}

.leaderboard-sub {
  text-align: center;
  color: #666;
  margin-bottom: 20px;
  font-size: 14px;
}

/* Background gradient like homepage */
.search-body {
  background: linear-gradient(135deg, #fdfbfb 0%, #ebedee 100%);
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 40px;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

/* Centered container */
.search-container {
  max-width: 600px;
  width: 100%;
  background: white;
  padding: 40px;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  text-align: center;
}

/* Title + subtitle */
.search-title {
  font-size: 32px;
  margin-bottom: 10px;
  font-weight: 700;
}

.search-subtitle {
  font-size: 16px;
  color: #555;
  margin-bottom: 30px;
}

/* Search box layout */
.search-box {
  display: flex;
  gap: 10px;
  margin-bottom: 25px;
}

.search-box input {
  flex: 1;
  padding: 12px 15px;
  border-radius: 8px;
  border: 1px solid #ccc;
  font-size: 16px;
}

.search-box button {
  padding: 12px 20px;
  background: #4a4aff;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  cursor: pointer;
  font-weight: 600;
}

.search-box button:hover {
  background: #3737e6;
}

/* Result box */
.result-box {
  background: #fafafa;
  border: 1px solid #ddd;
  padding: 20px;
  border-radius: 10px;
  font-size: 18px;
  text-align: left;
  line-height: 1.5;
  opacity: 1;
  transform: translateY(10px);
  transition: all 0.3s ease;
}

.result-box.show {
  opacity: 1;
  transform: translateY(0);
}

.hidden {
  display: none;
}