/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body Background */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #f5f5f5;
  text-align: center;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;

  /* --- CUSTOM BACKGROUND IMAGE HERE --- */
  background-image: url("/images/CosmereBackground.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  /* Fallback gradient if image fails */
  background-color: #0e0f14;
}

/* Overlay for better text visibility */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 0;
}

/* Header */
header {
  padding: 2rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(6px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  z-index: 2;
}

header h1 {
  font-size: 2.5rem;
  color: #f0e68c;
}

header p {
  color: #ccc;
  font-size: 1.1rem;
  margin-top: 0.5rem;
}

/* Main */
main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.intro {
  max-width: 600px;
  padding: 2rem;
  background: rgba(255,255,255,0.05);
  border-radius: 12px;
  box-shadow: 0 0 20px rgba(255,255,255,0.05);
}

.intro h2 {
  color: #d4af37;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.intro p {
  color: #ddd;
  line-height: 1.6;
  margin-bottom: 2rem;
}

/* Button */
.quiz-button {
  display: inline-block;
  background: linear-gradient(45deg, #ffcc00, #ff9900);
  color: #111;
  padding: 0.9rem 2rem;
  border-radius: 8px;
  font-size: 1.2rem;
  font-weight: bold;
  text-decoration: none;
  transition: 0.3s ease;
}

.quiz-button:hover {
  background: linear-gradient(45deg, #ffd633, #ffb84d);
  transform: scale(1.05);
}

/* Footer */
footer {
  padding: 1rem;
  font-size: 0.9rem;
  color: #999;
  background: rgba(255,255,255,0.05);
  z-index: 2;
}

