.top { position: sticky; top: 0; z-index: 50; background: rgba(21, 19, 28, .9); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 68px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font: 800 1.5rem/1 var(--font-display); text-transform: uppercase; }
.brand img { width: 44px; height: 44px; object-fit: contain; }
.back { color: var(--muted); font-weight: 600; text-decoration: none; padding: 12px 0; }
.back:hover { color: var(--plate); }

.page { display: grid; grid-template-columns: minmax(280px, 400px) 1fr; gap: clamp(24px, 5vw, 72px); padding: clamp(28px, 5vw, 64px) 0 96px; align-items: start; }
.evpanel { position: sticky; top: 92px; background: var(--asphalt-2); border: 2px solid var(--line); border-top: 8px solid var(--plate); padding: 24px 24px 20px; }
.evpanel h1 { font-size: clamp(2.2rem, 4vw, 3rem); text-transform: none; line-height: .98; }
.evpanel dl { margin: 18px 0 0; display: grid; gap: 12px; }
.evpanel dt { color: var(--muted); font-size: .9rem; font-weight: 600; }
.evpanel dd { margin: 0; font-weight: 600; }
.evpanel .price-line { display: flex; justify-content: space-between; gap: 12px; align-items: baseline; border-bottom: 1px solid var(--line); padding: 6px 0; }
.evpanel .price-line b { font: 800 1.9rem/1 var(--font-display); color: var(--plate); }
.terms { margin-top: 22px; border-top: 1px solid var(--line); padding-top: 16px; }
.terms h2 { font-size: 1.4rem; margin-bottom: 8px; text-transform: none; }
.terms ul { margin: 0; padding-left: 18px; color: var(--muted); font-size: .98rem; display: grid; gap: 6px; }
.terms strong { color: var(--bone); }
.terms li:empty { display: none; }

form { display: grid; gap: 22px; }
.grid2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.summary { scroll-margin-top: 96px; border: 2px solid var(--eye); background: rgba(255, 59, 63, .09); padding: 16px 20px; }
.summary h2 { font-size: 1.5rem; text-transform: none; margin-bottom: 6px; }
.summary ul { margin: 0; padding-left: 18px; display: grid; gap: 4px; }
.summary a { color: #ffb3b5; font-weight: 600; }
.agree { border: 2px solid var(--line); padding: 16px; background: var(--asphalt-2); }
.agree.invalid { border-color: var(--eye); }
.submit-row { display: grid; gap: 12px; justify-items: start; }
.submit-row .note { color: var(--muted); font-size: .95rem; max-width: 36em; }
.btn .spin { width: 18px; height: 18px; border: 3px solid rgba(0,0,0,.25); border-top-color: #17120a; border-radius: 50%; animation: sp .7s linear infinite; }
@keyframes sp { to { transform: rotate(360deg); } }

.state { border: 2px dashed var(--line); padding: 28px; }
.state h2 { font-size: 2rem; text-transform: none; margin-bottom: 8px; }
.state p { color: var(--muted); }
.state .btn { margin-top: 18px; }

/* konfirmasi: kartu bib dengan kode */
.ticket { background: var(--plate); color: #17120a; padding: 26px 26px 22px; clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%); animation: pop .5s cubic-bezier(.2, .9, .2, 1) both; }
.ticket h2 { font-size: clamp(2.2rem, 5vw, 3.4rem); text-transform: uppercase; }
.ticket .code { font: 800 clamp(3rem, 9vw, 5.6rem)/.9 var(--font-display); margin: 10px 0 14px; letter-spacing: .01em; user-select: all; }
.ticket dl { display: grid; grid-template-columns: auto 1fr; gap: 4px 18px; margin: 0; font-weight: 600; }
.ticket dt { opacity: .7; font-weight: 500; }
.ticket dd { margin: 0; }
.after { margin-top: 22px; display: grid; gap: 14px; }
.after p { color: var(--muted); max-width: 40em; }
.after .row { display: flex; flex-wrap: wrap; gap: 12px; }
@keyframes pop { from { transform: translateY(14px) scale(.98); opacity: 0; } to { transform: none; opacity: 1; } }

@media (max-width: 900px) {
  .page { grid-template-columns: 1fr; }
  .evpanel { position: static; }
}
@media (max-width: 560px) { .grid2 { grid-template-columns: 1fr; } .ticket dl { grid-template-columns: 1fr; } .ticket dt { margin-top: 6px; } }
