/* AWA SOUNDS — Vault Drop styles */

/* ── Queue-mode auction card ────────────────────────── */
.auction-card-queue .card-queue-meta {
  display: flex; flex-direction: column; gap: 3px;
  font-size: 12px; color: var(--faint, #555);
  margin: 6px 0 10px;
}
.auction-card-queue .card-queue-meta span { display: block; }

.card-queue-progress {
  display: flex; align-items: center; gap: 8px; margin-bottom: 10px;
}
.cqp-bar {
  flex: 1; height: 4px; background: var(--line, #222238);
  border-radius: 2px; overflow: hidden;
}
.cqp-fill {
  height: 100%; background: var(--gold, #e0a030);
  border-radius: 2px; transition: width .6s ease;
}
.cqp-label {
  font-size: 10px; font-weight: 700;
  color: var(--gold, #e0a030);
  font-family: var(--ff-display, 'Space Grotesk', sans-serif);
  white-space: nowrap;
}

/* ── 3-column layout for queue-mode auction room ─────── */
.queue-mode .auction-layout {
  display: grid;
  grid-template-columns: 1fr 320px 240px;
  gap: 0;
  align-items: start;
  height: calc(100vh - 96px);
  overflow: hidden;
}

/* ── Credit chip (nav) ──────────────────────────────────── */
.credit-chip {
  display: flex; align-items: center; gap: 5px;
  background: var(--bg-2); border: 1px solid var(--gold-lo);
  color: var(--gold); font-family: var(--ff-display); font-size: 13px;
  padding: 6px 12px; border-radius: 100px; font-weight: 600;
}
.credit-chip svg { flex-shrink: 0; }

/* ── Vault hero ─────────────────────────────────────────── */
.vault-hero {
  padding: 120px 0 60px;
  background: radial-gradient(ellipse at 50% 0%, rgba(217,195,143,.06) 0%, transparent 70%);
  text-align: center;
}
.vault-badge {
  display: inline-block; font-size: 11px; letter-spacing: .2em;
  font-weight: 700; color: var(--gold); border: 1px solid var(--gold-lo);
  padding: 4px 14px; border-radius: 100px; margin-bottom: 20px; text-transform: uppercase;
}
.vault-title { font-size: clamp(38px, 7vw, 72px); line-height: 1; margin-bottom: 18px; }
.vault-sub { color: var(--muted); max-width: 520px; margin: 0 auto 24px; font-size: 16px; line-height: 1.6; }
.vault-schedule { font-size: 14px; color: var(--silver); letter-spacing: .04em; }
.vault-schedule b { color: var(--gold); }

/* ── Tabs ───────────────────────────────────────────────── */
.vault-tabs { display: flex; gap: 8px; margin-bottom: 32px; }
.vault-tab {
  background: var(--bg-2); border: 1px solid var(--line); color: var(--muted);
  font-family: var(--ff-body); font-size: 13px; padding: 9px 20px;
  border-radius: 100px; cursor: pointer; transition: .2s;
}
.vault-tab.on {
  background: var(--gold-grad, linear-gradient(135deg,#d9c38f,#b9975a));
  color: #161206; border-color: transparent; font-weight: 600;
}

/* ── Auction grid ───────────────────────────────────────── */
.auction-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.auction-card {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 14px;
  overflow: hidden; cursor: pointer; transition: border-color .2s, transform .2s;
}
.auction-card:hover { border-color: var(--gold-lo); transform: translateY(-3px); }
.card-img-wrap { position: relative; aspect-ratio: 1/1; overflow: hidden; background: var(--bg-3); }
.card-img { width: 100%; height: 100%; object-fit: cover; }
.card-img-ph { width: 100%; height: 100%; background: linear-gradient(135deg, var(--bg-2), var(--bg-3)); }
.card-status {
  position: absolute; top: 10px; left: 10px; font-size: 10px; font-weight: 700;
  letter-spacing: .12em; padding: 3px 9px; border-radius: 100px;
  background: var(--bg-2); color: var(--muted); text-transform: uppercase;
}
.card-status.live { background: #1a3d1a; color: #6dca6d; animation: pulse-live 2s infinite; }
@keyframes pulse-live { 0%,100%{opacity:1} 50%{opacity:.7} }
.card-type-badge {
  position: absolute; bottom: 10px; right: 10px; font-size: 10px;
  background: rgba(0,0,0,.65); color: var(--silver); padding: 3px 8px; border-radius: 6px;
}
.card-body { padding: 16px; }
.card-title { font-size: 16px; font-weight: 600; margin-bottom: 12px; }
.card-price-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.card-price-label { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.card-price { font-family: var(--ff-display); font-size: 20px; color: var(--silver-hi); }
.card-price-gbp { font-size: 13px; color: var(--muted); font-family: var(--ff-body); }
.card-timer-wrap { text-align: right; }
.card-timer-label { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: .08em; }
.card-timer { font-family: var(--ff-display); font-size: 18px; color: var(--gold); }
.card-opens { font-size: 11px; color: var(--muted); text-align: right; }
.card-cta { margin-top: 14px; width: 100%; text-align: center; pointer-events: none; }
.auction-loading, .auction-empty { text-align: center; padding: 60px 20px; color: var(--muted); }
.loader-ring {
  width: 32px; height: 32px; border: 3px solid var(--line); border-top-color: var(--gold);
  border-radius: 50%; animation: spin .8s linear infinite; margin: 0 auto 12px;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── How it works ───────────────────────────────────────── */
.vault-how { padding: 80px 0; }
.vault-section { padding: 60px 0 40px; }
.how-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; margin-top: 40px; }
.how-step { }
.how-num { font-family: var(--ff-display); font-size: 36px; color: var(--gold); opacity: .4; margin-bottom: 12px; }
.how-step h4 { font-size: 16px; margin-bottom: 8px; }
.how-step p { font-size: 14px; color: var(--muted); line-height: 1.6; }
.how-legal { margin-top: 36px; font-size: 13px; color: var(--muted); }
.how-legal a { color: var(--gold); }

/* ── Credit packs ───────────────────────────────────────── */
.vault-credits { padding: 60px 0 80px; background: var(--bg-2); }
.section-sub { color: var(--muted); margin-top: 8px; }
.credit-packs { display: flex; gap: 20px; margin-top: 36px; flex-wrap: wrap; }
.credit-pack {
  flex: 1; min-width: 200px; background: var(--bg-1); border: 1px solid var(--line);
  border-radius: 14px; padding: 28px 24px; text-align: center; position: relative; transition: border-color .2s;
}
.credit-pack.featured { border-color: var(--gold-lo); }
.pack-badge {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  background: var(--gold-grad, linear-gradient(135deg,#d9c38f,#b9975a)); color: #161206;
  font-size: 10px; font-weight: 700; padding: 3px 12px; border-radius: 100px;
  text-transform: uppercase; letter-spacing: .08em; white-space: nowrap;
}
.pack-amount { font-family: var(--ff-display); font-size: 36px; color: var(--silver-hi); }
.pack-amount span { font-size: 16px; color: var(--muted); }
.pack-price { font-size: 22px; font-weight: 700; color: var(--gold); margin: 8px 0; }
.pack-value { font-size: 12px; color: var(--muted); margin-bottom: 20px; }

/* ── Auction room ───────────────────────────────────────── */
.auction-room-page .nav { position: sticky; top: 0; z-index: 100; }
.auction-room { padding: 40px 0 80px; }
.auction-layout {
  display: grid; grid-template-columns: 1fr 420px; gap: 48px; align-items: start;
}
.auction-item-panel { position: sticky; top: 90px; }
.item-type-badge { font-size: 11px; letter-spacing: .15em; color: var(--gold); text-transform: uppercase; margin-bottom: 12px; }
.item-title { font-size: 32px; margin-bottom: 20px; line-height: 1.1; }
.item-img { width: 100%; border-radius: 12px; aspect-ratio: 1/1; object-fit: cover; }
.item-img-ph { width: 100%; aspect-ratio: 1/1; background: var(--bg-2); border-radius: 12px; }
.item-audio { margin-top: 16px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.audio-player { flex: 1; min-width: 200px; }
.audio-label { font-size: 12px; color: var(--muted); }
.item-desc { font-size: 14px; color: var(--muted); line-height: 1.7; margin: 16px 0; }
.item-licence { font-size: 13px; color: var(--silver); }
.item-licence a { color: var(--gold); }
.item-meta { margin-top: 12px; display: flex; gap: 16px; font-size: 12px; color: var(--faint); }

/* Bid panel */
.auction-bid-panel {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 16px; padding: 28px;
  display: flex; flex-direction: column; gap: 20px;
}
.auction-status-bar { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.auction-status-pill {
  font-size: 10px; font-weight: 700; letter-spacing: .15em; padding: 4px 12px; border-radius: 100px;
  text-transform: uppercase; background: var(--bg-3); color: var(--muted);
}
.auction-status-pill.live { background: #1a3d1a; color: #6dca6d; animation: pulse-live 2s infinite; }
.auction-status-pill.closing { background: #3d2a1a; color: #e89a3c; }
.auction-status-pill.ended { background: var(--bg-3); color: var(--faint); }
.auction-timer { display: flex; align-items: center; gap: 4px; font-family: var(--ff-display); font-size: 24px; }
.timer-block { text-align: center; }
.timer-block label { display: block; font-size: 9px; color: var(--muted); letter-spacing: .1em; font-family: var(--ff-body); }
.timer-sep { color: var(--muted); margin-top: -14px; }
.snipe-warning { font-size: 12px; color: #e89a3c; display: flex; align-items: center; gap: 6px; }
.auction-price-block { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 16px 0; }
.price-label { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; }
.price-credits { font-family: var(--ff-display); font-size: 36px; color: var(--silver-hi); }
.price-gbp { font-size: 16px; color: var(--gold); margin-top: 2px; }
.bid-leader { font-size: 13px; color: var(--muted); margin-top: 6px; }
.auction-meta-row { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
.your-status { color: var(--gold); font-weight: 600; }
.bid-entry { display: flex; flex-direction: column; gap: 10px; }
.bid-row { display: flex; gap: 10px; }
.bid-input {
  flex: 1; background: var(--bg-3); border: 1px solid var(--line); color: var(--text);
  font-family: var(--ff-display); font-size: 18px; padding: 12px 16px; border-radius: 10px;
  transition: border-color .2s;
}
.bid-input:focus { outline: none; border-color: var(--gold-lo); }
.bid-hint { font-size: 12px; color: var(--muted); }
.bid-cost-row { font-size: 12px; color: var(--muted); display: flex; gap: 12px; flex-wrap: wrap; }
.bid-cost-row b { color: var(--silver); }
.topup-strip { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: 12px; color: var(--muted); }
.bid-signin { text-align: center; padding: 20px; }
.bid-signin p { color: var(--muted); margin-bottom: 14px; }
.auction-ended-msg { color: var(--muted); font-size: 14px; text-align: center; padding: 16px 0; }

/* Bid history */
.bid-history { }
.bid-history h5 { font-size: 12px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 10px; }
.bid-list { display: flex; flex-direction: column; gap: 6px; max-height: 260px; overflow-y: auto; }
.bid-empty { font-size: 13px; color: var(--faint); text-align: center; padding: 16px; }
.bid-row-item {
  display: flex; align-items: center; gap: 10px; font-size: 13px;
  padding: 8px 10px; border-radius: 8px; background: var(--bg-3);
}
.bid-row-item.winning { background: rgba(217,195,143,.08); border: 1px solid var(--gold-lo); }
.bid-user { flex: 1; color: var(--muted); }
.bid-amt { font-family: var(--ff-display); font-size: 15px; color: var(--silver-hi); }
.bid-time { font-size: 11px; color: var(--faint); }
.bid-winning-tag { font-size: 10px; color: var(--gold); font-weight: 700; }
.auction-legal-note { font-size: 11px; color: var(--faint); line-height: 1.6; }
.auction-legal-note a { color: var(--gold-lo); }

/* ── Room capacity bar ──────────────────────────────────── */
.room-capacity-bar {
  display: flex; gap: 14px; flex-wrap: wrap; align-items: center;
  font-size: 12px; color: var(--muted); padding: 10px 14px;
  background: var(--bg-3); border-radius: 8px; border: 1px solid var(--line);
}
.room-cap-item { display: flex; align-items: center; gap: 5px; }
.room-cap-dot { width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0; }
.bidder-dot { background: var(--gold); }
.viewer-dot { background: var(--silver, #a0a0b0); }
.queue-dot  { background: #e89a3c; }

/* ── Mode panel (enter bidder mode / queue position) ────── */
.mode-panel {
  background: var(--bg-3); border: 1px solid var(--gold-lo);
  border-radius: 10px; padding: 14px 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap;
}
.mode-panel p { font-size: 13px; color: var(--muted); margin: 0; }
.mode-panel b { color: var(--silver-hi); }
.mode-panel-queue { border-color: #e89a3c44; }

/* ── Inactivity alert ───────────────────────────────────── */
.inactivity-alert {
  background: rgba(232,154,60,.12); border: 1px solid rgba(232,154,60,.35);
  color: #e89a3c; font-size: 13px; font-weight: 600;
  padding: 10px 14px; border-radius: 8px; text-align: center;
  animation: pulse-live 1.5s infinite;
}

/* ── Admin dashboard stats ──────────────────────────────── */
.adm-stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}
.adm-stat-card {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 12px;
  padding: 20px 18px; text-align: center;
}
.adm-stat-val { font-family: var(--ff-display); font-size: 28px; color: var(--gold); }
.adm-stat-lbl { font-size: 11px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; margin-top: 4px; }

/* ── Responsive ─────────────────────────────────────────── */
@media (max-width: 860px) {
  .auction-layout { grid-template-columns: 1fr; }
  .auction-item-panel { position: static; }
  .auction-bid-panel { order: -1; }
  .credit-packs { flex-direction: column; }
}
@media (max-width: 600px) {
  .vault-hero { padding: 90px 0 40px; }
  .how-grid { grid-template-columns: 1fr; }
  .auction-timer { font-size: 20px; }
}
