/* =========================================================
   SEA FOOD KINGS — AUTH SCREEN (login / signup / OTP)
   Dark + crimson + gold. Glassmorphism + skeuomorphism.
   Also: front-page chrome removal + tap-crumb effect.
   ========================================================= */

/* ---- Header / footer removal safety net (front page only) ---- */
body.sfk-front > header,
body.sfk-front > footer,
body.sfk-front #masthead,
body.sfk-front #colophon,
body.sfk-front .site-header,
body.sfk-front .site-footer,
body.sfk-front .elementor-location-header,
body.sfk-front .elementor-location-footer {
  display: none !important;
}

body.sfk-front { margin: 0; background: #070507; }
html.sfk-auth-locked, html.sfk-auth-locked body { overflow: hidden; }

.sfk-noscript-message { padding: 18px; text-align: center; color: #f8f4f5; background: #100b0e; }
.sfk-noscript-message a { color: #d9b66a; }

/* ---- Tap-the-catch crumbs (hero) ---- */
.sfk-crumb {
  position: absolute;
  z-index: 6;
  width: var(--s, 6px);
  height: var(--s, 6px);
  border-radius: 45% 55% 50% 50%;
  background: var(--c, #ed1230);
  box-shadow: 0 0 10px var(--c, #ed1230);
  pointer-events: none;
  will-change: transform, opacity;
}

/* =========================================================
   OVERLAY
   ========================================================= */
.sfk-auth {
  --a-red: #ed1230;
  --a-red-deep: #690817;
  --a-gold: #d9b66a;
  --a-white: #f8f4f5;
  --a-muted: #a79ba0;
  --a-ease: cubic-bezier(.2, .75, .25, 1);
  position: fixed;
  inset: 0;
  z-index: 99999;
  overflow-x: hidden;
  overflow-y: auto;
  color: var(--a-white);
  background: #070507;
  font-family: inherit;
  line-height: 1.5;
  clip-path: circle(0 at var(--ox, 50%) var(--oy, 50%));
  visibility: hidden;
  transition: clip-path .9s cubic-bezier(.7, 0, .2, 1), visibility 0s .9s;
}

.sfk-auth[hidden] { display: none; }

.sfk-auth.is-open {
  clip-path: circle(150% at var(--ox, 50%) var(--oy, 50%));
  visibility: visible;
  transition: clip-path .9s cubic-bezier(.7, 0, .2, 1), visibility 0s;
}

.sfk-auth *, .sfk-auth *::before, .sfk-auth *::after { box-sizing: border-box; }
.sfk-auth button, .sfk-auth input { font: inherit; color: inherit; }
.sfk-auth button { cursor: pointer; -webkit-tap-highlight-color: transparent; }

.sfk-auth .sfk-ico {
  width: 20px; height: 20px; flex: 0 0 20px;
  fill: none; stroke: currentColor; stroke-width: 1.7;
  stroke-linecap: round; stroke-linejoin: round;
}

/* ---- Background: shining hero images ---- */
.sfk-auth-bg {
  position: fixed;
  inset: 0;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 78% 40%, rgba(105, 8, 23, .5), transparent 50%),
    radial-gradient(ellipse at 15% 85%, rgba(82, 16, 43, .45), transparent 45%),
    linear-gradient(125deg, #070507 0%, #12060a 52%, #070507 100%);
}

.sfk-bg-grid {
  position: absolute; inset: 0; opacity: .12;
  background-image:
    linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 75%);
}

.sfk-bg-img {
  position: absolute;
  width: min(44vw, 540px);
  height: auto;
  object-fit: contain;
  opacity: .5;
  user-select: none;
  filter: drop-shadow(0 0 50px rgba(237,18,48,.4)) brightness(.8);
  animation:
    sfk-bg-drift var(--dur, 16s) ease-in-out infinite alternate,
    sfk-bg-glint 6s ease-in-out infinite;
  animation-delay: var(--del, 0s), var(--gdel, 0s);
}
.sfk-bg-img--1 { top: -6%;  left: -7%;  --dur: 17s; --gdel: 0s;   --rot: -14deg; }
.sfk-bg-img--2 { top: 6%;   right: -9%; --dur: 21s; --gdel: -1.5s; --rot: 12deg;  }
.sfk-bg-img--3 { bottom: -9%; left: 1%; --dur: 19s; --gdel: -3s;  --rot: 9deg;   }
.sfk-bg-img--4 { bottom: -7%; right: 3%; --dur: 23s; --gdel: -4.5s; --rot: -10deg; }

.sfk-bg-sheen {
  position: absolute; inset: -20%;
  mix-blend-mode: screen;
  pointer-events: none;
  background: linear-gradient(105deg,
    transparent 38%, rgba(237,18,48,.14) 46%, rgba(255,214,160,.2) 50%,
    rgba(237,18,48,.14) 54%, transparent 62%);
  transform: translateX(-70%);
  animation: sfk-bg-sweep 7.5s ease-in-out infinite;
}

.sfk-bg-vignette {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse at center, rgba(7,5,7,.15) 28%, rgba(7,5,7,.85) 100%);
}

.sfk-auth-particles { position: absolute; inset: 0; pointer-events: none; }
.sfk-auth-particles span {
  position: absolute;
  width: var(--size, 4px); height: var(--size, 4px);
  border-radius: 50%;
  background: var(--a-gold);
  box-shadow: 0 0 12px rgba(217,182,106,.8);
  opacity: 0;
  animation: sfk-a-rise var(--duration, 9s) linear var(--delay, 0s) infinite;
}

/* ---- Close button ---- */
.sfk-auth-close {
  position: fixed; z-index: 5;
  top: max(16px, env(safe-area-inset-top)); right: 16px;
  display: grid; place-items: center;
  width: 46px; height: 46px; padding: 0;
  border-radius: 50%;
  border: 1px solid rgba(226,190,127,.25);
  background: linear-gradient(180deg, rgba(255,255,255,.12), rgba(255,255,255,.03));
  backdrop-filter: blur(12px);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 8px 20px rgba(0,0,0,.45);
  transition: transform .4s var(--a-ease), border-color .3s, box-shadow .3s;
}
.sfk-auth-close:hover { transform: rotate(90deg) scale(1.06); border-color: rgba(237,18,48,.7); box-shadow: inset 0 1px 0 rgba(255,255,255,.25), 0 0 24px rgba(237,18,48,.45); }
.sfk-auth-close:active { transform: rotate(90deg) scale(.92); }

/* ---- Stage ---- */
.sfk-auth-stage {
  position: relative; z-index: 2;
  display: grid; place-items: center;
  min-height: 100%;
  padding: 72px clamp(14px, 4vw, 40px) 40px;
  perspective: 1400px;
}

/* ---- Card (glass + bevel) ---- */
.sfk-card {
  --rx: 0deg; --ry: 0deg; --mx: 50%; --my: 20%;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  width: min(1040px, 100%);
  border-radius: 30px;
  border: 1px solid rgba(226,190,127,.22);
  background:
    linear-gradient(145deg, rgba(42,16,24,.66), rgba(12,7,10,.8));
  backdrop-filter: blur(26px) saturate(1.5);
  -webkit-backdrop-filter: blur(26px) saturate(1.5);
  box-shadow:
    0 50px 100px rgba(0,0,0,.7),
    0 0 0 1px rgba(0,0,0,.65),
    0 0 90px rgba(237,18,48,.12),
    inset 0 1px 0 rgba(255,255,255,.16),
    inset 0 -3px 0 rgba(0,0,0,.55),
    inset 0 0 70px rgba(237,18,48,.06);
  transform: translateY(46px) scale(.94) rotateX(var(--rx)) rotateY(var(--ry));
  opacity: 0;
  transform-style: preserve-3d;
  transition: transform .25s ease-out;
}

.sfk-auth.is-open .sfk-card {
  animation: sfk-card-in 1s var(--a-ease) .4s forwards;
}

.sfk-auth.is-open .sfk-card.is-tilt-ready { animation: none; opacity: 1; transform: rotateX(var(--rx)) rotateY(var(--ry)); }

.sfk-card-gloss {
  position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 0;
  background: radial-gradient(520px circle at var(--mx) var(--my), rgba(255,255,255,.09), transparent 55%);
}

.sfk-screw {
  position: absolute; z-index: 3; width: 11px; height: 11px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #f1d9a2, #8d6a2c 55%, #3a2711);
  box-shadow: 0 1px 2px rgba(0,0,0,.8), inset 0 -1px 1px rgba(0,0,0,.5);
}
.sfk-screw::after { content: ""; position: absolute; left: 2px; right: 2px; top: 5px; height: 1px; background: rgba(0,0,0,.65); transform: rotate(35deg); }
.sfk-screw--tl { top: 14px; left: 14px; } .sfk-screw--tr { top: 14px; right: 14px; }
.sfk-screw--bl { bottom: 14px; left: 14px; } .sfk-screw--br { bottom: 14px; right: 14px; }

/* ---- Showcase ---- */
.sfk-showcase {
  position: relative; z-index: 1;
  display: flex; flex-direction: column;
  padding: clamp(26px, 3.4vw, 44px);
  overflow: hidden;
  border-radius: 30px 0 0 30px;
  background:
    radial-gradient(ellipse at 50% 38%, rgba(190,0,34,.32), transparent 62%),
    linear-gradient(160deg, rgba(23,9,14,.55), rgba(8,4,6,.4));
  border-right: 1px solid rgba(255,255,255,.06);
  box-shadow: inset -12px 0 30px rgba(0,0,0,.28);
}

.sfk-showcase-brand {
  display: flex; align-items: center; gap: 10px;
  color: var(--a-gold); font-size: 11px; font-weight: 800; letter-spacing: .24em;
}
.sfk-crown { font-size: 18px; animation: sfk-star-bob 3.2s ease-in-out infinite; }

.sfk-showcase-art {
  position: relative; display: grid; place-items: center;
  flex: 1; min-height: 220px; margin: 8px 0;
  perspective: 900px;
}
.sfk-ring { position: absolute; border-radius: 50%; border: 1px solid rgba(217,182,106,.2); pointer-events: none; }
.sfk-ring--a { width: min(88%, 330px); aspect-ratio: 1; animation: sfk-a-spin 36s linear infinite; border-style: dashed; }
.sfk-ring--b { width: min(64%, 240px); aspect-ratio: 1; border-color: rgba(237,18,48,.3); animation: sfk-a-breathe 5s ease-in-out infinite; }

.sfk-art {
  position: absolute; width: min(92%, 360px); max-height: 100%; object-fit: contain;
  opacity: 0; transform: rotateY(-95deg) scale(.82);
  filter: drop-shadow(0 26px 30px rgba(0,0,0,.55));
  transition: transform .9s var(--a-ease), opacity .5s ease;
  pointer-events: none;
}
.sfk-art.is-active { opacity: 1; transform: rotateY(0) scale(1); animation: sfk-a-float 5.5s ease-in-out .9s infinite; }
.sfk-art:not(.is-active)[data-art="login"] { transform: rotateY(95deg) scale(.82); }

.sfk-showcase-copy h2 {
  margin: 0 0 10px; color: #fff;
  font-family: Impact, "Arial Narrow", sans-serif; font-weight: 900;
  font-size: clamp(26px, 3vw, 38px); line-height: 1; letter-spacing: -.02em; text-transform: uppercase;
}
.sfk-showcase-copy p { margin: 0; color: #c4b8bd; font-size: 14px; line-height: 1.7; max-width: 360px; }

.sfk-ticker {
  display: flex; align-items: center; gap: 10px; margin-top: 18px !important;
  padding: 10px 14px; border-radius: 12px; max-width: none !important;
  color: #f0e3b8 !important; font-size: 12px !important; font-weight: 700; letter-spacing: .04em;
  background: linear-gradient(180deg, rgba(0,0,0,.4), rgba(0,0,0,.22));
  box-shadow: inset 0 2px 6px rgba(0,0,0,.6), 0 1px 0 rgba(255,255,255,.07);
}
.sfk-ticker-star { color: var(--a-red); animation: sfk-a-breathe 2s ease-in-out infinite; }

/* swap-text animation */
[data-copy], [data-ticker] { display: inline-block; transition: opacity .22s ease, transform .22s ease, filter .22s ease; }
h2[data-copy], p[data-copy] { display: block; }
[data-copy].is-out, [data-ticker].is-out { opacity: 0; transform: translateY(10px); filter: blur(4px); }

/* ---- Form side ---- */
.sfk-formside {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; justify-content: center;
  padding: clamp(26px, 3.6vw, 48px) clamp(22px, 3.8vw, 52px);
}

/* Skeuomorphic toggle switch */
.sfk-switch {
  position: relative; display: grid; grid-template-columns: 1fr 1fr;
  height: 54px; padding: 5px; margin-bottom: 24px;
  border-radius: 16px;
  background: linear-gradient(180deg, #060304, #120a0d);
  box-shadow: inset 0 4px 10px rgba(0,0,0,.85), inset 0 -1px 0 rgba(255,255,255,.06), 0 1px 0 rgba(255,255,255,.07);
  transition: opacity .3s, filter .3s;
}
.sfk-switch.is-disabled { opacity: .4; pointer-events: none; filter: saturate(.5); }

.sfk-switch-thumb {
  position: absolute; top: 5px; left: 5px; bottom: 5px; width: calc(50% - 5px);
  border-radius: 12px;
  background: linear-gradient(180deg, #ff3b57 0%, #ed1230 48%, #b00a24 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.5), inset 0 -2px 0 rgba(0,0,0,.3), 0 6px 16px rgba(237,18,48,.45), 0 2px 0 #5a0613;
  transition: transform .6s cubic-bezier(.65, -.25, .25, 1.25);
}
.sfk-switch[data-mode="signup"] .sfk-switch-thumb { transform: translateX(100%); }

.sfk-switch-btn {
  position: relative; z-index: 1;
  border: 0; background: none; border-radius: 12px;
  color: #a89aa0; font-size: 11px; font-weight: 800; letter-spacing: .18em;
  transition: color .3s;
}
.sfk-switch-btn.is-active { color: #fff; text-shadow: 0 1px 0 rgba(0,0,0,.35); }

/* Headings */
.sfk-heading { margin-bottom: 20px; }
.sfk-heading h2 {
  margin: 0 0 6px; color: #fff;
  font-size: clamp(28px, 3.2vw, 40px); font-weight: 700; line-height: 1.05; letter-spacing: -.04em;
}
.sfk-heading p { margin: 0; color: var(--a-muted); font-size: 14px; }

/* Panels (smooth switch) */
.sfk-panels { position: relative; transition: height .6s var(--a-ease); }
.sfk-panel {
  position: absolute; top: 0; left: 0; width: 100%;
  padding-bottom: 12px;
  opacity: 0; visibility: hidden; filter: blur(8px);
  transform: translateX(0) scale(1);
  transition: opacity .45s ease, transform .6s var(--a-ease), filter .45s ease, visibility 0s .6s;
}
.sfk-panel.is-before { transform: translateX(-56px) scale(.97); }
.sfk-panel.is-after  { transform: translateX(56px)  scale(.97); }
.sfk-panel.is-active { opacity: 1; visibility: visible; filter: none; transition-delay: .12s, .12s, .12s, 0s; }

.sfk-panel.is-active > * { animation: sfk-a-rise-in .65s var(--a-ease) backwards; animation-delay: calc(var(--i, 0) * 70ms + .2s); }

/* Fields (carved inputs) */
.sfk-field { display: block; margin-bottom: 14px; }
.sfk-label { display: block; margin-bottom: 7px; color: #a2929a; font-size: 9px; font-weight: 800; letter-spacing: .2em; }
.sfk-label small { color: #6f6066; font-size: inherit; letter-spacing: .12em; }

.sfk-input {
  position: relative; display: flex; align-items: center; gap: 12px;
  height: 54px; padding: 0 14px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.7);
  color: #8c7c83;
  background: linear-gradient(180deg, #070305, #150b0f);
  box-shadow: inset 0 3px 9px rgba(0,0,0,.8), inset 0 -1px 0 rgba(255,255,255,.06), 0 1px 0 rgba(255,255,255,.07);
  transition: border-color .3s, box-shadow .3s, color .3s, transform .3s var(--a-ease);
}
.sfk-input:focus-within {
  color: var(--a-red); border-color: rgba(237,18,48,.75); transform: translateY(-1px);
  box-shadow: inset 0 3px 9px rgba(0,0,0,.8), 0 0 0 3px rgba(237,18,48,.2), 0 0 28px rgba(237,18,48,.28);
}
.sfk-input input {
  flex: 1; min-width: 0; height: 100%; padding: 0; border: 0; outline: 0; background: none;
  color: #fff; font-size: 15px;
}
.sfk-input input::placeholder { color: #5f5157; }
.sfk-input input:-webkit-autofill { -webkit-text-fill-color: #fff; box-shadow: 0 0 0 40px #12090d inset; }

.sfk-eye { display: grid; place-items: center; padding: 4px; border: 0; background: none; color: #8c7c83; transition: color .25s, transform .25s; }
.sfk-eye:hover { color: var(--a-gold); transform: scale(1.1); }
.sfk-eye.is-on { color: var(--a-red); }

.sfk-hint { display: block; max-height: 0; overflow: hidden; margin: 0; color: #ff6f84; font-size: 11px; font-style: normal; transition: max-height .3s, margin .3s; }
.sfk-field.is-invalid .sfk-hint { max-height: 30px; margin-top: 6px; }
.sfk-field.is-invalid .sfk-input { border-color: rgba(255,60,90,.75); animation: sfk-a-shake .45s; }

/* Rows & links */
.sfk-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 2px 0 18px; }
.sfk-row--center { justify-content: center; margin: 18px 0 0; }
.sfk-link { padding: 0; border: 0; background: none; color: #cbbfc4; font-size: 12px; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.18); transition: color .25s, border-color .25s; }
.sfk-link:hover:not(:disabled) { color: var(--a-red); border-color: var(--a-red); }
.sfk-link:disabled { color: #6b5d63; border-color: transparent; cursor: default; }
.sfk-link--gold { color: var(--a-gold); border-color: rgba(217,182,106,.35); }
.sfk-dot { color: #5f5157; }
.sfk-switch-line { margin: 18px 0 0; color: var(--a-muted); font-size: 13px; text-align: center; }

/* Embossed primary button */
.sfk-btn {
  position: relative; display: flex; align-items: center; justify-content: center; gap: 12px;
  width: 100%; height: 56px; margin-bottom: 8px; overflow: hidden;
  border: 1px solid #7b0a1c; border-radius: 15px;
  color: #fff; font-size: 12px; font-weight: 800; letter-spacing: .16em;
  text-shadow: 0 1px 0 rgba(0,0,0,.4);
  background: linear-gradient(180deg, #ff3552 0%, #ed1230 46%, #b00a24 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.5), inset 0 -3px 0 rgba(0,0,0,.28),
    0 8px 0 #5a0613, 0 20px 32px rgba(237,18,48,.38);
  transition: transform .2s var(--a-ease), box-shadow .2s var(--a-ease), filter .3s;
}
.sfk-btn::before { content: ""; position: absolute; inset: 0 0 50%; background: linear-gradient(180deg, rgba(255,255,255,.28), rgba(255,255,255,0)); pointer-events: none; }
.sfk-btn::after { content: ""; position: absolute; top: 0; bottom: 0; width: 40%; left: -60%; background: linear-gradient(105deg, transparent, rgba(255,255,255,.4), transparent); transform: skewX(-18deg); pointer-events: none; }
.sfk-btn:hover::after { animation: sfk-btn-shine .8s ease; }
.sfk-btn:hover { transform: translateY(-2px); box-shadow: inset 0 1px 0 rgba(255,255,255,.5), inset 0 -3px 0 rgba(0,0,0,.28), 0 10px 0 #5a0613, 0 24px 38px rgba(237,18,48,.45); }
.sfk-btn:active { transform: translateY(6px); box-shadow: inset 0 1px 0 rgba(255,255,255,.35), inset 0 -2px 0 rgba(0,0,0,.3), 0 2px 0 #5a0613, 0 6px 14px rgba(237,18,48,.3); }
.sfk-btn:disabled { cursor: wait; filter: saturate(.7) brightness(.9); }

.sfk-spin { display: none; width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255,255,255,.35); border-top-color: #fff; animation: sfk-a-spin .7s linear infinite; }
.sfk-btn.is-loading .sfk-spin { display: block; }

/* OTP */
.sfk-otp-target { margin: 0 0 16px; color: var(--a-muted); font-size: 13px; }
.sfk-otp-target strong { color: var(--a-gold); }
.sfk-otp { display: flex; gap: clamp(6px, 1.4vw, 10px); margin-bottom: 24px; }
.sfk-otp-box {
  flex: 1; min-width: 0; height: 60px; padding: 0; text-align: center;
  border-radius: 13px; border: 1px solid rgba(0,0,0,.7); outline: 0;
  color: #fff; font-size: 24px; font-weight: 700; caret-color: var(--a-red);
  background: linear-gradient(180deg, #070305, #150b0f);
  box-shadow: inset 0 3px 9px rgba(0,0,0,.8), inset 0 -1px 0 rgba(255,255,255,.06), 0 1px 0 rgba(255,255,255,.07);
  transition: border-color .25s, box-shadow .25s, transform .25s var(--a-ease);
}
.sfk-otp-box:focus { border-color: rgba(237,18,48,.8); transform: translateY(-3px); box-shadow: inset 0 3px 9px rgba(0,0,0,.8), 0 0 0 3px rgba(237,18,48,.2), 0 0 26px rgba(237,18,48,.35); }
.sfk-otp-box.is-filled { border-color: rgba(217,182,106,.5); animation: sfk-a-pop .3s var(--a-ease); }
.sfk-otp.is-error .sfk-otp-box { border-color: rgba(255,60,90,.8); animation: sfk-a-shake .45s; }

/* Status message */
.sfk-status { min-height: 0; max-height: 0; margin: 0; overflow: hidden; opacity: 0; font-size: 13px; font-weight: 600; text-align: center; transition: max-height .4s, opacity .4s, margin .4s; }
.sfk-status.is-error, .sfk-status.is-success, .sfk-status.is-info { max-height: 80px; margin-top: 14px; opacity: 1; }
.sfk-status.is-error { color: #ff6f84; }
.sfk-status.is-success { color: var(--a-gold); }
.sfk-status.is-info { color: #cbbfc4; }

.sfk-auth.is-open .sfk-card.is-tilt-ready.is-shaking { animation: sfk-a-shake .5s; }
.sfk-auth.is-open .sfk-card.is-tilt-ready.is-success { animation: sfk-card-success 1.1s ease forwards; }

/* =========================================================
   ANIMATIONS
   ========================================================= */
@keyframes sfk-card-in { to { opacity: 1; transform: translateY(0) scale(1) rotateX(var(--rx)) rotateY(var(--ry)); } }
@keyframes sfk-card-success { 0%,100% { box-shadow: 0 50px 100px rgba(0,0,0,.7), 0 0 90px rgba(237,18,48,.12); } 50% { box-shadow: 0 50px 100px rgba(0,0,0,.7), 0 0 140px rgba(217,182,106,.55), inset 0 0 70px rgba(217,182,106,.15); } }
@keyframes sfk-bg-drift { from { transform: translate3d(0,0,0) rotate(var(--rot, 0deg)) scale(.96); } to { transform: translate3d(3vw,-3vh,0) rotate(calc(var(--rot, 0deg) * -.5)) scale(1.06); } }
@keyframes sfk-bg-glint { 0%,100% { filter: drop-shadow(0 0 40px rgba(237,18,48,.3)) brightness(.7); } 50% { filter: drop-shadow(0 0 85px rgba(255,40,70,.75)) brightness(1.25) saturate(1.15); } }
@keyframes sfk-bg-sweep { 0% { transform: translateX(-70%); } 60%,100% { transform: translateX(70%); } }
@keyframes sfk-a-rise { 0% { transform: translate3d(0,20px,0); opacity: 0; } 15% { opacity: var(--opacity, .5); } 100% { transform: translate3d(var(--drift, 20px), -140px, 0); opacity: 0; } }
@keyframes sfk-a-rise-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes sfk-a-spin { to { transform: rotate(360deg); } }
@keyframes sfk-a-breathe { 0%,100% { transform: scale(.96); opacity: .6; } 50% { transform: scale(1.05); opacity: 1; } }
@keyframes sfk-a-float { 0%,100% { transform: translateY(0) rotateZ(0); } 50% { transform: translateY(-12px) rotateZ(-.8deg); } }
@keyframes sfk-star-bob { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-3px) rotate(8deg); } }
@keyframes sfk-a-shake { 0%,100% { transform: translateX(0); } 20% { transform: translateX(-8px); } 40% { transform: translateX(7px); } 60% { transform: translateX(-5px); } 80% { transform: translateX(3px); } }
@keyframes sfk-a-pop { 0% { transform: scale(.9); } 60% { transform: scale(1.08); } 100% { transform: scale(1); } }
@keyframes sfk-btn-shine { to { left: 130%; } }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 860px) {
  .sfk-auth-stage { align-items: start; padding-top: 70px; }
  .sfk-card { grid-template-columns: 1fr; border-radius: 24px; }
  .sfk-showcase { border-radius: 24px 24px 0 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.06); padding: 22px 22px 18px; box-shadow: inset 0 -12px 30px rgba(0,0,0,.25); }
  .sfk-showcase-art, .sfk-showcase-copy p[data-copy] { display: none; }
  .sfk-showcase-copy h2 { margin: 12px 0 0; font-size: 26px; }
  .sfk-ticker { margin-top: 12px !important; }
  .sfk-bg-img { width: 70vw; opacity: .4; }
  .sfk-formside { padding: 24px 20px 28px; }
}

@media (max-width: 420px) {
  .sfk-input input { font-size: 16px; }
  .sfk-otp-box { height: 52px; font-size: 21px; }
  .sfk-heading h2 { font-size: 27px; }
}

@media not all /* OS reduce-motion intentionally ignored: animations always on */ {
  .sfk-auth *, .sfk-auth *::before, .sfk-auth *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .sfk-auth.is-open .sfk-card { opacity: 1; transform: none; }
}

/* ---- Front page base (theme CSS is not loaded here) ---- */
body.sfk-front { font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif; color: #f8f4f5; -webkit-font-smoothing: antialiased; }
body.sfk-front #sfk-kinetic-home { font-family: inherit; }
.sfk-auth .sfk-switch-btn, .sfk-auth .sfk-link, .sfk-auth .sfk-eye, .sfk-auth .sfk-auth-close { padding: 0; margin: 0; box-shadow: none; }
.sfk-auth .sfk-auth-close, .sfk-auth .sfk-eye { padding: 4px; }
.sfk-auth .sfk-auth-close { padding: 0; box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 8px 20px rgba(0,0,0,.45); }

.sfk-note { margin: -2px 0 18px; padding: 10px 14px; border-radius: 12px; color: #b9aab0; font-size: 12px; line-height: 1.6;
  background: linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.2)); box-shadow: inset 0 2px 6px rgba(0,0,0,.55), 0 1px 0 rgba(255,255,255,.06); }

.sfk-store-banner { position: relative; z-index: 20; padding: 10px 16px; text-align: center; font-size: 12px; font-weight: 700; letter-spacing: .06em;
  color: #fff; background: linear-gradient(100deg, #690817, #b00a24 50%, #690817); border-bottom: 1px solid rgba(226,190,127,.3); }

/* ---- v4: two-column fields, hot link ---- */
.sfk-two > .sfk-field { min-width: 0; }
.sfk-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.sfk-two .sfk-input { padding: 0 12px; }
.sfk-two .sfk-label { white-space: nowrap; }
.sfk-link.is-hot { color: var(--a-red); border-color: var(--a-red); animation: sfk-a-breathe 1.2s ease-in-out infinite; }
@media (max-width: 420px) { .sfk-two { grid-template-columns: 1fr; gap: 0; } }
