/* ==============================
   BODY
   ============================== */
body {
  margin: 0;
  padding: 0;
  font-family: inherit;
  color: black;
}
 .back-link {
  display: inline-block;
  color: black;
  font-size: 14px;
  text-decoration: none;
  border: 2px solid black;
  padding: 4px 12px;
  letter-spacing: 2px;
  margin: 10px;
}
.back-link:hover {
  background: white ;
  color: black;
}
/* ==============================
   BACKGROUND
   ============================== */
#top-section {
  position: relative;
  background-image: url("img/prettyy.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  padding: 10px;
  min-height: 100vh;
  margin: 0;
  color: black;
}
 
/* ==============================
   EARTH SECTION — centered
   ============================== */
#earth-section {
  text-align: center;
  padding: 10px 20px 0;
}
 
#earth-img {
  width: 250px;
  height: 250px;
  cursor: pointer;
  display: inline-block;
}
 
/* ==============================
   SPEECH BUBBLE — floats right of center
   ============================== */
#bubble-group {
  display: flex;
  align-items: center;
  position: absolute;
  top: 135px;        /* tweak to align vertically with the earth */
  left: calc(50% + 150px); /* sits just to the right of the earth */
}
 
#bubble-arrow {
  width: 0;
  height: 0;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  border-right: 22px solid white;
  flex-shrink: 0;
}
 
#bubble {
  background: white;
  border: 3px solid black;
  border-radius: 10px;
  padding: 14px 18px;
  max-width: 200px;
  box-shadow: 4px 4px 0 rgba(0,0,0,0.3);
  font-size: 14px;
  line-height: 1.5;
  color: black;
}
 
/* ==============================
   TABS
   ============================== */
#tabs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 14px;
  padding: 50px 30px 40px;
  max-width: 960px;
  margin: 0 auto;
}
 
.earth-tab {
  position: relative;
  display: block;
  height: 110px;
  text-decoration: none;
  border: 3px solid white;
  overflow: hidden;
  cursor: pointer;
}
 
.earth-tab:hover {
  border-color: #ffa602;
}
 
.earth-tab:hover .tab-label {
  background: rgba(255, 165, 0, 0.75);
}
 
.earth-tab .tab-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
 
.earth-tab .tab-label {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.45);
  color: white;
  font-size: 20px;
  font-weight: bold;
  letter-spacing: 1px;
  text-align: center;
  padding: 10px;
  transition: background 0.15s;
}