:root {
  color-scheme: dark;
  font-family: Inter, Segoe UI, Arial, sans-serif;
  background: #070b13;
  color: #f8fafc;
}

* { box-sizing: border-box; }
body { margin: 0; min-height: 100vh; background: radial-gradient(circle at top, #1e293b 0, #070b13 48%); }
.page { width: min(1080px, calc(100% - 32px)); margin: 0 auto; padding: 48px 0 80px; }
.hero { text-align: center; margin-bottom: 38px; }
.hero h1 { margin: 8px 0; font-size: clamp(2.2rem, 6vw, 4.5rem); letter-spacing: -.05em; }
.hero p, .section-title p { color: #94a3b8; }
.tag { color: #22d3ee; font-size: .75rem; font-weight: 800; letter-spacing: .16em; }
.account-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 22px; border: 1px solid #263244; border-radius: 18px; background: rgba(15,23,42,.86); }
label { display: grid; gap: 8px; color: #cbd5e1; font-weight: 700; }
input, textarea { width: 100%; border: 1px solid #334155; border-radius: 10px; background: #0b1220; color: #f8fafc; padding: 13px 14px; font: inherit; }
input:focus, textarea:focus { outline: 2px solid #0891b2; border-color: transparent; }
section { margin-top: 38px; }
.section-title { display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.section-title span { color: #fbbf24; font-size: .72rem; font-weight: 900; letter-spacing: .16em; }
h2 { margin: 4px 0 0; }
.offer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 16px; }
.offer { display: flex; flex-direction: column; min-height: 190px; padding: 20px; border: 1px solid #283548; border-radius: 16px; background: linear-gradient(145deg, rgba(30,41,59,.95), rgba(15,23,42,.95)); }
.offer.selected { border-color: #fbbf24; box-shadow: 0 0 0 2px rgba(251,191,36,.2); }
.offer h3 { margin: 0 0 8px; }
.offer p { margin: 0; color: #94a3b8; line-height: 1.45; }
.price { margin: auto 0 12px; padding-top: 24px; color: #67e8f9; font-size: 1.55rem; font-weight: 900; }
button, #ticket-link { border: 0; border-radius: 10px; cursor: pointer; padding: 12px 16px; font: inherit; font-weight: 800; text-align: center; text-decoration: none; }
.primary, .offer button { background: linear-gradient(135deg, #0891b2, #2563eb); color: white; }
.notice, .empty { margin-top: 24px; text-align: center; color: #fbbf24; }
dialog { width: min(460px, calc(100% - 28px)); border: 1px solid #334155; border-radius: 18px; background: #111827; color: #f8fafc; padding: 26px; text-align: center; }
dialog::backdrop { background: rgba(2,6,23,.82); }
.close { position: absolute; right: 12px; top: 10px; background: transparent; color: #94a3b8; font-size: 1.8rem; }
#qr-image { display: block; width: min(280px, 100%); aspect-ratio: 1; margin: 22px auto; border-radius: 12px; background: white; padding: 8px; }
#pix-code { min-height: 84px; resize: none; font-size: .78rem; }
#copy-pix, #ticket-link { display: block; width: 100%; margin-top: 12px; }
#ticket-link { color: #67e8f9; background: #1e293b; }

@media (max-width: 760px) {
  .page { padding-top: 28px; }
  .account-panel, .offer-grid { grid-template-columns: 1fr; }
  .section-title { align-items: start; flex-direction: column; gap: 2px; }
}
