/* General Styles */
body {
  margin: 5px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #f7f5ed;
  color: #333;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  padding: 20px;
}

h1 {
  color: #313a47;
  margin-bottom: 20px;
}

.app-container {
  width: 98%;
  max-width: 600px;
}

/* Card Styling */
.card {
  background: #fff;
  border-radius: 12px;
  padding: 25px;
  margin-bottom: 20px;
  box-shadow: 0px 6px 15px rgba(0,0,0,0.2);
  animation: fadeIn 0.5s ease;
}

.hidden {
  display: none;
}

/* Buttons */
.btn {
  display: block;
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  background: linear-gradient(90deg, #ff9966, #ff5e62);
  color: #fff;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0px 4px 12px rgba(0,0,0,0.2);
}

.btn.quit {
  background: linear-gradient(90deg, #ff4b1f, #ff9068);
}

/* Options */
#options-area button {
  background: #f0f0f0;
  color: #333;
  border: 2px solid transparent;
  transition: background 0.3s, border-color 0.3s;
}

#options-area button:hover {
  background: #e6e6e6;
  border-color: #2575fc;
}

#options-area button.correct {
  background: #4CAF50;
  color: #fff;
}

#options-area button.wrong {
  background: #f44336;
  color: #fff;
}

/* Feedback */
#feedback {
  margin: 15px 0;
  padding: 12px;
  border-radius: 8px;
  background: #f1f1f1;
  font-size: 14px;
}

.feedback-short {
  display: inline;
}

.feedback-long {
  display: none;
  margin-top: 10px;
}

.show-more {
  color: #2575fc;
  cursor: pointer;
  font-size: 14px;
  margin-top: 5px;
  display: inline-block;
}

/* Progress Bar */
.progress-bar {
  width: 100%;
  height: 12px;
  background: #eee;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 20px;
}

#progress {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #43e97b, #38f9d7);
  transition: width 0.3s ease;
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 600px) {
  .card {
    padding: 20px;
  }
  .btn {
    font-size: 15px;
    padding: 10px;
  }
}





nav {
  margin-top: 10px;
}

nav a {
 color:#407dde;
  text-decoration: none;
  margin: 0 10px;
  font-size: 18px;
  font-weight: bold;
  border: 1px;
  border-radius: 5px;
  padding:5px;
  line-height: 1.2em;
}

nav a:hover {
  text-decoration: underline;
}

header {
margin-bottom: 20px;
text-align: center;
background-color: #fff;
padding: 7px 7px 12px 7px;
border: none;
border-radius: 25px; 





/* About App Section */
.about-card {
  background: #fdfcf9;
  border-left: 5px solid #407dde;
  padding: 20px;
}

.about-card h2 {
  color: #407dde;
  margin-bottom: 12px;
}

.about-card p {
  font-size: 15px;
  line-height: 1.6em;
  color: #444;
}
}


/* Optional: styling for ads wrapper */
.ad-card {
  text-align: center;
  background: transparent;
  box-shadow: none;
  padding: 10px;
}