/* ============================================================
   Join in — Website design system
   Ported from the app's Figma tokens (Join in - design system).
   Brand: pink -> blue spiral gradient, Baloo 2 headlines, Inter body.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Baloo+2:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --ji-blue:           #00aaff;
  --ji-pink:           #f600ff;
  --ji-brand-gradient: conic-gradient(from 218.456deg at 53.125% 49.057%, #f348fe 8.76deg, #4dc1e0 100.8deg, #081d92 196.78deg, #0328d8 312.88deg);
  --ji-brand-gradient-bright: linear-gradient(135deg, #f600ff 0%, #b13bf5 38%, #4d6bf5 68%, #00aaff 100%);

  --ji-black:          #030712;
  --ji-white:          #ffffff;
  --ji-bg:             #f9fbfb;
  --ji-darker:         #26272b;
  --ji-dark:           #304056;
  --ji-dark-card:      #51637b;
  --ji-in-between:     #6b7280;
  --ji-muted-fg:       #9ca3af;
  --ji-dark-light:     #afb3ba;
  --ji-light:          #dee2e9;
  --ji-signal:         rgba(246, 0, 255, .22);

  --ji-font-title: 'Baloo 2', system-ui, sans-serif;
  --ji-font-body:  'Inter', system-ui, sans-serif;

  --ji-r-btn:  20px;
  --ji-r-md:   26px;
  --ji-r-lg:   32px;
  --ji-r-xl:   50px;
  --ji-r-full: 9999px;

  --ji-shadow-btn:  0 4.5px 13.5px rgba(0, 0, 0, .15), 0 0 3.375px rgba(0, 0, 0, .35);
  --ji-shadow-card: 0 4px 12px rgba(0, 0, 0, .15), 0 0 3px rgba(0, 0, 0, .35);
}

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

html { height: 100%; }

body {
  margin: 0;
  min-height: 100%;
  background: var(--ji-black);
  color: var(--ji-white);
  font-family: var(--ji-font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

/* ---------- type ---------- */
.ji-display { font-family: var(--ji-font-title); font-weight: 800; font-size: clamp(36px, 6vw, 64px); line-height: 1.05; letter-spacing: -.02em; margin: 0; }
.ji-title-lg { font-family: var(--ji-font-title); font-weight: 800; font-size: clamp(28px, 4vw, 40px); line-height: 1.1; letter-spacing: -.01em; margin: 0; }
.ji-title { font-family: var(--ji-font-title); font-weight: 800; font-size: 26px; line-height: 1.15; letter-spacing: -.01em; margin: 0; }
.ji-eyebrow { font-family: var(--ji-font-body); font-weight: 700; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--ji-pink); margin: 0 0 12px; }
.ji-body { font-family: var(--ji-font-body); font-weight: 500; font-size: 17px; line-height: 1.55; color: var(--ji-dark-light); margin: 0; }

/* ---------- layout ---------- */
.ji-container { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.ji-section { padding: 96px 0; }
@media (max-width: 700px) {
  .ji-section { padding: 64px 0; }
}

/* ---------- nav ---------- */
.ji-nav {
  position: sticky; top: 0; z-index: 30;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 24px;
  background: rgba(3, 7, 18, .72);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.ji-nav__brand { display: flex; align-items: center; }
.ji-nav__brand img { height: 28px; width: auto; }
.ji-nav .btn { height: 44px; padding: 0 20px; font-size: 16px; }

/* ---------- buttons ---------- */
.btn {
  height: 59px; border-radius: var(--ji-r-btn); border: none; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--ji-font-title); font-weight: 800; font-size: 22px;
  letter-spacing: -.01em; line-height: 1; padding: 0 28px; gap: 8px;
  text-decoration: none; white-space: nowrap;
  transition: transform .08s ease, filter .15s;
}
.btn:active { transform: scale(.975); }
.btn img, .btn svg { height: 22px; width: auto; }
.btn--primary   { background: var(--ji-white); color: var(--ji-black); box-shadow: var(--ji-shadow-btn); }
.btn--secondary { background: var(--ji-dark-card); color: var(--ji-white); box-shadow: var(--ji-shadow-card); }
.btn--ghost     { background: transparent; color: var(--ji-white); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .3); }

.btn-row { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }

/* ---------- hero ---------- */
.ji-hero {
  position: relative;
  padding: 80px 0 60px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(3, 7, 18, .35) 0%, rgba(3, 7, 18, .72) 65%, var(--ji-black) 100%),
    url('/images/background.png');
  background-size: cover;
  background-position: center;
}
.ji-hero__inner { text-align: center; max-width: 720px; margin: 0 auto; }
.ji-hero__logo { width: 220px; margin: 0 auto 28px; }
.ji-hero p.ji-body { max-width: 520px; margin: 20px auto 32px; }
.ji-hero .btn-row { justify-content: center; }

.ji-hero__map {
  position: relative;
  margin: 56px auto 0;
  max-width: 340px;
}
.ji-hero__map img { width: 100%; display: block; }

/* ---------- interactive map pins ---------- */
.ji-map-hot {
  position: absolute; transform: translate(-50%, -50%);
  width: 15%; aspect-ratio: 1 / 1; max-width: 64px;
  background: transparent; border: none; padding: 0; margin: 0;
  border-radius: 50%; cursor: pointer; -webkit-tap-highlight-color: transparent;
}
.ji-map-hot:focus { outline: 2px solid rgba(255, 255, 255, .85); outline-offset: 3px; }
.ji-map-tip {
  position: absolute; left: 50%; bottom: 100%; margin-bottom: 10px;
  transform: translate(-50%, 8px); white-space: nowrap;
  background: var(--ji-white); color: var(--ji-black);
  font-family: var(--ji-font-body); font-weight: 700; font-size: 12.5px;
  padding: 8px 12px; border-radius: 12px; box-shadow: var(--ji-shadow-card);
  opacity: 0; pointer-events: none; transition: opacity .15s ease, transform .15s ease;
  z-index: 5;
}
.ji-map-hot:hover .ji-map-tip, .ji-map-hot:focus .ji-map-tip { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 560px) {
  .ji-map-tip { white-space: normal; max-width: 150px; text-align: center; line-height: 1.3; }
}

/* ---------- USP list (single column) ---------- */
.ji-usp-list { display: flex; flex-direction: column; gap: 52px; max-width: 620px; margin: 0 auto; }
.ji-usp { display: flex; gap: 20px; align-items: flex-start; text-align: left; }
.ji-usp__icon {
  width: 52px; height: 52px; border-radius: 16px; flex-shrink: 0;
  background: var(--ji-dark-card); box-shadow: var(--ji-shadow-card);
  display: flex; align-items: center; justify-content: center;
}
.ji-usp__icon svg { width: 26px; height: 26px; color: var(--ji-pink); }
.ji-usp h3 { font-family: var(--ji-font-title); font-weight: 800; font-size: 21px; letter-spacing: -.01em; margin: 0 0 6px; }
.ji-usp p { font-family: var(--ji-font-body); font-weight: 500; font-size: 15px; line-height: 1.55; color: var(--ji-dark-light); margin: 0; }
@media (max-width: 560px) {
  .ji-usp-list { gap: 40px; }
  .ji-usp { gap: 16px; }
  .ji-usp__icon { width: 44px; height: 44px; }
  .ji-usp__icon svg { width: 22px; height: 22px; }
}

/* ---------- sport strip ---------- */
.ji-sports { overflow: hidden; border-top: 1px solid rgba(255, 255, 255, .08); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.ji-sports__track { display: flex; width: max-content; animation: ji-scroll 32s linear infinite; }
.ji-sports__item { display: flex; align-items: center; gap: 10px; padding: 22px 32px; white-space: nowrap; font-family: var(--ji-font-title); font-weight: 700; font-size: 18px; color: var(--ji-white); }
.ji-sports__item svg { width: 26px; height: 26px; color: var(--ji-pink); }
@keyframes ji-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ji-sports__track { animation: none; } }

/* ---------- store badges ---------- */
.ji-store-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 14px; }
.ji-store-row a { display: inline-flex; align-items: center; transition: transform .08s ease; }
.ji-store-row a:active { transform: scale(.97); }
.ji-store-row img { height: 48px; width: auto; display: block; }

/* ---------- CTA / QR ---------- */
.ji-cta { text-align: center; }
.ji-cta__qr {
  display: inline-flex; flex-direction: column; align-items: center; gap: 10px;
  margin-top: 40px; padding: 20px; background: var(--ji-white); border-radius: var(--ji-r-md);
}
.ji-cta__qr img { width: 140px; height: 140px; }
.ji-cta__qr span { font-family: var(--ji-font-body); font-weight: 700; font-size: 12px; color: var(--ji-darker); }

/* ---------- footer ---------- */
.ji-footer { border-top: 1px solid rgba(255, 255, 255, .08); padding: 40px 0; }
.ji-footer__available { display: flex; flex-direction: column; align-items: center; gap: 12px; margin-bottom: 32px; text-align: center; }
.ji-footer__label { font-family: var(--ji-font-body); font-weight: 700; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--ji-muted-fg); margin: 0; }
.ji-footer__inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; }
.ji-footer__links { display: flex; flex-wrap: wrap; gap: 20px; }
.ji-footer__links a { font-size: 13px; font-weight: 600; color: var(--ji-dark-light); text-decoration: none; }
.ji-footer__links a:hover { color: var(--ji-white); }
.ji-footer__copy { font-size: 13px; color: var(--ji-muted-fg); }
