:root{
  color-scheme:dark;
  --black:#050505;
  --black-soft:#0c0c0c;
  --panel:#101010;
  --white:#f7f7f5;
  --muted:#aaa;
  --line:rgba(255,255,255,.19);
  --line-strong:rgba(255,255,255,.52);
  --body:"Montserrat",Arial,sans-serif;
  --display:"Anton",Impact,sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  min-height:100vh;
  overflow-x:hidden;
  color:var(--white);
  background:#050505 url("mtp-grunge.jpg") center top/720px auto repeat;
  font:500 16px/1.55 var(--body);
}
body::before{
  content:"";
  position:fixed;
  inset:0;
  z-index:-1;
  pointer-events:none;
  background:rgba(0,0,0,.68);
}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
button,input{font:inherit}
button{color:inherit}
::selection{background:#fff;color:#050505}
.commerce-header{
  position:sticky;
  top:0;
  z-index:30;
  border-bottom:1px solid var(--line);
  background:rgba(4,4,4,.93);
  backdrop-filter:blur(14px);
}
.commerce-header-inner{
  width:min(1180px,92%);
  min-height:80px;
  margin:auto;
  display:grid;
  grid-template-columns:130px 1fr 130px;
  align-items:center;
  gap:1.2rem;
}
.commerce-brand{
  width:108px;
  height:64px;
  display:grid;
  place-items:center;
}
.commerce-brand img{
  width:100%;
  height:100%;
  object-fit:contain;
  filter:drop-shadow(0 4px 10px #000);
}
.checkout-progress{
  justify-self:center;
  display:flex;
  align-items:center;
  gap:.7rem;
  color:#777;
  font:800 .62rem/1 var(--body);
  letter-spacing:.08em;
  text-transform:uppercase;
}
.checkout-progress span.is-active{color:#fff}
.checkout-progress i{
  width:34px;
  height:1px;
  display:block;
  background:rgba(255,255,255,.24);
}
.header-back{
  justify-self:end;
  font:800 .66rem/1 var(--body);
  letter-spacing:.05em;
  text-transform:uppercase;
  color:#d0d0d0;
}
.header-back:hover{color:#fff}
.commerce-shell{
  width:min(1180px,92%);
  margin:auto;
  padding:2rem 0 5rem;
}
.purchase-intro{
  min-height:42px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  margin-bottom:1.2rem;
}
.back-link{
  display:inline-flex;
  align-items:center;
  gap:.5rem;
  color:#c8c8c8;
  font:800 .68rem/1 var(--body);
  letter-spacing:.04em;
  text-transform:uppercase;
}
.back-link:hover{color:#fff}
.purchase-step-mobile{
  display:none;
  color:#9a9a9a;
  font:800 .62rem/1 var(--body);
  letter-spacing:.08em;
}
.purchase-grid{
  display:grid;
  grid-template-columns:1.05fr .95fr;
  gap:1rem;
  align-items:stretch;
}
.event-summary,.checkout-card,.state-card,.ticket-card{
  border:1px solid var(--line);
  background:rgba(9,9,9,.94);
  box-shadow:0 28px 80px rgba(0,0,0,.38);
}
.event-summary{
  min-height:650px;
  position:relative;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  padding:clamp(1.4rem,3vw,2.4rem);
  isolation:isolate;
  border-radius:18px;
  background:
    linear-gradient(180deg,rgba(0,0,0,.12),rgba(0,0,0,.88)),
    url("club-night-community.jpg") center/cover;
}
.event-summary::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-2;
  background:linear-gradient(90deg,rgba(0,0,0,.78),rgba(0,0,0,.2) 62%,rgba(0,0,0,.62));
}
.event-summary::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:-1;
  opacity:.58;
  mix-blend-mode:soft-light;
  background:url("mtp-grunge.jpg") center/650px auto repeat;
}
.event-summary-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:1rem;
}
.event-chip{
  padding:.52rem .72rem;
  border:1px solid rgba(255,255,255,.55);
  border-radius:999px;
  background:rgba(0,0,0,.38);
  font:800 .62rem/1 var(--body);
  letter-spacing:.1em;
}
.event-mini-logo{
  width:112px;
  height:78px;
  object-fit:contain;
  filter:drop-shadow(0 5px 16px #000);
}
.event-summary-copy{margin-top:auto;padding-top:5rem}
.date-mark{
  margin:0 0 .75rem;
  font:800 .82rem/1.2 var(--body);
  letter-spacing:.14em;
  text-transform:uppercase;
}
.event-summary h1,.state-card h1,.ticket-card h1{
  margin:0;
  max-width:760px;
  font:400 clamp(3.3rem,7vw,6.8rem)/.9 var(--display);
  letter-spacing:.01em;
  text-transform:uppercase;
}
.venue{
  display:flex;
  align-items:center;
  gap:.55rem;
  margin:1rem 0 1.6rem;
  color:#dedede;
  font-weight:600;
}
.event-summary-bottom{
  margin-top:1rem;
  border-top:1px solid rgba(255,255,255,.28);
}
.price-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1.2rem;
  padding:1.15rem 0;
  border-bottom:1px solid rgba(255,255,255,.28);
}
.price-row span{
  color:#c9c9c9;
  font-size:.78rem;
  text-transform:uppercase;
  letter-spacing:.05em;
}
.price-row strong{
  font:400 2rem/1 var(--display);
  letter-spacing:.02em;
}
.purchase-trust{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:.8rem;
  padding-top:1.1rem;
}
.purchase-trust span{
  display:flex;
  gap:.55rem;
  align-items:flex-start;
  color:#d1d1d1;
  font-size:.68rem;
  line-height:1.35;
}
.purchase-trust b{
  min-width:25px;
  height:25px;
  display:grid;
  place-items:center;
  border:1px solid rgba(255,255,255,.55);
  border-radius:50%;
  color:#fff;
  font-size:.55rem;
}
.checkout-card{
  min-height:650px;
  padding:clamp(1.5rem,3vw,2.6rem);
  border-radius:18px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  position:relative;
  overflow:hidden;
}
.checkout-card::after{
  content:"+30";
  position:absolute;
  right:-.06em;
  top:-.18em;
  z-index:0;
  color:rgba(255,255,255,.025);
  font:900 13rem/1 Arial,sans-serif;
  letter-spacing:-.11em;
  pointer-events:none;
}
.checkout-card>*{position:relative;z-index:1}
.kicker,.step{
  display:block;
  color:#c4c4c4;
  font:800 .67rem/1.2 var(--body);
  letter-spacing:.16em;
  text-transform:uppercase;
}
.checkout-heading h2{
  margin:.45rem 0 .55rem;
  font:400 clamp(3.3rem,5vw,5.4rem)/.92 var(--display);
  text-transform:uppercase;
}
.checkout-heading p{
  max-width:520px;
  margin:0 0 1.4rem;
  color:var(--muted);
  font-size:.88rem;
}
.form-fields{display:grid;gap:1rem}
.field{
  display:grid;
  gap:.45rem;
  color:#e1e1e1;
  font-size:.76rem;
  font-weight:700;
}
.field input{
  width:100%;
  min-height:54px;
  padding:0 1rem;
  border:1px solid rgba(255,255,255,.23);
  border-radius:10px;
  outline:none;
  background:#070707;
  color:#fff;
  font-weight:600;
  transition:border-color .18s,box-shadow .18s,background .18s;
}
.field input::placeholder{color:#666}
.field input:hover{border-color:rgba(255,255,255,.4)}
.field input:focus{
  border-color:#fff;
  background:#0a0a0a;
  box-shadow:0 0 0 3px rgba(255,255,255,.08);
}
.field small{
  margin-top:-.1rem;
  color:#858585;
  font-size:.68rem;
  font-weight:500;
  line-height:1.45;
}
.form-error{
  margin:0 0 1.15rem;
  padding:.85rem 1rem;
  display:grid;
  gap:.15rem;
  border:1px solid rgba(255,255,255,.55);
  border-left:4px solid #fff;
  background:#161616;
  color:#fff;
  font-size:.77rem;
}
.form-error strong{
  font-size:.68rem;
  letter-spacing:.07em;
  text-transform:uppercase;
}
.checkout-total{
  margin-top:1.35rem;
  padding:1rem 0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  border-top:1px solid var(--line);
}
.checkout-total span{
  color:#bbb;
  font-size:.75rem;
  text-transform:uppercase;
  letter-spacing:.06em;
}
.checkout-total strong{
  font:400 1.75rem/1 var(--display);
}
.primary{
  min-height:54px;
  border:1px solid #fff;
  border-radius:999px;
  background:#fff;
  color:#050505;
  padding:.9rem 1.25rem;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:1rem;
  font:900 .72rem/1 var(--body);
  letter-spacing:.045em;
  text-transform:uppercase;
  cursor:pointer;
  transition:transform .18s,background .18s,color .18s;
}
.primary:hover{transform:translateY(-2px);background:#e9e9e7}
.primary:disabled{opacity:.4;cursor:not-allowed;transform:none}
.primary-pay{
  width:100%;
  justify-content:space-between;
  padding-inline:1.35rem;
}
.primary-pay b{
  width:28px;
  height:28px;
  display:grid;
  place-items:center;
  border-radius:50%;
  background:#050505;
  color:#fff;
  font-size:1rem;
}
.payment-note{
  margin-top:1rem;
  display:grid;
  grid-template-columns:34px 1fr;
  align-items:center;
  gap:.7rem;
  color:#9d9d9d;
}
.payment-mark{
  width:34px;
  height:34px;
  display:grid;
  place-items:center;
  border:1px solid var(--line-strong);
  border-radius:50%;
  color:#fff;
  font:900 .58rem/1 var(--body);
}
.payment-note p{
  margin:0;
  font-size:.69rem;
  line-height:1.45;
}
.legal-note{
  margin-top:.85rem;
  color:#757575;
  font-size:.64rem;
  line-height:1.5;
}
.state-card,.ticket-card{
  max-width:760px;
  margin:7vh auto;
  padding:clamp(2rem,6vw,4.8rem);
  text-align:center;
  border-radius:18px;
  overflow:hidden;
  position:relative;
  background:
    linear-gradient(rgba(5,5,5,.8),rgba(5,5,5,.94)),
    url("mtp-grunge.jpg") center/cover;
}
.state-logo{
  width:150px;
  margin:0 auto 1.2rem;
}
.state-card p,.ticket-card p{
  max-width:540px;
  margin:1.25rem auto;
  color:#bcbcbc;
}
.state-card .primary,.ticket-card .primary{
  width:max-content;
  margin:1rem auto 0;
}
.ticket-owner{font-size:1.1rem;font-weight:800}
.ticket-status{
  display:inline-flex;
  margin:.4rem .2rem;
  padding:.55rem .8rem;
  border:1px solid var(--line-strong);
  border-radius:999px;
  font-size:.62rem;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.ticket-status.ok,.ticket-status.test{background:#fff;color:#050505}
.ticket-status.used,.ticket-status.bad{background:#171717;color:#fff}
.qr-box{
  width:min(360px,100%);
  margin:1.5rem auto;
  padding:12px;
  border-radius:16px;
  background:#fff;
}
.qr-box img{width:100%;height:auto}
.ticket-code,.used-note{font-size:.72rem;color:#969696}
.commerce-footer{
  width:min(1180px,92%);
  margin:auto;
  padding:1.8rem 0 2.4rem;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:1rem;
  border-top:1px solid var(--line);
  color:#858585;
  font-size:.68rem;
}
.commerce-footer>div{
  display:flex;
  align-items:center;
  gap:.8rem;
}
.commerce-footer img{
  width:64px;
  height:42px;
  object-fit:contain;
}
.commerce-footer a{
  color:#bdbdbd;
  font-weight:800;
  text-transform:uppercase;
}
@media(max-width:900px){
  .commerce-header-inner{grid-template-columns:100px 1fr auto}
  .checkout-progress{display:none}
  .purchase-grid{grid-template-columns:1fr}
  .event-summary{min-height:520px}
  .checkout-card{min-height:0}
  .purchase-step-mobile{display:inline}
}
@media(max-width:620px){
  .commerce-header-inner{min-height:70px}
  .commerce-brand{width:88px;height:55px}
  .header-back{font-size:.6rem}
  .commerce-shell{width:92%;padding:1.15rem 0 3.5rem}
  .purchase-intro{margin-bottom:.8rem}
  .back-link{font-size:.62rem}
  .purchase-step-mobile{font-size:.56rem}
  .event-summary{min-height:440px;padding:1.15rem;border-radius:14px}
  .event-mini-logo{width:88px;height:60px}
  .event-summary-copy{padding-top:3rem}
  .event-summary h1{font-size:clamp(3rem,15vw,4.8rem)}
  .purchase-trust{grid-template-columns:1fr;gap:.6rem}
  .price-row strong{font-size:1.65rem}
  .checkout-card{padding:1.3rem;border-radius:14px}
  .checkout-heading h2{font-size:clamp(3.2rem,15vw,4.6rem)}
  .field input{min-height:52px}
  .commerce-footer{width:92%;flex-direction:column;text-align:center}
  .commerce-footer>div{flex-direction:column}
}
@media(prefers-reduced-motion:reduce){
  *,*::before,*::after{transition:none!important;scroll-behavior:auto!important}
}
