/* Layar masuk: dua bagian (sambutan + formulir) di atas latar "pabrik sepatu" yang bergerak.
   Semua gerakan memakai transform / opacity saja supaya ringan, dan berhenti kalau perangkat
   meminta gerakan dikurangi. Warna mengikuti tema yang sedang dipakai. */
#layar-masuk {
  --emas: #e9cf9a;
  position: relative; min-height: 100vh; padding: 0; overflow: hidden;
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(360px, .85fr); place-items: stretch;
}

/* ---------- Latar pabrik ---------- */
.pabrik { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
/* kisi cetak biru */
.pabrik::before {
  content: ""; position: absolute; inset: 0; opacity: .5;
  background:
    linear-gradient(rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 100% 56px,
    linear-gradient(90deg, rgba(255, 255, 255, .045) 1px, transparent 1px) 0 0 / 56px 100%;
  mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse at 30% 40%, #000 20%, transparent 78%);
}
/* roda gigi */
.roda { position: absolute; color: var(--utama); opacity: .22; animation: putar 38s linear infinite; }
.roda-1 { width: 420px; height: 420px; left: -150px; top: -150px; }
.roda-2 { width: 260px; height: 260px; left: 208px; top: 96px; color: var(--aksen); opacity: .16; animation-duration: 24s; animation-direction: reverse; }
.roda-3 { width: 520px; height: 520px; right: -210px; bottom: -160px; opacity: .14; animation-duration: 52s; }
@keyframes putar { to { transform: rotate(360deg); } }
/* garis jahitan yang "berjalan" */
.jahitan { position: absolute; left: 0; right: 0; bottom: 190px; width: 100%; height: 150px; color: var(--emas); opacity: .28; }
.jahitan path { stroke-dasharray: 10 12; animation: jahit 5s linear infinite; }
@keyframes jahit { to { stroke-dashoffset: -220; } }

/* ban berjalan dengan sepatu */
.ban { position: absolute; left: 0; right: 0; bottom: 74px; height: 92px; }
.jalur { display: flex; width: max-content; animation: jalan 44s linear infinite; }
.jalur svg { width: 132px; height: 84px; margin: 0 62px; flex-shrink: 0; color: #fff; opacity: .2; }
.jalur svg:nth-child(3n) { color: var(--aksen-terang); opacity: .34; }
.jalur svg:nth-child(4n + 1) { color: var(--utama-terang); opacity: .3; }
@keyframes jalan { to { transform: translateX(-50%); } }
.sabuk { position: absolute; left: 0; right: 0; bottom: 44px; height: 30px; overflow: hidden; border-top: 2px solid rgba(255, 255, 255, .22); border-bottom: 2px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .035); }
.sabuk::before { content: ""; position: absolute; top: 0; bottom: 0; left: 0; width: 200%; background: repeating-linear-gradient(90deg, transparent 0 34px, rgba(255, 255, 255, .13) 34px 38px); animation: jalan 9s linear infinite; }
.rol { position: absolute; bottom: 12px; display: flex; gap: 118px; left: -20px; right: -20px; }
.rol i { width: 22px; height: 22px; border-radius: 50%; border: 3px dashed rgba(255, 255, 255, .28); flex-shrink: 0; animation: putar 3.2s linear infinite reverse; }
/* gelapkan sisi kanan supaya formulir tetap mudah dibaca */
.pabrik::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 38%, rgba(4, 6, 14, .55) 78%); }

/* ---------- Sambutan (kiri) ---------- */
.sambutan { position: relative; z-index: 1; display: flex; flex-direction: column; justify-content: center; gap: 22px; padding: 56px clamp(28px, 6vw, 96px) 190px; min-width: 0; }
.merek-besar { display: flex; align-items: center; gap: 18px; }
.merek-besar .logo { width: 84px; height: 84px; border-radius: 22px; }
.merek-besar .logo svg { width: 40px; height: 40px; }
.merek-besar b { display: block; font-family: var(--judul); font-size: clamp(26px, 3vw, 38px); font-weight: 700; letter-spacing: .02em; line-height: 1.1; }
.merek-besar small { display: block; margin-top: 6px; color: var(--emas); letter-spacing: .28em; font-size: 12px; text-transform: uppercase; }
.sambutan h1 { font-size: clamp(30px, 4.2vw, 56px); line-height: 1.08; font-weight: 600; letter-spacing: -.02em; margin: 6px 0 0; max-width: 15ch; }
.sambutan h1 em { font-style: normal; background: var(--pelangi); -webkit-background-clip: text; background-clip: text; color: transparent; }
.sambutan .pengantar { color: #d3d9ee; font-size: 17px; max-width: 46ch; margin: 0; }
.garis-emas { width: 72px; height: 2px; background: linear-gradient(90deg, var(--emas), transparent); }
.platform { display: flex; flex-direction: column; gap: 12px; margin-top: 6px; }
.platform > span { color: var(--emas); letter-spacing: .24em; font-size: 11px; text-transform: uppercase; }
.platform ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.platform li { display: flex; align-items: center; gap: 9px; padding: 9px 14px 9px 10px; border-radius: 99px; border: 1px solid rgba(255, 255, 255, .16); background: rgba(8, 10, 22, .55); font-size: 13.5px; font-weight: 600; color: #eef1ff; }
.platform li svg { width: 22px; height: 22px; flex-shrink: 0; }

/* ---------- Formulir (kanan) ---------- */
.sisi-masuk { position: relative; z-index: 1; display: grid; place-items: center; padding: 32px clamp(20px, 4vw, 64px); }
#layar-masuk .kartu-masuk { max-width: 420px; padding: 34px 32px; margin: 0; border-radius: 22px; }
.kartu-masuk h2 { font-size: 24px; margin: 0 0 4px; text-transform: none; letter-spacing: 0; color: var(--teks); }
.kartu-masuk .garis-emas { margin: 14px 0 18px; }
.kartu-masuk input { padding: 12px 13px; }
.kartu-masuk .tombol { padding: 14px; font-size: 16px; margin-top: 10px; }
.kaki-masuk { margin: 18px 0 0; text-align: center; font-size: 12px; color: var(--redup); letter-spacing: .04em; }
.merek-kecil { display: none; }

@media (max-width: 920px) {
  #layar-masuk { grid-template-columns: 1fr; }
  .sambutan { display: none; }
  .sisi-masuk { padding: 28px 16px 150px; align-content: center; }
  .merek-kecil { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
  .merek-kecil b { font-family: var(--judul); font-size: 18px; }
  .pabrik::after { background: rgba(4, 6, 14, .35); }
  .roda-2 { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .roda, .jalur, .sabuk::before, .rol i, .jahitan path { animation: none; }
}
