/* assets/style.css */
:root{
  --red:#d8141f;
  --red2:#b50f18;
  --white:#ffffff;
  --bg:#f7f7f8;
  --text:#111827;
  --muted:#6b7280;
  --card:#ffffff;
  --line:#e5e7eb;
  --shadow: 0 10px 30px rgba(17,24,39,.08);
  --radius: 16px;
}

*{box-sizing:border-box}
body{
  margin:0;
  font-family: ui-sans-serif,system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial;
  color:var(--text);
  background: linear-gradient(180deg, #fff 0%, var(--bg) 100%);
}

a{color:var(--red); text-decoration:none}
a:hover{text-decoration:underline}

.container{max-width:980px;margin:0 auto;padding:18px}
.header{
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  padding:14px 16px;border:1px solid var(--line);
  background:var(--card); border-radius:var(--radius); box-shadow: var(--shadow);
}
.brand{display:flex;align-items:center;gap:12px}
.brand img{width:42px;height:42px}
.brand .title{font-weight:800;letter-spacing:.2px}
.badge{
  display:inline-flex;align-items:center;gap:8px;
  background: #fff;
  border:1px solid var(--line);
  padding:8px 12px;border-radius:999px;
  color:var(--muted);font-size:12px
}
.badge b{color:var(--text)}

.grid{display:grid;grid-template-columns: 1.1fr .9fr;gap:16px;margin-top:16px}
@media (max-width: 860px){.grid{grid-template-columns:1fr}}

.card{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--radius);
  box-shadow: var(--shadow);
  padding:16px;
}

.h1{font-size:26px;margin:0 0 6px 0}
.p{margin:0;color:var(--muted);line-height:1.55}

.hr{height:1px;background:var(--line);margin:14px 0}

.steps{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.step{
  padding:8px 10px;border-radius:999px;border:1px solid var(--line);
  font-size:12px;color:var(--muted);background:#fff
}
.step.active{border-color:rgba(216,20,31,.35); color:var(--red); background: rgba(216,20,31,.06)}
.step.done{border-color:rgba(16,185,129,.35); color:#047857; background: rgba(16,185,129,.08)}

.row{display:grid;grid-template-columns: 1fr 1fr; gap:12px}
@media (max-width: 720px){.row{grid-template-columns:1fr}}

label{display:block;font-size:12px;color:var(--muted);margin:10px 0 6px}
input,select,textarea{
  width:100%; padding:12px 12px;
  border:1px solid var(--line); border-radius:12px;
  outline:none; background:#fff;
}
textarea{min-height:92px;resize:vertical}
input:focus,select:focus,textarea:focus{border-color: rgba(216,20,31,.45); box-shadow:0 0 0 4px rgba(216,20,31,.08)}

.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  border:none; border-radius:12px;
  padding:12px 14px;
  cursor:pointer; font-weight:700;
}
.btn-red{background: var(--red); color:#fff}
.btn-red:hover{background: var(--red2)}
.btn-ghost{background:#fff;border:1px solid var(--line); color:var(--text)}
.btn-ghost:hover{border-color: rgba(216,20,31,.35)}
.btn:disabled{opacity:.6;cursor:not-allowed}

.note{
  background: rgba(216,20,31,.06);
  border:1px solid rgba(216,20,31,.18);
  padding:12px; border-radius:14px; color:#7a0c12;
  font-size:13px; line-height:1.5
}

.ok{
  background: rgba(16,185,129,.08);
  border:1px solid rgba(16,185,129,.25);
  padding:12px; border-radius:14px; color:#065f46;
  font-size:13px; line-height:1.5
}

.small{font-size:12px;color:var(--muted)}
.footer{margin:16px 0 28px;color:var(--muted);font-size:12px;text-align:center}
.kbd{font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono","Courier New", monospace; font-size: 12px}
.qrbox{display:flex; gap:14px; align-items:flex-start; flex-wrap:wrap}
.qr{
  width:180px;height:180px; border:1px dashed var(--line);
  border-radius:14px; display:flex;align-items:center;justify-content:center;
  background:#fff
}

/* ===== IMD v2: countdown + artist ===== */
.hero{
  display:flex;gap:12px;flex-wrap:wrap;align-items:flex-start;
  background: linear-gradient(180deg, rgba(216,20,31,.06) 0%, rgba(255,255,255,1) 70%);
  border:1px solid rgba(216,20,31,.18);
  padding:14px;border-radius:16px;
}
.hero .spark{font-weight:800;color:var(--red)}
.hero .meta{display:flex;gap:10px;flex-wrap:wrap;margin-top:8px}
.pill{
  display:inline-flex;align-items:center;gap:8px;
  padding:8px 10px;border-radius:999px;
  border:1px solid var(--line);background:#fff;color:var(--muted);font-size:12px;
}
.pill b{color:var(--text)}

.artist-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:12px}
@media (max-width:720px){.artist-grid{grid-template-columns:1fr}}
.artist-card{
  border:1px solid var(--line);
  border-radius:14px;
  padding:12px;
  background:#fff;
}
.artist-name{font-weight:800;margin-bottom:8px}
.video{
  width:100%;
  border-radius:12px;
  border:1px solid var(--line);
  background:#000;
}

.countdown{
  display:flex;gap:10px;flex-wrap:wrap;margin-top:10px
}
.cd{
  flex:1;min-width:90px;
  border:1px solid var(--line);
  border-radius:14px;
  padding:10px 10px;
  background:#fff;
  text-align:center;
}
.cd .n{font-size:22px;font-weight:900;line-height:1}
.cd .t{font-size:11px;color:var(--muted);margin-top:6px}

/* ===== Equal Artist Cards ===== */
.artist-grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
  margin-top:12px;
  align-items:stretch;
}
@media (max-width:720px){
  .artist-grid{ grid-template-columns: 1fr; }
}

.artist-card{
  border:1px solid var(--line);
  border-radius:16px;
  padding:12px;
  background:#fff;
  display:flex;
  flex-direction:column;
  min-height: 360px; /* biar dua card setinggi sama */
}

.artist-name{
  font-weight:900;
  font-size:16px;
  margin-bottom:8px;
}

.video-wrap{
  border-radius:14px;
  overflow:hidden;
  border:1px solid var(--line);
  background:#000;
  aspect-ratio: 16 / 9; /* bikin frame video sama */
  width:100%;
  position:relative;
}

.video-wrap video{
  width:100%;
  height:100%;
  object-fit:cover;     /* isi frame penuh */
  display:block;
}

.artist-foot{
  margin-top:10px;
  display:flex;
  gap:8px;
  flex-wrap:wrap;
}

.artist-note{
  margin-top:auto; /* dorong catatan ke bawah agar rapi */
  padding-top:10px;
  font-size:12px;
  color:var(--muted);
}

/* POTRET: frame 9:16 */
.video-wrap{
  aspect-ratio: 9 / 16;     /* ubah dari 16/9 jadi 9/16 */
  background:#000;
}

/* tampilkan utuh (tidak terpotong) */
.video-wrap video{
  object-fit: contain;      /* ubah dari cover ke contain */
}

/* ===== IMD Form Boost: biar input nggak samar ===== */
:root{
  --imd-red: #dc2626;
  --imd-ink: #111827;
  --imd-muted: #6b7280;
  --imd-line: #d1d5db;
  --imd-line-strong: #9ca3af;
  --imd-bg: #ffffff;
}

.card label{
  display:block;
  margin: 12px 2px 6px;
  font-weight: 800;
  font-size: 13px;
  color: var(--imd-ink);
  letter-spacing: .2px;
}

.card input,
.card select,
.card textarea{
  width:100%;
  background: #fff;
  color: var(--imd-ink);
  border: 1.6px solid var(--imd-line-strong);
  border-radius: 14px;
  padding: 12px 14px;
  font-size: 15px;
  line-height: 1.25;
  outline: none;
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
  transition: border-color .18s ease, box-shadow .18s ease, transform .06s ease;
}

/* placeholder lebih kebaca */
.card input::placeholder,
.card textarea::placeholder{
  color: #9aa3af;
  opacity: 1;
}

/* fokus: merah elegan, bukan norak */
.card input:focus,
.card select:focus,
.card textarea:focus{
  border-color: var(--imd-red);
  box-shadow: 0 10px 26px rgba(220,38,38,.16);
  transform: translateY(-1px);
}

/* textarea lebih enak dipakai */
.card textarea{
  min-height: 110px;
  resize: vertical;
}

/* input disabled jangan “mati gaya” */
.card input:disabled{
  background: #f9fafb;
  color: #6b7280;
  border-color: #e5e7eb;
  box-shadow: none;
}

/* tombol biar lebih “premium” */
.btn.btn-red{
  box-shadow: 0 10px 22px rgba(220,38,38,.20);
}
.btn.btn-red:active{
  transform: translateY(1px);
}

/* rapikan jarak row di mobile */
.row{
  gap: 10px;
}
