/* GameFeeder – shared styles */

:root {
  --green-900: #0F2009;
  --green-800: #1A3311;
  --green-700: #243F18;
  --green-600: #2D5019;
  --green-500: #3D6B24;
  --green-400: #548C33;
  --tan:        #C4A265;
  --tan-light:  #D9BF8E;
  --cream:      #EDE8DF;
  --cream-dark: #DDD8CE;
  --cream-light: #F5F1EA;
  --brown:      #5A3E1B;
  --text-dark:  #1C1C1C;
  --text-mid:   #4A4A4A;
  --text-light: #7A7A7A;
  --white:      #FFFFFF;
  --radius:     8px;
  --max-w:      1100px;
  --max-w-prose: 780px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-dark);
  background: var(--cream-light);
  line-height: 1.6;
}

a { color: var(--green-600); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; display: block; }

/* ── Navigation ─────────────────────────────────────────── */

nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--green-800);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

/* Clip the white corners off the circular logo badge */
.nav-logo {
  height: 42px;
  width: 42px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-brand:hover { text-decoration: none; }

.nav-brand-name {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--cream);
  line-height: 1;
}

.nav-brand-name span { color: var(--tan); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  color: rgba(237,232,223,0.8);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  transition: color 0.15s;
}

.nav-links a:hover { color: var(--tan-light); text-decoration: none; }

/* ── Buttons ─────────────────────────────────────────────── */

.btn {
  display: inline-block;
  padding: 13px 30px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s, color 0.15s;
  cursor: pointer;
}

.btn:hover { transform: translateY(-2px); text-decoration: none; }

.btn-primary {
  background: var(--green-700);
  color: var(--cream);
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.btn-primary:hover {
  background: var(--green-800);
  box-shadow: 0 4px 18px rgba(0,0,0,0.28);
}

.btn-outline {
  background: transparent;
  color: var(--green-700);
  border: 2px solid var(--green-700);
}

.btn-outline:hover {
  background: var(--green-700);
  color: var(--cream);
}

/* ── Hero ────────────────────────────────────────────────── */

.hero {
  background: var(--cream);
  padding: 72px 24px 80px;
  text-align: center;
  border-bottom: 1px solid var(--cream-dark);
}

.hero-content {
  max-width: 680px;
  margin: 0 auto;
}

/* Large centered circular logo — white bg matches cream hero */
.hero-logo {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 32px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}

.tagline {
  font-size: clamp(1.6rem, 4.5vw, 2.6rem);
  font-weight: 800;
  color: var(--green-700);
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 16px;
}

.hero-sub {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.75;
}

.cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* ── Section headers ─────────────────────────────────────── */

.section-header {
  text-align: center;
  margin-bottom: 52px;
}

.section-header h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.1rem);
  font-weight: 800;
  color: var(--green-700);
  letter-spacing: -0.02em;
}

.section-header p {
  margin-top: 12px;
  font-size: 1rem;
  color: var(--text-mid);
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

/* ── Features ────────────────────────────────────────────── */

.features {
  background: var(--cream-light);
  padding: 80px 24px;
}

.features-inner { max-width: var(--max-w); margin: 0 auto; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--white);
  border-radius: 12px;
  padding: 32px 28px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05), 0 4px 12px rgba(0,0,0,0.06);
  border: 1px solid var(--cream-dark);
  transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.feature-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: rgba(45,80,25,0.09);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.feature-icon-wrap i {
  font-size: 22px;
  color: var(--green-600);
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--green-700);
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.93rem;
  color: var(--text-mid);
  line-height: 1.7;
}

/* ── Privacy highlight strip ─────────────────────────────── */

.privacy-strip {
  background: var(--green-700);
  padding: 64px 24px;
  text-align: center;
}

.privacy-strip-inner { max-width: 680px; margin: 0 auto; }

.privacy-strip h2 {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 800;
  color: var(--cream);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.privacy-strip p {
  color: rgba(237,232,223,0.82);
  font-size: 1rem;
  line-height: 1.75;
}

.icon-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 36px;
  margin-top: 36px;
}

.icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  max-width: 130px;
}

.icon-item .icon { font-size: 1.9rem; }

.icon-item .label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--tan-light);
  text-align: center;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ── Download ────────────────────────────────────────────── */

.download {
  background: var(--cream);
  padding: 80px 24px;
  text-align: center;
  border-top: 1px solid var(--cream-dark);
}

.download-inner { max-width: 580px; margin: 0 auto; }

.download h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.1rem);
  font-weight: 800;
  color: var(--green-700);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.download p {
  color: var(--text-mid);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 0;
}

.download p a { color: var(--green-600); font-weight: 600; }

.platform-badges {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.badge-placeholder {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: var(--green-800);
  color: var(--cream);
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.badge-placeholder .badge-icon { font-size: 1.4rem; }

/* ── Footer ──────────────────────────────────────────────── */

footer {
  background: var(--green-900);
  padding: 44px 24px;
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

/* Circular clip on footer logo too */
.footer-logo {
  height: 52px;
  width: 52px;
  border-radius: 50%;
  object-fit: cover;
  opacity: 0.92;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 24px;
}

.footer-links a {
  color: rgba(237,232,223,0.6);
  font-size: 0.875rem;
  transition: color 0.15s;
}

.footer-links a:hover { color: var(--tan-light); text-decoration: none; }

.footer-copy {
  font-size: 0.78rem;
  color: rgba(237,232,223,0.3);
  letter-spacing: 0.01em;
}

/* ── Legal pages ─────────────────────────────────────────── */

.legal-page {
  background: var(--white);
  padding: 56px 24px 80px;
}

.legal-inner {
  max-width: var(--max-w-prose);
  margin: 0 auto;
}

.legal-header {
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--cream);
}

.legal-header h1 {
  font-size: clamp(1.6rem, 3.5vw, 2rem);
  font-weight: 800;
  color: var(--green-700);
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.legal-header .effective-date {
  font-size: 0.875rem;
  color: var(--text-light);
}

.legal-inner h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--green-700);
  margin: 36px 0 10px;
}

.legal-inner h3 {
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--text-dark);
  margin: 24px 0 8px;
}

.legal-inner p {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 12px;
}

.legal-inner ul, .legal-inner ol {
  margin: 10px 0 14px 22px;
}

.legal-inner li {
  font-size: 0.95rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 6px;
}

.legal-inner a { color: var(--green-600); font-weight: 500; }

.legal-inner .callout {
  background: var(--cream-light);
  border-left: 4px solid var(--green-500);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 16px 20px;
  margin: 20px 0;
}

.legal-inner .callout p { margin-bottom: 0; font-size: 0.92rem; }

.todo-note {
  background: #FFF8E1;
  border-left: 4px solid #F9A825;
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 12px 16px;
  margin: 16px 0;
  font-size: 0.85rem;
  color: #6D4C00;
  font-weight: 500;
}

/* ── Mobile ──────────────────────────────────────────────── */

@media (max-width: 640px) {
  .nav-links .hide-mobile { display: none; }

  .hero { padding: 52px 20px 64px; }
  .hero-logo { width: 172px; height: 172px; }

  .feature-grid { grid-template-columns: 1fr; }

  .cta-buttons { flex-direction: column; align-items: center; }

  .icon-row { gap: 24px; }
}
