/* === Global basics === */

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background-color: #f5f5f5;
  color: #222;
  line-height: 1.6;
}

/* So very tall pages don’t look weird on big screens */
html, body {
  min-height: 100%;
}

/* === Header / navigation === */


.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid #e0e0e0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: #222;
}

.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #2e7d32; /* green compass dot */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: #fff;
}

.brand-text {
  font-size: 18px;
  font-weight: 600;
}

.nav {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.nav-link {
  text-decoration: none;
  font-size: 14px;
  color: #555;
  padding: 6px 10px;
  border-radius: 999px;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.nav-link:hover {
  background-color: #e8f5e9;
  color: #1b5e20;
}

.nav-link.active {
  background-color: #2e7d32;
  color: #fff;
}

/* === Page layout === */

.page-content {
  max-width: 960px;
  margin: 24px auto 48px;
  padding: 0 16px;
}

/* Optional “card” wrapper if you want white boxes like on the privacy page */
.card {
  background: #fff;
  padding: 24px 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

/* === Typography === */

h1, h2, h3 {
  font-weight: 600;
  color: #111;
  margin-top: 0;
}

h1 {
  font-size: 28px;
  margin-bottom: 4px;
}

h2 {
  font-size: 20px;
  margin-top: 24px;
  margin-bottom: 8px;
}

h3 {
  font-size: 16px;
  margin-top: 16px;
  margin-bottom: 4px;
}

p {
  margin: 8px 0;
}

ul {
  margin: 8px 0 8px 20px;
  padding: 0;
}

li {
  margin: 4px 0;
}

.meta {
  color: #666;
  font-size: 14px;
  margin-bottom: 16px;
}

a {
  color: #1a73e8;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* === Tables (for the privacy “third-party services” table) === */


table {
  border-collapse: collapse;
  width: 100%;
  margin: 8px 0;
  font-size: 14px;
}

th, td {
  border: 1px solid #ddd;
  padding: 8px;
  vertical-align: top;
}

th {
  background-color: #f7f7f7;
  text-align: left;
  font-weight: 600;
}

/* Small vertical spacer helper if you use it */
.section-spacer {
  height: 8px;
}

/* === Tiny footer if you ever want one === */

.site-footer {
  text-align: center;
  font-size: 13px;
  color: #777;
  padding: 16px 0 24px;
}

.play-badge-container {
  display: flex;
  justify-content: center;
  margin-top: 0px;
}

.play-badge-link {
  display: block;        /* optional, but helps consistency */
}

.home-container {
  display: flex;
  flex-direction: column;
  align-items: center;   /* 🔑 centers everything horizontally */
  text-align: center;
}

.subtitle {
  color: #555;
  margin-bottom: 16px;
}

.beta-note {
  margin-top: 12px;
  font-size: 0.9rem;
  color: #777;
}

/* --- Header: mobile friendly --- */

@media (max-width: 520px) {
  .header-inner {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .nav {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
  }

  .nav-link {
    flex: 1 1 calc(33.333% - 8px); /* 3 per row */
    max-width: 160px;
    text-align: center;
    padding: 10px 8px;
    border-radius: 12px;
    white-space: nowrap;
  }
}

/* Fallback for very small screens */
@media (max-width: 360px) {
  .nav-link {
    flex: 1 1 calc(50% - 8px); /* 2 per row if needed */
  }
  
  .discord-button {
  display: inline-block;
  margin: 24px auto 0;
  padding: 12px 20px;
  background-color: #5865F2; /* Discord blurple */
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  border-radius: 999px;
  text-decoration: none;
  transition: background-color 0.15s ease, transform 0.15s ease;
}

.discord-button:hover {
  background-color: #4752c4;
  transform: translateY(-1px);
}

.discord-button:active {
  transform: translateY(0);
}
}