/* ==========================================================================
   ANERA FIVEM QUEUE PORTAL STYLESHEET (queue.css)
   Anera Roleplay • Prodigy-Style Web Queue System with Steam Auth
   ========================================================================== */

/* --------------------------------------------------------------------------
   COMING SOON / LOCALHOST BANNER
   -------------------------------------------------------------------------- */
.queue-notice-wrapper {
  margin-top: -2.5rem;
  margin-bottom: 3rem;
  position: relative;
  z-index: 10;
}

.queue-notice-banner {
  background: linear-gradient(135deg, rgba(22, 33, 54, 0.95), rgba(12, 18, 28, 0.98));
  border: 1px solid rgba(0, 210, 255, 0.35);
  border-radius: 16px;
  padding: 2rem 2.5rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(0, 210, 255, 0.15);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.queue-notice-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #ff9f43, #00d2ff, #00ff87);
}

.notice-badge-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.notice-live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 159, 67, 0.15);
  border: 1px solid rgba(255, 159, 67, 0.45);
  color: #ffb86c;
  font-family: var(--font-brand);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pulse-beacon {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff9f43;
  box-shadow: 0 0 10px #ff9f43;
  animation: beaconPulse 1.8s infinite ease-in-out;
}

@keyframes beaconPulse {
  0% { transform: scale(0.9); opacity: 0.8; box-shadow: 0 0 4px #ff9f43; }
  50% { transform: scale(1.4); opacity: 1; box-shadow: 0 0 14px #ff9f43; }
  100% { transform: scale(0.9); opacity: 0.8; box-shadow: 0 0 4px #ff9f43; }
}

.notice-stage-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(0, 210, 255, 0.1);
  border: 1px solid rgba(0, 210, 255, 0.3);
  color: var(--primary-cyan);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.notice-body {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1.75rem;
  align-items: flex-start;
}

.notice-icon-box {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(0, 210, 255, 0.2), rgba(0, 255, 135, 0.1));
  border: 1px solid rgba(0, 210, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  color: var(--primary-cyan);
  box-shadow: 0 0 20px rgba(0, 210, 255, 0.2);
}

.notice-title {
  font-family: var(--font-brand);
  font-size: 1.65rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.01em;
  margin-bottom: 0.65rem;
  line-height: 1.25;
}

.notice-desc {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.notice-desc strong {
  color: #ffffff;
  font-weight: 600;
}

.notice-meta-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.meta-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(14, 20, 32, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.45rem 0.95rem;
  border-radius: 8px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  color: var(--text-primary);
}

.meta-tag i {
  color: var(--primary-cyan);
}

.meta-tag strong {
  color: #ffffff;
}

.meta-tag.tag-status {
  border-color: rgba(0, 210, 255, 0.4);
  background: rgba(0, 210, 255, 0.08);
}

.meta-tag.tag-status.online {
  border-color: rgba(0, 255, 135, 0.45);
  background: rgba(0, 255, 135, 0.1);
  color: #00ff87;
}

.meta-tag.tag-status.online i {
  color: #00ff87;
}

/* --------------------------------------------------------------------------
   SERVER STATS / METRIC CARDS
   -------------------------------------------------------------------------- */
.queue-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.queue-stat-card {
  background: var(--bg-glass-card);
  border: 1px solid var(--border-glass);
  border-radius: 14px;
  padding: 1.5rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-smooth);
}

.queue-stat-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-glass-hover);
  box-shadow: var(--shadow-card-hover);
}

.stat-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.stat-icon.cyan {
  background: rgba(0, 210, 255, 0.12);
  color: var(--primary-cyan);
  border: 1px solid rgba(0, 210, 255, 0.25);
}

.stat-icon.green {
  background: rgba(0, 255, 135, 0.12);
  color: var(--primary-green);
  border: 1px solid rgba(0, 255, 135, 0.25);
}

.stat-icon.orange {
  background: rgba(255, 159, 67, 0.12);
  color: #ff9f43;
  border: 1px solid rgba(255, 159, 67, 0.25);
}

.stat-icon.purple {
  background: rgba(162, 89, 255, 0.12);
  color: #a259ff;
  border: 1px solid rgba(162, 89, 255, 0.25);
}

.stat-info {
  display: flex;
  flex-direction: column;
}

.stat-label {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  margin-bottom: 0.25rem;
}

.stat-value {
  font-family: var(--font-brand);
  font-size: 1.45rem;
  font-weight: 800;
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   INTERACTIVE QUEUE MAIN GRID (TWO COLUMNS)
   -------------------------------------------------------------------------- */
.queue-main-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.glass-panel {
  background: var(--bg-glass-card);
  border: 1px solid var(--border-glass);
  border-radius: 18px;
  padding: 2rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: relative;
  overflow: hidden;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.panel-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.panel-title i {
  color: var(--primary-cyan);
}

.panel-badge {
  font-family: var(--font-brand);
  font-size: 0.7rem;
  font-weight: 800;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  background: rgba(0, 210, 255, 0.12);
  color: var(--primary-cyan);
  border: 1px solid rgba(0, 210, 255, 0.3);
  text-transform: uppercase;
}

/* --------------------------------------------------------------------------
   STEAM AUTHENTICATION CARD & PROFILE HUD
   -------------------------------------------------------------------------- */
.steam-auth-gate {
  text-align: center;
  padding: 2rem 1rem;
  background: rgba(14, 20, 32, 0.85);
  border: 1px dashed rgba(0, 210, 255, 0.25);
  border-radius: 14px;
}

.steam-logo-icon {
  font-size: 3rem;
  color: #00d2ff;
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 16px rgba(0, 210, 255, 0.4));
}

.steam-gate-title {
  font-family: var(--font-brand);
  font-size: 1.35rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.steam-gate-desc {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 460px;
  margin: 0 auto 1.5rem;
}

.steam-gate-actions {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 320px;
  margin: 0 auto;
}

.btn-steam-auth {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 0.9rem 1.5rem;
  background: linear-gradient(135deg, #171a21, #2a475e);
  border: 1px solid rgba(102, 192, 244, 0.5);
  border-radius: 10px;
  color: #c7d5e0;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-steam-auth:hover {
  background: linear-gradient(135deg, #2a475e, #1b2838);
  border-color: #66c0f4;
  color: #ffffff;
  box-shadow: 0 0 20px rgba(102, 192, 244, 0.4);
  transform: translateY(-2px);
}

.btn-steam-auth i {
  font-size: 1.35rem;
  color: #66c0f4;
}

.btn-demo-auth {
  background: rgba(0, 210, 255, 0.1);
  border: 1px solid rgba(0, 210, 255, 0.3);
  color: var(--primary-cyan);
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.65rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-demo-auth:hover {
  background: rgba(0, 210, 255, 0.2);
}

/* STEAM USER PROFILE BAR */
.steam-profile-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(14, 20, 32, 0.85);
  border: 1px solid rgba(0, 210, 255, 0.22);
  border-radius: 12px;
  padding: 0.9rem 1.15rem;
  margin-bottom: 1.5rem;
}

.steam-user-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.steam-avatar-wrap {
  position: relative;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.steam-avatar-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 2px solid var(--primary-cyan);
  box-shadow: 0 0 10px rgba(0, 210, 255, 0.3);
  object-fit: cover;
}

.steam-status-dot {
  position: absolute;
  bottom: -1px;
  right: -1px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #00ff87;
  border: 2px solid #0c1017;
  box-shadow: 0 0 6px #00ff87;
}

.steam-meta-name {
  font-family: var(--font-brand);
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.45rem;
  line-height: 1.2;
}

.steam-verified-label {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  color: #00ff87;
  margin-top: 0.2rem;
}

.steam-user-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.45rem;
}

.btn-switch-account {
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  cursor: pointer;
  text-decoration: underline;
  transition: color var(--transition-fast);
}

.btn-switch-account:hover {
  color: var(--primary-cyan);
}

/* --------------------------------------------------------------------------
   QUEUE STATES: IDLE, WAITING, CONFIRM, READY
   -------------------------------------------------------------------------- */
.queue-state {
  display: none;
}

.queue-state.active {
  display: block;
}

/* IDLE STATE: REDESIGNED DISPATCH HUD */
.dispatch-hud-card {
  padding: 0.25rem 0;
}

.dispatch-metrics-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.dispatch-mini-box {
  background: rgba(14, 20, 32, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 0.75rem 0.5rem;
  text-align: center;
}

.dispatch-mini-lbl {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.25rem;
}

.dispatch-mini-val {
  font-family: var(--font-brand);
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
}

.dispatch-mini-val.cyan { color: var(--primary-cyan); }
.dispatch-mini-val.green { color: var(--primary-green); }

.console-actions-row {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.btn-queue-join {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.6rem;
  background: linear-gradient(135deg, #00d2ff, #0099ff);
  border: none;
  border-radius: 8px;
  color: #030a14;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-queue-join:hover {
  background: linear-gradient(135deg, #38e1ff, #00bbff);
  box-shadow: 0 0 16px rgba(0, 210, 255, 0.4);
  transform: translateY(-1px);
}

/* WAITING STATE */
.waiting-card {
  text-align: center;
  padding: 0.5rem 0;
}

.waiting-ring-container {
  position: relative;
  width: 155px;
  height: 155px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.waiting-ring-svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.ring-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.08);
  stroke-width: 8;
}

.ring-progress {
  fill: none;
  stroke: url(#cyanGreenGradient);
  stroke-width: 8;
  stroke-dasharray: 440;
  stroke-dashoffset: 120;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.8s ease;
}

.waiting-ring-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.waiting-ring-pos-label {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.waiting-ring-pos-val {
  font-family: var(--font-brand);
  font-size: 2.2rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.1;
  text-shadow: 0 0 15px rgba(0, 210, 255, 0.5);
}

.waiting-ring-total {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  color: var(--primary-cyan);
}

.waiting-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  text-align: left;
}

.waiting-meta-box {
  background: rgba(14, 20, 32, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  padding: 0.75rem;
}

.waiting-meta-label {
  font-family: var(--font-heading);
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 0.2rem;
}

.waiting-meta-val {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
}

.waiting-actions {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}

.btn-queue-advance {
  padding: 0.55rem 1.25rem;
  background: rgba(0, 255, 135, 0.12);
  border: 1px solid rgba(0, 255, 135, 0.35);
  color: #00ff87;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 800;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: all var(--transition-fast);
}

.btn-queue-advance:hover {
  background: rgba(0, 255, 135, 0.22);
  box-shadow: 0 0 12px rgba(0, 255, 135, 0.3);
}

.btn-queue-leave {
  padding: 0.55rem 1.15rem;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all var(--transition-fast);
}

.btn-queue-leave:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   SLOT AVAILABLE: CONFIRM JOIN PROMPT (PRODIGY / NOPIXEL STYLE)
   -------------------------------------------------------------------------- */
.confirm-slot-card {
  text-align: center;
  padding: 1rem 0.5rem;
  position: relative;
}

.confirm-pulse-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255, 159, 67, 0.2), rgba(0, 210, 255, 0.2));
  border: 2px solid #ff9f43;
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  color: #ffb86c;
  box-shadow: 0 0 25px rgba(255, 159, 67, 0.45);
  animation: pulsePrompt 1.4s infinite ease-in-out;
}

@keyframes pulsePrompt {
  0% { transform: scale(0.96); box-shadow: 0 0 15px rgba(255, 159, 67, 0.35); }
  50% { transform: scale(1.05); box-shadow: 0 0 30px rgba(255, 159, 67, 0.6); }
  100% { transform: scale(0.96); box-shadow: 0 0 15px rgba(255, 159, 67, 0.35); }
}

.confirm-title {
  font-family: var(--font-brand);
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.confirm-title span {
  color: var(--primary-cyan);
}

.confirm-desc {
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 1.25rem;
}

.confirm-desc strong {
  color: #ffffff;
}

.confirm-countdown-box {
  background: rgba(12, 16, 23, 0.85);
  border: 1px solid rgba(255, 159, 67, 0.25);
  border-radius: 10px;
  padding: 0.65rem 1rem;
  margin-bottom: 1.25rem;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.confirm-timer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.45rem;
}

.confirm-timer-label {
  font-family: var(--font-heading);
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.confirm-timer-val {
  font-family: var(--font-brand);
  font-size: 1.15rem;
  font-weight: 800;
  color: #ff9f43;
}

.confirm-progress-bar {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
}

.confirm-progress-fill {
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, #ff9f43, #00d2ff);
  border-radius: 999px;
  transition: width 1s linear;
}

.confirm-buttons-row {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
}

.btn-confirm-yes {
  padding: 0.55rem 1.35rem;
  background: #00ff87;
  border: 1px solid #00ff87;
  border-radius: 8px;
  color: #03140a;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: all var(--transition-fast);
}

.btn-confirm-yes:hover {
  background: #38ff9f;
  box-shadow: 0 0 14px rgba(0, 255, 135, 0.4);
  transform: translateY(-1px);
}

.btn-confirm-no {
  padding: 0.55rem 1.35rem;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.35);
  border-radius: 8px;
  color: #f87171;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  transition: all var(--transition-fast);
}

.btn-confirm-no:hover {
  background: rgba(239, 68, 68, 0.22);
  border-color: #ef4444;
  color: #ffffff;
}

/* READY STATE: CONNECT HUD */
.ready-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem 0;
}

.ready-celebrate-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(0, 255, 135, 0.15);
  border: 2px solid #00ff87;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: #00ff87;
  margin: 0 auto 0.75rem;
  box-shadow: 0 0 18px rgba(0, 255, 135, 0.35);
  animation: pulseReady 1.6s infinite ease-in-out;
}

@keyframes pulseReady {
  0% { transform: scale(0.96); box-shadow: 0 0 12px rgba(0, 255, 135, 0.3); }
  50% { transform: scale(1.05); box-shadow: 0 0 25px rgba(0, 255, 135, 0.55); }
  100% { transform: scale(0.96); box-shadow: 0 0 12px rgba(0, 255, 135, 0.3); }
}

.ready-title {
  font-family: var(--font-brand);
  font-size: 1.2rem;
  font-weight: 800;
  color: #00ff87;
  margin-bottom: 0.35rem;
  line-height: 1.3;
}

.ready-title span {
  color: #ffffff;
}

.ready-sub {
  font-family: var(--font-body);
  font-size: 0.86rem;
  color: var(--text-secondary);
  margin-bottom: 0.85rem;
  max-width: 360px;
}

.ready-timer-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(0, 255, 135, 0.08);
  border: 1px solid rgba(0, 255, 135, 0.3);
  border-radius: 6px;
  padding: 0.35rem 0.85rem;
  margin-bottom: 1rem;
  font-family: var(--font-brand);
  font-size: 1.05rem;
  font-weight: 800;
  color: #00ff87;
}

.ready-cta-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  max-width: 320px;
}

.btn-connect-fivem {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
  padding: 0.65rem 1.4rem;
  background: linear-gradient(135deg, #00ff87, #00c853);
  border: none;
  border-radius: 8px;
  color: #04140b;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-fast);
}

.btn-connect-fivem:hover {
  background: linear-gradient(135deg, #38ff9f, #00e676);
  box-shadow: 0 0 16px rgba(0, 255, 135, 0.45);
  transform: translateY(-1px);
}

.unified-connect-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10, 14, 22, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  padding: 0.35rem 0.45rem 0.35rem 0.85rem;
  width: 100%;
}

.unified-connect-code {
  font-family: monospace;
  font-size: 0.8rem;
  color: var(--primary-cyan);
  user-select: all;
  letter-spacing: 0.02em;
}

.btn-unified-copy {
  background: rgba(0, 210, 255, 0.12);
  border: 1px solid rgba(0, 210, 255, 0.3);
  color: var(--primary-cyan);
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.32rem 0.65rem;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all var(--transition-fast);
}

.btn-unified-copy:hover {
  background: var(--primary-cyan);
  color: #030d1a;
}

/* --------------------------------------------------------------------------
   LIVE QUEUE LADDER / ROSTER TABLE
   -------------------------------------------------------------------------- */
.ladder-header-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.btn-ladder-sim {
  padding: 0.35rem 0.75rem;
  background: rgba(0, 210, 255, 0.1);
  border: 1px solid rgba(0, 210, 255, 0.3);
  color: var(--primary-cyan);
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 6px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-ladder-sim:hover {
  background: rgba(0, 210, 255, 0.2);
}

.queue-table-wrap {
  overflow-x: auto;
  margin-top: 0.5rem;
}

.queue-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.queue-table th {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  padding: 0.75rem 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.queue-table td {
  padding: 0.85rem 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  font-family: var(--font-body);
  font-size: 0.9rem;
  vertical-align: middle;
}

.queue-row {
  transition: background var(--transition-fast);
}

.queue-row:hover {
  background: rgba(0, 210, 255, 0.04);
}

.queue-row.is-user {
  background: rgba(0, 210, 255, 0.12);
  border-left: 3px solid var(--primary-cyan);
}

.col-pos {
  font-family: var(--font-brand);
  font-weight: 800;
  color: #ffffff;
}

.player-info-cell {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.player-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(0, 210, 255, 0.3), rgba(0, 255, 135, 0.3));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: #ffffff;
  font-weight: bold;
}

.player-name {
  font-family: var(--font-heading);
  font-weight: 700;
  color: #ffffff;
}

.queue-tier-badge {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  border-radius: 6px;
  font-family: var(--font-brand);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Tier Badges */
.tier-standard { background: rgba(255, 255, 255, 0.08); color: #cbd5e1; border: 1px solid rgba(255, 255, 255, 0.15); }
.tier-silver { background: rgba(192, 192, 192, 0.15); color: #e2e8f0; border: 1px solid rgba(200, 200, 200, 0.4); }
.tier-gold { background: rgba(255, 215, 0, 0.15); color: #ffd700; border: 1px solid rgba(255, 215, 0, 0.4); }
.tier-emerald { background: rgba(0, 255, 135, 0.15); color: #00ff87; border: 1px solid rgba(0, 255, 135, 0.4); }
.tier-platinum { background: rgba(0, 210, 255, 0.18); color: #00d2ff; border: 1px solid rgba(0, 210, 255, 0.45); }
.tier-diamond { background: rgba(147, 197, 253, 0.2); color: #93c5fd; border: 1px solid rgba(147, 197, 253, 0.5); }
.tier-onyx { background: rgba(168, 85, 247, 0.2); color: #c084fc; border: 1px solid rgba(168, 85, 247, 0.5); }
.tier-founder { background: linear-gradient(135deg, rgba(255, 107, 107, 0.25), rgba(255, 159, 67, 0.25)); color: #ff6b6b; border: 1px solid rgba(255, 107, 107, 0.5); }

/* --------------------------------------------------------------------------
   8 PRODIGY-STYLE SUPPORTER PRIORITY TIERS GRID
   -------------------------------------------------------------------------- */
.tiers-section {
  margin-bottom: 4rem;
}

.section-head-center {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.section-tag {
  font-family: var(--font-brand);
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--primary-cyan);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
  display: block;
}

.section-title-lg {
  font-family: var(--font-brand);
  font-size: 2.2rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.section-subtitle-muted {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-secondary);
}

.tiers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.tier-card {
  background: var(--bg-glass-card);
  border: 1px solid var(--border-glass);
  border-radius: 16px;
  padding: 1.75rem 1.5rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-smooth);
}

.tier-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.5), 0 0 25px rgba(0, 210, 255, 0.2);
  border-color: var(--border-glass-hover);
}

.tier-card.featured {
  border-color: rgba(0, 210, 255, 0.5);
  box-shadow: 0 12px 30px rgba(0, 210, 255, 0.15);
}

.tier-card.featured::before {
  content: 'POPULAR';
  position: absolute;
  top: 14px;
  right: -30px;
  transform: rotate(45deg);
  background: var(--primary-cyan);
  color: #030d1a;
  font-family: var(--font-brand);
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.05em;
  padding: 0.2rem 2rem;
}

.tier-card-header {
  margin-bottom: 1.25rem;
}

.tier-card-badge {
  display: inline-block;
  margin-bottom: 0.75rem;
}

.tier-card-title {
  font-family: var(--font-brand);
  font-size: 1.25rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 0.35rem;
}

.tier-points-tag {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary-green);
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.tier-multiplier-box {
  background: rgba(14, 20, 32, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 0.75rem;
  margin-bottom: 1.25rem;
  text-align: center;
}

.tier-mult-val {
  font-family: var(--font-brand);
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--primary-cyan);
}

.tier-mult-lbl {
  font-family: var(--font-heading);
  font-size: 0.7rem;
  color: var(--text-muted);
  text-transform: uppercase;
}

.tier-perks-list {
  list-style: none;
  margin-bottom: 1.5rem;
  flex: 1;
}

.tier-perks-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.tier-perks-list li i {
  color: var(--primary-green);
  font-size: 0.8rem;
  margin-top: 0.2rem;
}

.btn-select-tier {
  width: 100%;
  padding: 0.75rem;
  background: rgba(0, 210, 255, 0.08);
  border: 1px solid rgba(0, 210, 255, 0.3);
  color: var(--primary-cyan);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.85rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-select-tier:hover {
  background: var(--primary-cyan);
  color: #030d1a;
  box-shadow: 0 0 16px rgba(0, 210, 255, 0.4);
}

/* --------------------------------------------------------------------------
   QUEUE FAQ ACCORDION SECTION
   -------------------------------------------------------------------------- */
.faq-section {
  margin-bottom: 3.5rem;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.faq-card {
  background: var(--bg-glass-card);
  border: 1px solid var(--border-glass);
  border-radius: 14px;
  padding: 1.5rem;
  transition: all var(--transition-smooth);
}

.faq-card:hover {
  border-color: var(--border-glass-hover);
  transform: translateY(-2px);
}

.faq-q {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.65rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.faq-q i {
  color: var(--primary-cyan);
  font-size: 1rem;
}

.faq-a {
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* --------------------------------------------------------------------------
   BOTTOM DEVELOPER TESTING & SIMULATION SANDBOX
   -------------------------------------------------------------------------- */
.dev-sandbox-section {
  background: linear-gradient(135deg, rgba(16, 22, 34, 0.85), rgba(10, 14, 22, 0.95));
  border: 1px dashed rgba(0, 210, 255, 0.3);
  border-radius: 16px;
  padding: 2rem 2.5rem;
  margin-bottom: 5rem;
}

.sandbox-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sandbox-title {
  font-family: var(--font-brand);
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.sandbox-title i {
  color: #ff9f43;
}

.sandbox-badge {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  background: rgba(255, 159, 67, 0.15);
  border: 1px solid rgba(255, 159, 67, 0.35);
  color: #ffb86c;
  padding: 0.25rem 0.65rem;
  border-radius: 999px;
  text-transform: uppercase;
}

.sandbox-grid {
  display: grid;
  grid-template-columns: 1.2fr 1.8fr;
  gap: 2rem;
  align-items: center;
}

.cyber-select {
  width: 100%;
  background: rgba(12, 16, 23, 0.95);
  border: 1px solid rgba(0, 210, 255, 0.25);
  border-radius: 10px;
  padding: 0.85rem 1.15rem;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.cyber-select:focus {
  outline: none;
  border-color: var(--primary-cyan);
  box-shadow: 0 0 16px rgba(0, 210, 255, 0.3);
}

.sandbox-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn-sandbox {
  padding: 0.65rem 1.15rem;
  background: rgba(14, 20, 32, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--text-primary);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition-fast);
}

.btn-sandbox:hover {
  background: rgba(0, 210, 255, 0.15);
  border-color: var(--primary-cyan);
  color: #ffffff;
}

.btn-sandbox.highlight {
  border-color: rgba(255, 159, 67, 0.5);
  background: rgba(255, 159, 67, 0.12);
  color: #ffb86c;
}

.btn-sandbox.highlight:hover {
  background: rgba(255, 159, 67, 0.25);
  box-shadow: 0 0 15px rgba(255, 159, 67, 0.3);
}

/* --------------------------------------------------------------------------
   RESPONSIVE BREAKPOINTS
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  .queue-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tiers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .sandbox-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .queue-main-grid {
    grid-template-columns: 1fr;
  }
  .notice-body {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .faq-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .queue-stats-grid {
    grid-template-columns: 1fr;
  }
  .tiers-grid {
    grid-template-columns: 1fr;
  }
  .waiting-meta-grid {
    grid-template-columns: 1fr;
  }
  .dispatch-metrics-row {
    grid-template-columns: 1fr;
  }
  .confirm-buttons-row {
    flex-direction: column;
  }
  .steam-profile-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .steam-user-right {
    align-items: flex-start;
  }
  .queue-notice-banner {
    padding: 1.5rem 1.25rem;
  }
  .notice-title {
    font-size: 1.35rem;
  }
}
