/* MyAppClub Login Kit v1.0 (owner design, 24 Nov 2026; UMR-004 v3.3 §3 item 11):
   the ONE Sign In / Sign Up page of every app, website and White Label site — member and admin alike. */
.mlk {
  --mlk-green: #0f4d2c; --mlk-green-2: #1b6b3d; --mlk-green-3: #2e8b57; --mlk-gold: #d4a63a; --mlk-gold-2: #b8862b;
  --mlk-cream: #fbf7ec; --mlk-ink: #173322; --mlk-muted: #4d6355; --mlk-line: rgba(15, 77, 44, .14);
  font-family: Poppins, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; color: var(--mlk-ink); background: var(--mlk-cream);
  min-height: 100vh; display: flex; flex-direction: column;
}
.mlk *, .mlk *::before, .mlk *::after { box-sizing: border-box; }
.mlk a { color: inherit; }
.mlk button { font: inherit; cursor: pointer; }

/* top bar */
.mlk-bar { background: linear-gradient(90deg, #0b3b22, #145a33 55%, #0b3b22); color: #fff; box-shadow: 0 2px 10px rgba(0,0,0,.18); }
.mlk-bar-in { max-width: 1280px; margin: 0 auto; display: flex; align-items: center; gap: 18px; padding: 12px 24px; flex-wrap: wrap; }
.mlk-app { display: flex; align-items: center; gap: 12px; font-weight: 700; font-size: 26px; letter-spacing: -.01em; text-decoration: none; color: #fff; }
.mlk-app-ico { width: 44px; height: 44px; border-radius: 12px; border: 2px solid rgba(255,255,255,.85); display: grid; place-items: center; overflow: hidden; flex: none; }
.mlk-app-ico img { width: 100%; height: 100%; object-fit: cover; }
.mlk-app-ico svg { width: 22px; height: 22px; }
.mlk-sep { width: 1px; align-self: stretch; background: rgba(255,255,255,.35); }
.mlk-club b { display: block; font-size: 19px; font-weight: 600; }
.mlk-club span { display: block; color: #f3cf73; font-size: 14px; }
.mlk-bar-right { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.mlk-uni { border: 2px solid var(--mlk-gold); color: #f3cf73 !important; background: rgba(0,0,0,.12); border-radius: 999px; padding: 8px 22px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.mlk-uni:hover { background: rgba(212,166,58,.18); }
.mlk-lang { border: 0; padding: 0 4px; font: inherit; font-weight: 500; color: #173322; background: transparent; cursor: pointer; }
.mlk-lang-pill { display: inline-flex; align-items: center; gap: 8px; background: #fff; border-radius: 999px; padding: 8px 14px; color: #173322; box-shadow: 0 2px 6px rgba(0,0,0,.15); }
.mlk-lang-pill svg { width: 20px; height: 20px; }
.mlk-bar-sep { width: 1px; height: 28px; background: rgba(243,207,115,.55); }

/* hero */
/* v1.2: the owner's scenery (SVG from login-kit.js) sits behind the hero */
.mlk-hero { position: relative; overflow: hidden; padding: 30px 24px 120px; background: #eef4df; }
.mlk-scene { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
.mlk-hero-in { position: relative; z-index: 1; max-width: 1280px; margin: 0 auto; display: grid; grid-template-columns: 220px 1fr 220px; align-items: center; gap: 20px; }
.mlk-seal { width: 210px; height: 210px; border-radius: 50%; padding: 8px; background: linear-gradient(145deg, #f6d77e, #b8862b); box-shadow: 0 10px 28px rgba(60,45,10,.25); justify-self: center; }
.mlk-seal img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: #fff; display: block; }
.mlk-center { text-align: center; }
.mlk-title { white-space: nowrap; margin: 0 0 14px; font: 800 clamp(26px, 3.4vw, 58px)/1.1 Georgia, "Times New Roman", serif; color: var(--mlk-green); }
.mlk-pill1 { display: inline-flex; align-items: center; gap: 14px; margin: 0 0 14px; }
.mlk-pill1::before, .mlk-pill1::after { content: ""; width: 70px; height: 2px; background: var(--mlk-gold-2); }
.mlk-pill1 span { background: linear-gradient(180deg, #f8dc8f, #e9c066); color: #3b2a07; font-weight: 600; font-size: clamp(16px, 2vw, 27px); padding: 6px 34px; border-radius: 999px; box-shadow: inset 0 -2px 0 rgba(0,0,0,.08); }
.mlk-pill2 { display: inline-block; background: linear-gradient(180deg, #d8efc8, #bfe2a8); color: var(--mlk-green); font-weight: 600; font-size: clamp(15px, 1.8vw, 25px); padding: 7px 40px; border-radius: 999px; margin: 0 0 22px; }
.mlk-actions { display: flex; justify-content: center; gap: 28px; flex-wrap: wrap; }
.mlk-btn { display: flex; align-items: center; gap: 16px; min-width: 330px; text-align: left; border-radius: 14px; padding: 14px 26px; text-decoration: none; transition: transform .12s, box-shadow .12s; }
.mlk-btn:hover { transform: translateY(-1px); }
.mlk-btn svg { width: 42px; height: 42px; flex: none; }
.mlk-btn b { display: block; font-size: 26px; font-weight: 600; line-height: 1.2; }
.mlk-btn small { display: block; font-size: 17px; opacity: .9; }
.mlk-btn-in { background: linear-gradient(180deg, #17663a, #0d4a28); color: #fff; border: 2px solid #0b3b22; box-shadow: 0 8px 18px rgba(13,74,40,.35); }
.mlk-btn-up { background: #fffaf0; color: var(--mlk-green); border: 2px solid var(--mlk-gold); box-shadow: 0 6px 14px rgba(120,90,20,.18); }
.mlk-gateway { display: flex; align-items: center; justify-content: center; gap: 18px; margin: 26px 0 12px; font: italic 22px Georgia, serif; color: #24402f; }
.mlk-gateway::before, .mlk-gateway::after { content: ""; width: 60px; height: 2px; background: var(--mlk-gold-2); }
.mlk-feats { display: flex; justify-content: center; flex-wrap: wrap; gap: 0; }
.mlk-feat { display: flex; align-items: center; gap: 10px; padding: 0 22px; font-weight: 500; font-size: 17px; color: #173322; }
.mlk-feat + .mlk-feat { border-left: 2px solid rgba(184,134,43,.55); }
.mlk-feat svg { width: 30px; height: 30px; color: var(--mlk-green-2); }

/* the app's own form (sign in / sign up), shown under the buttons */
.mlk-panel { max-width: 560px; margin: 22px auto 0; background: #fff; border: 1px solid var(--mlk-line); border-radius: 16px; padding: 22px; box-shadow: 0 12px 30px rgba(15,77,44,.14); text-align: left; position: relative; z-index: 2; }
.mlk-panel[hidden] { display: none; }

/* vision, mission */
.mlk-body { max-width: 1280px; margin: 0 auto; padding: 8px 24px 30px; width: 100%; }
.mlk-h2 { font: 700 34px Georgia, serif; color: var(--mlk-green); margin: 10px 0 18px; display: inline-block; border-bottom: 3px solid var(--mlk-gold); padding-bottom: 4px; }
.mlk-vision { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.mlk-card { background: #fff; border-radius: 14px; padding: 16px 10px; text-align: center; box-shadow: 0 6px 16px rgba(15,77,44,.10); font-weight: 600; font-size: 17px; color: #173322; }
.mlk-card i { display: grid; place-items: center; width: 46px; height: 46px; margin: 0 auto 10px; border-radius: 12px; background: #fff4dc; font-style: normal; font-size: 24px; }
.mlk-mission { margin-top: 22px; display: flex; gap: 22px; align-items: center; background: linear-gradient(90deg, #fffaf0, #f4f8ec); border: 1px solid rgba(184,134,43,.35); border-radius: 16px; padding: 16px 30px; }
.mlk-mission b { font: 700 26px Georgia, serif; color: var(--mlk-green); white-space: nowrap; padding-right: 22px; border-right: 2px solid var(--mlk-gold); }
.mlk-mission p { margin: 0; font-size: 16px; color: #24402f; }

/* moving logo band */
.mlk-band { background: #fff; border-top: 1px solid var(--mlk-line); overflow: hidden; padding: 16px 0; }
.mlk-band-track { display: flex; width: max-content; align-items: center; animation: mlk-band 70s linear infinite; }
.mlk-band-track img { height: 86px; width: auto; max-width: 260px; object-fit: contain; padding: 0 26px; border-right: 1px solid #e8e2cf; }
.mlk-band:hover .mlk-band-track { animation-play-state: paused; }
@keyframes mlk-band { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* phones and tablets: one column, no sideways scroll (UMR-004 v1.6) */
@media (max-width: 1100px) {
  .mlk-title { white-space: normal; }
  .mlk-vision { grid-template-columns: repeat(3, 1fr); }
  .mlk-hero-in { grid-template-columns: 150px 1fr 150px; }
  .mlk-seal { width: 150px; height: 150px; }
}
@media (max-width: 760px) {
  .mlk-bar-in { padding: 10px 14px; gap: 10px; }
  .mlk-app { font-size: 20px; } .mlk-app-ico { width: 36px; height: 36px; }
  .mlk-club, .mlk-sep { display: none; }
  .mlk-uni { padding: 6px 14px; font-size: 14px; }
  .mlk-hero { padding: 22px 16px 90px; }
  .mlk-bar-sep { display: none; }
  .mlk-hero-in { grid-template-columns: 1fr 1fr; }
  .mlk-center { grid-column: 1 / -1; order: 3; }
  .mlk-seal { width: 110px; height: 110px; padding: 5px; }
  .mlk-pill1::before, .mlk-pill1::after, .mlk-gateway::before, .mlk-gateway::after { width: 20px; }
  .mlk-pill1 span, .mlk-pill2 { padding: 6px 16px; }
  .mlk-btn { min-width: 0; width: 100%; padding: 12px 16px; }
  .mlk-btn b { font-size: 21px; } .mlk-btn small { font-size: 15px; }
  .mlk-feat { padding: 6px 12px; font-size: 15px; }
  .mlk-feat + .mlk-feat { border-left: 0; }
  .mlk-gateway { font-size: 18px; }
  .mlk-body { padding: 8px 16px 24px; }
  .mlk-vision { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .mlk-mission { flex-direction: column; align-items: flex-start; gap: 8px; padding: 14px 18px; }
  .mlk-mission b { border-right: 0; padding-right: 0; }
  .mlk-band-track img { height: 56px; padding: 0 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .mlk-band-track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .mlk-band-track img[aria-hidden="true"] { display: none; }
  .mlk-btn { transition: none; }
}
