/* /assets/app.css  — calm luxury, lightweight, no frameworks */

/* ====== Base ====== */
:root{
  --bg:#0b0f14;
  --panel:#101826;
  --card:#0f1723;
  --line:rgba(255,255,255,.10);
  --muted:rgba(255,255,255,.70);
  --muted2:rgba(255,255,255,.55);
  --text:rgba(255,255,255,.92);
  --gold:#d7b46a;
  --gold2:#f0d8a3;
  --ok:#55d39d;
  --warn:#ffd166;
  --bad:#ff6b6b;
  --shadow: 0 18px 50px rgba(0,0,0,.45);
  --radius: 18px;
  --radius2: 24px;
  --max: 1120px;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  --sans: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:var(--sans);
  background: radial-gradient(1200px 700px at 20% -10%, rgba(215,180,106,.18), transparent 55%),
              radial-gradient(900px 600px at 100% 0%, rgba(85,211,157,.10), transparent 60%),
              linear-gradient(180deg, #070a0f, #0a0e14 55%, #070a0f);
  color:var(--text);
}
a{color:inherit; text-decoration:none}
img{max-width:100%; display:block}
.wrap{max-width:var(--max); margin:0 auto; padding:0 16px}
.bg{min-height:100vh}

/* ====== Hero ====== */
.hero{
  position:relative;
  min-height:64vh;
  display:flex;
  align-items:flex-end;
  background-size:cover;
  background-position:center;
}
.hero__overlay{
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.25), rgba(0,0,0,.85));
}
.hero__content{
  position:relative;
  padding:72px 0 46px;
  max-width: 760px;
}
.logo{
  width:auto;
  height:auto;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.55));
  margin-bottom:18px;
}
h1{margin:0 0 10px; font-weight:700; letter-spacing:.2px; font-size:42px}
.lead{margin:0 0 18px; color:var(--muted); font-size:16px; line-height:1.55}
.small{font-size:13px}

/* ====== Topbar ====== */
.topbar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:18px 0;
  gap:14px;
}
.brand img{height:40px; width:auto}
.nav{display:flex; gap:12px; flex-wrap:wrap}
.nav a{
  padding:10px 12px;
  border:1px solid var(--line);
  border-radius:999px;
  color:var(--muted);
}
.nav a:hover{border-color:rgba(215,180,106,.45); color:var(--text)}

/* ====== Buttons ====== */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 16px;
  border-radius:999px;
  border:1px solid rgba(215,180,106,.40);
  background: linear-gradient(180deg, rgba(215,180,106,.26), rgba(215,180,106,.12));
  color:var(--text);
  cursor:pointer;
  gap:10px;
  transition: transform .08s ease, border-color .15s ease, background .15s ease;
  user-select:none;
}
.btn:hover{border-color:rgba(215,180,106,.70)}
.btn:active{transform: translateY(1px)}
.btn--ghost{
  background: transparent;
  border-color: var(--line);
  color:var(--muted);
}
.btn--ghost:hover{
  border-color:rgba(215,180,106,.45);
  color:var(--text);
}
.btn--danger{
  border-color: rgba(255,107,107,.45);
  background: linear-gradient(180deg, rgba(255,107,107,.18), rgba(255,107,107,.08));
}

/* ====== Layout ====== */
.grid3{display:grid; gap:14px; grid-template-columns:repeat(3,1fr); padding:18px 0 46px}
@media (max-width: 980px){ .grid3{grid-template-columns:1fr} h1{font-size:36px} }

.twoCol{display:grid; gap:16px; grid-template-columns: 380px 1fr; padding-bottom: 32px}
@media (max-width: 980px){ .twoCol{grid-template-columns:1fr} }

.card{
  background: linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.03));
  border:1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding:18px;
}
.card h2,.card h3{margin:0 0 10px; font-weight:650}
.card p{margin:0; color:var(--muted); line-height:1.55}

.hr{height:1px;background:var(--line);margin:14px 0}

.muted{color:var(--muted)}
.muted2{color:var(--muted2)}
.mono{font-family:var(--mono)}
.kbd{
  font-family:var(--mono);
  font-size:12px;
  padding:3px 8px;
  border:1px solid var(--line);
  border-radius:999px;
  color:var(--muted);
}

/* ====== Lists / rows ====== */
.rowItem{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:10px;
  padding:12px 12px;
  border:1px solid var(--line);
  border-radius: 14px;
  background: rgba(0,0,0,.12);
  margin-bottom:10px;
}
.rowItem:hover{border-color:rgba(215,180,106,.35)}
.rowItem b{display:block; font-weight:650}
.rowItem .meta{color:var(--muted2); font-size:13px; margin-top:4px}
.rowItem .right{display:flex; gap:8px; align-items:center; flex-wrap:wrap}

.pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid var(--line);
  font-size:12px;
  color:var(--muted);
}
.pill.ok{border-color:rgba(85,211,157,.35); color:rgba(85,211,157,.95)}
.pill.warn{border-color:rgba(255,209,102,.35); color:rgba(255,209,102,.95)}
.pill.bad{border-color:rgba(255,107,107,.35); color:rgba(255,107,107,.95)}
.pill.gold{border-color:rgba(215,180,106,.45); color:rgba(215,180,106,.95)}

/* ====== Forms ====== */
.form label{display:block; font-size:13px; color:var(--muted); margin:10px 0 6px}
.form input, .form select, .form textarea{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid var(--line);
  background: rgba(0,0,0,.18);
  color: var(--text);
  outline:none;
}
.form textarea{resize:vertical; min-height:90px}
.form input:focus, .form select:focus, .form textarea:focus{
  border-color: rgba(215,180,106,.55);
}
.row{display:grid; gap:12px; grid-template-columns:1fr 1fr}
@media (max-width: 780px){ .row{grid-template-columns:1fr} }

.tabs{display:flex; gap:10px; flex-wrap:wrap; margin: 6px 0 14px}
.tab{
  padding:10px 12px;
  border-radius:999px;
  border:1px solid var(--line);
  background: rgba(0,0,0,.10);
  color: var(--muted);
  cursor:pointer;
}
.tab.active{
  border-color: rgba(215,180,106,.50);
  color: var(--text);
}

.notice{
  padding:12px 12px;
  border-radius: 14px;
  border:1px solid rgba(255,209,102,.25);
  background: rgba(255,209,102,.08);
  color: rgba(255,209,102,.95);
  font-size: 13px;
}

.success{
  padding:12px 12px;
  border-radius: 14px;
  border:1px solid rgba(85,211,157,.25);
  background: rgba(85,211,157,.08);
  color: rgba(85,211,157,.95);
  font-size: 13px;
}

/* ====== Wizard ====== */
.wizTop{
  display:flex; justify-content:space-between; align-items:center; gap:10px; flex-wrap:wrap;
}
.wizSteps{
  display:flex; gap:8px; flex-wrap:wrap;
}
.stepDot{
  padding:6px 10px;
  border:1px solid var(--line);
  border-radius:999px;
  font-size:12px;
  color:var(--muted);
}
.stepDot.active{border-color:rgba(215,180,106,.55); color:var(--text)}
.optRow{display:flex; gap:10px; flex-wrap:wrap}
.optBtn{padding:10px 12px; border-radius:14px; border:1px solid var(--line); background: rgba(0,0,0,.14); color:var(--muted); cursor:pointer}
.optBtn:hover{border-color: rgba(215,180,106,.35); color:var(--text)}

/* ====== Ticket (HTML render for PDF) ====== */
.ticketShell{
  width: 794px; /* ~A4 at 96dpi */
  background: #0b0f14;
  color: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.10);
  border-radius: 22px;
  overflow:hidden;
}
.ticketHead{
  padding: 22px 22px 16px;
  background:
    radial-gradient(700px 380px at 10% -40%, rgba(215,180,106,.25), transparent 60%),
    radial-gradient(520px 360px at 100% 0%, rgba(85,211,157,.12), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.02));
  border-bottom:1px solid rgba(255,255,255,.10);
  display:flex;
  justify-content:space-between;
  gap:18px;
  align-items:flex-start;
}
.ticketBrand{
  display:flex; gap:12px; align-items:center;
}
.ticketBrand img{height:34px; width:auto}
.ticketTitle{margin:0; font-size:18px; letter-spacing:.2px}
.ticketSub{margin:6px 0 0; font-size:12px; color:rgba(255,255,255,.70); line-height:1.45}
.ticketId{
  text-align:right;
  min-width: 220px;
}
.ticketId .bid{
  font-family: var(--mono);
  font-weight:700;
  letter-spacing:.6px;
  font-size:14px;
  color: rgba(215,180,106,.95);
}
.ticketId .stat{margin-top:6px; font-size:12px; color:rgba(255,255,255,.70)}
.ticketBody{padding:18px 22px 22px}
.ticketGrid{display:grid; gap:12px; grid-template-columns: 1fr 1fr}
.ticketBox{
  border:1px solid rgba(255,255,255,.10);
  border-radius:16px;
  padding:12px 12px;
  background: rgba(0,0,0,.18);
}
.ticketBox h4{margin:0 0 8px; font-size:12px; color:rgba(255,255,255,.70); letter-spacing:.3px; text-transform:uppercase}
.ticketKV{font-size:13px; line-height:1.5}
.ticketKV b{color:rgba(255,255,255,.95)}
.ticketDays{margin-top:12px; border-top:1px solid rgba(255,255,255,.10); padding-top:12px}
.dayRow{
  border:1px solid rgba(255,255,255,.10);
  border-radius:16px;
  padding:10px 12px;
  margin-bottom:10px;
  background: rgba(0,0,0,.16);
}
.dayRow .dtop{display:flex; justify-content:space-between; gap:10px; align-items:flex-start}
.dayRow .dtop b{font-size:13px}
.dayRow .dst{font-size:12px; color:rgba(215,180,106,.90)}
.dayRow .desc{margin-top:6px; font-size:12.5px; color:rgba(255,255,255,.82); line-height:1.5; white-space:pre-wrap}
.dayRow .accom{margin-top:7px; font-size:12px; color:rgba(255,255,255,.72)}
.gstrip{
  margin-top:12px;
  display:grid;
  grid-template-columns: repeat(6, 1fr);
  gap:8px;
}
.gstrip img{
  width:100%;
  height:62px;
  object-fit:cover;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.10);
}
