/* ===========================================================
   Chkobba Tn — shared styles (index.html + privacy.html)
   "Vert table de jeu" theme. No external dependencies.
   =========================================================== */

:root {
  --green-1: #0a5c2e;
  --green-2: #074a25;
  --green-bright: #3aaa35;
  --gold: #e8c34a;
  --red: #e2574c;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, 0.72);
  --panel: rgba(255, 255, 255, 0.06);
  --panel-border: rgba(255, 255, 255, 0.14);
  --maxw: 960px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: linear-gradient(135deg, var(--green-1) 0%, var(--green-2) 100%);
  background-attachment: fixed;
  min-height: 100vh;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
}

a { color: inherit; }

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

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: saturate(140%) blur(8px);
  background: rgba(7, 74, 37, 0.55);
  border-bottom: 1px solid var(--panel-border);
}
.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.2px;
}
.brand img { width: 34px; height: 34px; border-radius: 9px; }
.nav-link {
  text-decoration: none;
  color: var(--muted);
  font-weight: 600;
  font-size: 15px;
  padding: 8px 4px;
  transition: color 0.15s;
}
.nav-link:hover { color: var(--text); }

/* ---------- Hero ---------- */
.hero {
  text-align: center;
  padding: 64px 0 40px;
}
.hero .app-icon {
  width: 128px;
  height: 128px;
  border-radius: 28px;
  margin: 0 auto 22px;
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.38);
}
.hero h1 {
  font-size: clamp(34px, 7vw, 52px);
  line-height: 1.05;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}
.suits {
  font-size: 22px;
  letter-spacing: 6px;
  margin-bottom: 18px;
}
.suits .r { color: var(--red); }
.suits .b { color: #ffffff; }
.tagline {
  font-size: clamp(17px, 2.6vw, 21px);
  color: var(--muted);
  max-width: 540px;
  margin: 0 auto 32px;
}

/* ---------- Store buttons ---------- */
.store-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}
.btn-store {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  color: var(--green-2);
  text-decoration: none;
  padding: 12px 22px;
  border-radius: 14px;
  min-width: 200px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.28);
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.btn-store:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(0, 0, 0, 0.34); }
.btn-store:active { transform: translateY(0) scale(0.98); }
.btn-store svg { width: 26px; height: 26px; flex: 0 0 auto; fill: var(--green-2); }
.btn-store .txt { display: flex; flex-direction: column; line-height: 1.15; text-align: left; }
.btn-store .txt small { font-size: 11px; font-weight: 600; opacity: 0.7; text-transform: uppercase; letter-spacing: 0.4px; }
.btn-store .txt b { font-size: 18px; font-weight: 700; }

.compat {
  margin-top: 18px;
  font-size: 13px;
  color: var(--muted);
}

/* ---------- Footer ---------- */
.site-footer {
  margin-top: auto;
  border-top: 1px solid var(--panel-border);
  background: rgba(7, 74, 37, 0.5);
}
.site-footer .container {
  padding-top: 28px;
  padding-bottom: 28px;
  text-align: center;
  font-size: 14px;
  color: var(--muted);
}
.site-footer a { color: var(--text); text-decoration: none; font-weight: 600; }
.site-footer a:hover { text-decoration: underline; }
.footer-links { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin-bottom: 10px; }

/* ---------- Privacy page ---------- */
.legal {
  flex: 1;
  padding: 48px 0 64px;
}
.legal .card {
  background: var(--panel);
  border: 1px solid var(--panel-border);
  border-radius: 18px;
  padding: 36px clamp(20px, 5vw, 48px);
  max-width: 760px;
  margin: 0 auto;
}
.legal h1 {
  font-size: clamp(28px, 5vw, 38px);
  margin-bottom: 6px;
}
.legal .updated { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.legal h2 {
  font-size: 20px;
  color: var(--gold);
  margin: 28px 0 8px;
}
.legal p { color: rgba(255, 255, 255, 0.86); margin-bottom: 14px; }
.legal a { color: var(--gold); }
.legal a:hover { text-decoration: underline; }
.legal ul { margin: 0 0 14px 22px; color: rgba(255, 255, 255, 0.86); }
.legal li { margin-bottom: 6px; }

/* ---------- Responsive ---------- */
@media (max-width: 600px) {
  .hero { padding-top: 44px; }
  .btn-store { min-width: 0; flex: 1 1 100%; justify-content: center; }
}
