/* ===== Reset & Base ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  font-family: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  color: #e8dcc8; /* soft bone / light alligator */
}

/* ===== Background Image + Dimming Overlay ===== */
.bg-layer {
  position: fixed;
  inset: 0;
  background: url("background_Atlantis.png") center center / cover no-repeat;
  z-index: -2;
}

.dim-overlay {
  position: fixed;
  inset: 0;
  background: rgba(255, 255, 255, 0.18); /* slight white dimming */
  z-index: -1;
}

/* ===== Centered Content ===== */
.content {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

/* ===== Title ===== */
.title {
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  font-weight: normal;
  letter-spacing: 0.12em;
  color: #7ec8c4; /* iguana turquoise */
  text-shadow: 0 0 18px rgba(0, 0, 0, 0.55);
  margin-bottom: 1.6rem;
}

/* ===== Intro Paragraph ===== */
.intro {
  font-size: 1.15rem;
  line-height: 1.7;
  max-width: 620px;
  color: #d4c4a8; /* warm alligator bone */
  margin-bottom: 3.2rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

/* ===== Link Cards ===== */
.links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.4rem;
  width: 100%;
  max-width: 640px;
}

.card {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1.6rem 1.2rem;
  background: rgba(58, 42, 28, 0.72); /* deep alligator brown */
  border: 1px solid rgba(126, 200, 196, 0.35); /* turquoise edge */
  color: #7ec8c4;
  text-decoration: none;
  font-size: 1.25rem;
  letter-spacing: 0.08em;
  border-radius: 4px;
  transition: all 0.35s ease;
  backdrop-filter: blur(4px);
  min-height: 90px;
}

.card:hover {
  background: rgba(74, 56, 38, 0.88);
  border-color: #7ec8c4;
  color: #b8f0ec;
  box-shadow: 0 0 22px rgba(126, 200, 196, 0.25);
  transform: translateY(-3px);
}

/* ===== Mobile ===== */
@media (max-width: 560px) {
  .links {
    grid-template-columns: 1fr;
  }

  .title {
    letter-spacing: 0.08em;
  }

  .intro {
    font-size: 1.05rem;
  }
}