/* ==========================================================================
   WIZKET — Footer. Prefix: ft- · site tokens only.
   Orange: status dot, full stop, mail arrow + link arrows on hover.
   ========================================================================== */
.ft { position: relative; background: var(--surface); color: var(--text); overflow: clip; }
.ft__inner { width: min(100% - clamp(2rem, 6vw, 6rem), 1440px); margin-inline: auto; padding-top: clamp(4rem, 8vw, 8rem); }

/* ---- row 1: logo ←→ status ---- */
.ft__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding-bottom: clamp(1.25rem, 2vw, 1.75rem); border-bottom: 1px solid var(--line2); }
.ft__logo { display: block; width: clamp(8rem, 11vw, 10.5rem); }
.ft__logo-img { display: block; width: 100%; height: auto; }
:root[data-theme="dark"] .ft__logo-img--light, :root[data-theme="light"] .ft__logo-img--dark { display: none; }
.ft__status { display: inline-flex; align-items: center; gap: 0.7rem; margin: 0; font: 500 0.75rem/1 "Inter", sans-serif; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.ft__status i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: ft-pulse 2.4s ease-in-out infinite; }
@keyframes ft-pulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(253, 95, 7, 0.45); } 50% { box-shadow: 0 0 0 8px rgba(253, 95, 7, 0); } }

/* ---- row 2: headline + email  |  link columns ---- */
.ft__main { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 7rem); align-items: start; padding-top: clamp(2.5rem, 5vw, 5rem); }
.ft__big { margin: 0; font-family: "Anton", Impact, "Arial Narrow", sans-serif; font-size: clamp(3rem, 7.2vw, 8rem); line-height: 0.94; text-transform: uppercase; }
.ft__dot { color: var(--accent); }
.ft__tag { margin: clamp(1.25rem, 2.4vw, 2rem) 0 0; max-width: 26rem; font: 400 1rem/1.5 "Inter", sans-serif; color: var(--muted); }
.ft__mail { display: inline-flex; align-items: center; gap: 0.9rem; margin-top: clamp(1.5rem, 3vw, 2.5rem); color: var(--text); text-decoration: none; position: relative; padding-bottom: 0.5rem; }
.ft__mail-text { font: 500 clamp(1.1rem, 2.2vw, 1.75rem)/1.1 "Inter", sans-serif; letter-spacing: -0.01em; }
.ft__mail-arrow { font-size: clamp(1.1rem, 2.2vw, 1.75rem); transition: transform 0.45s var(--ease-out), color 0.3s; display: inline-block; }
.ft__mail::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--line2); }
.ft__mail::before { content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: left; transition: transform 0.6s var(--ease-out); z-index: 1; }
.ft__mail:hover::before, .ft__mail:focus-visible::before { transform: scaleX(1); }
.ft__mail:hover .ft__mail-arrow, .ft__mail:focus-visible .ft__mail-arrow { transform: translate(5px, -5px); color: var(--accent); }
.ft__mail:focus-visible, .ft a:focus-visible, .ft__top-btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }

.ft__cols { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.25rem, 2.5vw, 2.5rem); }
.ft__col { padding-top: 1.1rem; border-top: 1px solid var(--line2); }
.ft__h { margin: 0 0 1.25rem; font: 500 0.75rem/1 "Inter", sans-serif; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.ft__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.8rem; }
.ft__col a { position: relative; display: inline-block; color: var(--text); text-decoration: none; font: 500 1rem/1.2 "Inter", sans-serif; }
.ft__col a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 1px; background: var(--accent); transform: scaleX(0); transform-origin: right; transition: transform 0.45s var(--ease-out); }
.ft__col a:hover::after, .ft__col a:focus-visible::after { transform: scaleX(1); transform-origin: left; }
/* Arcade link — small orange "Play & win" tag; the underline stays under the word only */
.ft__col .ft__game::after { right: auto; width: 3.6em; }
.ft__badge { display: inline-block; margin-left: 0.55rem; padding: 0.28em 0.6em; border: 1px solid var(--accent); border-radius: 999px; color: var(--accent); font: 600 0.625rem/1 "Inter", sans-serif; letter-spacing: 0.08em; text-transform: uppercase; vertical-align: 0.15em; transition: background-color 0.3s, color 0.3s; }
.ft__game:hover .ft__badge, .ft__game:focus-visible .ft__badge { background: var(--accent); color: var(--on-accent); }

/* ---- giant wordmark: interactive particle text (js/footer-fx.js), static SVG as fallback ---- */
.ft__fx { margin: clamp(2.5rem, 5vw, 5rem) auto clamp(1rem, 2vw, 2rem); position: relative; width: min(100%, 900px); margin-inline: auto; }
.ft__mark { display: block; width: 100%; height: auto; }
.ft__mark text { font-family: "Anton", Impact, "Arial Narrow", sans-serif; font-size: 380px; fill: var(--text); }
.ft__fx-canvas { display: block; width: 100%; touch-action: pan-y; -webkit-tap-highlight-color: transparent; }
.ft__fx.is-fx .ft__mark { display: none; }

.ft__bar { display: flex; align-items: center; gap: 1.5rem 2.5rem; flex-wrap: wrap; padding: 1.25rem 0 1.75rem; font: 400 0.8125rem/1.2 "Inter", sans-serif; color: var(--muted); }
.ft__copy { margin: 0; margin-right: auto; }
.ft__legal { display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.ft__legal a, .ft__top-btn { color: var(--muted); text-decoration: none; transition: color 0.25s; }
.ft__legal a:hover { color: var(--text); }
.ft__top-btn { display: inline-flex; gap: 0.6rem; align-items: center; border: 0; background: none; padding: 0; cursor: pointer; font: inherit; letter-spacing: 0.04em; }
.ft__top-btn:hover { color: var(--text); }
.ft__top-btn span:last-child { transition: transform 0.4s var(--ease-out), color 0.3s; }
.ft__top-btn:hover span:last-child { transform: translateY(-3px); color: var(--accent); }

/* reveal */
[data-ft-reveal] { opacity: 0; transform: translateY(18px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); }
.ft.is-in [data-ft-reveal] { opacity: 1; transform: none; }
.ft.is-in [data-ft-reveal]:nth-child(2) { transition-delay: 0.1s; }
.ft.is-in [data-ft-reveal]:nth-child(3) { transition-delay: 0.2s; }

@media (max-width: 960px) {
  .ft__main { grid-template-columns: 1fr; gap: 3rem; }
}
@media (max-width: 560px) {
  .ft__status { font-size: 0.6875rem; letter-spacing: 0.1em; }
  .ft__bar { gap: 1rem 1.5rem; }
  .ft__copy { width: 100%; }
}
/* ---- phones: everything centred on one axis ---- */
@media (max-width: 640px) {
  .ft__inner { padding-top: 3.5rem; }
  .ft__head { flex-direction: column; justify-content: center; gap: 1.1rem; padding-bottom: 1.75rem; text-align: center; }
  .ft__logo { width: 9.5rem; }
  .ft__status { justify-content: center; }
  .ft__main { gap: 2.75rem; padding-top: 2.75rem; }
  .ft__lead { display: flex; flex-direction: column; align-items: center; text-align: center; }
  .ft__big { font-size: clamp(2.9rem, 13.5vw, 4.2rem); }
  .ft__tag { max-width: 19rem; margin-top: 1.25rem; font-size: 0.9375rem; text-wrap: balance; }
  .ft__mail { margin-top: 1.75rem; justify-content: center; gap: 0.7rem; }
  .ft__mail-text { font-size: 1.15rem; }
  .ft__mail-arrow { font-size: 1.05rem; }
  .ft__cols { gap: 1.25rem; text-align: center; }
  .ft__col { padding-top: 1.25rem; }
  .ft__h { margin-bottom: 1.1rem; }
  .ft__col ul { gap: 0.95rem; justify-items: center; }
  .ft__fx { margin: 3rem auto 1.25rem; }
  .ft__bar { flex-direction: column; align-items: center; justify-content: center; gap: 1.1rem; padding: 1.5rem 0 2.5rem; text-align: center; border-top: 1px solid var(--line); }
  .ft__copy { width: auto; margin-right: 0; }
  .ft__legal { gap: 1.75rem; justify-content: center; }
  .ft__top-btn { justify-content: center; }
}
@media (prefers-reduced-motion: reduce) {
  html:not(.wz-full-motion) [data-ft-reveal] { opacity: 1; transform: none; transition: none; }
  html:not(.wz-full-motion) .ft__status i { animation: none; }
}
