/*
Theme Name: Rumah FF Passport
Theme URI: https://rumahff.com/
Author: Rumah FF
Description: Tema WordPress ringan untuk menampilkan FF Passport dengan nuansa navy, biru, dan merah serta halaman 404 khusus.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: rumah-ff
*/
:root {
  color-scheme: dark;
  --ff-navy: #0b1120;
  --ff-blue: #2563eb;
  --ff-red: #dc2626;
  --ff-sat: env(safe-area-inset-top, 0px);
  --ff-sab: env(safe-area-inset-bottom, 0px);
}
html { min-height: 100%; background: var(--ff-navy); }
body.ff-passport-body {
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  color: #f8fafc;
  font-family: 'Plus Jakarta Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(ellipse at 15% 10%, rgba(37,99,235,.22), transparent 38%),
    radial-gradient(ellipse at 85% 90%, rgba(220,38,38,.18), transparent 40%),
    linear-gradient(135deg, #0b1120 0%, #111827 52%, #1e1b4b 100%);
}
#ff-passport-app {
  width: 100%;
  max-width: 28rem;
  height: 100vh;
  height: 100dvh;
  margin: 0 auto;
  position: relative;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #0f172a;
  box-shadow: 0 32px 90px -28px rgba(0,0,0,.8), 0 0 0 1px rgba(148,163,184,.14);
}
@media (min-width: 640px) {
  #ff-passport-app {
    height: min(860px, 92vh);
    height: min(860px, 92dvh);
    border: 4px solid rgba(148,163,184,.18);
    border-radius: 32px;
  }
}
body.admin-bar #ff-passport-app { height: calc(100dvh - 32px); }
@media (max-width: 782px) { body.admin-bar #ff-passport-app { height: calc(100dvh - 46px); } }
.no-scrollbar::-webkit-scrollbar { display: none; }
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
@keyframes ff-fade-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: translateY(0); } }
.animate-fade-in { animation: ff-fade-in .2s cubic-bezier(.16, 1, .3, 1) forwards; }

/* Halaman 404 sengaja tidak menggunakan header atau menu situs. */
.ff-404-body {
  min-height: 100vh;
  min-height: 100dvh;
  margin: 0;
  color: #f8fafc;
  font-family: 'Plus Jakarta Sans', sans-serif;
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(ellipse at 18% 18%, rgba(37,99,235,.22), transparent 36%),
    radial-gradient(ellipse at 82% 82%, rgba(220,38,38,.18), transparent 38%),
    linear-gradient(135deg, #0b1120 0%, #111827 54%, #1e1b4b 100%);
}
.ff-404 { min-height: 100vh; min-height: 100dvh; display: grid; place-items: center; overflow: hidden; padding: 24px; text-align: center; }
.ff-404__content { width: min(100%, 560px); padding: 40px 10px; }
.ff-404__mark { display: inline-grid; place-items: center; width: 54px; height: 54px; border: 1px solid rgba(148,163,184,.22); border-radius: 18px; color: #bfdbfe; background: rgba(15,23,42,.7); font-size: 15px; font-weight: 900; letter-spacing: -.06em; box-shadow: 0 12px 36px rgba(0,0,0,.2); }
.ff-404__code { margin: 38px 0 4px; color: transparent; background: linear-gradient(115deg, #93c5fd 8%, #3b82f6 48%, #f87171 95%); background-clip: text; -webkit-background-clip: text; font-size: clamp(96px, 24vw, 156px); font-weight: 900; letter-spacing: -.1em; line-height: .9; }
.ff-404__eyebrow { margin: 25px 0 12px; color: #cbd5e1; font-size: 11px; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; }
.ff-404 h1 { margin: 0; color: #f8fafc; font-size: clamp(25px, 6vw, 34px); letter-spacing: -.045em; }
.ff-404 p { max-width: 390px; margin: 13px auto 30px; color: #94a3b8; font-size: 14px; line-height: 1.8; }
.ff-404__home { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: 10px; padding: 0 22px; border: 1px solid rgba(147,197,253,.4); border-radius: 15px; color: #fff; background: linear-gradient(110deg, #2563eb, #dc2626); box-shadow: 0 12px 30px rgba(37,99,235,.2); font-size: 13px; font-weight: 800; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.ff-404__home:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 36px rgba(37,99,235,.3); }
.ff-404__home:focus-visible { outline: 3px solid #bfdbfe; outline-offset: 4px; }
.ff-404__line { width: 48px; height: 2px; margin: 27px auto 0; border-radius: 99px; background: linear-gradient(90deg, #3b82f6, #ef4444); }

/* Order checkout page */
body:has(.ff-order-wrap) { background:#0b1120; }
.ff-order-wrap { min-height:100vh; min-height:100dvh; padding:26px 20px 34px; color:#e2e8f0; font-family:'Plus Jakarta Sans',sans-serif; background:radial-gradient(ellipse at 12% 5%,rgba(37,99,235,.19),transparent 34%),radial-gradient(ellipse at 90% 88%,rgba(220,38,38,.15),transparent 35%),linear-gradient(135deg,#0b1120,#111827 55%,#1e1b4b); }
.ff-order-shell { width:min(100%,960px); margin:0 auto; }.ff-order-header { display:flex; justify-content:space-between; align-items:center; padding:5px 2px 30px; }.ff-order-brand { display:flex; align-items:center; gap:10px; color:#cbd5e1; text-decoration:none; font-size:11px; font-weight:900; letter-spacing:.14em; }.ff-order-brand span:first-child { display:grid; place-items:center; width:36px; height:36px; border:1px solid rgba(147,197,253,.35); border-radius:12px; color:#dbeafe; background:linear-gradient(135deg,rgba(37,99,235,.35),rgba(220,38,38,.24)); letter-spacing:-.04em; }.ff-order-secure { color:#94a3b8; font-size:9px; font-weight:800; letter-spacing:.14em; }
.ff-order-intro { max-width:650px; margin:0 auto 28px; text-align:center; }.ff-order-kicker { margin:0 0 12px; color:#93c5fd; font-size:10px; font-weight:900; letter-spacing:.22em; }.ff-order-intro h1 { margin:0; color:#f8fafc; font-size:clamp(32px,6vw,52px); line-height:1.08; letter-spacing:-.06em; }.ff-order-intro h1 span { color:transparent; background:linear-gradient(100deg,#60a5fa,#f87171); background-clip:text; -webkit-background-clip:text; }.ff-order-intro>p:last-child { max-width:470px; margin:14px auto 0; color:#94a3b8; font-size:13px; line-height:1.7; }
.ff-order-grid { display:grid; grid-template-columns:1fr 1fr; gap:16px; align-items:start; }.ff-order-card { padding:22px; border:1px solid rgba(148,163,184,.15); border-radius:22px; background:linear-gradient(145deg,rgba(15,23,42,.92),rgba(17,24,39,.88)); box-shadow:0 20px 55px rgba(0,0,0,.2); }.ff-order-card-heading { display:flex; align-items:center; gap:12px; margin-bottom:20px; }.ff-order-step { display:grid; place-items:center; flex:0 0 36px; height:36px; border:1px solid rgba(96,165,250,.3); border-radius:12px; color:#bfdbfe; background:rgba(37,99,235,.13); font-size:10px; font-weight:900; }.ff-order-card-heading h2 { margin:0; color:#f8fafc; font-size:15px; font-weight:800; }.ff-order-card-heading p { margin:3px 0 0; color:#64748b; font-size:10px; }
.ff-order-product { display:flex; align-items:center; gap:11px; padding:13px 0; border-bottom:1px solid rgba(148,163,184,.1); }.ff-order-product-icon { display:grid; place-items:center; flex:0 0 36px; height:36px; border-radius:12px; color:#bfdbfe; background:rgba(37,99,235,.14); }.ff-order-product-icon--red { color:#fecaca; background:rgba(220,38,38,.14); }.ff-order-product-copy { display:grid; gap:4px; min-width:0; flex:1; }.ff-order-product-copy strong { color:#e2e8f0; font-size:11px; line-height:1.4; }.ff-order-product-copy small { color:#64748b; font-size:10px; }.ff-order-price { color:#cbd5e1; font-size:11px; white-space:nowrap; }.ff-order-discount { display:flex; justify-content:space-between; gap:8px; margin-top:15px; padding:11px 12px; border:1px dashed rgba(96,165,250,.26); border-radius:12px; color:#bfdbfe; background:rgba(37,99,235,.08); font-size:10px; }.ff-order-discount b { margin-left:5px; padding:3px 6px; border-radius:5px; color:#dbeafe; background:rgba(37,99,235,.26); }.ff-order-total { display:flex; justify-content:space-between; align-items:center; gap:10px; margin-top:14px; color:#cbd5e1; font-size:11px; font-weight:700; }.ff-order-total strong { color:#fff; font-size:21px; }.ff-order-included { margin:11px 0 0; color:#64748b; font-size:9px; line-height:1.6; }
.ff-order-label { display:block; margin:14px 0 7px; color:#cbd5e1; font-size:10px; font-weight:700; }.ff-order-input { display:block; width:100%; min-height:44px; padding:11px 12px; border:1px solid rgba(148,163,184,.18); border-radius:11px; outline:none; color:#f8fafc; background:rgba(2,6,23,.35); font:inherit; font-size:11px; }.ff-order-input::placeholder { color:#64748b; }.ff-order-input:focus { border-color:rgba(96,165,250,.7); box-shadow:0 0 0 3px rgba(37,99,235,.13); }.ff-order-textarea { min-height:86px; resize:vertical; }.ff-order-payment { grid-column:1/-1; }.ff-order-payment .ff-order-card-heading { margin-bottom:15px; }
.ff-order-methods { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:9px; }.ff-order-method { position:relative; display:flex; align-items:center; gap:8px; min-height:48px; padding:10px; border:1px solid rgba(148,163,184,.14); border-radius:12px; color:#cbd5e1; background:rgba(2,6,23,.22); cursor:pointer; font-size:10px; font-weight:700; }.ff-order-method:has(input:checked) { border-color:rgba(96,165,250,.6); background:rgba(37,99,235,.12); }.ff-order-method input { position:absolute; opacity:0; pointer-events:none; }.ff-order-radio { display:grid; place-items:center; flex:0 0 15px; width:15px; height:15px; border:1px solid #475569; border-radius:50%; }.ff-order-method input:checked+.ff-order-radio { border-color:#60a5fa; }.ff-order-method input:checked+.ff-order-radio:after { width:7px; height:7px; border-radius:50%; background:#60a5fa; content:''; }.ff-order-method input:focus-visible+.ff-order-radio { outline:2px solid #93c5fd; outline-offset:3px; }
.ff-order-bank { display:flex; align-items:center; gap:12px; min-height:56px; margin-top:13px; padding:12px 14px; border:1px solid rgba(148,163,184,.12); border-radius:13px; background:rgba(2,6,23,.3); }.ff-order-bank>span:first-child { color:#94a3b8; font-size:10px; }.ff-order-bank strong { color:#f8fafc; font-size:13px; }.ff-order-bank-help { color:#94a3b8; font-size:10px; }.ff-order-copy { margin-left:auto; padding:7px 10px; border:1px solid rgba(96,165,250,.3); border-radius:8px; color:#bfdbfe; background:rgba(37,99,235,.12); font:inherit; font-size:9px; font-weight:800; cursor:pointer; }.ff-order-submit { display:flex; width:100%; min-height:49px; justify-content:center; align-items:center; gap:10px; margin-top:14px; border:1px solid rgba(147,197,253,.35); border-radius:13px; color:#fff; background:linear-gradient(105deg,#2563eb,#dc2626); box-shadow:0 12px 28px rgba(37,99,235,.17); font:inherit; font-size:11px; font-weight:900; cursor:pointer; }.ff-order-footnote { margin:10px 0 0; color:#64748b; text-align:center; font-size:9px; }.ff-order-footer { padding:20px 0 0; color:#64748b; text-align:center; font-size:10px; }.ff-order-footer a { color:#bfdbfe; font-weight:800; text-decoration:none; }
@media(max-width:640px) { .ff-order-wrap { padding:18px 14px 28px; }.ff-order-header { padding-bottom:26px; }.ff-order-grid { grid-template-columns:1fr; }.ff-order-payment { grid-column:auto; }.ff-order-card { padding:18px; border-radius:18px; }.ff-order-methods { grid-template-columns:repeat(2,minmax(0,1fr)); }.ff-order-method { font-size:9px; }.ff-order-bank { flex-wrap:wrap; }.ff-order-bank strong { font-size:12px; } }
