/* =========================================================
   GAME WRAPPER
   ========================================================= */

#game_container {
  display: none;
}
#game {
  position: relative;
}
#loading_div {
  position: relative;
  padding-bottom: 10rem;
  text-align: center;
  font-weight: bold;
}
#loading_div .action {
  font-size: 1.2rem;
}

/* =========================================================
   EXPIRED PAGE + MEMBER GATE OVERLAY
   ========================================================= */

.expired-page {
  width: 100%;
  box-sizing: border-box;
}
.expired-card {
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding: 2.4rem 3rem;
  border: 0.2rem solid #000;
  border-radius: 1.6rem;
  background: #fff;
  box-sizing: border-box;
  text-align: left;
  overflow-x: hidden;
}
.expired-title {
  font-size: 2.8rem;
  font-weight: 900;
  line-height: 1.1;
  margin: 0 0 1rem 0;
}
.expired-lead {
  font-size: 1.7rem;
  line-height: 1.4;
  margin: 0 0 1.8rem 0;
}
.expired-highlights {
  margin: 0 0 2rem 0;
  padding-top: 1.6rem;
  border-top: 0.1rem solid #e6e6e6;
}
.expired-highlights__label {
  margin: 0 0 1rem 0;
  font-size: 1.4rem;
  color: #555;
}
.expired-highlights__list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 1.5rem;
}
.expired-highlights__list li {
  margin: 0 0 0.8rem 0;
}
.expired-actions {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  margin: 0;
  box-sizing: border-box;
}
.expired-actions__primary, .expired-actions__secondary {
  display: block;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  text-align: center;
}

/* Simple text logout link */
.logout-link {
  font-size: 1.7rem;
  font-weight: 800;
  color: #007acc;
  text-decoration: underline;
  display: inline-block;
  margin-top: 1.2rem;
}
.logout-link:hover {
  color: #005fa3;
}
.support-note {
  margin: 1.6rem 0 0 0;
  font-size: 1.3rem;
  opacity: 0.85;
}
.support-note a {
  text-decoration: underline;
}

#member_gate_overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}
.overlay_content {
  background: #222;
  padding: 40px;
  border-radius: 10px;
  border: 2px solid #fff !important;
}

/* Member gate / overlay sub links — force white */
.overlay_sub_links, .overlay_sub_links a {
  color: #fff !important;
}
.overlay_sub_links a {
  text-decoration: underline;
}
.overlay_sub_links a:hover {
  opacity: 0.85;
}
.btn_signup {
  display: inline-block;
  padding: 15px 30px;
  background: #007acc;
  color: #000;
  text-decoration: none;
  font-weight: bold;
  border-radius: 5px;
  margin-top: 20px;
}

/* =========================================================
   GAME MEDIA QUERIES
   ========================================================= */

@media all and (max-width:30em) {
  #loading_div {
    padding-top: 10rem;
  }
}
@media all and (min-width:50em) {
  #loading_div {
    padding-top: 10rem;
  }
}
