/* Login: mining photo, dark overlay, Lacak cyan accent (#00b4e6 from logo mark) */
:root {
  --cyan: #00b4e6;
  --cyan-deep: #0089b3;
  --navy: #1f2b4a;
  --ink: #0d1424;
  --ember: #f2a33a;
  --text: #1c2233;
  --muted: #6b7386;
  --danger: #d93a36;
}

* { box-sizing: border-box; }
html, body { height: 100%; margin: 0; }
body {
  font: 15px/1.5 "Roboto", system-ui, sans-serif; color: #fff;
  background:
    linear-gradient(100deg, rgb(13 20 36 / 0.92) 0%, rgb(13 20 36 / 0.7) 45%, rgb(13 20 36 / 0.25) 100%),
    url("/img/mine.webp") center / cover no-repeat, var(--ink);
}
body::after { /* film grain for atmosphere */
  content: ""; position: fixed; inset: 0; pointer-events: none; opacity: 0.06;
  background: repeating-radial-gradient(circle at 17% 32%, #fff 0 1px, transparent 1px 3px);
}

.stage {
  min-height: 100%; display: grid; align-items: center; gap: clamp(2rem, 5vw, 6rem);
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 400px);
  padding: clamp(1.5rem, 5vw, 5rem) clamp(1.25rem, 7vw, 8rem);
}

.pitch { max-width: 36rem; animation: rise 700ms cubic-bezier(0.16, 1, 0.3, 1) both; }
.logo { display: block; width: 190px; height: auto; margin-bottom: clamp(2rem, 6vh, 4.5rem); }
.kicker {
  display: inline-flex; align-items: center; gap: 0.5rem; margin: 0 0 1rem;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ember);
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: #e53935; box-shadow: 0 0 0 4px rgb(229 57 53 / 0.25); animation: pulse 1.8s ease-in-out infinite; }
h1 { margin: 0; font-size: clamp(2rem, 1.2rem + 3vw, 3.6rem); line-height: 1.08; font-weight: 700; letter-spacing: -0.02em; }
h1 em { display: block; font-style: normal; font-weight: 300; color: #cfe9f3; }
.facts { display: flex; flex-wrap: wrap; gap: 1.75rem; margin: 2.5rem 0 0; padding: 1.25rem 0 0; list-style: none; border-top: 1px solid rgb(255 255 255 / 0.18); }
.facts li { display: grid; gap: 0.1rem; }
.facts strong { font-size: 1.05rem; color: var(--cyan); }
.facts span { font-size: 0.82rem; color: rgb(255 255 255 / 0.72); }

.card {
  position: relative; z-index: 1; display: grid; gap: 1rem; padding: 2.25rem 2rem 1.5rem;
  color: var(--text); background: #fff; border-radius: 14px;
  box-shadow: 0 30px 60px -20px rgb(0 0 0 / 0.55), 0 0 0 1px rgb(255 255 255 / 0.08);
  animation: rise 700ms 120ms cubic-bezier(0.16, 1, 0.3, 1) both;
}
.card::before { /* cyan edge ties card to brand */
  content: ""; position: absolute; inset: 0 0 auto; height: 4px; border-radius: 14px 14px 0 0;
  background: linear-gradient(90deg, var(--cyan), var(--navy));
}
.mark { width: 36px; height: 34px; }
.card h2 { margin: 0; font-size: 1.45rem; font-weight: 700; color: var(--navy); }
.sub { margin: -0.85rem 0 0.25rem; color: var(--muted); font-size: 0.9rem; }
.msg { margin: 0; padding: 0.6rem 0.8rem; border-radius: 8px; font-size: 0.88rem; color: var(--danger); background: #fdecec; border-left: 3px solid var(--danger); }

label { display: grid; gap: 0.35rem; }
label span { font-size: 0.8rem; font-weight: 600; color: var(--navy); }
input {
  width: 100%; padding: 0.75rem 0.9rem; font: inherit; color: var(--text);
  border: 1.5px solid #d6dbe6; border-radius: 8px; background: #f8f9fc;
  transition: border-color 150ms, background-color 150ms, box-shadow 150ms;
}
input:hover { border-color: #aeb6c8; }
input:focus { outline: none; border-color: var(--cyan); background: #fff; box-shadow: 0 0 0 4px rgb(0 180 230 / 0.18); }

button {
  margin-top: 0.4rem; padding: 0.85rem; font: inherit; font-weight: 600; color: #fff; cursor: pointer;
  border: 0; border-radius: 8px; background: var(--navy);
  box-shadow: 0 8px 18px -8px rgb(31 43 74 / 0.8);
  transition: background-color 150ms, transform 100ms, box-shadow 150ms;
}
button:hover { background: #28385f; box-shadow: 0 10px 22px -8px rgb(0 180 230 / 0.6); }
button:active { transform: translateY(1px); }
button:focus-visible { outline: 3px solid var(--cyan); outline-offset: 2px; }
.foot { margin: 0.25rem 0 0; text-align: center; font-size: 0.75rem; color: var(--muted); }

@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes pulse { 50% { opacity: 0.4; } }

@media (max-width: 860px) {
  body { background-image: linear-gradient(180deg, rgb(13 20 36 / 0.88), rgb(13 20 36 / 0.6)), url("/img/mine.webp"); }
  .stage { grid-template-columns: 1fr; align-content: center; }
  .logo { margin-bottom: 1.5rem; width: 150px; }
  .facts { display: none; }
}
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } }
