/* Dungeon roguelike "Coming Soon" page */

/* Theme */
:root {
  --bg-1: #090910;
  --bg-2: #1b1b2b;
  --accent: #c1a66d;
  --accent-soft: #87744c;
  --text: #ecebf1;
  --muted: #8a8a9e;
  --radius: 14px;
  --font-title: "Cinzel", serif;
  --font-body: "Inter", sans-serif;
}

/* Reset */
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  height: 100%;
  font-family: var(--font-body);
  background: radial-gradient(
    circle at 50% 10%,
    var(--bg-2) 0%,
    var(--bg-1) 100%
  );
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

p {
  line-height: 1.6;
  margin-bottom: 1.2rem;
}

/* HERO SECTION */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 50vh;
  background: radial-gradient(
    circle at center,
    rgba(255, 255, 255, 0.05) 0%,
    transparent 70%
  );
  overflow: hidden;
}
.hero::before {
  /* dark vignette edges */
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    circle at center,
    transparent 30%,
    rgba(0, 0, 0, 0.7) 100%
  );
  z-index: 0;
}
.hero-content {
  position: relative;
  z-index: 1;
}
.title {
  font-family: var(--font-title);
  font-size: clamp(7.5rem, 7vw, 5rem);
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.05em;
  margin: 0;
  text-shadow: 0 0 30px rgba(193, 166, 109, 0.2);
}
.tm {
  font-size: 0.4em;
  vertical-align: super;
  margin-left: 0.2em;
}
.tagline {
  margin-top: 0.7rem;
  font-style: italic;
  font-size: clamp(1rem, 3vw, 1.4rem);
  color: var(--muted);
}

/* MAIN SECTION */
.main {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 3rem 1.5rem 6rem;
  text-align: center;
}
.info {
  max-width: 600px;
  width: 100%;
}
.coming {
  font-size: 1.4rem;
  font-weight: 500;
  color: var(--accent-soft);
  margin-bottom: 2rem;
}

ul {
  list-style-type: none;
  width: fit-content; /* shrink to the content width */
  margin: 0 auto; /* center the list block */
  padding: 0; /* optional: remove default padding */
  text-align: left; /* keep items aligned like a list */
}

ul li {
  display: list-item; /* default, ensures vertical stacking */
  text-align: center; /* centers the text inside each list item */
}

/* CONTENT SECTIONS (desktop readability) */
.about-game {
  max-width: 700px;
  margin: 0 auto 1.2rem;
  text-align: center;
}
.about-game h2,
.genre h2,
.hook h2,
.waitlist h2 {
  margin-bottom: 1rem;
  font-family: var(--font-title);
  color: var(--accent);
}

/* WAITLIST FORM */
.waitlist form,
.waitlist .formkit-form {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}
.waitlist .formkit-input {
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  padding: 0.9rem 1rem;
  flex: 1 1 250px;
  max-width: 400px;
}
.waitlist .formkit-submit {
  border-radius: var(--radius);
  background: linear-gradient(90deg, var(--accent), var(--accent-soft));
  color: #0c0b13;
  font-weight: 700;
  padding: 0.9rem 1.5rem;
  cursor: pointer;
  flex: 0 0 auto;
}

/* MESSAGE OVERRIDES (base) */
.waitlist .formkit-message {
  font-family: var(--font-body);
  font-size: 0.95rem;
  margin-top: 0.8rem;
  text-align: center;
}

/* FOOTER */
.footer {
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  padding: 2rem 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Social links */
.social {
  margin: 1rem 0;
}

.social-list {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
  display: inline-flex;
  gap: 0.8rem;
}

.social-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text); /* icons use currentColor */
  text-decoration: none;
  transition: background 150ms ease, transform 150ms ease;
}

.social-list a:hover {
  background: linear-gradient(90deg, var(--accent), var(--accent-soft));
  color: #0c0b13;
  transform: translateY(-2px);
}

.icon {
  width: 20px;
  height: 20px;
  display: block;
}

/* MOBILE */
@media (max-width: 600px) {
  .hero {
    height: 55vh;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
  }
  .hero-content {
    padding: 0 1rem;
  }
  .title {
    font-size: clamp(3rem, 12vw, 5rem);
    word-break: break-word;
  }
}

/* TABLET + DESKTOP */
@media (min-width: 900px) {
  .main {
    padding: 4rem 1.5rem 8rem;
  }
  .coming {
    font-size: 1.6rem;
  }
}

/* ConvertKit hard reset */
.waitlist
  :is(
    .formkit-alert,
    .formkit-alert-success,
    .formkit-alert-error,
    .formkit-message,
    .formkit-message-success,
    .formkit-message-error
  ) {
  background: none !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0.5rem 0 !important;
}
.waitlist :is(.formkit-message-success, .formkit-alert-success) {
  color: var(--accent) !important;
  font-family: var(--font-title) !important;
  font-weight: 600 !important;
  text-shadow: 0 0 12px rgba(193, 166, 109, 0.3) !important;
  text-align: center !important;
}
.waitlist :is(.formkit-message-error, .formkit-alert-error) {
  color: #ffb4b4 !important;
  font-family: var(--font-body) !important;
  font-weight: 600 !important;
  text-align: center !important;
}
.waitlist .formkit-alert svg,
.waitlist .formkit-alert [data-hide] {
  display: none !important;
}
.waitlist [style*="background"] {
  background: none !important;
}
.waitlist [style*="border"] {
  border: none !important;
}
.waitlist [style*="box-shadow"] {
  box-shadow: none !important;
}

/* Expand the subscribe button so text isn't cramped */
.waitlist .formkit-submit {
  display: inline-block !important;
  width: auto !important; /* don’t force 100%, but allow growth */
  min-width: 140px !important; /* ensures a comfortable base size */
  padding: 0.9rem 2rem !important; /* more horizontal padding */
  text-align: center !important;
}
