/*!
 * Vibe Tickets — Book Ticket Page
 */

/* ── Page shell ─────────────────────────────── */
.bk-page {
  min-height: 100vh;
  background: #06060f;
  position: relative;
  overflow: hidden;
  padding: 4rem 0 6rem;
}

/* Ambient blobs */
.bk-blob {
  position: fixed;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}
.bk-blob--1 {
  width: 500px; height: 500px;
  background: rgba(124,58,237,.2);
  top: -150px; left: -180px;
  animation: bkDrift 12s ease-in-out infinite;
}
.bk-blob--2 {
  width: 380px; height: 380px;
  background: rgba(167,139,250,.13);
  bottom: -120px; right: -120px;
  animation: bkDrift 15s ease-in-out infinite reverse;
}
@keyframes bkDrift {
  0%,100% { transform: translate(0,0); }
  50%      { transform: translate(22px,-18px); }
}

/* ── Container ──────────────────────────────── */
.bk-container {
  position: relative;
  z-index: 1;
  max-width: 680px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* ── Page header ────────────────────────────── */
.bk-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.bk-eyebrow {
  font-size: .63rem;
  font-weight: 700;
  letter-spacing: .25em;
  color: #A78BFA;
  margin-bottom: .75rem;
}
.bk-title {
  font-size: clamp(2rem, 6vw, 3rem);
  font-weight: 900;
  color: #f8fafc;
  line-height: 1.1;
  margin-bottom: .5rem;
}
.bk-grad {
  background: linear-gradient(135deg, #A78BFA 0%, #7C3AED 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.bk-subtitle {
  font-size: .975rem;
  color: #64748b;
}

/* ── Card ───────────────────────────────────── */
.bk-card {
  background: linear-gradient(145deg, #0f0a1e 0%, #160b2e 100%);
  border: 1px solid rgba(139,92,246,.35);
  border-radius: 1.5rem;
  padding: 2.5rem;
  box-shadow:
    0 0 60px rgba(124,58,237,.18),
    0 0 120px rgba(124,58,237,.07);
}

/* ── Form grid ──────────────────────────────── */
.bk-form__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

/* ── Field ──────────────────────────────────── */
.bk-field {
  display: flex;
  flex-direction: column;
  gap: .4rem;
}
.bk-label {
  font-size: .78rem;
  font-weight: 700;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: .4rem;
}
.bk-label i { color: #7C3AED; }

.bk-input {
  background: rgba(139,92,246,.07);
  border: 1px solid rgba(139,92,246,.25);
  border-radius: .75rem;
  padding: .75rem 1rem;
  color: #f1f5f9;
  font-size: .925rem;
  font-family: inherit;
  width: 100%;
  transition: border-color .2s, box-shadow .2s;
}
.bk-input::placeholder { color: #475569; }
.bk-input:focus {
  outline: none;
  border-color: rgba(139,92,246,.7);
  box-shadow: 0 0 0 3px rgba(139,92,246,.15);
}
.bk-input--error {
  border-color: rgba(248,113,113,.6) !important;
  box-shadow: 0 0 0 3px rgba(248,113,113,.1) !important;
}

.bk-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237C3AED' stroke-width='2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 1rem center;
  padding-left: 2.5rem;
  cursor: pointer;
}
.bk-select option { background: #0f0a1e; color: #f1f5f9; }

.bk-error {
  font-size: .74rem;
  color: #f87171;
  display: none;
}

/* ── Payment box ────────────────────────────── */
.bk-payment-box {
  background: rgba(124,58,237,.07);
  border: 1px solid rgba(139,92,246,.28);
  border-radius: 1rem;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}
.bk-payment-box__title {
  font-size: .875rem;
  font-weight: 700;
  color: #A78BFA;
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1.1rem;
}
.bk-payment-methods {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}
.bk-pay-method {
  flex: 1;
  min-width: 140px;
  background: rgba(139,92,246,.1);
  border: 1px solid rgba(139,92,246,.22);
  border-radius: .75rem;
  padding: .85rem 1.1rem;
  display: flex;
  flex-direction: column;
  gap: .25rem;
}
.bk-pay-method__label {
  font-size: .68rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: #64748b;
  text-transform: uppercase;
}
.bk-pay-method__number {
  font-size: 1.1rem;
  font-weight: 900;
  background: linear-gradient(135deg, #A78BFA 0%, #7C3AED 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: .04em;
}
.bk-pay-divider {
  font-size: .75rem;
  font-weight: 700;
  color: #475569;
  flex-shrink: 0;
}
.bk-payment-box__note {
  font-size: .8rem;
  color: #64748b;
  display: flex;
  align-items: flex-start;
  gap: .4rem;
  line-height: 1.5;
}
.bk-payment-box__note i { color: #A78BFA; margin-top: .1rem; flex-shrink: 0; }

/* ── Upload area ────────────────────────────── */
.bk-upload-area {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: 2rem 1.5rem;
  background: rgba(139,92,246,.05);
  border: 2px dashed rgba(139,92,246,.28);
  border-radius: 1rem;
  cursor: pointer;
  transition: border-color .2s, background .2s;
  text-align: center;
}
.bk-upload-area:hover,
.bk-upload-area--drag {
  border-color: rgba(139,92,246,.7);
  background: rgba(139,92,246,.1);
}
.bk-upload-icon { font-size: 2rem; color: #7C3AED; }
.bk-upload-text { font-size: .875rem; font-weight: 600; color: #cbd5e1; }
.bk-upload-hint { font-size: .72rem; color: #475569; }

/* Visually hidden file input */
.bk-file-input {
  position: absolute;
  width: 1px; height: 1px;
  opacity: 0; overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
}

.bk-upload-filename {
  font-size: .78rem;
  color: #A78BFA;
  margin-top: .25rem;
  word-break: break-all;
}

/* ── Buttons ────────────────────────────────── */
.bk-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .9rem 2rem;
  border-radius: 9999px;
  font-size: .95rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: transform .25s ease, box-shadow .25s ease;
}
.bk-btn:focus-visible {
  outline: 2px solid #A78BFA;
  outline-offset: 3px;
}
.bk-btn--primary {
  background: linear-gradient(135deg, #8B5CF6 0%, #7C3AED 100%);
  color: #fff;
  box-shadow: 0 0 24px rgba(139,92,246,.45);
}
.bk-btn--primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 40px rgba(139,92,246,.8);
}
.bk-btn--primary:disabled {
  opacity: .55;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.bk-btn--submit {
  width: 100%;
  margin-top: 1.75rem;
  font-size: 1rem;
  padding: 1rem 2rem;
}

/* ── Form-level error ───────────────────────── */
.bk-form-error {
  margin-top: 1rem;
  padding: .85rem 1.1rem;
  background: rgba(248,113,113,.08);
  border: 1px solid rgba(248,113,113,.28);
  border-radius: .75rem;
  color: #fca5a5;
  font-size: .875rem;
  text-align: center;
}

/* ── Terms note ─────────────────────────────── */
.bk-terms-note {
  text-align: center;
  font-size: .78rem;
  color: #475569;
  margin-top: 1.25rem;
}
.bk-terms-link {
  color: #A78BFA;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.bk-terms-link:hover { color: #c4b5fd; }

/* ── Back link ──────────────────────────────── */
.bk-back {
  text-align: center;
  margin-top: 2rem;
}
.bk-back-link {
  font-size: .875rem;
  color: #64748b;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  transition: color .2s;
}
.bk-back-link:hover { color: #A78BFA; }

/* ── Success state ──────────────────────────── */
.bk-success {
  text-align: center;
  padding: 2.5rem 1rem;
}
.bk-success__icon {
  font-size: 4rem;
  background: linear-gradient(135deg, #A78BFA 0%, #7C3AED 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
}
.bk-success__title {
  font-size: 1.75rem;
  font-weight: 900;
  color: #f8fafc;
  margin-bottom: .75rem;
}
.bk-success__msg {
  color: #94a3b8;
  font-size: .975rem;
  line-height: 1.7;
  max-width: 420px;
  margin: 0 auto;
}

/* ── Responsive ─────────────────────────────── */
@media (max-width: 600px) {
  .bk-form__grid      { grid-template-columns: 1fr; }
  .bk-card            { padding: 1.5rem 1.1rem; }
  .bk-payment-methods { flex-direction: column; }
  .bk-pay-divider     { align-self: center; }
}
