:root {
  --main-bg: #171317;
  --accent: #f4b674;
  --text: #f5f5f5;
  --muted-text: #ddd;
  --highlight-bg: rgba(194, 87, 53, 0.4);
  --border-accent: rgba(255, 204, 136, 0.2);
}

/* Prevent FOUC: hide body until fully loaded */
body:not(.ready) {
  visibility: hidden;
}

#header-partial {
  min-height: 225px;
  /* estimate or match actual height */
}

#navbar-partial {
  min-height: 64px;
  /* typical navbar height */
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--main-bg);
  font-family: Arial, sans-serif;
  min-height: 100vh;
  color: var(--text);
  opacity: 0;
  transition: opacity 0.1s ease-in;
}

body.loaded {
  opacity: 1;
}

.hero-header {
  text-align: center;
  margin-top: 30px;
  max-width: 100%;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--accent);
  margin: 2rem 0 1rem;
  line-height: 1.2;
  text-align: center;
}

hi {
  font-size: 2em;
}

h2 {
  font-size: 1.8em;
}

h3 {
  font-size: 1.6em;
}

h4 {
  font-size: 1.4em;
}

p {
  color: var(--text);
  font-size: 1.2em;
  margin: 1rem 0 1rem;
  line-height: 1.8;
}

@media (max-width: 1920px) {
  #header-partial {
      min-height: 160px;
      /* estimate or match actual height */ }
  
  p {
    font-size: 1rem;
  }

    hi {
      font-size: 1.8em;
    }
  
    h2 {
      font-size: 1.6em;
    }
  
    h3 {
      font-size: 1.4em;
    }
  
    h4 {
      font-size: 1.2em; 
      color: #217ea3;}
}

.text-muted {
  color: var(--muted-text);
}

.hero-logo {
  max-width: 80%;
  margin: 24px auto 30px;
  display: block;
  animation: fadeIn 1.2s ease-in;
}

.carousel-thumb {
  width: 100%;
  max-width: 800px;
  height: auto;
  cursor: pointer;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.container {
  text-align: center;
  padding: 0px 20px;
}

.footer {
  margin-top: 40px;
  text-align: center;
  padding-bottom: 10px;
  background-color: rgba(194, 87, 53, 0.4);
  border-top: 2px solid rgba(255, 204, 136, 0.2);
}

.footer-text {
  margin-top: -20px;
  font-size: 0.9em;
  color: #ffffff;
  opacity: 0.6;
}

.footer .social-links {
  margin-bottom: 20px;
}

.welcome-section img {
  max-width: 600px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  margin-top: 60px;
}

.welcome-section h1 {
  font-size: 2em;
  margin-bottom: 10px;
}

.tagline {
  font-size: 1.5rem;
}

.game-thumbnail {
  display: block;
  max-width: 100%;
  width: auto;
  margin-top: 20px;
}

.dev-updates {
  padding: 2rem 1rem;
  max-width: 1000px;
  margin: 0 auto;
}

.view-all-link {
  text-align: center;
  margin-top: 20px;
}

.view-all-link a {
  color: #217ea3;
  font-size: 1.1em;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

.view-all-link a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.social-links a[aria-label="X (Twitter)"] img {
  width: 40px;
  height: 40px;
}

.social-links a[aria-label="YouTube"] img {
  width: 100px;
  height: 40px;
}

.social-links a[aria-label="Reddit"] img {
  width: 50px;
  height: 50px;
}

.social-links a[aria-label="Bluesky"] img {
  width: 50px;
  height: 50px;
}

.social-links a[aria-label="Bluesky"]:hover img {
  opacity: 1;
  transform: scale(1.1);
  filter: drop-shadow(0 0 6px #217ea3);
}

.social-links a[aria-label="Reddit"]:hover img {
  opacity: 1;
  transform: scale(1.1);
  filter: drop-shadow(0 0 6px #a32521);
}

.social-links a[aria-label="X (Twitter)"]:hover img {
  opacity: 1;
  transform: scale(1.1);
  filter: drop-shadow(0 0 6px #ffffff);
}

.section {
  max-width: 800px;
  margin: 2rem auto;
  text-align: left;
  line-height: 1.7;
  font-size: 1.05rem;
  padding: 0 1rem;
  color: var(--muted-text);
}

.section h1 {
  text-align: center;
  margin-bottom: 2rem;
}

.section p {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem;
  text-align: left;
}

.value-list {
  list-style: none;
  padding: 0 2rem;
  margin-top: 20px;
  text-align: left;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.value-list li {
  margin-bottom: 16px;
  padding-left: 28px;
  position: relative;
  font-size: 1.1em;
  line-height: 1.5;
}

@media (max-width: 1920px) {
.value-list li {
  font-size: 1rem;
}

.value-list p {
  font-size: 1rem;
}
}

.value-list li::before {
  content: "✦";
  position: absolute;
  left: 0;
  color: #2b86b1;
}

.updates-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.update-card {
  display: flex;
  flex-direction: column;
  background-color: #1e1e1e;
  border: 1px solid #217ea3;
  border-radius: 0.75rem;
  padding: 1rem;               /* unify to one padding */
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.update-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* Title */
.update-card .update-title {
  font-size: 1.1em;
  color: var(--text);
  text-align: center;
  margin: 0.5rem 0 0.25rem;    /* space above/below the title */
}

/* Version badge */
.update-card .update-card__version {
  font-size: 0.85em;
  color: #217ea3;
  text-align: center;
  margin-bottom: 0.75rem;      /* gap before the date */
}

.update-card h2 {
  font-size: 1.2rem;
}

@media screen and (max-width: 800px) {
  .update-card h2 {
      font-size: 1rem; }
}

/* Date */
.update-card h3 {
  font-size: 0.9em;
  color: #969696;
  text-align: center;
  margin: 0 0 1rem;            /* space below date */
}

/* Summary */
.update-card p {
  color: var(--muted-text);
  text-align: center;
  font-size: 1em;
  line-height: 1.4;
  margin: 0 0 1rem;            /* space before the link */
}

/* “Read Full Update” link */
.update-card .update-card__link {
  margin-top: auto;            /* push to bottom */
  align-self: flex-end;
}

.update-card .update-card__link a {
  font-size: 0.875rem;
  font-weight: bold;
  color: #a32121;
  text-decoration: none;
}

.update-card .update-card__link a:hover {
  filter: drop-shadow(0 0 6px #000000);
  color: var(--text);
}


/* Full‐page update styling */
.update-full-card {
  max-width: 800px;
  margin: 2rem auto;
  padding: 2rem 1rem;
}

.update-full-card .update-card__version {
  font-size: 0.9em;
  color: var(--accent);
  font-style: italic;
  text-align: center;
  margin: 0.5rem 0 1rem;
}

.update-full-card .update-card__date {
  font-size: 0.85em;
  color: #aaa;
  text-align: center;
  margin-bottom: 1.5rem;
}


/* ---- MEET THE TEAM ---- */
.meet-the-team {
  max-width: 800px;
  margin: 4rem auto;
  padding: 0 1rem;
  text-align: center;
}

.meet-the-team h2 {
  font-size: 2em;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

/* photo + info wrapper */
.meet-the-team .team-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  max-width: 700px;
  margin: 0 auto 4rem;
  padding: 0 1rem;
}

@media (min-width: 600px) {
  .meet-the-team .team-member {
    flex-direction: row;
    align-items: center;
    /* vertical centering */
    justify-content: flex-start;
    /* align children to the left */
  }
}

/* circle placeholder / photo container */
.member-photo-wrapper {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  border: 5px solid #2b86b1;
  background-color: rgba(255, 255, 255, 0.1);
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* actual image */
.member-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* text info */
.member-info {
  text-align: center;
}

@media (min-width: 600px) {
  .member-info {
    text-align: left;
    margin-left: 1.5rem;
  }
}

.member-name {
  font-size: 1.3em;
  color: var(--text);
  margin: 0 0 1rem;
  text-align: center;
  /* default to center (mobile) */
}

/* On wider screens, switch back to left-align */
@media (min-width: 600px) {
  .member-name {
    text-align: left;
  }
}

.member-role {
  font-size: 1em;
  font-style: italic;
  color: var(--muted-text);
  margin: 0.25rem 0 1rem;
}

.member-quote {
  margin: 0 0 1rem;
  padding-left: 1rem;
  border-left: 3px solid #217ea3;
  font-style: italic;
  color: var(--text);
  line-height: 1.4;
}

.member-bio {
  margin: 0;
  line-height: 1.6;
  color: var(--text);
}



@media screen and (max-width: 800px) {
  #header-partial {
      min-height: 60px;
      /* estimate or match actual height */
    }
  
    #navbar-partial {
      min-height: 56px;
      /* typical navbar height */ }
  
  .welcome-section h1 {
    font-size: 1.6em;
  }

  .section {
    margin: 0 auto;
  }

  .section p {
    padding: 0rem;
  }

  /* Let the list fill its container (instead of capping at 800px) */
  .value-list {
    max-width: none;
    padding: 0 1rem;
    /* some side padding so text doesn’t hug the edges */
  }

  /* More vertical space and a deeper indent on each item */
  .value-list li {
    margin-bottom: 2rem;
    /* double-space between entries */
    padding-left: 0.5rem;
    /* push text further in from the bullet */
  }

  /* If your bullet (the ::before) feels too close to the edge, nudge it in */
  .value-list li::before {
    left: -1rem;
  }

  h2 {
    font-size: 1.4em;
  }

  h3 {
    font-size: 1.2em;
  }

  h4 {
    font-size: 1em;
  }

  .value-list li,
  p {
    font-size: 0.9em;
  }

  .game-thumbnail {
    width: 100%;
    align-self: center;
  }
}

@media screen and (max-width: 400px) {
  .footer-text {
    font-size: 0.6em;
    padding: 0 16px;
  }
}