:root {
    --bg: #f6f2ec;
    --ink: #0f0f0f; /* primary text — very dark, readable */
    --muted: #2f2f2f; /* secondary text — still readable */
    --accent: #7a6a4f;
    --card: #ffffff;
}

* { box-sizing: border-box; }

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, sans-serif;
    background-color: var(--bg);
    background-image: url("../img/bg-texture.png");
    background-repeat: repeat;
    background-size: 400px 400px;
    color: var(--ink);
    line-height: 1.6;
}

.text-highlight {
    max-width: 70ch;
    margin: 1.5rem auto 0; /* THIS centers it */
    padding: 1rem 1.4rem;
    background: rgba(255, 255, 255, 0.30);
    backdrop-filter: blur(2px);
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12), inset 0 0 0 1px rgba(255,255,255,0.25);
    text-align: center; /* Optional but looks great here */

}


.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
}


main.container {
    margin-top: 1.25rem;
    background: rgba(255, 255, 255, 0.30);
    backdrop-filter: blur(1.5px);
    border-radius: 10px;
    padding: 2.5rem 2rem 3rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.site-header {
    text-align: center;
    margin: 0 auto 1.25rem;
    max-width: 1100px;
    padding: 2rem 1.5rem 1.25rem;
    /* Match main.container "glass" feel */
    background: rgba(255, 255, 255, 0.30);
    backdrop-filter: blur(1.5px);
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.tagline {
    display: inline-block;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #111;
    margin: 0.75rem auto 0;
    padding: 0.35rem 0.75rem;
    background: rgba(255, 255, 255, 0.30);
    backdrop-filter: blur(2px);
    border-radius: 6px;
}

.logo {
    width: 100%;
    max-width: 520px;
    height: 165px;
    margin: 0 auto 1rem; /* <-- this centers it */
    display: block; /* belt-and-suspenders */

    background-image: url("../img/NM_Logo.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 4px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}


.nav {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1.2rem;
  flex-wrap: wrap;
}

.nav a {
    text-decoration: none;
    color: #0f0f0f;
    font-weight: 800;
    font-size: 1.05rem;
    letter-spacing: 0.02em;
}

.nav a:hover {
    color: var(--accent);
}

.nav a.active {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 6px;
}

main {
  padding: 1.5rem 0 3rem;
}

h1 {
  font-size: 2rem;
  margin: 0 0 0.75rem;
}

h2 {
  font-size: 1.6rem;
  margin: 2.5rem 0 1rem;
}

.lead {
  color: var(--muted);
  max-width: 70ch;
  margin: 0 auto;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 1.25rem;
}

.card {
    background: var(--card);
    border-radius: 6px;
    padding: 1.5rem;
    box-shadow: 0 3px 8px rgba(0,0,0,0.10);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 32px rgba(0,0,0,0.25), 0 0 0 1px rgba(122,106,79,0.15); /* subtle accent ring */
}


.card h3 { margin-top: 0; }

.footer {
  text-align: center;
  padding: 2rem 1.5rem;
  background: #ebe5dc;
  color: var(--muted);
}

a { color: var(--accent); }
a:hover { text-decoration: underline; }

/* Games page section*/
.section-lead {
    max-width: 70ch;
    margin: 0.75rem auto 2rem;
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 0.015em;
    color: #111;
    padding: 0.6rem 1rem;
    background: rgba(255,255,255,0.28);
    backdrop-filter: blur(2px);
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12), inset 0 0 0 1px rgba(255,255,255,0.25);
    text-align: center;
}

/* ============================
   Screenshot Gallery
   ============================ */

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.gallery img {
  width: 100%;
  height: auto;
  border-radius: 6px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
  cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.gallery img:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.18);
}

/* ============================
   Lightbox (click to enlarge)
   ============================ */

#lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    cursor: zoom-out;
}

    #lightbox img {
        max-width: 95%;
        max-height: 95%;
        border-radius: 6px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.6);
    }

/* ============================
   FAQ
   ============================ */

.faq {
    margin-top: 1.5rem;
    max-width: 80ch;
    margin-left: auto;
    margin-right: auto;
}

.faq-item {
    background: rgba(255, 255, 255, 0.30);
    backdrop-filter: blur(2px);
    border-radius: 10px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.12), inset 0 0 0 1px rgba(255,255,255,0.22);
    margin: 0.9rem 0;
    overflow: hidden;
}

.faq-item summary {
    cursor: pointer;
    padding: 1rem 1.25rem;
    font-weight: 800;
    color: var(--ink);
    list-style: none;
}

    .faq-item summary::-webkit-details-marker {
        display: none;
    }

    .faq-item summary::after {
        content: "+";
        float: right;
        font-weight: 900;
        opacity: 0.75;
    }

.faq-item[open] summary::after {
    content: "–";
}

.faq-body {
    padding: 0 1.25rem 1rem;
    color: var(--muted);
}

    .faq-body p {
        margin: 0.5rem 0 0;
    }
