.rooms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}

.room-card {
  position: relative;
  padding: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  overflow: hidden;
}

.room-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--grad-flame);
}

.room-card.upcoming::after {
  background: var(--grad-cyan);
}

.room-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.room-game-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: #fff;
}

.room-meta-tags {
  display: flex;
  gap: 0.5rem;
}

.room-details-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  background: rgba(0, 0, 0, 0.35);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1rem;
  font-size: 0.85rem;
}

.room-detail-row {
  display: flex;
  justify-content: space-between;
  color: var(--text-muted);
}

.room-detail-val {
  font-weight: 700;
  color: #fff;
}

.room-credentials-box {
  background: rgba(255, 85, 0, 0.08);
  border: 1px dashed var(--accent-flame-light);
  border-radius: var(--radius-sm);
  padding: 0.9rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: center;
}

.credential-locked {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: var(--accent-gold);
  font-size: 0.85rem;
  font-weight: 700;
}

.credential-revealed {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.6);
  padding: 0.5rem 0.8rem;
  border-radius: var(--radius-sm);
}

.cred-val {
  font-family: monospace;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--accent-cyan);
}

.btn-copy-cred {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 700;
  transition: var(--transition-fast);
}

.btn-copy-cred:hover {
  color: #fff;
}
