/* Reset and basic styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
  scroll-behavior: smooth;
}

body {
  background: linear-gradient(to bottom, #0b0c28, #1e1e2f);
  color: #f5f5f5;
  min-height: 100vh;
}

/* Navigation Bar */
nav {
  background-color: rgba(20, 20, 60, 0.9);
  padding: 15px 30px;
  display: flex;
  justify-content: center;
  box-shadow: 0 0 15px #ffcc00;
  position: sticky;
  top: 0;
  z-index: 100;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

nav ul li a {
  color: #ffcc00;
  text-decoration: none;
  font-size: 1.2em;
  position: relative;
  transition: color 0.3s, transform 0.3s ease-in-out;
  display: inline-block;
}

nav ul li a::after {
  content: '';
  width: 0;
  height: 3px;
  background: #ffcc00;
  position: absolute;
  left: 0;
  bottom: -5px;
  transition: width 0.4s;
}

nav ul li a:hover {
  color: #ffffff;
  transform: scale(1.05);
}

nav ul li a:hover::after {
  width: 100%;
}

/* Hero Section */
.hero {
  background: url('space-burger-hero.jpg') center/cover no-repeat;
  text-align: center;
  padding: 100px 20px;
  color: #ffcc00;
}

.hero h1 {
  font-size: 3em;
  text-shadow: 2px 2px 8px #000;
}

.hero p {
  font-size: 1.5em;
  margin-top: 10px;
  text-shadow: 2px 2px 8px #000;
}

/* Sections */
section {
  padding: 60px 20px;
  text-align: center;
}

.about, .facts, .action, .donate, .quote-section, #partners {
  background: rgba(255, 255, 255, 0.05);
  margin: 20px auto;
  border-radius: 20px;
  max-width: 1200px;
  box-shadow: 0 0 20px rgba(255, 204, 0, 0.3);
}

section h2 {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #ffcc00;
}

section p, section ul {
  font-size: 1.2em;
  line-height: 1.7em;
  margin-top: 10px;
}

/* Fact Generator */
#fact-generator button {
  background: #ffcc00;
  color: #0b0c28;
  border: none;
  padding: 10px 20px;
  margin-top: 15px;
  font-size: 1em;
  border-radius: 30px;
  cursor: pointer;
  transition: background 0.3s, transform 0.3s ease-in-out;
}

#fact-generator button:hover {
  background: #fff700;
  transform: scale(1.05);
}

/* Quiz Styles */
.quiz-section {
  background: rgba(255, 255, 255, 0.07);
  padding: 50px 20px;
  border-radius: 20px;
  margin-top: 30px;
  box-shadow: 0 0 15px #ffcc00;
}

#question {
  font-size: 1.7em;
  margin-bottom: 20px;
  color: #ffcc00;
}

#answer-buttons {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 20px;
}

.btn {
  padding: 12px 20px;
  font-size: 1em;
  border: 2px solid #ffcc00;
  border-radius: 30px;
  background: transparent;
  color: #ffcc00;
  cursor: pointer;
  transition: background 0.3s, color 0.3s, transform 0.3s ease-in-out;
}

.btn:hover {
  background: #ffcc00;
  color: #0b0c28;
  transform: scale(1.05);
}

/* Correct and Wrong */
.correct {
  background-color: #00c851 !important;
  color: #fff;
}

.wrong {
  background-color: #ff4444 !important;
  color: #fff;
}

#next-btn {
  background: #ffcc00;
  color: #0b0c28;
  padding: 12px 30px;
  border: none;
  font-size: 1em;
  border-radius: 30px;
  cursor: pointer;
  display: none;
  margin-top: 20px;
  transition: background 0.3s, transform 0.3s ease-in-out;
}

#next-btn:hover {
  background: #fff700;
  transform: scale(1.05);
}

/* Partners list */
#partners ul {
  list-style: none;
  padding: 0;
}

#partners li {
  margin: 10px 0;
}

#partners a {
  text-decoration: underline;
  color: #ffcc00;
  font-size: 1.1em;
  transition: color 0.3s, transform 0.3s ease-in-out;
  display: inline-block;
}

#partners a:hover {
  color: #ffffff;
  transform: scale(1.05);
}

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  background-color: rgba(20, 20, 60, 0.9);
  color: #ffcc00;
  margin-top: 40px;
  font-size: 1em;
}

/* Fade-in Animations */
.fade-in {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.8s ease-in-out;
}

.section {
  opacity: 0;
  transform: translateY(50px);
}

