body {
  margin: 0;
  font-family: 'Open Sans', sans-serif;
  background-image: url('https://cdn.pixabay.com/photo/2016/11/18/15/07/ingredients-1835473_1280.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #342E1D;
  display: flex;
  justify-content: center;
}

.continent-wrapper {
  background-color: rgba(255, 255, 240, 0.95);
  border-radius: 20px;
  padding: 50px 40px;
  max-width: 700px;
  margin: 60px auto;
  box-shadow: 0 12px 30px rgba(0,0,0,0.15);
  text-align: center;
}

.continent-wrapper h1 {
  font-size: 2.5rem;
  color: #A40865;
  margin-bottom: 10px;
}

.continent-wrapper p {
  font-size: 1.1rem;
  color: #3A1900;
  margin-bottom: 40px;
}

.card-link {
  text-decoration: none;
  color: inherit;
  display: block;
  margin-bottom: 40px;
}

.continent-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0,0,0,0.15);
  color: white;
}

.card-background {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.25;
  z-index: 1;
}

.africa .card-background {
  background-image: url("https://cdn.pixabay.com/photo/2022/08/01/15/39/food-7358783_1280.jpg");
}

.asia .card-background {
  background-image: url("https://cdn.pixabay.com/photo/2016/03/05/19/02/slaw-1238247_1280.jpg");
}

.europe .card-background {
  background-image: url("https://cdn.pixabay.com/photo/2017/05/07/08/56/pasta-2296841_1280.jpg");
}

.americas .card-background {
  background-image: url("https://cdn.pixabay.com/photo/2020/03/14/10/06/fried-rice-4931227_1280.jpg");
}

.oceania .card-background {
  background-image: url("https://cdn.pixabay.com/photo/2017/03/17/18/31/wrap-2156081_1280.jpg");
}

.card-content {
  position: relative;
  z-index: 3;
  padding: 24px;
  background-color: rgba(0,0,0,0.55);
  backdrop-filter: blur(2px);
  border-radius: 24px;
  text-align: left;
}

.card-content h2 {
  font-size: 1.5rem;
  margin-bottom: 6px;
}

.card-content p {
  font-size: 1rem;
  line-height: 1.6;
  color: #FFE;
}

.back-buttons {
  margin-top: 40px;
}

.back-buttons a {
  display: inline-block;
  padding: 12px 24px;
  background: linear-gradient(to right, #A40865, #E45811);
  color: white;
  text-decoration: none;
  border-radius: 50px;
  font-weight: bold;
  font-size: 1rem;
  transition: transform 0.2s ease;
}

.back-buttons a:hover {
  transform: scale(1.05);
}
